:root {
  --navy: #0b1f3a;
  --navy-2: #122849;
  --navy-deep: #07162a;
  --gold: #c9a14a;
  --gold-soft: #d8b35e;
  --ivory: #f5efe1;
  --ivory-2: #ede4d0;
  --paper: #faf6ec;
  --usa-red: #b22234;
  --usa-blue: #3c3b6e;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --rule: #d8cfb8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow.gold { color: var(--gold); }
.ta-r { text-align: right; }

.app { width: 100%; }
.app.density-compact .section { padding: 56px 32px; }
.app.density-compact .section-title { font-size: 36px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-2) 100%);
  color: var(--ivory);
  padding: 28px 40px 60px;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(201,161,74,0.10), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(201,161,74,0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,239,225,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,239,225,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
}
.hero-top {
  position: relative;
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,161,74,0.3);
  padding-bottom: 16px;
  margin-bottom: 36px;
}
.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-crest { display: flex; justify-content: center; }
.hero-title { text-align: center; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.92;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  letter-spacing: -0.02em;
  font-style: italic;
  white-space: nowrap;
}
.hero-headline .amp {
  color: var(--gold);
  font-style: normal;
  font-weight: 400;
}
.hero-version {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 22px;
  margin-top: 8px;
  letter-spacing: 0.4em;
}
.hero-version .roman { font-weight: 700; }

.hero-tag {
  position: relative;
  text-align: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(201,161,74,0.3);
}
.welcome {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  color: var(--ivory);
}
.welcome em {
  color: var(--gold);
  font-style: italic;
}
.welcome-sub {
  font-size: 15px;
  color: rgba(245,239,225,0.7);
  margin-top: 6px;
  font-style: italic;
}
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 800px;
  margin: 36px auto 24px;
  border-top: 1px solid rgba(201,161,74,0.3);
  border-bottom: 1px solid rgba(201,161,74,0.3);
}
.hero-stat {
  text-align: center;
  padding: 20px 12px;
  border-right: 1px solid rgba(201,161,74,0.2);
}
.hero-stat:last-child { border-right: none; }
.hs-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.hs-lbl {
  font-size: 10px;
  letter-spacing: 0.3em;
  margin-top: 6px;
  color: rgba(245,239,225,0.7);
}
.hero-dates {
  position: relative;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(245,239,225,0.8);
}
.dot-sep {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 14px;
  vertical-align: middle;
}

/* ---------- SCOREBOARD ---------- */
.scoreboard {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  padding: 36px 40px 40px;
}
.scoreboard-rule {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.4em;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rule);
}
.scoreboard-rule.live .status-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,161,74,0.18);
  animation: scoreboard-pulse 1.6s ease-in-out infinite;
}
@keyframes scoreboard-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,161,74,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(201,161,74,0.06); }
}
.scoreboard-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.scoreside {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 0;
  position: relative;
  transition: opacity 0.3s;
}
.scoreside.usa { justify-content: flex-start; }
.scoreside.euro { justify-content: flex-end; }
.scoreside-flag-usa, .scoreside-flag-euro {
  width: 80px; height: 56px;
  border: 2px solid var(--navy);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.usa-stripes { display: flex; flex-direction: column; height: 100%; }
.stripe { flex: 1; }
.stripe.red { background: var(--usa-red); }
.stripe.white { background: var(--ivory); }
.usa-canton {
  position: absolute; top: 0; left: 0;
  width: 40%; height: 53%;
  background: var(--usa-blue);
}
.euro-circle {
  position: absolute; inset: 0;
  background: #003399;
}
.euro-star {
  position: absolute;
  transform: translate(-50%, -50%);
}
.scoreside-text {
  display: flex; flex-direction: column;
}
.scoreside-text.right { text-align: right; align-items: flex-end; }
.scoreside-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--navy);
}
.scoreside-hcp {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-top: 4px;
}
.scoreside-num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 96px;
  line-height: 0.9;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.scoreside.leading .scoreside-num { color: var(--gold); }
