/* Fire Flow Yoga v2 · typographic poster. Bricolage Grotesque (variable weight) carries the page; Manrope for reading.
   Motion contract: scroll writes transform/opacity only; entrances are one-shot CSS transitions. */

:root {
  --ap: #f79a5b;          /* their orange */
  --ember: #a8401a;       /* family fire deep */
  --coal: #22100a;
  --warm: #fff4ea;
  --ink: #2a140b;
  --soft: #6e4a38;        /* secondary on warm */
  --peach: #f6d4bb;       /* secondary on coal */
  --disp: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --gut: clamp(20px, 5vw, 88px);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

html { -webkit-text-size-adjust: 100%; }
body.ff2 { margin: 0; background: var(--coal); color: var(--warm); font: 500 16px/1.55 var(--fw-text); overflow-x: clip; }
.ff2 *, .ff2 *::before, .ff2 *::after { box-sizing: border-box; }
.ff2 img { display: block; max-width: 100%; height: auto; }
.ff2 :focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.ff-visually { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ff2 a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }

/* plain underlined links stand in for buttons everywhere: the poster never grows a button island */
.p-link { display: inline-flex; align-items: center; min-height: 44px; font: 700 15px/1 var(--fw-text); letter-spacing: .01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.p-link::after { content: "\2192"; margin-left: .45em; text-decoration: none; display: inline-block; transition: transform .25s var(--ease); }
.p-link:hover::after { transform: translateX(4px); }

/* one-shot entrances (transform + opacity, compositor only) */
.js [data-in] { will-change: transform, opacity; opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.js [data-in].is-in { opacity: 1; transform: none; }

/* ---------------- 1 · poster ---------------- */
.p-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ap); color: var(--ink);
  min-height: calc(100vh - var(--fw-bar-h)); min-height: calc(100svh - var(--fw-bar-h)); max-height: 1100px;
  display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--gut) clamp(24px, 4vh, 48px); }
.p-hero__glow { position: absolute; inset: -20% -10% -10% 30%; z-index: -1; background: radial-gradient(closest-side, #ffc9a0 0%, rgba(255, 201, 160, 0) 70%), radial-gradient(60% 50% at 70% 100%, rgba(168, 64, 26, .45), rgba(168, 64, 26, 0)); pointer-events: none; will-change: opacity; }
.p-hero__top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 4; }
.p-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 800 17px/1 var(--disp); letter-spacing: -.01em; }
.p-brand img { width: 46px; height: 46px; }
.p-hero__title { margin: 0; align-self: center; position: relative; z-index: 1; font-family: var(--disp); line-height: .8; }
.p-hero__hot { display: block; font-size: min(42vw, 64svh); font-weight: 800; letter-spacing: -.055em; margin-left: -.035em; text-transform: uppercase; color: var(--ink); transform-origin: 30% 100%; will-change: transform; }
.p-hero__rest { display: block; position: relative; z-index: 3; font-size: clamp(1.9rem, 1rem + 3.6vw, 4.6rem); font-weight: 700; letter-spacing: -.035em; line-height: .95; margin-top: .25em; }
.p-hero__dancer { position: absolute; z-index: 2; right: max(2vw, calc(var(--gut) - 30px)); bottom: 0; height: min(92%, 980px); width: auto; max-width: none; will-change: transform; pointer-events: none; }
.p-hero__lede { position: relative; z-index: 3; margin: 0; max-width: 34ch; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-weight: 600; line-height: 1.45; text-wrap: pretty; }

@media (min-width: 761px) {
  .p-hero__title { padding-bottom: 4vh; }
  .p-hero__rest { max-width: 9em; }
}
@media (max-width: 760px), (max-width: 1024px) and (orientation: portrait) {
  /* phone poster: HOT full width, the dancer stands in front of its lower half, the rest of the title and the
     lede sit in the empty space under her reaching arm. Every offset is in --u (1vw, capped for portrait
     tablets) so the composition scales as one piece. */
  .p-hero { --u: min(1vw, 5.4px); display: block; min-height: calc(76px + var(--u) * 148); max-height: none; padding-bottom: 0; }
  .p-hero__top { height: 44px; }
  .p-hero__title { position: static; margin-top: 14px; }
  .p-hero__hot { position: relative; z-index: 1; font-size: calc(var(--u) * 50); }
  .p-hero__rest { font-size: calc(var(--u) * 9.4); max-width: 5.6em; margin-top: calc(var(--u) * 40); }
  .p-hero__dancer { top: calc(76px + var(--u) * 34); right: 0; bottom: auto; width: calc(var(--u) * 98); height: auto; }
  .p-hero__lede { margin-top: calc(var(--u) * 4); font-size: 15px; line-height: 1.45; max-width: calc(var(--u) * 58); }
}
@media (max-width: 760px) {
  .p-link--top { font-size: 14px; }
  .p-brand span { display: none; }
}

