/* ============================================================
   IAM GOLF — golf.css   ·   page layer (system "GALLERY" v3)
   Standalone brand. All selectors scoped under body.golf.
   Light paper flow → dark feature panel + footer. Rounded
   panels, centered chapters. Reference vibe, brand mono.
   ============================================================ */
.golf { background: var(--paper); }

/* progress bar — ink thread */
.golf .progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%;
  z-index: 120;
}

/* ── NAV ─────────────────────────────────────────────────── */
.golf .nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3);
  padding: 18px var(--gutter);
  color: var(--ink);
  transition: background var(--dur-1) var(--ease-out),
    box-shadow var(--dur-1) var(--ease-out),
    padding var(--dur-1) var(--ease-out);
}
.golf .nav.scrolled {
  background: var(--nav-veil);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.golf .nav-left { display: flex; align-items: center; gap: var(--s3); }
.golf .nav-back {
  font-family: var(--f-mono); font-size: var(--t-micro); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  transition: color var(--dur-1) var(--ease-out);
}
.golf .nav-back:hover { color: var(--ink); }
.golf .nav-mark { display: inline-flex; font-size: 1.15rem; color: var(--ink); }
.golf .nav-links { display: flex; align-items: center; gap: var(--s4); }
.golf .nav-link {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color var(--dur-1) var(--ease-out);
}
.golf .nav-link:hover { color: var(--ink); }
@media (max-width: 640px) { .golf .nav-links .nav-link:not(.nav-cta) { display: none; } }
.golf .nav-cta {
  color: var(--paper); background: var(--ink);
  padding: 9px 18px; border-radius: var(--r-chip);
  transition: transform var(--dur-1) var(--ease-out);
}
.golf .nav-cta:hover { color: var(--paper); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .golf .nav-cta:hover { transform: none; } }

/* ── HERO — type-forward on paper ────────────────────────── */
.golf .hero {
  padding: calc(var(--s20) + var(--s6)) 0 var(--s10);
}
.golf .hero-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s6);
}
.golf .hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  padding: 8px 16px;
}
.golf .hero-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
}
.golf .hero-loc {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}
.golf .hero-brand { margin: 0; font-size: var(--t-hero); color: var(--ink); }
.golf .hero-tagline {
  margin-top: var(--s5); max-width: 56ch;
  font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2);
}
.golf .hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }

/* ── FEATURE — the big rounded panel (ref's hero image role) ─ */
.golf .feature { padding-block: 0 var(--s16); }
.golf .feature-panel {
  position: relative;
  border-radius: var(--r-card);
  overflow: clip;
  aspect-ratio: 16 / 7;
  background: var(--carbon);
  display: flex; align-items: flex-end;
  padding: clamp(var(--s5), 5vw, var(--s10));
}
@media (max-width: 720px) { .golf .feature-panel { aspect-ratio: 4 / 5; } }
.golf .feature-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); z-index: 0; }
.golf .feature-panel:not(.awaiting)::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(12,12,12,0.5), rgba(12,12,12,0) 42%);
}
/* empty state = intentional dark panel with reversed mark, NOT a hatch */
.golf .feature-panel.awaiting img { display: none; }
.golf .feature-mark {
  position: relative; z-index: 2; display: block;
  font-size: clamp(1.8rem, 6vw, 4rem);
  color: var(--band-ink);
}
.golf .feature-panel:not(.awaiting) .feature-mark { display: none; }
.golf .feature-cap {
  position: absolute; right: clamp(var(--s4), 4vw, var(--s8));
  bottom: clamp(var(--s4), 4vw, var(--s8)); z-index: 2;
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--band-ink-3);
}

/* ── BRANDS — engraved marquee strip ─────────────────────── */
.golf .brands {
  border-block: 1px solid var(--line);
  padding-block: var(--s3); overflow: clip;
}
.golf .brands-row { display: flex; width: max-content; animation: brands-drift 32s linear infinite; }
.golf .brand {
  display: inline-flex; align-items: center;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.3vw, 1.7rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap; padding-inline: var(--s4);
}
.golf .brand::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-3); margin-left: var(--s8);
}
@keyframes brands-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .golf .brands-row { animation: none; } }