.scoreside.leading::after {
  content: 'LEADING';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold);
  background: var(--navy);
  padding: 3px 10px;
  border-radius: 2px;
}
.scoreboard-mid {
  text-align: center;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 0 32px;
  min-width: 200px;
}
.needed {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.needed span {
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  display: block;
  margin-top: 4px;
}
.status-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--navy);
  margin: 14px 0 6px;
  padding: 4px 10px;
  background: var(--paper);
  display: inline-block;
}
.retain {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
.scoreboard-foot {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 18px;
}
.scoreboard-detail-link {
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--navy);
  text-decoration: none;
  padding: 16px 12px;
  background: var(--ivory-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.15s, color 0.15s;
}
.scoreboard-detail-link:hover {
  background: var(--navy);
  color: var(--gold);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 96px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.05;
  margin: 12px 0 16px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ---------- TEAMS ---------- */
.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.team-card {
  background: white;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.team-card-bar {
  height: 8px;
}
.team-card.usa .team-card-bar {
  background: linear-gradient(90deg, var(--usa-red) 0%, var(--usa-red) 50%, var(--usa-blue) 50%, var(--usa-blue) 100%);
}
.team-card.euro .team-card-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
}
.team-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--rule);
}
.team-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.team-hcp {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
  background: var(--ivory);
  padding: 4px 10px;
}
.team-roster { padding: 8px 28px 24px; }
.player-row {
  display: grid;
  grid-template-columns: 32px 1fr 200px;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ivory-2);
}
.player-row:last-child { border-bottom: none; }
.player-num { font-size: 11px; color: var(--ink-soft); }
.player-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.player-hcp { display: flex; align-items: center; gap: 12px; }
.hcp-bar {
  flex: 1;
  height: 4px;
  background: var(--ivory-2);
  position: relative;
  overflow: hidden;
}
.hcp-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--navy);
}
.team-card.usa .hcp-bar-fill { background: var(--usa-red); }
.team-card.euro .hcp-bar-fill { background: var(--gold); }
.hcp-num {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
  min-width: 24px;
  text-align: right;
}

/* ---------- CUP / SCHEDULE ---------- */
.cup-section { background: linear-gradient(180deg, transparent 0%, var(--ivory) 100%); }
.schedule-table {
  background: white;
  border: 1px solid var(--rule);
  margin-bottom: 56px;
}
.schedule-head, .schedule-row, .schedule-total {
  display: grid;
  grid-template-columns: 160px 1.2fr 2fr 100px;
  gap: 24px;
  padding: 16px 24px;
  align-items: center;
}
.schedule-head {
  background: var(--navy);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 14px 24px;
}
.schedule-row {
  border-bottom: 1px solid var(--ivory-2);
  font-size: 15px;
}
.schedule-row.decider {
  background: linear-gradient(90deg, rgba(201,161,74,0.08), rgba(201,161,74,0.02));
  border-left: 3px solid var(--gold);
}
.schedule-row .pts {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
}
.schedule-total {
  background: var(--navy);
  color: var(--ivory);
}
.schedule-total .total {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 28px;
  color: var(--gold);
}

.scoring-explainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.se-block {
  background: white;
  border: 1px solid var(--rule);
  padding: 32px 28px;
  position: relative;
}
.se-block.decider {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.se-num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
}
.se-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  margin: 8px 0 16px;
  color: var(--ink-soft);
}
.se-block.decider .se-label { color: rgba(245,239,225,0.7); }
.se-block p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--ink-soft);
}
.se-block.decider p { color: rgba(245,239,225,0.85); }

