/* ============================================================
   MILLIKEN'S IRRIGATION & LAWN MAINTENANCE
   The Groundskeeper's Club - premium design system v2
   Zodiak wedge-serif editorial voice, Satoshi body, chalk mono
   annotations. Deep turf ink, emerald field, chalk paper.
   Rounded sheets, grain, drifting mow hairlines, spring motion.
   See DESIGN.md. Stamped pages come from build/build.js.
   ============================================================ */

/* ---------- fonts ---------- */
@font-face { font-family: 'Zodiak'; src: url('../fonts/zodiak-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('../fonts/zodiak-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('../fonts/zodiak-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('../fonts/zodiak-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url('../fonts/clash-display-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('../fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Big Shoulders'; src: url('../fonts/big-shoulders.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Norican'; src: url('../fonts/norican.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  /* grounds */
  --ink: #0e1b12;            /* deep turf ink */
  --ink-2: #142619;
  --ink-3: #1b3322;
  --chalk: #f6f8f3;
  --paper: #fcfdf9;
  --paper-warm: #edf2e3;
  /* the field */
  --field: #2e7d45;
  --field-deep: #226237;
  --field-bright: #3f9c58;
  --field-mist: #e2efe4;     /* pale emerald wash */
  /* accents */
  --teal: #1e8fa0;
  --teal-bright: #3BA9BD;  /* was var(--teal-bright); user asked slightly darker */           /* THE WATER RULE: only with water subjects */
  --teal-deep: #14707e;
  --gold: #e5b04c;           /* stars only */
  /* text */
  --body-ink: #22301f;
  --muted: #5b6a58;
  --muted-on-ink: #a9bcab;
  --muted-on-field: #eef6ef;
  /* lines */
  --line: rgba(14, 27, 18, 0.12);
  --line-strong: rgba(14, 27, 18, 0.22);
  --line-chalk: rgba(246, 248, 243, 0.18);
  --line-chalk-strong: rgba(246, 248, 243, 0.36);
  /* type */
  --display: 'Clash Display', 'Arial Narrow', sans-serif;
  --serif: 'Zodiak', Georgia, serif;
  --body: 'Satoshi', 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'Consolas', monospace;
  /* shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;
  /* elevation (green-tinted, layered) */
  --shadow-sm: 0 1px 2px rgba(14, 27, 18, 0.05), 0 4px 14px rgba(14, 27, 18, 0.07);
  --shadow-md: 0 2px 6px rgba(14, 27, 18, 0.06), 0 14px 34px rgba(14, 27, 18, 0.13);
  --shadow-lg: 0 8px 22px rgba(14, 27, 18, 0.12), 0 34px 80px rgba(14, 27, 18, 0.24);
  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.22s;
  --dur-med: 0.55s;
  --dur-slow: 0.95s;
  /* rhythm */
  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --band-y: clamp(54px, 7vw, 104px);
  --header-h: 94px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  color: var(--body-ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
::selection { background: var(--field); color: var(--chalk); }
:focus-visible { outline: 3px solid var(--field); outline-offset: 3px; border-radius: 4px; }
.band--ink :focus-visible, .band--field :focus-visible, .site-footer :focus-visible { outline-color: var(--chalk); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 1200;
  background: var(--ink); color: var(--chalk); padding: 10px 18px;
  font-family: var(--mono); font-size: 0.8125rem; border-radius: var(--r-pill);
}
.skip-link:focus { left: 12px; }

/* ---------- grain (site-wide, fixed, very quiet) ---------- */
.grain {
  position: fixed; inset: -60px; z-index: 2000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 140px 140px;
  animation: grainShift 9s steps(9) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-70px, 56px); }
}

/* ---------- typography ----------
   v2.3: headings lead with the Zodiak serif (Mahalic runs grotesk-led
   headings; the serif-led stack is ours). Two voices = weight + italic
   inside one family; the hero alone keeps Big Shoulders. */
h1, h2, h3, .headline {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 4.7vw, 4.3rem); }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.8rem); line-height: 1.08; font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 700; line-height: 1.16; }
h4 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
p + p { margin-top: 1em; }

/* the accent voice: oblique serif, colored - the second voice inside headings */
h1 .accent, h2 .accent, h3 .accent { transition: color 0.3s var(--ease-out), filter 0.3s var(--ease-out); }
h1:hover .accent, h2:hover .accent, h3:hover .accent { filter: brightness(1.22) saturate(1.15); }
/* v2.5 varsity accent: the accent voice IS a font change - Big Shoulders
   800 caps in teal inside the serif headings. No underlines anywhere;
   the double-font contrast alone carries the emphasis. The italic voice
   lives on in quotes, numerals and the ghost word only. */
.accent {
  font-family: 'Big Shoulders', 'Clash Display', sans-serif;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.024em;
  font-size: 1em;
  line-height: 0.92;
  padding-right: 0.04em;
  color: var(--teal-deep);
}
/* the script voice (Rockwall-style flourish): hero accent, CTA closers,
   polaroid caption, footer signature. NEVER char-split script - the
   joins break (wave charify and kinetic both skip .accent for this). */
.band--ink .accent, .band--field .accent, .hero .accent, .page-hero .accent { color: var(--teal-bright); }
.band--field .accent { color: var(--chalk); }

/* varsity words: the hero's Big Shoulders voice at section scale.
   Used sparingly (a few headings per site, never every one) for
   double-font diversity against the serif base. */
.bs {
  font-family: 'Big Shoulders', 'Clash Display', sans-serif;
  font-weight: 800; font-style: normal;
  text-transform: uppercase;
  font-size: 1.14em; line-height: 0.92;
  letter-spacing: 0.022em;
}

/* frosted sec-head card for photo-backed bands */
.sec-head--frost {
  display: inline-block;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 3.4vw, 40px);
  background: rgba(246, 248, 243, 0.07);
  border: 1px solid var(--line-chalk-strong);
  border-radius: var(--r-md);
  backdrop-filter: blur(18px) saturate(1.2) brightness(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.2) brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(246, 248, 243, 0.14), var(--shadow-md);
}
.water .accent { color: var(--teal); }
.water .band--field .accent, .water .band--field.accent, .water.band--field .accent, .band--field.water .accent, .water .cta-panel .accent { color: var(--chalk); }
.water .band--field .step-no, .band--field.water .step-no { color: var(--chalk); opacity: 0.85; }
.water .band--field .checklist li::before, .band--field.water .checklist li::before { background: rgba(246, 248, 243, 0.08); border-color: var(--line-chalk-strong); }
.water .band--field .checklist li::after, .band--field.water .checklist li::after { border-color: var(--chalk); }
.water .page-hero .accent, .water .band--ink .accent { color: var(--teal-bright); }
.water .band--ink .accent { color: var(--teal); filter: brightness(1.35); }

/* (u-chalk underline device retired in v2.5: emphasis is now carried by
   the accent's font change, never by underlines) */

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.58; font-weight: 400;
  color: var(--muted); max-width: 56ch;
}
.band--ink .lede, .band--field .lede, .hero .lede, .page-hero .lede { color: var(--muted-on-ink); }
.band--field .lede { color: var(--muted-on-field); }
.measure { max-width: 66ch; }

.mono-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--field-deep);
}
.eyebrow::before {
  content: ''; width: 22px; height: 1.5px; border-radius: 2px;
  background: currentColor; opacity: 0.65;
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
/* eyebrows write on like chalk when their reveal block enters */
html.js .rv .eyebrow { clip-path: inset(-10% 102% -10% -2%); transition: clip-path 0.85s var(--ease-inout) 0.12s; }
html.js .rv.on .eyebrow { clip-path: inset(-10% -2% -10% -2%); }
html.shotmode .eyebrow { clip-path: none !important; }
.sec-head:hover .eyebrow::before { transform: scaleX(1.55); }
.band--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--teal-bright); }
.band--field .eyebrow { color: var(--chalk); }
.band--field .eyebrow { color: var(--chalk); }
.water .band--paper .eyebrow { color: var(--teal-deep); }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.band { padding-block: var(--band-y); position: relative; }
.band--tight { padding-block: calc(var(--band-y) * 0.55); }

