/* =========================================================
   FLUSH GOLF CLUB — concept site
   Design system: "Gigantic" reference re-skinned with Flush brand
   Canvas = Flush cream, Ink = Flush olive, Accent = Flush lime
   Flat. 0px radius. No shadows. Type is the graphic.
   Motion: hero slideshow, reveals that overshoot like the reference,
   rotating stamp. Photography is the client's own (Savor Group galleries).
   ========================================================= */

@font-face { font-family: "Super Clarendon"; src: url("assets/fonts/SuperClarendon-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Super Clarendon"; src: url("assets/fonts/SuperClarendon-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Super Clarendon"; src: url("assets/fonts/SuperClarendon-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto Condensed Local"; src: url("assets/fonts/RobotoCondensed.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  /* Colors — Flush brand mapped onto the reference roles */
  --color-ink: #2d3916;
  --color-ink-deep: #1e1e1e;
  --color-cream: #fbf9f3;
  --color-white: #ffffff;
  --color-lime: #d4fc93;
  --color-lime-deep: #90d177;
  --color-cream-70: rgba(251,249,243,.7);
  --color-cream-35: rgba(251,249,243,.35);

  /* Type */
  --font-display: "Roboto Condensed", "Roboto Condensed Local", "Arial Narrow", sans-serif;
  --font-body: "Super Clarendon", "Clarendon", Georgia, "Times New Roman", serif;

  --text-caption: 12px;  --tracking-caption: 0.06em;
  --text-body-sm: 14px;
  --text-body: 16px;     --tracking-body: 0.02em;
  --text-ui: 16px;       --tracking-ui: 0.09em;
  --text-sub: 18px;      --tracking-sub: 0.08em;
  --text-h-sm: 24px;     --tracking-h-sm: 0.07em;
  --text-h-lg: 32px;     --tracking-h-lg: 0.06em;
  --text-display: clamp(64px, 11.5vw, 176px);
  --tracking-display: 0.04em;

  /* Spacing */
  --sp-8: 8px; --sp-10: 10px; --sp-15: 15px; --sp-16: 16px; --sp-19: 19px; --sp-20: 20px;
  --sp-28: 28px; --sp-30: 30px; --sp-32: 32px; --sp-50: 50px; --sp-80: 80px;
  --section-y: clamp(64px, 8vw, 120px);

  --page-max: 1200px;
  --gutter: 20px;
  --hairline: 1px solid var(--color-ink);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-over: cubic-bezier(0.22, 1, 0.36, 1); /* expo-out, no elastic overshoot */
  --dur-fast: 150ms; --dur-base: 300ms; --dur-slow: 700ms;
  --reveal-dur: 1000ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-cream); color: var(--color-ink);
  font-family: var(--font-body); font-size: var(--text-body); line-height: 1.7; letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; box-shadow: 0 0 0 4px var(--color-ink); }
::selection { background: var(--color-lime); color: var(--color-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type roles ---------- */
.t-display { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: 0.92; letter-spacing: var(--tracking-display); text-wrap: balance; }
.t-display em { font-style: italic; font-weight: 900; }
.t-h-lg { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--text-h-lg); line-height: 1.1; letter-spacing: var(--tracking-h-lg); }
.t-h-sm { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: var(--text-h-sm); line-height: 1.2; letter-spacing: var(--tracking-h-sm); }
.t-sub  { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-sub); line-height: 1.4; letter-spacing: var(--tracking-sub); }
.t-ui   { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-ui); line-height: 1; letter-spacing: var(--tracking-ui); }
.t-cap  { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-caption); line-height: 1.4; letter-spacing: 0.12em; }
.t-body-sm { font-size: var(--text-body-sm); line-height: 1.6; }
.t-lead { font-size: 18px; line-height: 1.6; }

/* =========================================================
   MOTION SYSTEM
   ========================================================= */

/* Scroll reveal: slide up with the reference's overshoot (35px → -5px → 0) */
.reveal { opacity: 1; }
.js .reveal { opacity: .01; transform: translateY(35px); }
.js .reveal.is-in { animation: revealUp var(--reveal-dur) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 75ms); }
.js .reveal--zoom { transform: none; } /* no base clip: a fully clipped target never intersects in Chromium */
.js .reveal--zoom.is-in { animation: revealClip 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 75ms); }
@keyframes revealUp { 0% { transform: translateY(35px); opacity: 0; } 70% { transform: translateY(-5px); opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes revealClip { 0% { clip-path: inset(100% 0 0 0); opacity: 0; } 100% { clip-path: inset(0 0 0 0); opacity: 1; } }

/* Hero line reveal (masked lines rising) */
.line { display: block; overflow: hidden; }
.line__in { display: inline-block; transform: translateY(110%); animation: lineUp 900ms var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
.hero__title .line:nth-child(1) .line__in { --d: 150ms; }
.hero__title .line:nth-child(2) .line__in { --d: 280ms; }
.hero__sub .line__in { --d: 520ms; }
.hero__actions .line__in { --d: 680ms; display: flex; justify-content: center; gap: var(--sp-16); flex-wrap: wrap; }
@keyframes lineUp { to { transform: translateY(0); } }

/* Rotating stamp (reference: .stemp-rotate) */
.stamp { position: absolute; width: 150px; height: 150px; display: grid; place-items: center; z-index: 4; }
.stamp__ring { position: absolute; inset: 0; animation: stampSpin 9s linear infinite; }
.stamp__text { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--color-ink); }
.stamp__core { position: relative; text-align: center; line-height: .9; color: var(--color-ink); font-size: 30px; }
.stamp__core small { display: block; font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: .12em; margin-top: 4px; }
@keyframes stampSpin { to { transform: rotate(-1turn); } }

/* Scroll-for-more arrow bounce */
@keyframes scrollCue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* =========================================================
   COMPONENTS
   ========================================================= */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--sp-15) var(--sp-19);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-ui); letter-spacing: var(--tracking-ui); line-height: 1;
  border: var(--hairline); border-radius: 0; background: var(--color-ink); color: var(--color-white);
  transition: background var(--dur-fast) linear, color var(--dur-fast) linear, transform var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { background: var(--color-cream); color: var(--color-ink); }