.format-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--navy);
}
.format-cards-intro {
  background: var(--navy);
  color: var(--ivory);
  padding: 24px 28px;
  margin-bottom: 0;
  border: 1px solid var(--navy);
  border-bottom: 1px solid var(--gold);
}
.format-cards-intro + .format-cards { border-top: none; }
.fci-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 8px;
}
.format-cards-intro p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245,239,225,0.9);
  max-width: 900px;
}
.format-cards-intro p strong {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}
.format-card {
  padding: 28px;
  background: white;
  border-right: 1px solid var(--rule);
}
.format-card:last-child { border-right: none; }
.fc-tag {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 8px;
}
.format-card h4 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--navy);
}
.format-card p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- DAY TABS ---------- */
.day-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: white;
  margin-bottom: 32px;
}
.day-tab {
  background: white;
  border: none;
  border-right: 1px solid var(--rule);
  padding: 22px 16px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  position: relative;
  transition: background 0.2s;
}
.day-tab:last-child { border-right: none; }
.day-tab:hover { background: var(--ivory); }
.day-tab.on {
  background: var(--navy);
  color: var(--ivory);
}
.day-tab.on .dt-pts { color: var(--gold); }
.day-tab.decider::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.dt-short {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  font-style: italic;
}
.dt-pts {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- DAY PANEL ---------- */
.day-panel {
  background: white;
  border: 1px solid var(--rule);
}
.day-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 32px 36px;
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 4px solid var(--gold);
}
.day-meta .eyebrow { color: var(--gold); }
.day-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 40px;
  margin: 6px 0 0;
  letter-spacing: -0.01em;
}
.day-stats {
  display: flex; align-items: center; gap: 24px;
}
.day-stat { text-align: center; }
.day-stat-num {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
}
.day-stat-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(245,239,225,0.7);
  margin-top: 4px;
}
.day-stat-divider { width: 1px; height: 40px; background: rgba(201,161,74,0.3); }
.day-stat.decider .day-stat-num { color: var(--ivory); }
.day-intro {
  padding: 28px 36px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.course-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  border-bottom: 1px solid var(--rule);
}
.course-art {
  background: var(--ivory);
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.course-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.02);
}
.course-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.12) 0%, rgba(11,31,58,0) 40%, rgba(11,31,58,0.55) 100%);
}
.course-photo-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  background: var(--navy);
  color: var(--ivory);
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  border-left: 2px solid var(--gold);
}
.course-body {
  padding: 28px 36px;
}
.course-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 32px;
  margin: 6px 0 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.course-tee {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 16px;
}
.course-tee .mono { color: var(--ink-soft); font-size: 11px; }
.course-tee .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
}
.course-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.course-blurb {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.day-note {
  padding: 24px 36px;
  margin: 0;
  background: var(--ivory);
  font-style: italic;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}

/* ---------- MATCHUPS ---------- */
.matchups { padding: 28px 36px 36px; }
.matchups-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.matchups-head > div:first-child {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}
.matchups-pts {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.matchup {
  border: 1px solid var(--rule);
  margin-bottom: 10px;
  background: white;
}
.matchup-row {
  display: grid;
  grid-template-columns: 50px 1fr 80px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
}
.matchup-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.matchup-side {
  display: flex; align-items: center; gap: 12px;
}
.matchup-side.usa { justify-content: flex-start; }
.matchup-side.euro { justify-content: flex-end; }
.side-flag {
  width: 6px; height: 32px;
  background: var(--usa-red);
}
.side-flag.euro-flag { background: var(--gold); }
.side-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
}
.matchup-vs {
  display: flex; align-items: center; gap: 8px;
}
.vs-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.vs-text {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
}
.matchup-toggle {
  text-align: right;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold);
  font-weight: 300;
}
.matchup-detail {
  background: var(--ivory);
  padding: 14px 20px;
}
.detail-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 6px 0;
  font-size: 14px;
}
.detail-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  align-self: center;
}
.detail-value { color: var(--ink); }
.mono-detail {
  font-family: var(--mono);
  font-size: 12px;
}

