/* Arbor Golf site styles. Fonts are served from this site: no third-party requests. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fraunces.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/hanken-grotesk.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-500.woff2) format("woff2"); }

/* Arbor Golf tokens — mirrors ds/arbor/tokens.json */
:root {
  --paper: #F4EFE4;
  --paper-raised: #FBF8F1;
  --ink: #26343A;
  --ink-muted: #4F5B5C;
  --fairway: #24403A;
  --on-fairway: #F4EFE4;
  --on-fairway-muted: #B7C7BC;
  --fairway-soft: #DCE3D3;
  --leaf: #7E8F45;
  --leaf-deep: #56652A;
  --navy: #22324A;
  --leather: #B07A4A;
  --leather-deep: #8A5A30;
  --brass: #C9A45C;
  --flag: #C2412F;
  --line: #D9D0BE;
  --line-strong: #857E6D;
  --focus: var(--navy);
  --error: #A3341F;
  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 40px; --space-6: 64px; --space-7: 112px;
  --radius-sm: 2px; --radius-md: 6px; --radius-patch: 14px; --radius-pill: 999px;
  --shadow-lift: 0 1px 0 rgba(28,34,29,0.06), 0 8px 24px rgba(28,34,29,0.08);
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* Arbor Golf — component styles. Every value comes from tokens.css. */
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
.ag-eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--leather-deep); font-weight: 500; }
.ag-spec { font-family: var(--font-mono); font-size: 13px; line-height: 20px; }
.ag-display { font-family: var(--font-display); font-weight: 400; margin: 0; }

/* Button */
.ag-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-4); border-radius: var(--radius-sm); font: 600 15px/20px var(--font-sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .2s ease-out, color .2s ease-out; }
.ag-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-btn--primary { background: var(--fairway); color: var(--on-fairway); }
.ag-btn--primary:hover { background: var(--ink); }
.ag-btn--secondary { background: transparent; color: var(--fairway); border-color: var(--fairway); }
.ag-btn--secondary:hover { background: var(--fairway-soft); }
.ag-btn--text { min-height: 44px; padding: 0; color: var(--fairway); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ag-on-fairway .ag-btn--primary { background: var(--on-fairway); color: var(--fairway); }
.ag-on-fairway .ag-btn:focus-visible { outline-color: var(--on-fairway); }

/* Stitch rule — the signature divider */
.ag-stitch { border: 0; border-top: 2px dashed var(--leather); margin: 0; }
.ag-stitched { outline: 2px dashed var(--leather); outline-offset: -8px; }

/* Cards */
.ag-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.ag-photo { background: var(--fairway-soft); border-radius: var(--radius-md); }

/* Form */
.ag-field { display: grid; gap: var(--space-2); }
.ag-label { font: 600 14px/20px var(--font-sans); }
.ag-help { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ag-input { min-height: 48px; box-sizing: border-box; width: 100%; padding: 0 var(--space-3); background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: 400 16px/24px var(--font-sans); }
.ag-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-input[aria-invalid="true"] { border-color: var(--error); }
.ag-error { color: var(--error); font-size: 14px; line-height: 20px; }
.ag-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--paper-raised); font: 500 14px/20px var(--font-sans); color: var(--ink); }
.ag-chip[aria-pressed="true"] { background: var(--fairway); border-color: var(--fairway); color: var(--on-fairway); }

/* Arbor Golf — site styles: display type, the patch cutaway, forms and motion.
   The magnet theatre, bag tag and pixel course play on their own, so they run anywhere (including the design canvas).
   Scroll-linked touches (hero, reveals, names) are extras where supported. Reduced motion: everything shows finished. */

/* readable minimums: nothing meant to be read under 13px */
.ag-eyebrow { font-size: 13px; }

h1, h2, h3, blockquote, .ag-d { font-variation-settings: "SOFT" 60, "WONK" 0; }

/* Fig. 1 — a real bag: the photo, with the swappable patch laid exactly over the real one */
.ag-photofig { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: #1B2324; }
.ag-photofig .ph-bg { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the patch on the photo: left 16.93%, top 44.72%, 17.29% x 21.11% of the frame */
.ag-photofig .ph-patch, .ag-photofig .ph-xray, .ag-photofig .ph-ring { position: absolute; left: 16.93%; top: 44.72%; width: 17.29%; height: 21.11%; border-radius: 50%; }
.ag-photofig .ph-patch { padding: 0; border: 0; background: none; cursor: pointer; z-index: 3;
  transition: transform 520ms cubic-bezier(0.25, 0.8, 0.25, 1), filter 520ms ease; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35)); }
