/* The Red Putter — palette from the Ryan Duggan screen print. See docs/design-tokens.md */
:root {
  --red: #CB3D41;
  --red-deep: #9E3134;
  --mint: #57A487;
  --mint-deep: #2F7B60;
  --ink: #252826;
  --ink-soft: #4A4D45;
  --paper: #F0EAD8;
  --cream: #F5F0DF;
  --peri: #CDD1E4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: 'Public Sans', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--red-deep); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--peri); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cream); padding: 0.6rem 1rem; z-index: 50; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
}
.brand img { display: block; width: clamp(180px, 24vw, 300px); height: auto;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.4)); }
.masthead nav { display: flex; gap: clamp(0.9rem, 2.2vw, 1.8rem); align-items: center; flex-wrap: wrap; }
.masthead nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.masthead nav a:hover { color: var(--red-deep); }
.shop-tab {
  background: var(--red); color: var(--cream) !important;
  padding: 0.55rem 1.15rem; border-radius: 3px;
  box-shadow: 0 2px 0 var(--red-deep);
  transform: rotate(-1deg);
}
.shop-tab:hover { background: var(--red-deep); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(300px, 460px) minmax(300px, 560px);
  justify-content: center; align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem) 3rem;
}
.eyebrow { font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; margin: 0 0 0.9rem; }
.hero h1 {
  font-family: Ultra, Rockwell, serif; font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.12;
  margin: 0; text-wrap: balance;
}
.lede { font-size: clamp(1rem, 2vw, 1.13rem); max-width: 44ch; margin: 1.2rem 0 0; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.6rem; flex-wrap: wrap; }
.btn-buy {
  display: inline-block; background: var(--red); color: var(--cream);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 0.9rem 1.5rem; transform: rotate(-1deg);
  box-shadow: 0 3px 0 var(--red-deep);
}
.btn-buy:hover { background: var(--red-deep); }
.link-plain { font-weight: 600; color: var(--ink); }
.ticker {
  margin-top: 2.2rem; font-family: 'Courier Prime', monospace;
  font-size: 0.8rem; letter-spacing: 0.06em; line-height: 2; color: var(--ink-soft);
}
.hero-scene { position: relative; }
.hero-scene svg { display: block; width: 100%; height: auto; }

/* ---------- info strip ---------- */
.info-strip {
  background: var(--cream);
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  padding: 1.6rem clamp(1rem, 4vw, 3rem);
}
.info-cell { display: flex; flex-direction: column; gap: 0.15rem; }
.info-cell .k { font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red-deep); }
.info-cell .v { font-weight: 700; font-size: 1.05rem; }
.info-cell .v a { color: inherit; }
.info-cell .s { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- bands ---------- */
.band { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem); max-width: 1180px; margin: 0 auto; }
.band-head h2 {
  font-family: Ultra, Rockwell, serif; font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 0.6rem; text-wrap: balance;
}
.band-head p { max-width: 58ch; margin: 0; font-size: 1.05rem; }
.band-foot { margin: 2rem 0 0; }
.link-arrow { font-weight: 700; }
.link-arrow::after { content: " \2192"; }

.hole-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 2rem; }
.hole-card {
  background: var(--cream); border: 3px solid var(--ink); padding: 1.1rem 1.2rem;
}
.hole-card:nth-child(odd) { transform: rotate(-0.4deg); }
.hole-card:nth-child(even) { transform: rotate(0.4deg); }
.hole-card .num { font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--red-deep); }
.hole-card h3 { font-family: Ultra, Rockwell, serif; font-weight: 400; font-size: 1.2rem; margin: 0.3rem 0 0.45rem; }
.hole-card p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* tournament band */
.band-green { background: var(--mint-deep); color: var(--cream); max-width: none; }
.band-green .band-head { max-width: 1180px; margin: 0 auto; }
.band-green .band-head p { color: #E6EFE6; }
.tourney-grid {
  max-width: 1180px; margin: 2rem auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem;
}
.tourney-grid .fact { border-top: 2px solid rgba(205,209,228,0.55); padding-top: 0.7rem; }
.tourney-grid .k { display: block; font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--peri); }
.tourney-grid .v { display: block; font-weight: 600; margin-top: 0.3rem; font-size: 0.98rem; }

