/* =========================================================
   SteamWorks Academy — redesign
   Type: DM Serif Display / Manrope / IBM Plex Mono
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-400-800-normal.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #101f33;
  --ink-soft: #24374e;
  --body: #4c5a69;
  --muted: #5c6875;

  --paper: #f8f3e9;
  --paper-soft: #fffcf6;
  --paper-deep: #f1e8d7;
  --white: #ffffff;

  --yellow: #ffc633;
  --yellow-hover: #ffd25d;
  --teal: #0b6b5e;
  --teal-light: #e2f0ec;
  --clay: #b8542c;
  --line: rgba(16, 31, 51, 0.14);
  --line-strong: rgba(16, 31, 51, 0.32);

  --serif: 'DM Serif Display', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1240px;
  --radius: 14px;
  --section-y: clamp(3.75rem, 7vw, 6.5rem);

  --shadow-card: 0 26px 50px -36px rgba(16, 31, 51, 0.45);
  --shadow-float: 0 30px 60px -34px rgba(16, 31, 51, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
p, h1, h2, h3, h4 { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-sm { width: 0.95em; height: 0.95em; }

section[id] { scroll-margin-top: 96px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow-num {
  display: inline-grid;
  place-items: center;
  min-width: 1.65rem;
  padding: 0.26rem 0.35rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(11, 107, 94, 0.12);
  flex: none;
}

/* ---------- Buttons + links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: rgba(16, 31, 51, 0.24);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 22px -16px rgba(16, 31, 51, 0.6);
}
.btn-primary:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 28px -18px rgba(16, 31, 51, 0.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-sm { padding: 0.72rem 1.1rem; font-size: 0.85rem; }
.btn-wide { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  padding-bottom: 2px;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.link-arrow:hover { background-size: 100% 40%; color: var(--ink); }
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -1px); }

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 243, 233, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 243, 233, 0.95);
  box-shadow: 0 10px 30px -30px rgba(16, 31, 51, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
  width: min(100% - (var(--gutter) * 2), 1320px);
  margin-inline: auto;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 70px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.brand-steam { color: #1d7fbe; }
.brand-works { color: #e8871e; }
.brand-sub {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 0.32rem;
  margin-left: 0.12rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}
.primary-nav a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="true"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.header-phone {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--yellow);
  transition: width 0.1s linear;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--paper);
  padding: 100px var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav .nav-index {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.mobile-nav-foot {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--body);
}
.mobile-nav-foot a { text-decoration: none; font-weight: 600; color: var(--ink); }
.mobile-nav-foot p { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }
body.is-locked { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(1.9rem, 4vw, 3.4rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: -10% 0 auto 0;
  height: 85%;
  background-image:
    linear-gradient(to right, rgba(16, 31, 51, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 31, 51, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 32% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 32% 30%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: clamp(2rem, 4.5vw, 4.25rem);
  align-items: center;
}
.hero-copy { max-width: 38rem; }
.hero-eyebrow { margin-bottom: 1.35rem; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.55rem, 5.35vw, 4.7rem);
  line-height: 0.99;
  letter-spacing: -0.018em;
  margin-bottom: 1.5rem;
}
.hero h1 .line { display: block; }
.highlight {
  position: relative;
  display: inline-block;
  font-style: italic;
  padding-right: 0.04em;
}
.scribble {
  position: absolute;
  left: -1%;
  bottom: -0.07em;
  width: 101%;
  height: 0.19em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: draw 1.15s 0.75s var(--ease) forwards;
}
.scribble-main { stroke-width: 3.6; }
.scribble-echo { stroke-width: 2; opacity: 0.85; stroke-dasharray: 150; animation-delay: 0.95s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lede {
  font-size: clamp(1.02rem, 1.1vw, 1.15rem);
  line-height: 1.62;
  color: var(--body);
  max-width: 31rem;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.hero-fineprint {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-fineprint a { color: var(--ink-soft); text-decoration: none; }
.hero-fineprint a:hover { color: var(--teal); }

/* hero visual */
.hero-visual {
  position: relative;
  padding-top: 2.4rem;
  padding-right: 1.25rem;
  padding-bottom: 2.6rem;
}
.hero-figure {
  position: relative;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(16, 31, 51, 0.16);
  box-shadow: var(--shadow-float);
  background: var(--paper-deep);
  z-index: 1;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 50%;
}
.hero-inset {
  position: absolute;
  right: -0.5rem;
  bottom: 1rem;
  width: 37%;
  margin: 0;
  border: 8px solid var(--paper);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 44px -30px rgba(16, 31, 51, 0.6);
  transform: rotate(2deg);
  z-index: 3;
}
.hero-inset img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-star {
  position: absolute;
  top: 0.2rem;
  left: -1.6rem;
  width: 58px; height: 58px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.3;
  transform: rotate(10deg);
  opacity: 0.75;
  z-index: 4;
}
.term-note {
  position: absolute;
  top: 0;
  right: -0.25rem;
  z-index: 4;
  width: 15.5rem;
  padding: 1.05rem 1.2rem 1.15rem;
  background: var(--yellow);
  border: 1px solid rgba(16, 31, 51, 0.2);
  border-radius: 10px;
  box-shadow: 0 22px 36px -26px rgba(16, 31, 51, 0.65);
  transform: rotate(-2.5deg);
}
.term-note-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(16, 31, 51, 0.72);
  margin-bottom: 0.2rem;
}
.hours-line {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.hours-line + .hours-line { margin-top: 0.1rem; }
.term-note-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(16, 31, 51, 0.45);
}
.term-note-link:hover { border-bottom-color: var(--ink); }

