/* =========================================================
   STUDIO 23 — Design System (v2)
   Brand: teal #209E9D + blue gradient · Duplet Rounded.
   No pink, no yellow — pure brand palette.
   Tokens at top — change once, the whole site updates.
   ========================================================= */

/* ---------- BRAND FONT ---------- */
@font-face { font-family: "Duplet Rounded"; src: url("fonts/DupletRounded-Extralight.otf") format("opentype"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Duplet Rounded"; src: url("fonts/DupletRounded-Regular.otf")    format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Duplet Rounded"; src: url("fonts/DupletRounded-Bold.otf")       format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand palette — teal → blue → cream */
  --teal:        #209E9D;
  --teal-deep:   #157071;
  --teal-soft:   #C7EBE9;
  --blue:        #2A9DD6;
  --blue-deep:   #1A6FB4;
  --sky:         #6FC4E8;
  --sky-soft:    #DDF1FA;

  /* Surfaces */
  --ink:         #0B1620;     /* slightly cooler black for the ocean palette */
  --ink-soft:    #15212E;
  --cream:       #FFF6E9;
  --cream-warm:  #F4ECDB;
  --paper:       #FFFFFF;

  /* Text */
  --text:        var(--ink);
  --text-soft:   #3F4D5E;
  --text-muted:  #7A8699;
  --text-invert: var(--cream);

  /* Borders */
  --line:        rgba(11,22,32,0.12);
  --line-strong: rgba(11,22,32,0.85);

  /* Type — single brand family, two weights doing all the work */
  --font-display: "Duplet Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Duplet Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type scale — small-text rungs for eyebrows / labels / meta / captions */
  --text-xs:   12px;   /* eyebrows, form labels, dt, meta */
  --text-sm:   14px;   /* secondary labels, captions, role tags */
  --text-base: 15px;   /* small body, course hole copy, form status */
  --text-md:   17px;   /* body default */
  --text-lg:   18px;   /* contact info, footer-col, key labels */

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 8px; --r-md: 16px; --r-lg: 28px; --r-xl: 40px; --r-pill: 999px;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 150px;
  --creations-blue: #1A6FB4;
  --adv-navy:       #0E2742;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);

  /* Motion durations — keep micro-interactions tight, reveals slower */
  --dur-xs: 0.2s;     /* tooltips, link colour swaps */
  --dur-sm: 0.3s;     /* button hovers, small transforms */
  --dur-md: 0.45s;    /* card hovers, image zooms */
  --dur-lg: 0.8s;     /* reveal-on-scroll */

  /* Shadows — three steps, all rooted in --ink so they tint the brand */
  --shadow-sm: 0 8px 22px -8px rgba(11, 22, 32, 0.18);
  --shadow-md: 0 14px 32px -14px rgba(11, 22, 32, 0.22);
  --shadow-lg: 0 20px 48px -16px rgba(11, 22, 32, 0.28);
  --shadow-xl: 0 24px 60px -20px rgba(11, 22, 32, 0.45);
}

/* The signature brand gradient — used for hero, accents, masks */
.brand-gradient,
:root {
  --grad-brand:
    radial-gradient(120% 80% at 18% 20%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(60% 80% at 88% 30%, var(--sky) 0%, transparent 70%),
    radial-gradient(80% 80% at 60% 90%, var(--blue) 0%, transparent 60%),
    linear-gradient(135deg, var(--teal) 0%, var(--blue) 60%, var(--cream-warm) 100%);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
img, svg, video { display: block; max-width: 100%; height: auto; }
/* Prevent any single word/url from forcing horizontal scroll */
h1, h2, h3, h4, p, a, span, em, strong, blockquote, summary {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

html { scroll-behavior: smooth; }

/* Custom golf-ball cursor — site-wide */
body, body * {
  cursor: url('assets/cursors/golf-ball-32.png') 16 16, auto;
}
/* Interactive elements get the smaller "active" variant so it still reads
   as clickable, without losing the brand cursor */
a, button, .btn, .magnetic, [role="button"],
.pillar-card, .spec-card, .client-card, .venue-pin, .testimonial-card,
input[type="submit"], input[type="button"], label.chip {
  cursor: url('assets/cursors/golf-ball-28.png') 14 14, pointer;
}
/* Text inputs keep the I-beam so typing works naturally */
input[type="text"], input[type="email"], input[type="tel"],
input[type="search"], input[type="number"], input[type="url"],
input[type="password"], textarea, select {
  cursor: text;
}
body {
  font-family: var(--font-body); font-weight: 400;
  font-size: 17px; line-height: 1.55;
  color: var(--text); background: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

::selection { background: var(--teal); color: var(--cream); }

/* ---------- TYPOGRAPHY ---------- */
.h1, .h2, .h3, h1, h2, h3 {
  font-family: var(--font-display); font-weight: 700;
  line-height: 0.96; letter-spacing: -0.03em; margin: 0;
}
h1, .h1 { font-size: clamp(40px, 6.4vw, 96px); }
h2, .h2 { font-size: clamp(32px, 4.8vw, 64px); line-height: 1; }
h3, .h3 { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.025em; }
h4 { font-size: clamp(18px, 1.6vw, 22px); font-family: var(--font-body); font-weight: 700; margin: 0; letter-spacing: -0.015em; line-height: 1.2; }

.display-italic { font-weight: 200; letter-spacing: -0.022em; }
p { margin: 0 0 var(--s-4); }
.lead { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; color: var(--text-soft); font-weight: 400; max-width: 65ch; }

.eyebrow {
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; display: inline-block; }
/* Opt-out modifier — remove the leading dash on specific eyebrows */
.eyebrow.no-dash::before { display: none; }

/* Consistent vertical rhythm — eyebrow → heading → body */
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: var(--s-5); }
h1 + .lead, h2 + .lead, h3 + .lead { margin-top: var(--s-5); }
h1 + p, h2 + p, h3 + p { margin-top: var(--s-4); }
.lead + .lead { margin-top: var(--s-4); }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(72px, 11vw, 144px) 0; }
.grid { display: grid; gap: var(--s-5); }
.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: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- NAV (bigger, more presence) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);                              /* fully opaque so page text never bleeds through */
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease), backdrop-filter var(--dur-sm) var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 246, 233, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav.is-open { background: var(--cream); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: var(--s-6) 0; min-height: var(--nav-h); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { width: 72px; height: 72px; object-fit: contain; }
.nav-logo span { display: none; }   /* wordmark hidden — mark only */

.nav-links { display: flex; align-items: center; gap: var(--s-7); list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { font-size: 21px; font-weight: 700; position: relative; padding: 12px 0; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: var(--s-2); line-height: 1; transition: color var(--dur-sm) var(--ease); }
.nav-links > li > a:hover { color: var(--teal-deep); }
.nav-links > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-sm) var(--ease);
}
.nav-links > li > a:hover::after, .nav-links > li > a.is-active::after { transform: scaleX(1); }
/* In-line nav CTA — generous horizontal padding so the label breathes */
.nav-cta {
  padding: 14px 28px;
  min-width: 172px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  gap: 10px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: 0;
}
.nav-cta::after { content: none; }
.nav-cta > span { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.nav-cta > span:first-child { font-size: 17px; }
.nav-cta .arrow {
  font-size: 17px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 1em;
}
.nav-cta:hover .arrow { transform: translateX(3px); }

.nav-toggle { display: none; }
@media (max-width: 900px) {
  :root { --nav-h: 76px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background-color: var(--cream);                       /* solid fill — overrides any inherited transparency */
    flex-direction: column; align-items: flex-start;
    gap: var(--s-5); padding: var(--s-7) var(--gutter);
    transform: translateX(100%); transition: transform .4s var(--ease);
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav.is-open .nav-links { transform: translateX(0); }
  .nav-toggle {
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: var(--r-pill);
    border: 1.5px solid var(--line-strong);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 18px; height: 2px;
    background: var(--ink); position: relative; transition: transform .3s var(--ease);
  }
  .nav-toggle span::before { position: absolute; top: -6px; left: 0; }
  .nav-toggle span::after  { position: absolute; top:  6px; left: 0; }
  .nav.is-open .nav-toggle span { background: transparent; }
  .nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }
  .nav-links a { font-size: 32px; font-weight: 700; }
  .nav-cta { font-size: 18px !important; padding: 18px 28px !important; }
}

/* ---------- BUTTONS (with magnetic-ready inner) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: 16px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 16px; letter-spacing: -0.005em;
  width: fit-content; max-width: 100%;
  transition: transform var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease), box-shadow var(--dur-sm) var(--ease);
  border: 1.5px solid transparent; white-space: nowrap; position: relative; overflow: hidden;
}
.btn .arrow { display: inline-block; transition: transform var(--dur-sm) var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }
.btn-primary { background: var(--teal); color: var(--cream); box-shadow: 0 8px 30px -10px rgba(32,158,157,0.5); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(21,112,113,0.6); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--paper); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--cream); box-shadow: 0 8px 30px -10px rgba(42,157,214,0.5); }
.btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); }

/* ---------- HERO (solid brand teal) ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 112px);
  background: var(--teal);
  color: var(--cream);
  isolation: isolate;
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); align-items: end; }

/* Hero row — golf ball logo + heading side-by-side on the same line */
.hero-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: var(--s-6);
}
.hero-ball {
  width: clamp(180px, 28vw, 400px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.32));
}
.hero-row h1 {
  flex: 1;
  margin: 0;
  max-width: 18ch;
  font-size: clamp(36px, 5.2vw, 78px);
}

