/* ==========================================================================
   Training Ground Vantaa — variant v1c "Lehti" (Journal)
   v1 told like a warm lifestyle magazine: type leads, photos follow.
   Off-white paper, sage as text and soft tints, one lavender card,
   signal orange only on the main action.
   ========================================================================== */

:root {
  --paper: #faf8f3;          /* page */
  --paper-2: #f2efe7;        /* hover wash */
  --card: #fffdf9;
  --ink: #1c201c;            /* 16.4:1 on paper */
  --ink-soft: #4a4f49;       /* 7.9:1 on paper */
  --sage: #657363;           /* brand; 4.7:1 on paper */
  --sage-deep: #4b574a;      /* sage text on tints, 6.0:1 on sage tint */
  --sage-tint: #e3e8e0;
  --sage-tint-2: #edf0ea;
  --lavender: #ece6f8;
  --lavender-2: #ddd4f1;
  --lavender-ink: #4a4163;   /* 8.2:1 on lavender */
  --on-sage: #faf8f3;        /* 4.7:1 on sage */
  --orange: #a9c9a1;         /* ink on orange 5.6:1 */
  --orange-hover: #93b68a;
  --line: rgba(28, 32, 28, 0.14);
  --line-strong: rgba(28, 32, 28, 0.28);
  --line-sage: rgba(250, 248, 243, 0.34);

  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: 16px;
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 24px; --radius: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scrollbar-color: var(--sage) var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  caret-color: var(--orange);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

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

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

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

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.site-footer :focus-visible { outline-color: var(--on-sage); }

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
em { font-style: italic; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.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;
}

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

/* Mono label (small, sage) */
.label {
  font-family: var(--mono); font-size: 0.75rem; line-height: 1.4;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--sage-deep);
}

/* Serif accent: Instrument Serif italic, optically sized up a touch */
.hero-claim em, .pull blockquote, .step-num, .team-figure figcaption, .address-giant em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.45em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.1;
  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);
}
.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-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: #363c35; }

.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--card); }

.btn-paper { background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(20, 16, 12, 0.5); }
.btn-paper:hover { background: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 0.3em;
}
.text-link:hover { text-decoration-color: currentColor; }
.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: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) 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: 64px; }
.brand { display: block; flex: none; border-radius: 6px; padding: 7px 0; }
.brand img { height: 30px; 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;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--sage-deep);
  padding: 8px 2px;
}
.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: 1.5px solid var(--line-strong); background: transparent; 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); border-color: var(--ink); }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 4px var(--gutter) 24px; background: var(--paper); }
.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: 500; letter-spacing: -0.02em; text-decoration: none;
}
.mobile-menu li a[aria-current="page"] { color: var(--sage-deep); text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

@media (max-width: 380px) { .schedule-link { font-size: 0.875rem; } }

@media (min-width: 1100px) {
  .header-inner { min-height: 76px; gap: 28px; }
  .brand img { height: 36px; }
  .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.9375rem; font-weight: 500; text-decoration: none;
  }
  .main-nav a:hover { background: var(--sage-tint-2); }
  .main-nav a[aria-current="page"] { color: var(--sage-deep); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 0.4em; }
  .header-cta { display: inline-flex; min-height: 46px; font-size: 0.9375rem; }
  .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: 54px;
  box-shadow: 0 12px 30px -10px rgba(28, 32, 28, 0.5), 0 2px 6px rgba(28, 32, 28, 0.16);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.site-footer { padding-bottom: 76px; }
@media (min-width: 1100px) {
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 0; }
}

/* --- Section scaffolding ------------------------------------------------ */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 136px 0; } }

.h-lg { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4.5rem); color: var(--sage); line-height: 1.02; }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.5; letter-spacing: -0.008em; }

/* ==========================================================================
   HERO — type first
   ========================================================================== */