.proboard-card {
  max-width: 420px; margin: 2.6rem auto 0;
  background: #F7F2E4; color: #2B2320;
  padding: 1.8rem 2rem 1.6rem;
  transform: rotate(-1deg);
  box-shadow: 0 12px 26px rgba(0,0,0,0.3);
  font-family: 'Courier Prime', monospace;
}
.pb-title { text-align: center; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; }
.pb-sub { text-align: center; font-size: 0.95rem; margin-top: 0.2rem; }
.pb-line { margin-top: 1.3rem; font-size: 0.95rem; }
.pb-blank { display: inline-block; border-bottom: 2px solid #2B2320; min-width: 110px; text-align: center; font-style: italic; color: #3a3a86; }
.pb-blank.wide { min-width: 170px; }

/* story band */
.story-cols { column-gap: 3rem; margin-top: 1.6rem; max-width: 100ch; }
@media (min-width: 760px) { .story-cols { columns: 2; } }
.story-cols p { margin: 0 0 1rem; break-inside: avoid; }
.voice {
  margin: 2.2rem auto 0; max-width: 44ch; text-align: center;
  font-family: Ultra, Rockwell, serif; font-weight: 400; font-size: 1.25rem; line-height: 1.5;
}
.voice cite { display: block; margin-top: 0.7rem; font-family: 'Courier Prime', monospace; font-style: normal; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

/* shop band */
.band-shop { background: var(--cream); border-top: 4px solid var(--ink); max-width: none; }
.band-shop .band-head, .band-shop .shop-grid, .band-shop .band-foot { max-width: 1180px; margin-left: auto; margin-right: auto; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.product {
  display: flex; flex-direction: column; gap: 0.2rem;
  background: #FFFDF4; border: 3px solid var(--ink);
  padding: 1.2rem 1.3rem; text-decoration: none; color: var(--ink);
}
.product:hover { border-color: var(--red); }
.product .p-name { font-weight: 700; font-size: 1.02rem; }
.product .p-note { font-size: 0.85rem; color: var(--ink-soft); }
.product .p-price { margin-top: 0.6rem; font-family: 'Courier Prime', monospace; font-weight: 700; color: var(--red); font-size: 1.15rem; }
.band-shop .band-foot { margin-top: 2.2rem; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--paper); padding: 2rem clamp(1rem, 4vw, 3rem) 2.6rem; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-family: 'Courier Prime', monospace; font-size: 0.8rem; letter-spacing: 0.18em; }
.foot-row a { color: var(--paper); }
.tri { color: var(--red); }
.foot-note { margin: 1.4rem 0 0; font-size: 0.82rem; line-height: 1.7; color: #B9BCB2; max-width: 76ch; }
.foot-note a { color: #D8DBD0; }

/* ---------- course page ---------- */
.page-head { padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) 0; max-width: 1180px; margin: 0 auto; }
.page-head h1 { font-family: Ultra, Rockwell, serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-head p { max-width: 60ch; }
.reel-grid {
  max-width: 1180px; margin: 2rem auto 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
  padding: 0 clamp(1rem, 4vw, 3rem) 3rem;
}
.reel-grid a.reel-slot {
  background: var(--cream); border: 3px solid var(--ink); padding: 0.6rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  text-decoration: none; color: var(--ink);
}
.reel-grid a.reel-slot:hover { border-color: var(--red); }
.reel-head { font-family: 'Courier Prime', monospace; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-align: center; color: var(--red-deep); padding-top: 0.2rem; }
.thumb { position: relative; display: block; }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.thumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: var(--cream);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  background: linear-gradient(transparent 55%, rgba(37,40,38,0.45));
}
.reel-grid a.reel-slot:hover .play { color: #fff; }
.reel-cta { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--red-deep); padding-bottom: 0.2rem; }



@media (max-width: 640px) {
  .masthead nav { gap: 0.7rem; }
  .masthead nav a { font-size: 0.85rem; }
  .eyebrow { letter-spacing: 0.1em; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-scene { max-width: 440px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
