/* Interval by Roy Abergel — option C, "two panels".
   Deep green-black ground, rounded raised panels, the logo's lime as the one accent.
   Sora set heavy and tight for display, Inter for reading. Photos are clean, rounded, never drawn on. */

:root {
  --bg: #0a120d;
  --surface: #121c15;
  --surface-2: #1a271e;
  --surface-3: #24352a;
  --ink: #eef3ea;
  --ink-soft: #a3b2a2;
  --accent: #9bca3c;
  --accent-strong: #b0dc55;
  --accent-ink: #0a120d;
  color-scheme: dark;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.875rem, 0.84rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --step-head: clamp(2.5rem, 1.4rem + 3.6vw, 5.25rem);
  --step-display: clamp(3.25rem, 1rem + 6.5vw, 8rem);

  --r: clamp(20px, 2.2vw, 32px);
  --r-md: clamp(16px, 1.6vw, 24px);
  --r-sm: 14px;
  --margin: clamp(1rem, 2.6vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --gap: 12px;
  --section: clamp(5.5rem, 11vw, 11rem);
  --max: 1480px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: .75rem; z-index: 100; clip-path: inset(50%); background: var(--accent); color: var(--accent-ink); padding: .75rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { clip-path: none; }

/* ---------- type ---------- */
h1, h2, h3 { text-wrap: balance; }
.display { font-family: var(--font-display); font-size: var(--step-display); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; }
.display em { font-style: normal; color: var(--accent); }
.head { font-family: var(--font-display); font-size: var(--step-head); font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; }
.title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: var(--step-lead); line-height: 1.5; max-width: 36ch; color: var(--ink-soft); }
.small { font-size: var(--step-small); }
.soft { color: var(--ink-soft); }
p { max-width: 64ch; text-wrap: pretty; }
p + p { margin-top: 1em; }
.nums { font-variant-numeric: tabular-nums; }
strong { font-weight: 600; color: var(--ink); }

/* ---------- frame ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }
.section-top { padding-top: calc(var(--section) / 2); }
.on-surface { background: var(--surface); }
.on-dark { background: var(--surface); }
.on-accent { background: var(--accent); color: var(--accent-ink); }

/* every picture: rounded, clean */
.media, .ph-media, .hero-photo, .frame, .tile, .video, .portrait, .second, .story-photos button, .drag-row button, .masonry button, .map-big, .footer-map { border-radius: var(--r-md); overflow: hidden; }
.media { background: var(--surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.r43 { aspect-ratio: 4 / 3; }
.media.r45 { aspect-ratio: 4 / 5; }
.media.r32 { aspect-ratio: 3 / 2; }
.media.r11 { aspect-ratio: 1; }

/* ---------- controls ---------- */
.button { --b: var(--accent); --bi: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3.375rem; padding: 0 1.6rem; border-radius: 999px; background: var(--b); color: var(--bi); font-family: var(--font-display); font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button.ink, .button.light { --b: var(--ink); --bi: var(--accent-ink); }
.button.ghost { --b: var(--surface-3); --bi: var(--ink); }
.button.small { min-height: 2.75rem; padding: 0 1.2rem; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { --b: var(--accent-strong); }
  .button.ink:hover, .button.light:hover { --b: var(--accent); }
  .button.ghost:hover { --b: var(--surface-2); }
}
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--accent); color: var(--accent); } }
.more { font-family: var(--font-display); font-weight: 700; text-decoration: none; color: var(--accent); display: inline-flex; gap: .4em; }
.more::after { content: "→"; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover::after { transform: translateX(4px); } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.chip { min-height: 2.75rem; padding: 0 1.15rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .875rem; background: var(--surface-2); color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--surface-3); } .chip[aria-pressed="true"]:hover { background: var(--accent-strong); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: transform 300ms var(--ease-out); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 1.25rem; min-height: 5rem; }
.brand { display: block; flex: none; width: clamp(8.5rem, 7rem + 4vw, 10.5rem); }
.brand img { width: 100%; height: auto; }
.nav-links { display: none; margin-inline: auto; align-items: center; gap: .1rem; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.sub-toggle { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: .9375rem; color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.nav-links a[aria-current="page"], .nav-links .is-current > button { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover, .nav-links button.sub-toggle:hover { background: var(--surface); } }
.sub-toggle::after { content: ""; width: .42em; height: .42em; margin-left: .5em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--t-hover) ease; }
.sub-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.submenu { position: absolute; top: calc(100% + .5rem); left: 0; min-width: 15rem; background: var(--surface-2); padding: .4rem; border-radius: 20px; display: none; }
.submenu.is-open { display: block; }
.submenu a { display: flex; width: 100%; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) { .submenu a:hover { background: var(--surface-3); } }
.nav-phone { display: none !important; }
.nav-cta { display: none; }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--surface-2); font-family: var(--font-display); font-weight: 600; }
.menu-btn .bars { width: 1.2rem; height: .7rem; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 240ms var(--ease-out), top 240ms var(--ease-out); }
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: calc(100% - 2px); }
.menu-btn[aria-expanded="true"] .bars::before { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: calc(50% - 1px); transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 49; background: var(--bg); padding: 6.5rem var(--margin) 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity 300ms ease, transform 400ms var(--ease-out), visibility 0s linear 400ms; }
.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.drawer-links { display: grid; gap: .15rem; }
.drawer-links a { display: block; font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; text-decoration: none; padding: .1rem 0; }
.drawer-links a[aria-current="page"] { color: var(--accent); }
.drawer-sub { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.drawer-sub a { font-family: var(--font-display); font-size: .9375rem; font-weight: 600; letter-spacing: 0; line-height: 1; padding: .85rem 1.05rem; border-radius: 999px; background: var(--surface-2); }
.drawer-foot { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
.drawer-foot a.tel { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (min-width: 72em) {
  .nav-links { display: flex; }
  .menu-btn, .drawer { display: none; }
  .nav-cta { display: inline-flex; }
}

/* ---------- home hero: text panel + big photo ---------- */
.hero { display: grid; gap: var(--gap); padding-bottom: var(--gap); }
.hero-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding: clamp(1.5rem, 3.6vw, 3.5rem); background: var(--surface); border-radius: var(--r); }
.hero-copy { display: grid; gap: 1.5rem; }
.hero h1 { font-size: clamp(3rem, 1rem + 5.4vw, 7.25rem); }
.hero-photo { min-height: 64svh; border-radius: var(--r); background: var(--surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
.hero-next { display: inline-flex; align-self: flex-start; gap: .7rem; align-items: center; padding: .75rem 1.15rem; border-radius: 999px; background: var(--surface-2); font-family: var(--font-display); font-size: .875rem; font-weight: 500; }
.hero-next b { font-weight: 700; color: var(--accent); }
.hero-next .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; } }
@media (min-width: 60em) {
  .hero { grid-template-columns: 5fr 7fr; min-height: clamp(640px, calc(100svh - 5rem), 1040px); }
  .hero-photo { min-height: 0; }
}
@media (max-width: 59.99em) {
  .hero-photo { order: -1; aspect-ratio: 4 / 5; min-height: 0; max-height: 70svh; width: 100%; }
}

/* ---------- page head ---------- */
.page-head { padding-top: clamp(2rem, 5vw, 5rem); }
.ph-grid { display: grid; gap: 1.5rem var(--gutter); align-items: end; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.ph-side { display: grid; gap: 1.5rem; }
@media (min-width: 60em) { .ph-grid { grid-template-columns: 7fr 5fr; } }
.ph-media { aspect-ratio: 21 / 9; border-radius: var(--r); background: var(--surface); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 47.99em) { .ph-media { aspect-ratio: 4 / 3; } }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 60em) { .sec-head.split { grid-template-columns: 6fr 6fr; align-items: end; gap: var(--gutter); } .sec-head.split .lead { justify-self: end; } }

/* ---------- intro (home) ---------- */
.intro-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.statement-text { margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.5; max-width: 30ch; color: var(--ink-soft); }
@media (min-width: 60em) { .intro-grid { grid-template-columns: 5fr 7fr; align-items: center; } }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--surface); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.video button { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play { display: inline-flex; align-items: center; gap: .8rem; background: var(--accent); color: var(--accent-ink); padding: .95rem 1.5rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .9375rem; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.video .play::before { content: ""; width: .75rem; height: .9rem; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (hover: hover) and (pointer: fine) { .video button:hover .play { background: var(--accent-strong); } .video button:hover img { transform: scale(1.03); } }
.video button:active .play { transform: scale(.97); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: .9rem; font-size: var(--step-small); color: var(--ink-soft); }

/* ---------- ways in (home) ---------- */
.specimens { display: grid; gap: clamp(2.5rem, 4vw, 3rem) var(--gutter); }
.sec-intro .lead { margin-top: 1.25rem; }
.spec-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.spec { display: grid; gap: .25rem; align-content: start; text-decoration: none; padding: 10px 10px 1.4rem; background: var(--surface); border-radius: var(--r); transition: background-color var(--t-hover) ease; }
.spec .tile { aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 8px); margin-bottom: .9rem; }
.spec .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.spec h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; padding-inline: .5rem; }
.spec p { font-size: .9375rem; color: var(--ink-soft); padding-inline: .5rem; margin-top: .3rem; }
.spec.wide { grid-column: 1 / -1; order: -1; }
.spec.wide .tile { aspect-ratio: 16 / 9; }
@media (hover: hover) and (pointer: fine) { .spec:hover { background: var(--surface-2); } .spec:hover .tile img { transform: scale(1.04); } }
@media (max-width: 40em) { .spec-tiles { grid-template-columns: 1fr; } }
@media (min-width: 60em) {
  .specimens { grid-template-columns: 4fr 8fr; }
  .specimens .sec-intro { position: sticky; top: 7rem; align-self: start; }
  .spec.wide { order: 0; }
}

/* ---------- interval timer ---------- */
.timer { max-width: calc(var(--max) - 2 * var(--margin)); margin-inline: max(var(--margin), calc((100% - var(--max)) / 2 + var(--margin))); border-radius: var(--r); background: var(--surface); color: var(--ink); transition: background-color 400ms ease, color 400ms ease; position: relative; overflow: hidden; }
.timer > .wrap { padding-inline: clamp(1.25rem, 3.6vw, 3.5rem); }
.timer.is-work { background: var(--accent); color: var(--accent-ink); }
.timer.is-done { background: var(--surface-2); }
.timer-grid { display: grid; gap: 2.5rem var(--gutter); }
@media (min-width: 60em) { .timer-grid { grid-template-columns: 5fr 7fr; align-items: center; } }
.timer .lead { margin-top: 1.25rem; color: inherit; opacity: .8; }
.timer-formats { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.timer.is-work .chip { background: rgba(0,0,0,.12); color: var(--accent-ink); }
.timer.is-work .chip[aria-pressed="true"] { background: var(--accent-ink); color: var(--accent); }
.clock { display: grid; gap: .5rem; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: var(--r-md); background: var(--bg); }
.timer.is-work .clock { background: rgba(0,0,0,.08); }
.clock-state { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.clock-state .phase { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.clock-digits { font-family: var(--font-display); font-size: clamp(6rem, 1.5rem + 15vw, 15rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.clock-move { font-family: var(--font-display); font-size: var(--step-lead); font-weight: 600; min-height: 1.4em; }
.clock-controls { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.timer.is-work .button { --b: var(--accent-ink); --bi: var(--accent); }
.timer .ghost { min-height: 3.375rem; padding: 0 1.3rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .9375rem; background: var(--surface-2); }
.timer.is-work .ghost { background: rgba(0,0,0,.12); }
@media (hover: hover) and (pointer: fine) { .timer .ghost:hover { background: var(--surface-3); } }
.pulse-line { display: block; width: 100%; height: clamp(56px, 6vw, 96px); margin-top: clamp(2rem, 4vw, 3rem); }
.pulse-line path { fill: none; stroke: currentColor; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.pulse-line .beat { stroke: var(--accent); stroke-dasharray: 0.16 1; stroke-dashoffset: 1.16; }
.timer.is-work .pulse-line .beat { stroke: var(--accent-ink); }
.timer.is-running .pulse-line .beat { animation: beat 1s linear infinite; }
@keyframes beat { from { stroke-dashoffset: 1.16; } to { stroke-dashoffset: 0; } }
.pulse-line .base { opacity: .18; }
.rounds { display: flex; gap: 6px; margin-top: .5rem; }
.rounds span { flex: 1; height: 8px; border-radius: 99px; background: color-mix(in srgb, currentColor 18%, transparent); }
.rounds span.done { background: currentColor; }

/* ---------- Roy panel ---------- */
.panel { margin-inline: auto; max-width: var(--max); padding-inline: var(--margin); }
.panel-grid { display: grid; gap: var(--gap); }
.panel-left { display: grid; gap: var(--gap); }
.panel-left h2 { padding: clamp(1.5rem, 3.6vw, 3rem); background: var(--surface); border-radius: var(--r); }
.panel .portrait { aspect-ratio: 4 / 5; border-radius: var(--r); }
.panel .portrait img { width: 100%; height: 100%; object-fit: cover; }
.panel-text { display: grid; gap: 2rem; align-content: start; padding: clamp(1.5rem, 3.6vw, 3rem); background: var(--surface); border-radius: var(--r); }
.panel-text h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.025em; color: var(--accent); margin-bottom: .5rem; }
.panel-text p { color: var(--ink-soft); }
@media (min-width: 60em) { .panel-grid { grid-template-columns: 5fr 7fr; } }

/* ---------- testimonial ---------- */
.tsplit { display: grid; gap: var(--gap); }
.tsplit .portrait { aspect-ratio: 4 / 5; border-radius: var(--r); }
.tsplit .portrait img, .tsplit .second img { width: 100%; height: 100%; object-fit: cover; }
.tsplit blockquote { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--surface); border-radius: var(--r); display: flex; flex-direction: column; justify-content: center; }
.tsplit blockquote p { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; max-width: 24ch; }
.tsplit blockquote p.q-head { font-family: var(--font-display); font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.75rem); font-weight: 800; line-height: .98; letter-spacing: -0.045em; color: var(--accent); margin-bottom: 1.25rem; max-width: 12ch; }
.tsplit cite { display: block; margin-top: 1.5rem; font-style: normal; color: var(--ink-soft); }
.tsplit cite b { font-weight: 600; color: var(--ink); }
.tsplit .second { display: none; }
@media (min-width: 60em) { .tsplit { grid-template-columns: 5fr 7fr; } }
.pounds { margin-top: var(--gap); padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--surface); border-radius: var(--r); }
.pounds h3 { margin-bottom: 2rem; }
.pounds-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.pounds-list li { display: grid; gap: .3rem; }
.pounds-list .n { font-family: var(--font-display); font-size: clamp(2.75rem, 1.6rem + 3vw, 4.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.pounds-list .n small { font-size: .38em; margin-left: .15em; letter-spacing: 0; color: var(--ink); }
.pounds-list .who { font-size: .9375rem; color: var(--ink-soft); }
@media (min-width: 48em) { .pounds-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 75em) { .pounds-list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- inside the gym (home) ---------- */
.oneframe { display: grid; gap: var(--gap); }
.oneframe > div:first-child { padding: clamp(1.5rem, 3.6vw, 3rem); background: var(--surface); border-radius: var(--r); }
.on-surface .oneframe > div:first-child { background: var(--surface-2); }
.frame { position: relative; aspect-ratio: 4 / 3; width: 100%; border-radius: var(--r); cursor: pointer; background: var(--surface-2); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms ease; }
.frame img.is-on { opacity: 1; }
.frame-caption { margin-top: .9rem; font-family: var(--font-display); font-size: .9375rem; font-weight: 600; min-height: 1.5em; }
.cat-list { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.cat-list a { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0 1.05rem; border-radius: 999px; background: var(--surface-3); font-family: var(--font-display); font-weight: 600; font-size: .875rem; text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.cat-list a span { color: var(--ink-soft); font-weight: 500; font-size: .8125rem; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .cat-list a:hover { background: var(--accent); color: var(--accent-ink); } .cat-list a:hover span { color: var(--accent-ink); } }
@media (min-width: 60em) { .oneframe { grid-template-columns: 5fr 7fr; } }

/* ---------- badges / proof ---------- */
.badges { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.badges img { width: 92px; height: 92px; object-fit: contain; padding: 10px; background: #fff; border-radius: 18px; }
.badges a { display: block; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .badges a:hover { transform: translateY(-3px); } }
.proof-row { display: grid; gap: 2rem var(--gutter); align-items: center; }
@media (min-width: 60em) { .proof-row { grid-template-columns: 7fr 5fr; } .proof-row .badges { justify-content: flex-end; } }

/* ---------- CTA ---------- */
.cta-outer { padding-bottom: calc(var(--section) / 2); }
.cta-band { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 50svh; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--r); background: var(--accent); color: var(--accent-ink); text-decoration: none; overflow: hidden; transition: background-color 200ms ease, color 200ms ease; }
.cta-top { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.cta-sentence { display: block; max-width: 30ch; font-family: var(--font-display); font-size: clamp(1.0625rem, 1rem + .4vw, 1.375rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.cta-top svg { width: clamp(36px, 4vw, 56px); height: auto; flex: none; transition: transform 240ms var(--ease-out); }
.cta-word { display: block; font-family: var(--font-display); font-size: clamp(5rem, 21vw, 21rem); font-weight: 800; line-height: .8; letter-spacing: -0.065em; text-transform: lowercase; margin-bottom: -.04em; white-space: nowrap; }
.cta-band:hover, .cta-band:focus-visible { background: var(--ink); color: var(--accent-ink); outline: none; }
.cta-band:focus-visible .cta-word { text-decoration: underline; text-decoration-thickness: .03em; }
@media (hover: hover) and (pointer: fine) { .cta-band:hover .cta-top svg { transform: translate(6px, -6px); } }
@media (max-width: 47.99em) { .cta-band { min-height: 40svh; } .cta-word { font-size: 23vw; } }

/* ---------- footer ---------- */
.site-footer { padding-top: 0; }
.site-footer > .wrap { padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; background: var(--surface); border-radius: var(--r) var(--r) 0 0; padding-inline: clamp(1.25rem, 3.6vw, 3.5rem); max-width: calc(var(--max) - 2 * var(--margin)); }
.footer-logo { display: block; width: min(100%, 420px); }
.footer-logo img { width: 100%; height: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gutter); margin-top: 3rem; }
.footer-grid h2 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: .75rem; }
.footer-grid ul { display: grid; gap: .1rem; list-style: none; padding: 0; }
.footer-grid a { text-decoration: none; display: inline-flex; min-height: 2.25rem; align-items: center; font-size: .9375rem; color: var(--ink-soft); transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .footer-grid a:hover { color: var(--accent); } }
.footer-grid address { font-style: normal; font-size: .9375rem; line-height: 1.6; }
.footer-grid address a { min-height: 0; display: inline; color: var(--ink); }
.footer-contact { grid-column: 1 / -1; }
.footer-map { grid-column: 1 / -1; aspect-ratio: 16 / 10; background: var(--surface-2); }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) grayscale(.5); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-block: 1.5rem 2rem; font-size: var(--step-small); color: var(--ink-soft); }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface-2); color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.social svg { width: 1.15rem; height: 1.15rem; }
@media (hover: hover) and (pointer: fine) { .social a:hover { background: var(--accent); color: var(--accent-ink); } }
@media (min-width: 60em) {
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-grid > .fcol { grid-column: span 2; }
  .footer-contact { grid-column: span 3; }
  .footer-map { grid-column: 10 / 13; aspect-ratio: 4 / 3.4; }
}

/* ---------- inner page blocks ---------- */
.split { display: grid; gap: 2.5rem var(--gutter); align-items: center; }
@media (min-width: 60em) {
  .split { grid-template-columns: 6fr 6fr; }
  .split.text-wide { grid-template-columns: 7fr 5fr; }
  .split.media-wide { grid-template-columns: 5fr 7fr; }
  .split.flip > :first-child { order: 2; }
}
.prose p { color: var(--ink-soft); }
.stack > * + * { margin-top: 1.25rem; }

.certs { display: grid; gap: 8px; }
.certs li { display: grid; gap: .35rem 2rem; padding: 1.25rem 1.5rem; background: var(--surface); border-radius: var(--r-md); }
.certs h3 { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; }
.certs p { color: var(--ink-soft); }
@media (min-width: 48em) { .certs li { grid-template-columns: 5fr 7fr; align-items: baseline; } }

.staff { display: grid; gap: var(--gap); }
.member { display: grid; gap: 2rem var(--gutter); align-items: start; padding: 10px; background: var(--surface); border-radius: var(--r); }
.member .media { aspect-ratio: 4 / 5; border-radius: calc(var(--r) - 8px); }
.member .bio { padding: clamp(.75rem, 2.5vw, 2.5rem); }
.member .role { margin-top: .9rem; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--accent); }
.member .prose { margin-top: 1.75rem; }
@media (min-width: 60em) {
  .member { grid-template-columns: 4fr 8fr; }
  .member .media { position: sticky; top: 6rem; }
  .member.flip .media { order: 2; }
}

.plans { display: grid; gap: var(--gap); }
.plan { padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: .6rem; align-content: start; min-height: 15rem; background: var(--surface-2); border-radius: var(--r); }
.plan:nth-child(1) { background: var(--accent); color: var(--accent-ink); }
.plan h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.plan .kind { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; }
.plan p { font-size: 1rem; opacity: .8; }
@media (min-width: 48em) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } .plan { min-height: 20rem; } .plan p { margin-top: auto; } }

.form { display: grid; gap: 1.1rem; }
.form label { display: grid; gap: .45rem; font-family: var(--font-display); font-weight: 600; font-size: .875rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { width: 100%; min-height: 3.375rem; padding: .8rem 1.1rem; background: var(--surface-2); color: var(--ink); border: 2px solid transparent; border-radius: 16px; font-family: var(--font); font-weight: 400; font-size: max(1rem, var(--step-body)); transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; }
.field:focus { outline: none; border-color: var(--accent); background: var(--surface-3); }
textarea.field { min-height: 10rem; resize: vertical; }
.on-accent .field { background: rgba(0,0,0,.1); color: var(--accent-ink); }
.on-accent .field:focus { border-color: var(--accent-ink); background: rgba(0,0,0,.14); }
form.on-accent { border-radius: var(--r); }
form.form:not(.on-accent) { padding: clamp(1.5rem, 3.6vw, 3rem); background: var(--surface); border-radius: var(--r); }
.form .hidden { display: none; }

.class-list { display: grid; gap: var(--gap); }
.klass { padding: 10px; background: var(--surface); border-radius: var(--r); }
.klass .media { aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 8px); }
.klass > div:last-child { padding: clamp(.75rem, 2.5vw, 2.5rem); }
.facts { display: grid; gap: 8px; margin-top: 1.75rem; }
.facts div { display: grid; gap: .15rem; padding: 1rem 1.25rem; background: var(--surface-2); border-radius: var(--r-sm); }
.facts dt { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: .8125rem; }
.facts dd { font-size: 1rem; }
.klass .note { margin-top: 1.25rem; font-size: .9375rem; color: var(--ink-soft); }
.klass .actions { margin-top: 2rem; }
.klass p { color: var(--ink-soft); }
.quotes { display: grid; gap: var(--gap); }
.quotes blockquote { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface-2); border-radius: var(--r); }
.quotes blockquote p { font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; }
.quotes cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--accent); font-weight: 600; }
@media (min-width: 60em) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* schedule */
.sched-days { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.sched-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 8px; background: var(--surface); border-radius: var(--r); }
table.sched { width: 100%; border-collapse: separate; border-spacing: 4px; min-width: 860px; font-size: .9375rem; }
table.sched th, table.sched td { padding: .75rem .85rem; text-align: left; vertical-align: top; border-radius: 12px; }
table.sched thead th { background: var(--surface-3); font-family: var(--font-display); font-weight: 700; }
table.sched thead th.today { background: var(--accent); color: var(--accent-ink); }
table.sched tbody th { font-family: var(--font-display); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; background: var(--surface-2); }
table.sched td { background: var(--bg); }
table.sched td.today { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
table.sched td:empty { background: transparent; }
table.sched .cls { display: block; font-weight: 500; }
table.sched .cls + .cls { margin-top: .2rem; }
.day-view { display: none; }
.day-view ol { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0; }
.day-view li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1rem 1.15rem; background: var(--surface); border-radius: 16px; font-size: 1.0625rem; }
.day-view li.next { background: var(--accent); color: var(--accent-ink); }
.day-view li.past { color: var(--ink-soft); }
.day-view .t { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.day-view .empty { padding: 1rem; background: var(--surface); border-radius: 16px; }
.js .day-view { display: block; }
.js .sched-full { display: none; }
.js .sched-full.is-shown { display: block; }
@media (min-width: 60em) { .js .day-view { display: none; } .js .sched-full { display: block; } .sched-days { display: none; } }
.legend { display: grid; gap: var(--gap); margin-top: var(--gap); }
.legend > div { padding: 1.5rem 1.75rem; background: var(--surface); border-radius: var(--r); }
.legend h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; letter-spacing: -0.035em; }
.legend p { margin-top: .5rem; color: var(--ink-soft); font-size: .9375rem; }
@media (min-width: 48em) { .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2rem; }
.masonry { columns: 2 160px; column-gap: 10px; }
@media (min-width: 48em) { .masonry { columns: 3; } }
@media (min-width: 75em) { .masonry { columns: 4; } }
.masonry figure { break-inside: avoid; margin-bottom: 10px; }
.masonry button { display: block; width: 100%; background: var(--surface); border-radius: var(--r-md); }
.masonry img { width: 100%; height: auto; transition: transform 700ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .masonry button:hover img { transform: scale(1.04); } }
.masonry figure[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,9,6,.97); color: var(--ink); display: none; grid-template-rows: auto 1fr auto; }
.lightbox.is-open { display: grid; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: .75rem var(--margin); gap: 1rem; font-family: var(--font-display); font-size: .9375rem; }
.lb-stage { display: grid; place-items: center; padding: 0 var(--margin); min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-md); }
.lb-nav { display: flex; justify-content: center; gap: .6rem; padding: 1rem var(--margin) 1.5rem; }
.lb-btn { min-height: 3rem; min-width: 3rem; padding: 0 1.25rem; border-radius: 999px; background: var(--surface-2); font-family: var(--font-display); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: var(--accent); color: var(--accent-ink); } }