/* grounds */
.band--paper { background: var(--chalk); }
.band--paper--warm { background: var(--paper-warm); }
.band--ink { background: var(--ink); color: var(--chalk); }
.band--ink p { color: var(--muted-on-ink); }
.band--ink h2, .band--ink h3 { color: var(--chalk); }
.band--field {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(63, 156, 88, 0.5), transparent 60%),
    linear-gradient(160deg, var(--field) 12%, var(--field-deep) 88%);
  color: var(--chalk);
}
.band--field p { color: var(--muted-on-field); }
.band--field h2, .band--field h3, .band--field h4 { color: var(--chalk); }

/* photo-backed band: image under a deep ink wash */
.band--photo { position: relative; color: var(--chalk); overflow: clip; background: var(--ink); }
.band--photo .band-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.85) brightness(0.9);
}
.band--photo .band-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,18,0.88), rgba(14,27,18,0.82)); }
.band--photo h2, .band--photo h3 { color: var(--chalk); }
.band--photo p { color: var(--muted-on-ink); }

/* drifting diagonal mow hairlines - the stripe identity, whispered */
.mow-lines { overflow: clip; }
.mow-lines::before {
  content: ''; position: absolute; inset: -18%;
  background-image: repeating-linear-gradient(115deg, rgba(246, 248, 243, 0.05) 0 2px, transparent 2px 64px);
  background-size: 190% 190%;
  animation: mowDrift 36s linear infinite;
  pointer-events: none;
}
.band--paper.mow-lines::before, .band--paper--warm.mow-lines::before {
  background-image: repeating-linear-gradient(115deg, rgba(14, 27, 18, 0.035) 0 2px, transparent 2px 64px);
}
@keyframes mowDrift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 42%; }
}

/* rounded sheet: a section that lifts over the one before it */
.sheet { border-radius: clamp(22px, 3.6vw, 44px) clamp(22px, 3.6vw, 44px) 0 0; margin-top: calc(clamp(22px, 3.6vw, 44px) * -1); z-index: 2; }

.grid { display: grid; gap: clamp(18px, 2.6vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.sec-head { max-width: 760px; margin-bottom: clamp(24px, 3.4vw, 42px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.sec-head--row {
  max-width: none; flex-direction: row; align-items: flex-end;
  justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.sec-head--row > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.01em;
  padding: 16px 28px; border-radius: var(--r-pill);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
  will-change: transform;
  min-height: 46px;
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--field { background: var(--field); color: var(--chalk); box-shadow: var(--shadow-sm); overflow: clip; }
.btn--field::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%); background-size: 250% 250%; background-position: -60% -60%; opacity: 0; pointer-events: none; }
.btn--field:hover { background: var(--field-deep); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--field:hover::after { opacity: 1; background-position: 160% 160%; transition: background-position 0.7s var(--ease-out), opacity 0.1s var(--ease-out); }
.btn--chalk { border: 1.5px solid var(--line-chalk-strong); color: var(--chalk); background: rgba(246, 248, 243, 0.06); backdrop-filter: blur(8px); overflow: clip; }
.btn--chalk::before { content: ''; position: absolute; inset: 0; background: var(--chalk); transform: translateY(101%); transition: transform 0.35s var(--ease-out); z-index: -1; border-radius: inherit; }
.btn--chalk:hover { border-color: var(--chalk); color: var(--ink); transform: translateY(-2px); }
.btn--chalk:hover::before { transform: translateY(0); }
.btn--ink { border: 1.5px solid var(--line-strong); color: var(--ink); overflow: clip; }
.btn--ink::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform 0.35s var(--ease-out); z-index: -1; border-radius: inherit; }
.btn--ink:hover { border-color: var(--ink); color: var(--chalk); transform: translateY(-2px); }
.btn--ink:hover::before { transform: translateY(0); }
.btn--solid-ink { background: var(--ink); color: var(--chalk); }
.btn--solid-ink:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.water .btn--field { background: var(--teal); }
.water .btn--field:hover { background: var(--teal-deep); }

.hero-ctas, .cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- loader ---------- */
html:not(.js) #loader { display: none; }
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 26px;
}
#loader .loader-logo {
  width: clamp(150px, 20vw, 210px); height: auto;
  clip-path: inset(100% 0 0 0);
  filter: drop-shadow(0 0 22px rgba(63, 156, 88, 0.35));
  animation: logoGrow 0.9s var(--ease-spring) 0.15s forwards;
}
#loader.is-repeat .loader-logo { animation-duration: 0.4s; animation-delay: 0.02s; }
@keyframes logoGrow {
  0% { clip-path: inset(100% 0 0 0); opacity: 0; transform: translateY(10px) scale(0.94); }
  55% { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; transform: translateY(0) scale(1); }
}
#loader .loader-line {
  width: 210px; height: 2px; border-radius: 2px;
  background: var(--line-chalk); position: relative; overflow: hidden;
}
#loader .loader-line::after {
  content: ''; position: absolute; inset: 0 100% 0 0;
  background: var(--field-bright); border-radius: 2px;
  animation: loadLine 1.3s var(--ease-inout) forwards;
}
@keyframes loadLine { 0% { right: 100%; } 62% { right: 10%; } 100% { right: 0; } }
#loader .loader-tag {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-on-ink);
  opacity: 0; animation: tagIn 0.5s var(--ease-out) 0.55s forwards;
}
@keyframes tagIn { to { opacity: 1; } }
#loader.is-repeat .loader-logo { animation-duration: 0.4s; animation-delay: 0.02s; }
#loader.is-repeat .loader-line::after { animation-duration: 0.55s; }
#loader.is-done { animation: loaderOut 0.65s var(--ease-inout) forwards; pointer-events: none; }
@keyframes loaderOut { to { clip-path: inset(0 0 100% 0); } }
#loader { clip-path: inset(0 0 0 0); }
body.is-loading { overflow: hidden; }

/* ---------- custom cursor ---------- */
@property --crs { syntax: '<number>'; initial-value: 0.55; inherits: false; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  pointer-events: none; z-index: 9990;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--field-bright);
  box-shadow: 0 0 0 1.5px rgba(246, 248, 243, 0.7);
  transition: opacity 0.2s var(--ease-out);
}
.cursor-ring {
  /* scale rides a registered var INSIDE the JS transform string, so the
     per-frame translate3d never clobbers hover scaling (and never re-creates
     the old independent-property wobble) */
  --crs: 0.55;
  width: 58px; height: 58px;
  transition: opacity 0.2s var(--ease-out), background-color 0.25s var(--ease-out), --crs 0.28s var(--ease-out);
  display: flex; align-items: center; justify-content: center;
}
.cursor-ring::before {
  content: ''; position: absolute; inset: 0;
  border: 1.5px dashed rgba(63, 156, 88, 0.85);
  border-radius: 50%;
  filter: drop-shadow(0 0 1px rgba(14, 27, 18, 0.4));
  animation: cursorSpin 14s linear infinite;
  transition: border-color 0.25s var(--ease-out);
}
@keyframes cursorSpin { to { transform: rotate(360deg); } }
.cursor-ring__label {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--chalk); opacity: 0; transition: opacity 0.2s var(--ease-out); white-space: nowrap;
}
.has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: none; }
.cursor-ring.is-hover { --crs: 1; }
.cursor-ring.is-hover::before { border-style: solid; animation-play-state: paused; }
.cursor-ring.is-label { background: rgba(14, 27, 18, 0.85); border-radius: 50%; }
.cursor-ring.is-label::before { border-style: solid; border-color: var(--field-bright); }
.cursor-ring.is-label .cursor-ring__label { opacity: 1; }
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }
.water .cursor-dot { background: var(--teal); }
.water .cursor-ring::before { border-color: rgba(30, 143, 160, 0.85); }
.water .cursor-ring.is-label::before { border-color: var(--teal); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: transform 0.4s var(--ease-out), background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 248, 243, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 18px; max-width: 1380px;
}
/* over-hero state: chalk text until scrolled */
.site-header:not(.scrolled):not(.solid) { color: var(--chalk); }
.site-header.scrolled, .site-header.solid { color: var(--ink); }
.site-header.solid:not(.scrolled) { background: var(--ink); color: var(--chalk); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 60px; width: auto; transition: transform 0.35s var(--ease-spring); }
.brand .logo-on-light { display: none; }
.site-header.scrolled .brand .logo-on-dark { display: none; }
.site-header.scrolled .brand .logo-on-light { display: block; }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }

