/* ==========================================================================
   Training Ground Vantaa — variant v1b "Salvia"
   Sage leads (the gym's own walls), cream is the contrast,
   one warm apricot for the main action. Onest throughout, no mono.
   ========================================================================== */

:root {
  --sage: #657363;          /* brand */
  --sage-deep: #4a5648;     /* contrast block; also sage text on cream (6.6:1) */
  --sage-ink: #3d473b;      /* deepest sage, for small text on mist */
  --mist: #dfe5d9;          /* light sage tint for a cream-side panel */
  --cream: #f3eee4;         /* page */
  --paper: #fbf8f2;         /* panels; text on sage 4.7:1, on deep sage 7.3:1 */
  --sand: #eae3d5;          /* alt panel */
  --ink: #1b1f1b;
  --ink-soft: #464b45;      /* 7.5:1 on paper */
  --apricot: #a9c9a1;       /* accent: ink on apricot 8.5:1 */
  --apricot-hover: #93b68a;
  --line: rgba(27, 31, 27, 0.14);
  --line-strong: rgba(27, 31, 27, 0.3);
  --line-sage: rgba(251, 248, 242, 0.34);

  --font: "Onest", "Segoe UI", system-ui, sans-serif;

  --gutter: 16px;
  --radius: 30px;
  --radius-sm: 20px;
  --max: 1360px;
  --pad: 26px 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 900px) {
  :root { --gutter: 24px; --radius: 44px; --radius-sm: 26px; --pad: 64px; }
}

*, *::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(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  overflow-x: clip;
  caret-color: var(--sage-deep);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 86px;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
@media (min-width: 1240px) { body { padding-bottom: 0; } }

::selection { background: var(--apricot); 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: 10px; }
.on-sage :focus-visible { outline-color: var(--paper); }

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

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

.wrap { width: 100%; max-width: var(--max); 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; }

.h-lg { font-size: clamp(2.125rem, 1.55rem + 2.5vw, 3.75rem); }
.h-md { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.375rem); letter-spacing: -0.024em; }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem); line-height: 1.5; }
.lead-sm { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.5; }

/* --- Pill tags (small labels) ------------------------------------------ */
.tag {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.875rem; font-weight: 550; letter-spacing: 0; line-height: 1.2;
  padding: 7px 13px; border-radius: 999px;
  background: var(--mist); color: var(--sage-ink);
}
.tag-line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-sage); }

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 54px; padding: 0 1.45em;
  border-radius: 999px; border: 0;
  font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.15;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 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(--apricot); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(120, 60, 10, 0.55); }
.btn-primary:hover { background: var(--apricot-hover); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #343a33; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-sage); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--paper); background: rgba(251, 248, 242, 0.1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px;
  font-weight: 600; 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 (sage, sits on the hero)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--sage); color: var(--paper);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(30, 38, 29, 0.6); }

.header-inner { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: block; flex: none; border-radius: 8px; padding: 5px 0; }
.brand img { height: 34px; width: auto; }

.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.schedule-link {
  display: inline-flex; align-items: center; gap: 0.45em;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 550; text-decoration: none;
  background: var(--sage-deep); /* paper on deep sage 7.3:1 */
}
.schedule-link:hover { background: var(--sage-ink); }
.schedule-link .icon { font-size: 1.15em; }

.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(--paper); color: var(--ink);
  cursor: pointer; font-size: 22px;
}
.menu-toggle .i-close { display: none; }
.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; background: var(--sage); }
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.mobile-menu li a {
  display: block; padding: 12px 18px; border-radius: 18px;
  background: var(--sage-deep);
  font-size: 1.375rem; font-weight: 550; letter-spacing: -0.02em; text-decoration: none;
}
.mobile-menu li a[aria-current="page"] { background: var(--paper); color: var(--sage-deep); }
.mobile-menu .btn { width: 100%; }

@media (max-width: 380px) { .schedule-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .schedule-link { width: 44px; padding: 0; justify-content: center; } }