/* testimonials page */
.jump { display: flex; flex-wrap: wrap; gap: .4rem; }
.jump a { display: inline-flex; min-height: 2.5rem; align-items: center; padding: 0 1rem; border-radius: 999px; background: var(--surface-2); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .875rem; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .jump a:hover { background: var(--accent); color: var(--accent-ink); } }
.story { display: grid; gap: 1.5rem var(--gutter); padding: 10px; margin-block: var(--gap); background: var(--surface); border-radius: var(--r); }
.story > div:last-child { padding: clamp(.75rem, 2.5vw, 2.5rem); }
.story .pull p { font-family: var(--font-display); font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.04em; max-width: 24ch; }
.story .name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: .9rem; }
.story .prose { margin-top: 1.5rem; }
.story-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.story-photos button { display: block; aspect-ratio: 4 / 5; background: #fff; border-radius: calc(var(--r) - 8px); }
.story-photos img { width: 100%; height: 100%; object-fit: contain; transition: transform 700ms var(--ease-soft); }
.story-photos.one { grid-template-columns: 1fr; }
.story-photos.three button:first-child { grid-column: 1 / -1; aspect-ratio: 8 / 5; }
@media (hover: hover) and (pointer: fine) { .story-photos button:hover img { transform: scale(1.03); } }
@media (min-width: 60em) { .story { grid-template-columns: 5fr 7fr; } }

/* shop */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.product a { display: block; padding: 10px 10px 1.4rem; background: var(--surface); border-radius: var(--r); transition: background-color var(--t-hover) ease; }
.product .tile { aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-radius: calc(var(--r) - 8px); }
.product .tile img { width: 72%; height: auto; transition: transform 700ms var(--ease-soft); }
.product h2 { margin-top: 1rem; padding-inline: .5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.product .price { padding-inline: .5rem; margin-top: .2rem; color: var(--accent); font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .product a:hover { background: var(--surface-2); } .product a:hover .tile img { transform: scale(1.06) rotate(-3deg); } }
@media (min-width: 60em) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* internship */
.steps { display: grid; gap: 8px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; padding: 1rem 1.25rem; background: var(--surface-2); border-radius: 18px; font-size: 1.0625rem; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-size: 1.0625rem; font-weight: 800; }
.fee { display: grid; gap: 1.25rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r); }
.fee .title { position: relative; z-index: 1; }
.fee .big { font-family: var(--font-display); font-size: clamp(4rem, 2.5rem + 5vw, 7rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em; color: var(--accent); font-variant-numeric: tabular-nums; }
.fee p { color: var(--ink-soft); }
.photo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.photo-row .media { aspect-ratio: 3 / 2; }
.photo-row .media:first-child { grid-column: 1 / -1; }

/* contact */
.contact-grid { display: grid; gap: var(--gap); }
@media (min-width: 60em) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-lines { display: grid; gap: var(--gap); align-content: start; }
.contact-lines > div { padding: 1.4rem 1.6rem; background: var(--surface); border-radius: var(--r); }
.contact-lines h2 { font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--accent); margin-bottom: .35rem; }
.contact-lines a, .contact-lines address { font-family: var(--font-display); font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); font-weight: 800; letter-spacing: -0.035em; font-style: normal; text-decoration: none; line-height: 1.2; }
@media (hover: hover) and (pointer: fine) { .contact-lines a:hover { color: var(--accent); } }
.map-big { aspect-ratio: 16 / 7; border-radius: var(--r); background: var(--surface); }
.map-big iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) grayscale(.5); }
@media (max-width: 47.99em) { .map-big { aspect-ratio: 1; } }

