/* Christina Yoga - shared styles.
   Direction: Simone Raich (big quiet type, mono labels, lots of air)
   + Alo Yoga (clean, photo-led) + brand colours deep green / blue / turquoise. */

:root {
  --bg:        #f6f7f5;
  --bg-alt:    #eaf1ee;
  --ink:       #0b2420;
  --muted:     #5a706b;
  --line:      rgba(11, 36, 32, 0.12);
  --green:     #0d4f45;
  --blue:      #1d4e6b;
  --turquoise: #5eead4;
  --on-dark:   #eef8f4;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */

.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.display {
  font-size: clamp(2.6rem, 7.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}
h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 24px;
}
h3 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 500; margin: 0 0 10px; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 36rem; margin: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand { font-weight: 600; letter-spacing: -0.02em; text-decoration: none; font-size: 1.05rem; }
.brand span { color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 0.93rem; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: var(--on-dark); }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex; align-items: center;
    font: 500 0.93rem/1 var(--sans); color: var(--ink);
    background: transparent; border: 1px solid var(--line); border-radius: 999px;
    padding: 11px 20px; cursor: pointer;
  }
  .menu-toggle[aria-expanded="true"] { border-color: var(--ink); }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--green); }
  .nav .btn { align-self: flex-start; margin-top: 20px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--on-dark);
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 11px 22px;
  font: 500 0.93rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn:focus-visible, input:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; }

/* ---------- photo placeholders ----------
   Swap each .photo for <img> once the owner's photos arrive. */

.photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(94, 234, 212, 0.45), transparent 60%),
    radial-gradient(70% 80% at 80% 90%, rgba(29, 78, 107, 0.65), transparent 65%),
    linear-gradient(160deg, #1b6b5e, #0d4f45 55%, #0a3a3f);
}
.photo::after {
  content: attr(data-label);
  position: absolute; left: 16px; bottom: 14px;
  font: 0.7rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(238, 248, 244, 0.75);
}
.photo.sea {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(238, 248, 244, 0.55), transparent 60%),
    linear-gradient(180deg, #8fc9d6 0%, #3f8aa6 45%, #1d4e6b 100%);
}
.photo.sand {
  background:
    radial-gradient(70% 70% at 70% 30%, rgba(255, 255, 255, 0.6), transparent 60%),
    linear-gradient(170deg, #dfe9e4, #b8d3cb 60%, #7fb1a6);
}
.photo.sand::after { color: rgba(11, 36, 32, 0.55); }

/* ---------- sections ---------- */

section { padding: clamp(72px, 11vw, 140px) 0; }
section + section { border-top: 1px solid var(--line); }
.alt { background: var(--bg-alt); }

/* hero */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 7vw, 80px); }
.hero .lead { margin-top: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .photo { margin-top: clamp(48px, 7vw, 80px); aspect-ratio: 16 / 8; }
@media (max-width: 640px) { .hero .photo { aspect-ratio: 4 / 5; } }

/* split: text + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .photo { aspect-ratio: 4 / 5; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.facts span { font-size: 0.85rem; color: var(--muted); }
.text-link { display: inline-block; margin-top: 28px; font-weight: 500; text-underline-offset: 5px; }

/* classes */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.alt .card { background: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 0.9rem; }
.card dt { font: 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 3px; }
.card dd { margin: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* studio cards with weekly classes */
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cards.two { grid-template-columns: 1fr; } }
.card.studio p a { text-underline-offset: 3px; }
.slots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slots li {
  display: grid; grid-template-columns: 48px 120px 1fr; gap: 12px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.slots .day { font: 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.slots .time { font-variant-numeric: tabular-nums; }
.slots .class { font-weight: 500; }
.slots .class small { display: block; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 420px) {
  .slots li { grid-template-columns: 44px 1fr; row-gap: 2px; }
  .slots .class { grid-column: 2; }
}
.card .note { font-size: 0.88rem; }
#classes .fine, .cards + .fine { margin-top: 24px; }

#schedule, #private { scroll-margin-top: 64px; }

/* two text columns */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.cols p { margin: 0; color: var(--muted); max-width: 32rem; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 32px; } }

/* retreats - full-bleed dark band */
.retreat { background: var(--blue); color: var(--on-dark); border-top: 0; }
.retreat .label, .retreat .lead { color: rgba(238, 248, 244, 0.72); }
.retreat .photo { aspect-ratio: 4 / 3; }
.retreat .meta { display: flex; gap: 32px; flex-wrap: wrap; margin: 32px 0; font-size: 0.95rem; }
.retreat .meta div span { display: block; font: 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.65; }
.retreat .btn { background: var(--on-dark); color: var(--blue); border-color: var(--on-dark); }
.retreat .btn:hover { background: var(--turquoise); border-color: var(--turquoise); }

/* newsletter */
.newsletter { text-align: center; }
.newsletter .lead { margin: 0 auto; }
.newsletter.dark { background: var(--green); color: var(--on-dark); border-top: 0; }
/* compact band: text left, form right */
.newsletter.dark { text-align: left; padding: clamp(48px, 6vw, 72px) 0; }
.newsletter.dark .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 64px; flex-wrap: wrap; }
.newsletter.dark h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 8px; }
.newsletter.dark .lead { margin: 0; font-size: 1rem; max-width: 28rem; }
.newsletter-form { flex: 1 1 18rem; min-width: 0; max-width: 28rem; }
.newsletter.dark .newsletter-form .signup { margin: 0; max-width: none; }
.newsletter.dark .thanks { margin: 0; }
.newsletter.dark .label, .newsletter.dark .lead, .newsletter.dark .fine { color: rgba(238, 248, 244, 0.72); }
.signup { display: flex; gap: 10px; max-width: 30rem; margin: 36px auto 0; }
.signup input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 0.97rem;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
/* dark newsletter: one underlined line instead of pill + button */
.newsletter.dark .signup {
  flex-direction: row; gap: 0; max-width: 32rem; margin-top: 48px;
  border-bottom: 1px solid rgba(238, 248, 244, 0.4);
  transition: border-color .2s;
}
.newsletter.dark .signup:focus-within { border-color: var(--turquoise); }
.newsletter.dark .signup input {
  background: transparent; border: 0; border-radius: 0;
  padding: 14px 0; font-size: 1.1rem; color: var(--on-dark);
}
.newsletter.dark .signup input::placeholder { color: rgba(238, 248, 244, 0.55); }
.newsletter.dark .signup input:focus-visible { outline: none; }
.newsletter.dark .signup .btn {
  background: transparent; border: 0; border-radius: 0;
  padding: 14px 0 14px 16px; font-size: 1rem; color: var(--on-dark);
}
.newsletter.dark .signup .btn:hover { color: var(--turquoise); transform: none; }
@media (max-width: 520px) { .signup { flex-direction: column; } }
.fine { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.fine a { text-underline-offset: 3px; }
.thanks { display: none; margin-top: 32px; font-size: 1.1rem; }
.signup-done .signup { display: none; }
.signup-done .thanks { display: block; }

/* compact newsletter strip */
.strip { padding: 40px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip h3 { margin: 0; }
.strip p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.strip .signup { margin: 0; flex: 1; max-width: 28rem; }
.strip .thanks { margin: 0; }

/* contact */
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; text-decoration: none;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); letter-spacing: -0.02em;
  transition: color .2s, padding .2s;
}
.contact-list a:hover { color: var(--green); padding-left: 8px; }
.contact-list small { font: 0.72rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* long-form page (My path, Privacy) */
.page-hero { padding-bottom: clamp(40px, 6vw, 64px); }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.chapter { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: baseline; }
.chapter > .label { margin: 0; }
.chapter + .chapter { margin-top: clamp(56px, 8vw, 96px); }
@media (max-width: 760px) { .chapter { grid-template-columns: 1fr; gap: 8px; } }
.photo-row { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.photo-row .photo { aspect-ratio: auto; min-height: 420px; }
@media (max-width: 760px) { .photo-row { grid-template-columns: 1fr; } .photo-row .photo { min-height: 280px; } }
.training { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.training li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.training .year { font-family: var(--mono); color: var(--muted); font-size: 0.85rem; padding-top: 2px; }
.training .hours { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 520px) { .training li { grid-template-columns: 1fr; gap: 2px; } }

/* footer */
.site-footer { background: var(--ink); color: rgba(238, 248, 244, 0.7); padding: 56px 0 40px; font-size: 0.9rem; }
.site-footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .brand { color: var(--on-dark); font-size: 1.4rem; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--turquoise); }
.site-footer .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(238, 248, 244, 0.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.site-footer .legal-links { display: flex; gap: 20px; }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .contact-list a { transition: none; }
  .btn:hover { transform: none; }
}