/* ---------------- 2 · the heat ladder ---------------- */
.p-heats { padding: clamp(72px, 12vh, 140px) var(--gut) clamp(64px, 10vh, 120px); }
.p-say { margin: 0 0 clamp(36px, 7vh, 80px); font: 800 clamp(3.2rem, 1rem + 9vw, 10rem)/.86 var(--disp); letter-spacing: -.05em; color: var(--warm); }
.p-say span { display: block; margin-top: .6em; font: 600 clamp(1rem, .9rem + .4vw, 1.3rem)/1.4 var(--fw-text); letter-spacing: 0; color: var(--peach); }
.p-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 5vh, 56px); max-width: 1280px; }
.p-rung { display: grid; grid-template-columns: clamp(96px, 16vw, 240px) 1fr; gap: clamp(16px, 3vw, 48px); align-items: end; padding-top: clamp(22px, 4vh, 40px); border-top: 1px solid rgba(246, 212, 187, .22); }
.p-rung__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.p-rung__heat { margin: 0 0 .5em; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.p-rung__name { margin: 0; font-family: var(--disp); line-height: .9; text-wrap: balance; }
.p-rung__copy { margin: .9em 0 0; max-width: 46ch; color: var(--peach); font-size: clamp(.95rem, .9rem + .2vw, 1.08rem); }
.p-rung--1 .p-rung__name { font-size: clamp(2rem, 1rem + 4vw, 4.6rem); font-weight: 300; letter-spacing: -.02em; color: var(--peach); }
.p-rung--2 .p-rung__name { font-size: clamp(2.5rem, 1rem + 6vw, 6.8rem); font-weight: 560; letter-spacing: -.035em; color: var(--warm); }
.p-rung--3 .p-rung__name { font-size: clamp(3rem, 1rem + 8.4vw, 9.4rem); font-weight: 800; letter-spacing: -.05em; color: var(--ap); }
.p-rung--2 { margin-left: clamp(0px, 6vw, 110px); }
.p-rung--3 { margin-left: clamp(0px, 12vw, 220px); }
.p-rung:nth-child(2) { transition-delay: .08s; }
.p-rung:nth-child(3) { transition-delay: .16s; }
@media (max-width: 760px) {
  .p-rung { grid-template-columns: 30vw 1fr; align-items: start; }
  .p-rung__copy { grid-column: 1 / -1; margin-top: 0; }
  .p-rung--2, .p-rung--3 { margin-left: 0; }
}

/* ---------------- 3 · who ---------------- */
.p-who { background: var(--warm); color: var(--ink); padding: clamp(72px, 12vh, 140px) var(--gut); }
.p-who__lines { margin: 0; display: grid; gap: .12em; font-family: var(--disp); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.p-who__lines span { display: block; }
.p-who__lines span:nth-child(1) { font-size: clamp(2.4rem, 1rem + 6.4vw, 7.6rem); }
.p-who__lines span:nth-child(2) { font-size: clamp(1.9rem, 1rem + 4vw, 5rem); justify-self: end; text-align: right; color: var(--ember); transition-delay: .06s; }
.p-who__lines span:nth-child(3) { font-size: clamp(2.4rem, 1rem + 6.2vw, 7.6rem); transition-delay: .12s; }
.p-who__lines span:nth-child(4) { font-size: clamp(1.7rem, 1rem + 3vw, 3.8rem); justify-self: end; text-align: right; font-weight: 400; color: var(--ember); transition-delay: .18s; }
.p-who__fine { margin: clamp(32px, 6vh, 64px) 0 0; max-width: 44ch; color: var(--soft); font-size: clamp(1rem, .95rem + .2vw, 1.15rem); }

/* ---------------- 4 · hush ---------------- */
.p-hush { min-height: 45vh; display: grid; align-items: center; padding: 0 var(--gut); }
.p-hush p { margin: 0; font: 300 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.2 var(--disp); color: #b9a597; letter-spacing: -.01em; }

/* ---------------- 5 · peak: rub them warm ---------------- */
.p-warm { position: relative; height: 180vh; height: 180lvh; }
.p-warm__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; isolation: isolate;
  display: grid; align-content: center; justify-items: start; gap: 14px;
  padding: max(24px, env(safe-area-inset-top)) var(--gut) max(24px, env(safe-area-inset-bottom)); }
.p-warm__glow { position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 55%, rgba(247, 154, 91, .55), rgba(168, 64, 26, .35) 45%, rgba(34, 16, 10, 0) 75%); will-change: opacity; }
.p-warm__ask { margin: 0; font: 700 12px/1 var(--fw-text); letter-spacing: .22em; text-transform: uppercase; color: var(--peach); }
.p-warm__pad { position: relative; width: 100%; padding: 4vh 0; margin: -4vh 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; border-radius: 4px; }
.p-warm__pad:active { cursor: grabbing; }
.p-warm__word { display: block; font-family: var(--disp); font-size: min(22vw, 30svh); line-height: .86; letter-spacing: -.02em; font-weight: 300; color: #a8958a; white-space: nowrap; }
.p-warm__how { margin: 6px 0 0; max-width: 40ch; color: var(--peach); font-size: 15px; }
.p-warm__meter { width: min(520px, 100%); height: 4px; background: rgba(246, 212, 187, .18); border-radius: 4px; overflow: hidden; }
.p-warm__meter i { display: block; height: 100%; background: var(--ap); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.p-warm__answer { min-height: 4.6em; }
.p-warm__tier { margin: 0; font: 800 clamp(1.5rem, 1rem + 2vw, 2.6rem)/1.05 var(--disp); letter-spacing: -.03em; }
.p-warm__next { margin: .35em 0 0; font-size: 15px; color: var(--peach); }
.p-warm__next a { color: var(--ap); font-weight: 700; }
.p-warm__btn { min-height: 44px; padding: 0; background: none; border: 0; color: var(--warm); font: 700 15px/1 var(--fw-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
@media (max-width: 760px) {
  .p-warm__word { font-size: 34vw; line-height: .82; white-space: normal; }
}

/* ---------------- 6 · quote ---------------- */
.p-quote { background: var(--ap); color: var(--ink); padding: clamp(80px, 14vh, 160px) var(--gut); }
.p-quote figure { margin: 0; max-width: 1240px; }
.p-quote blockquote { margin: 0; }
.p-quote blockquote p { margin: 0; font: 650 clamp(1.9rem, 1rem + 3.7vw, 4.9rem)/1.02 var(--disp); letter-spacing: -.035em; text-wrap: balance; }
.p-quote em { font-style: normal; font-weight: 800; box-shadow: inset 0 -.12em 0 var(--ink); }
.p-quote figcaption { margin-top: 1.6em; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; }

/* ---------------- 7 · people ---------------- */
.p-people { padding: clamp(80px, 13vh, 150px) var(--gut); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
.p-people__title { margin: 0; grid-column: 1 / -1; font: 800 clamp(2.6rem, 1rem + 7vw, 8.4rem)/.88 var(--disp); letter-spacing: -.05em; }
.p-people__title span { display: block; color: var(--ap); }
.p-people__img img { width: 100%; border-radius: 2px; }
.p-people__copy { margin: 0; max-width: 34ch; color: var(--peach); font-size: clamp(1.05rem, 1rem + .3vw, 1.3rem); line-height: 1.5; }
.p-people__copy a { color: var(--warm); font-weight: 700; }
@media (max-width: 760px) {
  .p-people { grid-template-columns: 1fr; }
  .p-people__img img { aspect-ratio: 4 / 5; object-fit: cover; }
}

/* ---------------- 8 · close: the quiet inversion ---------------- */
.p-week { background: var(--warm); color: var(--ink); padding: clamp(64px, 10vh, 112px) var(--gut) clamp(56px, 9vh, 96px); }
.p-week__in { max-width: 1180px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px clamp(32px, 6vw, 96px); }
.p-week__head h2 { margin: 0; font: 700 1.35rem/1.15 var(--disp); letter-spacing: -.01em; }
.p-week__head p { margin: .5em 0 0; font-size: 14px; color: var(--soft); max-width: 30ch; }
.p-slots { --s-soft: var(--soft); --s-line: rgba(42, 20, 11, .16); --s-accent: var(--ink); font-size: 15px; grid-row: span 2; }
.p-slots .fw-slot { grid-template-columns: 4.2em 1fr auto; padding: 12px 0; }
.p-slots .fw-slot__go { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.p-slots .fw-slots__day { color: var(--soft); }
.p-slots .fw-slot__meta { color: var(--soft); }
.p-week__notes { font-size: 14px; color: var(--soft); }
.p-week__notes h3 { margin: 0 0 .5em; font: 700 14px/1.2 var(--fw-text); color: var(--ink); }
.p-week__notes ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.p-week__notes li { margin: .2em 0; }
.p-week__notes p { margin: .6em 0 0; }
.p-week__notes a { color: var(--ink); font-weight: 700; display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (max-width: 760px) {
  .p-week__in { grid-template-columns: 1fr; }
  .p-slots { grid-row: auto; }
}

/* ---------------- reduced motion: a complete still poster ---------------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-in] { opacity: 1; transform: none; transition: none; will-change: auto; }
  .p-hero__hot, .p-hero__dancer { will-change: auto; }
  .p-link::after { transition: none; }
}