.btn:active { transform: translateY(1px); }
.btn--outline { background: transparent; color: var(--color-ink); }
.btn--outline:hover { background: var(--color-ink); color: var(--color-white); }
.on-dark .btn { background: var(--color-cream); color: var(--color-ink); border-color: var(--color-cream); }
.on-dark .btn:hover { background: var(--color-lime); color: var(--color-ink); border-color: var(--color-lime); }
.on-dark .btn--outline { background: transparent; color: var(--color-cream); border-color: var(--color-cream); }
.on-dark .btn--outline:hover { background: var(--color-cream); color: var(--color-ink); }
.btn--lg { padding: 20px 28px; font-size: 18px; }
.btn--sm { padding: 13px 15px; font-size: 13px; min-height: 44px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--color-cream); }
.nav.is-stuck { border-bottom: var(--hairline); }
.nav__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 78px; gap: var(--sp-28); }
.nav__links { display: flex; justify-content: center; flex-wrap: nowrap; gap: clamp(14px, 1.6vw, 24px); }
.nav__links a {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; line-height: 1; white-space: nowrap;
  padding: 12px 0; position: relative;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--color-ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.logo-mask { display: block; height: 38px; width: 112px; background: var(--color-ink); -webkit-mask: url("assets/brand/FlushLogo-REV.png") no-repeat center / contain; mask: url("assets/brand/FlushLogo-REV.png") no-repeat center / contain; }
.logo-mask--cream { background: var(--color-cream); }
.logo-mask--sm { height: 26px; width: 78px; }
.nav__burger { display: none; }
.nav__cta { padding: 13px 17px; font-size: 14px; justify-self: end; }

/* Mobile drawer */
.drawer { display: flex; position: fixed; inset: 0; z-index: 60; background: var(--color-cream); padding: var(--sp-20); flex-direction: column; gap: var(--sp-20); transform: translateY(-100%); transition: transform var(--dur-slow) var(--ease-out); }
.drawer[hidden] { display: flex; visibility: hidden; }
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: 58px; }
.drawer__links { display: flex; flex-direction: column; overflow-y: auto; }
.drawer a.t-h-lg { display: block; padding: 12px 0; border-bottom: var(--hairline); font-size: clamp(22px, 6vw, 32px); }
.drawer a[aria-current="page"] { color: var(--color-ink); background: linear-gradient(var(--color-lime), var(--color-lime)) no-repeat 0 100% / 100% 6px; }
.drawer__foot { margin-top: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 120px); display: grid; place-items: center; text-align: center; color: var(--color-cream); overflow: hidden; background: var(--color-ink); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(45,57,22,.42); }
.hero__media::after { z-index: 1; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__tag { margin-top: var(--sp-20); color: var(--color-lime); }
.hero__content { position: relative; z-index: 2; padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(120px, 18vh, 200px); }
.hero__title { font-size: var(--text-display); }
.hero__sub { margin: var(--sp-16) auto 0; max-width: 620px; }
.hero__actions { margin-top: var(--sp-32); }
.hero .btn { background: var(--color-cream); color: var(--color-ink); border-color: var(--color-cream); }
.hero .btn:hover { background: var(--color-lime); border-color: var(--color-lime); }
.hero .btn--outline { background: transparent; color: var(--color-cream); }
.hero .btn--outline:hover { background: var(--color-cream); color: var(--color-ink); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 8px; color: var(--color-cream); text-align: center; }
.hero__arrow { width: 22px; height: 36px; color: var(--color-lime); animation: scrollCue 1.4s ease-in-out infinite; }
.stamp--hero { right: clamp(16px, 4vw, 56px); bottom: clamp(24px, 6vh, 64px); }
.hero__toggle { position: absolute; left: clamp(16px, 4vw, 56px); bottom: 32px; z-index: 3; width: 44px; height: 44px; border: 1px solid var(--color-cream); background: rgba(45,57,22,.6); color: var(--color-cream); display: grid; place-items: center; }
.hero__toggle svg { width: 20px; height: 20px; }
.hero__toggle .icon-play { display: none; }
.hero__toggle[aria-pressed="true"] .icon-play { display: block; }
.hero__toggle[aria-pressed="true"] .icon-pause { display: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--color-white); border-top: var(--hairline); border-bottom: var(--hairline); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.marquee__track { display: inline-flex; align-items: center; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; padding: 0 var(--sp-28); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: .1em; line-height: 1; }
.marquee__item .logo-mask { display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Intro block ---------- */
.intro { text-align: center; padding: var(--section-y) 0 clamp(80px, 10vw, 140px); }
.intro__mark { width: 56px; height: 56px; margin: 0 auto var(--sp-28); }
.intro p { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 18px; letter-spacing: 0.08em; line-height: 1.6; max-width: 720px; margin: 0 auto; }
.intro p + p { margin-top: var(--sp-19); }

/* ---------- Dark feature: golf ---------- */
.feature { position: relative; background: var(--color-ink); color: var(--color-cream); padding: 0 0 var(--section-y); }
.tear { position: absolute; left: 0; right: 0; height: 56px; width: 100%; z-index: 2; pointer-events: none; }
.tear--top { top: -1px; }
.tear--bottom { bottom: -1px; transform: scaleY(-1); }
.tear svg { width: 100%; height: 100%; }
.feature__media { position: relative; margin-top: -48px; z-index: 3; aspect-ratio: 16 / 9; max-height: 72vh; background: var(--color-ink); border: 1px solid var(--color-cream); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.stamp--swing { right: -20px; top: -40px; width: 170px; height: 170px; }
.feature__title { position: relative; z-index: 3; text-align: center; margin-top: calc(-0.42 * var(--text-display)); font-size: var(--text-display); color: var(--color-cream);
  background-image: radial-gradient(circle, var(--color-cream) 1.1px, transparent 1.4px), linear-gradient(var(--color-cream), var(--color-cream)); background-size: 6px 6px, 100% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature__title span { display: block; }
.feature__title .ghost { background-image: radial-gradient(circle, var(--color-cream) 0.8px, transparent 1.1px); background-size: 5px 5px; }
.feature__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--color-cream); }
.feature__stats > div { padding-top: var(--sp-20); border-right: 1px solid var(--color-cream-35); padding-right: var(--sp-20); }
.feature__stats > div:last-child { border-right: 0; }
.feature__stats .t-cap { color: var(--color-lime); }
.feature__stats .t-h-lg { margin-top: var(--sp-8); }
.feature__stats p { font-size: var(--text-body-sm); margin-top: var(--sp-8); color: var(--color-cream-70); }
.feature__cta { margin-top: var(--sp-50); text-align: center; }

/* ---------- Product grid ---------- */
.grid-section { padding: var(--section-y) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-20); margin-bottom: var(--sp-50); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(40px, 6vw, 88px); }
.section-head p { max-width: 420px; }
/* ---------- Booking ---------- */
.book { background: var(--color-white); border-top: var(--hairline); border-bottom: var(--hairline); padding: var(--section-y) 0; }
.book__head { text-align: center; max-width: 820px; margin: 0 auto var(--sp-50); }
.book__head h2 { font-size: clamp(56px, 10vw, 150px); }
.book__head p { margin-top: var(--sp-20); }
.bookbar { display: grid; grid-template-columns: repeat(4, 1fr) auto; border: var(--hairline); background: var(--color-cream); }
.bookbar label { display: flex; flex-direction: column; gap: 6px; padding: var(--sp-16) var(--sp-19); border-right: var(--hairline); }
.bookbar label span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-caption); letter-spacing: 0.12em; }
.bookbar select, .bookbar input { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 18px; color: var(--color-ink); background: transparent; border: 0; padding: 0; border-radius: 0; appearance: none; -webkit-appearance: none; width: 100%; min-height: 28px; }
.bookbar select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232d3916' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 20px; }
.bookbar .btn { border: 0; align-self: stretch; padding: 0 var(--sp-32); }
.book__frame { margin-top: var(--gutter); border: var(--hairline); background: var(--color-white); position: relative; }
.book__frame iframe { width: 100%; height: 1040px; border: 0; display: block; }
.book__frame .book__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--color-cream); pointer-events: none; transition: opacity var(--dur-base) linear; }
.book__frame.is-loaded .book__loading { opacity: 0; }
.book__note { display: flex; justify-content: space-between; gap: var(--sp-20); margin-top: var(--sp-15); flex-wrap: wrap; font-size: var(--text-body-sm); }
.book__note a { border-bottom: 1px solid var(--color-ink); }

