/* Fire Flow Yoga v3 · The Wall.
   The studio's forest mural as one long wall. Classes hang on it in time order as paper tags; along the base,
   one fairy light for every place still free.
   Motion contract: the wall travels by native horizontal scroll (touch) or one translateX on a sticky track
   (mouse wheel). Reveals are one-shot transform/opacity transitions. Nothing repaints while you move. */

:root {
  --ap: #f79a5b;          /* their orange */
  --ember: #a8401a;       /* family fire deep */
  --coal: #22100a;
  --bark: #3a2416;
  --warm: #fff4ea;
  --ink: #2a140b;
  --soft: #6e4a38;
  --peach: #f6d4bb;
  --disp: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --sb: 0px;
}
@supports (height: 100lvh) { :root { --sb: calc(100lvh - 100svh); } }

html { -webkit-text-size-adjust: 100%; background: var(--coal); }
body.ffw { margin: 0; background: var(--coal); color: var(--warm); font: 500 16px/1.55 var(--fw-text); overflow-x: clip; }
.ffw *, .ffw *::before, .ffw *::after { box-sizing: border-box; }
.ffw img { display: block; max-width: 100%; height: auto; }
.ffw a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.ffw :focus-visible { outline: 3px solid var(--ap); outline-offset: 3px; border-radius: 3px; }

.ffw .w-link { display: inline-flex; align-items: center; min-height: 44px; font: 700 15px/1.2 var(--fw-text); color: var(--ember); text-decoration: underline; text-underline-offset: 6px; }
.w-link::after { content: "\2192"; margin-left: .45em; display: inline-block; transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .w-link:hover::after { transform: translateX(4px); } }
.ffw .w-link--dark { color: var(--ember); }

/* ---------------- the wall ---------------- */
.w { position: relative; background: var(--coal); }
.w-stage { position: relative; display: flex; flex-direction: column; height: calc(100svh - var(--fw-bar-h)); min-height: 560px; overflow: hidden; }
.wall-pin .w-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; will-change: transform; }
.w-scroller { position: relative; flex: 1; overflow: hidden; outline-offset: -3px; }
.wall-swipe .w-scroller { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
/* scroll on the compositor: the scroller and the wall inside it are their own layers, so moving never repaints */
.wall-swipe .w-scroller { will-change: scroll-position; background: var(--coal); }
.wall-swipe .w-track { will-change: transform; }
.wall-swipe .w-scroller::-webkit-scrollbar { display: none; }
.w-track { position: relative; height: 100%; width: 100vw; overflow: hidden; }
.js .w-track:not(.is-laid) { visibility: hidden; }   /* placed by script first, so nothing jumps at load */
.wall-pin .w-track { will-change: transform; }

/* the forest: mirrored tiles of the real mural, a top shade so plaques read, the floor below */
.w-mural { position: absolute; left: 0; top: 0; display: flex; height: var(--hm, 80%); overflow: hidden; }
.w-mural img { height: 100%; width: auto; max-width: none; flex: none; }
.w-mural img:nth-child(even) { transform: scaleX(-1); }
.w-track::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: var(--hm, 80%); pointer-events: none;
  background: linear-gradient(to bottom, rgba(24, 12, 6, .62) 0, rgba(24, 12, 6, .16) 24%, rgba(24, 12, 6, 0) 46%, rgba(24, 12, 6, 0) 74%, rgba(24, 12, 6, .5) 100%); }