.hero { padding-top: 26px; }
.hero-title {
  font-size: clamp(1.25rem, 0.95rem + 1.1vw, 1.75rem);
  line-height: 1.15; letter-spacing: -0.015em; font-weight: 600;
  color: var(--sage);
  margin-bottom: 14px;
}
.hero-claim {
  font-size: clamp(2.375rem, 1.25rem + 5.2vw, 6rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.038em;
  max-width: 13.2em; margin: 0; text-wrap: balance;
}
.hero-claim em {
  font-size: 1.12em; line-height: 0.9; letter-spacing: -0.012em;
  color: var(--sage);
  padding-right: 0.04em;
}
.nowrap { white-space: nowrap; }
.hero-foot { display: grid; gap: 22px; margin-top: 26px; }
.hero-lead { font-size: 1.125rem; line-height: 1.5; max-width: 28em; margin: 0; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

@media (max-width: 599px) {
  .hero-actions .btn-primary { flex: 1 1 100%; }
  .hero-actions { gap: 4px; }
}

@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-title { margin-bottom: 22px; }
  .hero-foot {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
    margin-top: 40px;
  }
  .hero-lead { font-size: 1.3125rem; max-width: 26em; }
  .hero-actions { flex-wrap: nowrap; gap: 28px; }
}

/* Photo strip */
.strip {
  margin-top: 32px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  outline-offset: -3px;
}
.strip::-webkit-scrollbar { display: none; }
.strip-row {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  display: flex; gap: 10px;
  width: max-content;
}
.strip-item {
  flex: none; width: 74vw; max-width: 340px; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden;
  background: var(--sage-tint);
  scroll-snap-align: start;
  animation: strip-in 1.1s var(--ease) both;
}
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
.strip-item.s1 img { object-position: 46% 30%; }
.strip-item.s2 img { object-position: 62% 40%; }
.strip-item.s3 img { object-position: 31% 40%; }
.strip-item.s4 img { object-position: 24% 50%; }
.strip-item.s5 img { object-position: 60% 55%; }
.strip-item.s2 { animation-delay: 0.08s; }
.strip-item.s3 { animation-delay: 0.16s; }
.strip-item.s4 { animation-delay: 0.24s; }
.strip-item.s5 { animation-delay: 0.32s; }

@keyframes strip-in {
  from { clip-path: inset(14% 0 0 0 round var(--radius)); transform: translateY(18px); }
  to { clip-path: inset(0 0 0 0 round var(--radius)); transform: none; }
}

@media (min-width: 900px) {
  .strip {
    margin: 56px auto 0; overflow: visible;
    max-width: calc(var(--max) + 2 * var(--gutter)); padding: 0 var(--gutter);
  }
  .strip-row {
    width: auto; display: grid; padding: 0; gap: 14px;
    grid-template-columns: 1.15fr 0.9fr 1.35fr 0.95fr 1fr;
    height: clamp(320px, 29vw, 460px);
  }
  .strip-item { width: auto; max-width: none; aspect-ratio: auto; height: 100%; }
  .strip-item.s2, .strip-item.s4 { margin-top: 36px; height: calc(100% - 36px); }
}

/* ==========================================================================
   TERVETULOA — editorial spread
   ========================================================================== */
.welcome-grid { display: grid; gap: 44px; }
.welcome-text h2 { margin-bottom: 32px; }
.welcome-text p { max-width: 62ch; }
@media (min-width: 900px) { .welcome-text p { font-size: 1.1875rem; line-height: 1.62; } }
.pull { border-top: 1px solid var(--line); padding-top: 28px; }
.pull blockquote { margin: 0 0 32px; position: relative; }
.pull blockquote p {
  font-size: clamp(2.125rem, 1.4rem + 2.9vw, 4rem);
  line-height: 1.06; letter-spacing: -0.012em; color: var(--ink);
  text-wrap: balance;
}
.pull blockquote::before {
  content: "\201D";
  display: block; font-size: 5.5rem; line-height: 0.6; height: 0.42em;
  color: var(--sage);
}

@media (min-width: 900px) {
  .welcome-grid { grid-template-columns: 6fr 1fr 5fr; align-items: start; }
  .welcome-text { grid-column: 1; }
  .pull { grid-column: 3; margin-top: 10px; padding-top: 36px; }
}

/* ==========================================================================
   MITEN MUKAAN — numbered list + lavender course card
   ========================================================================== */
.how { padding-top: 0; }
.how h2 { margin-bottom: 28px; }
.how-grid { display: grid; gap: 40px; }

.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px;
  padding: 26px 0 28px; border-top: 1px solid var(--line);
}
.step-num { font-size: 3rem; line-height: 0.85; color: var(--sage); }
.step h3 { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); letter-spacing: -0.022em; line-height: 1.15; margin: 4px 0 12px; }
.step p { max-width: 62ch; }
.step-cta { margin-top: 20px; }
.course-slot { margin-top: 24px; }

@media (min-width: 900px) {
  .how h2 { margin-bottom: 44px; }
  .step-body.has-course {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    column-gap: 64px; align-items: start;
  }
  .step-body.has-course > .course-slot { margin-top: 0; }
  .step { grid-template-columns: 96px 1fr; padding: 34px 0 38px; }
  .step-num { font-size: 4.75rem; }

}

