/* ==========================================================================
   Training Ground Vantaa — v1a "Aamuvalo" (Morning light)
   Warm white, one big photo, one sage band, one orange action.
   ========================================================================== */

:root {
  --base: #faf6ef;          /* warm white page */
  --paper: #fffdf8;         /* cards */
  --sun: #f3eadb;           /* soft warm secondary surface */
  --peach: #d3e5cd;         /* highlighter under one phrase */
  --ink: #1c1f1b;
  --ink-soft: #4b4f48;      /* 8.1:1 on base */
  --sage: #657363;          /* brand */
  --sage-deep: #4e5a4c;     /* sage as text on base, 6.6:1 */
  --on-sage: #fffdf8;       /* 4.9:1 on sage */
  --orange: #a9c9a1;        /* ink on orange 5.6:1 */
  --orange-hover: #93b68a;
  --warm-shade: 18, 30, 22; /* gradient tone over photos */
  --line: rgba(28, 31, 27, 0.13);
  --line-strong: rgba(28, 31, 27, 0.26);
  --line-sage: rgba(255, 253, 248, 0.34);

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: 20px;
  --max: 1344px;
  --r-lg: 28px;
  --r-md: 22px;
  --header-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 900px) {
  :root { --gutter: 48px; --r-lg: 36px; --r-md: 26px; }
}
@media (min-width: 1100px) {
  :root { --header-h: 80px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--sage) var(--base);
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  caret-color: var(--orange);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

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

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1.5px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .band :focus-visible, .site-footer :focus-visible, .tour :focus-visible { outline-color: var(--paper); }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.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 { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

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

.mono {
  font-family: var(--mono); font-weight: 500;
  font-size: 0.75rem; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase;
}

/* --- Type scale -------------------------------------------------------- */
.h-xl { font-size: clamp(2.75rem, 1.7rem + 4.6vw, 5.75rem); letter-spacing: -0.04em; line-height: 0.98; }
.h-lg { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.45; letter-spacing: -0.01em; }

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.4em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.15 var(--font); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { font-size: 1.15em; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 58px; font-size: 1.0625rem; padding: 0 1.6em; }

.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #343a33; }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--sun); }

.text-link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em; }
.text-link .icon { transition: transform 0.3s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 239, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 32px; width: auto; }
.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.schedule-link {
  display: inline-flex; align-items: center; gap: 0.45em; padding: 8px 4px;
  font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
}
.schedule-link:hover { color: var(--ink); text-decoration: underline; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 999px; border: 0;
  background: var(--sun); color: var(--ink); cursor: pointer; font-size: 20px;
}
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-menu { display: none; padding: 4px var(--gutter) 24px; border-top: 1px solid var(--line); }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 1.625rem; font-weight: 800; letter-spacing: -0.03em; text-decoration: none;
}
.mobile-menu li a[aria-current="page"] { color: var(--sage-deep); }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

@media (min-width: 1100px) {
  .header-inner { gap: 24px; }
  .brand img { height: 38px; }
  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .main-nav a {
    display: block; padding: 8px 12px; border-radius: 999px;
    font-size: 0.96875rem; font-weight: 600; text-decoration: none;
  }
  .main-nav a:hover { background: var(--sun); }
  .main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 0 1.25em; }
  .menu-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* --- Sticky mobile CTA ------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; min-height: 56px;
  box-shadow: 0 14px 30px -10px rgba(var(--warm-shade), 0.45), 0 2px 6px rgba(var(--warm-shade), 0.16);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 1100px) { .sticky-cta { display: none; } }

/* ==========================================================================
   HERO — one full-bleed photo
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 85vh; height: 85svh; min-height: 560px; max-height: 980px;
  background: #6b5a4a; color: var(--paper);
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 92% 30%; /* phone crop: keep the coach's printed jacket out from behind the headline */
  filter: brightness(1.08) saturate(1.06);
  animation: daybreak 2.2s var(--ease) both;
}
/* soft warm shade bottom-left for the words + morning glow top-right */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 50% at 92% 0%, rgba(255, 220, 170, 0.42), rgba(255, 220, 170, 0) 72%),
    linear-gradient(to top, rgba(var(--warm-shade), 0.72) 0%, rgba(var(--warm-shade), 0.5) 30%, rgba(var(--warm-shade), 0.14) 50%, rgba(var(--warm-shade), 0) 58%);
}
@keyframes daybreak {
  from { transform: scale(1.05); filter: brightness(1.25) saturate(0.9); }
  to   { transform: scale(1); filter: brightness(1.08) saturate(1.06); }
}

