/* Fire Flow Yoga v4: the Fire house of Four Wellness. Family system first, heat second. */
.ff {
  --h-ground: #fbf3ea;
  --h-ink: #241a14;
  --h-soft: #6b5243;
  --h-accent: #a8401a;
  --h-accent-ink: #fff7ef;
  --h-line-ink: #241a14;
  --h-dark: #2a140b;
  --h-dark-soft: #c9ad98;
  --h-focus: #a8401a;
  --h-rule: #e7d6c5;
  --h-rule-dark: #4a2a1b;
  --heat-gentle: #f2b98e;
  --heat-steady: #e0712f;
  --heat-fierce: #a8401a;
  --pad: clamp(80px, 11vw, 160px);
  margin: 0;
  background: var(--h-ground);
  color: var(--h-ink);
  font: 400 16px/1.6 var(--fw-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ff *, .ff *::before, .ff *::after { box-sizing: border-box; }
.ff img { max-width: 100%; display: block; }
.ff a { color: inherit; }
.ff a.fw-btn { color: var(--h-accent-ink); }
.ff a.fw-btn--line { color: var(--h-line-ink); }
.ff .fw-on-dark { --h-soft: var(--h-dark-soft); --h-line-ink: var(--fw-bone); --h-focus: var(--fw-bone); background: var(--h-dark); color: var(--fw-bone); }
.ff .fw-on-dark .fw-knot { --k-fire: var(--fw-fire-light); }
:where(.ff) :focus-visible { outline: 2px solid var(--h-focus); outline-offset: 3px; }

/* ---- house header ---- */
.hh { position: relative; z-index: 60; background: var(--h-ground); border-bottom: 1px solid var(--h-rule); }
.hh__in { max-width: var(--fw-max); margin: 0 auto; padding: 0 var(--fw-gutter); height: 76px; display: flex; align-items: center; gap: 28px; }
.hh__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.hh__logo img { width: 44px; height: 43px; }
.hh__logo span { font: 700 22px/1 var(--fw-display); letter-spacing: .04em; text-transform: uppercase; }
.hh__nav { display: flex; gap: 4px; margin-left: auto; }
.hh__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 600 14px/1 var(--fw-text); text-decoration: none; color: var(--h-soft); border-radius: var(--fw-radius); transition: color .16s var(--fw-ease); }
@media (hover: hover) and (pointer: fine) { .hh__nav a:hover { color: var(--h-ink); } }
.hh__menu { display: none; }
.hh__cta { min-height: 44px; padding: 0 18px; }
@media (max-width: 900px) {
  .hh__in { height: 64px; gap: 10px; }
  .hh__logo img { width: 38px; height: 37px; }
  .hh__logo span { font-size: 19px; }
  .hh__menu { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 12px; border: 1px solid var(--h-rule); border-radius: var(--fw-radius); background: none; color: inherit; font: 600 13px/1 var(--fw-text); cursor: pointer; }
  .hh__nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--fw-gutter) 12px; background: var(--h-ground); border-bottom: 1px solid var(--h-rule); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--fw-ease), transform .2s var(--fw-ease), visibility 0s linear .2s; }
  .hh.is-open .hh__nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .hh__nav a { min-height: 52px; padding: 0; border-bottom: 1px solid var(--h-rule); color: var(--h-ink); font-size: 16px; }
  .hh__cta { padding: 0 14px; font-size: 12px; white-space: nowrap; }
  .hh__cta::after { display: none; }
}
@media (max-width: 380px) { .hh__logo span { display: none; } }