.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-desktop > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  white-space: nowrap;
}
.site-header.scrolled .nav-desktop > a:hover, .site-header.scrolled .nav-drop > button:hover,
.site-header.scrolled .nav-drop.open > button { background: rgba(14, 27, 18, 0.07); }
.site-header:not(.scrolled) .nav-desktop > a:hover, .site-header:not(.scrolled) .nav-drop > button:hover,
.site-header:not(.scrolled) .nav-drop.open > button { background: rgba(246, 248, 243, 0.12); }
.nav-drop { position: relative; }
.nav-desktop > a[aria-current="page"] { background: rgba(46, 125, 69, 0.14); color: var(--field-bright); }
.site-header.scrolled .nav-desktop > a[aria-current="page"] { background: var(--field-mist); color: var(--field-deep); }
.nav-drop > button svg { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.25s var(--ease-out); }
.nav-drop.open > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 300px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.nav-drop.open .drop-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.drop-panel a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  font-size: 0.88rem; font-weight: 600;
  transition: background-color 0.18s var(--ease-out);
}
.drop-panel a:hover { background: var(--field-mist); }
.drop-panel a .drop-ico {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  background: var(--field-mist); color: var(--field-deep);
  display: flex; align-items: center; justify-content: center;
}
.drop-panel a .drop-ico svg { width: 17px; height: 17px; }
.drop-panel a small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.drop-panel .drop-all {
  border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--field-deep); justify-content: center;
}

/* all-pages index: grid icon opens a full site directory */
.nav-drop--index > button { padding: 10px 11px; }
.nav-drop--index > button svg.grid { width: 17px; height: 17px; opacity: 1; }
.nav-drop--index.open > button svg.grid { transform: none; }
.drop-panel--index {
  left: auto; right: 0; transform: translateY(8px);
  width: min(1020px, calc(100vw - 48px));
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px 16px; padding: 14px;
  max-height: calc(100vh - var(--header-h) - 26px); overflow: auto;
}
.nav-drop.open .drop-panel--index { transform: translateY(0); }
.drop-panel--index h5 {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
  padding: 8px 10px 5px; border-bottom: 1px solid var(--line); margin-bottom: 5px;
}
.drop-panel--index a { padding: 6px 10px; font-size: 0.83rem; border-radius: 9px; }

.header-cta { display: inline-flex; }
.header-cta .btn { padding: 12px 22px; font-size: 0.85rem; min-height: 42px; }
.site-header:not(.scrolled):not(.solid) .header-cta .btn--field { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }

.header-phone {
  display: none;
  height: 46px; padding: 0 18px; gap: 8px; border-radius: var(--r-pill);
  background: var(--field); color: var(--chalk);
  font-family: var(--body); font-weight: 700; font-size: 0.9rem;
  align-items: center; justify-content: center; flex: none;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease-spring);
}
.header-phone:hover { transform: scale(1.05); }
.header-phone svg { width: 17px; height: 17px; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(246, 248, 243, 0.1); border: 1.5px solid var(--line-chalk-strong); color: currentColor;
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center; flex: none;
  transition: transform 0.3s var(--ease-spring), background-color 0.2s var(--ease-out);
}
.nav-toggle:hover { transform: scale(1.06); }
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 850;
  background: var(--ink); color: var(--chalk);
  padding: calc(var(--header-h) + 26px) var(--gutter) 32px;
  transform: translateY(-102%);
  transition: transform 0.55s var(--ease-inout);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px;
  font-family: var(--serif); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-chalk);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.mobile-nav > a.sub { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--muted-on-ink); padding-left: 16px; }
.mobile-nav.open > a { opacity: 1; transform: translateY(0); }
.mobile-nav.open > a.d1 { transition-delay: 0.06s; }
.mobile-nav.open > a.d2 { transition-delay: 0.12s; }
.mobile-nav.open > a.d3 { transition-delay: 0.18s; }
.mobile-nav .mobile-cta { margin-top: 28px; padding-bottom: 14px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav .mobile-cta .btn {
  width: 100%; justify-content: center;
  min-height: 56px; font-size: 1.02rem;
  opacity: 0; transition: opacity 0.4s var(--ease-out) 0.24s;
}
.mobile-nav .mobile-cta .btn--chalk { border-color: rgba(246, 248, 243, 0.45); }
.mobile-nav.open .mobile-cta .btn { opacity: 1; }

/* the calls-first block at the top of the mobile menu */
.mobile-call {
  margin-bottom: 22px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out) 0.05s, transform 0.45s var(--ease-out) 0.05s;
}
.mobile-nav.open .mobile-call { opacity: 1; transform: translateY(0); }
.btn--call {
  width: 100%; justify-content: center;
  min-height: 58px; font-size: 1.06rem; letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.btn--call svg { width: 19px; height: 19px; }
.mobile-call-note {
  display: block; margin-top: 11px; text-align: center;
  font-family: var(--mono); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted-on-ink);
}

/* sticky call bar: mobile only, the shortest path to a ring */
.call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 840;
  gap: 10px;
  padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(14, 27, 18, 0.93);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-chalk-strong);
}
.call-bar .btn { justify-content: center; min-height: 50px; font-size: 0.95rem; padding: 12px 16px; }
.call-bar .btn--field { flex: 1.45; }
.call-bar .btn--chalk { flex: 1; border-color: rgba(246, 248, 243, 0.4); color: var(--chalk); }
.call-bar .btn svg { width: 17px; height: 17px; }
html.shotmode .call-bar { display: none !important; }

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { display: flex; }
  .header-cta { display: none; }
}

/* ---------- hero (homepage clubhouse) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--chalk);
  padding-top: calc(var(--header-h) + clamp(36px, 5vw, 66px));
  padding-bottom: clamp(44px, 5.5vw, 76px);
  overflow: clip;
}
/* full-bleed VIDEO ground under a centered ink wash (v2.7: no side cards,
   centered composition - structurally nothing like the agency's other sites) */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg img, .hero-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-bg video { z-index: 1; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(110% 85% at 50% 42%, rgba(14, 27, 18, 0.77) 0%, rgba(14, 27, 18, 0.62) 55%, rgba(14, 27, 18, 0.84) 100%),
    linear-gradient(0deg, rgba(14, 27, 18, 0.95) 0%, transparent 26%);
}
html.shotmode .hero-bg video { display: none !important; }
@media (prefers-reduced-motion: reduce) { .hero-bg video { display: none; } }
.hero::before {
  content: ''; position: absolute; inset: -18%; z-index: 1;
  background-image: repeating-linear-gradient(115deg, rgba(246, 248, 243, 0.045) 0 2px, transparent 2px 72px);
  background-size: 190% 190%;
  animation: mowDrift 40s linear infinite;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(52% 46% at 82% 8%, rgba(63, 156, 88, 0.14), transparent 70%),
    radial-gradient(40% 44% at 8% 88%, rgba(30, 143, 160, 0.09), transparent 70%);
}
.hero .wrap { z-index: 3; }
.hero--center {
  min-height: max(88vh, 620px);
  display: flex; align-items: center;
}
.hero--center .wrap {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
/* the club crest opens the centered stack */
.hero-crest {
  width: clamp(66px, 7vw, 94px); height: auto;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(246, 248, 243, 0.22);
  margin-bottom: 18px;
}
.hero--center h1 { margin-top: 20px; }
.hero--center .lede { max-width: 54ch; margin-inline: auto; }
.hero--center .hero-ctas, .hero--center .proof-row { justify-content: center; }
/* centered label needs no leading rule, and video frames vary: shadow it */
.hero--center .eyebrow::before { display: none; }
.hero--center .eyebrow { text-shadow: 0 1px 14px rgba(14, 27, 18, 0.85); }
@media (max-width: 760px) {
  /* keep the last proof chip clear of the fixed chat launcher on first paint */
  .hero--center { padding-bottom: 120px; }
  /* and hold the launcher back until the visitor scrolls past the hero */
  body:has(.hero--center):not(.past-hero) .gk-launch {
    opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.7);
  }
}
.hero .photo-tag.hero-tag { position: absolute; left: auto; right: 18px; top: auto; bottom: 14px; z-index: 3; }
.hero h1 {
  font-family: 'Big Shoulders', 'Clash Display', sans-serif;
  font-size: clamp(3rem, 6.4vw, 6.4rem);
  line-height: 0.98; font-weight: 800;
  letter-spacing: 0.014em;
  text-transform: uppercase;
  max-width: 17ch;
}
.hero h1 .accent {
  font-family: 'Norican', 'Brush Script MT', cursive;
  font-weight: 400; font-size: 1em;
  letter-spacing: 0; text-transform: capitalize; line-height: 1;
}
/* script descenders and swashes need looser word-mask clipping */
.hero h1 .accent .wline { clip-path: inset(-0.5em -0.4em -0.34em -0.22em); }
.hero .lede { margin-top: 22px; }
.hero .hero-ctas { margin-top: 32px; }