@media (min-width: 1240px) {
  .header-inner { min-height: 80px; gap: 20px; }
  .brand img { height: 40px; }
  .main-nav { display: block; margin-left: 8px; }
  .main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
  .main-nav a {
    display: block; padding: 9px 14px; border-radius: 999px;
    font-size: 0.9688rem; font-weight: 500; text-decoration: none;
  }
  .main-nav a:hover { background: rgba(251, 248, 242, 0.14); }
  .main-nav a[aria-current="page"] { background: var(--paper); color: var(--sage-deep); }
  .header-cta { display: inline-flex; min-height: 48px; font-size: 0.9688rem; }
  .menu-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* ==========================================================================
   HERO (sage)
   ========================================================================== */
.hero {
  background: var(--sage); color: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 18px 0 84px;
}
.hero-grid { display: grid; gap: 22px; }

.hero-title {
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 3.25rem);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.02;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 3.25rem);
  font-weight: 400; letter-spacing: -0.03em; line-height: 1.08;
  margin: 0; max-width: 15em; text-wrap: balance;
}

/* Collage: mobile = horizontal snap row */
.collage {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
  display: flex; align-items: flex-end; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.collage::-webkit-scrollbar { display: none; }
.collage:focus-visible { outline-offset: -3px; border-radius: 24px; }
.shot {
  flex: none; scroll-snap-align: start;
  border-radius: 24px; overflow: hidden;
  background: var(--sage-deep);
  box-shadow: 0 18px 36px -22px rgba(25, 32, 24, 0.7);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-a { width: 47vw; aspect-ratio: 3 / 4; }
.shot-a img { object-position: 40% 25%; }
.shot-b { width: 37vw; aspect-ratio: 4 / 5; margin-bottom: 18px; }
.shot-b img { object-position: 60% 40%; }
.shot-c { width: 34vw; aspect-ratio: 3 / 4; }
.shot-c img { object-position: 50% 45%; }

.hero-lead { font-size: 1.125rem; line-height: 1.5; margin: 0 0 20px; max-width: 30em; }
.hero .btn-row { gap: 8px; }

@media (max-width: 899px) {
  .hero .btn-primary { flex: 1 1 100%; }
  .hero .btn-line { flex: 0 0 auto; min-height: 48px; }
}
/* tablet: the three photos fit side by side, so the CTA stays on the first screen */
@media (min-width: 600px) and (max-width: 899px) {
  .shot-a { width: 30vw; }
  .shot-b { width: 24vw; }
  .shot-c { width: 22vw; }
  .hero .btn-primary { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  .hero { padding: 40px 0 140px; }
  .hero-grid {
    grid-template-columns: 6fr 5fr; gap: 0 56px;
    grid-template-areas: "text collage" "act collage";
    align-items: end;
  }
  .hero-text { grid-area: text; padding-top: 40px; }
  .hero-act { grid-area: act; align-self: start; padding-top: 32px; }
  .hero-lead { font-size: 1.25rem; }

  .collage {
    grid-area: collage; position: relative; display: block;
    margin: 0; padding: 0; overflow: visible;
    width: 100%; aspect-ratio: 1 / 1.04; max-height: 660px; align-self: center;
  }
  .shot { position: absolute; border-radius: 30px; box-shadow: 0 30px 60px -30px rgba(25, 32, 24, 0.75); }
  .shot-a { left: 22%; top: 2%; width: 56%; z-index: 1; transform: rotate(1.5deg); }
  .shot-b { left: 0; bottom: 0; width: 41%; z-index: 2; margin: 0; transform: rotate(-2.5deg); box-shadow: 0 0 0 6px var(--sage), 0 30px 60px -30px rgba(25, 32, 24, 0.75); }
  .shot-c { right: 0; top: 30%; width: 33%; z-index: 3; transform: rotate(3deg); box-shadow: 0 0 0 6px var(--sage), 0 30px 60px -30px rgba(25, 32, 24, 0.75); }

  /* the one authored moment: the photos settle into the stack */
  .shot { animation: settle 1.4s var(--ease) both; }
  .shot-b { animation-delay: 0.08s; }
  .shot-c { animation-delay: 0.16s; }
}
@keyframes settle {
  from { translate: 0 18px; rotate: -2deg; }
  to { translate: 0 0; rotate: 0deg; }
}

/* ==========================================================================
   NEXT COURSE TICKET (rendered from data)
   ========================================================================== */
.ticket-slot { margin-top: -52px; position: relative; z-index: 2; }
@media (min-width: 900px) { .ticket-slot { margin-top: -88px; } }

.ticket {
  --cut-bg-top: var(--cream);
  position: relative;
  display: grid;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 50px -30px rgba(30, 40, 28, 0.55);
  max-width: 1120px; margin: 0 auto;
}
.ticket-main { padding: 22px 20px 20px; }
.ticket-stub {
  position: relative;
  padding: 20px 20px 20px;
  border-top: 2px dashed var(--line-strong);
  display: grid; gap: 14px; align-content: center;
}
/* notches */
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream); top: -14px;
}
.ticket-stub::before { left: -13px; }
.ticket-stub::after { right: -13px; }

.ticket-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ticket-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 8px; }
.ticket-when { font-size: 0.9375rem; color: var(--ink-soft); margin: 0 0 2px; font-weight: 500; }
.ticket-dates {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.05;
  margin: 0; color: var(--sage-deep);
}
.ticket-period {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  background: var(--mist); color: var(--sage-ink); border-radius: 999px; padding: 7px 14px 7px 11px;
  font-size: 0.9375rem; font-weight: 550; margin: 0;
}
.ticket-period .icon { font-size: 1.15em; }
.ticket-price { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; margin: 0; }
.ticket .btn { justify-self: start; min-height: 48px; }
.btn-case { display: inline-block; text-transform: lowercase; }
.btn-case::first-letter { text-transform: uppercase; }
.ticket-empty { font-size: 1.125rem; line-height: 1.5; margin: 0; max-width: 36em; }