/* ---- hero: heat ---- */
.hero { position: relative; overflow: hidden; min-height: max(580px, calc(100svh - 120px)); display: flex; align-items: flex-end; isolation: isolate; }
.hero__plate { position: absolute; inset: -6% 0 -10%; z-index: -4; will-change: transform; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__glow { position: absolute; z-index: -3; left: 52%; top: 18%; width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 120, .55), rgba(255, 150, 70, .22) 45%, rgba(255, 120, 40, 0) 72%); opacity: .5; will-change: transform, opacity; pointer-events: none; }
.hero__sweep { position: absolute; z-index: -2; top: -20%; bottom: -20%; left: 0; width: 80%; background: linear-gradient(100deg, rgba(255, 170, 90, 0) 20%, rgba(255, 178, 100, .36) 50%, rgba(255, 170, 90, 0) 80%); transform: translate3d(-110%, 0, 0) skewX(-12deg); will-change: transform; pointer-events: none; }
.js .hero__sweep { animation: ff-sweep 2.4s .35s var(--fw-ease) both; }
@keyframes ff-sweep { from { transform: translate3d(-110%, 0, 0) skewX(-12deg); } to { transform: translate3d(160%, 0, 0) skewX(-12deg); } }
.hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(26, 11, 4, .86) 0%, rgba(26, 11, 4, .55) 32%, rgba(26, 11, 4, 0) 62%), linear-gradient(to right, rgba(26, 11, 4, .45), rgba(26, 11, 4, 0) 55%); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); will-change: transform; }
.hero__kicker { color: #f6d6bd; }
.hero__knot { font-size: 26px; display: inline-block; width: 26px; height: 26px; color: #f6d6bd; }
.hero__h { color: var(--fw-bone); max-width: 9ch; }
.hero__lede { color: #f3e6da; margin-top: 22px; }
.hero__line { --h-line-ink: var(--fw-bone); }
.hero__mat { position: absolute; z-index: 1; right: -2%; bottom: -3%; width: min(34vw, 520px); height: auto; pointer-events: none; will-change: transform; }
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - 108px); }
  .hero__plate img { object-position: 50% 30%; }
  .hero__glow { left: 48%; top: 12%; width: 90vw; height: 90vw; margin: -45vw 0 0 -45vw; }
  .hero__copy { padding-bottom: 40px; }
  .hero__mat { width: 46vw; right: -10%; bottom: auto; top: 46%; }
  .hero__shade { background: linear-gradient(to top, rgba(26, 11, 4, .92) 0%, rgba(26, 11, 4, .7) 40%, rgba(26, 11, 4, 0) 70%); }
}

/* ---- intro ---- */
.intro { padding: var(--pad) 0 calc(var(--pad) * .8); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.intro__h { max-width: 11ch; }
.intro .fw-body { color: var(--h-soft); margin: 0 0 16px; }
.facts { grid-column: 1 / -1; list-style: none; margin: clamp(24px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--h-rule); }
.facts li { display: grid; gap: 6px; padding: 22px 20px 0 0; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--h-rule); }
.facts b { font: 700 clamp(40px, 4.4vw, 60px)/.9 var(--fw-display); color: var(--h-accent); text-transform: uppercase; }
.facts span { font-size: 14px; color: var(--h-soft); max-width: 24ch; }
@media (max-width: 760px) {
  .intro__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--h-rule); grid-template-columns: 5.2em 1fr; align-items: center; }
}