.proof-row { margin-top: clamp(34px, 4vw, 52px); display: flex; gap: 12px; flex-wrap: wrap; }
.proof-chip {
  display: flex; align-items: center; gap: 11px;
  background: rgba(246, 248, 243, 0.07);
  border: 1px solid var(--line-chalk);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 12px 16px;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.proof-chip:hover { transform: translateY(-3px); border-color: var(--line-chalk-strong); background: rgba(246, 248, 243, 0.1); }
.proof-chip > svg { width: 17px; height: 17px; color: var(--field-bright); flex: none; }
.proof-chip--rating > svg { color: var(--gold); }
.proof-chip b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.1; color: var(--chalk); }
.proof-chip span { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-on-ink); }

@media (max-width: 980px) {
  .hero--center { min-height: max(78vh, 560px); }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line-chalk);
  background: var(--ink-2);
  overflow: clip;
}
.marquee--paper { background: var(--chalk); border-color: var(--line); color: var(--ink); }
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex; align-items: center; gap: 16px;
  padding: 17px 30px;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.11em; text-transform: uppercase;
  white-space: nowrap; color: var(--muted-on-ink);
}
.marquee--paper .marquee__item { color: var(--muted); }
.marquee__item svg { width: 13px; height: 13px; color: var(--field-bright); }
.marquee--paper .marquee__item svg { color: var(--field); }
/* the club emblem paces the ticker */
.mq-disc {
  width: 21px; height: 21px; border-radius: 50%; flex: none;
  align-self: center; opacity: 0.95;
}

/* ---------- kinetic type ---------- */
.kt-word { display: inline-block; white-space: nowrap; }
.kt-char { display: inline-block; transition: transform 0.32s var(--ease-out); will-change: transform; }

/* flip word */
.flip-word { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; height: 1.06em; }
.flip-word__inner { display: block; transition: transform 0.55s var(--ease-inout); }
.flip-word__inner span { display: block; height: 1.06em; }

/* ---------- reveals ---------- */
.js .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out), filter 0.7s var(--ease-out);
}
.rv.on { opacity: 1; transform: translateY(0); }
.js figure.rv, .js .rv--blur { filter: blur(9px); }
figure.rv.on, .rv--blur.on { filter: blur(0); }
.rv.d1 { transition-delay: 0.09s; }
.rv.d2 { transition-delay: 0.18s; }
.rv.d3 { transition-delay: 0.27s; }

/* ---------- score strip (the scoreboard - Milliken signature) ---------- */
.score-strip { background: transparent; position: relative; z-index: 3; }
.score-strip .wrap { max-width: 1180px; }
.score-panel {
  background: var(--ink);
  color: var(--chalk);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: clip;
  position: relative;
}
.score-panel::before {
  content: ''; position: absolute; inset: -30%;
  background-image: repeating-linear-gradient(115deg, rgba(246, 248, 243, 0.04) 0 2px, transparent 2px 58px);
  pointer-events: none;
}
.score-strip--flush .score-panel { margin-top: calc(clamp(30px, 5vw, 64px) * -1); }
.tally {
  padding: clamp(24px, 3vw, 38px) clamp(18px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--line-chalk);
  position: relative;
}
.tally:last-child { border-right: none; }
.tally-brand {
  margin-top: 7px;
  display: inline-flex; align-items: center; gap: 4px;
  height: 18px; line-height: 0;
  transition: transform 0.35s var(--ease-out);
}
.tally-brand svg { width: 17px; height: 17px; }
.tally-brand .gold-row { display: inline-flex; gap: 3px; color: var(--gold); }
.tally-brand .gold-row svg { width: 14px; height: 14px; fill: currentColor; }
.tally:hover .tally-brand { transform: translateY(-2px); }
.tally b {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1;
  color: var(--chalk); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.tally b .suffix { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--field-bright); font-size: 0.62em; }
.tally span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted-on-ink); }
@media (max-width: 760px) {
  .score-panel { grid-template-columns: 1fr 1fr; }
  .tally:nth-child(2) { border-right: none; }
  .tally:nth-child(1), .tally:nth-child(2) { border-bottom: 1px solid var(--line-chalk); }
}

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 22px 20px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: clip;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.svc-card--row {
  flex-direction: row; align-items: center; gap: 16px;
  padding: 18px 20px;
}
.svc-card--row .svc-icon { width: 44px; height: 44px; border-radius: 12px; }
.svc-card--row h3 { font-size: 1.02rem; flex: 1; }
.svc-card--row .mono-label { margin-top: 0; padding-top: 0; border-top: none; }
.svc-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px 220px at calc(100% + 40px) -40px, rgba(46, 125, 69, 0.12), transparent 70%);
  opacity: 0; transition: opacity 0.45s var(--ease-out);
}
.svc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(46, 125, 69, 0.35); }
.svc-card:hover::before { opacity: 1; }
.svc-card .svc-num {
  position: absolute; top: -0.12em; right: 12px;
  font-family: var(--serif); font-weight: 900; font-size: 5rem; line-height: 1;
  color: var(--ink); opacity: 0.05; pointer-events: none;
  transition: opacity 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.svc-card:hover .svc-num { color: var(--field); opacity: 0.14; }
.svc-icon {
  width: 52px; height: 52px; flex: none;
  border-radius: 15px;
  background: var(--field-mist);
  border: 1px solid rgba(46, 125, 69, 0.22);
  color: var(--field-deep);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-spring), background-color 0.3s var(--ease-out);
}
.svc-card:hover .svc-icon { transform: rotate(-5deg) scale(1.07); }
.svc-icon svg { width: 24px; height: 24px; stroke: currentColor; }
.svc-card h3 { font-size: 1.22rem; letter-spacing: -0.01em; position: relative; transition: transform 0.35s var(--ease-out), color 0.3s var(--ease-out); }
.svc-card:hover h3 { transform: translateX(4px); }
.svc-card p { font-size: 0.9rem; line-height: 1.55; color: var(--muted); position: relative; }
.svc-card .mono-label {
  margin-top: auto; padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--field-deep); font-size: 0.66rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.svc-card .mono-label::after { content: '→'; font-family: var(--body); transition: transform 0.3s var(--ease-out); }