@media (min-width: 900px) {
  .ticket { grid-template-columns: 58% 1fr; }
  .ticket-main { padding: 32px 40px 34px; }
  .ticket-stub { border-top: 0; border-left: 2px dashed var(--line-strong); padding: 30px 36px; }
  .ticket-stub::before, .ticket-stub::after { left: -14px; right: auto; }
  .ticket-stub::before { top: -13px; background: var(--sage); }
  .ticket-stub::after { top: auto; bottom: -13px; background: var(--cream); }
  .ticket-name { font-size: 1.375rem; }
}

/* ==========================================================================
   PANELS
   ========================================================================== */
.panels {
  width: 100%; max-width: calc(var(--max) + 32px); margin: 0 auto;
  padding: 24px var(--gutter) 0;
  display: grid; gap: 16px;
}
@media (min-width: 900px) { .panels { padding-top: 56px; gap: 28px; } }

.panel { border-radius: var(--radius); padding: var(--pad); }
.panel-paper { background: var(--paper); }
.panel-sand { background: var(--sand); }
.panel-mist { background: var(--mist); }
.panel-sage { background: var(--sage); color: var(--paper); }
.panel-deep { background: var(--sage-deep); color: var(--paper); }

.photo { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius-sm); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* --- Tervetuloa + Meidän tiimimme --------------------------------------- */
.welcome-grid {
  display: grid; gap: 28px;
  grid-template-areas: "welcome" "photo" "quote" "team";
}
@media (max-width: 899px) {
  /* the quote rides up over the team photo's lower edge, breaking the text run */
  .w-quote { position: relative; z-index: 1; margin: -64px 12px 0 !important; box-shadow: 0 20px 40px -24px rgba(30, 40, 28, 0.6); }
}
.w-welcome { grid-area: welcome; }
.w-photo { grid-area: photo; aspect-ratio: 4 / 3; }
.w-photo img { object-position: 50% 35%; }
.w-team { grid-area: team; }
.w-quote { grid-area: quote; }

.w-welcome h2 { margin-bottom: 22px; }
.w-welcome p { max-width: 36em; }
.welcome-close {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.32; letter-spacing: -0.018em; font-weight: 550;
  color: var(--sage-deep); margin: 22px 0 26px;
}
.w-team h2 { margin-bottom: 16px; }
.w-team .text-link { margin-top: 4px; }
.w-quote {
  margin: 0;
  background: var(--sage); color: var(--paper);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2.125rem); line-height: 1.2; letter-spacing: -0.025em;
  text-wrap: balance;
}
.w-quote strong { font-weight: 600; }

@media (min-width: 900px) {
  .welcome-grid {
    grid-template-columns: 5fr 7fr; gap: 40px 64px;
    grid-template-areas: "welcome photo" "quote team";
  }
  .w-welcome { padding-top: 8px; align-self: center; }
  .w-photo { aspect-ratio: auto; min-height: 100%; }
  .w-photo img { position: absolute; inset: 0; }
  .w-team { max-width: 44em; }
  .w-team .lead-sm { margin-bottom: 16px; }
  .w-quote { padding: 36px 36px 40px; align-self: start; }
}