@media (max-width: 700px) {
  .hero-row { flex-direction: column; align-items: flex-start; gap: var(--s-5); }
  .hero-ball { width: 180px; }
  .hero-row h1 { max-width: none; font-size: clamp(36px, 7.5vw, 52px); }
}
.hero h1 { color: var(--cream); max-width: 16ch; }
.hero .lead { color: rgba(255,246,233,0.9); }
.hero .eyebrow { color: rgba(255,246,233,0.85); }
.hero .eyebrow::before { background: rgba(255,246,233,0.85); }
.hero-meta {
  display: grid; grid-template-columns: 2fr 1.4fr; gap: var(--s-7);
  align-items: end; padding-top: var(--s-6);
  border-top: 1px solid rgba(255,246,233,0.25);
}
@media (max-width: 800px) { .hero-meta { grid-template-columns: 1fr; gap: var(--s-5); } }
.hero-meta p { max-width: 50ch; margin: 0; }
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-cta .btn-light { color: var(--ink); }

/* Floating decorative objects removed */
.float-mark, .float-ball { display: none; }

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden; padding: var(--s-5) 0;
  border-block: 1px solid var(--line);
  background: var(--cream);
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scroll 38s linear infinite; will-change: transform;
}
.marquee span {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 60px);
  font-weight: 200; letter-spacing: -0.025em;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: "✺"; color: var(--teal); font-size: 0.7em; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- PILLARS / SECTION HEADS ---------- */
.pillars { background: var(--cream); }
.pillars-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-7); margin-bottom: var(--s-8); align-items: end;
}
@media (max-width: 800px) { .pillars-head { grid-template-columns: 1fr; } }

.pillar-card {
  position: relative; background: var(--paper);
  border-radius: var(--r-lg); padding: var(--s-7);
  overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-5);
  align-items: center;
  text-align: center;
  min-height: 480px;
  height: 100%;
  transition:
    transform 0.55s var(--ease-out-quint),
    box-shadow 0.55s var(--ease-out-quint),
    border-color 0.55s var(--ease-out-quint);
  transform-style: preserve-3d;
  will-change: transform;
}
.pillar-card p { max-width: 32ch; margin-left: auto; margin-right: auto; }
.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(32, 158, 157, 0.35);
  box-shadow:
    0 30px 70px -20px rgba(11, 22, 32, 0.28),
    0 0 0 1px rgba(32, 158, 157, 0.18),
    0 0 60px -20px rgba(32, 158, 157, 0.3);
}
.pillar-card .pillar-num {
  font-family: var(--font-body); font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.18);
  align-self: center;
}
.pillar-create .pillar-num { background: rgba(11,22,32,0.08); color: var(--ink); }
.pillar-card h3 { font-size: clamp(28px, 3.6vw, 48px); }
.pillar-card p  { margin: 0; max-width: 32ch; }
.pillar-card .pillar-art {
  margin-top: auto;
  width: 100%;
  align-self: stretch;        /* override parent's align-items:center */
  height: 340px; border-radius: var(--r-md);
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  transition: transform 1.4s var(--ease-out-quint);
  will-change: transform;
}
.pillar-card:hover .pillar-art { transform: scale(1.08); }
.pillar-card .arrow-cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 700; font-size: 20px; line-height: 1;
  align-self: center;          /* centre the "See How It Plays" link */
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 2px solid currentColor;
  background: transparent;
  transition: background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease), transform var(--dur-sm) var(--ease);
}
.pillar-card .arrow-cta::after { content: "→"; transition: transform .3s var(--ease); }
.pillar-card:hover .arrow-cta::after { transform: translateX(8px); }
.pillar-cue:hover .arrow-cta { background: var(--cream); color: var(--teal); }
.pillar-adv:hover .arrow-cta { background: var(--cream); color: var(--adv-navy, #0B1620); }
.pillar-create:hover .arrow-cta { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Variants — each pillar matches its respective page colour */
.pillar-cue {
  background: var(--teal); color: var(--cream);
  border-color: var(--teal);
}
.pillar-cue p { color: rgba(255,246,233,.85); }
.pillar-cue .pillar-num { background: rgba(255,255,255,0.18); color: var(--cream); }
.pillar-cue .pillar-art {
  background-image:
    linear-gradient(180deg, rgba(11,22,32,0) 50%, rgba(11,22,32,.5)),
    url("assets/work/cue-05.jpg");
}

.pillar-adv {
  background: var(--adv-navy); color: var(--cream);
  border-color: var(--adv-navy);
}
.pillar-adv p { color: rgba(255,246,233,.78); }
.pillar-adv .pillar-num { background: rgba(255,255,255,0.12); color: var(--cream); }
.pillar-adv .pillar-art {
  background-image:
    linear-gradient(135deg, rgba(21,112,113,.2), rgba(11,22,32,.2)),
    url("assets/work/cue-09.jpg");
}

.pillar-create {
  background: var(--creations-blue); color: var(--cream);
  border-color: var(--creations-blue);
}
.pillar-create p { color: rgba(255,246,233,.85); }
.pillar-create .pillar-num { background: rgba(255,255,255,0.18); color: var(--cream); }
.pillar-create .pillar-art {
  background-image:
    linear-gradient(180deg, rgba(255,246,233,0) 50%, rgba(255,246,233,.4)),
    url("assets/photos/about-01.jpg");
}

/* ---------- WORK GRID ---------- */
.work { background: var(--ink); color: var(--cream); position: relative; }
.work .eyebrow { color: var(--cream); opacity: .75; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-7); margin-bottom: var(--s-7); flex-wrap: wrap; }
.work-head h2 { color: var(--cream); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); }
.work-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--ink-soft);
  cursor: pointer; isolation: isolate;
}
.work-card .work-art {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.6s var(--ease-out-quint);
  will-change: transform;
}
.work-card:hover .work-art { transform: scale(1.1); }
.work-card .work-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-6); z-index: 2;
  background: linear-gradient(to top, rgba(11,22,32,.92) 0%, rgba(11,22,32,.45) 35%, rgba(11,22,32,0) 65%);
}
.work-card .work-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-soft); margin-bottom: var(--s-2);
}
.work-card h4 {
  color: var(--cream); font-weight: 700;
  font-size: clamp(22px, 2.5vw, 36px); letter-spacing: -0.025em;
}