.hero-copy { padding-bottom: 104px; }
/* H1 + subtitle as one pair: the name in heavy caps, the promise in big sentence case,
   joined by a short peach sun-rule */
.hero-title {
  font-size: clamp(1.375rem, 0.95rem + 1.75vw, 2.5rem);
  font-weight: 900; letter-spacing: -0.01em; line-height: 1.04;
  color: var(--paper);
  margin-bottom: 14px;
  text-shadow: 0 1px 18px rgba(var(--warm-shade), 0.35);
}
.hero-title span { display: block; }
.hero-title::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--peach); margin-top: 14px;
}
.hero-sub {
  font-size: clamp(1.875rem, 1.25rem + 2.6vw, 4.5rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
  max-width: 12.5em; margin: 0 0 14px; text-wrap: balance;
  text-shadow: 0 1px 18px rgba(var(--warm-shade), 0.35);
}
.hero-lead {
  font-size: 1.0625rem; line-height: 1.45; font-weight: 500; max-width: 30em; margin: 0 0 22px;
  text-shadow: 0 1px 12px rgba(var(--warm-shade), 0.5);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero-link { color: var(--paper); font-weight: 700; text-decoration: underline; text-underline-offset: 0.3em; padding: 10px 2px; }
.hero-link:hover { text-decoration-thickness: 2.5px; }
.hero .btn-primary { box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.5); }

@media (min-width: 900px) {
  .hero-media img { object-position: 50% 24%; }
  .hero::before {
    background:
      radial-gradient(50% 50% at 88% 0%, rgba(255, 214, 160, 0.28), rgba(255, 214, 160, 0) 70%),
      radial-gradient(70% 95% at 0% 100%, rgba(var(--warm-shade), 0.72) 0%, rgba(var(--warm-shade), 0.5) 48%, rgba(var(--warm-shade), 0) 80%),
      linear-gradient(to top, rgba(var(--warm-shade), 0.62) 0%, rgba(var(--warm-shade), 0.4) 45%, rgba(var(--warm-shade), 0) 66%);
  }
  .hero-copy { padding-bottom: 72px; }
  .hero-sub { font-size: clamp(2.75rem, 1.3rem + 2.8vw, 4rem); max-width: 12em; margin-bottom: 18px; }
  .hero-lead { font-size: 1.25rem; margin-bottom: 30px; max-width: 28em; }
}

/* Under the hero: the next course floats over the bottom edge */
.hero-after { position: relative; z-index: 2; display: flex; }
.course-float { margin-top: -76px; width: 100%; max-width: 440px; }
@media (min-width: 900px) {
  .hero-after { justify-content: flex-end; }
  .course-float { width: 420px; margin-top: -132px; }
}

/* Course card (rendered from data) */
.course {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md);
  padding: 18px 18px 18px;
  box-shadow: 0 24px 48px -22px rgba(var(--warm-shade), 0.38), 0 2px 6px rgba(var(--warm-shade), 0.08);
  max-width: 440px;
}
.course-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.course-top .ic {
  width: 40px; height: 40px; border-radius: 999px; background: var(--sun); color: var(--sage-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 19px; flex: none;
}
.course-top .mono { color: var(--ink-soft); }
.course-dates { font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 6px; }
.course-meta { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.45; margin: 0 0 16px; }
.course .btn { width: 100%; min-height: 50px; }
.course .btn span { display: inline-block; text-transform: lowercase; }
.course .btn span::first-letter { text-transform: uppercase; }
.course-empty { margin: 0; font-size: 1rem; line-height: 1.5; }
@media (min-width: 900px) { .course { padding: 24px; } }

/* ==========================================================================
   TERVETULOA — one big statement
   ========================================================================== */
.welcome { padding: 104px 0 96px; }
/* heading + statement as one pair (like the hero): heading in sage, statement at full scale */
.welcome-h.h-lg { font-size: clamp(1.5rem, 1.1rem + 2vw, 3.25rem); color: var(--sage-deep); margin-bottom: 18px; max-width: 14em; }
.statement {
  font-size: clamp(1.75rem, 0.2rem + 8.2vw, 6rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  max-width: 14.5em; margin: 0 0 48px; text-wrap: balance;
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.statement mark {
  background: linear-gradient(transparent 58%, var(--peach) 58%, var(--peach) 92%, transparent 92%);
  color: inherit; padding: 0 0.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.welcome-body { display: grid; gap: 32px; justify-items: start; }
.two-col { margin: 0; color: var(--ink-soft); max-width: 36em; }
@media (min-width: 900px) {
  .welcome { padding: 176px 0 160px; }
  .welcome-h { margin-bottom: 24px; }
  .statement { margin-bottom: 72px; }
  .welcome-body { margin-left: calc(100% / 3); }
  .two-col { columns: 2; column-gap: 48px; max-width: none; font-size: 1.1875rem; line-height: 1.62; }
}

/* ==========================================================================
   MITEN MUKAAN — three steps on one line
   ========================================================================== */
.how { padding: 0 0 112px; }
.how h2 { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; counter-reset: none; }
.step { position: relative; padding-left: 76px; }
.step-node {
  position: absolute; left: 0; top: -6px;
  width: 56px; height: 56px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--sage-deep);
  border: 2px solid var(--sage);
  font: 500 1.125rem/1 var(--mono);
  box-shadow: 0 0 0 8px var(--base);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 58px; bottom: -50px; width: 2px;
  background: var(--sage); opacity: 0.45; border-radius: 2px;
}
.step h3 { font-size: clamp(1.625rem, 1.35rem + 1vw, 2.25rem); letter-spacing: -0.035em; margin: 6px 0 14px; }
.step p { color: var(--ink-soft); max-width: 32em; margin-bottom: 22px; }
.step-cta { margin-top: 2px; }
@media (max-width: 420px) { .step-cta { width: 100%; padding: 0 1em; } }

@media (min-width: 900px) {
  .how { padding-bottom: 176px; }
  .how h2 { margin-bottom: 72px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 56px; }
  .step { padding-left: 0; padding-top: 92px; }
  .step-node { top: 0; width: 64px; height: 64px; font-size: 1.25rem; }
  .step:not(:last-child)::after { left: 88px; right: -32px; top: 31px; bottom: auto; width: auto; height: 2px; }
  .step h3 { margin-top: 0; }
}

/* ==========================================================================
   PALVELUMME — the one sage band
   ========================================================================== */
.band { background: var(--sage); color: var(--on-sage); padding: 88px 0 96px; }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
.tile { min-width: 0; }
.tile.t1, .tile.t4 { grid-column: 1 / -1; }
.tile-in { display: block; position: relative; color: inherit; text-decoration: none; }
.tile-in .go { position: absolute; top: 12px; right: 12px; background: var(--paper); color: var(--ink); border-color: var(--paper); width: 40px; height: 40px; font-size: 18px; }
@media (min-width: 900px) { .tile-in .go { top: 18px; right: 18px; width: 48px; height: 48px; font-size: 20px; } }
.tile-photo { overflow: hidden; border-radius: var(--r-lg); background: #56634f; aspect-ratio: 3 / 4; }
.t1 .tile-photo, .t4 .tile-photo { aspect-ratio: 4 / 3; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.t1 img { object-position: 30% 40%; }
.t2 img { object-position: 78% 45%; }
.t3 img { object-position: 52% 40%; }
.t4 img { object-position: 50% 45%; }
.tile-label {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  margin: 14px 2px 0; font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
}
.go {
  width: 34px; height: 34px; flex: none; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-sage); font-size: 16px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--ease);
}
a.tile-in:hover img { transform: scale(1.035); }
a.tile-in:hover .go { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg); }
a.tile-in:hover .tile-label { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a.more-row:hover .go { background: var(--paper); color: var(--sage-deep); border-color: var(--paper); }

.more { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line-sage); }
.more li { border-bottom: 1px solid var(--line-sage); }
.more-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 0; color: inherit; text-decoration: none; min-height: 64px; }
.more-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; }
.more-desc { grid-column: 1 / -1; font-size: 0.9375rem; line-height: 1.5; max-width: 44em; margin-top: 4px; }
a.more-row:hover .more-name { text-decoration: underline; text-underline-offset: 0.22em; }