/* ambassador row */
.drag-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-color: var(--surface-3) transparent; }
.drag-row button { flex: none; width: clamp(240px, 28vw, 400px); aspect-ratio: 4 / 5; scroll-snap-align: start; background: var(--surface); }
.drag-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .drag-row button:hover img { transform: scale(1.04); } }

.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.strip .media { aspect-ratio: 4 / 5; }
@media (max-width: 47.99em) { .strip { grid-template-columns: 1fr 1fr; } .strip .media:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-rise] { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .js .shutter { opacity: 1; transform: none; clip-path: inset(5% 5% 5% 5% round var(--r)); transition: clip-path 1200ms var(--ease-expo); }
  .js .shutter > img { transform: scale(1.14); transition: transform 1800ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0 0 0 0 round var(--r)); }
  .js .shutter.is-in > img { transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .frame img, .timer, .cta-band, .drawer { transition: none; }
  .hero-next .dot { animation: none; }
}
.frame-wrap { min-width: 0; }
.oneframe > * { min-width: 0; }
@media (min-width: 60em) {
  .panel-left { grid-template-rows: auto 1fr; }
  .panel .portrait { aspect-ratio: auto; min-height: 420px; }
  .tsplit .portrait { aspect-ratio: auto; min-height: 520px; }
}

