/* Roots Yoga, Brighton. Homepage stylesheet.
   Palette and type are set out in DESIGN.md. Every colour below comes from the logo or the studio photographs. */

@font-face { font-family: 'Newsreader'; src: url('../fonts/Newsreader-var.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/Newsreader-italic-var.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/Figtree-var.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../fonts/Figtree-italic-var.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --orange: #EB7033;
  --ember: #C4521A;
  --dusk: #1E1A22;
  --plum: #2D2733;
  --plum-2: #3A3341;
  --cedar: #B8783F;
  --cedar-l: #D9A874;
  --paper: #F6EFE5;
  --sand: #EADCC8;
  --ink: #2A2430;
  --muted: #6B6371;
  --on-ink: #F6EFE5;
  --on-ink-muted: #C9C0CE;
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1440px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 104px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6vw, 5.75rem); line-height: 1.02; }
h2 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); line-height: 1.06; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.lead { font-size: clamp(1.2rem, 1.55vw, 1.45rem); line-height: 1.5; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--orange); color: var(--dusk); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Bands: no two neighbours share a ground */
.band-paper { background: var(--paper); color: var(--ink); --ghost: var(--ink); }
.band-sand { background: var(--sand); color: var(--ink); --ghost: var(--ink); }
.band-ink { background: var(--plum); color: var(--on-ink); --ghost: var(--on-ink); }
.band-ink .lead { color: var(--on-ink); }
.band-paper, .band-sand, .band-ink { padding-block: clamp(80px, 10vw, 150px); position: relative; overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.7em; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; }
.btn-solid { background: var(--orange); color: var(--dusk); border-color: var(--orange); box-shadow: 0 10px 30px -14px rgba(235, 112, 51, .7); }
.btn-solid:hover { background: #F28349; border-color: #F28349; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(235, 112, 51, .85); }
.btn-ghost { background: transparent; color: var(--ghost, var(--ink)); border-color: currentColor; }
.btn-ghost:hover { background: var(--orange); color: var(--dusk); border-color: var(--orange); transform: translateY(-2px); }
.stars { color: var(--orange); letter-spacing: .08em; font-size: .9em; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .4s, box-shadow .4s, padding .4s; padding-block: 14px; }
.site-header.is-scrolled { background: rgba(30, 26, 34, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); padding-block: 8px; }
.header-inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: clamp(16px, 2.5vw, 40px); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-mark { height: 72px; width: auto; transition: height .4s var(--ease-out); }
.brand-word { height: 38px; width: auto; transition: height .4s var(--ease-out), opacity .3s; }
.is-scrolled .brand-mark { height: 50px; }
.is-scrolled .brand-word { height: 27px; }
.site-nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.site-nav a { color: var(--on-ink); text-decoration: none; font-weight: 500; font-size: .98rem; letter-spacing: .01em; position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.header-cta { font-size: .95rem; padding: .8em 1.4em; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--on-ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--dusk); color: var(--on-ink); --ghost: var(--on-ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(30, 26, 34, .55) 0%, rgba(30, 26, 34, .05) 30%, rgba(30, 26, 34, .35) 62%, rgba(30, 26, 34, .92) 100%),
  linear-gradient(90deg, rgba(30, 26, 34, .55) 0%, rgba(30, 26, 34, .1) 55%, rgba(30, 26, 34, 0) 100%); }
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(56px, 8vh, 110px); }
.hero-title { max-width: 24ch; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-lines { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.2; color: var(--cedar-l); margin: 0 0 .9em; display: flex; flex-wrap: wrap; gap: .1em .8em; }
.hero-lines span { display: inline-block; }
.hero-lead { max-width: 62ch; color: var(--on-ink); opacity: .92; font-size: clamp(1.1rem, 1.35vw, 1.3rem); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.2em; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; color: var(--on-ink-muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); margin-right: 10px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 34px; width: 28px; height: 46px; border: 2px solid rgba(246, 239, 229, .55); border-radius: 14px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: scrollcue 2.2s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (min-width: 1000px) { .hero-scroll { display: block; } }

/* Start: intentions and routes */
.start-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.start-head h2 { margin: 0; }
.breath-strip { --rule: 1; position: relative; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(2.1rem, 5.4vw, 5.2rem); line-height: 1.05; margin: 0 0 clamp(48px, 6vw, 96px); display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .55em; color: var(--muted); padding-bottom: .3em; }
.breath-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(42, 36, 48, .28); transform: scaleX(var(--rule)); transform-origin: left; }
.breath-strip .breath-word { color: var(--ember); }
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.route { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(42, 36, 48, .45); transition: transform .5s var(--ease-out), box-shadow .5s; }
.route:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(42, 36, 48, .55); }
.route-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.route-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.route:hover .route-media img { transform: scale(1.06); }
.route-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 32px); }
.route-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: 1.1; }
.route-text { color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.route-link { margin-top: 6px; font-weight: 600; color: var(--ember); display: inline-flex; align-items: center; gap: 8px; }
.route-link::after { content: "→"; transition: transform .35s var(--ease-out); }
.route:hover .route-link::after { transform: translateX(6px); }

/* Framework stage */
.framework { padding-block: clamp(80px, 10vw, 150px) 0; overflow: visible; } /* sticky stage needs a non-clipping ancestor */
.framework-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.framework-intro h2 { margin: 0; }
.stage { position: relative; }
.stage-track { position: relative; }
.beat { position: relative; min-height: 70vh; display: grid; align-items: end; color: var(--on-ink); }
.beat-media { position: absolute; inset: 0; overflow: hidden; }
.beat-media img { width: 100%; height: 100%; object-fit: cover; }
.beat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 26, 34, .15) 0%, rgba(30, 26, 34, .2) 40%, rgba(30, 26, 34, .88) 100%), linear-gradient(90deg, rgba(30, 26, 34, .6) 0%, rgba(30, 26, 34, 0) 60%); }
.beat-copy { position: relative; width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: clamp(48px, 7vh, 96px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px clamp(20px, 3vw, 48px); align-items: end; }
.beat-title { font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: .95; margin: 0; letter-spacing: -0.02em; white-space: nowrap; }
.beat-tag { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.15; color: var(--cedar-l); margin: 0; padding-bottom: .35em; }
.beat-copy > p:last-child { grid-column: 1 / -1; font-size: clamp(1.05rem, 1.35vw, 1.3rem); max-width: 56ch; color: var(--on-ink); margin-top: 10px; }
.stage-ui { display: none; }
.framework-outro { padding-block: clamp(56px, 7vw, 110px) clamp(64px, 7vw, 110px); display: grid; gap: 28px; justify-items: start; }
.framework-outro .lead { max-width: none; font-size: clamp(1.35rem, 2.1vw, 2rem); font-family: var(--display); font-weight: 400; line-height: 1.3; }

/* Pinned stage when motion is allowed */
html.js:not(.no-motion) .stage { height: 420vh; }
html.js:not(.no-motion) .stage-track { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.js:not(.no-motion) .beat { position: absolute; inset: 0; min-height: 0; visibility: hidden; }
html.js:not(.no-motion) .beat.is-active { visibility: visible; }
html.js:not(.no-motion) .beat-copy { padding-bottom: clamp(72px, 12vh, 140px); }
html.js:not(.no-motion) .stage-ui { display: block; }
.stage-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(246, 239, 229, .18); }
.stage-progress span { display: block; height: 100%; width: 0; background: var(--orange); }
.stage-dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.stage-dots button { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(246, 239, 229, .7); background: transparent; padding: 0; cursor: pointer; position: relative; transition: background-color .3s, border-color .3s, transform .3s; }
.stage-dots button.is-active { background: var(--orange); border-color: var(--orange); transform: scale(1.25); }
.stage-dots button span { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--on-ink); opacity: 0; transition: opacity .3s; pointer-events: none; }
.stage-dots button:hover span, .stage-dots button.is-active span { opacity: 1; }

