/* ============================================================
   GOLF — shared design system (old-money golf aesthetic)
   Families: Playfair Display (display), Cormorant Garamond (text)
   ============================================================ */

:root {
  /* type */
  --font-display: "Playfair Display", "Didot", "Bodoni MT", Georgia, serif;
  --font-text: "Cormorant Garamond", "Iowan Old Style", "Palatino", Georgia, serif;
  --font-medieval: "Grenze Gotisch", "Playfair Display", Georgia, serif;
  --font-sans: "Avenir Next", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  /* spacing scale */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.75rem; --s-4: 3rem;
  --s-5: 5rem;   --s-6: 8rem;
  --measure: 40rem;
  --measure-text: 66ch;   /* comfortable reading line for body prose */

  /* shared (light) palette — site1 */
  --bg: #f6f2e9;
  --bg-2: #efe7d6;
  --ink: #14202e;
  --ink-soft: #4a5a6c;
  --gold: #a8853a;
  --gold-2: #c39a3e;
  --green: #22463a;
  --hairline: rgba(20, 32, 46, 0.16);
  --paper: #fbf8f1;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 19px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.08; }
p { margin: 0 0 1.1em; }

/* ---------- shared components ---------- */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1.1rem;
}
.kicker.center { text-align: center; }
.kicker.muted { color: var(--ink-soft); }

.display { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.01em; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--gold); }
.h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }

.lede {
  font-family: var(--font-text);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* hairlines & rules */
.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
.rule {
  display: flex; align-items: center; gap: 1rem;
  color: var(--gold); font-family: var(--font-sans);
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  margin: var(--s-4) 0;
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.rule.center { justify-content: center; }

/* drop cap on the first paragraph of a bio */
.dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4.4rem;
  line-height: 0.72;
  padding: 0.06em 0.12em 0 0;
  color: var(--gold);
  font-weight: 600;
}

/* portrait frame */
.frame {
  position: relative;
  border: 1px solid var(--hairline);
  padding: 12px;
  background: var(--paper);
}
.frame img { width: 100%; height: auto; filter: saturate(0.92) contrast(1.02); }
.frame figcaption {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding-top: 10px;
}

/* stat block */
.stat { text-align: center; padding: var(--s-2) 0.5rem; border-top: 1px solid var(--hairline); }
.stat .v { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stat .k { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.5rem; }

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--gold); color: #fff; }
.btn.solid { background: var(--gold); color: #fff; }
.btn.solid:hover { background: var(--ink); border-color: var(--ink); }

/* eyebrow nav */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.eyebrow:hover, .eyebrow.active { color: var(--gold); }

/* small print */
.fine { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-soft); }

::selection { background: var(--gold); color: #fff; }

/* scroll reveal (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