/* --- Miten mukaan (sage) ------------------------------------------------- */
.how-grid { display: grid; gap: 28px; }
.how-text h2 { margin-bottom: 26px; }
.step { position: relative; padding-left: 50px; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 650; font-size: 1rem;
  background: var(--paper); color: var(--sage-deep);
}
.step-1 .lead { margin-bottom: 22px; }
.step-1 .btn { margin-bottom: 4px; }
.next-box {
  margin-top: 26px;
  background: transparent; color: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(251, 248, 242, 0.5);
  border-radius: var(--radius-sm);
  padding: 22px 20px 22px 66px;
}
.next-box .step-num { left: 18px; top: 22px; }
.next-box p { margin-bottom: 14px; }
.how-photo { aspect-ratio: 4 / 3; }
.how-photo img { object-position: 35% 40%; }

@media (max-width: 599px) {
  .step { padding-left: 0; }
  .step-1 .step-num { position: static; margin-bottom: 14px; }
  .step-1 .btn { width: 100%; }
  .next-box { padding: 20px; }
  .next-box .step-num { position: static; margin-bottom: 12px; }
}

@media (min-width: 900px) {
  .how-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: stretch; }
  .how-text h2 { margin-bottom: 36px; }
  .step-1 .lead { max-width: 30em; }
  .next-box { margin-top: 36px; padding: 30px 32px 30px 82px; }
  .next-box .step-num { left: 30px; top: 30px; }
  .how-photo { aspect-ratio: auto; min-height: 520px; }
  .how-photo img { position: absolute; inset: 0; object-position: 30% 40%; }
}

/* --- Palvelumme: chip cloud --------------------------------------------- */
.services-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: flex; max-width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 1.0625rem; font-weight: 550; letter-spacing: -0.01em; line-height: 1.25;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.chip-ic {
  width: 40px; height: 40px; flex: none; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mist); color: var(--sage-deep); font-size: 21px;
}
.chip .go { font-size: 1.05em; color: var(--sage-deep); margin-left: -2px; transition: transform 0.3s var(--ease); }
a.chip { transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease); }
a.chip:hover { background: var(--sage); color: var(--paper); box-shadow: none; }
a.chip:hover .chip-ic { background: var(--paper); }
a.chip:hover .go { color: var(--paper); transform: translateX(3px); }
/* chips without a page: flat mist, no border, no arrow (read as info, not buttons) */
.chip:not(a) { background: var(--mist); box-shadow: none; }
.chip:not(a) .chip-ic { background: var(--paper); }

.chip-wide { flex-basis: 100%; order: 99; }

@media (max-width: 599px) {
  .chips { gap: 8px; }
  .chips li { flex-basis: 100%; }
  .chip { width: 100%; }
  .chip .go { margin-left: auto; }
  .chip-title .go { margin-left: 6px; }
}
.chip-desc { border-radius: var(--radius-sm); align-items: flex-start; padding: 12px 20px 16px 12px; }
.chip-body { display: grid; gap: 6px; padding-top: 8px; }
.chip-title { display: block; }
.chip-title .go { display: inline-block; vertical-align: -0.12em; margin-left: 6px; }
.chip-sub { font-size: 0.9375rem; font-weight: 400; line-height: 1.5; color: var(--ink-soft); max-width: 46em; transition: color 0.25s var(--ease); }
a.chip:hover .chip-sub { color: var(--paper); }

@media (min-width: 900px) {
  .services-head { margin-bottom: 40px; }
  .chips { gap: 12px; }
  .chip { font-size: 1.25rem; min-height: 64px; padding: 10px 24px 10px 10px; gap: 14px; }
  .chip-ic { width: 44px; height: 44px; font-size: 22px; }
  .chip-wide { flex-basis: 100%; }
  .chip-wide .chip { width: 100%; }
  .chip-desc { padding: 14px 26px 18px 14px; }
}

/* --- Tilat ja sijainti --------------------------------------------------- */
.place { display: grid; gap: 16px; }
.place-where h2 { margin-bottom: 20px; }
.address { display: flex; align-items: flex-start; gap: 14px; margin: 26px 0 22px; }
.address-ic {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sage); color: var(--paper); font-size: 22px;
}
.address address { font-style: normal; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; padding-top: 4px; }