.w-7 { grid-column: span 7; }
.w-5 { grid-column: span 5; }
.w-6 { grid-column: span 6; }
.w-4 { grid-column: span 4; aspect-ratio: 1/1; }
.w-8 { grid-column: span 8; }
@media (max-width: 800px) {
  .w-7, .w-5, .w-6, .w-4, .w-8 { grid-column: span 12; aspect-ratio: 4/3; }
}

/* Branded visual blocks — pure colour + typography (replaces photos) */
.art-teal   { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); position: relative; }
.art-teal-2 { background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%); position: relative; }
.art-ink    { background: linear-gradient(135deg, var(--ink) 0%, var(--teal-deep) 100%); position: relative; }
.art-cream  { background: var(--cream-warm); position: relative; }

.art-mark {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(80px, 14vw, 220px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(255,255,255,0.18);
}
.art-mark.ink { color: rgba(11,22,32,0.08); }

/* Big-number block — for project/showcase tiles */
.tile-num {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(64px, 10vw, 160px); line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255,246,233,0.4);
  position: absolute; top: var(--s-5); right: var(--s-5);
  pointer-events: none;
}
.art-cream .tile-num { color: rgba(11,22,32,0.15); }

/* ---------- STATS STRIP ---------- */
.stats {
  background: var(--teal); color: var(--cream);
  padding: var(--s-8) 0; position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 80% at 80% 50%, rgba(42,157,214,0.5), transparent 60%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); position: relative; z-index: 1; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat .num { font-weight: 700; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; }
.stat .num em { font-style: normal; font-weight: 200; }
.stat .lbl { font-size: 14px; opacity: 0.85; margin-top: var(--s-2); font-weight: 700; max-width: 22ch; }

/* ---------- PROCESS ---------- */
.process { background: var(--cream); }
.process-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); margin-top: var(--s-7); }
.process-row {
  display: grid; grid-template-columns: 100px 1fr 2fr;
  gap: var(--s-5); padding: var(--s-7) 0;
  border-bottom: 1px solid var(--line-strong);
  align-items: baseline;
  transition: background .35s var(--ease), padding-left .35s var(--ease);
  cursor: default;
}
.process-row:hover { background: rgba(11,22,32,0.03); padding-left: var(--s-3); }
.process-row .step { font-weight: 200; color: var(--teal-deep); font-size: 26px; }
.process-row h3 { font-size: clamp(24px, 2.6vw, 40px); }
.process-row p { color: var(--text-soft); margin: 0; }
@media (max-width: 700px) {
  .process-row { grid-template-columns: 60px 1fr; padding: var(--s-5) 0; }
  .process-row p { grid-column: 2; }
}

/* ---------- TESTIMONIAL / PROMISE ---------- */
.testimonial {
  background: var(--ink); color: var(--cream);
  text-align: center; position: relative; overflow: hidden;
}
.testimonial::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(40% 50% at 50% 50%, rgba(32,158,157,0.4), transparent 60%);
}
.testimonial .container { position: relative; z-index: 1; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  max-width: 18ch; margin: 0 auto;
}
.testimonial blockquote em { font-style: normal; font-weight: 200; color: var(--teal); }
.testimonial .who {
  margin-top: var(--s-6); font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; opacity: 0.75; font-weight: 700;
}

/* Utility — tighten the gap before a CTA banner */
.section-tight-bottom { padding-bottom: clamp(40px, 5vw, 72px) !important; }

/* ---------- CTA BANNER ---------- */
.cta {
  background: var(--ink); color: var(--cream);
  border-radius: var(--r-xl);
  margin: clamp(40px, 6vw, 80px) var(--gutter) clamp(64px, 10vw, 128px);
  padding: clamp(56px, 8vw, 112px) clamp(32px, 6vw, 96px);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7); align-items: end;
  position: relative; overflow: hidden;
}
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { color: var(--cream); }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 100% 100%, var(--teal) 0%, transparent 55%),
              radial-gradient(50% 70% at 0% 0%, var(--blue-deep) 0%, transparent 60%);
  opacity: 0.6;
}
.cta-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; z-index: 1; position: relative; }
.cta > div { position: relative; z-index: 1; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 96px) 0 var(--s-6); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-6); padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255,246,233,.18);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }
/* Footer wordmark + golf-ball logo combo */
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 12px);
  font-size: clamp(52px, 5.8vw, 80px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--cream);
  margin: 0 0 var(--s-4);
  line-height: 1;
}
.footer-brand-mark em {
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.025em;
}
.footer-brand-mark .footer-logo {
  width: clamp(92px, 10.5vw, 140px);
  height: clamp(92px, 10.5vw, 140px);
  display: block;
  flex-shrink: 0;
}
.footer-brand p { color: rgba(255,246,233,.7); max-width: 38ch; margin: 0; }
.footer-credentials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,246,233,.12);
  max-width: 240px;
}
.footer-credentials-label {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,246,233,.55);
  font-weight: 700;
}
.footer-credentials-logo {
  height: 36px;
  width: auto;
  opacity: 0.95;
  transition: opacity var(--dur-sm) var(--ease);
}
.footer-credentials a:hover .footer-credentials-logo { opacity: 1; }
.footer-col h5 {
  font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,246,233,.72);
  margin: 0 0 var(--s-4); font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.footer-col a { font-size: var(--text-md); color: rgba(255,246,233,.85); transition: color var(--dur-sm) var(--ease); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: var(--s-6); margin-top: var(--s-5);
  font-size: var(--text-sm);
  color: rgba(255,246,233,.6); flex-wrap: wrap; gap: var(--s-3);
}

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(96px, 11vw, 160px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 78px); }
.page-hero .lead { max-width: 56ch; margin-top: var(--s-6); font-size: clamp(16px, 1.5vw, 21px); }
.page-hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-7);
  margin-top: var(--s-7);
  border-top: 1px solid var(--line); padding-top: var(--s-5);
}
.page-hero-meta div h5 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--s-2); font-weight: 700; }
.page-hero-meta div p { margin: 0; font-weight: 700; }

/* Cue Golf page now uses the brand teal */
.page-cue { background: var(--teal); color: var(--cream); }
.page-cue h1 { color: var(--cream); }
.page-cue .lead, .page-cue .page-hero-meta div p { color: rgba(255,246,233,0.92); }
.page-cue .page-hero-meta div h5, .page-cue .eyebrow { color: rgba(255,246,233,0.8); }
.page-cue .page-hero-meta { border-top-color: rgba(255,246,233,0.25); }