.svc-card:hover .mono-label::after { transform: translateX(5px); }
/* cards on dark grounds */
.band--ink .svc-card, .band--field .svc-card {
  background: rgba(246, 248, 243, 0.05);
  color: var(--chalk);
  border-color: var(--line-chalk);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.band--ink .svc-card:hover, .band--field .svc-card:hover { border-color: var(--line-chalk-strong); box-shadow: var(--shadow-lg); }
.band--ink .svc-card h3, .band--field .svc-card h3 { color: var(--chalk); }
.band--ink .svc-card p, .band--field .svc-card p { color: var(--muted-on-ink); }
.band--field .svc-card p { color: var(--muted-on-field); }
.band--ink .svc-card .svc-num, .band--field .svc-card .svc-num { color: var(--chalk); opacity: 0.06; }
.band--ink .svc-card .svc-icon, .band--field .svc-card .svc-icon {
  background: rgba(246, 248, 243, 0.08); border-color: var(--line-chalk); color: var(--field-bright);
}
.band--field .svc-card .svc-icon { color: var(--chalk); }
.band--ink .svc-card .mono-label, .band--field .svc-card .mono-label { border-top-color: var(--line-chalk); color: var(--field-bright); }
.band--field .svc-card .mono-label { color: var(--chalk); }
.water .svc-card .svc-icon { color: var(--teal-deep); background: rgba(30, 143, 160, 0.1); border-color: rgba(30, 143, 160, 0.25); }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split figure { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.7s var(--ease-out); }
.split figure:hover img { transform: scale(1.045); }
.photo-tag--syn { right: auto; left: 14px; opacity: 0.85; }
.photo-tag {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  background: rgba(14, 27, 18, 0.78); color: var(--chalk);
  backdrop-filter: blur(6px);
  padding: 8px 13px; border-radius: var(--r-pill);
}
.body-copy .checklist { margin-top: 18px; }

/* ---------- checklist ---------- */
.checklist { display: flex; flex-direction: column; gap: 4px; }
.checklist li {
  position: relative; padding: 7px 0 7px 32px;
  font-size: 0.98rem; line-height: 1.5;
}
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--field-mist);
  border: 1px solid rgba(46, 125, 69, 0.35);
}
.checklist li::after {
  content: ''; position: absolute; left: 5px; top: 15px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--field-deep); border-bottom: 2px solid var(--field-deep);
  transform: rotate(-45deg);
}
.band--ink .checklist li::before, .band--field .checklist li::before { background: rgba(246, 248, 243, 0.08); border-color: var(--line-chalk-strong); }
.band--ink .checklist li::after, .band--field .checklist li::after { border-color: var(--field-bright); }
.band--field .checklist li::after { border-color: var(--chalk); }
.water .checklist li::before { background: rgba(30, 143, 160, 0.08); border-color: rgba(30, 143, 160, 0.4); }
.water .checklist li::after { border-color: var(--teal-deep); }

/* ---------- step rows ---------- */
.step-row {
  display: grid; grid-template-columns: 92px 1fr; gap: clamp(18px, 3vw, 42px);
  padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background-color 0.3s var(--ease-out);
  border-radius: var(--r-sm);
}
.band--ink .step-row, .band--field .step-row { border-top-color: var(--line-chalk); }
.step-row:hover { background: rgba(46, 125, 69, 0.045); }
.band--ink .step-row:hover, .band--field .step-row:hover { background: rgba(246, 248, 243, 0.04); }
.step-no {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1;
  color: var(--field);
}
.band--ink .step-no { color: var(--field-bright); }
.band--field .step-no { color: var(--chalk); opacity: 0.85; }
.water .step-no { color: var(--teal); }
.step-row h3 { margin-bottom: 8px; }
@media (max-width: 640px) { .step-row { grid-template-columns: 54px 1fr; gap: 14px; } }

/* ---------- quote cards ---------- */
.quote-card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote-card .stars { display: flex; gap: 3px; color: var(--gold); }
.quote-card .stars svg { width: 15px; height: 15px; fill: currentColor; }
.quote-card blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.12rem; line-height: 1.5; color: var(--body-ink);
  margin: 0;
}
.quote-card .by { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote-card .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--chalk);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 0.95rem;
}
.quote-card:nth-child(2) .avatar { background: var(--field-deep); }
.quote-card:nth-child(3) .avatar { background: var(--teal-deep); }
.quote-card .by > div b { display: block; font-size: 0.92rem; font-weight: 700; }
.quote-card .by > div span { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.band--ink .quote-card {
  background: rgba(246, 248, 243, 0.05); color: var(--chalk);
  border-color: var(--line-chalk); backdrop-filter: blur(8px); box-shadow: none;
}
.band--ink .quote-card blockquote { color: var(--chalk); }
.band--ink .quote-card .by > div span { color: var(--muted-on-ink); }
.band--ink .quote-card .avatar { background: var(--field); }

/* ---------- town cards ---------- */
.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .town-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .town-grid { grid-template-columns: repeat(2, 1fr); } }
.town-card {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-chalk);
  background: rgba(246, 248, 243, 0.04);
  transition: transform 0.32s var(--ease-out), background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.town-card:hover { transform: translateY(-4px); background: rgba(246, 248, 243, 0.1); border-color: var(--line-chalk-strong); }
.town-card b { font-family: var(--display); font-weight: 700; font-size: 1.04rem; color: var(--chalk); }
.town-card span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-ink); }
.band--paper .town-card, .band--paper--warm .town-card { border-color: var(--line); background: var(--paper); }
.band--paper .town-card b, .band--paper--warm .town-card b { color: var(--ink); }
.band--paper .town-card span, .band--paper--warm .town-card span { color: var(--muted); }
.band--paper .town-card:hover, .band--paper--warm .town-card:hover { background: var(--field-mist); border-color: rgba(46, 125, 69, 0.3); }

/* ---------- before / after ---------- */
.ba-slider {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y pinch-zoom;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-after { clip-path: inset(0 0 0 var(--ba, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba, 50%);
  width: 3px; background: var(--chalk);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.ba-handle::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px;
  transform: translate(-50%, -50%);
  background: var(--chalk); border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.ba-handle::after {
  content: '⇔'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  font-size: 16px; color: var(--ink); z-index: 2;
}
.ba-tag {
  position: absolute; top: 16px; z-index: 2;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(14, 27, 18, 0.72); color: var(--chalk);
  backdrop-filter: blur(6px);
}
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; }
.ba-slider input { position: absolute; inset: 0; opacity: 0; cursor: ew-resize; width: 100%; height: 100%; }
.note-syn { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-ink); }
.center { text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border-top: 1px solid var(--line);
  transition: background-color 0.3s var(--ease-out);
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.band--ink .faq details { border-color: var(--line-chalk); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 8px;
  font-family: var(--body); font-weight: 700; font-size: 1.06rem;
  cursor: pointer; list-style: none;
  transition: color 0.2s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 400; font-size: 1.15rem;
  transition: transform 0.35s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.band--ink .faq summary::after { border-color: var(--line-chalk-strong); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--field); border-color: var(--field); color: var(--chalk); }
.faq summary:hover { color: var(--field-deep); }
.band--ink .faq summary:hover { color: var(--field-bright); }
.faq .faq-body { padding: 0 8px 24px; max-width: 64ch; color: var(--muted); transform-origin: top; }
.band--ink .faq .faq-body { color: var(--muted-on-ink); }
/* the answer arrives instead of teleporting */
html.js .faq details[open] .faq-body { animation: faqOpen 0.35s var(--ease-out); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } }
/* progressive height interpolation where supported */
:root { interpolate-size: allow-keywords; }
.faq details::details-content {
  block-size: 0; overflow-y: clip;
  transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  html.js .faq details[open] .faq-body { animation: none; }
  .faq details::details-content { transition: none; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-panel {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(63, 156, 88, 0.55), transparent 60%),
    linear-gradient(160deg, var(--field) 10%, var(--field-deep) 90%);
  color: var(--chalk);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 84px) clamp(26px, 5vw, 84px);
  overflow: clip;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; align-items: center;
}
.cta-panel::before {
  content: ''; position: absolute; inset: -20%;
  background-image: repeating-linear-gradient(115deg, rgba(246, 248, 243, 0.06) 0 2px, transparent 2px 58px);
  animation: mowDrift 30s linear infinite;
  pointer-events: none;
}
/* the club emblem watermarks the closer */
.cta-panel::after {
  content: ''; position: absolute; right: -60px; bottom: -80px;
  width: clamp(220px, 26vw, 340px); aspect-ratio: 1;
  background: url('../images/logo-disc.png') center / contain no-repeat;
  opacity: 0.15; pointer-events: none;
  transform: rotate(-8deg);
}
.cta-panel h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); max-width: 16ch; position: relative; }
.cta-band .cta-panel .accent, .cta-panel .accent {
  color: var(--chalk); opacity: 0.94;
  font-family: 'Norican', 'Brush Script MT', cursive;
  font-weight: 400; font-size: 1.1em;
  letter-spacing: 0; text-transform: capitalize; line-height: 1;
}
.cta-panel .lede { color: var(--muted-on-field); position: relative; }
.cta-panel .cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; }
.cta-panel .cta-side .btn--chalk { border-color: rgba(246, 248, 243, 0.4); }
.cta-phone {
  font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--chalk); letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 12px;
}
.cta-phone svg { width: 22px; height: 22px; color: var(--chalk); opacity: 0.8; }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } }
.water .cta-panel {
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(30, 143, 160, 0.5), transparent 60%),
    linear-gradient(160deg, var(--teal) 10%, var(--teal-deep) 90%);
}