/* ---------- five ways in: list with a live photo preview ---------- */
.ways { display: grid; gap: var(--gap); }
.ways-list { display: grid; gap: 8px; align-content: start; }
.way { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 10px; padding-right: 1.25rem; border-radius: var(--r); background: var(--surface); text-decoration: none; transition: background-color 300ms ease, color 300ms ease; }
.way-thumb { width: 76px; height: 76px; border-radius: calc(var(--r) - 8px); overflow: hidden; flex: none; }
.way-thumb img { width: 100%; height: 100%; object-fit: cover; }
.way-text { display: grid; gap: .3rem; min-width: 0; }
.way-name { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.way-desc { font-size: .9375rem; color: var(--ink-soft); line-height: 1.5; }
.way-arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--surface-2); color: var(--ink); transition: background-color 300ms ease, color 300ms ease, transform 300ms var(--ease-out); }
.way-arrow svg { width: 1.1rem; height: 1.1rem; }
.way.is-active { background: var(--accent); color: var(--accent-ink); }
.way.is-active .way-desc { color: var(--accent-ink); opacity: .8; }
.way.is-active .way-arrow { background: var(--accent-ink); color: var(--accent); transform: rotate(45deg); }
.ways-stage { display: none; }
@media (min-width: 60em) {
  .ways { grid-template-columns: 6fr 6fr; align-items: stretch; }
  .way { padding: 1.4rem 1.4rem 1.4rem 1.75rem; grid-template-columns: 1fr auto; }
  .way-thumb { display: none; }
  .way-desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 400ms var(--ease-out), opacity 300ms ease; }
  .way-desc > * { overflow: hidden; }
  .way.is-active .way-desc { grid-template-rows: 1fr; opacity: .8; }
  .ways-stage { display: block; position: relative; min-height: 560px; border-radius: var(--r); overflow: hidden; background: var(--surface); }
  .ways-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 600ms ease, transform 1200ms var(--ease-soft); }
  .ways-stage img.is-on { opacity: 1; transform: none; }
}
@media (hover: hover) and (pointer: fine) { .way:not(.is-active):hover { background: var(--surface-2); } }
@media (prefers-reduced-motion: reduce) { .ways-stage img, .way-desc { transition: none; } }
@media (max-width: 59.99em) {
  .way.is-active { background: var(--surface); color: var(--ink); }
  .way.is-active .way-desc { color: var(--ink-soft); opacity: 1; }
  .way.is-active .way-arrow { background: var(--surface-2); color: var(--ink); transform: none; }
}
/* Roy portrait: keep the photo's own landscape framing so his face is never cropped */
.panel .portrait { aspect-ratio: 4 / 3 !important; min-height: 0 !important; }
@media (min-width: 60em) { .panel-left { grid-template-rows: auto auto; align-content: start; } }
/* staff: every photo on the left, fixed in its card (no sticky movement while scrolling) */
@media (min-width: 60em) {
  .member { grid-template-columns: 4fr 8fr; }
  .member .media { position: static; align-self: start; }
}
/* CTA band: the sentence runs on one line wherever the screen is wide enough */
.cta-sentence { max-width: none; }
@media (min-width: 80em) { .cta-sentence { white-space: nowrap; } }