/* hero entrance */
.hero-copy > * { animation: rise 0.8s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
.hero-visual { animation: rise 0.9s 0.1s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* facts */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(2.75rem, 5.5vw, 4.75rem) 0 0;
  border-top: 1px solid var(--line-strong);
}
.fact {
  padding: 1.35rem 1.5rem 0;
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt {
  font-family: var(--mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.fact dd {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.1vw, 1.95rem);
  line-height: 1;
  color: var(--ink);
}

/* =========================================================
   Section scaffolding
   ========================================================= */
.section { padding: var(--section-y) 0; }

.section-head { margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head .eyebrow { margin-bottom: 1.5rem; }
.section-head-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: end;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.05rem, 3.6vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.section-intro p {
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--body);
}
.section-intro p + p { margin-top: 1rem; }
.section-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.section-note .icon { margin-top: 0.15rem; color: var(--teal); stroke-width: 2; }
.section-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.section-head--dark h2 { color: #fff; }
.section-head--dark .eyebrow { color: var(--yellow); }
.section-head--dark .eyebrow-num { background: var(--paper); color: var(--ink); }
.section-head--dark .section-intro p { color: rgba(248, 243, 233, 0.74); }

/* =========================================================
   Programs
   ========================================================= */
.programs { padding-bottom: calc(var(--section-y) * 0.9); }
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}
.track-card {
  --accent: var(--teal);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.track-card:nth-child(2) { --accent: var(--yellow); }
.track-card:nth-child(3) { --accent: var(--clay); }
.track-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent);
}
.track-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 31, 51, 0.26);
  box-shadow: var(--shadow-card);
}
.track-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.55rem;
}
.track-index {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.track-grade {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.track-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2vw, 1.95rem);
  letter-spacing: -0.012em;
  margin-bottom: 0.4rem;
}
.track-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.09rem;
  line-height: 1.35;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}