/* ---------- interior page hero ---------- */
.page-hero {
  position: relative;
  background: var(--ink); color: var(--chalk);
  padding-top: calc(var(--header-h) + clamp(32px, 4.6vw, 58px));
  padding-bottom: clamp(36px, 4.6vw, 60px);
  overflow: clip;
}
.page-hero::before {
  content: ''; position: absolute; inset: -18%;
  background-image: repeating-linear-gradient(115deg, rgba(246, 248, 243, 0.04) 0 2px, transparent 2px 72px);
  pointer-events: none;
}
/* the club emblem watermarks interior heroes */
.page-hero::after {
  content: ''; position: absolute; right: clamp(-70px, -4vw, -30px); bottom: -70px;
  width: clamp(200px, 24vw, 320px); aspect-ratio: 1;
  background: url('../images/logo-disc.png') center / contain no-repeat;
  opacity: 0.12; pointer-events: none;
  transform: rotate(6deg);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 17ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero .hero-ctas { margin-top: 28px; }
.crumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 22px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-on-ink);
}
.crumb a { transition: color 0.2s var(--ease-out); }
.crumb a:hover { color: var(--chalk); }
.crumb span:last-child { color: var(--field-bright); }
/* photo variant: rounded media card on the right */
.page-hero--photo .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.page-hero--photo .hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  transform: rotate(1.4deg);
}
.page-hero--photo .hero-media img { position: static; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(205deg, transparent 60%, rgba(14, 27, 18, 0.32) 100%);
}
@media (max-width: 900px) {
  .page-hero--photo .wrap { grid-template-columns: 1fr; }
  .page-hero--photo .hero-media { aspect-ratio: 16 / 10; transform: none; }
}