/* Adventure Golf page — dark navy blue */
.page-adv { background: #0E2742; color: var(--cream); }
.page-adv h1 { color: var(--cream); }
.page-adv .lead, .page-adv .page-hero-meta div p { color: rgba(255,246,233,0.85); }
.page-adv .page-hero-meta div h5, .page-adv .eyebrow { color: rgba(255,246,233,0.65); }
.page-adv .page-hero-meta { border-top-color: rgba(255,246,233,0.2); }

/* Contact page — deep teal to keep it on-brand and distinct */
.page-contact { background: var(--teal-deep); color: var(--cream); }
.page-contact h1 { color: var(--cream); }
.page-contact .lead { color: rgba(255,246,233,0.92); }
.page-contact .eyebrow { color: rgba(255,246,233,0.8); }

/* About page — deep brand blue (sits between Adventure Golf navy and Creations blue) */
.page-about { background: #14538A; color: var(--cream); }
.page-about h1 { color: var(--cream); }
.page-about .lead { color: rgba(255,246,233,0.92); }
.page-about .eyebrow { color: rgba(255,246,233,0.8); }
.page-about .page-hero-meta div h5 { color: rgba(255,246,233,0.65); }
.page-about .page-hero-meta div p { color: rgba(255,246,233,0.92); }
.page-about .page-hero-meta { border-top-color: rgba(255,246,233,0.2); }

.page-create { background: var(--creations-blue); color: var(--cream); }
.page-create h1 { color: var(--cream); }
.page-create .lead, .page-create .page-hero-meta div p { color: rgba(255,246,233,0.92); }
.page-create .page-hero-meta div h5, .page-create .eyebrow { color: rgba(255,246,233,0.8); }
.page-create .page-hero-meta { border-top-color: rgba(255,246,233,0.25); }

/* ---------- FEATURE / TEXT-IMAGE ROWS ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
.feature-row + .feature-row { margin-top: var(--s-9); }
.feature-row .feature-art {
  border-radius: var(--r-lg); aspect-ratio: 4/5; overflow: hidden;
  background-size: cover; background-position: center;
}
.feature-row.reverse .feature-art { order: 2; }
@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-art { order: 0; }
  .feature-row .feature-art { aspect-ratio: 4/3; }
}

/* ---------- SPEC CARDS ---------- */
.spec-card {
  background: var(--paper); border-radius: var(--r-lg);
  border: 1px solid var(--line); padding: var(--s-6);
  height: 100%;
  display: flex; flex-direction: column;
  transition:
    transform 0.55s var(--ease-out-quint),
    border-color 0.55s var(--ease-out-quint),
    box-shadow 0.55s var(--ease-out-quint);
}
.spec-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 158, 157, 0.35);
  box-shadow:
    0 26px 60px -18px rgba(11, 22, 32, 0.18),
    0 0 60px -18px rgba(32, 158, 157, 0.3);
}
.spec-card h3 { margin: 8px 0 var(--s-4); font-size: clamp(22px, 2.4vw, 30px); }
.spec-card p { color: var(--text-soft); margin: 0; }
.spec-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.spec-card li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--text-soft); }
.spec-card li::before {
  content: ""; flex-shrink: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--teal); margin-top: 6px;
}

/* Creative process-step cards — used on Creations */
.process-step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  overflow: hidden;
  transition: transform 0.55s var(--ease-out-quint), border-color 0.55s var(--ease-out-quint), background 0.55s var(--ease-out-quint);
  display: flex; flex-direction: column;
  min-height: 280px;
  height: 100%;
}
.process-step:hover { transform: translateY(-6px); border-color: var(--creations-blue); }
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(80px, 11vw, 168px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--creations-blue);
  margin-bottom: var(--s-4);
  display: block;
}
.process-step h3 { font-size: clamp(22px, 2.4vw, 30px); }
.process-step p { color: var(--text-soft); margin: var(--s-3) 0 0; }
.process-step::after {
  content: "→";
  position: absolute;
  bottom: var(--s-5); right: var(--s-6);
  font-size: 28px;
  color: var(--creations-blue);
  font-weight: 700;
}
/* Last card in flow points down */
.process-step.is-last::after { content: "✺"; }

/* Icon for spec/benefit cards — larger and centred */
.spec-card.has-ico { text-align: center; }
.spec-card.has-ico .eyebrow { justify-content: center; }
.spec-card.has-ico .eyebrow::before { display: none; }
.spec-card.has-ico ul { text-align: left; }

.spec-card .ico {
  width: 160px; height: 160px;
  display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-deep);
  border-radius: var(--r-lg);
  margin: 0 auto var(--s-6);
}
.spec-card.dark .ico { background: rgba(255,255,255,0.18); color: var(--cream); }
.spec-card .ico svg { width: 92px; height: 92px; stroke-width: 2.4; }

/* Centred middle-dot separator (.sep) — visible, equal spacing.
   Always inherits the surrounding text colour so it stays readable on every background. */
.sep {
  display: inline-block;
  margin: 0 0.5em;
  color: currentColor;
  opacity: 1;
  font-weight: 700;
  font-size: 1.1em;
  vertical-align: baseline;
}

/* Golf-flag bullet list — flags locked to a fixed size, even spacing */
.list-flags { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.list-flags li {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: var(--s-4);
  align-items: start;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
}
.list-flags li::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23209E9D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><line x1='6' y1='22' x2='6' y2='3'/><path d='M6 4l10 3-3 3 3 3-10 3'/></svg>");
  background-size: 28px 28px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); padding: var(--s-5) 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -0.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 32px; font-weight: 200; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--teal); }
.faq details p { color: var(--text-soft); margin-top: var(--s-4); max-width: 70ch; }

/* ---------- CONTACT FORM ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); } }

.form { display: grid; gap: var(--s-4); }
.form label { display: grid; gap: var(--s-2); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-soft); font-weight: 700; }
.form input, .form textarea, .form select {
  border: 0; border-bottom: 1.5px solid var(--line-strong);
  background: transparent; padding: 12px 0;
  font-size: 17px; color: var(--ink); border-radius: 0;
  font-family: var(--font-body); font-weight: 400;
  text-transform: none; letter-spacing: 0;
  transition: border-color .3s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-bottom-color: var(--teal); }
.form textarea { resize: vertical; min-height: 120px; }
.form .chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.form .chip {
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 10px 18px; font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: 0; text-transform: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.form .chip input { display: none; }
.form .chip:has(input:checked) { background: var(--teal); color: var(--cream); border-color: var(--teal); }

/* Submit status: success / error / pending */
.form-status { display: none; margin-top: var(--s-4); padding: 14px 18px; border-radius: var(--r-md); font-size: 15px; line-height: 1.5; }
.form-status.is-pending { display: block; background: var(--cream-warm); color: var(--text-soft); }
.form-status.is-success { display: block; background: rgba(32,158,157,0.12); color: var(--teal-deep); border: 1px solid rgba(32,158,157,0.3); }
.form-status.is-error { display: block; background: rgba(180,30,30,0.08); color: #8a1f1f; border: 1px solid rgba(180,30,30,0.25); }

.contact-info h3 { margin-bottom: var(--s-5); }
.contact-info dl { display: grid; gap: var(--s-5); }
.contact-info dt { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-1); font-weight: 700; }
.contact-info dd { margin: 0; font-size: 18px; }