.ag-photofig .ph-patch img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: fill;
  box-shadow: 0 0 0 0.25vw #16302A; filter: brightness(0.9) contrast(0.96) saturate(0.92) sepia(0.06); }
.ag-photofig .ph-patch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 35% 25%, rgba(255,255,255,0.14), rgba(255,255,255,0) 45%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.22)); }
.ag-photofig .ph-patch:focus-visible { outline: 3px solid #F4EFE4; outline-offset: 4px; }
.ag-photofig.is-lifted .ph-patch { transform: translate(55%, -62%) scale(1.22) rotate(-6deg); filter: drop-shadow(0 22px 22px rgba(0,0,0,0.55)); }
.ag-photofig.is-held .ph-patch { transition-timing-function: cubic-bezier(0.65, 0, 0.95, 0.55); }
/* base patch seen through the pocket while the display patch is off */
.ag-photofig .ph-xray { z-index: 2; opacity: 0; transition: opacity 280ms ease; background: radial-gradient(circle at 40% 35%, #2C3537, #161D1F 75%); box-shadow: inset 0 0 0 2px rgba(201,164,92,0.6); }
.ag-photofig.is-lifted .ph-xray { opacity: 1; }
.ag-photofig .ph-m { position: absolute; width: 17%; height: 18.5%; margin: -8.5% 0 0 -8.5%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F2DDA6, #C9A45C 55%, #8E7034); box-shadow: 0 0 10px rgba(201,164,92,0.75); }
.ag-photofig .ph-m--c { left: 50%; top: 50%; } .ag-photofig .ph-m--n { left: 50%; top: 21%; } .ag-photofig .ph-m--s { left: 50%; top: 79%; }
.ag-photofig .ph-m--w { left: 21%; top: 50%; } .ag-photofig .ph-m--e { left: 79%; top: 50%; }
.ag-photofig .ph-ring { z-index: 2; opacity: 0; box-shadow: 0 0 0 3px #F2DDA6, 0 0 24px 6px rgba(201,164,92,0.7); }
.ag-photofig.is-snap .ph-ring { animation: ph-ring 700ms ease-out; }
@keyframes ph-ring { 0% { opacity: 1; transform: scale(0.96); } 100% { opacity: 0; transform: scale(1.35); } }
.ag-photofig .ph-label { position: absolute; z-index: 4; padding: 6px 10px; border-radius: 999px; background: rgba(244,239,228,0.94); color: #26343A;
  font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity 260ms ease; pointer-events: none; }
.ag-photofig .ph-label--base { left: 4%; top: 70%; }
.ag-photofig .ph-label--top { left: 40%; top: 12%; }
.ag-photofig.is-lifted .ph-label { opacity: 1; transition-delay: 220ms; }
@media (max-width: 600px) { .ag-photofig .ph-label { font-size: 12px; padding: 4px 8px; } .ag-photofig .ph-label--base { left: 3%; top: 69%; } }

.ag-fig-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-fig-pick { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; }
.ag-fig-pick img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.ag-fig-pick[aria-pressed="true"] { border-color: var(--fairway); }
.ag-fig-pick:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-opt.ag-opt--check:has(input:checked)::after { top: 9px; right: 12px; width: 5px; height: 10px; border-radius: 0; background: none; box-shadow: none; border: solid var(--fairway); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- On bags at: each club name has its own ink ---------- */
.ag-name { color: var(--c, var(--ink)); }

/* ---------- Two doors: societies (1–24) or clubs (25+) ---------- */
.ag-door { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius-md); text-decoration: none;
  background: var(--paper-raised); color: var(--ink); border: 1px solid var(--line); min-height: 44px; box-sizing: border-box; }
.ag-door--club { background: var(--fairway); color: var(--on-fairway); border-color: var(--fairway); }
.ag-door--glass { background: rgba(20,32,28,0.62); color: var(--on-fairway); border-color: rgba(244,239,228,0.32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ag-door--glass.ag-door--club { background: var(--on-fairway); color: var(--fairway); border-color: var(--on-fairway); }
.ag-door:hover { border-color: currentColor; }
.ag-door:hover { color: var(--ink); } .ag-door--club:hover, .ag-door--glass:hover { color: var(--on-fairway); } .ag-door--glass.ag-door--club:hover { color: var(--fairway); }
.ag-door--glass:hover { background: rgba(20,32,28,0.78); }
.ag-door--glass.ag-door--club:hover { background: #FFFDF8; border-color: #FFFDF8; color: var(--fairway); }
.ag-door--club:not(.ag-door--glass):hover { background: #2C4C45; }
.ag-door:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-door-kicker { font-family: var(--font-mono); font-size: 13px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.78; }
.ag-door-title { font-family: var(--font-display); font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
.ag-door-note { font-size: 13px; line-height: 19px; opacity: 0.8; }
.ag-stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.15; }
.ag-stat span { font-size: 13px; line-height: 18px; opacity: 0.75; }
@media (max-width: 480px) { .ag-stat b { font-size: 18px; } }
footer a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Desktop nav: collapses to logo, one action and a menu button on narrow screens ---------- */
.ag-nav-menu { display: none; }
@media (max-width: 960px) {
  .ag-nav-links, .ag-nav-trade { display: none !important; }
  .ag-nav-menu { display: inline-flex; }
}
@media (max-width: 480px) { .ag-nav-start { min-height: 44px; padding: 0 14px; font-size: 14px; } }
/* on narrow screens the hero copy spans the photo, so shade from the bottom up instead of from the left */
@media (max-width: 960px) { .ag-hero-shade { background: linear-gradient(180deg, rgba(20,32,28,0.15) 0%, rgba(20,32,28,0.55) 35%, rgba(20,32,28,0.9) 70%) !important; } }

/* ---------- Form building blocks: option cards, pick pills, file drop. Real inputs, no script needed ---------- */
.ag-step-label { font-family: var(--font-mono); font-size: 13px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--leather-deep); margin: 0 0 10px; }
.ag-on-fairway .ag-step-label { color: var(--brass); }
.ag-opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-height: 48px; box-sizing: border-box;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper-raised); color: var(--ink); cursor: pointer; }
.ag-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ag-opt b { font-size: 15px; line-height: 20px; font-weight: 600; }
.ag-opt span { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.ag-opt .ag-price { font-family: var(--font-mono); font-size: 13px; color: var(--leather-deep); }
.ag-opt:has(input:checked) { border-color: var(--fairway); box-shadow: inset 0 0 0 1px var(--fairway); background: #FFFDF8; }
.ag-opt:has(input:checked)::after { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--fairway); box-shadow: 0 0 0 2px var(--fairway-soft); }
.ag-opt:has(input:focus-visible), .ag-pick:has(input:focus-visible), .ag-drop:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-pick { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: var(--paper-raised); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.ag-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ag-pick:has(input:checked) { background: var(--fairway); border-color: var(--fairway); color: var(--on-fairway); }
.ag-on-fairway .ag-pick { background: transparent; border-color: rgba(244,239,228,0.4); color: var(--on-fairway); }
.ag-on-fairway .ag-pick:has(input:checked) { background: var(--on-fairway); border-color: var(--on-fairway); color: var(--fairway); }
.ag-on-fairway .ag-pick:has(input:focus-visible), .ag-on-fairway .ag-drop:has(input:focus-visible) { outline-color: var(--on-fairway); }
.ag-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--paper-raised); color: var(--ink); cursor: pointer; }
.ag-drop input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.ag-drop svg { flex: none; }
.ag-drop b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.ag-drop span { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.ag-on-fairway .ag-drop { background: rgba(244,239,228,0.06); border-color: rgba(244,239,228,0.35); color: var(--on-fairway); }
.ag-on-fairway .ag-drop span { color: var(--on-fairway-muted); }
.ag-formfield { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.ag-formfield small { font-weight: 400; color: var(--ink-muted); }
.ag-on-fairway .ag-formfield small { color: var(--on-fairway-muted); }
textarea.ag-input { padding: 12px 16px; min-height: 96px; resize: vertical; }
select.ag-input { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

/* ---------- Occasions marquee ---------- */
.ag-marquee { overflow: hidden; }
.ag-marquee-track { display: flex; width: max-content; gap: 0; }

/* ---------- Motion ----------
   Always defined; switched off below when the visitor asks for reduced motion,
   unless the artboard's "Motion" tweak is set to "Always play" (for previewing). */
  .ag-marquee-track { animation: ag-marquee 48s linear infinite; }
  @keyframes ag-marquee { to { transform: translateX(-50%); } }

  @supports (animation-timeline: view()) {
    /* blocks rise in quickly as they enter, so text is settled before you read it */
    .ag-reveal { animation: ag-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes ag-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

    /* photos wipe open from the bottom */
    .ag-wipe { animation: ag-wipe linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes ag-wipe { from { clip-path: inset(18% 6% 0 6% round 6px); transform: scale(1.06); } to { clip-path: inset(0 0 0 0 round 6px); transform: none; } }

    /* hero: photo eases in; copy only lifts away once you are well into the scroll */
    .ag-hero-img { animation: ag-hero-img linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
    @keyframes ag-hero-img { to { transform: scale(1.12); filter: brightness(0.8); } }
    .ag-hero-copy { animation: ag-hero-copy linear both; animation-timeline: scroll(root); animation-range: 220px 700px; }
    @keyframes ag-hero-copy { to { opacity: 0; transform: translateY(-60px); } }

    /* ---- on bags at: names ink in from grey as they reach the middle of the screen ---- */
    .ag-name { animation: ag-ink linear both; animation-timeline: view(); animation-range: cover 30% cover 50%; }
    @keyframes ag-ink { from { color: #6F6A5E; } to { color: var(--c, var(--ink)); } }
  }

@media (prefers-reduced-motion: reduce) {
  .ag-follow-system *, .ag-follow-system *::before, .ag-follow-system *::after { animation: none !important; }
}

/* Fig. 1: "Try your logo". The visitor's own file, shown on a cream patch. It stays in their browser. */
.ag-photofig .ph-patch--logo img { background: #F4EFE4; padding: 16%; box-sizing: border-box; object-fit: contain; filter: none; }
.ag-fig-upload { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 6px; box-sizing: border-box;
  border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--ink); font: 600 14px/20px var(--font-sans); cursor: pointer; }
.ag-fig-upload:hover { border-color: var(--fairway); background: var(--fairway-soft); }
.ag-fig-upload[data-on="true"] { border-style: solid; border-color: var(--fairway); }
.ag-fig-upload:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-fig-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ag-fig-upload-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-raised); color: var(--fairway); }

/* ---------- FAQs ---------- */

.fq-mono{font-family:var(--font-mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase}
/* topic pills */
.fq-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:var(--radius-pill);border:1px solid var(--line-strong);background:transparent;color:var(--ink);font:500 15px/20px var(--font-sans);cursor:pointer}
.fq-pill:hover{border-color:var(--fairway);background:var(--fairway-soft)}
.fq-pill[aria-pressed="true"]{background:var(--fairway);border-color:var(--fairway);color:var(--on-fairway)}
.fq-pill:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.fq-count{font-family:var(--font-mono);font-size:12px;opacity:.7}
/* the list */
.fq-item.is-hidden{display:none}
.fq-group{display:none;margin:48px 0 4px;font-family:var(--font-mono);font-size:13px;font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted)}
.fq-group.is-first{display:block}
.fq-group.is-top{margin-top:32px}
.fq-q{margin:0;border-bottom:1px solid var(--line)}
.fq-q button{all:unset;box-sizing:border-box;width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;cursor:pointer;font:500 20px/28px var(--font-sans);color:var(--ink)}
.fq-q button:hover{color:var(--fairway)}
.fq-q button:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:2px}
.fq-item.is-open .fq-q{border-bottom-color:transparent}
.fq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease-out;border-bottom:1px solid var(--line)}
.fq-item:not(.is-open) .fq-a{border-bottom-color:transparent}
.fq-item.is-open .fq-a{grid-template-rows:1fr}
.fq-a > div{overflow:hidden;visibility:hidden;transition:visibility .25s}
.fq-item.is-open .fq-a > div{visibility:visible}
.fq-a p{margin:0 0 24px;max-width:64ch;font-size:18px;line-height:29px;color:var(--ink-muted);white-space:pre-line}
/* the toggle is a golf ball */
.fq-ball{position:relative;flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line-strong);background:radial-gradient(circle,rgba(38,52,58,.16) 0 1px,transparent 1.6px) 0 0/6px 6px,radial-gradient(circle at 35% 30%,#FFFFFF,#ECE8DE);transition:transform .35s cubic-bezier(.3,1.4,.5,1),background-color .2s}
.fq-ball::before,.fq-ball::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:1px;background:var(--fairway);transition:transform .3s ease-out}
.fq-ball::after{transform:rotate(90deg)}
.fq-q button:hover .fq-ball{transform:translateX(3px) rotate(40deg)}
.fq-item.is-open .fq-ball{transform:rotate(180deg)}
.fq-item.is-open .fq-ball::after{transform:rotate(0deg)}
/* hero vignette: a putt drops, on a loop */
.fq-vig{position:relative;width:100%;max-width:340px;aspect-ratio:4/3;border-radius:var(--radius-md);overflow:hidden;background:radial-gradient(circle,rgba(255,255,255,.07) 0 1px,transparent 2px) 0 0/10px 10px,linear-gradient(160deg,#6F8F3E,#56742F)}
.fq-vig-green{position:absolute;left:12%;right:12%;top:30%;bottom:14%;border-radius:50%;background:radial-gradient(ellipse,#B4D678 0 62%,#93BE5B 64%)}
.fq-vig-cup{position:absolute;left:66%;top:54%;width:14px;height:8px;margin:-4px 0 0 -7px;border-radius:50%;background:#1D2620}
.fq-vig-pin{position:absolute;left:66%;top:54%;width:3px;height:70px;margin:-70px 0 0 -1px;background:#F4F1EA}
.fq-vig-pin::after{content:"";position:absolute;left:3px;top:0;width:30px;height:20px;background:var(--flag);clip-path:polygon(0 0,100% 50%,0 100%);transform-origin:0 50%}
.fq-vig-ball{position:absolute;left:66%;top:54%;width:12px;height:12px;margin:-9px 0 0 -6px;border-radius:50%;background:#fff;box-shadow:0 2px 0 rgba(20,30,15,.3)}
.fq-vig-ball{animation:fq-putt 5s cubic-bezier(.2,.6,.3,1) infinite}
.fq-vig-pin::after{animation:fq-wave 1.1s ease-in-out infinite alternate}
@keyframes fq-putt{0%,8%{left:22%;top:70%;opacity:1;transform:scale(1)}62%{left:66%;top:54%;opacity:1;transform:scale(1)}72%,92%{left:66%;top:54%;opacity:0;transform:scale(.4)}100%{left:22%;top:70%;opacity:0}}
@keyframes fq-wave{from{transform:scaleX(1)}to{transform:scaleX(.75) skewY(5deg)}}
@media (max-width: 720px){
  .fq-vig{display:none}
  .fq-q button{font-size:18px;line-height:26px;padding:18px 0}
  .fq-a p{font-size:17px;line-height:27px}
  .fq-head-cta{min-height:44px;padding:0 14px;font-size:14px}
}

/* =====================================================================
   Site layer: page shell, header, footer, menu, forms and the phone layout.
   The sections above this line come from the Arbor design system.
   ===================================================================== */

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
main { display: block; }
img { max-width: 100%; }
a { color: #24403A; }
a:hover { color: #26343A; }
[id] { scroll-margin-top: 16px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 12px 16px; background: var(--fairway); color: var(--on-fairway); border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; color: var(--on-fairway); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Header ---------- */
.hd { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 5; }
.hd-in { max-width: 1280px; margin: 0 auto; padding: 0 40px; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; box-sizing: border-box; }
.hd-logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.hd-logo:hover { color: var(--ink); }
.hd-logo img { width: 40px; height: 40px; object-fit: contain; }
.hd-logo span { font-family: var(--font-display); font-size: 29px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.hd-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.hd-links a { color: var(--ink); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.hd-links a:hover { color: var(--fairway); text-decoration: underline; text-underline-offset: 6px; }
.hd-links a[aria-current="page"] { color: var(--fairway); text-decoration: underline; text-underline-offset: 6px; }
.hd-cta { display: flex; align-items: center; gap: 8px 20px; }
.ag-nav-trade { font-size: 15px; font-weight: 600; color: var(--fairway); text-underline-offset: 4px; min-height: 44px; display: flex; align-items: center; white-space: nowrap; }
.ag-nav-start { white-space: nowrap; }
.ag-nav-menu { width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; color: var(--ink); cursor: pointer; }
.ag-nav-menu:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag-nav-menu line { transition: transform .2s ease-out; transform-origin: 12px 12px; }
.ag-nav-menu.is-open line:first-child { transform: translateY(4px) rotate(45deg); }
.ag-nav-menu.is-open line:last-child { transform: translateY(-4px) rotate(-45deg); }
.hd-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(28,34,29,0.35); padding: 8px 16px 20px; display: flex; flex-direction: column; }
.hd-menu a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 26px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.hd-menu .hd-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; }
.hd-menu .hd-menu-cta a { border: 1px solid var(--fairway); font: 600 15px/20px var(--font-sans); justify-content: center; min-height: 48px; border-radius: var(--radius-sm); color: var(--fairway); letter-spacing: .01em; }
.hd-menu .hd-menu-cta a.is-primary { background: var(--fairway); color: var(--on-fairway); }
@media (min-width: 961px) { .hd-menu { display: none !important; } }
@media (max-width: 760px) {
  .hd-in { padding: 0 16px; min-height: 64px; }
  .hd-logo img { width: 34px; height: 34px; }
  .hd-logo span { font-size: 25px; }
}

/* ---------- Footer ---------- */
.ft { margin-top: auto; background: var(--ink); color: var(--on-fairway); }
.ft-in { max-width: 1280px; margin: 0 auto; padding: 72px 40px 48px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.ft-brand { flex: 2 1 320px; display: flex; align-items: center; gap: 24px; }
.ft-brand img { width: 120px; height: 120px; object-fit: contain; }
.ft-brand p { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; max-width: 320px; }
.ft-nav { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.ft-nav a { color: var(--on-fairway); min-height: 36px; display: flex; align-items: center; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft-contact { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; color: var(--on-fairway-muted); }
.ft-contact a { color: var(--on-fairway); align-self: flex-start; }
.ft-legal { max-width: 1280px; margin: 0 auto; padding: 24px 40px 40px; box-sizing: border-box; border-top: 1px solid rgba(244,239,228,0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--on-fairway-muted); }
.ft-legal div { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ft-legal a { color: var(--on-fairway-muted); }
.ft-legal span { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 760px) {
  .ft-in { padding: 48px 16px 32px; gap: 28px; }
  .ft-brand { gap: 16px; }
  .ft-brand img { width: 88px; height: 88px; }
  .ft-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; flex-basis: 100%; }
  .ft-nav a { min-height: 44px; }
  .ft-legal { padding: 16px 16px 32px; }
}

/* ---------- Forms: states the design leaves to the build ---------- */
.form-status { margin: 0; min-height: 20px; font-size: 14px; line-height: 20px; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); font-weight: 600; }
.ag-on-fairway .form-status.is-error { color: #FFD9CF; }
.ag-input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.ag-btn[disabled] { opacity: .7; cursor: progress; }
.cf-slot:empty { display: none; }
.form-done { padding: clamp(24px, 4vw, 48px) 0; display: flex; flex-direction: column; gap: 12px; outline: none; }
.form-done h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.form-done p { margin: 0; font-size: 18px; line-height: 27px; color: var(--ink-muted); max-width: 44ch; }
.ag-on-fairway .form-done p { color: var(--on-fairway-muted); }
.tier-note { margin: 10px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.how-patent { display: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.hero-text, .hero-cta, .gwyg-row { display: contents; }
.ag-stat b .stat-long { font-size: inherit; line-height: inherit; opacity: 1; }

/* ---------- Plain pages: policies, thanks, not found ---------- */
.prose { max-width: 1280px; width: 100%; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 40px) clamp(56px, 7vw, 96px); box-sizing: border-box; }
.prose > * { max-width: 68ch; }
.prose .ag-eyebrow { display: block; margin-bottom: 14px; }
.prose h1 { margin: 0 0 24px; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 68px); line-height: 0.98; letter-spacing: -0.03em; }
.prose h2 { margin: 40px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; }
.prose p, .prose li { font-size: 18px; line-height: 29px; color: var(--ink-muted); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose .lede { font-size: 20px; line-height: 31px; color: var(--ink); }
.prose .updated { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--ink-muted); margin-top: 40px; }
.prose .ag-btn { margin-top: 12px; }

/* =====================================================================
   Phone layout (the "Home — Mobile" board). The section markup carries
   desktop values inline, so these overrides need !important.
   ===================================================================== */
@media (max-width: 760px) {
  .wrap { padding-left: 16px !important; padding-right: 16px !important; }

  /* hero: a tall photo with the headline on it, then the two doors on paper */
  .hero { height: auto !important; overflow: visible !important; background: var(--paper) !important; }
  .hero > picture img, .hero > .ag-hero-shade { height: 500px !important; bottom: auto !important; }
  .hero > picture img { object-position: 50% 40% !important; }
  .hero > .ag-hero-shade { background: linear-gradient(180deg, rgba(20,32,28,0) 38%, rgba(20,32,28,0.85) 100%) !important; }
  .hero-in { height: auto !important; padding: 0 !important; display: block !important; }
  .hero-in > .ag-hero-copy { display: block !important; max-width: none !important; animation: none !important; color: var(--ink) !important; }
  .hero-text { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; height: 500px; padding: 0 16px 32px; box-sizing: border-box; color: var(--on-fairway); }
  .hero-text h1 { font-size: 54px !important; line-height: 0.96 !important; letter-spacing: -0.025em !important; }
  .hero-text p { font-size: 17px !important; line-height: 26px !important; max-width: none !important; }
  .hero-cta { display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 20px; border-bottom: 1px solid var(--line); }
  .hero-doors { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; margin: 0 !important; max-width: none !important; }
  .hero-doors .ag-door { padding: 16px !important; background: var(--paper-raised); color: var(--ink); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-doors .ag-door.ag-door--club { background: var(--fairway); color: var(--on-fairway); border-color: var(--fairway); }
  .hero-doors .ag-door:hover { color: var(--ink); background: var(--paper-raised); }
  .hero-doors .ag-door.ag-door--club:hover { color: var(--on-fairway); background: #2C4C45; border-color: #2C4C45; }
  .hero-doors .ag-door-title { font-size: 22px !important; }
  .hero-doors .door-long, .hero-stats .stat-long { display: none; }
  .hero-stats { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; max-width: none !important; }

  .clubs-in { padding-top: 32px !important; padding-bottom: 28px !important; gap: 14px !important; }
  .clubs-names { flex-basis: 100% !important; font-size: 19px !important; line-height: 1.25 !important; column-gap: 18px !important; }
  .ag-marquee { font-size: 26px !important; padding: 16px 0 !important; }

  /* how it holds */
  .how-in { padding-top: 64px !important; padding-bottom: 48px !important; gap: 28px !important; }
  .how-in h2, .work-in h2, .start-in h2, .trade-in h2, .kit-in h2 { font-size: 44px !important; line-height: 1 !important; letter-spacing: -0.02em !important; }
  .how-lede { display: none; }
  .how-patent { display: block; }
  .how-in .ag-plate { padding: 16px !important; flex-basis: 100% !important; }
  .how-steps { flex-basis: 100% !important; gap: 24px !important; }
  .how-steps h3 { font-size: 34px !important; line-height: 1.05 !important; letter-spacing: -0.015em !important; }
  .gwyg { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 14px !important; padding-top: 20px !important; }
  .gwyg-row { display: flex; gap: 12px; overflow-x: auto; margin-right: -16px; padding-right: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gwyg-row::-webkit-scrollbar { display: none; }
  .gwyg-row figure { flex: 0 0 200px; scroll-snap-align: start; }

  /* the kit: photo, then words */
  .kit-in { padding-top: 48px !important; padding-bottom: 16px !important; gap: 40px !important; }
  .kit-in > article:not(#stickers) { flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 16px !important; }
  .kit-in > article:not(#stickers) > * { flex: none !important; }
  .kit-in > article:not(#stickers) img { height: 360px !important; width: 100% !important; }
  .kit-in > article#drawstring img { height: 400px !important; }
  .kit-in > article#towels img { height: 260px !important; }
  .kit-in > article h3 { font-size: 34px !important; line-height: 1.05 !important; letter-spacing: -0.015em !important; }
  .kit-in > article:not(#stickers) p { font-size: 16px !important; line-height: 24px !important; }
  .kit-in > article dl { grid-template-columns: 88px minmax(0, 1fr) !important; gap: 8px 12px !important; font-size: 14px !important; line-height: 21px !important; margin-top: 4px !important; }
  .kit-in > article.kit-flagship dl { display: none !important; }
  .kit-in > article#stickers { flex-wrap: nowrap !important; gap: 20px !important; padding: 24px 0 40px !important; }
  .kit-in > article#stickers img { width: 96px !important; height: 96px !important; flex: none; }
  .kit-in > article#stickers h3 { font-size: 26px !important; }
  .kit-in > article#stickers p { font-size: 14px !important; line-height: 21px !important; }

  /* our work: cards and reviews scroll sideways */
  .work-in { padding: 64px 0 64px 16px !important; gap: 24px !important; }
  .work-in > .ag-reveal { padding-right: 16px; }
  .work-grid, .work-reviews { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 16px; scrollbar-width: none; }
  .work-grid::-webkit-scrollbar, .work-reviews::-webkit-scrollbar { display: none; }
  .work-grid { gap: 12px !important; }
  .work-grid > article { flex: 0 0 280px; scroll-snap-align: start; animation: none !important; }
  .work-grid > article > div:first-child, .work-grid > article > img { height: 220px !important; }
  .work-reviews { gap: 16px !important; }
  .work-reviews > figure { flex: 0 0 260px; scroll-snap-align: start; }

  /* start your design */
  .start-in { padding-top: 64px !important; padding-bottom: 64px !important; gap: 32px !important; }
  .start-in > div { flex-basis: 100% !important; }
  .start-photo { display: none !important; }
  .start-form { padding: 0 !important; border: 0 !important; background: transparent !important; }

  .trade-in { padding-top: 64px !important; padding-bottom: 64px !important; gap: 28px !important; }
  .trade-in > * { flex-basis: 100% !important; }
  .trade-in .ag-btn { width: 100%; box-sizing: border-box; }
}

/* ---------- Trade page ---------- */
.tr { background: var(--fairway); color: var(--on-fairway); }
.tr-in { max-width: 1280px; margin: 0 auto; padding: clamp(32px, 6vw, 80px) clamp(16px, 3vw, 40px) clamp(56px, 7vw, 96px); box-sizing: border-box; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.tr-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.tr-copy { flex: 6 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tr-eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-fairway-muted); }
.tr-copy h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 0.95; letter-spacing: -0.03em; }
.tr-copy p { margin: 0; max-width: 52ch; font-size: 18px; line-height: 28px; color: var(--on-fairway-muted); }
.tr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.tr-cta span { font-size: 14px; line-height: 20px; color: var(--on-fairway-muted); }
.tr-photo { flex: 5 1 340px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tr-photo img { display: block; width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-md); }
.tr-photo figcaption { font-size: 14px; line-height: 20px; color: var(--on-fairway-muted); }
.tr-proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }
.tr-proof li { padding: 16px 16px 16px 0; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(244,239,228,0.22); }
.tr-proof b { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.tr-proof span { font-size: 14px; line-height: 20px; color: var(--on-fairway-muted); }
.tr-main { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.tr-form { flex: 7 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tr-form h2, .tr-aside h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.015em; }
.tr-form-lede { margin: 0 0 12px; font-size: 16px; line-height: 24px; color: var(--on-fairway-muted); }
.tr-fields { display: flex; flex-direction: column; gap: 16px; }
.tr-aside { flex: 5 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid rgba(244,239,228,0.22); border-radius: var(--radius-md); }
.tr-aside h2 { font-size: 26px; }
.tr-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tr-steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(244,239,228,0.22); }
.tr-steps li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.tr-steps b { font-weight: 600; font-size: 16px; line-height: 22px; }
.tr-steps li > span:last-child span { font-size: 14px; line-height: 20px; color: var(--on-fairway-muted); }
.tr-n { font-family: var(--font-mono); font-size: 13px; line-height: 22px; color: var(--brass); }
.tr-clubs { margin: 0; font-size: 14px; line-height: 21px; color: var(--on-fairway-muted); }
.tr-clubs b { color: var(--on-fairway); font-weight: 600; }
.tr-faq { align-self: flex-start; min-height: 44px; display: flex; align-items: center; color: var(--on-fairway); font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.tr-faq:hover { color: #fff; }
.ag-on-fairway textarea.ag-input::placeholder { color: var(--ink-muted); opacity: .7; }
@media (max-width: 760px) {
  .tr-cta .ag-btn { width: 100%; box-sizing: border-box; }
  .tr-proof { grid-template-columns: 1fr 1fr; }
  .tr-proof li:last-child { grid-column: 1 / -1; }
  .tr-proof b { font-size: 24px; }
  .tr-aside { padding: 20px 16px; }
}

/* ---------- Sticky header on phones and tablets, so the next step is always one tap away ---------- */
@media (max-width: 960px) {
  .hd { position: sticky; top: 0; }
  .hd-menu { max-height: calc(100vh - 64px); overflow-y: auto; }
}
@media (max-width: 600px) {
  .ag-nav-start { display: inline-flex !important; min-height: 40px; padding: 0 12px; font-size: 14px; }
  .hd-logo span { font-size: 22px; }
  .hd-in { gap: 8px; }
}
@media (max-width: 360px) { .hd-logo span { display: none; } }

@media (max-width: 960px) { [id] { scroll-margin-top: 76px; } }