/* ---------- SWAP PANEL ---------- */
.swap-panel { padding: 32px 36px 36px; }
.swap-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.swap-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  margin: 6px 0 0;
  color: var(--navy);
}
.seg-control {
  display: flex;
  border: 1px solid var(--navy);
}
.seg-control button {
  background: white;
  border: none;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  cursor: pointer;
  color: var(--navy);
}
.seg-control button.on {
  background: var(--navy);
  color: var(--gold);
}
.swap-nines {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 28px;
}
.swap-nine {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 20px 22px;
}
.swap-nine-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.swap-nine-tag {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  background: var(--navy);
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 6px;
}
.swap-nine-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
}
.swap-arrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.swap-arrow-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.foursomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.scoring-intro {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 12px 0 16px;
}
.scoring-intro strong { color: var(--navy); font-weight: 600; }
.foursome {
  border: 1px solid var(--rule);
  padding: 16px 20px;
  background: white;
  position: relative;
}
.foursome.usa { border-left: 4px solid var(--usa-red); }
.foursome.euro { border-left: 4px solid var(--gold); }
.foursome-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.foursome.usa .foursome-tag { color: var(--usa-red); }
.foursome.euro .foursome-tag { color: var(--gold); }
.foursome-players {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}
.swap-rules {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.rules-list {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.rules-list li { margin-bottom: 8px; }
.scoring-list { margin-top: 12px; }
.scoring-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ivory-2);
}
.scoring-item:last-child { border-bottom: none; }
.scoring-pts {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  color: var(--gold);
}
.scoring-what {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.scoring-detail {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ---------- FOOTER ---------- */
.site-foot {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 48px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  border-top: 4px solid var(--gold);
}
.foot-text { text-align: center; }
.foot-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 12px;
}
.foot-line strong {
  color: var(--gold);
  font-weight: 700;
}
.foot-meta {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(245,239,225,0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-crest.right { display: none; }
  .hero-main { grid-template-columns: auto 1fr; }
}

@media (max-width: 760px) {
  /* HERO */
  .hero { padding: 20px 18px 32px; border-bottom-width: 3px; }
  .hero-top { font-size: 9px; letter-spacing: 0.18em; padding-bottom: 12px; margin-bottom: 24px; }
  .hero-main { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .hero-crest { display: flex !important; }
  .hero-crest svg { width: 110px; height: auto; }
  .hero-crest.right { display: none !important; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.35em; }
  .hero-headline {
    font-size: clamp(38px, 11vw, 60px);
    white-space: normal;
    flex-direction: column;
    gap: 0;
    line-height: 0.95;
  }
  .hero-headline .amp { display: none; }
  .hero-version { font-size: 16px; letter-spacing: 0.3em; }
  .hero-tag { margin-top: 28px; padding-top: 20px; }
  .welcome { font-size: 22px; }
  .welcome-sub { font-size: 13px; padding: 0 8px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
  .hero-stat { padding: 14px 4px; }
  .hs-num { font-size: 30px; }
  .hs-lbl { font-size: 8px; letter-spacing: 0.2em; }
  .hero-dates { font-size: 11px; letter-spacing: 0.12em; }
  .dot-sep { margin: 0 8px; }

  /* SCOREBOARD */
  .scoreboard { padding: 24px 18px 28px; }
  .scoreboard-rule { font-size: 10px; letter-spacing: 0.25em; margin-bottom: 14px; }
  .scoreboard-main { grid-template-columns: 1fr; gap: 14px; }
  .scoreside { gap: 14px; padding: 8px 0; justify-content: center !important; }
  .scoreside.usa { flex-direction: row; }
  .scoreside.euro { flex-direction: row-reverse; }
  .scoreside.euro .scoreside-text.right { text-align: left; align-items: flex-start; }
  .scoreside-flag-usa, .scoreside-flag-euro { width: 56px; height: 40px; }
  .scoreside-name { font-size: 24px; }
  .scoreside-hcp { font-size: 10px; }
  .scoreside-num { font-size: 56px; }
  .scoreside.leading::after { font-size: 8px; padding: 2px 8px; }
  .scoreboard-mid {
    border: 1px solid var(--rule);
    border-left: none; border-right: none;
    padding: 14px 0;
    min-width: 0;
  }
  .needed { font-size: 36px; }
  .needed span { font-size: 9px; }
  .status-text { font-size: 10px; letter-spacing: 0.2em; margin: 8px 0 4px; }
  .retain { font-size: 12px; }

  /* SECTIONS */
  .section { padding: 48px 18px; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 30px; line-height: 1.1; }
  .section-sub { font-size: 15px; }

  /* TEAMS */
  .teams-grid { grid-template-columns: 1fr; gap: 18px; }
  .team-card-head { padding: 18px 18px 12px; }
  .team-name { font-size: 20px; }
  .team-roster { padding: 4px 18px 16px; }
  .player-row { grid-template-columns: 28px 1fr 110px; gap: 10px; padding: 10px 0; }
  .player-name { font-size: 16px; }
  .player-num { font-size: 10px; }
  .hcp-num { font-size: 12px; }

  /* SCHEDULE TABLE — restructured as cards */
  .schedule-head { display: none; }
  .schedule-row, .schedule-total {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 16px;
    align-items: baseline;
  }
  .schedule-row > div:first-child { grid-column: 1; font-size: 11px; color: var(--ink-soft); order: 1; }
  .schedule-row > div:nth-child(2) { grid-column: 1; order: 2; font-size: 16px; }
  .schedule-row > div:nth-child(3) { grid-column: 1; order: 3; font-size: 13px; color: var(--ink-soft); }
  .schedule-row > div:nth-child(4) { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .schedule-row .pts { font-size: 20px; }
  .schedule-total { grid-template-columns: 1fr auto; }
  .schedule-total > div:nth-child(3) { grid-column: 1; }
  .schedule-total > div:nth-child(4) { grid-column: 2; }

  /* SCORING EXPLAINER + FORMAT CARDS */
  .scoring-explainer { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .se-block { padding: 22px 20px; }
  .se-num { font-size: 52px; }
  .format-cards-intro { padding: 18px 20px; }
  .format-cards-intro p { font-size: 15px; }
  .format-cards { grid-template-columns: 1fr; }
  .format-card {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 22px 20px;
  }
  .format-card:last-child { border-bottom: none; }
  .format-card h4 { font-size: 22px; }

  /* DAY TABS */
  .day-tabs { grid-template-columns: 1fr 1fr; }
  .day-tab {
    border-bottom: 1px solid var(--rule);
    padding: 14px 12px;
  }
  .day-tab:nth-child(2) { border-right: none; }
  .day-tab:nth-child(3), .day-tab:nth-child(4) { border-bottom: none; }
  .dt-short { font-size: 17px; }
  .dt-pts { font-size: 10px; }

  /* DAY HEADER */
  .day-header { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .day-title { font-size: 26px; line-height: 1.1; }
  .day-stats { gap: 16px; align-self: stretch; justify-content: space-between; }
  .day-stat-num { font-size: 26px; }
  .day-stat-divider { height: 28px; }
  .day-intro { padding: 20px 20px 0; font-size: 16px; }

  /* COURSE CARD */
  .course-card { grid-template-columns: 1fr; }
  .course-art { min-height: 140px; }
  .course-body { padding: 20px; }
  .course-name { font-size: 22px; }
  .course-tee { flex-wrap: wrap; gap: 6px; font-size: 13px; }
  .course-link { font-size: 11px; word-break: break-all; }
  .course-blurb { font-size: 14px; }
  .day-note { padding: 16px 20px; font-size: 14px; }

  /* MATCHUPS — stack USA over EURO */
  .matchups { padding: 20px; }
  .matchups-head > div:first-child { font-size: 18px; }
  .matchup-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
    text-align: left;
  }
  .matchup-num { font-size: 10px; }
  .matchup-side { gap: 10px; }
  .matchup-side.usa, .matchup-side.euro { justify-content: flex-start; }
  .matchup-side.euro { flex-direction: row; }
  .matchup-side.euro .euro-flag { order: -1; }
  .side-name { font-size: 16px; }
  .side-flag { width: 4px; height: 22px; }
  .matchup-vs {
    grid-template-columns: none;
    display: flex;
    width: 100%;
    margin: 2px 0;
  }
  .matchup-detail { padding: 12px 16px; }
  .detail-row { grid-template-columns: 1fr; gap: 2px; padding: 6px 0; }
  .detail-label { font-size: 9px; }
  .detail-value { font-size: 13px; }
  .mono-detail { font-size: 11px; word-break: break-word; }

  /* SWAP PANEL */
  .swap-panel { padding: 22px 20px 26px; }
  .swap-head { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 12px; }
  .swap-title { font-size: 22px; }
  .swap-nine { padding: 16px; }
  .swap-nine-tag { font-size: 10px; letter-spacing: 0.25em; padding: 3px 8px; }
  .swap-nine-sub { font-size: 13px; }
  .swap-arrow { gap: 10px; padding: 10px 0; }
  .swap-arrow-label { font-size: 10px; letter-spacing: 0.3em; padding: 5px 10px; }
  .foursomes { grid-template-columns: 1fr; gap: 10px; }
  .foursome { padding: 12px 14px; }
  .foursome-players { font-size: 14px; }
  .swap-rules { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .scoring-pts { font-size: 18px; }
  .scoring-what { font-size: 15px; }
  .scoring-detail { font-size: 12px; }
  .scoring-intro { font-size: 13px; }

  /* FOOTER */
  .site-foot { padding: 32px 20px; gap: 20px; flex-wrap: wrap; }
  .foot-crest svg { width: 50px; height: auto; }
  .foot-line { font-size: 17px; }
  .foot-meta { font-size: 9px; letter-spacing: 0.2em; }
}

@media (max-width: 400px) {
  .day-tabs { grid-template-columns: 1fr; }
  .day-tab {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .day-tab:nth-child(2) { border-right: none; }
  .day-tab:last-child { border-bottom: none; }
  .day-stats { flex-wrap: wrap; gap: 12px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-right: 1px solid rgba(201,161,74,0.2); }
  .hero-stat:nth-child(2n) { border-right: none; }
}