/* ---------- TEAM SECTION (About page — same ink as Workshop section) ---------- */
.team-section {
  background: var(--ink);
  color: var(--cream);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.team-section .eyebrow { color: var(--cream); }
.team-section .eyebrow::before { background: var(--cream); }
.team-section h2 { color: var(--cream); }
.team-section .lead { color: var(--cream); }
/* Higher specificity so these win over the global .team-card defaults */
.team-section .team-card .team-name,
.team-section .team-card .team-role { color: var(--cream); }

/* ---------- TEAM CARDS ---------- */
.team-card { display: grid; gap: var(--s-4); }
.team-card .team-photo {
  /* 2:3 portrait so the head + Studio 23 t-shirt logo are both in frame. */
  aspect-ratio: 2/3; border-radius: var(--r-lg);
  background-size: cover; background-position: center top;
  transition: transform .5s var(--ease);
}
.team-card:hover .team-photo { transform: scale(1.02); }
.team-card .team-name { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.team-card .team-role { font-size: 14px; color: var(--text-soft); margin-top: 4px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- CLIENT LOGOS + TESTIMONIALS ---------- */
.clients-section {
  background: var(--adv-navy);
  color: var(--cream);
}
.clients-section .eyebrow { color: rgba(255,246,233,0.75); }
.clients-section .eyebrow::before { background: rgba(255,246,233,0.75); }
.clients-section h2 { color: var(--cream); }
.clients-section .lead { color: rgba(255,246,233,0.85); }

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: var(--s-5) 0;
  margin: 0 auto;
  max-width: 1080px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client-logos img {
  height: clamp(34px, 4vw, 56px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(100%);
  transition: opacity 0.4s var(--ease-out-quint), filter 0.4s var(--ease-out-quint);
}
.client-logos img:hover { opacity: 1; filter: grayscale(0%); }

/* Adjust logo strip + placeholder colours for the dark navy backdrop */
.clients-section .client-logos {
  border-top-color: rgba(255,246,233,0.14);
  border-bottom-color: rgba(255,246,233,0.14);
}
.clients-section .client-logos img {
  filter: grayscale(100%) brightness(0) invert(1);   /* render logos cream on dark */
  opacity: 0.7;
}
.clients-section .client-logos img:hover {
  filter: none;
  opacity: 1;
}
.clients-section .client-logo-placeholder {
  border-color: rgba(255,246,233,0.4);
  color: rgba(255,246,233,0.78);
}

/* Placeholder rendered when a logo file is missing — keeps layout intact */
.client-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(34px, 4vw, 56px);
  padding: 0 clamp(14px, 2vw, 26px);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: -0.01em;
  color: var(--text-soft);
  white-space: nowrap;
}

/* Testimonial cards */
.testimonial-card {
  margin: 0;
  padding: var(--s-6) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  height: 100%;
  transition:
    transform 0.55s var(--ease-out-quint),
    border-color 0.55s var(--ease-out-quint),
    box-shadow 0.55s var(--ease-out-quint);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 158, 157, 0.35);
  box-shadow:
    0 28px 64px -18px rgba(11, 22, 32, 0.18),
    0 0 60px -18px rgba(32, 158, 157, 0.28);
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  position: relative;
  padding: var(--s-4) 0 0 var(--s-6);
}
.testimonial-card blockquote::before {
  content: "“";
  position: absolute;
  left: 0; top: -2px;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--teal);
  font-weight: 700;
}
.testimonial-card blockquote::after {
  content: "”";
  display: inline-block;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0;
  color: var(--teal);
  font-weight: 700;
  margin-left: 4px;
  vertical-align: -0.36em;
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.testimonial-card .testimonial-author {
  flex-direction: row;
  align-items: center;
  gap: var(--s-5);
}
.testimonial-card .testimonial-author > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-card .testimonial-author strong {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.testimonial-card .testimonial-author span {
  font-size: 15px;
  line-height: 1.35;
}
.testimonial-card .testimonial-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}
.testimonial-card figcaption strong {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.testimonial-card figcaption span {
  color: var(--text-soft);
  font-size: 13px;
}
.testimonial-card .pill {
  display: inline-block;
  margin-top: auto;
  padding: 4px 12px;
  background: var(--teal-soft); color: var(--teal-deep);
  border-radius: var(--r-pill);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
  align-self: flex-start;
}

/* ---------- CLIENT CARDS (legacy, kept for any other page) ---------- */
.client-card {
  padding: var(--s-7) var(--s-5); border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--paper);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.55s var(--ease-out-quint),
    border-color 0.5s var(--ease-out-quint),
    box-shadow 0.55s var(--ease-out-quint);
}
.client-card:hover {
  transform: translateY(-8px);
  border-color: rgba(32, 158, 157, 0.35);
  box-shadow:
    0 28px 64px -18px rgba(11, 22, 32, 0.2),
    0 0 60px -18px rgba(32, 158, 157, 0.32);
}
/* Force every title to occupy the same vertical space — keeps
   each row of text aligned across all three cards. */
.client-card h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  min-height: 2.1em;           /* fits up to 2 lines of title */
  display: flex; align-items: flex-start; justify-content: center;
}
.client-card p {
  color: var(--text-soft);
  margin: var(--s-3) 0 0;
  min-height: 4.4em;           /* fits up to 3 lines of description */
}
.client-card .pill {
  display: inline-block;
  margin-top: auto;          /* pushes pill to bottom so all 3 line up */
  padding: 4px 12px;
  background: var(--teal-soft); color: var(--teal-deep);
  border-radius: var(--r-pill);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
}
.client-card p { margin-bottom: var(--s-4); }   /* breathing room above pill */

/* ---------- CREATIONS — COURSE ROADMAP (six golf holes) ---------- */
.course-roadmap { background: var(--cream); }
.course-roadmap-head { max-width: 72ch; margin-bottom: clamp(40px, 5vw, 80px); }

/* Holes laid out as a 3-column grid (2 rows of 3) on desktop,
   single column on mobile. A dashed teal "fairway" line connects them. */
.course-holes {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px);
  position: relative;
  counter-reset: hole;
}
@media (max-width: 900px) { .course-holes { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
@media (max-width: 560px) { .course-holes { grid-template-columns: 1fr; gap: var(--s-6); } }

.course-hole {
  position: relative;
  padding: 64px var(--s-5) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition:
    transform 0.5s var(--ease-out-quint),
    border-color 0.4s var(--ease-out-quint),
    box-shadow 0.5s var(--ease-out-quint);
}
.course-hole:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 158, 157, 0.4);
  box-shadow:
    0 26px 60px -22px rgba(11, 22, 32, 0.16),
    0 0 60px -18px rgba(32, 158, 157, 0.22);
}
.course-hole:hover .course-hole-pin svg { transform: rotate(-6deg); }

/* The flag — anchored top-left, sticks UP out of the card like a flag on the green */
.course-hole-pin {
  position: absolute;
  top: -28px;
  left: var(--s-5);
  width: 40px; height: 60px;
  filter: drop-shadow(0 4px 6px rgba(11, 22, 32, 0.18));
}
.course-hole-pin svg {
  width: 100%; height: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out-quint);
}

.course-hole-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-3);
}
.course-hole h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 var(--s-3);
  letter-spacing: -0.02em;
}
.course-hole p {
  color: var(--text-soft);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* Finish hole (06 — Install) — bold border + teal background hint */
.course-hole.is-finish {
  background: var(--teal-soft);
  border-color: var(--teal);
}
.course-hole.is-finish .course-hole-label {
  background: var(--teal);
  color: var(--cream);
}

/* ---------- CREATIONS — SCROLL-PINNED 6-STEP ROADMAP (legacy, kept for any other page) ---------- */
/* Section is N × 100vh tall; an inner sticky stage pins to the viewport
   while you scroll, and the 6 cards cross-fade based on scroll progress. */
.scroll-roadmap { position: relative; background: var(--cream); padding: 0 !important; }
.scroll-roadmap-inner {
  position: relative;
  /* 6 steps × ~0.6 viewports — tighter scroll travel */
  height: 360vh;
}
.scroll-roadmap-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;          /* cards now centred in the full viewport */
  padding: clamp(40px, 5vw, 72px) 0;
  overflow: hidden;
}
.scroll-roadmap-frame {
  position: relative;
  width: 100%;
}
.scroll-roadmap-intro {
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 72px);
}
.scroll-roadmap-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--text-soft);
}
.scroll-roadmap-eyebrow .sep {
  display: inline-block;
  margin: 0 0.7em;
  font-weight: 900;
  font-size: 1em;
  color: var(--teal);
  vertical-align: middle;
}
.scroll-roadmap-cards {
  position: relative;
  min-height: 300px;
  max-width: 880px;
}
.scroll-roadmap-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition:
    opacity 0.8s var(--ease-out-quint),
    transform 0.8s var(--ease-out-quint);
  will-change: opacity, transform;
}
.scroll-roadmap-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-roadmap-num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
  margin: 0 0 var(--s-4);
}
.scroll-roadmap-num em {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.04em;
  color: var(--teal);
  line-height: 1;
  display: inline-block;
}
.scroll-roadmap-num span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}
.scroll-roadmap-card h2 {
  font-size: clamp(40px, 6vw, 96px);
  margin: 0 0 var(--s-5);
  max-width: 18ch;
  font-weight: 700;
}
/* Both halves of each discipline heading render fully bold */
.scroll-roadmap-card h2 strong,
.scroll-roadmap-card h2 em.display-italic {
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.03em;
}