/* Course card (rendered from data) */
.course-card {
  background: var(--lavender); color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.course-card .label { color: var(--lavender-ink); display: block; }
.course-name { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); line-height: 1.1; letter-spacing: -0.025em; color: var(--lavender-ink); margin: 10px 0 18px; }
.course-card .sub { margin: 0; }
.course-dates {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
  margin: 6px 0 16px;
}
.course-period {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.62); border-radius: 999px; padding: 6px 14px 6px 11px;
  font-size: 0.9375rem; font-weight: 500; line-height: 1.35; margin-bottom: 18px;
}
.course-period .icon { color: var(--lavender-ink); font-size: 1.1em; }
.course-price { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; padding-top: 16px; border-top: 1px solid rgba(74, 65, 99, 0.18); margin-bottom: 20px; }
.course-card .btn { width: 100%; padding: 0 1em; }
.btn-course { background: transparent; color: var(--ink); border-color: var(--lavender-ink); }
.btn-course:hover { background: var(--lavender-ink); color: var(--lavender); }
.course-empty { font-size: 1.0625rem; margin-top: 14px; }
@media (min-width: 900px) { .course-card { padding: 36px 34px 32px; } }

/* ==========================================================================
   PALVELUMME — index list
   ========================================================================== */
.services { padding-top: 0; }
.services-grid { display: grid; gap: 28px; }
.services-intro h2 { margin-bottom: 24px; }
.preview { display: none; }

.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 52px 1fr auto; column-gap: 16px; align-items: center;
  padding: 12px 0; text-decoration: none; color: inherit;
  position: relative;
}
.thumb {
  width: 52px; height: 52px; border-radius: 999px; overflow: hidden;
  background: var(--sage-tint); display: block;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.dot { background: transparent; display: grid; place-items: center; }
.thumb.dot::after { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--sage); }
.name { font-size: clamp(1.1875rem, 1rem + 0.9vw, 1.75rem); font-weight: 500; letter-spacing: -0.018em; line-height: 1.22; }

.desc { grid-column: 2 / 4; font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.55; margin-top: 6px; max-width: 40em; }
.go {
  width: 38px; height: 38px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); font-size: 18px; align-self: center;
  transition: background-color 0.25s var(--ease), border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
a.row:hover .go, a.row:focus-visible .go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
a.row:hover .name { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--sage); text-underline-offset: 0.2em; }
.row .thumb img { transition: transform 0.5s var(--ease); }
.row:hover .thumb img { transform: scale(1.08); }

@media (min-width: 900px) {
  .services-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
  .services-intro { position: sticky; top: 108px; align-self: start; }
  .preview {
    display: block; margin-top: 44px; max-width: 440px; aspect-ratio: 4 / 5;
    border-radius: var(--radius); overflow: hidden; background: var(--sage-tint);
  }
  .preview img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transition: opacity 0.35s var(--ease), transform 0.6s var(--ease); }
  .preview.is-swapping img { opacity: 0.15; transform: scale(1.02); }
  .row { grid-template-columns: 64px 1fr auto; column-gap: 22px; padding: 14px 0; }
  .thumb { width: 64px; height: 64px; }
  .row[data-photo] { cursor: default; }
  a.row[data-photo] { cursor: pointer; }
  .row.is-active .name { color: var(--sage-deep); }
}

/* ==========================================================================
   TIIMI — panoramic photo + caption
   ========================================================================== */
.team { padding-top: 0; }
.team-head h2 { margin-bottom: 22px; }
.team-head .lead { max-width: 32em; margin: 0; }
.team-figure { margin-top: 36px; }
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage-tint); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.team-figure figcaption {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: baseline;
  margin-top: 18px;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.12; color: var(--sage-deep);
  letter-spacing: -0.01em;
}
.team-figure figcaption::before { content: ""; height: 1px; background: var(--sage); transform: translateY(-0.3em); }
.team-figure figcaption strong { font-weight: 400; text-wrap: balance; max-width: 26em; }
.team-body { margin-top: 28px; }
.team-body p { max-width: 62ch; }
.team-body p + p { margin-top: 20px; }

@media (min-width: 700px) { .team-photo { aspect-ratio: 16 / 9; } }
@media (min-width: 900px) {
  .team-head { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: end; }
  .team-head h2 { margin-bottom: 0; }
  .team-figure { margin-top: 56px; }
  .team-photo { aspect-ratio: 21 / 9; }
  .team-photo img { object-position: 50% 6%; }
  .team-figure figcaption { grid-template-columns: 5fr 7fr; gap: 80px; margin-top: 26px; }
  .team-figure figcaption::before { width: 100%; opacity: 0.6; }
  .team-body { display: grid; grid-template-columns: 5fr 7fr; gap: 0 80px; margin-top: 28px; }
  .team-body > * { grid-column: 2; }
}

/* ==========================================================================
   TILAT JA SIJAINTI — giant address
   ========================================================================== */