/* Practice */
.practice-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.qualities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 2em; }
.qualities li { --bar: 1; position: relative; display: grid; gap: 2px; padding-left: 18px; }
.qualities li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); transform: scaleY(var(--bar)); transform-origin: top; }
.qualities strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.1; }
.qualities span { color: var(--muted); }
.frame-cedar { position: relative; padding: 0; }
.frame-cedar img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(30, 26, 34, .6); }
.frame-cedar::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; transform: translate(calc(var(--fx, 0) * 1px), calc(var(--fy, 0) * 1px)); background: repeating-linear-gradient(180deg, #B8783F 0 16px, #A2672F 16px 18px); border-radius: var(--radius); }
.frame-cedar::after { content: ""; position: absolute; left: -14px; top: -14px; width: 84px; height: 84px; border-top: 4px solid var(--orange); border-left: 4px solid var(--orange); z-index: 2; }
.practice-figure figcaption { position: relative; z-index: 2; margin-top: 44px; color: var(--muted); font-size: .98rem; }
.strip-wrap { margin-block: clamp(56px, 7vw, 110px) clamp(40px, 5vw, 80px); padding-block: 18px; border-block: 1px solid rgba(42, 36, 48, .14); overflow: hidden; }
.strip { width: 100%; overflow: hidden; height: clamp(90px, 13vw, 200px); }
.strip-track { display: flex; align-items: flex-end; gap: clamp(28px, 4vw, 64px); width: max-content; height: 100%; padding-inline: clamp(14px, 2vw, 32px); will-change: transform; }
.strip img { height: 100%; width: auto; }
.postures-three .lead { margin-bottom: 1.2em; font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.posture-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.posture-cards li { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 34px); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 22px; align-items: start; box-shadow: 0 30px 60px -44px rgba(42, 36, 48, .5); }
.posture-cards img { grid-row: span 2; width: 120px; height: 120px; object-fit: contain; }
.posture-cards h3 { margin: 0; font-size: 1.5rem; }
.posture-cards p { color: var(--muted); font-size: 1rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
figure.frame-offset { position: relative; }
figure.frame-offset img { width: 100%; border-radius: var(--radius); position: relative; z-index: 1; box-shadow: 0 40px 80px -40px rgba(30, 26, 34, .55); }
figure.frame-offset::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; transform: translate(calc(var(--fx, 0) * -1px), calc(var(--fy, 0) * -1px)); border: 2px solid var(--orange); border-radius: var(--radius); }
figure.frame-offset::after { content: ""; position: absolute; right: -14px; bottom: -14px; transform: translate(calc(var(--fx, 0) * 1px), calc(var(--fy, 0) * 1px)); width: 42%; height: 42%; background: var(--sand); border-radius: var(--radius); }
.band-sand figure.frame-offset::after { background: var(--paper); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin: .2em 0 .6em; }
.price-amount { font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 1; color: var(--ember); letter-spacing: -0.02em; }
.price-label { font-size: 1.15rem; font-weight: 500; }
.ticks { display: grid; gap: 10px; margin: 1.2em 0 1.4em; }
.ticks li { --tick: 1; position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); transform: scale(var(--tick)); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: .55em; width: 6px; height: 10px; border-right: 2px solid var(--dusk); border-bottom: 2px solid var(--dusk); transform: rotate(45deg) scale(var(--tick)); }
.consult-card { margin-top: 2em; background: var(--plum); color: var(--on-ink); --ghost: var(--on-ink); padding: clamp(24px, 2.6vw, 40px); border-radius: var(--radius); position: relative; overflow: hidden; }
.consult-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--orange); opacity: .14; }
.consult-card h3 { margin-bottom: .4em; }
.consult-card p { color: var(--on-ink-muted); margin-bottom: 1.4em; }