@media (min-width: 900px) {
  .band { padding: 136px 0 144px; }
  .band-head { margin-bottom: 64px; }
  .tiles { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
  .tile.t1 { grid-column: 1 / span 7; }
  .tile.t2 { grid-column: 8 / span 5; }
  .tile.t3 { grid-column: 1 / span 5; }
  .tile.t4 { grid-column: 6 / span 7; }
  .tile-photo, .t1 .tile-photo, .t4 .tile-photo { aspect-ratio: auto; height: clamp(380px, 36vw, 540px); }
  .tile-label { margin-top: 18px; }
  .more { margin-top: 88px; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; column-gap: 48px; }
  .more li.more-wide { grid-column: 1 / -1; }
  .more-name { font-size: 1.3125rem; }
  .more-row { padding: 20px 0; }
}

/* ==========================================================================
   MEIDÄN TIIMIMME — full-bleed photo, paper card over it
   ========================================================================== */
.team { padding: 112px 0 0; }
.team-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sun); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team-grid { display: grid; gap: 40px; }
.team-card {
  position: relative; z-index: 1;
  background: var(--paper); border-radius: var(--r-lg);
  padding: 30px 22px 28px; margin-top: -56px;
  box-shadow: 0 30px 60px -36px rgba(var(--warm-shade), 0.45);
}
.team-card h2 { margin-bottom: 20px; }
.team-card .lead { margin-bottom: 18px; }
.team-card p:not(.lead) { color: var(--ink-soft); margin-bottom: 22px; }
.team-quote {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06;
  margin: 0; text-wrap: balance; max-width: 15em;
}
.team-quote strong { font-weight: inherit; }
@media (min-width: 700px) { .team-photo { aspect-ratio: 16 / 9; } }
@media (min-width: 900px) {
  .team { padding-top: 176px; }
  .team-photo { aspect-ratio: auto; height: clamp(520px, 50vw, 760px); }
  .team-photo img { object-position: 50% 18%; }
  .team-grid { grid-template-columns: 6fr 6fr; gap: 64px; align-items: start; }
  .team-card { grid-column: 2; grid-row: 1; margin-top: -240px; padding: 48px 48px 44px; }
  .team-quote { grid-column: 1; grid-row: 1; padding-top: 72px; }
}