/* ambassador row: mouse drag, arrows and a counter */
.one-line { white-space: nowrap; }
@media (max-width: 59.99em) { .one-line { white-space: normal; } }
.drag-row { cursor: grab; overscroll-behavior-x: contain; -webkit-user-select: none; user-select: none; }
.drag-row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.drag-row.is-dragging button { pointer-events: none; }
.drag-row img { -webkit-user-drag: none; }
.row-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.row-arrow { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: background-color var(--t-hover) ease, opacity var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.row-arrow svg { width: 1.3rem; height: 1.3rem; }
.row-arrow:active { transform: scale(.94); }
.row-arrow:disabled { background: var(--surface-3); color: var(--ink-soft); cursor: default; }
@media (hover: hover) and (pointer: fine) { .row-arrow:not(:disabled):hover { background: var(--accent-strong); } }
.row-count { min-width: 6rem; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }

/* page head: title left, sentence and buttons aligned to the right edge, bottoms level */
@media (min-width: 60em) {
  .ph-grid { grid-template-columns: 5fr 7fr; align-items: end; }
  .ph-side { justify-items: end; text-align: right; }
  .ph-side .lead { max-width: 46ch; text-wrap: balance; }
  .ph-side .actions { justify-content: flex-end; }
  .page-head h1 { line-height: .82; }
}
/* bridge the small gap between the About button and its menu so the pointer never falls out */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }

/* ambassador row: every photo at its own shape, same height, never cropped */
.drag-row { align-items: center; }
.drag-row button { width: auto; height: clamp(300px, 40vw, 540px); aspect-ratio: auto; }
.drag-row img { width: auto; height: 100%; object-fit: contain; }

/* phones: every tappable link at least 44px tall */
@media (max-width: 59.99em) {
  .footer-grid ul a { min-height: 2.75rem; }
  .actions .link, .actions .more, a.more { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .contact-lines a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .fee .actions .link { min-height: 2.75rem; display: inline-flex; align-items: center; }
}
@media (max-width: 59.99em) {
  .footer-grid ul a { min-width: 2.75rem; padding-right: .5rem; }
  .steps .link { display: inline-block; padding-block: .55rem; }
}

/* phones/tablets: Five ways in as cards with a full-width photo on top */
@media (max-width: 59.99em) {
  .way { grid-template-columns: 1fr auto; grid-template-areas: "photo photo" "text arrow"; align-items: end; gap: 1rem .75rem; padding: 10px 10px 1.25rem; }
  .way-thumb { grid-area: photo; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .way-text { grid-area: text; padding-left: .5rem; }
  .way-arrow { grid-area: arrow; align-self: start; margin-top: .15rem; }
  .way-name { font-size: 1.625rem; }
}

/* schedule: class notes and the rest day */
table.sched .cls small, .day-view small { display: block; margin-top: .15rem; font-size: .8125rem; font-weight: 400; line-height: 1.35; color: var(--ink-soft); }
.day-view li.next small { color: var(--accent-ink); opacity: .75; }
table.sched td.rest { vertical-align: middle; text-align: center; background: var(--surface-2); }
table.sched td.rest .cls { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; }
table.sched td.rest.today { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.legend-wide { grid-column: 1 / -1; }
@media (min-width: 60em) { .ways-stage { min-height: 380px; } }

/* class blocks with their own copy */
.klass .class-tagline { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 700; letter-spacing: -0.02em; color: var(--accent); }
.class-body { margin-top: 1.25rem; }
.klass .class-body p:first-child { color: var(--ink); }