/* About */
.about::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 26px); pointer-events: none; }
.about::after { content: ""; position: absolute; right: -8vw; top: -6vw; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; background: url('../img/figure-orange.png') center / contain no-repeat; opacity: .12; pointer-events: none; transform: rotate(calc(var(--motif, 0) * 1deg)); }
.about-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.about-short p, .about-more p { max-width: 64ch; }
.about-more { margin-top: 1em; }
.about-copy .btn { margin-top: 1.4em; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 2.4em; }
.badges li { background: var(--paper); border-radius: 999px; padding: 10px 16px; display: inline-flex; align-items: center; }
.badges img { height: 64px; width: auto; }
.about-media { position: relative; padding-bottom: 80px; }
.about-media .portrait img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }

.portrait-small { position: absolute; left: -6%; bottom: 0; width: 42%; z-index: 3; }
.portrait-small img { border-radius: var(--radius); border: 6px solid var(--plum); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); aspect-ratio: 3 / 4; object-fit: cover; }

/* Reviews */
.reviews::after { content: ""; position: absolute; left: -10vw; bottom: -14vw; width: 52vw; height: 52vw; max-width: 780px; max-height: 780px; background: url('../img/figure-orange.png') center / contain no-repeat; opacity: .08; pointer-events: none; transform: scaleX(-1) rotate(calc(var(--motif, 0) * 1deg)); }
.reviews .container { position: relative; }
.reviews-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.reviews-head h2 { margin: 0; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.quote { position: relative; background: #fff; border-radius: var(--radius); padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -44px rgba(42, 36, 48, .5); border-top: 4px solid var(--orange); }
.quote::before { content: "\201C"; position: absolute; right: 24px; top: 4px; font-family: var(--display); font-size: 7rem; line-height: 1; color: var(--sand); }
.quote blockquote { margin: 0 0 1.2em; position: relative; }
.quote blockquote p { font-family: var(--display); font-size: clamp(1.35rem, 1.8vw, 1.75rem); line-height: 1.3; }
.quote-by { font-weight: 600; color: var(--ember); }
.quote-by::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 56px); }