.track-body {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--body);
  margin-bottom: 1.3rem;
}
.track-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.track-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.track-list li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 0.42rem;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
.track-foot {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.track-meta {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================================
   Term (dark)
   ========================================================= */
.term {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.term::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 560px; height: 560px;
  border: 1px solid rgba(255, 198, 51, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.term::after {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 360px; height: 360px;
  border: 1px solid rgba(255, 198, 51, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.term .section-head { margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.term-heading h2 { max-width: 24ch; }
.term-track {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.05rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--yellow);
}
.term-track::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--yellow);
}
.term-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1.75rem;
  margin: 1.45rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(248, 243, 233, 0.18);
}
.term-facts div { display: flex; flex-direction: column; gap: 0.3rem; }
.term-facts dt {
  font-family: var(--mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(248, 243, 233, 0.5);
}
.term-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
}
.phase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.phase {
  --phase: var(--teal);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(248, 243, 233, 0.16);
  border-top: 3px solid var(--phase);
  border-radius: 12px;
  padding: 1.45rem 1.5rem 1.05rem;
}
.phase-range {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--phase);
}
.phase h3 {
  margin-top: 0.55rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  color: #fff;
}
.phase-copy {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(248, 243, 233, 0.66);
  max-width: 42ch;
}
.class-list {
  list-style: none;
  margin-top: 1.05rem;
  border-top: 1px solid rgba(248, 243, 233, 0.14);
}
.class-list li {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(248, 243, 233, 0.1);
}
.class-list li:last-child { border-bottom: none; }
.class-num {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--phase);
  padding-top: 0.2rem;
}
.class-title {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(248, 243, 233, 0.86);
}
.phase-outcome {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(248, 243, 233, 0.78);
}
.phase-outcome span {
  display: inline-block;
  margin-right: 0.45rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phase);
}
.term-bottom {
  margin-top: 1.9rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(248, 243, 233, 0.64);
  max-width: 70ch;
}
.term-subnote {
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.4);
}

/* =========================================================
   Approach
   ========================================================= */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.approach-copy .eyebrow { margin-bottom: 1.4rem; }
.approach-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.05rem, 3.6vw, 3.3rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
  max-width: 16ch;
}
.approach-lede {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--body);
  max-width: 33rem;
  margin-bottom: 2.5rem;
}
.pullquote {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--yellow);
}
.pullquote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.38;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pullquote figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.05rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-rule { width: 1.75rem; height: 1px; background: var(--line-strong); }
.pillars { list-style: none; }
.pillar {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 1rem;
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
  padding-top: 0.35rem;
  letter-spacing: 0.08em;
}
.pillar h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.35rem; }
.pillar p { font-size: 0.92rem; line-height: 1.6; color: var(--body); }

/* =========================================================
   Studio / gallery
   ========================================================= */
.studio {
  background: var(--ink);
  color: var(--paper);
}
.studio .eyebrow { color: var(--yellow); }
.studio .eyebrow-num { background: var(--paper); color: var(--ink); }
.studio .section-head h2 { color: #fff; }
.studio .section-intro p { color: rgba(248, 243, 233, 0.72); }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
}
.gallery-a { grid-column: span 7; }
.gallery-b { grid-column: span 5; }
.gallery-c, .gallery-d, .gallery-e { grid-column: span 4; }
.gallery-a img, .gallery-b img { aspect-ratio: 3 / 2; }
.gallery-c img, .gallery-d img, .gallery-e img { aspect-ratio: 1 / 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-poster { background: var(--ink); }
.gallery-poster a { display: block; width: 100%; height: 100%; }
.gallery-poster img { object-fit: cover; object-position: center top; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.42rem 0.6rem;
  border-radius: 4px;
  background: rgba(16, 31, 51, 0.78);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(248, 243, 233, 0.94);
  max-width: calc(100% - 1.5rem);
}
.gallery-item figcaption span {
  font-family: var(--mono);
  font-size: 0.56rem;
  color: var(--yellow);
  letter-spacing: 0.06em;
}

/* =========================================================
   Proof
   ========================================================= */
.proof {
  background: var(--paper-deep);
  border-top: 1px solid rgba(16, 31, 51, 0.08);
}
.proof-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.proof-head-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: end;
}
.proof-note {
  font-size: 1rem;
  line-height: 1.66;
  color: var(--body);
  max-width: 34ch;
}
.proof-head .eyebrow { margin-bottom: 1.4rem; }
.proof-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.04;
  max-width: 22ch;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 1.7rem 1.6rem 1.4rem;
  background: var(--paper-soft);
  border: 1px solid rgba(16, 31, 51, 0.1);
  border-radius: 12px;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 0.45rem;
  right: 1rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--yellow);
}
.quote-card blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.42;
  color: var(--ink);
  max-width: 26ch;
}
.quote-card figcaption {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro .eyebrow { margin-bottom: 1.4rem; }
.faq-intro h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.04;
  max-width: 15ch;
  margin-bottom: 1.2rem;
}
.faq-help { font-size: 0.92rem; color: var(--body); max-width: 28ch; line-height: 1.65; }
.faq-help a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; font-weight: inherit; line-height: inherit; }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-trigger:hover { color: var(--teal); }
.faq-icon {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 1.6px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: rotate(0); opacity: 0; }
.faq-trigger[aria-expanded="true"] { color: var(--teal); }
.faq-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.35s var(--ease);
}
.faq-panel[hidden] { display: none; }
.faq-panel p {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--body);
  padding-bottom: 1.35rem;
  max-width: 56ch;
}