/* ---------- article ---------- */
.article-body { font-size: 1.07rem; line-height: 1.7; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 700;
  font-size: 3.15em; line-height: 0.82;
  float: left; padding: 0.06em 0.14em 0 0;
  color: var(--field);
}
.article-body h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 1.7em 0 0.55em;
  max-width: 24ch; letter-spacing: -0.01em;
}
.article-body h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin: 1.5em 0 0.5em; }
.article-body p { max-width: 68ch; }
.article-body p + p { margin-top: 1em; }
.article-body ul { max-width: 66ch; margin: 1.1em 0; }
.article-body li { padding: 6px 0 6px 28px; position: relative; }
.article-body li::before {
  content: ''; position: absolute; left: 2px; top: 14px;
  width: 9px; height: 9px; background: var(--field); border-radius: 3px;
}
.article-body a { color: var(--field-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article-body a:hover { color: var(--field); }
.article-body strong { font-weight: 700; }

.article-hero-fig { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.article-hero-fig img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* blog cards */
.blog-card {
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .thumb { overflow: hidden; }
.blog-card .thumb img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 0.7s var(--ease-out); }
.blog-card:hover .thumb img { transform: scale(1.055); }
.blog-card .blog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.blog-card .mono-label { color: var(--muted); font-size: 0.64rem; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.2; transition: transform 0.35s var(--ease-out), color 0.3s var(--ease-out); }
.blog-card:hover h3 { transform: translateX(4px); color: var(--field-deep); }
.blog-card p { font-size: 0.9rem; color: var(--muted); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--field);
  box-shadow: 0 0 0 4px rgba(46, 125, 69, 0.14);
}
.field textarea { min-height: 130px; resize: vertical; }

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 18px;
}
.info-card h3 { font-size: 1.3rem; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row svg { width: 19px; height: 19px; flex: none; color: var(--field-deep); margin-top: 3px; }
.info-row b { display: block; font-size: 0.95rem; font-weight: 700; }
.info-row span, .info-row a { display: block; font-size: 0.92rem; color: var(--muted); }
.info-row a:hover { color: var(--field-deep); }

/* ---------- footer ---------- */
body.page-404 .site-footer { border-radius: 0; }
.site-footer {
  background: var(--ink); color: var(--chalk);
  border-radius: clamp(22px, 3.6vw, 44px) clamp(22px, 3.6vw, 44px) 0 0;
  margin-top: -1px;
  position: relative; overflow: clip;
  padding-top: clamp(52px, 7vw, 92px);
}
.site-footer::before {
  content: ''; position: absolute; inset: -18%;
  background-image: repeating-linear-gradient(115deg, rgba(246, 248, 243, 0.035) 0 2px, transparent 2px 68px);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand img { height: 80px; width: auto; }
.footer-brand p { font-size: 0.92rem; color: var(--muted-on-ink); max-width: 34ch; }
.footer-col h4 { font-family: var(--mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--field-bright); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { display: inline-block; padding-block: 4px; font-size: 0.92rem; color: var(--muted-on-ink); transition: color 0.2s var(--ease-out), transform 0.25s var(--ease-out); }
.footer-col a:hover { color: var(--chalk); transform: translateX(5px); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a.phone {
  font-family: var(--serif); font-weight: 800; font-size: 1.5rem; color: var(--chalk); letter-spacing: -0.01em;
}
.footer-contact a.phone:hover { color: var(--field-bright); }
.footer-contact span { font-size: 0.88rem; color: var(--muted-on-ink); }
/* the ghost signature fades in (no tracking animation: script joins
   must never be letter-spaced apart) */
.footer-ghost.rv { transform: none; transition: opacity 1.4s var(--ease-out); }
.footer-ghost.rv:not(.on) { opacity: 0; transform: none; }
.footer-ghost {
  font-family: 'Norican', 'Brush Script MT', cursive; font-weight: 400;
  font-size: clamp(4.6rem, 13vw, 11.5rem); line-height: 0.9;
  letter-spacing: 0;
  color: rgba(246, 248, 243, 0.045);
  user-select: none; pointer-events: none;
  white-space: nowrap; overflow: hidden;
  margin-top: -10px;
  position: relative;
}
.footer-bottom {
  position: relative;
  border-top: 1px solid var(--line-chalk);
  padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-on-ink);
}
.footer-bottom a:hover { color: var(--chalk); }

/* ---------- chatbot: The Groundskeeper ---------- */
.gk-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--field); color: var(--chalk);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease-spring), background-color 0.25s var(--ease-out), opacity 0.3s var(--ease-out);
}
.gk-launch:hover { transform: scale(1.1) rotate(-4deg); background: var(--field-deep); }
.gk-launch svg { width: 25px; height: 25px; }
.gk-panel {
  position: fixed; right: 22px; bottom: 92px; z-index: 951;
  width: min(390px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 130px));
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}
.gk-panel.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
/* mobile: the sticky call bar owns the bottom edge; lift the chat above it */
@media (max-width: 760px) {
  .call-bar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .gk-launch { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .gk-panel { bottom: calc(152px + env(safe-area-inset-bottom)); max-height: min(560px, calc(100vh - 220px)); }
}
.gk-head {
  background: var(--ink); color: var(--chalk);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.gk-head .gk-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--field); display: flex; align-items: center; justify-content: center;
}
.gk-head .gk-avatar svg { width: 20px; height: 20px; }
.gk-head .gk-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.gk-head b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.gk-head span { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-ink); }
.gk-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--chalk); }
.gk-msg {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.9rem; line-height: 1.5;
  animation: gkIn 0.3s var(--ease-out);
}
@keyframes gkIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gk-msg.bot { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.gk-msg.user { background: var(--field); color: var(--chalk); border-bottom-right-radius: 6px; align-self: flex-end; }
.gk-msg a { color: var(--field-deep); text-decoration: underline; text-underline-offset: 2px; }
.gk-msg.user a { color: var(--chalk); }
.gk-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; background: var(--chalk); }
.gk-quick button {
  font-size: 0.78rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--line-strong);
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.25s var(--ease-spring);
}
.gk-quick button:hover { background: var(--field); border-color: var(--field); color: var(--chalk); transform: translateY(-2px); }
.gk-input {
  display: flex; gap: 10px; padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.gk-input input {
  flex: 1; font: inherit; font-size: 0.92rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 11px 17px; color: var(--ink); background: var(--chalk);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.gk-input input:focus { outline: none; border-color: var(--field); box-shadow: 0 0 0 4px rgba(46, 125, 69, 0.13); }
.gk-input button {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--field); color: var(--chalk);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s var(--ease-out), transform 0.25s var(--ease-spring);
}
.gk-input button:hover { background: var(--field-deep); transform: scale(1.08); }
.gk-input button svg { width: 18px; height: 18px; }

/* ---------- feature cards (photo-led, the two money services) ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 26px); }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(46, 125, 69, 0.4); }
.feature-card figure { overflow: hidden; position: relative; }
.feature-card figure::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  background-size: 260% 260%; background-position: -40% -40%;
  opacity: 0;
}
.feature-card:hover figure::after {
  opacity: 1; background-position: 140% 140%;
  transition: background-position 0.9s var(--ease-out), opacity 0.15s linear;
}
.feature-card figure img { aspect-ratio: 16 / 8.4; object-fit: cover; width: 100%; transition: transform 0.7s var(--ease-out); }
.feature-card:hover figure img { transform: scale(1.05); }
.feature-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.feature-body .mono-label { color: var(--field-deep); font-size: 0.66rem; }
.band--field .feature-card .feature-link { color: var(--ink); }
.feature-body h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); color: var(--ink); transition: transform 0.35s var(--ease-out); }
.feature-card:hover .feature-body h3 { transform: translateX(4px); }
.feature-body p { font-size: 0.95rem; color: var(--muted); max-width: 46ch; }
.feature-link {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s var(--ease-out);
}
.feature-link::after { content: '→'; font-family: var(--body); font-size: 0.9rem; transition: transform 0.3s var(--ease-out); }
.feature-card:hover .feature-link { color: var(--field-deep); }
.feature-card:hover .feature-link::after { transform: translateX(6px); }

.footer-col ul.footer-towns { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }

@media (max-width: 640px) {
  .footer-bottom { padding-bottom: 88px; }
  .footer-ghost { font-size: 15.5vw; letter-spacing: 0; }
  .svc-card--row h3 { font-size: 0.95rem; }
  .svc-card--row .mono-label { white-space: nowrap; }
}

/* ---------- unified photo grade (art direction wash) ---------- */
.hero-card img, .split figure img, .feature-card figure img,
.page-hero--photo .hero-media img, .blog-card .thumb img,
.hero-polaroid img, .article-hero-fig img, .ba-slider img, .note-card img {
  filter: saturate(0.92) contrast(1.04) sepia(0.06) hue-rotate(-6deg);
}

/* ---------- rosette stamp (rotating chalk seal) ---------- */
.rosette {
  position: absolute; z-index: 4;
  width: clamp(92px, 9vw, 128px); height: clamp(92px, 9vw, 128px);
  pointer-events: none;
}
.rosette svg { width: 100%; height: 100%; animation: rosetteSpin 26s linear infinite; }
@keyframes rosetteSpin { to { transform: rotate(360deg); } }
.rosette text {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  fill: var(--chalk);
}
.rosette circle.core { fill: var(--teal-deep); }
.rosette .blade { stroke: var(--chalk); stroke-width: 1.6; fill: none; }
.rosette--hero { top: -34px; right: -8px; }
.rosette--footer { position: relative; top: auto; right: auto; margin-bottom: -30px; }
@media (max-width: 980px) { .rosette--hero { display: none; } }

.split figure.play-chart { border-radius: 0; overflow: visible; box-shadow: none; background: none; }

/* ---------- chalk play diagram (the Groundskeeper's play chart) ---------- */
.play-chart { margin-top: 30px; max-width: 420px; }
.play-chart svg { width: 100%; height: auto; overflow: visible; }
.play-chart .chalkline {
  stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round;
  stroke-dasharray: 6 7;
}
.play-chart .solid { stroke-dasharray: none; }
.play-chart .faint { opacity: 0.38; }
.play-chart .draw {
  stroke-dashoffset: var(--len, 400);
  stroke-dasharray: var(--len, 400);
  transition: stroke-dashoffset 1.6s var(--ease-inout);
}
.play-chart.drawn .draw { stroke-dashoffset: 0; }
.play-chart .mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; fill: var(--muted); text-transform: uppercase; }
.play-chart .pos { font-family: var(--display); font-style: italic; font-size: 17px; fill: var(--field); }
/* labels punch a paper gap through any chalk line they sit on */
.play-chart text {
  paint-order: stroke;
  stroke: var(--paper-warm);
  stroke-width: 8px;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.band--ink .play-chart .chalkline, .band--field .play-chart .chalkline { stroke: var(--chalk); }

/* ---------- hero word-rise ---------- */
.wline { display: inline-block; clip-path: inset(-0.45em -0.3em -0.03em -0.12em); vertical-align: bottom; }
.wch { display: inline-block; }
html.shotmode .wch { transform: none !important; }
.wline > span { display: inline-block; transform: translateY(112%); transition: transform 0.95s var(--ease-out); }
.words-in .wline > span { transform: translateY(0); }
html.shotmode .wline > span, html:not(.js) .wline > span { transform: none; }

/* ---------- feature-card tilt ---------- */
.feature-card { transform-style: preserve-3d; will-change: transform; }

/* ---------- field notes (polaroid gallery band) ---------- */
.notes-row {
  display: flex; gap: clamp(14px, 2vw, 26px);
  justify-content: center; align-items: flex-start;
  flex-wrap: wrap;
}
.note-card {
  background: var(--paper); color: var(--ink);
  border-radius: 13px; padding: 9px 9px 36px;
  box-shadow: var(--shadow-md);
  width: clamp(148px, 15vw, 202px);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-out);
  position: relative;
}
.note-card:nth-child(odd) { rotate: -2.4deg; }
.note-card:nth-child(even) { rotate: 1.8deg; margin-top: 22px; }
.note-card:nth-child(3n) { rotate: 3.1deg; }
.note-card:hover { transform: translateY(-8px); rotate: 0deg; box-shadow: var(--shadow-lg); z-index: 3; }
.note-card img { border-radius: 7px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.note-card figcaption {
  position: absolute; left: 11px; right: 11px; bottom: 10px;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.05em;
  color: var(--muted); display: flex; justify-content: space-between; gap: 6px;
}
@media (max-width: 640px) {
  .notes-row { display: grid; grid-template-columns: 1fr 1fr; }
  .note-card { width: 100%; }
  .note-card:nth-child(n+5) { display: none; }
}

/* ---------- launcher pulse ---------- */
.gk-launch::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--teal);
  animation: gkPing 5.5s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes gkPing {
  0%, 72% { transform: scale(1); opacity: 0.9; }
  90% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- services mega: featured tile ---------- */
.drop-panel--services { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6px; min-width: 480px; }
.drop-panel--services .drop-links { display: flex; flex-direction: column; }
.drop-feature {
  position: relative; border-radius: 12px; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 100%;
}
.drop-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(14,27,18,0.78) 100%); }
.drop-feature span {
  position: relative; z-index: 1; padding: 12px 14px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--chalk);
}
.drop-panel--services .drop-all { grid-column: 1 / -1; }