/* ---------- Membership (dark) ---------- */
.members { position: relative; background: var(--color-ink); color: var(--color-cream); padding: var(--section-y) 0; }
.members__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.members__img { background: var(--color-white); border: 1px solid var(--color-cream); }
.members__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.members h2 { font-size: clamp(44px, 6.5vw, 96px); }
.members__lead { margin-top: var(--sp-20); }
.members__price { display: flex; align-items: baseline; gap: var(--sp-10); margin-top: var(--sp-28); color: var(--color-lime); flex-wrap: wrap; }
.members__price .t-display { font-size: clamp(56px, 7vw, 96px); line-height: 1; }
.perks { margin-top: var(--sp-28); border-top: 1px solid var(--color-cream-35); }
.perks li { padding: 14px 0; border-bottom: 1px solid var(--color-cream-35); display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-16); align-items: baseline; }
.perks li b { font-family: var(--font-display); font-weight: 900; font-size: 24px; color: var(--color-lime); letter-spacing: .02em; }
.members__actions { margin-top: var(--sp-32); display: flex; gap: var(--sp-16); flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.subscribe { padding: var(--section-y) 0; }
.subscribe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.subscribe h2 { font-size: clamp(40px, 5.5vw, 72px); }
.subscribe p { margin-top: var(--sp-16); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.form label { display: flex; flex-direction: column; gap: 6px; }
.form label span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--text-caption); letter-spacing: .12em; }
.form input { font: inherit; font-size: 16px; padding: 14px 16px; border: var(--hairline); background: var(--color-white); border-radius: 0; color: var(--color-ink); caret-color: var(--color-ink); }
.form input::placeholder { color: #6b7355; }
.form input:user-invalid { border-color: #b3261e; }
.form .full { grid-column: 1 / -1; }
.form__error { grid-column: 1 / -1; color: #b3261e; margin: 0; }
.form .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Footer ---------- */
.footer-links { background: var(--color-ink); color: var(--color-cream); padding: var(--sp-50) 0; }
.footer-links__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--gutter); }
.footer-links .t-cap { color: var(--color-lime); margin-bottom: var(--sp-10); }
.footer-links a:hover { border-bottom: 1px solid var(--color-cream); }
.footer-links li { padding: 8px 0; font-size: var(--text-body-sm); }
.footer-links a, .footer-band__meta a { display: inline-block; padding: 6px 0; }
.footer-links .tag { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: var(--text-body-sm); margin-top: var(--sp-10); }
.footer-links .footer__book { margin-top: var(--sp-20); padding: var(--sp-15) var(--sp-19); background: var(--color-lime); color: var(--color-ink); border-color: var(--color-lime); }
.footer-links .footer__book:hover { background: var(--color-cream); border-color: var(--color-cream); }
.footer-band { background: var(--color-lime); color: var(--color-ink); padding: clamp(48px, 7vw, 100px) 0 var(--sp-32); text-align: center; overflow: hidden; }
.footer-band__line { font-size: clamp(40px, 7.6vw, 116px); white-space: nowrap; }
.footer-band__meta { display: flex; justify-content: space-between; gap: var(--sp-20); flex-wrap: wrap; margin-top: clamp(32px, 5vw, 64px); border-top: var(--hairline); padding-top: var(--sp-16); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: var(--text-caption); }
.footer-band__meta a:hover { border-bottom: 1px solid var(--color-ink); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__inner { grid-template-columns: auto 1fr auto; height: 68px; }
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .logo-mask { justify-self: center; }
  .nav__cta { padding: 12px 14px; font-size: 13px; }
}
@media (max-width: 1024px) {
  .feature__stats { grid-template-columns: repeat(2, 1fr); }
  .feature__stats > div:nth-child(2) { border-right: 0; }
  .footer-links__grid { grid-template-columns: 1fr 1fr; }
  .bookbar { grid-template-columns: repeat(2, 1fr); }
  .bookbar .btn { grid-column: 1 / -1; padding: var(--sp-19); border-top: var(--hairline); }
  .bookbar label:nth-child(2n) { border-right: 0; }
  .bookbar label { border-bottom: var(--hairline); }
  .stamp--swing { right: 8px; top: 8px; width: 120px; height: 120px; }
}
@media (max-width: 768px) {
  .nav__inner { height: 64px; gap: var(--sp-10); }
  .logo-mask { height: 30px; width: 90px; }
  .hero { min-height: calc(100svh - 104px); }
  .hero__title { font-size: clamp(64px, 18vw, 110px); }
  .hero__content { padding-bottom: 140px; }
  .hero__actions .line__in { flex-direction: column; align-items: stretch; }
  .hero__scroll { display: none; }
  .stamp--hero { display: none; }
  .stamp__core { font-size: 22px; }
  .hero__toggle { bottom: 84px; }
  .feature__title { font-size: clamp(40px, 12vw, 96px); margin-top: -0.4em; }
  .feature__media { margin-top: -24px; aspect-ratio: 4 / 3; }
  .members__grid, .subscribe__grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .book__frame iframe { height: 900px; }
  .footer-band__line { white-space: normal; }
  .marquee__item { font-size: 15px; padding: 0 18px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--color-ink); color: var(--color-cream); text-align: center; padding: 16px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; border-top: 1px solid var(--color-cream); }
  body { padding-bottom: 56px; }
}
@media (max-width: 480px) {
  .feature__stats { grid-template-columns: 1fr; }
  .feature__stats > div { border-right: 0; }
  .footer-links__grid { grid-template-columns: 1fr; }
  .bookbar { grid-template-columns: 1fr; }
  .bookbar label { border-right: 0; }
}