/* =========================================================
   Book / visit
   ========================================================= */
.book {
  background: var(--paper-deep);
  border-top: 1px solid rgba(16, 31, 51, 0.08);
}
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.book-copy .eyebrow { margin-bottom: 1.4rem; }
.book-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.3rem;
}
.book-lede {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--body);
  max-width: 31rem;
  margin-bottom: 2.1rem;
}
.visit-card { border-top: 1.5px solid var(--ink); }
.visit-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.visit-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.visit-row p { font-size: 0.95rem; line-height: 1.7; color: var(--ink-soft); }
.visit-row p a { text-decoration: none; }
.visit-row p a:hover { color: var(--teal); }
.visit-muted { color: var(--muted); font-size: 0.86rem; }
.visit-row .link-arrow { font-size: 0.82rem; margin-top: 0.35rem; }

.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.book-form {
  background: var(--white);
  border: 1px solid rgba(16, 31, 51, 0.12);
  border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2.35rem);
  box-shadow: 0 40px 70px -60px rgba(16, 31, 51, 0.6);
}
.form-head h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.form-head p { font-size: 0.9rem; color: var(--body); margin-bottom: 1.7rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.req { color: var(--clay); }
.optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(16, 31, 51, 0.18);
  border-radius: 8px;
  background: var(--paper-soft);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 5.2rem; }