.list-lead { font-weight: 650; font-size: 1.25rem; letter-spacing: -0.015em; color: var(--sage-ink); margin-bottom: 14px; }
.check-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(251, 248, 242, 0.75); border-radius: 999px; padding: 8px 16px 8px 8px;
  font-weight: 550;
}
.check-list .tick {
  width: 30px; height: 30px; border-radius: 999px; background: var(--sage); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none;
}
.halls { margin: 0; font-weight: 550; line-height: 1.45; color: var(--sage-ink); }

.place-photo { padding: 0; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.place-photo img { object-position: 50% 40%; }

@media (min-width: 640px) and (max-width: 1099px) {
  .place { grid-template-columns: 1fr 1fr; }
  .place-photo { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (min-width: 900px) and (max-width: 1099px) { :root .place .panel { padding: 44px; } }
@media (min-width: 1100px) {
  .place { grid-template-columns: 1.05fr 1fr 0.9fr; gap: 28px; }
  .place .panel { padding: 48px 44px; }
  .place-where { display: flex; flex-direction: column; }
  .place-where .btn { align-self: flex-start; margin-top: auto; }
  .place-photo { padding: 0 !important; aspect-ratio: auto; min-height: 100%; }
  .place-photo img { position: absolute; inset: 0; }
}

/* --- Tour (deep sage) ---------------------------------------------------- */
.tour { display: grid; gap: 24px; }
.tour h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 3rem); max-width: 12em; }
.tour-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3; background: var(--ink);
}
.tour-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-load {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  white-space: nowrap; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}
.tour-load:active { transform: translateX(-50%) scale(0.98); }
@media (min-width: 900px) {
  .tour { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 48px 48px 48px 56px; }
  .tour-frame { aspect-ratio: 16 / 9; }
  .tour-load { bottom: 28px; }
}

/* --- Closing -------------------------------------------------------------- */
.closing { display: grid; gap: 26px; }
.closing-photo { aspect-ratio: 3 / 2; }
.closing-photo img { object-position: 30% 50%; }
.closing-text { display: grid; gap: 18px; align-content: center; }
.closing-text .lead { margin: 0; }
.closing-text .btn-primary { justify-self: stretch; }
.closing-meta { color: var(--ink-soft); font-size: 0.9375rem; margin: 0; }
@media (min-width: 900px) {
  .closing { grid-template-columns: 6fr 5fr; gap: 56px; padding: 24px 56px 24px 24px; }
  .closing-photo { aspect-ratio: auto; min-height: 460px; }
  .closing-photo img { position: absolute; inset: 0; }
  .closing-text { padding: 32px 0; gap: 22px; }
  .closing-text .btn-primary { justify-self: start; }
}

/* ==========================================================================
   FOOTER (sage)
   ========================================================================== */
.site-footer {
  background: var(--sage); color: var(--paper);
  margin-top: 16px;
  padding: 52px 0 28px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
@media (min-width: 900px) { .site-footer { margin-top: 28px; padding: 76px 0 32px; } }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.footer-grid > :first-child { grid-column: 1 / -1; }
.footer-col h2 { margin-bottom: 16px; font-size: 0.875rem; font-weight: 550; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: -10px 0 0; padding: 0; display: grid; gap: 0; }
.footer-col li a { display: inline-block; padding: 10px 0; line-height: 1.5; }
.footer-col address a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col address { font-style: normal; line-height: 1.75; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; max-width: 920px; }
  .footer-grid > :first-child { grid-column: auto; }
}

.lockup {
  display: flex; align-items: center; gap: 0.16em;
  font-size: 64px; /* fitted by script.js */
  margin: 48px 0 30px; white-space: nowrap; user-select: none;
}
.lockup-mark { height: 1.78em; width: auto; flex: none; }
.lockup-text {
  margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 0.86; color: var(--paper);
}
.lockup-text span { display: block; }
@media (min-width: 700px) {
  .lockup { gap: 0.22em; margin: 72px 0 36px; }
  .lockup-mark { height: 0.86em; }
  .lockup-text span { display: inline; }
}

.footer-fine { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line-sage); font-size: 0.9375rem; }
.footer-fine a { text-decoration: none; display: inline-block; padding: 12px 0; }
.footer-fine a:hover { text-decoration: underline; }

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  min-height: 56px;
  box-shadow: 0 14px 32px -10px rgba(27, 31, 27, 0.5), 0 2px 6px rgba(27, 31, 27, 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: 1240px) { .sticky-cta { display: none; } }

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