/* ============================================
   TOM TRUMAN DANCE | Shared Stylesheet
   ============================================ */

/* Self-hosted fonts (formerly Google Fonts @import) — same families,
   weights, and styles; files live in /fonts/. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/DMSans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/DMSans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/DMSans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/PlayfairDisplay-400.woff2') format('woff2');
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0F0E0C;
  --surface:     #1A1916;
  --card:        #1E1D1A;
  --border:      rgba(255, 255, 255, 0.08);
  --text:        #F0EDE6;
  --muted:       #8A8177;
  --soft:        #C4B89E;
  --accent:      #7EA8C4;
  --accent-lt:   #95BDD5;
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 500; font-family: 'DM Sans', Arial, sans-serif; }

.label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--accent);
}

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 112px 0; }
section.tight { padding: 72px 0; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(15, 14, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav__logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav__logo span {
  display: block;
  font-size: 0.62rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 400;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--soft);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links .nav__cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s;
}

.nav__links .nav__cta:hover { background: var(--accent-lt); color: #fff; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-lt); color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.btn--ghost::after { content: ' →'; }
.btn--ghost:hover { color: var(--accent-lt); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://static.wixstatic.com/media/2a5108_bebb285d197f47b28df858c0d9334fc3~mv2_d_3500_2333_s_2.jpg/v1/fill/w_2560,h_1440,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/2a5108_bebb285d197f47b28df858c0d9334fc3~mv2_d_3500_2333_s_2.jpg');
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.45);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,14,12,0.95) 0%, rgba(15,14,12,0.3) 60%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  margin-bottom: 20px;
}

.hero__title {
  max-width: 820px;
  margin-bottom: 24px;
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--soft);
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Inner hero (page headers) */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  border-bottom: 1px solid var(--border);
}

.page-hero .label { margin-bottom: 16px; }
.page-hero h1 { max-width: 680px; margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; color: var(--soft); max-width: 560px; }

/* --- Monday Card --- */
.monday-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.monday-card__details { display: flex; flex-direction: column; gap: 16px; }

.detail-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-row__icon {
  width: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.detail-row__text strong { display: block; font-weight: 500; font-size: 0.95rem; }
.detail-row__text span { font-size: 0.9rem; color: var(--muted); }

.monday-card__pricing { border-left: 1px solid var(--border); padding-left: 40px; }
.monday-card__pricing h4 { margin-bottom: 16px; font-family: 'Playfair Display', serif; font-size: 1.1rem; }

.price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.price-row:last-of-type { border-bottom: none; }
.price-row span:last-child { color: var(--accent); font-weight: 500; }

.price-note { margin-top: 16px; font-size: 0.82rem; color: var(--muted); }

/* --- Workshops --- */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.workshop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.workshop-card:hover {
  border-color: rgba(126,168,196,0.4);
  transform: translateY(-2px);
}

.workshop-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface);
}

.workshop-card__body { padding: 28px; }
.workshop-card__date { margin-bottom: 10px; }
.workshop-card__title { font-size: 1.2rem; font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 12px; }
.workshop-card__location { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.workshop-card__desc { font-size: 0.9rem; color: var(--soft); margin-bottom: 24px; line-height: 1.6; }

/* --- Pull Quote --- */
.pull-quote {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 40px 48px;
  border-radius: 0 8px 8px 0;
}

.pull-quote__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 20px;
}

.pull-quote__attr {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'DM Mono', monospace;
}

/* --- Rhythms Section --- */
.rhythms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.rhythm-item {
  background: var(--card);
  padding: 32px 24px;
  text-align: center;
}

.rhythm-item__name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.rhythm-item__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Two-col layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col--wide {
  grid-template-columns: 5fr 4fr;
}

/* --- Bio Photo --- */
.bio-photo {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* --- Horizontal Divider --- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* --- Section Label + Heading helper --- */
.section-header { margin-bottom: 56px; }
.section-header .label { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--soft); max-width: 560px; }

/* --- Email Capture --- */
.email-capture {
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 56px 64px;
  text-align: center;
}

.email-capture h2 { margin-bottom: 12px; }
.email-capture p { color: var(--soft); max-width: 480px; margin: 0 auto 32px; }

.email-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input:focus { border-color: var(--accent); }
.email-form input::placeholder { color: var(--muted); }

/* --- Contact Form --- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.88rem; color: var(--soft); letter-spacing: 0.01em; font-family: 'DM Sans', Arial, sans-serif; }

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field textarea { resize: vertical; min-height: 140px; }

/* --- Footer --- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.footer__brand__tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 280px;
  line-height: 1.6;
}

.footer__social { display: flex; gap: 16px; }

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.footer__social a:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

.footer__col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  margin-bottom: 20px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { font-size: 0.9rem; color: var(--soft); transition: color 0.2s; }
.footer__col ul a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- Info banner --- */
.info-strip {
  background: rgba(126,168,196,0.12);
  border: 1px solid rgba(126,168,196,0.25);
  border-radius: 6px;
  padding: 16px 24px;
  font-size: 0.88rem;
  color: var(--soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-strip .accent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* --- Utility --- */
.text-muted { color: var(--muted); }
.text-soft { color: var(--soft); }
.text-accent { color: var(--accent); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  section { padding: 80px 0; }
  section.tight { padding: 56px 0; }
  .container, .container--narrow { padding: 0 20px; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 32px 20px 40px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
  }
  .nav__links.open a { font-size: 1rem; }
  .nav__toggle { display: flex; }

  .two-col, .two-col--wide { grid-template-columns: 1fr; gap: 48px; }

  .monday-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }
  .monday-card__pricing { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; }

  .rhythms-grid { grid-template-columns: 1fr 1fr; }
  .rhythms-grid .rhythm-item:last-child { grid-column: span 2; }

  .email-capture { padding: 40px 24px; }
  .email-form { flex-direction: column; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .pull-quote { padding: 28px 28px; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .rhythms-grid { grid-template-columns: 1fr; }
  .rhythms-grid .rhythm-item:last-child { grid-column: span 1; }
  .workshop-grid { grid-template-columns: 1fr; }
}