/* Illustration block — line-icon in brand teal, sits above the counter */
.scroll-roadmap-icon {
  width: clamp(64px, 6.5vw, 92px);
  height: clamp(64px, 6.5vw, 92px);
  display: grid; place-items: center;
  border-radius: var(--r-lg);
  background: rgba(32, 158, 157, 0.10);
  color: var(--teal-deep);
  margin-bottom: var(--s-4);
}
.scroll-roadmap-icon svg {
  width: 60%;
  height: 60%;
  display: block;
}
.scroll-roadmap-card p {
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--text-soft);
  margin: 0;
  max-width: 50ch;
  line-height: 1.5;
}

/* Step ticks on the right edge */
.scroll-roadmap-ticks {
  position: absolute;
  top: 50%; right: max(24px, 2vw);
  transform: translateY(-50%);
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.scroll-roadmap-ticks li {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(11, 22, 32, 0.18);
  transition:
    background 0.4s var(--ease-out-quint),
    transform 0.4s var(--ease-out-quint);
}
.scroll-roadmap-ticks li.is-active {
  background: var(--teal);
  transform: scale(1.4);
}

/* Mobile fallback — drop the pinning, just stack the cards normally */
@media (max-width: 800px) {
  .scroll-roadmap-inner { height: auto; }
  .scroll-roadmap-stage { position: relative; height: auto; padding: var(--s-7) 0; }
  .scroll-roadmap-cards { min-height: 0; }
  .scroll-roadmap-card {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    padding: var(--s-7) 0;
    border-bottom: 1px solid rgba(11,22,32,0.08);
  }
  .scroll-roadmap-card:last-child { border-bottom: 0; }
  .scroll-roadmap-ticks { display: none; }
}

/* Reduced-motion: behave like the mobile stacked version */
@media (prefers-reduced-motion: reduce) {
  .scroll-roadmap-inner { height: auto; }
  .scroll-roadmap-stage { position: relative; height: auto; padding: var(--s-7) 0; }
  .scroll-roadmap-card {
    position: relative; inset: auto;
    opacity: 1; transform: none;
    padding: var(--s-7) 0;
  }
  .scroll-roadmap-ticks { display: none; }
}

/* ---------- CREATIONS ROADMAP — stepped path with media ---------- */
.roadmap {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  position: relative;
}
.roadmap.roadmap-4 { grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 1100px) {
  .roadmap.roadmap-4 { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-7); }
  .roadmap.roadmap-4::before { display: none; }
}
/* Connecting line that runs between the 3 numbered nodes */
.roadmap::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--creations-blue));
  z-index: 0;
  border-radius: 2px;
  pointer-events: none;
}
.roadmap-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-4);
  z-index: 1;
}
.roadmap-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--teal);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  margin-bottom: var(--s-3);
  box-shadow: 0 8px 22px -8px rgba(11, 22, 32, 0.18);
  transition: transform 0.45s var(--ease-out-quint), border-color 0.4s var(--ease-out-quint);
}
.roadmap-step:hover .roadmap-num {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--creations-blue);
}
.roadmap-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px -16px rgba(11, 22, 32, 0.22);
  background: var(--cream-warm);
  position: relative;
}
.roadmap-media img,
.roadmap-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s var(--ease-out-quint);
}
.roadmap-step:hover .roadmap-media img,
.roadmap-step:hover .roadmap-media video {
  transform: scale(1.04);
}
.roadmap-step h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  margin: var(--s-3) 0 0;
}
.roadmap-step p {
  color: var(--text-soft);
  margin: 0;
  max-width: 32ch;
}
@media (max-width: 800px) {
  .roadmap { grid-template-columns: 1fr; gap: var(--s-7); }
  .roadmap::before { display: none; }
}

/* ---------- LOGO SPIN ON HOVER ---------- */
/* Nav logo (small mark, top-left) + footer logo + hero golf ball.
   Spin once on hover, gracefully reset when the cursor leaves. */
.nav-logo img,
.footer-logo,
.hero-ball {
  transition: transform 1.1s var(--ease-out-quint);
  will-change: transform;
}
.nav-logo:hover img,
.footer-brand-mark:hover .footer-logo,
.hero-ball:hover {
  transform: rotate(360deg);
}

/* ---------- CONTACT PAGE MAP ---------- */
.contact-map { margin-top: var(--s-5); }
.contact-map iframe { box-shadow: 0 14px 32px -14px rgba(11,22,32,0.22); }

/* ---------- CUE GOLF — UK VENUES MAP ---------- */
.venues-section {
  background: var(--teal);
  color: var(--cream);
}
.venues-section .eyebrow { color: rgba(255,246,233,0.78); }
.venues-section .eyebrow::before { background: rgba(255,246,233,0.78); }
.venues-section h2 { color: var(--cream); }
.venues-section .lead { color: rgba(255,246,233,0.88); }

/* Two-column layout: text on left, map on right */
.venues-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
@media (max-width: 900px) {
  .venues-layout { grid-template-columns: 1fr; gap: var(--s-7); }
}
.venues-head { text-align: left; max-width: 48ch; }

/* Google Maps — brand-coloured frame */
.venues-google-map {
  width: 100%;
  height: clamp(420px, 56vw, 640px);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -16px rgba(11, 22, 32, 0.22);
  background: var(--cream-warm);
}

/* Style the Google InfoWindow content to match brand */
.gmaps-iw {
  font-family: var(--font-body);
  color: var(--ink);
  min-width: 200px;
  padding: 6px 4px 8px;
}
.gmaps-iw h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.gmaps-iw p {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 var(--s-3);
  line-height: 1.45;
}
.gmaps-iw p .sep {
  color: inherit;          /* same colour as the meta text */
  font-weight: 700;
  font-size: 1em;
  opacity: 1;
  margin: 0 0.45em;
  vertical-align: baseline;
}
.gmaps-iw a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal-deep);
  border-bottom: 1.5px solid var(--teal-deep);
  padding-bottom: 1px;
  text-decoration: none;
}
.gmaps-iw a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.gmaps-iw-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(11, 22, 32, 0.06);
  color: var(--text-soft);
  margin-bottom: 6px;
}
.gmaps-iw-tag.is-flagship {
  background: var(--teal);
  color: var(--cream);
}

/* Leaflet custom marker container — strip Leaflet's default styling */
.cg-flag-icon {
  background: transparent !important;
  border: 0 !important;
  filter: drop-shadow(0 2px 3px rgba(11, 22, 32, 0.45));
}
.cg-flag-icon svg { display: block; overflow: visible; }

/* Leaflet popup — brand-aligned */
.leaflet-popup-content-wrapper {
  border-radius: var(--r-lg) !important;
  background: var(--cream) !important;
  box-shadow: 0 18px 40px -12px rgba(11, 22, 32, 0.28) !important;
  border: 1px solid rgba(11, 22, 32, 0.06);
}
.leaflet-popup-content {
  margin: 14px 18px !important;
  font-family: var(--font-body);
  line-height: 1.4;
}
.leaflet-popup-tip { background: var(--cream) !important; }
.leaflet-popup-close-button {
  color: var(--text-muted) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  top: 8px !important;
  right: 10px !important;
  padding: 4px 6px !important;
  line-height: 1 !important;
  border-radius: 50%;
  transition: color var(--dur-xs) var(--ease), background var(--dur-xs) var(--ease);
}
.leaflet-popup-close-button:hover {
  color: var(--ink) !important;
  background: rgba(11, 22, 32, 0.06);
}
.leaflet-container { background: var(--cream-warm); }
.leaflet-control-attribution { font-size: 10px !important; opacity: 0.85; }

/* Golf-flag pin marker
   The base ball sits EXACTLY on the geographic point (var(--x), var(--y))
   and the pole grows upward from it, like a real golf hole pin. */
