/* Kumla Golfklubb — app.css
   "Säsong": forest green and sage from the club crest on warm cream, Schibsted Grotesk throughout. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
  --brand-950: #16291f;
  --brand-900: #1f3b2c;
  --brand-700: #2b4d3a;
  --brand-500: #4c6833;
  --sage-200: #dfe8d0;
  --sage-400: #b4ca97;
  --sage-500: #9db67c;
  --sage-700: #4c6833;
  --lake-200: #e2e6f1;
  --paper: #f2eee3;
  --paper-2: #e8e2d2;
  --white: #ffffff;
  --ink: #1b2620;
  --ink-2: #4f5a52;
  --line: #d8d1bf;
  --line-soft: #e4dece;

  --open: #2e8a4e;
  --closed: #c2453a;
  --limited: #c4891a;
  --winter: #4b7cc2;

  --display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 41, 31, .06), 0 10px 28px -10px rgba(22, 41, 31, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; scrollbar-gutter: stable; } /* no layout shift when the lightbox locks scrolling */
body {
  margin: 0;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; /* footer at the bottom on short pages */
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-500); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 .5em; color: var(--brand-900); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--flip { transform: scaleX(-1); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-700); margin: 0 0 .9rem; }
.eyebrow--light { color: var(--sage-400); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .65em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sage-400); color: var(--brand-900); }
.btn--primary:hover { background: var(--sage-500); color: var(--brand-950); }
.btn--outline { border-color: var(--brand-700); color: var(--brand-700); }
.btn--outline:hover { background: var(--brand-700); color: #fff; }
.btn--light { background: #fff; color: var(--brand-900); }
.btn--light:hover { background: var(--sage-200); color: var(--brand-950); }
.btn--dark { background: var(--brand-700); color: #fff; }
.btn--dark:hover { background: var(--brand-900); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--brand-700); }
.btn--ghost:hover { border-color: var(--brand-700); }
.btn--lg { min-height: 52px; padding-inline: 1.6em; font-size: 1rem; }
.btn--sm { min-height: 36px; padding: .4em .9em; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .95rem; text-decoration: none; }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-back { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9rem; text-decoration: none; margin-bottom: 2rem; }

/* ---------- Status dots ---------- */
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--closed); flex: none; }
.dot--open { background: var(--open); box-shadow: 0 0 0 3px rgba(46, 138, 78, .22); }
.dot--closed { background: var(--closed); }
.dot--limited { background: var(--limited); }
.dot--winter { background: var(--winter); }
.status { display: flex; align-items: center; gap: .5em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-900); color: #d6dfd5; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; padding-bottom: 3px; } /* optical centring: the font keeps extra room above the letters (for Å Ä Ö), so the text is nudged up 1.5px */
.topbar__status { display: flex; gap: 1.25rem; list-style: none; }
.topbar .dot, .topbar .i { position: relative; top: 1.5px; } /* dots and icons are already centred: undo the text nudge */
.topbar__status .status__value { color: #fff; font-weight: 600; }
.page-home .topbar__status { visibility: hidden; } /* the hero ticker shows status + weather on the home page */
.page-home .topbar .weather-mini { display: none !important; }
.topbar__meta { display: flex; align-items: center; gap: 1.25rem; }
.topbar__phone { display: inline-flex; align-items: center; gap: .4em; color: #d6dfd5; text-decoration: none; }
.topbar__phone:hover { color: #fff; }
.weather-mini { display: inline-flex; align-items: center; gap: .4em; color: #fff; }
.weather-mini .muted { color: #a9b8a8; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(242, 238, 227, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.header { transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; }
.header .brand, .header .nav__list a, .header .brand__sub, .menu-toggle { transition: color .3s var(--ease), background-color .2s, border-color .3s; }

/* Home: the header floats transparent over the hero and gets its normal style once the page
   scrolls (main.js toggles .is-scrolled). Needs JS, so without it the header stays solid. */
.js .page-home .hero { margin-top: -77px; }
.js .page-home .hero__inner { padding-top: calc(77px + clamp(3.5rem, 9vw, 6.5rem)); }
.js .page-home .header:not(.is-scrolled):not(.is-open) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.js .page-home .header:not(.is-scrolled):not(.is-open) .brand,
.js .page-home .header:not(.is-scrolled):not(.is-open) .nav__list a { color: #fff; }
.js .page-home .header:not(.is-scrolled):not(.is-open) .brand__sub { color: rgba(255, 255, 255, .75); }
.js .page-home .header:not(.is-scrolled):not(.is-open) .nav__list a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.js .page-home .header:not(.is-scrolled):not(.is-open) .menu-toggle { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); color: #fff; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--brand-900); margin-right: auto; }
.brand__logo { width: 50px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 800 1.2rem/1.1 var(--display); letter-spacing: -.02em; }
.brand__sub { font-size: .74rem; color: var(--ink-2); letter-spacing: .02em; }
.nav__list { display: flex; gap: .15rem; list-style: none; }
.nav__list a {
  display: block; padding: .55rem .7rem; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; position: relative;
}
.nav__list a:hover { background: var(--paper-2); color: var(--brand-900); }
.nav__list a[aria-current="page"] { color: var(--brand-700); }
.nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--sage-500); border-radius: 2px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--brand-900); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .i { width: 22px; height: 22px; }
.mobile-menu { border-top: 1px solid var(--line-soft); background: #fff; padding: 1rem var(--gutter) 1.5rem; max-height: calc(100dvh - 76px); overflow-y: auto; }
.mobile-menu__list { list-style: none; display: grid; }
.mobile-menu__list a { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line-soft); font: 500 1.25rem/1.2 var(--display); color: var(--brand-900); text-decoration: none; }
.mobile-menu__list--secondary { grid-template-columns: 1fr 1fr; column-gap: 1rem; margin: .5rem 0 1.25rem; }
.mobile-menu__list--secondary a { font: 500 1rem/1.2 var(--sans); color: var(--ink-2); }

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .brand__sub { display: none; }
  .topbar__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* icon only, but the number is still read out */
  .topbar__phone { justify-content: center; min-width: 44px; min-height: 44px; margin: -4.5px -12px; } /* 44px tap target; the negative margin keeps the bar 38px */
  .menu-open { overflow: hidden; } /* the open menu scrolls by itself */
  .weather-mini .muted { display: none; }
  .topbar__status { gap: .9rem; }
}

/* ---------- Section heads & news list ---------- */
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.block__head h2 { margin: 0; }
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 7.5rem 1fr; column-gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.news-item time { grid-row: span 2; font-size: .85rem; color: var(--ink-2); padding-top: .35rem; font-variant-numeric: tabular-nums; }
.news-item__title { font: 500 1.35rem/1.25 var(--display); color: var(--brand-900); text-decoration: none; }
.news-item__title:hover { color: var(--brand-500); text-decoration: underline; }
.news-item p { margin: .35rem 0 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 560px) {
  .news-item { grid-template-columns: 1fr; }
  .news-item time { grid-row: auto; padding: 0 0 .25rem; }
}

/* ---------- Notice ---------- */
.notice { display: flex; gap: 1rem; background: var(--lake-200); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.notice__icon { width: 26px; height: 26px; color: var(--brand-700); margin-top: .15rem; }
.notice__title { font-size: 1.2rem; margin-bottom: .4rem; }
.notice .prose p { font-size: .95rem; color: var(--ink); }
.notice--warn { background: #f7ead0; }
.notice--warn .notice__icon { color: #93610c; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--brand-900); color: #fff; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 28, 20, .88) 0%, rgba(14, 28, 20, .6) 45%, rgba(14, 28, 20, .25) 100%); }
.page-hero__inner { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); min-height: clamp(280px, calc(236px + 11vw), 376px); }
/* Same height on every subpage: fits the tallest content (eyebrow, one-line title, two-line lead) at every width.
   Text starts at the same place on each page; a shorter lead just leaves more room below. */
@media (max-width: 340px) { .page-hero__inner { min-height: 306px; } } /* smallest phones: a lead can wrap to four lines */
.page-hero h1 { color: #fff; font-weight: 800; letter-spacing: -.04em; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: .98; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255, 255, 255, .86); }
.page-hero .eyebrow { color: var(--sage-400); }
.page-hero--plain { background: var(--brand-900) radial-gradient(120% 140% at 100% 0%, rgba(180, 202, 151, .18) 0%, rgba(180, 202, 151, 0) 55%); }
.page-hero--plain::after { display: none; }

/* ---------- Content blocks ---------- */
.content { display: grid; gap: clamp(2.75rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); max-width: calc(1040px + 2 * var(--gutter)); }
.content > * { min-width: 0; }
.prose { max-width: 70ch; }
.block__intro { color: var(--ink-2); max-width: 65ch; margin-bottom: 1.25rem; }
.content--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.block__note { margin-top: 1rem; font-size: .9rem; color: var(--ink-2); }

.prose > :last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; display: grid; gap: .5em; margin-bottom: 1em; }
.prose li::marker { color: var(--sage-700); }
.prose h3 { margin-top: 1.5em; }
.prose ol { padding-left: 1.4em; display: grid; gap: .5em; margin: 0 0 1em; }
.prose li::marker { font-variant-numeric: tabular-nums; }
.prose h4 { margin: 1.4em 0 .5em; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; color: var(--brand-900); }
.prose > h3:first-child { margin-top: 0; }
.prose--article { font-size: 1.1rem; }
/* News headings are lifted one level by the build (liftHeadings) but keep their old look */
.prose--article h2 { font-size: 1.3rem; margin-top: 1.5em; }
.prose--article h3 { margin: 1.4em 0 .5em; font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.prose--article > h2:first-child { margin-top: 0; }

/* ---------- Prices ---------- */
/* Cards: one price per card */
.price-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 1.3rem 1.3rem 1.2rem; background: #fff; border: 1.5px solid var(--line-soft); border-radius: var(--radius); }
.price-card__title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 1.1rem; color: var(--ink); }
.price-card.is-full .price-card__title { padding-right: 3.75rem; } /* room for the "Fullt" badge */
.price-card__price { margin: 0; font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--brand-900); font-variant-numeric: tabular-nums; }
.price-card__unit { margin: .35rem 0 .9rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-500); }
.price-card__info { margin: auto 0 0; padding-top: .75rem; border-top: 1px solid var(--line-soft); font-size: .88rem; color: var(--ink-2); }
.price-card.is-full .price-card__price { color: var(--ink-2); }
/* Cards in the same row share their row heights: a title that wraps to two lines pushes the
   price down in the neighbouring cards too, so prices, units and info lines stay level. */
@supports (grid-template-rows: subgrid) {
  .price-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .price-card__info { align-self: start; margin-top: 0; } /* divider lines level across the row */
}
.badge { position: absolute; top: 1.1rem; right: 1.1rem; padding: .25rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.badge--full { background: #f6dedb; color: #9c2f24; }

/* Switch: one day type at a time */
.pricing { background: #fff; border: 1.5px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; max-width: 860px; }
.pricing__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
.pricing__today { margin: 0; font-size: .9rem; color: var(--ink-2); }
.pricing__today:empty { display: none; }
.pricing__today::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .5rem; border-radius: 50%; background: var(--open); vertical-align: .1em; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--paper); border-radius: 999px; }
.segmented button { min-height: 40px; padding: .45rem 1.05rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 .92rem/1 var(--sans); cursor: pointer; transition: background-color .15s, color .15s; }
.segmented button:hover { color: var(--brand-900); }
.segmented button[aria-pressed="true"] { background: var(--brand-900); color: #fff; }
.pricing__list { list-style: none; }
.pricing__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line-soft); }
.pricing__row:first-child { border-top: 0; }
.pricing__name { font-weight: 600; }
.pricing__name small, .compare__name small { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-2); }
.pricing__values { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.25rem; text-align: right; }
.pricing__value { display: grid; font-size: 1.05rem; font-weight: 700; color: var(--brand-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricing__value small { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-500); }
/* With JS: only the chosen column, shown large */
.is-switchable .pricing__value[data-off] { display: none; }
.is-switchable .pricing__value { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; animation: price-in .25s var(--ease); }
.is-switchable .pricing__value small { display: none; }
@keyframes price-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .is-switchable .pricing__value { animation: none; } }
@media (max-width: 560px) {
  .pricing__bar { padding: .9rem 1rem; }
  .segmented { display: flex; width: 100%; }
  .segmented button { flex: 1; padding-inline: .4rem; font-size: .85rem; }
  .pricing__row { padding: .9rem 1rem; }
}

/* Compare: all columns side by side */
.compare { list-style: none; max-width: 860px; background: #fff; border: 1.5px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.compare__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding: .9rem 1.25rem; border-top: 1px solid var(--line-soft); }
.compare__row:first-child { border-top: 0; }
.compare__name { font-weight: 600; }
.compare__values { display: flex; gap: .5rem; }
.compare__values span { display: inline-flex; align-items: baseline; gap: .45rem; min-width: 7.5rem; justify-content: space-between; padding: .4rem .75rem; background: var(--paper); border-radius: 10px; font-weight: 700; color: var(--brand-900); font-variant-numeric: tabular-nums; }
.compare__values small { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-500); }

/* Offers (bookable lessons, courses, mats) */
.offers { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.offer { display: flex; flex-direction: column; gap: .55rem; padding: 1.4rem 1.4rem 1.25rem; background: #fff; border: 1.5px solid var(--line-soft); border-radius: var(--radius); }
.offer__icon { width: 28px; height: 28px; color: var(--brand-500); }
.offer__title { font-size: 1.25rem; margin: 0; }
.offer__meta { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.offer__meta li { padding: .2rem .6rem; background: var(--paper); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.offer__text { margin: 0; color: var(--ink-2); font-size: .95rem; }
.offer__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.offer__price { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--brand-900); }
.offer__price small { display: block; font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
/* Rows inside a card (sections.mjs offerCard): a lesson or a group, with its price or seats. A row
   that is a link opens the booking at that step. */
.offer__rows { list-style: none; margin-top: .35rem; border-top: 1px solid var(--line-soft); }
.offer__row { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); color: inherit; text-decoration: none; }
.offer__rows li:last-child .offer__row { border-bottom: 0; padding-bottom: 0; }
.offer__row-main { flex: 1; min-width: 0; display: grid; }
.offer__row-name { font-weight: 650; color: var(--brand-900); }
.offer__row-sub { font-size: .8rem; color: var(--ink-2); }
.offer__row-value { font-weight: 700; color: var(--brand-900); white-space: nowrap; font-variant-numeric: tabular-nums; }
.offer__row-value.is-muted { font-weight: 600; color: var(--ink-2); }
.offer__row-arrow { flex: none; width: 16px; height: 16px; color: var(--brand-500); transition: transform .15s; }
a.offer__row:hover .offer__row-name { text-decoration: underline; text-underline-offset: 3px; }
a.offer__row:hover .offer__row-arrow { transform: translateX(3px); }
/* A card with many rows (the winter training groups) spans the row and shows them as tiles */
.offer--wide { grid-column: 1 / -1; }
.offer--wide .offer__text { max-width: 62ch; }
.offer--wide .offer__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .5rem; border-top: 0; }
.offer--wide .offer__rows li:last-child .offer__row, .offer--wide .offer__row { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main arrow" "value value"; align-items: center; gap: .3rem .5rem; padding: .75rem .9rem; border: 1.5px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--paper); }
.offer--wide .offer__row-main { grid-area: main; }
.offer--wide .offer__row-value { grid-area: value; font-size: .9rem; white-space: normal; }
.offer--wide .offer__row-arrow { grid-area: arrow; }
.offer--wide a.offer__row:hover { border-color: var(--brand-500); }
.band--white .offer--wide .offer__row { background: #fff; border-color: transparent; }
.band--white .offer--wide a.offer__row:hover { border-color: var(--brand-500); }
@media (min-width: 760px) { .offer--wide .offer__rows { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Swish */
.pay { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.pay__swish { display: grid; justify-items: start; gap: .35rem; padding-left: 2rem; border-left: 1px solid var(--line); }
.pay__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-700); }
.pay__number { font: 400 2rem/1.1 var(--display); color: var(--brand-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) {
  .pay { grid-template-columns: 1fr; }
  .pay__swish { padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Article ---------- */
.article { max-width: calc(760px + 2 * var(--gutter)); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }
.article__head time { font-size: .9rem; color: var(--ink-2); }
.article__head h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); margin-top: .35em; }
.article__img { border-radius: var(--radius); margin-bottom: 2rem; }
.notfound { padding-block: 6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-900); color: #c9d3c8; font-size: .93rem; margin-top: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer__logo { width: 64px; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 32ch; }
.footer__social { display: inline-flex; align-items: center; gap: .5em; }
.footer__h { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-400); margin-bottom: 1rem; }
.footer__list { list-style: none; display: grid; gap: .45rem; line-height: 1.5; margin-bottom: 1rem; }
.footer__muted { color: #9fb0a0; font-size: .85rem; }
.footer__status { list-style: none; display: grid; gap: .4rem; margin-top: 1.25rem; font-size: .85rem; }
.footer__status .status__value { color: #fff; }
.footer .link-arrow { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #9fb0a0; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c9d3c8; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Home page
   ========================================================================== */
.kicker { font-weight: 600; font-size: .85rem; color: var(--brand-500); margin: 0 0 1rem; }
.h-section { font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.02; letter-spacing: -.035em; }

/* Hero: looping "film" (or video) behind the text */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; min-height: min(86vh, 820px); min-height: min(86svh, 820px); color: #fff; background: var(--brand-950); }
.hero__film, .hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__video { object-fit: cover; }
.hero__frame { position: absolute; inset: 0; opacity: 0; }
.hero__frame:first-child { opacity: 1; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); will-change: transform; } /* --pos: per photo, from hem.json */
/* Each frame is on screen for 8 s and cross-fades into the next over ~1.4 s; the loop is
   8 s per frame. Keyframe percentages depend on the frame count, so there is one set per count
   (3 and 4). Any other count shows the first photo with a slow drift. */
.hero__film .hero__frame, .hero__film .hero__frame img { animation-timing-function: linear; animation-iteration-count: infinite; animation-delay: calc(var(--i) * 8s - 2s); }
.hero__film[data-count="3"] .hero__frame { animation-name: hero-fade-3; animation-duration: 24s; }
.hero__film[data-count="3"] .hero__frame img { animation-name: hero-drift-3; animation-duration: 24s; }
.hero__film[data-count="4"] .hero__frame { animation-name: hero-fade-4; animation-duration: 32s; }
.hero__film[data-count="4"] .hero__frame img { animation-name: hero-drift-4; animation-duration: 32s; }
.hero__film:not([data-count="3"], [data-count="4"]) .hero__frame img { animation: hero-drift-single 20s ease-in-out infinite alternate; }
/* where each slot's slow drift starts (varies by position so consecutive frames move differently) */
.hero__frame:nth-child(1) img { --from: scale(1.16) translate3d(-2%, 1%, 0); }
.hero__frame:nth-child(2) img { --from: scale(1.16) translate3d(2.5%, 0, 0); }
.hero__frame:nth-child(3) img { --from: scale(1.14) translate3d(-1.5%, 0, 0); }
.hero__frame:nth-child(4) img { --from: scale(1.18) translate3d(0, 2%, 0); }
/* fade in over 1.44 s, hold to 8 s, fade out by 9.44 s (as % of 24 s / 32 s) */
@keyframes hero-fade-3 { 0% { opacity: 0; } 6% { opacity: 1; } 33.3% { opacity: 1; } 39.3% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-fade-4 { 0% { opacity: 0; } 4.5% { opacity: 1; } 25% { opacity: 1; } 29.5% { opacity: 0; } 100% { opacity: 0; } }
/* drift settles after 9.6 s */
@keyframes hero-drift-3 { 0% { transform: var(--from); } 40% { transform: scale(1.02) translate3d(0, 0, 0); } 100% { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes hero-drift-4 { 0% { transform: var(--from); } 30% { transform: scale(1.02) translate3d(0, 0, 0); } 100% { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes hero-drift-single { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(-1.5%, 0, 0); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 28, 20, .55) 0%, rgba(14, 28, 20, 0) 22%),
    linear-gradient(90deg, rgba(14, 28, 20, .8) 0%, rgba(14, 28, 20, .52) 42%, rgba(14, 28, 20, .12) 78%),
    linear-gradient(0deg, rgba(14, 28, 20, .75) 0%, rgba(14, 28, 20, 0) 38%);
}
.hero__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(1.25rem, 3vw, 2rem); }
.hero__text { margin-block: auto; max-width: 780px; }
.hero .kicker { color: var(--sage-400); }
.hero h1 { color: #fff; font-size: clamp(3.1rem, 8vw, 7.2rem); line-height: .93; letter-spacing: -.045em; font-weight: 800; margin-bottom: .35em; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, transparent 64%, rgba(180, 202, 151, .12) 64%, rgba(157, 182, 124, .55) 80%, rgba(118, 148, 86, .92) 92%, transparent 92%); /* light sage fading in to deeper green at the bottom */ padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.75rem; }
.hero__actions .link-arrow { color: #fff; }
.hero__ticker { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .92rem; color: rgba(255, 255, 255, .8); }
.hero__ticker .status__value { color: #fff; font-weight: 700; }
.hero__ticker .status__note { color: rgba(255, 255, 255, .7); }
.hero__ticker .status__note:not(:empty)::before { content: "· "; }
.hero__wx [data-weather-mini] { display: inline-flex; align-items: center; gap: .45em; color: #fff; font-weight: 600; }
.hero__wx .muted { color: rgba(255, 255, 255, .7); font-weight: 400; }
/* Membership application ("apply" section, admin/lib/forms.mjs) */
:is(.apply__steps, .steps) { counter-reset: step; list-style: none; padding: 0; display: grid; gap: .85rem; margin: 0 0 1.75rem; max-width: 46rem; }
:is(.apply__steps, .steps) li { position: relative; padding-left: 2.75rem; }
:is(.apply__steps, .steps) a { white-space: nowrap; }
.apply .field--wide { grid-column: 1 / -1; }
:is(.apply__steps, .steps) li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -.15rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand-900); color: #fff; font-weight: 700; font-size: .9rem; }
.apply__form { position: relative; display: grid; gap: 1.1rem; max-width: 46rem; padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border: 1.5px solid var(--line-soft); border-radius: 16px; }
.apply__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
@media (max-width: 640px) { .apply__grid { grid-template-columns: 1fr; } }
.apply .field { display: grid; gap: .35rem; align-content: start; }
.apply label { font-weight: 600; font-size: .95rem; color: var(--brand-900); }
.field__opt { font-weight: 400; color: var(--ink-2); }
.field__help { margin: 0; font-size: .85rem; color: var(--ink-2); }
.apply .input { width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.apply select.input { appearance: auto; }
.apply textarea.input { min-height: 6.5rem; resize: vertical; }
.apply .input:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 1px; border-color: var(--brand-500); }
.apply .input:user-invalid { border-color: var(--closed); }
.apply__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* for robots only */
.apply__privacy { margin: 0; font-size: .88rem; color: var(--ink-2); }
.apply__status { padding: 1rem 1.2rem; border-radius: 12px; line-height: 1.5; }
.apply__status:focus { outline: none; }
.apply__status--ok, .apply__status--info { background: var(--sage-200); color: var(--brand-950); }
.apply__status--error { background: #f8e3e0; color: #7a2018; }
.apply__status .btn { margin: .6rem .4rem 0 0; }

/* Pause for the moving hero and Instagram slider (WCAG 2.2.2) */
.motion-toggle { display: inline-flex; align-items: center; gap: .4em; min-height: 32px; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; }
.motion-toggle:hover { color: var(--brand-900); border-color: var(--brand-500); }
.motion-toggle .i { width: .95em; height: .95em; }
.hero__motion { margin-left: auto; }
.hero .motion-toggle { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .35); }
.hero .motion-toggle:hover { color: #fff; border-color: #fff; }
.motion-paused .hero__frame, .motion-paused .hero__frame img { animation-play-state: paused; }
@media (max-width: 640px) {
  .hero { min-height: 82svh; }
  .hero::after { background: linear-gradient(0deg, rgba(14, 28, 20, .85) 0%, rgba(14, 28, 20, .55) 55%, rgba(14, 28, 20, .35) 100%); }
  .hero__ticker { gap: .4rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__frame, .hero__frame img { animation: none !important; }
  .hero__frame:not(:first-child) { display: none; }
}

/* Instagram slider (smooothy) — quiet: a small label, the images, nothing else */
.ig { padding-top: clamp(3rem, 6vw, 4.5rem); }
.ig__kicker { margin-bottom: 1rem; }
.ig__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ig__head .ig__kicker { margin: 0; }
.ig__track { display: flex; overflow-x: auto; scrollbar-width: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.ig__track::-webkit-scrollbar { display: none; }
.ig__track.is-live { overflow: hidden; }
.ig__slide { flex: 0 0 auto; width: clamp(200px, 21vw, 280px); padding-right: 10px; }
.ig__card { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-2); color: #fff; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; }
.ig__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .7s var(--ease), filter .3s; }
.ig__card::after { content: ""; position: absolute; inset: 0; background: rgba(14, 28, 20, 0); transition: background-color .3s; }
.ig__card:hover img, .ig__card:focus-visible img { transform: scale(1.04); }
.ig__card:hover::after, .ig__card:focus-visible::after { background: rgba(14, 28, 20, .18); }
.ig__glyph { position: absolute; z-index: 1; top: .7rem; right: .7rem; width: 18px; height: 18px; opacity: 0; transform: translateY(-3px); transition: opacity .25s, transform .25s var(--ease); filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
.ig__card:hover .ig__glyph, .ig__card:focus-visible .ig__glyph { opacity: .95; transform: none; }
.ig__card:focus-visible { outline-offset: -3px; outline-color: #fff; }

/* Lightbox (native <dialog>) */
.has-lightbox { overflow: hidden; }
.lightbox { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.lightbox::backdrop { background: rgba(14, 28, 20, .72); backdrop-filter: blur(6px); }
.lightbox__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-height: calc(100dvh - 32px); background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
/* The image that flies between the thumbnail and the lightbox (instagram-slider.js) */
.lb-flyer { position: fixed; z-index: 5; margin: 0; overflow: hidden; pointer-events: none; background: var(--brand-950); will-change: left, top, width, height; }
.lb-flyer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.lightbox__media { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 0; background: var(--brand-950); border-radius: 18px 0 0 18px; overflow: hidden; }
.lightbox__media img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 32px); object-fit: contain; }
.lightbox__body { display: flex; flex-direction: column; min-height: 0; padding: 1.5rem 1.6rem 1.4rem; }
.lightbox__head { display: flex; align-items: center; gap: .55rem; margin: 0 2.5rem 1rem 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.lightbox__head a { font-weight: 700; color: var(--brand-900); text-decoration: none; }
.lightbox__head a:hover { text-decoration: underline; }
.lightbox__head time { margin-left: auto; color: var(--ink-2); font-size: .85rem; }
.lightbox__caption { flex: 1 1 auto; min-height: 0; overflow-y: auto; white-space: pre-line; overflow-wrap: anywhere; font-size: .97rem; line-height: 1.6; color: var(--ink); padding-right: .25rem; }
.lightbox__caption a { color: var(--brand-700); }
.lightbox__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding-top: 1.1rem; margin-top: 1rem; border-top: 1px solid var(--line-soft); }
.lightbox__actions .link-arrow { color: var(--brand-900); }
.lightbox__btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; transition: background-color .15s, transform .15s; }
.lightbox__btn .i { width: 20px; height: 20px; }
.lightbox__close { top: .9rem; right: .9rem; background: var(--paper); color: var(--brand-900); }
.lightbox__close:hover { background: var(--paper-2); }
.lightbox__nav { top: 50%; transform: translateY(-50%); background: #fff; color: var(--brand-900); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: -22px; }
.lightbox__nav--next { right: -22px; }
@media (max-width: 760px) {
  .lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .lightbox__inner { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: 100dvh; max-height: 100dvh; border-radius: 0; box-shadow: none; }
  .lightbox__media { border-radius: 0; }
  .lightbox__media img { max-height: 58dvh; width: auto; max-width: 100%; }
  .lightbox__body { padding: 1.1rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); }
  .lightbox__head { margin-right: 0; }
  .lightbox__close { top: .75rem; right: .75rem; background: rgba(255, 255, 255, .92); }
  .lightbox__nav { top: 29dvh; width: 44px; height: 44px; background: rgba(255, 255, 255, .9); }
  .lightbox__nav--prev { left: .6rem; }
  .lightbox__nav--next { right: .6rem; }
}

/* Paths */
.paths { padding-block: clamp(3.5rem, 7vw, 6rem); }
.paths__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; margin-top: 1.75rem; border-top: 1px solid var(--brand-900); }
.paths__list a {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title arrow" "desc arrow";
  column-gap: .75rem; row-gap: .15rem; align-items: center; padding: 1.3rem .5rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: background-color .2s var(--ease), padding .25s var(--ease);
}
.paths__list a:hover { background: var(--paper-2); padding-left: 1rem; }
.paths__title { grid-area: title; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; color: var(--brand-900); }
.paths__desc { grid-area: desc; color: var(--ink-2); font-size: .95rem; }
.paths__arrow { grid-area: arrow; width: 22px; height: 22px; color: var(--brand-900); transition: transform .25s var(--ease); }
.paths__list a:hover .paths__arrow { transform: translateX(4px); }
@media (max-width: 760px) { .paths__list { grid-template-columns: 1fr; } }

/* News */
.news { background: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); }
.news__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.news__head .h-section { margin: 0; }
.news__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news__grid li { border-top: 3px solid var(--brand-900); padding-top: 1.1rem; }
.news__grid time { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-500); }
.news__grid a { display: block; margin: .5rem 0 .6rem; font-size: 1.35rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--brand-900); text-decoration: none; }
.news__grid a:hover { text-decoration: underline; }
.news__grid p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.season-note { display: flex; gap: .9rem; align-items: flex-start; margin-top: 2.75rem; padding: 1.1rem 1.4rem; background: var(--paper); border-radius: 14px; font-size: .95rem; }
.season-note .i { width: 22px; height: 22px; color: var(--brand-500); margin-top: .1rem; }
.season-note p { margin: 0; }
.season-note a { color: var(--brand-900); font-weight: 600; }
@media (max-width: 860px) { .news__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6rem); }
.story__media { margin: 0; }
.story__media img { border-radius: var(--radius); width: 100%; }
.story__media figcaption { font-size: .82rem; color: var(--ink-2); margin-top: .7rem; }
.story__num { font-size: clamp(5rem, 12vw, 9.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: var(--brand-900); margin-bottom: 1.5rem; }
.story__num span { font-size: .22em; letter-spacing: -.01em; margin-left: .3em; color: var(--brand-500); }
.story__body p { color: var(--ink-2); max-width: 50ch; }
.story__body .link-arrow { color: var(--brand-900); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* Stay: restaurant, rooms, GolfCamp */
.stay { background: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); }
.stay__head { margin-bottom: 2rem; }
.stay__head .h-section { margin: 0; }
.stay__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.stay__card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.stay__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stay__media { aspect-ratio: 4 / 3; overflow: hidden; }
.stay__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.stay__card:hover .stay__media img { transform: scale(1.04); }
.stay__body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.stay__title { font-size: 1.4rem; margin: 0; }
.stay__title a { color: var(--brand-900); text-decoration: none; }
.stay__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is the link */
.stay__card:focus-within { outline: 3px solid var(--brand-500); outline-offset: 3px; }
.stay__title a:focus-visible { outline: none; }
.stay__text { margin: 0; color: var(--ink-2); font-size: .97rem; }
.stay__facts { list-style: none; display: grid; gap: .4rem; margin: .2rem 0 .3rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .93rem; }
.stay__facts strong { color: var(--brand-900); }
.stay__status { list-style: none; }
.stay__status .status { flex-wrap: wrap; gap: .25rem .5rem; }
.stay__status .status__label { display: none; }
.stay__status .status__value { font-weight: 700; color: var(--brand-900); }
.stay__status .status__note { color: var(--ink-2); }
.stay__status .status__note:not(:empty)::before { content: "· "; }
.stay__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--brand-900); font-size: .95rem; }
.stay__more .i { transition: transform .2s var(--ease); }
.stay__card:hover .stay__more .i { transform: translateX(3px); }
@media (max-width: 980px) { .stay__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stay__grid { grid-template-columns: 1fr; } .stay__media { aspect-ratio: 16 / 9; } }

/* Promo */
.promo-band { padding-block: clamp(3rem, 6vw, 5rem); }

/* Sponsors: logos only, grayscale, side by side. --w (set per logo) balances their visual size. */
.sponsors { background: #fff; padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.sponsors__title { margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); text-align: center; font: 600 .82rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.sponsors__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.75rem, 3.2vw, 2.75rem) clamp(2rem, 4.5vw, 3.75rem); }
.sponsors__list li { display: flex; }
.sponsors__list a { display: flex; border-radius: 4px; }
.sponsors__logo { display: block; width: calc(var(--w) * 1px); max-width: none; height: auto; filter: grayscale(1); mix-blend-mode: multiply; opacity: .82; transition: opacity .2s; }
.sponsors__list a:hover .sponsors__logo, .sponsors__list a:focus-visible .sponsors__logo { opacity: 1; }
@media (max-width: 560px) {
  .sponsors__list { gap: 1.5rem 1.75rem; }
  .sponsors__logo { width: calc(var(--w) * .7px); }
}

.promo { display: grid; grid-template-columns: 150px 1fr auto; gap: 2rem; align-items: center; background: var(--sage-200); border-radius: 24px; padding: 1.75rem 2.25rem; }
.promo__img { width: 150px; transform: rotate(-6deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25)); }
.promo .h-section { font-size: 1.75rem; margin-bottom: .3rem; }
.promo p { margin: 0; color: var(--ink-2); max-width: 55ch; }
@media (max-width: 760px) {
  .promo { grid-template-columns: 1fr; padding: 1.75rem; }
  .promo__img { width: 120px; }
}


/* ==========================================================================
   Content-page components (sections.mjs)
   ========================================================================== */
.block__head h2, .block > .prose > h2:first-child { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Bands: content pages alternate cream and white, like the home page */
.band { padding-block: clamp(3rem, 6vw, 5rem); }
.band--white { background: #fff; }
.band__inner { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); max-width: calc(1040px + 2 * var(--gutter)); }
.band__inner > * { min-width: 0; }
.bands > .band:last-child { padding-bottom: clamp(4rem, 8vw, 6rem); }
/* Components that are white on cream get the cream fill on white bands, so they still read as cards */
.band--white :is(.card, .contact, .person, .accordion__item, .meetings__group, .link-list a, .trip, .status-list, .trip-facts div, .embed, .pay, .langtabs__list, .price-card, .pricing, .compare, .offer, .apply__form) { background: var(--paper); border-color: transparent; }
.band--white :is(.segmented, .compare__values span, .offer__meta li) { background: #fff; }
.band--white :is(.pricing__bar, .pricing__row, .compare__row, .price-card__info, .offer__foot, .offer__rows, .offer__row) { border-color: var(--line); }
.band--white .card:hover, .band--white .link-list a:hover, .band--white .trip:hover { border-color: var(--brand-900); }
.band--white .committee__people { background: #fff; }

/* In-page shortcuts */
.toc { position: sticky; top: 76px; z-index: 5; padding-block: .7rem; background: rgba(242, 238, 227, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.toc .wrap { max-width: calc(1040px + 2 * var(--gutter)); }
.toc ul { list-style: none; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.toc ul::-webkit-scrollbar { display: none; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand-900); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.toc a:hover { border-color: var(--brand-900); }

/* Language tabs (GolfCamp) */
.langtabs { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.langtabs--media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.langtabs__media { margin: 0; position: sticky; top: 150px; }
.langtabs__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.langtabs__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.langtabs__list { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 1.5rem; background: #fff; border-radius: 999px; border: 1.5px solid var(--line-soft); }
.langtabs__list [role="tab"] { min-height: 40px; padding: .45rem 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 .92rem/1 var(--sans); cursor: pointer; transition: background-color .15s, color .15s; }
.langtabs__list [role="tab"]:hover { color: var(--brand-900); }
.langtabs__list [role="tab"][aria-selected="true"] { background: var(--brand-900); color: #fff; }
.langtabs__panel + .langtabs__panel { margin-top: 2rem; } /* no-JS: all languages in turn */
.langtabs__panel p strong { color: var(--brand-900); }
@media (max-width: 860px) { .langtabs--media { grid-template-columns: 1fr; } .langtabs__media { position: static; } .langtabs__media img { aspect-ratio: 16 / 9; } }

/* Text beside an image */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { margin: 0; }
.split__media img { width: 100%; border-radius: var(--radius); }
.split__media figcaption { font-size: .82rem; color: var(--ink-2); margin-top: .6rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Link cards */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.card { display: grid; align-content: start; gap: .35rem; height: 100%; padding: 1.4rem 1.4rem 1.5rem; background: #fff; border: 1.5px solid var(--line-soft); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.card:hover { border-color: var(--brand-900); transform: translateY(-2px); color: var(--ink); }
.card__icon { width: 28px; height: 28px; color: var(--brand-500); margin-bottom: .5rem; }
.card__title { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--brand-900); }
.card__title .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.card:hover .card__title .i { transform: translateX(3px); }
.card__text { color: var(--ink-2); font-size: .95rem; }

/* Facts */
.facts { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin: 0; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dd { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--brand-900); }
.facts dt { font-size: .85rem; color: var(--ink-2); margin-top: .4rem; }

/* People */
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.person { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line-soft); }
.person__img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 20%; }
.person__body { padding: 1.1rem 1.25rem 1.25rem; }
.person__body p { margin: 0 0 .2rem; }
.person__name { font-weight: 700; font-size: 1.15rem; color: var(--brand-900); letter-spacing: -.015em; }
.person__role { color: var(--ink-2); font-size: .95rem; margin-bottom: .5rem !important; }

/* Contact cards */
.contacts { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.contact { background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line-soft); padding: 1.3rem 1.4rem; }
.contact__title { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: .6rem; }
.contact__title .i { width: 20px; height: 20px; color: var(--brand-500); }
.contact p { margin: 0 0 .3rem; }
.contact__big { font-size: 1.25rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.contact__label { color: var(--ink-2); }

/* Status list (restaurant, contact page) */
.status-list { list-style: none; max-width: 560px; background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line-soft); padding: .25rem 1.25rem; }
.status-list .status { display: grid; grid-template-columns: auto 1fr auto; column-gap: .65rem; padding: .85rem 0; border-top: 1px solid var(--line-soft); }
.status-list .status:first-child { border-top: 0; }
.status-list .status__label { font-weight: 600; }
.status-list .status__value { font-weight: 700; font-size: .92rem; }
.status-list .status__note { grid-column: 2 / -1; font-size: .88rem; color: var(--ink-2); }
.status-list .status__note:empty { display: none; }

/* Accordion (details/summary) */
.accordion { display: grid; gap: .6rem; }
.accordion__item { background: #fff; border-radius: 14px; border: 1.5px solid var(--line-soft); }
.accordion__item[open] { border-color: var(--line); }
.accordion__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: .9rem 1.3rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -.015em; color: var(--brand-900); }
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__title { font: inherit; letter-spacing: inherit; color: inherit; margin: 0; } /* a real h2 for the outline, styled as the summary */
.accordion__item > summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); }
.accordion__item[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.accordion__item > summary:hover { color: var(--brand-500); }
.accordion__body { padding: 0 1.3rem 1.4rem; max-width: none; }
.accordion__body.prose > * { max-width: 70ch; }

/* Committees */
.committee { display: grid; gap: 1.25rem; }
.committee__people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 2rem; padding: 1rem 1.1rem; background: var(--paper); border-radius: 12px; }
.committee__people h3 { margin: 0 0 .4rem; font-family: var(--sans); font-size: .78rem; font-weight: 700; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-500); }
.committee__people p { margin: 0 0 .15rem; }
.committee__people ul { list-style: none; display: grid; gap: .15rem; }
.committee__docs { list-style: none; display: grid; gap: .4rem; }

/* Link list (downloads, partner sites) */
.link-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem; }
.link-list a { display: flex; align-items: center; gap: .7rem; min-height: 56px; padding: .7rem 1.1rem; background: #fff; border: 1.5px solid var(--line-soft); border-radius: 12px; color: var(--brand-900); font-weight: 600; text-decoration: none; }
.link-list a:hover { border-color: var(--brand-900); }
.link-list .i { color: var(--brand-500); }

/* Click-to-load embeds */
.embed { background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line-soft); overflow: hidden; }
.embed__placeholder { display: grid; justify-items: start; gap: .9rem; padding: 1.6rem 1.6rem 1.5rem; background: linear-gradient(135deg, var(--sage-200), rgba(223, 232, 208, .35)); }
.embed__placeholder p { margin: 0; max-width: 60ch; }
.embed__note { font-size: .85rem; color: var(--ink-2); }
.embed.is-loaded .embed__target { padding: 1rem; min-height: 200px; }
.embed__frame { display: block; width: 100%; height: min(820px, 85vh); border: 0; } /* Balance Golf: room for its longest usual step (the mats); longer ones scroll inside */
/* A booking widget beside its instructions (embed layout "aside"). Balance Golf draws a white card at
   most 480 px wide, 16 px inside its frame, and centres it. The column is the card's width and the
   frame reaches 16 px past it on both sides, so the card's edges line up with the page. The band is
   white: the frame's own white disappears and only the card shows. */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.embed--aside { max-width: 480px; }
.booking__info { display: grid; gap: 1.25rem; padding-top: 1rem; }
@media (min-width: 961px) { .booking__info { position: sticky; top: 100px; } } /* stays beside the tall widget */
.booking__info h2, .booking__info .lead { margin: 0; }
.booking__info .steps { margin: .25rem 0 0; }
.booking__note { padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .97rem; }
.booking__note p { margin: 0 0 .35rem; }
.embed--aside .embed__placeholder { min-height: 440px; align-content: center; justify-items: center; text-align: center; padding: 2rem; }
.embed__lead { font-weight: 600; color: var(--brand-900); }
.embed--aside.is-loaded, .band--white .embed--aside.is-loaded { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.embed--aside.is-loaded .embed__target { padding: 0; min-height: 0; }
.embed--aside .embed__frame { width: calc(100% + 32px); margin-inline: -16px; }
@media (max-width: 960px) { .booking { grid-template-columns: minmax(0, 1fr); } .embed--aside .embed__placeholder { min-height: 0; padding: 2.25rem 1.5rem; } }

/* Meeting calendar */
.meetings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.meetings__group { background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line-soft); padding: 1.2rem 1.3rem; }
.meetings__group h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.meetings__group ul { list-style: none; }
.meetings__group li { display: grid; gap: .1rem; padding: .6rem 0; border-top: 1px solid var(--line-soft); }
.meetings__group li[hidden] { display: none; }
.meetings__group time { font-size: .85rem; font-weight: 700; color: var(--brand-500); font-variant-numeric: tabular-nums; }
.meetings__empty { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Trips */
.trips { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.trip { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1.5px solid var(--line-soft); transition: border-color .2s; }
.trip:hover { border-color: var(--brand-900); color: var(--ink); }
.trip__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.trip__body { display: grid; gap: .3rem; padding: 1.2rem 1.3rem 1.3rem; }
.trip__title { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--brand-900); }
.trip__meta { color: var(--ink-2); font-size: .95rem; }
.trips--past .trip { opacity: .8; }
.trips--past .trip:hover { opacity: 1; }
.trip-detail { display: grid; gap: 2rem; }
.trip-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 0; }
.trip-facts div { background: #fff; border-radius: 14px; border: 1.5px solid var(--line-soft); padding: 1rem 1.2rem; }
.trip-facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-500); }
.trip-facts dd { margin: .3rem 0 0; font-size: 1.15rem; font-weight: 700; color: var(--brand-900); }
.trip-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.trip-contact { max-width: 420px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Touch screens: every control at least 44px tall. Last in the file so it wins over the component rules. */
@media (prefers-reduced-motion: reduce) { .motion-toggle, .hero__motion { display: none !important; } } /* nothing moves: nothing to pause */
@media (pointer: coarse) { .btn--sm, .segmented button, .toc a, .langtabs__list [role="tab"], .motion-toggle, .offer__row { min-height: 44px; } } /* touch: 44px targets */