.w-track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: var(--hm, 80%);
  background: linear-gradient(to bottom, rgba(40, 22, 12, .55), rgba(40, 22, 12, 0) 18%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 180px, rgba(120, 96, 76, .16) 180px 181px), linear-gradient(to bottom, #d8cbbd, #b9a692); }
.w-rail { position: absolute; z-index: 2; left: 0; right: 0; top: var(--rail, 18px); height: 11px; background: linear-gradient(to bottom, #8a6243, #4a2f1c 70%, #2e1c10); box-shadow: 0 5px 8px rgba(0, 0, 0, .35); }
.w-wire { position: absolute; z-index: 3; left: 0; top: 0; overflow: visible; pointer-events: none; }
.w-wire path { fill: none; stroke: #2a1a10; stroke-width: 1.6; }
.w-wire circle { fill: #5a4532; }

/* gallery labels pinned to the wall: the intro and the end */
.w-label { position: absolute; z-index: 5; background: var(--warm); color: var(--ink); padding: clamp(20px, 2.4vw, 34px); border-radius: 4px; box-shadow: 0 16px 22px -10px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .06); }
.w-label::before, .w-label::after { content: ""; position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3c49e, #a8401a 70%); box-shadow: 0 2px 2px rgba(0, 0, 0, .35); }
.w-label::before { left: 12px; } .w-label::after { right: 12px; }
.w-label__kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 12px/1 var(--fw-text); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.w-label__kicker img { width: 34px; height: 34px; }
.w-label__title { margin: 0; font: 800 clamp(40px, 4.6vw, 76px)/.9 var(--disp); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.w-label__title--end { font-size: clamp(34px, 3.4vw, 54px); }
.w-label__lede { margin: 16px 0 0; max-width: 40ch; font-size: 16px; line-height: 1.5; color: #4b2d1e; }
.w-label__links { margin: 10px 0 0; }
.w-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid #e8d3c2; font-size: 13.5px; color: #4b2d1e; }
.w-key li { display: inline-flex; align-items: center; gap: 7px; }
.w-key b { font-weight: 800; color: var(--ink); }
.w-key i, .b-heat i { width: 14px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgba(42, 20, 11, .35); }
[data-heat="gentle"] i { background: var(--warm); }
[data-heat="steady"] i { background: var(--ap); }
[data-heat="fierce"] i { background: var(--ember); }

/* standing in front of the wall: the dancer at the start, the mat and bottle at the end */
.w-fg { position: absolute; z-index: 6; height: auto; pointer-events: none; }
.wall-pin .w-fg { will-change: transform; }

/* days */
.w-days { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.w-day { position: absolute; top: 0; height: var(--hm, 80%); }
.w-day--wait { left: var(--intro-w, 100vw); width: 60vw; }
.w-day__name { position: absolute; z-index: 4; left: 0; top: calc(var(--rail, 18px) + 26px); margin: 0; padding: 10px 14px 11px; background: rgba(34, 16, 10, .9); color: var(--warm); border-radius: 3px; font: 800 22px/1 var(--disp); letter-spacing: -.02em; white-space: nowrap; }
.w-day__name small { display: block; margin-top: 5px; font: 600 12px/1 var(--fw-text); letter-spacing: .08em; text-transform: uppercase; color: var(--peach); }
.w-day--empty .w-day__name { background: rgba(34, 16, 10, .72); font-size: 18px; }
.w-day--empty .w-day__name small { color: #e7c3aa; }
.w-day::before { content: ""; position: absolute; left: -1px; top: calc(var(--rail, 18px) + 11px); bottom: 0; width: 2px; background: linear-gradient(to bottom, rgba(255, 244, 234, .28), rgba(255, 244, 234, 0)); }

/* the tags: paper, on a string from the rail */
.w-tags { margin: 0; padding: 0; list-style: none; }
.ffw .w-tag { --bg: var(--ap); --fg: var(--ink); --sub: #5a2a12; position: absolute; z-index: 3; display: grid; gap: 3px; width: var(--tag-w, 210px); padding: 26px 18px 16px; background: var(--bg); color: var(--fg); text-decoration: none; border-radius: 9px 9px 12px 12px; pointer-events: auto; transform-origin: 50% calc(-1 * var(--drop, 120px)); box-shadow: 0 12px 14px -8px rgba(0, 0, 0, .55), inset 0 -3px 0 rgba(0, 0, 0, .08); transition: transform .5s var(--ease); }
.w-tag::before { content: ""; position: absolute; left: 50%; bottom: calc(100% - 12px); width: 1.5px; height: calc(var(--drop, 120px) + 12px); background: rgba(250, 236, 220, .85); transform: translateX(-50%); }
.w-tag::after { content: ""; position: absolute; left: 50%; top: 8px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--coal); box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.ffw .w-tag[data-heat="gentle"] { --bg: var(--warm); --fg: var(--ink); --sub: #6e4a38; }
.ffw .w-tag[data-heat="fierce"] { --bg: var(--ember); --fg: var(--warm); --sub: #fde1cc; }
.w-tag__t { font: 800 44px/.92 var(--disp); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.w-tag__n { font: 800 16px/1.2 var(--disp); letter-spacing: -.01em; margin-top: 6px; }
.w-tag__m, .w-tag__p { font-size: 13px; line-height: 1.35; color: var(--sub); }
.w-tag__p { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding-top: 9px; border-top: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); font-weight: 700; color: var(--fg); }
.w-tag__p b { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.w-tag__next { position: absolute; right: 12px; top: 10px; padding: 4px 8px; border-radius: 999px; background: var(--coal); color: var(--warm); font: 700 10.5px/1 var(--fw-text); letter-spacing: .14em; text-transform: uppercase; }
.ffw .w-tag.is-full { --bg: #d9c7b8; --fg: #4b2d1e; --sub: #6e4a38; }
@media (hover: hover) and (pointer: fine) { .w-tag:hover { transform: rotate(-2.5deg); } }
.w-tag:focus-visible { transform: rotate(-2.5deg); outline-offset: 4px; }

/* the lights: one glowing bulb per free place, grouped per class so a whole cluster fades as one layer */
.w-glow { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; }
.w-glow i { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: radial-gradient(circle, #fffdf2 0 3px, #ffd690 4px, rgba(255, 196, 110, .55) 5.5px, rgba(255, 170, 80, .18) 10px, rgba(255, 170, 80, 0) 15px); }
/* the warm pool each cluster throws on the floor */
.w-glow b { position: absolute; height: 46px; margin-top: 6px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 112, .55), rgba(255, 196, 112, 0)); }

/* one-shot reveal when a day comes into view (mouse-driven wall only). Each day's tags and lights are two
   permanent layers, so the reveal only animates opacity/transform and never re-layers the wall. */
.w-glowset { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.wall-pin .w-tags, .wall-pin .w-glowset { will-change: transform, opacity; }
.wall-pin .w-tags { position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.wall-pin .w-glowset { transition: opacity 1.2s ease .35s; }
.wall-pin .w-day:not(.is-lit) .w-tags { opacity: 0; transform: translateY(-28px); }
.wall-pin .w-day:not(.is-lit) .w-glowset { opacity: 0; }

/* the controls under the wall */
.w-controls { flex: none; position: relative; z-index: 2; will-change: transform; display: flex; align-items: center; gap: 10px; height: calc(68px + var(--sb, 0px) * 0); padding: 0 clamp(10px, 2vw, 28px); background: var(--coal); border-top: 1px solid #3a2116; }
.w-step { flex: none; width: 44px; height: 44px; border: 1.5px solid #6b4433; border-radius: 50%; background: none; color: var(--warm); font: 700 18px/1 var(--fw-text); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .w-step:hover { background: var(--ap); border-color: var(--ap); color: var(--ink); } }
.w-step:disabled { opacity: .35; cursor: default; }
.w-chips { flex: 1; display: flex; will-change: scroll-position; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.w-chips::-webkit-scrollbar { display: none; }
.w-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px; border: 1.5px solid #3a2116; border-radius: 999px; background: #3a2116; color: var(--peach); font: 700 13px/1 var(--fw-text); cursor: pointer; white-space: nowrap; }
.w-chip b { font-weight: 800; color: var(--warm); }
.w-chip i { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: rgba(255, 244, 234, .14); font: 800 11px/18px var(--fw-text); font-style: normal; color: var(--warm); }
.w-chip.is-empty { background: none; color: #b48d77; border: 1.5px solid #3a2116; }
.w-chip[aria-current="true"] { background: var(--ap); color: var(--ink); }
.w-chip[aria-current="true"] b, .w-chip[aria-current="true"] i { color: var(--ink); }
.w-chip[aria-current="true"] i { background: rgba(42, 20, 11, .14); }
.w-noscript { padding: 20px; }

/* ---------------- phones ---------------- */
@media (max-width: 760px) {
  .w-label__title { font-size: clamp(36px, 10.5vw, 46px); }
  .w-label__lede { font-size: 15px; margin-top: 12px; }
  .w-label__kicker { font-size: 11px; margin-bottom: 10px; }
  .w-label__kicker img { width: 28px; height: 28px; }
  .w-key { font-size: 12.5px; gap: 6px 12px; margin-top: 14px; padding-top: 12px; }
  .w-tag { padding: 24px 14px 13px; }
  .w-tag__t { font-size: 36px; }
  .w-tag__n { font-size: 15px; }
  .w-tag__m, .w-tag__p { font-size: 12.5px; }
  .w-day__name { font-size: 19px; padding: 9px 12px 10px; }
  .w-controls { height: 62px; gap: 8px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .w-label__lede { display: none; }
}

/* ---------------- below the wall ---------------- */
.b { background: var(--warm); color: var(--ink); padding: clamp(64px, 8vw, 120px) 0; }
.b-in { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.b-title { margin: 0 0 clamp(28px, 4vw, 48px); font: 800 clamp(40px, 5.2vw, 78px)/.92 var(--disp); letter-spacing: -.035em; text-wrap: balance; }
.b-title span { color: var(--ember); }
.b-heats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.b-heats img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.b-heat { display: flex; align-items: center; gap: 8px; margin: 16px 0 4px; font: 700 12px/1 var(--fw-text); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.b-heats h3 { margin: 0 0 6px; font: 800 24px/1.05 var(--disp); letter-spacing: -.02em; }
.b-heats p:last-child { margin: 0; color: #4b2d1e; }
.b-first { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(56px, 7vw, 100px); padding-top: clamp(32px, 4vw, 56px); border-top: 2px solid var(--ink); }
.b-quote { margin: 0; }
.b-quote blockquote { margin: 0; }
.b-quote p { margin: 0; font: 700 clamp(24px, 2.6vw, 38px)/1.15 var(--disp); letter-spacing: -.025em; text-wrap: pretty; }
.b-quote figcaption { margin-top: 14px; font: 700 12px/1 var(--fw-text); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.b-notes h3 { margin: 0 0 10px; font: 800 22px/1.1 var(--disp); }
.b-notes ol { margin: 0 0 18px; padding-left: 1.2em; }
.b-notes li { margin: 4px 0; }
.b-notes p { margin: 0 0 12px; color: #4b2d1e; }
.b-notes a:not(.w-link) { color: var(--ember); }
@media (max-width: 760px) {
  .b-heats { grid-template-columns: 1fr; }
  .b-heats li { display: grid; grid-template-columns: 112px 1fr; column-gap: 16px; align-items: start; }
  .b-heats img { grid-row: span 3; aspect-ratio: 4 / 5; }
  .b-heat { margin-top: 2px; }
  .b-heats h3 { font-size: 20px; }
  .b-heats p:last-child { font-size: 14.5px; }
  .b-first { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .wall-pin .w-tags, .wall-pin .w-glowset, .w-tag, .w-link::after { transition: none; }
  .wall-pin .w-day:not(.is-lit) .w-tags, .wall-pin .w-day:not(.is-lit) .w-glowset { opacity: 1; transform: none; }
  .wall-swipe .w-scroller { scroll-behavior: auto; }
}