/* ==========================================================================
   TILAT JA SIJAINTI
   ========================================================================== */
.place { padding: 112px 0 0; }
.place-head { display: grid; gap: 22px; margin-bottom: 44px; }
.place-head .lead { color: var(--ink-soft); max-width: 30em; margin: 0; }
.amen-title { font-weight: 700; margin-bottom: 14px; }
.amenities { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.amenities li {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper); border-radius: 999px; padding: 7px 18px 7px 7px;
  font-weight: 600; font-size: 1rem; line-height: 1.35;
  box-shadow: inset 0 0 0 1px var(--line);
}
.amen-ic {
  width: 42px; height: 42px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sun); color: var(--sage-deep); font-size: 21px;
}
.place-grid { display: grid; gap: 28px; }
.lobby { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sun); }
.lobby img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.place-side { display: grid; gap: 28px; align-content: end; }
.halls { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin: 0; text-wrap: balance; }
.address-card {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center;
  background: var(--paper); border-radius: var(--r-md); padding: 20px;
  box-shadow: 0 20px 44px -30px rgba(var(--warm-shade), 0.4), inset 0 0 0 1px var(--line);
}
.address-card address { font-style: normal; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.address-card .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) {
  .place { padding-top: 176px; }
  .place-head { grid-template-columns: 6fr 6fr; gap: 64px; align-items: end; margin-bottom: 64px; }
  /* one paper strip, hairline dividers */
  .amenities {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-bottom: 72px;
    background: var(--paper); border-radius: 999px; padding: 10px; box-shadow: inset 0 0 0 1px var(--line);
  }
  .amenities li { background: none; box-shadow: none; border-radius: 0; padding: 4px 16px 4px 10px; font-size: 1rem; }
  .amenities li + li { border-left: 1px solid var(--line); }
  .place-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
  .lobby { aspect-ratio: 4 / 5; }
  .place-side { align-content: center; gap: 40px; }
  .address-card { grid-template-columns: auto 1fr auto; padding: 22px 22px 22px 22px; }
  .address-card .btn { grid-column: auto; }
}