/* FAQs */
.faqs-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faqs-side { position: sticky; top: calc(var(--header-h) + 20px); }
.faqs-figure { margin-top: clamp(28px, 3vw, 48px); max-width: 420px; }
.faqs-figure img { aspect-ratio: 4 / 5; object-fit: cover; }
.faq { border-bottom: 1px solid rgba(42, 36, 48, .18); }
.faq:first-child { border-top: 1px solid rgba(42, 36, 48, .18); }
.faq h3 { margin: 0; font-size: 1.35rem; }
.faq button { width: 100%; text-align: left; background: none; border: 0; padding: 22px 56px 22px 0; position: relative; cursor: pointer; font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 1.7vw, 1.7rem); line-height: 1.2; }
.faq button::before, .faq button::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; background: var(--ember); transform: translateY(-50%); transition: transform .35s var(--ease-out); }
.faq button::after { transform: translateY(-50%) rotate(90deg); }
.faq button[aria-expanded="true"]::after { transform: translateY(-50%) rotate(0); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-panel.is-open { grid-template-rows: 1fr; }
.faq-inner { overflow: hidden; }
.faq-inner p { max-width: 62ch; }
.faq-inner p:last-child { padding-bottom: 26px; }
html:not(.js) .faq-panel { grid-template-rows: 1fr; }

/* Contact */
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45, 39, 51, .55) 0%, rgba(45, 39, 51, .92) 60%, rgba(45, 39, 51, .96) 100%); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.contact-direct { margin-top: 2.4em; padding-top: 2em; border-top: 1px solid rgba(246, 239, 229, .2); }
.contact-direct h3 { font-size: 1.5rem; }
.contact-direct p { color: var(--on-ink-muted); }
.contact-lines { display: grid; gap: 6px; }
.contact-lines a { color: var(--on-ink); text-decoration: none; font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.9rem); }
.contact-lines a:hover { color: var(--cedar-l); }
.socials { display: flex; gap: 18px; }
.socials a { color: var(--on-ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); }
.consult-form { background: rgba(30, 26, 34, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(246, 239, 229, .12); border-radius: var(--radius); padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; font-size: .95rem; font-weight: 600; color: var(--on-ink-muted); }
.field input, .field textarea { width: 100%; font: inherit; font-weight: 400; font-size: 1.05rem; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: var(--radius); padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(235, 112, 51, .35); }
.field textarea { resize: vertical; min-height: 110px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; font-size: .95rem; font-weight: 600; color: var(--on-ink-muted); margin-bottom: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(246, 239, 229, .35); color: var(--on-ink); font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s; }
.chips input:checked + span { background: var(--orange); color: var(--dusk); border-color: var(--orange); }
.chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.consult-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .98rem; color: var(--cedar-l); min-height: 1.2em; }
.form-status.is-error { color: #F2A38B; }

/* Footer */
.site-footer { background: var(--dusk); color: var(--on-ink-muted); padding-block: clamp(56px, 7vw, 96px) 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); padding-bottom: 40px; border-bottom: 1px solid rgba(246, 239, 229, .12); }
.footer-logo { width: 120px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 40ch; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a, .footer-contact a { color: var(--on-ink); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--cedar-l); }
.footer-contact p { margin-bottom: 8px; }
.footer-badges { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.footer-badges li { background: var(--paper); border-radius: 999px; padding: 8px 12px; display: inline-flex; }
.footer-badges img { height: 44px; width: auto; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .95rem; }
.footer-base p { margin: 0; }
.footer-base a { color: var(--on-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--orange); }

/* Reveal states (JS adds html.js; reduced motion adds html.no-motion) */
html.js:not(.no-motion) .reveal { opacity: 0; transform: translateY(32px); }
html.js:not(.no-motion) .reveal-wipe { clip-path: inset(0 0 100% 0); }
html.js:not(.no-motion) .reveal-wipe img { transform: scale(1.12); }
html.js:not(.no-motion) .hero-title, html.js:not(.no-motion) .hero-lines span, html.js:not(.no-motion) .hero-lead, html.js:not(.no-motion) .hero-actions, html.js:not(.no-motion) .hero-trust { opacity: 0; }
html.js:not(.no-motion) .route { opacity: 0; transform: translateY(40px); clip-path: inset(100% 0 0 0); }
html.js:not(.no-motion) .strip img { opacity: 0; transform: translateY(14px); }
.split-heading > div { padding: .18em .12em .34em; margin: -.18em -.12em -.34em; }

/* Responsive */
@media (max-width: 1100px) {
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: .92rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 88px; }
  .site-nav { position: fixed; inset: 0; background: var(--dusk); display: grid; place-items: center; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .5s var(--ease-out), opacity .4s, visibility .5s; z-index: 40; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .site-nav a { font-family: var(--display); font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 500; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 45; }
  .brand { position: relative; z-index: 45; }
  .brand-mark { height: 64px; }
  .brand-word { height: 34px; }
  .start-head, .framework-intro, .reviews-head { grid-template-columns: 1fr; align-items: start; }
  .practice-grid, .pricing-grid, .about-grid, .faqs-grid, .contact-grid { grid-template-columns: 1fr; }
  .pricing-figure { order: 2; max-width: 560px; }
  .faqs-side { position: static; }
  .faqs-figure { max-width: 520px; }
  .beat-copy { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .routes { grid-template-columns: 1fr; max-width: 640px; }
  .route-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .brand-mark { height: 56px; }
  .brand-word { height: 30px; }
  .is-scrolled .brand-mark { height: 44px; }
  .is-scrolled .brand-word { height: 24px; }
  .hero-content { padding-top: calc(var(--header-h) + 24px); }
  .hero-title { max-width: none; }
  .hero-actions .btn { width: 100%; }
  .breath-strip { gap: .05em .4em; }
  .qualities { grid-template-columns: 1fr; }
  .posture-cards { grid-template-columns: 1fr; }
  .posture-cards li { grid-template-columns: 72px minmax(0, 1fr); }
  .posture-cards img { width: 72px; height: 72px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stage-dots { right: 14px; }
  .about-media { padding-bottom: 60px; }
  .portrait-small { left: 0; width: 46%; }
  .frame-cedar::before { inset: 14px -12px -14px 14px; }
  .strip { height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll span { animation: none; }
  .btn, .route, .route-media img { transition: none; }
}

/* Intro curtain */
.intro { display: none; position: fixed; inset: 0; z-index: 90; background: var(--plum); place-items: center; clip-path: inset(0 0 0 0); }
html.js:not(.no-motion) .intro { display: grid; }
body.intro-on { overflow: hidden; }
.intro-inner { display: grid; justify-items: center; gap: 22px; text-align: center; padding: 20px; }
.intro-mark { width: 116px; height: auto; opacity: 0; }
.intro-word { width: min(340px, 64vw); height: auto; clip-path: inset(0 100% 0 0); }
.intro-line { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--cedar-l); margin: 0; opacity: 0; }

/* Cursor ring (fine pointers, motion on) */
.cursor { display: none; position: fixed; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; pointer-events: none; z-index: 95; opacity: 0; transition: opacity .3s; }
.cursor::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--orange); border-radius: 50%; transition: transform .35s var(--ease-out), background-color .35s; }
html.has-cursor .cursor { display: block; }
.cursor.is-on { opacity: .9; }
.cursor.is-hover::after { transform: scale(1.7); background: rgba(235, 112, 51, .16); }

/* Scroll progress under the header */
.scroll-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* Route card glare */
.route-glare { position: absolute; inset: 0; pointer-events: none; border-radius: var(--radius); background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .32), transparent 42%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
.route:hover .route-glare { opacity: 1; }
.route-media img, .hero-video { will-change: transform; }
.hero-video { transform-origin: 50% 50%; }