.place { padding-top: 0; }
.address-giant {
  margin: 18px 0 36px;
  font-weight: 600; font-stretch: 92%;
  font-size: 15vw; line-height: 0.9; letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--ink);
}
.address-giant em { color: var(--sage); letter-spacing: 0; padding-left: 0.04em; }
.place-grid { display: grid; gap: 40px; }
.place-intro p { max-width: 62ch; }
.address-line {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.address-line address { font-style: normal; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.address-line address .icon { color: var(--sage); font-size: 1.2em; }

.list-title { font-weight: 600; margin-bottom: 8px; color: var(--sage-deep); }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; column-gap: 32px; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.check-list .tick {
  width: 28px; height: 28px; border-radius: 999px; background: var(--sage-tint); color: var(--sage-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none;
}
.halls {
  background: var(--sage-tint); color: var(--ink);
  border-radius: var(--radius-sm); padding: 18px 22px;
  font-weight: 500; line-height: 1.45;
}

@media (min-width: 600px) {
  .check-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .address-giant { margin: 28px 0 56px; }
  .place-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
}

/* Tour: caption, then the framed photo */
.tour { margin-top: 72px; display: grid; gap: 20px; }
.tour-title { font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.75rem); line-height: 1.08; color: var(--sage); }
.tour-mat { background: var(--sage-tint); border-radius: calc(var(--radius) + 6px); padding: 12px; }
.tour-frame {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) - 8px);
  aspect-ratio: 4 / 3; background: #2a2622;
}
.tour-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: opacity 0.4s var(--ease); }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.5s var(--ease); }
.tour-frame.is-loaded iframe { opacity: 1; }
.tour-frame.is-loading > img { opacity: 0.55; }
.tour-load {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  white-space: nowrap;
}
.tour-load:active { transform: translateX(-50%) scale(0.98); }
.tour-load[aria-busy="true"] { cursor: progress; }
.tour-load[aria-busy="true"] .icon { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .tour { margin-top: 128px; grid-template-columns: 4fr 8fr; gap: 56px; align-items: center; }
  .tour-mat { padding: 18px; }
  .tour-frame { aspect-ratio: 16 / 10; }
  .tour-frame > img { object-position: 50% 34%; }
  .tour-load { bottom: auto; top: 50%; transform: translate(-50%, -50%); }
  .tour-load:active { transform: translate(-50%, -50%) scale(0.98); }
}

/* ==========================================================================
   CLOSING CTA
   ========================================================================== */
.closing { padding-top: 0; }
.closing-grid {
  display: grid; gap: 0;
}
.closing-grid > * { min-width: 0; }
.closing-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage-tint); }
.closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; }
.closing-text { padding: 32px 0 0; display: grid; gap: 22px; justify-items: start; }
.closing-text h2 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5.25rem); line-height: 1; letter-spacing: -0.04em; }
.closing-text .lead { margin: 0; max-width: 24em; }
.closing-meta { color: var(--ink-soft); font-size: 1rem; max-width: 32em; }
@media (max-width: 599px) { .closing-text .btn-primary { justify-self: stretch; } }
@media (min-width: 900px) {
  .closing-grid {
    grid-template-columns: 6fr 6fr; gap: 72px; align-items: center;
  }
  .closing-photo { aspect-ratio: 5 / 4; }
  .closing-text { padding: 0; gap: 28px; }
}

/* ==========================================================================
   FOOTER — sage, giant wordmark
   ========================================================================== */
.site-footer {
  position: relative; isolation: isolate;
  background: var(--sage); color: var(--on-sage);
  padding-top: 56px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
@media (min-width: 900px) { .site-footer { padding-top: 80px; } }
.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: 180px; height: auto; }
.site-footer .label { color: var(--on-sage); margin-bottom: 14px; font-size: 0.8125rem; }
.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.7; }
.footer-fine {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; 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) {
  .footer-grid { grid-template-columns: 4fr 3fr 2fr 3fr; gap: 40px; }
  .footer-grid > :nth-child(-n+2) { grid-column: auto; }
}

.wordmark {
  display: block;
  font-family: var(--sans); font-weight: 700; font-stretch: 78%;
  font-size: 11.6vw; line-height: 1; letter-spacing: -0.035em;
  white-space: nowrap;
  color: var(--paper);
  margin: 28px 0 -0.19em;
  padding: 0 0 0 calc(var(--gutter) - 0.04em);
  user-select: none;
}
@media (min-width: 900px) { .wordmark { margin-top: 40px; } }

/* Concrete: a faint mineral grain behind the wordmark, like the gym walls */
.site-footer::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27240%27 height=%27240%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 0.12  0 0 0 0 0.14  0 0 0 0 0.11  0 0 0 0.55 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
}

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