/* Tour: a wide rounded band, loads only on click */
.tour {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 64px; border-radius: var(--r-lg);
  aspect-ratio: 4 / 5; background: #6f6a62; color: var(--paper);
  display: flex; align-items: flex-end;
}
.tour-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.tour::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(var(--warm-shade), 0.78) 0%, rgba(var(--warm-shade), 0.4) 40%, rgba(var(--warm-shade), 0) 66%);
}
.tour-copy { padding: 24px; display: grid; gap: 18px; justify-items: start; }
.tour h2 { font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 14em; }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour.is-loaded::before { display: none; }
@media (min-width: 900px) {
  .tour { margin-top: 112px; aspect-ratio: 21 / 9; }
  .tour::before { background: linear-gradient(to right, rgba(var(--warm-shade), 0.74) 0%, rgba(var(--warm-shade), 0.34) 38%, rgba(var(--warm-shade), 0) 60%); }
  .tour-copy { padding: 48px; }
}

/* ==========================================================================
   CLOSING
   ========================================================================== */
.closing { padding: 112px 0 112px; }
.closing-grid { display: grid; gap: 36px; }
.arch {
  overflow: hidden; aspect-ratio: 4 / 5; background: var(--sun);
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  width: min(100%, 420px);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 26%; }
.closing-text { display: grid; gap: 22px; justify-items: start; align-content: center; }
.closing-text h2 { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.75rem); letter-spacing: -0.04em; line-height: 0.98; max-width: 8em; }
.closing-text .lead { color: var(--ink-soft); max-width: 22em; margin: 0; }
.closing-meta { color: var(--ink-soft); font-size: 0.9375rem; margin: 0; max-width: 34em; }
.closing-meta a { font-weight: 700; color: var(--ink); }
@media (max-width: 420px) { .closing-text .btn-primary { width: 100%; padding: 0 1em; } }
@media (min-width: 900px) {
  .closing { padding: 176px 0 176px; }
  .closing-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
  .arch { width: 100%; }
  .closing-text { gap: 28px; }
}

/* ==========================================================================
   FOOTER — sage, with a stacked TRAINING GROUND
   ========================================================================== */
.site-footer { background: var(--sage); color: var(--on-sage); padding-top: 64px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
.footer-grid > :nth-child(-n+2) { grid-column: 1 / -1; }
.footer-logo { display: inline-block; border-radius: 6px; }
.footer-logo img { width: 176px; height: auto; }
.footer-col h2 { margin-bottom: 14px; font-weight: 500; letter-spacing: 0.08em; line-height: 1.4; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col address { font-style: normal; line-height: 1.75; }
.footer-fine { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line-sage); font-size: 0.9375rem; }
.footer-fine a { text-decoration: none; }
.footer-fine a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .site-footer { padding-top: 96px; }
  .footer-grid { grid-template-columns: 4fr 3fr 2fr 3fr; gap: 40px; }
  .footer-grid > :nth-child(-n+2) { grid-column: auto; }
}

.wordmark {
  margin: 40px 0 0; padding: 0 var(--gutter);
  font-family: var(--font); font-weight: 900; font-size: 22vw;
  line-height: 0.84; letter-spacing: -0.045em; white-space: nowrap;
  color: var(--base); user-select: none;
}
.wm { display: inline-block; }
.wm > span { display: block; }
/* room for the sticky pill on phones, wordmark sits fully visible */
.site-footer { padding-bottom: 92px; }
@media (min-width: 900px) {
  .wordmark { margin: 72px 0 0; }
  .wm > span { display: inline-block; }
  .wm > span:first-child { margin-right: 0.16em; }
}
@media (min-width: 1100px) { .site-footer { padding-bottom: 32px; } }

/* --- Motion preferences ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