.field input::placeholder,
.field textarea::placeholder { color: #5f6b78; opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(16, 31, 51, 0.32); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 107, 94, 0.14);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23101f33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
.field-error {
  font-size: 0.74rem;
  color: #9b211a;
  font-weight: 600;
}
.field-error[hidden] { display: none; }
.form-fine {
  margin-top: 0.9rem;
  font-size: 0.7rem;
  text-align: center;
  color: var(--muted);
}
.form-status {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--teal);
  min-height: 1.2em;
}
.form-status.is-error { color: #9b211a; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(248, 243, 233, 0.76);
  padding: clamp(3rem, 6vw, 4.75rem) 0 1.75rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(248, 243, 233, 0.15);
}
.site-footer .brand { color: var(--paper); }
.site-footer .brand-steam { color: #6cc3ee; }
.site-footer .brand-works { color: #f5a94c; }
.site-footer .brand-sub { color: rgba(248, 243, 233, 0.5); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.22rem;
  color: rgba(248, 243, 233, 0.82);
  margin-top: 1.1rem;
}
.footer-col h3 {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(248, 243, 233, 0.62);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(248, 243, 233, 0.78);
  text-decoration: none;
  margin-bottom: 0.4rem;
}
.footer-col a:hover { color: var(--yellow); }
.footer-hours { color: rgba(248, 243, 233, 0.6) !important; margin-top: 0.6rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.71rem;
  color: rgba(248, 243, 233, 0.62);
}

/* =========================================================
   Mobile CTA
   ========================================================= */
.mobile-cta { display: none; }

/* =========================================================
   Motion / reveal
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease) var(--delay, 0s), transform 0.7s var(--ease) var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .primary-nav { gap: 1.4rem; margin-right: 1rem; }
  .header-phone { display: none; }
  .hero-inner { gap: 2rem; }
  .hero-star { left: -1rem; }
}

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions { gap: 0.8rem; }

  .hero { padding-top: 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 37rem; margin-inline: 0; width: 100%; }

  .section-head-grid { grid-template-columns: 1fr; gap: 1.35rem; align-items: start; }
  .section-head h2 br { display: none; }

  .track-grid { grid-template-columns: 1fr; }
  .track-card { padding: 1.5rem; }


  .approach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .approach-copy h2 { max-width: 20ch; }
  .pullquote { max-width: 34rem; }

  .gallery-a, .gallery-b { grid-column: span 12; }
  .gallery-c, .gallery-d, .gallery-e { grid-column: span 6; }
  .gallery-e { grid-column: span 12; }
  .gallery-e img { aspect-ratio: 16 / 9; }

  .quotes { grid-template-columns: 1fr; }
  .proof-head-grid { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }

  .faq-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .faq-intro { position: static; }
  .faq-intro h2 { max-width: 22ch; }

  .book-grid { grid-template-columns: 1fr; }
  .visit-card { max-width: 34rem; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}

@media (max-width: 760px) {
  .header-inner { height: 72px; }
  .hero { padding-top: 1.5rem; }
  .hero-eyebrow { margin-bottom: 1rem; }
  .hero h1 { margin-bottom: 1.1rem; }
  .hero-lede { margin-bottom: 1.5rem; }
  .hero-fineprint { margin-top: 1rem; }
  .hero-inner { gap: 2rem; }
  .site-header.is-scrolled .header-inner { height: 64px; }
  .brand-word { font-size: 1.2rem; }
  .brand-mark { width: 38px; height: 38px; }

  .hero h1 { font-size: clamp(2.45rem, 9vw, 3.4rem); }
  .hero h1 .line { display: inline; }
  .hero h1 .line + .line::before { content: " "; }
  .hero-actions { gap: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-arrow { margin-top: 0.2rem; }
  .hero-visual { padding: 0; display: flex; flex-direction: column; gap: 1rem; }
  .hero-figure { order: 2; }
  .hero-inset { display: none; }
  .hero-star { display: none; }
  .hero-caption { position: static; order: 4; margin-top: 0.1rem; }
  .term-note {
    position: static;
    order: 1;
    width: 100%;
    transform: none;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.1rem 1rem;
    padding: 0.9rem 1.1rem;
  }
  .term-note-label { grid-column: 1; }
  .hours-line { grid-column: 1; }
  .term-note-link { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; align-self: center; }

  .phase-grid { grid-template-columns: 1fr; }
  .phase { padding: 1.25rem 1.2rem 1rem; }
  .term-facts { gap: 1.25rem; }
  .phase h3 { font-size: 1.35rem; }

  .facts { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; }
  .fact { padding: 1.15rem 0 1.15rem 1.25rem; border-top: 1px solid var(--line); }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(-n+2) { border-top: 0; }



  .gallery-c, .gallery-d { grid-column: span 6; }
  .gallery-e { grid-column: span 12; }
  .gallery-item figcaption { font-size: 0.62rem; padding: 0.34rem 0.5rem; left: 0.5rem; bottom: 0.5rem; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .hero-fineprint { font-size: 0.62rem; }
  .hero-lede { font-size: 1rem; }
  .fact dd { font-size: 1.5rem; }
  .track-grade { font-size: 0.56rem; }
  .gallery-c, .gallery-d, .gallery-e { grid-column: span 12; }
  .gallery-c img, .gallery-d img { aspect-ratio: 4 / 3; }
  .quote-card blockquote { font-size: 1.08rem; }
  .visit-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .form-head h3 { font-size: 1.55rem; }
  .mobile-cta { display: grid; }
}

/* sticky mobile cta */
.mobile-cta {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 20px 40px -22px rgba(16, 31, 51, 0.5);
  transform: translateY(150%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.mobile-cta.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.4s var(--ease), visibility 0s;
}
.mobile-cta-call {
  display: grid;
  place-items: center;
  padding: 0 1.15rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-right: 1px solid var(--line);
}
.mobile-cta-book { padding: 0.8rem 1rem; font-size: 0.84rem; }

@media (min-width: 561px) {
  .mobile-cta { display: none !important; }
}

@media (max-width: 560px) {
  .site-footer { padding-bottom: 5.5rem; }
  .book { padding-bottom: calc(var(--section-y) + 2.5rem); }
}

/* =========================================================
   Print
   ========================================================= */
@media print {
  .site-header, .mobile-nav, .mobile-cta, .book-form, .hero-visual, .faq-icon { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .hero { padding: 1rem 0; }
  .term, .studio, .site-footer { background: #fff !important; color: #000 !important; }
  .term h2, .studio h2, .phase h3, .section-head--dark h2 { color: #000 !important; }
  a { text-decoration: none; color: #000; }
  .faq-panel { height: auto !important; }
  .faq-panel[hidden] { display: block !important; }
}