/* ---- the room: climb the heat ---- */
.room { padding: var(--pad) 0; scroll-margin-top: 0; }
.room__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head photo" "climb photo"; gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.room__head { grid-area: head; }
.room__body { color: var(--h-soft); }
.room__photo { grid-area: photo; position: relative; margin: 0; overflow: hidden; border-radius: var(--fw-radius); aspect-ratio: 4 / 5; position: sticky; top: 24px; }
.room__photo picture { display: contents; }
.room__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }
.room__warm { position: absolute; inset: 0; background: rgba(255, 110, 30, .2); opacity: 0; transition: opacity .7s var(--fw-ease); pointer-events: none; }
.room__warm--2 { background: radial-gradient(70% 55% at 50% 0%, rgba(255, 180, 90, .45), rgba(255, 140, 50, 0)); }
.climb[data-step="1"] ~ * .room__warm, .room__grid[data-step="1"] .room__warm { opacity: .35; }
.room__grid[data-step="2"] .room__warm { opacity: .7; }
.room__grid[data-step="3"] .room__warm { opacity: 1; }
.room__grid[data-step="2"] .room__warm--2, .room__grid[data-step="3"] .room__warm--2 { opacity: 1; }
.room__photo figcaption { position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 13px; color: #fff3e8; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.climb { grid-area: climb; display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "gauge rungs" "done done"; gap: 20px 24px; }
.climb__gauge { grid-area: gauge; display: grid; justify-items: center; align-content: start; gap: 12px; }
.climb__hint { margin: 0; font-size: 12px; line-height: 1.4; text-align: center; color: var(--h-soft); }
.therm { --t: 0; position: relative; width: 64px; height: 360px; touch-action: none; cursor: grab; border-radius: 32px; }
.therm:active { cursor: grabbing; }
.therm__tube { position: absolute; left: 50%; top: 8px; bottom: 44px; width: 16px; margin-left: -8px; border-radius: 8px; background: #4a2a1b; overflow: hidden; }
.therm__fill { position: absolute; inset: 0; background: linear-gradient(to top, var(--heat-gentle), var(--heat-steady) 55%, #ff7a3a); transform-origin: 50% 100%; transform: scaleY(var(--fill, .04)); transition: transform .45s var(--fw-ease); }
.therm__bulb { position: absolute; left: 50%; bottom: 0; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffc08a, var(--heat-steady) 60%, var(--heat-fierce)); }
.therm__thumb { position: absolute; left: 50%; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--fw-bone); border: 3px solid var(--heat-steady); transform: translate3d(0, var(--ty, 304px), 0); transition: transform .45s var(--fw-ease); }
.therm.is-drag .therm__thumb, .therm.is-drag .therm__fill { transition: none; }
.therm__tick { position: absolute; left: 50%; width: 30px; height: 2px; margin-left: -15px; background: #f3f0e766; }
.therm__tick[data-at="1"] { top: 236px; } .therm__tick[data-at="2"] { top: 144px; } .therm__tick[data-at="3"] { top: 52px; }
.rungs { grid-area: rungs; list-style: none; margin: 0; padding: 0; display: grid; align-content: space-between; min-height: 360px; gap: 10px; }
.rung { position: relative; border-top: 1px solid var(--h-rule-dark); padding-top: 12px; }
.rung__step { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; width: 100%; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rung__n { grid-row: 1 / span 2; align-self: center; font: 700 11px/1 var(--fw-text); letter-spacing: .18em; text-transform: uppercase; color: var(--h-soft); writing-mode: vertical-rl; transform: rotate(180deg); }
.rung__heat { font: 700 28px/1 var(--fw-display); text-transform: uppercase; color: var(--h-soft); transition: color .3s var(--fw-ease); }
.rung__type { font-size: 14px; color: var(--h-soft); }
.rung__slot { min-height: 64px; margin: 8px 0 0 23px; font-size: 14px; }
.rung.is-lit .slot { animation: ff-in .45s var(--fw-ease) both; }
@keyframes ff-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.rung.is-lit[data-heat="gentle"] .rung__heat { color: var(--heat-gentle); }
.rung.is-lit[data-heat="steady"] .rung__heat { color: #f09a5c; }
.rung.is-lit[data-heat="fierce"] .rung__heat { color: #ff8a4c; }
.slot { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.slot__when { font-weight: 700; color: var(--fw-bone); }
.slot__meta { grid-column: 1; color: var(--h-soft); font-size: 13px; }
.slot__acts { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 4px; }
.slot__acts a, .slot__acts button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border: 1px solid var(--h-rule-dark); border-radius: var(--fw-radius); background: none; color: var(--fw-bone); font: 700 12px/1 var(--fw-text); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.slot__acts a { background: var(--fw-bone); color: var(--h-dark); border-color: var(--fw-bone); }
.slot__acts button:disabled { opacity: .4; cursor: default; }
.slot__none { margin: 0; color: var(--h-soft); }
.slot__none a { color: var(--fw-fire-light); }
.climb__done { grid-area: done; border-top: 1px solid var(--h-rule-dark); padding-top: 18px; }
.climb__sum { min-height: 1.6em; margin: 0 0 14px; color: var(--fw-bone); font-weight: 600; }
.climb__ics:disabled { opacity: .45; cursor: default; transform: none; }
.climb__noscript { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .room__grid { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "climb"; }
  .room__photo { position: relative; top: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) {
  .climb { grid-template-columns: 64px minmax(0, 1fr); gap: 16px 14px; }
  .therm { width: 56px; }
  .rung__heat { font-size: 24px; }
  .rung__slot { margin-left: 0; }
  .slot { grid-template-columns: 1fr; }
  .slot__acts { grid-row: auto; grid-column: 1; margin-top: 6px; }
}

/* ---- classes ---- */
.classes { padding: var(--pad) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head .fw-h2 { margin: 0; }
.sec-head .fw-body { margin: 0; color: var(--h-soft); }
.heats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.heat img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--fw-radius); margin-bottom: 20px; }
.heat__tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; color: var(--h-soft); }
.heat__tag i, .wk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.heat[data-heat="gentle"] { --c: var(--heat-gentle); }
.heat[data-heat="steady"] { --c: var(--heat-steady); }
.heat[data-heat="fierce"] { --c: var(--heat-fierce); }
.heat__body { margin: 0 0 14px; color: var(--h-soft); }
.heat__next { min-height: 3.2em; margin: 0; padding-top: 12px; border-top: 1px solid var(--h-rule); font-size: 14px; font-weight: 600; }
.heat__next a { color: var(--h-accent); }
.week { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); }
.week__list { --s-accent: var(--h-accent); }
.week__list .fw-slot__go { font-size: 14px; }
.week__all { margin: 20px 0 0; font-weight: 600; }
.week__all a { color: var(--h-accent); }
@media (max-width: 900px) {
  .sec-head, .week { grid-template-columns: 1fr; }
  .heats { grid-template-columns: 1fr; gap: 48px; }
  .heat { display: grid; grid-template-columns: 38% 1fr; gap: 0 18px; align-items: start; }
  .heat img { grid-row: 1 / span 4; margin: 0; }
}
@media (max-width: 420px) { .heat { grid-template-columns: 1fr; } .heat img { grid-row: auto; margin-bottom: 16px; aspect-ratio: 16 / 10; } }

/* ---- prices ---- */
.prices { padding: var(--pad) 0; }
.prices__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.prices__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pcard { display: grid; align-content: start; gap: 10px; padding: 28px; border: 1px solid var(--h-rule-dark); border-radius: var(--fw-radius); }
.pcard__k { margin: 0; font: 700 12px/1 var(--fw-text); letter-spacing: .2em; text-transform: uppercase; color: var(--fw-fire-light); }
.pcard__h { margin: 0; font: 700 34px/1 var(--fw-display); text-transform: uppercase; }
.pcard__b { margin: 0 0 12px; color: var(--h-soft); }
.pcard .fw-btn { justify-self: start; }
.prices .fw-btn:not(.fw-btn--line) { --h-accent: #f6a26b; --h-accent-ink: #2a140b; }
@media (max-width: 900px) { .prices__grid, .prices__cards { grid-template-columns: 1fr; } }

/* ---- people ---- */
.people { padding: var(--pad) 0 calc(var(--pad) * .7); }
.teachers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--h-rule); }
.teacher { padding: 28px 20px 8px 0; }
.teacher + .teacher { padding-left: 20px; border-left: 1px solid var(--h-rule); }
.teacher__mono { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; border: 1.5px solid var(--h-accent); color: var(--h-accent); font: 700 22px/1 var(--fw-display); letter-spacing: .04em; }
.teacher__name { margin: 0 0 4px; font: 700 26px/1.05 var(--fw-display); text-transform: uppercase; }
.teacher__what { margin: 0 0 10px; color: var(--h-soft); font-size: 14px; }
.teacher__next { margin: 0; min-height: 2.8em; font-size: 13px; font-weight: 600; }
@media (max-width: 900px) {
  .teachers { grid-template-columns: 1fr 1fr; }
  .teacher:nth-child(3) { padding-left: 0; border-left: 0; }
  .teacher:nth-child(n+3) { border-top: 1px solid var(--h-rule); }
}
@media (max-width: 420px) {
  .teachers { grid-template-columns: 1fr; }
  .teacher, .teacher + .teacher { padding: 22px 0 6px; border-left: 0; display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; }
  .teacher + .teacher { border-top: 1px solid var(--h-rule); }
  .teacher__mono { grid-row: 1 / span 3; margin: 0; }
}

/* ---- first visit ---- */
.faq { padding: calc(var(--pad) * .7) 0 var(--pad); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--h-rule); }
.faq details { border-bottom: 1px solid var(--h-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font: 600 17px/1.35 var(--fw-text); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform .2s var(--fw-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 60ch; color: var(--h-soft); }
.faq details a { color: var(--h-accent); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---- visit ---- */
.visit { padding: var(--pad) 0; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.visit .fw-h2 { margin: 0; max-width: 10ch; }
.visit address { font-style: normal; font-size: 18px; line-height: 1.6; margin: 0 0 24px; }
.visit .fw-btn:not(.fw-btn--line) { --h-accent: #f6a26b; --h-accent-ink: #2a140b; }
.visit__ig { margin: 20px 0 0; color: var(--h-soft); }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero__sweep { animation: none; transform: translate3d(40%, 0, 0) skewX(-12deg); opacity: .7; }
  .therm__fill, .therm__thumb, .room__warm, .rung__heat { transition: none; }
  .rung.is-lit .slot { animation: none; }
}