/* ── MODEL — rounded cards (photo-optional) ──────────────── */
.golf .pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s3); margin-top: var(--s10);
}
@media (max-width: 900px) { .golf .pillars-grid { grid-template-columns: 1fr; } }
.golf .pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: var(--s5) var(--s5) var(--s6);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.golf .pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,16,16,0.08); }
.golf .pillar-media { margin: 0 0 var(--s4); border-radius: 14px; aspect-ratio: 4 / 3; }
.golf .pillar-k {
  display: inline-block; font-family: var(--f-mono); font-weight: 500;
  font-size: var(--t-micro); letter-spacing: 0.16em; color: var(--ink-3);
  margin-bottom: var(--s2);
}
.golf .pillar-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: 1.35rem; letter-spacing: 0.01em; text-transform: uppercase;
  margin-bottom: var(--s2);
}
.golf .pillar-desc { color: var(--ink-2); font-size: 1rem; }

/* ── PRICING — the ½ monument on a soft panel ────────────── */
.golf .pricing-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(var(--s6), 5vw, var(--s10));
  margin-top: var(--s8);
}
.golf .price-rule {
  display: flex; align-items: center;
  gap: clamp(var(--s4), 4vw, var(--s8)); flex-wrap: wrap;
}
.golf .price-half {
  position: relative; display: grid; place-items: center; aspect-ratio: 1;
  font-family: var(--f-display); font-weight: 900;
  font-size: var(--t-half); line-height: 1; color: var(--ink); padding: 0.12em;
}
.golf .price-half::before {
  content: ""; position: absolute; inset: 0;
  border: 1.5px solid var(--hair); border-radius: 50%;
}
.golf .price-half::after {
  content: ""; position: absolute; inset: 6%;
  border: 1px dotted rgba(16, 16, 16, 0.28); border-radius: 50%;
}
.golf .price-rule-txt {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.05;
  letter-spacing: -0.01em; text-transform: uppercase; max-width: 12ch; text-wrap: balance;
}
.golf .price-sub { margin-top: var(--s5); max-width: 52ch; font-size: var(--t-lead); color: var(--ink-2); }

/* ── CURRENCY PICKER — sits above the ledger it drives ─────────────── */
.golf .price-currency {
  display: flex; align-items: center; gap: var(--s2);
  flex-wrap: wrap; margin-top: var(--s6); max-width: 620px;
}
.golf .cur-label {
  font-family: var(--f-mono); font-size: var(--t-label);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.golf .cur-select {
  font-family: var(--f-mono); font-size: var(--t-label); font-weight: 500;
  letter-spacing: 0.06em; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-chip); padding: 9px 34px 9px 16px;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  /* inline chevron — keeps the control self-contained, no extra request */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23101010' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color var(--dur-1) var(--ease-out);
}
.golf .cur-select:hover { border-color: var(--ink-2); }
.golf .price-cur-note {
  margin-top: var(--s3); max-width: 52ch;
  font-family: var(--f-mono); font-size: var(--t-micro);
  letter-spacing: 0.04em; color: var(--ink-3, var(--ink-2));
}

.golf .price-ledger { margin-top: var(--s3); max-width: 620px; border-top: 1px solid var(--line); }
.golf .price-ledger .row {
  display: flex; align-items: baseline; gap: var(--s2);
  padding-block: var(--s3); border-bottom: 1px solid var(--line);
}
.golf .price-ledger .k {
  font-family: var(--f-mono); font-size: var(--t-label);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.golf .price-ledger .v { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; white-space: nowrap; }

.golf .includes {
  margin-top: var(--s6); display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px var(--s4); max-width: 760px;
}
.golf .includes li { position: relative; padding-left: var(--s3); font-size: 1rem; color: var(--ink-2); }
.golf .includes li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
}
.golf .price-note {
  margin-top: var(--s3); font-family: var(--f-mono);
  font-size: var(--t-label); letter-spacing: 0.02em; color: var(--ink-2); max-width: 60ch;
}
.golf .price-note + .price-note { margin-top: var(--s1); }