/* =========================================================
   REDUCED MOTION: keep state and opacity, drop travel and loops
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal--zoom { transform: none; clip-path: none; opacity: 1; animation: none !important; }
  .line__in { transform: none; animation: none; }
  .stamp__ring, .hero__arrow, .marquee__track { animation: none; }
  .hero__slide { transition: none; }
  .drawer { transition: none; }
}

/* ---------- Section edges ----------
   Dark sections and the footer used to have torn-paper edges. They now have
   clean straight edges, marked with a lime rule along the top. */
.feature.on-dark, .partners.on-dark, .footer-links { border-top: 4px solid var(--color-lime); }

/* ---------- Footer: bottom line grouped in the centre, tighter lettering ---------- */
.footer-band__meta { justify-content: center; align-items: center; gap: 6px 28px; letter-spacing: .04em; }

/* ---------- Footer: more compact dark section (contact and page links) ---------- */
.footer-links { padding: 36px 0 40px; }
.footer-links li { padding: 2px 0; line-height: 1.4; }
.footer-links a { padding: 3px 0; }
.footer-links .t-cap { margin-bottom: 6px; }
.footer-links .footer__bookrow { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 14px; }
.footer-links .footer__bookrow .footer__book { margin-top: 0; }
.footer-links .footer__tm { width: 170px; height: auto; }
@media (max-width: 768px) {
  .footer-links__grid { row-gap: 28px; }
}

/* ---------- Top menu bar: lime strip along the bottom edge ---------- */
.nav, .nav.is-stuck { border-bottom: 4px solid var(--color-lime); }

/* ---------- Enquiry form: hidden spam trap (people never see it) ---------- */
.form .form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Book Golf: booking widget fits the screen ----------
   The widget scrolls on its own inside its frame. When the frame was taller than
   the screen, its bottom (and the next-step buttons) sat off-screen and phones
   could only scroll the page from the thin edges. Now the frame is never taller
   than the visible screen below the top menu bar, so the whole widget is in view
   once it is lined up, and every swipe inside it just moves through the booking. */
.book__frame iframe { height: 1040px; height: min(1040px, calc(100vh - 96px)); height: min(1040px, calc(100svh - 96px)); min-height: 520px; }
@media (max-width: 768px) {
  .book__frame iframe { height: 900px; height: calc(100vh - 72px); height: calc(100svh - 72px); }
  /* Hide the bottom "Book golf" bar while the booking widget is on screen (it covered the widget's buttons). */
  .sticky-cta { transition: transform .25s ease; }
  body.is-booking .sticky-cta { transform: translateY(100%); pointer-events: none; }
}