/* ---------- fractional star rating ---------- */
.star-rating { position: relative; display: inline-block; line-height: 0; }
.star-rating svg { width: 17px; height: 17px; display: inline-block; }
.star-rating .sr-base { display: inline-flex; gap: 3px; color: rgba(229, 176, 76, 0.28); }
.star-rating .sr-fill {
  position: absolute; inset: 0;
  display: inline-flex; gap: 3px; color: var(--gold);
  overflow: hidden; width: var(--fill, 100%);
  white-space: nowrap;
}
.star-rating--sm svg { width: 13px; height: 13px; }
.star-rating--sm .sr-base, .star-rating--sm .sr-fill { gap: 2px; }
.tally .star-rating { margin-top: 6px; }

/* ---------- reading progress (articles) ---------- */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 950;
  background: transparent; pointer-events: none;
}
.read-progress i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
  background: linear-gradient(90deg, var(--field), var(--field-bright));
  border-radius: 0 3px 3px 0;
}

/* ---------- route map ---------- */
.route-map { max-width: 680px; margin-inline: auto; margin-top: 10px; }
.route-map .map-label { fill: var(--muted-on-ink); font-size: 12.5px; transition: fill 0.2s var(--ease-out); }
.route-map a { cursor: pointer; }
.route-map a:hover .map-label { fill: var(--chalk); }
.route-map a:hover circle { stroke: var(--field-bright); }

/* ---------- before/after gallery grid ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.6vw, 30px); }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-grid .ba-slider { aspect-ratio: 3 / 2; }

/* ---------- BA orbit carousel (shared stage UI with the Rockwall + Glam
   demos: cards orbit a centre stage, drag/tap/arrows/dots, spring snap) ---------- */
.bacar { position: relative; }
.bacar-scene {
  position: relative; perspective: 1500px; perspective-origin: 50% 42%;
  height: clamp(330px, 38vw, 520px);
}
.bacar-stage {
  position: absolute; inset: 0; transform-style: preserve-3d;
  cursor: grab; -webkit-user-select: none; user-select: none;
}
.bacar-stage.dragging { cursor: grabbing; }
.bacar-stage:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 10px; border-radius: 16px; }
.bacar-card {
  position: absolute; top: 50%; left: 50%; margin: 0;
  width: clamp(290px, 44vw, 600px);
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
  backface-visibility: hidden;
}
.bacar-card:not(.is-active) { cursor: pointer; }
.bacar-card:not(.is-active) .ba-slider { pointer-events: none; }
.bacar-inner {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 8px 8px 0;
  box-shadow: var(--shadow-lg);
  animation: bacarFloat 7s ease-in-out infinite;
}
.bacar-card[data-idx="1"] .bacar-inner { animation-duration: 6.6s; animation-delay: -1.7s; }
.bacar-card[data-idx="2"] .bacar-inner { animation-duration: 7.4s; animation-delay: -3.1s; }
.bacar-card[data-idx="3"] .bacar-inner { animation-duration: 6.3s; animation-delay: -0.9s; }
.bacar-card[data-idx="4"] .bacar-inner { animation-duration: 7.1s; animation-delay: -2.4s; }
.bacar-card[data-idx="5"] .bacar-inner { animation-duration: 6.8s; animation-delay: -4.2s; }
.bacar-card[data-idx="6"] .bacar-inner { animation-duration: 7.7s; animation-delay: -1.2s; }
.bacar-card[data-idx="7"] .bacar-inner { animation-duration: 6.5s; animation-delay: -2.8s; }
@keyframes bacarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.bacar-card .ba-slider { aspect-ratio: 16 / 9.6; border-radius: calc(var(--r-md) - 6px); }
.bacar-card .ba-cap { margin-top: 0; padding: 11px 6px 12px; color: var(--muted); }
.bacar-shadow {
  position: absolute; left: 9%; right: 9%; bottom: -32px; height: 34px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 68%);
  filter: blur(6px); pointer-events: none;
  animation: bacarShadow 7s ease-in-out infinite;
}
@keyframes bacarShadow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.6; }
}
.bacar-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-top: 46px; position: relative; z-index: 5;
}
.bacar-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(246, 248, 243, 0.06);
  border: 1.5px solid var(--line-chalk-strong);
  color: var(--chalk);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.bacar-arrow:hover { background: rgba(63, 156, 88, 0.28); border-color: var(--field-bright); transform: translateY(-2px); }
.bacar-arrow:active { transform: translateY(0) scale(0.94); }
.bacar-dots { display: flex; align-items: center; gap: 10px; }
.bacar-dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: rgba(246, 248, 243, 0.25);
  border: 0; padding: 0; cursor: pointer;
  transition: width 0.4s var(--ease-out), background-color 0.3s var(--ease-out);
}
.bacar-dot:hover { background: rgba(246, 248, 243, 0.5); }
.bacar-dot.is-active { width: 26px; background: var(--field-bright); }
.bacar-more { display: flex; justify-content: center; margin-top: 22px; position: relative; z-index: 5; }
@media (max-width: 640px) {
  .bacar-card { width: min(86vw, 420px); }
  .bacar-scene { height: calc(52vw + 120px); }
  .bacar-controls { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .bacar-inner, .bacar-shadow { animation: none; }
}
.ba-cap { margin-top: 10px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-on-ink); display: flex; justify-content: space-between; gap: 10px; }

/* ---------- gallery ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 3.4vw, 40px); }
.filter-chip {
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  font-size: 0.85rem; font-weight: 700; color: var(--body-ink);
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.25s var(--ease-spring);
}
.filter-chip:hover { border-color: var(--field); color: var(--field-deep); transform: translateY(-2px); }
.filter-chip.is-active { background: var(--field); color: var(--chalk); border-color: var(--field); }
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry-item {
  break-inside: avoid; margin-bottom: 18px;
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.4s var(--ease-out), opacity 0.22s var(--ease-out);
}
.masonry-item.is-hide { opacity: 0; transform: scale(0.96); }
.masonry-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.masonry-item img { width: 100%; display: block; filter: saturate(0.92) contrast(1.04) sepia(0.06) hue-rotate(-6deg); transition: transform 0.7s var(--ease-out); }
.masonry-item:hover img { transform: scale(1.045); }
.masonry-item figcaption {
  padding: 12px 15px;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); display: flex; justify-content: space-between; gap: 8px;
  border-top: 1px solid var(--line);
}
.masonry-item[hidden] { display: none; }

/* ---------- shotmode: QA capture only (tools/shot*.mjs) ---------- */
html.shotmode { scroll-behavior: auto; }
html.shotmode *, html.shotmode *::before, html.shotmode *::after {
  transition: none !important; animation: none !important;
}
html.shotmode .rv { opacity: 1 !important; transform: none !important; filter: none !important; }
html.shotmode #loader { display: none !important; }
html:not(.js) .play-chart .draw, html.shotmode .play-chart .draw { stroke-dashoffset: 0 !important; }
html.shotmode .cursor-dot, html.shotmode .cursor-ring { display: none !important; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .rv { opacity: 1; transform: none; filter: none; }
  .hero-card img { animation: none; }
  .marquee__track { animation: none; }
  .grain { display: none; }
}