/* ── WHY — centered engraved statement ───────────────────── */
.golf .why-copy {
  font-family: var(--f-display); font-weight: 700;
  font-size: var(--t-why); line-height: 1.35;
  max-width: 24ch; margin-inline: auto; text-align: center; text-wrap: balance;
}

/* ── REFERRAL — one bold number, quiet around it ─────────── */
.golf .ref-grid {
  display: flex; align-items: center;
  gap: clamp(var(--s5), 6vw, var(--s12)); flex-wrap: wrap;
  margin-top: var(--s8); justify-content: center; text-align: left;
}
.golf .ref-amount {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink);
}
.golf .ref-copy { flex: 1; min-width: 300px; max-width: 46ch; }
.golf .ref-head {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.06; letter-spacing: -0.01em; margin-bottom: var(--s3);
}
.golf .ref-body { color: var(--ink-2); font-size: var(--t-lead); }
.golf .ref-terms {
  margin-top: var(--s4); font-family: var(--f-mono);
  font-size: var(--t-label); letter-spacing: 0.04em; color: var(--ink-3);
}

/* ── FOLLOW — two-column: media left, CTA right (ref block) ─ */
.golf .follow-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(var(--s5), 5vw, var(--s10)); align-items: center; margin-top: var(--s8);
}
@media (max-width: 820px) { .golf .follow-grid { grid-template-columns: 1fr; } }
.golf .follow-media { aspect-ratio: 4 / 3; }
.golf .follow-head {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.02; letter-spacing: -0.015em;
  text-align: left; max-width: 16ch;
}
.golf .links-list { margin-top: var(--s5); border-top: 1px solid var(--line); }
.golf .link-row {
  display: flex; align-items: baseline; gap: var(--s2);
  padding-block: var(--s3); border-bottom: 1px solid var(--line);
  transition: padding-left var(--dur-1) var(--ease-out);
}
.golf .link-row:hover { padding-left: var(--s1); }
.golf .link-name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; text-transform: uppercase; }
.golf .link-handle {
  font-family: var(--f-mono); font-size: var(--t-label);
  letter-spacing: 0.06em; color: var(--ink-2); white-space: nowrap;
}

/* ── FOOTER — dark, columned (ref footer) ────────────────── */
.golf .foot { background: var(--carbon); color: var(--band-ink); padding: var(--s12) var(--gutter) var(--s6); }
.golf .foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s6); align-items: start;
}
@media (max-width: 720px) { .golf .foot-grid { grid-template-columns: 1fr; gap: var(--s5); } }
.golf .foot-mark { font-size: 1.5rem; color: var(--band-ink); }
.golf .foot-col h4 {
  font-family: var(--f-mono); font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--band-ink-3); margin-bottom: var(--s3); font-weight: 500;
}
.golf .foot-col a, .golf .foot-col p { color: var(--band-ink-2); font-size: 0.9375rem; }
.golf .foot-col a { display: block; transition: color var(--dur-1) var(--ease-out); }
.golf .foot-col a:hover { color: var(--band-ink); }
.golf .foot-rule { list-style: none; }
.golf .foot-rule li { color: var(--band-ink-2); font-size: 0.9375rem; }
.golf .foot-rule .k { color: var(--band-ink-3); }
.golf .foot-base {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap;
  margin-top: var(--s10); padding-top: var(--s4); border-top: 1px solid var(--band-hair);
}
.golf .foot-disclaimer { max-width: 70ch; font-size: 0.8125rem; line-height: 1.7; color: var(--band-ink-3); }
.golf .foot-note {
  font-family: var(--f-mono); font-size: var(--t-micro);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-ink-3); white-space: nowrap;
}

/* Theme control — the gallery's register: quiet mono label, hairline box,
   never competing with the Follow CTA beside it. */
.golf .nav-theme {
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px 12px;
  transition: color var(--dur-1), border-color var(--dur-1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.golf .nav-theme:hover { color: var(--ink); border-color: var(--ink); }
.golf .nav-theme:active { transform: translateY(1px); }