.venue-pin {
  position: absolute;
  top: var(--y); left: var(--x);
  width: 22px; height: 28px;
  /* Anchor base ball on the point */
  transform: translate(-6px, -25px);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 0.4s var(--ease-out-quint),
    filter 0.4s var(--ease-out-quint);
  z-index: 2;
  filter: drop-shadow(0 2px 3px rgba(11, 22, 32, 0.35));
}
.venue-pin .pin-flag {
  width: 100%; height: 100%;
  display: block;
  overflow: visible;
}
/* Pulse halo behind the pin's base point */
.venue-pin::before {
  content: "";
  position: absolute;
  left: 6px; bottom: 0;
  width: 10px; height: 10px;
  margin: 0 0 -5px -5px;
  border-radius: 50%;
  background: rgba(32, 158, 157, 0.55);
  animation: pin-pulse 2.6s ease-out infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes pin-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(4);   opacity: 0;   }
}

/* Flagship variant — bigger + brand-teal flag (the SVG itself overrides fill) */
.venue-pin.is-flagship {
  width: 28px; height: 36px;
  transform: translate(-8px, -32px);
}
.venue-pin.is-flagship::before {
  background: rgba(32, 158, 157, 0.75);
  width: 12px; height: 12px;
}

/* Hover / focus / open — flag lifts and grows */
.venue-pin:hover,
.venue-pin:focus-visible,
.venue-pin.is-open {
  transform: translate(-6px, -28px) scale(1.18);
  filter: drop-shadow(0 6px 8px rgba(11, 22, 32, 0.45));
  outline: none;
  z-index: 11;
}
.venue-pin.is-flagship:hover,
.venue-pin.is-flagship:focus-visible,
.venue-pin.is-flagship.is-open {
  transform: translate(-8px, -36px) scale(1.15);
}

/* Pin tooltip — appears on hover/focus above the flag */
.pin-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 240px;
  padding: var(--s-4) var(--s-5);
  background: var(--cream);
  border: 1px solid rgba(11, 22, 32, 0.08);
  border-radius: var(--r-lg);
  box-shadow: 0 22px 50px -16px rgba(11, 22, 32, 0.32);
  opacity: 0;
  pointer-events: none;
  text-align: left;
  z-index: 20;
  transition:
    opacity 0.28s var(--ease-out-quint),
    transform 0.28s var(--ease-out-quint);
}
/* Pointer triangle under the tooltip */
.pin-tooltip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  width: 14px; height: 14px;
  margin-left: -7px;
  background: var(--cream);
  border-right: 1px solid rgba(11, 22, 32, 0.08);
  border-bottom: 1px solid rgba(11, 22, 32, 0.08);
  transform: translateY(-50%) rotate(45deg);
}

.pin-tooltip h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
}
.pin-tooltip-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(11, 22, 32, 0.06);
  color: var(--text-soft);
  margin-bottom: 8px;
}
.pin-tooltip-tag.is-flagship {
  background: var(--teal);
  color: var(--cream);
}
.pin-tooltip-meta {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-soft);
  margin: 0 0 var(--s-3);
}
.pin-tooltip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-deep);
  border-bottom: 1.5px solid var(--teal-deep);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease-out-quint), border-color 0.3s var(--ease-out-quint);
}
.pin-tooltip-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.pin-tooltip-link .arrow { transition: transform 0.3s var(--ease-out-quint); }
.pin-tooltip-link:hover .arrow { transform: translateX(4px); }

/* Reveal on hover / focus / open */
.venue-pin:hover .pin-tooltip,
.venue-pin:focus-within .pin-tooltip,
.venue-pin.is-open .pin-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Edge-anchored variants — flip the tooltip toward the centre */
.venue-pin.pin-edge-right .pin-tooltip {
  left: auto; right: 50%;
  transform: translateX(50%) translateY(6px);
}
.venue-pin.pin-edge-right .pin-tooltip::after {
  left: auto; right: 50%; margin-right: -7px;
}
.venue-pin.pin-edge-right:hover .pin-tooltip,
.venue-pin.pin-edge-right:focus-within .pin-tooltip,
.venue-pin.pin-edge-right.is-open .pin-tooltip {
  transform: translateX(50%) translateY(0);
}

@media (max-width: 600px) {
  .pin-tooltip { width: 200px; padding: var(--s-3) var(--s-4); }
  .pin-tooltip h4 { font-size: 16px; }
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -20px rgba(11,22,32,0.45);
  padding: 18px 22px;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity var(--dur-sm) var(--ease), transform var(--dur-sm) var(--ease);
  max-width: 1080px;
  margin: 0 auto;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner-text { display: flex; flex-direction: column; gap: 4px; max-width: 60ch; }
.cookie-banner-text strong { font-size: 15px; letter-spacing: -0.005em; }
.cookie-banner-text span { font-size: 13px; color: rgba(255,246,233,.8); line-height: 1.55; }
.cookie-banner-text a { color: var(--teal); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 10px 20px; min-width: 0; font-size: 13px; }
@media (max-width: 640px) {
  .cookie-banner { padding: 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* ---------- ADVENTURE GOLF — 14-WEEK TIMELINE ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--s-7);
  position: relative;
  counter-reset: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  border-radius: var(--r-pill);
}
.timeline-row {
  position: relative;
  padding: 0 0 var(--s-7) var(--s-6);
}
.timeline-row:last-child { padding-bottom: 0; }
.timeline-row::before {
  content: "";
  position: absolute;
  left: calc(var(--s-7) * -1 + 6px);
  top: 6px;
  width: 18px; height: 18px;
  background: var(--teal);
  border: 4px solid var(--cream-warm);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-end::before {
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}
.timeline-weeks {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-3);
}
.timeline-body h3 { font-size: clamp(22px, 2.4vw, 30px); }
.timeline-body p {
  color: var(--text-soft);
  max-width: 60ch;
  margin-top: var(--s-2);
}
@media (max-width: 600px) {
  .timeline { padding-left: var(--s-6); }
  .timeline::before { left: 10px; }
  .timeline-row::before { left: calc(var(--s-6) * -1 + 2px); }
}

/* ---------- CUE GOLF — UK MAP ---------- */
#cue-golf-map {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 628 / 1052;
  background: transparent;
}
.uk-map-img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}

/* Pins overlay */
.uk-pins { position: absolute; inset: 0; pointer-events: none; }
.uk-pin {
  position: absolute;
  width: 28px; height: 36px;
  margin-left: -14px; margin-top: -34px;
  padding: 0; border: 0; background: transparent;
  pointer-events: auto; cursor: pointer;
  transition: transform .2s var(--ease);
}
.uk-pin::before {
  content: "";
  display: block;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'><line x1='6' y1='34' x2='6' y2='4' stroke='%230B1620' stroke-width='2.5' stroke-linecap='round'/><path d='M6 5 L25 9 L17 14 L25 19 L6 24 Z' fill='%23FFF6E9' stroke='%230B1620' stroke-width='1.6' stroke-linejoin='round'/><circle cx='6' cy='34' r='2.4' fill='%230B1620'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.4));
}
.uk-pin:hover, .uk-pin.is-active { transform: scale(1.18); }
.uk-pin:hover::before, .uk-pin.is-active::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'><line x1='6' y1='34' x2='6' y2='4' stroke='%230B1620' stroke-width='2.5' stroke-linecap='round'/><path d='M6 5 L25 9 L17 14 L25 19 L6 24 Z' fill='%23209E9D' stroke='%230B1620' stroke-width='1.6' stroke-linejoin='round'/><circle cx='6' cy='34' r='2.4' fill='%230B1620'/></svg>");
}

/* Popup */
.uk-popup {
  position: absolute;
  transform: translate(-50%, calc(-100% - 18px));
  background: var(--cream);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-5) var(--s-4);
  width: 240px;
  box-shadow: 0 14px 30px -8px rgba(0,0,0,0.45);
  z-index: 4;
}
.uk-popup::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 50%; margin-left: -8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--cream);
}
.uk-popup-close {
  position: absolute; top: 6px; right: 8px;
  background: none; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--text-muted);
  padding: 4px 8px;
}
.uk-popup-close:hover { color: var(--ink); }
.uk-popup-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 4px 10px; border-radius: var(--r-pill);
  margin-bottom: var(--s-3);
}
.uk-popup-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 var(--s-2); color: var(--ink);
}
.uk-popup-addr {
  font-size: 13px; color: var(--text-soft); margin: 0 0 var(--s-3); line-height: 1.4;
}
.uk-popup-link {
  font-size: 13px; font-weight: 700; color: var(--teal-deep);
  text-decoration: none; border-bottom: 1.5px solid var(--teal-deep);
  padding-bottom: 1px;
}
.uk-popup-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- REVEAL / ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.7s var(--ease-out-quint),
    transform 0.7s var(--ease-out-quint);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }

/* Opt-in cascading stagger: add .reveal-stagger to a parent;
   JS auto-assigns each .reveal child a transition-delay. */
.reveal-stagger .reveal { transition-delay: var(--stagger, 0ms); }

.tilt { transition: transform .25s var(--ease-soft); transform-style: preserve-3d; }

.scroll-badge { display: none; }

/* ---------- Scroll progress bar (top of viewport) ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.08s linear;
  pointer-events: none;
  will-change: transform;
  box-shadow: 0 1px 8px -2px rgba(32, 158, 157, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .float-mark, .float-ball, .hero::before { animation: none !important; }
}

/* ---------- MOBILE PERFORMANCE GUARDS ---------- */
/* Below 768px: scale back heavy GPU work — backdrop-blur is the worst
   offender on low-power devices, and big card-image zooms eat frames. */
@media (max-width: 768px) {
  .nav.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }
  /* Trim reveal distance further on mobile so first-paint feels instant */
  .reveal { transform: translate3d(0, 16px, 0); }
}

/* ---------- MOBILE TIDY-UP (≤ 700px) ----------
   Fixes for the major mobile issues:
   • hero / page-hero headings overflowing on small screens
   • 2-col grids with large gaps creating massive vertical white space on mobile
   • section padding shrunk so pages don't feel half-empty
   • nav toggle button always inside viewport, with safe-area padding
   • eyebrows breaking out of container width
*/
@media (max-width: 700px) {
  /* ---- Container/gutter tightening + safe-area for notch phones ---- */
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  /* ---- Nav: keep hamburger inside the viewport ---- */
  .nav-inner { padding: var(--s-4) 0; }
  .nav-logo img { width: 56px; height: 56px; }
  .nav-toggle { flex-shrink: 0; }

  /* ---- Hero (homepage) ---- */
  .hero-row h1 {
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1;
  }
  .hero-ball { width: clamp(120px, 38vw, 180px) !important; }
  .hero-meta { padding-top: var(--s-5); }
  .hero { padding: var(--s-7) 0 var(--s-7); }

  /* ---- Page hero (sub-pages) ---- */
  .page-hero { padding: var(--s-7) 0 var(--s-6); }
  .page-hero h1 {
    font-size: clamp(30px, 8.5vw, 44px);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .page-hero h1 em.display-italic {
    font-size: 0.95em;
    line-height: 1.05;
    white-space: normal !important;   /* override inline nowrap that overflows on narrow screens */
  }
  .page-hero .lead { font-size: 16px; line-height: 1.5; margin-top: var(--s-4); }
  .page-hero-meta { gap: var(--s-4); margin-top: var(--s-5); padding-top: var(--s-4); }
  .page-hero-meta > div { flex: 1 1 calc(50% - var(--s-4)); }

  /* ---- Section padding — stop wasting 100vh of cream on every section ---- */
  section { padding: var(--s-7) 0 !important; }
  .cta { margin: var(--s-6) var(--gutter) var(--s-7); padding: var(--s-7) var(--s-6); }
  .cta h2 { font-size: clamp(28px, 7vw, 40px); }

  /* ---- Grid gaps: when a 2-col grid stacks, kill the giant gap ---- */
  .grid-2, .grid-3, .grid-4,
  .grid[style*="grid-template-columns"] {
    gap: var(--s-5) !important;
  }
  /* Inline-styled grids using gap: var(--s-9) become unreadable when stacked */
  .grid[style*="--s-9"] { gap: var(--s-5) !important; }

  /* ---- Pillars head + section heads (the 2-col "title / lead" blocks) ---- */
  .pillars-head { gap: var(--s-4); margin-bottom: var(--s-6); }
  .pillars-head h2 { font-size: clamp(30px, 7vw, 40px); line-height: 1.05; }

  /* ---- Eyebrows: stop them sitting side-by-side on the Creations roadmap ---- */
  .eyebrow {
    flex-wrap: wrap;
    max-width: 100%;
  }

  /* ---- Inline-styled max-widths on .lead need a sane mobile cap ---- */
  .lead, p.lead { max-width: 100% !important; font-size: 16px; }

  /* ---- Body copy: keep readable, never let it overflow ---- */
  p { max-width: 100%; }
  h1, h2, h3 { hyphens: auto; }

  /* ---- Pillar cards: reduce min-height so they don't feel oversized ---- */
  .pillar-card { min-height: 0; padding: var(--s-6); }
  .pillar-card .pillar-art { height: 220px; }
  .pillar-card h3 { font-size: clamp(26px, 7vw, 36px); }
  .pillar-card .arrow-cta { font-size: 17px; padding: 12px 22px; }

  /* ---- Footer: tighten top padding ---- */
  .footer { padding: var(--s-7) 0 var(--s-5); }
  .footer-top { gap: var(--s-5); padding-bottom: var(--s-5); }
  .footer-brand-mark { font-size: clamp(44px, 11vw, 56px); }
  .footer-brand-mark .footer-logo { width: clamp(56px, 13vw, 72px); height: auto; }

  /* ---- Spec cards / process steps: trim oversize internal padding ---- */
  .spec-card, .process-step { padding: var(--s-5); }

  /* ---- Testimonial card: trim padding + scale logo ---- */
  .testimonial-card { padding: var(--s-5); }
  .testimonial-card .testimonial-logo { width: 72px; height: 72px; }
  .testimonial-card blockquote { font-size: clamp(17px, 4.5vw, 21px); padding-left: var(--s-5); }
  .testimonial-card blockquote::before { font-size: 44px; top: 0; }
  .testimonial-card blockquote::after { font-size: 36px; }

  /* ---- Process row (Cue Golf page) ---- */
  .process-row { padding: var(--s-5) 0; gap: var(--s-4); }
  .process-row h3 { font-size: clamp(22px, 6vw, 30px); }

  /* ---- Forms ---- */
  .form input, .form textarea { font-size: 16px; /* prevents iOS zoom on focus */ }
  .contact-grid { gap: var(--s-6); }
}

/* Extra-narrow phones (≤ 380px — iPhone Mini, older Android) */
@media (max-width: 380px) {
  .hero-row h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero h1 em.display-italic { font-size: 0.85em; }
  .footer-brand-mark { font-size: 38px; }
  .nav-logo img { width: 48px; height: 48px; }
  section { padding: var(--s-6) 0 !important; }
}

/* Touch devices: cancel hover-only image zooms (no hover state anyway,
   but this prevents a frame of paint when finger leaves the screen). */
@media (hover: none) and (pointer: coarse) {
  .pillar-card:hover .pillar-art { transform: none; }
  .pillar-card:hover { transform: none; box-shadow: none; }
  .spec-card:hover, .process-step:hover, .testimonial-card:hover { transform: none; }
}
