/* standingbet.com — "The Engraving" design system
   Trophy room: deep pine green, brass, cream. Cormorant Garamond display,
   quiet system body. One CTA color: brass. The signature move is the plaque. */

:root {
  --pine: #17351f;
  --pine-deep: #0c1f12;
  --pine-panel: #12291a;
  --line: rgba(201, 168, 76, 0.22);
  --brass: #c9a84c;
  --brass-bright: #e0c069;
  --cream: #efe6cf;
  --cream-soft: #c9bfa4;
  --cream-faint: #9a917c;
  --engrave: #241c07;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --radius: 12px;
  --wrap: 64rem;
  --prose: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

html { overflow-x: clip; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.7;
  color: var(--cream); background: var(--pine-deep);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; color: var(--cream); }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
a { color: var(--cream); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-5); }
.prose { max-width: var(--prose); }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.28em; color: var(--brass);
}

/* Header */
.site-header { background: var(--pine-deep); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: var(--s-4); padding-block: var(--s-4); }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--cream);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.logo svg { width: 30px; height: 30px; flex: none; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.site-nav a { font-weight: 600; font-size: 0.9rem; color: var(--cream-soft); text-decoration: none; }
.site-nav a:hover { color: var(--cream); }
.site-nav a.nav-cta {
  background: var(--brass); color: var(--engrave); padding: 10px 18px;
  border-radius: 8px; white-space: nowrap; font-weight: 800;
}
.site-nav a.nav-cta:hover { background: var(--brass-bright); }
.age-chip {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em;
  border: 2px solid var(--cream-soft); border-radius: 999px; padding: 2px 9px;
  color: var(--cream-soft); flex: none;
}
@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .site-header .bar, .site-nav { gap: var(--s-3); }
  .logo { font-size: 1.15rem; }
}

/* Hero */
.hero { background: radial-gradient(ellipse at 50% -10%, var(--pine), var(--pine-deep) 70%); }
.hero .wrap { display: grid; justify-items: center; text-align: center; padding-block: var(--s-8); gap: var(--s-4); }
.hero h1 { max-width: 19ch; }
.hero .sub { color: var(--cream-soft); max-width: 52ch; font-size: 1.1rem; font-family: var(--display); font-size: 1.25rem; }
.hero .micro { color: var(--cream-faint); font-size: 0.85rem; }

/* The plaque (signature) */
.plaque {
  width: min(430px, 92vw); margin-top: var(--s-3);
  background: linear-gradient(160deg, #d9bf7a, #b3903c 55%, #d3b76d);
  border-radius: 10px; padding: 20px 26px; color: var(--engrave);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.55);
  text-align: left;
}
.plaque .eng {
  font-family: var(--display); letter-spacing: 0.24em; text-transform: uppercase;
  font-size: 0.72rem; color: #4a3a10; text-align: center; margin-bottom: var(--s-2);
}
.plaque .line {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid rgba(74, 58, 16, 0.35); padding: 7px 0;
  font-family: var(--display);
}
.plaque .line .champ { font-size: 1.05rem; letter-spacing: 0.06em; font-weight: 700; }
.plaque .line .yr { font-size: 0.85rem; color: #5a4a1a; }
.plaque .line.blank { border-bottom-color: rgba(74, 58, 16, 0.7); }
.plaque .line.blank .champ { letter-spacing: 0.3em; color: #6b5717; }
.plaque .src { font-size: 0.62rem; color: #6b5717; text-align: center; margin-top: var(--s-2); letter-spacing: 0.08em; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brass); color: var(--engrave);
  font-weight: 800; font-size: 1rem; text-decoration: none;
  padding: 13px 32px; border-radius: 8px; border: none; cursor: pointer; min-height: 44px;
  letter-spacing: 0.02em;
}
.btn:hover { background: var(--brass-bright); }

/* Sections */
.section { padding-block: var(--s-8); }
.section.alt { background: var(--pine-panel); border-block: 1px solid var(--line); }
.section-head { max-width: var(--prose); margin-bottom: var(--s-6); }
.section-head h2 { margin-top: var(--s-2); }
.section-head p { margin-top: var(--s-3); color: var(--cream-soft); }

/* Position cards (title / drop / boot) */
.positions { display: grid; gap: var(--s-5); padding: 0; margin: 0; list-style: none; }
@media (min-width: 800px) { .positions { grid-template-columns: repeat(3, 1fr); } }
.position {
  display: flex; flex-direction: column;
  background: var(--pine-panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-5);
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 800px) {
    .position { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: var(--s-3); }
  }
}
.position .medal { width: 56px; height: 56px; margin-bottom: var(--s-3); }
.position h3 { margin-bottom: var(--s-1); }
.position .fact { font-family: var(--display); font-style: italic; color: var(--brass); font-size: 1.02rem; margin-bottom: var(--s-2); }
.position p { font-size: 0.95rem; color: var(--cream-soft); }

/* Offer cards */
.offer-row { display: grid; gap: var(--s-5); padding: 0; margin: 0; list-style: none; }
@media (min-width: 840px) { .offer-row { grid-template-columns: repeat(3, 1fr); } }
.offer-card {
  display: flex; flex-direction: column;
  background: var(--pine-panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-5);
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 840px) {
    .offer-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: var(--s-3); }
  }
}
.offer-card .badge {
  justify-self: start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass); margin-bottom: var(--s-2);
}
.offer-card h3 { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-1); }
.offer-card h3 .chip {
  width: 38px; height: 38px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--line);
}
.offer-card .deal { font-weight: 700; color: var(--brass); margin-bottom: var(--s-2); font-size: 0.95rem; }
.offer-card p { font-size: 0.92rem; color: var(--cream-soft); margin-bottom: var(--s-4); }
.offer-card .btn { margin-top: auto; width: 100%; text-align: center; }

/* Rules list (engraver's rules) */
.rules { display: grid; gap: var(--s-5); padding: 0; margin: 0; list-style: none; counter-reset: n; }
@media (min-width: 720px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rules li { background: var(--pine-deep); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); counter-increment: n; }
.rules li::before {
  content: counter(n, upper-roman);
  font-family: var(--display); font-size: 1.8rem; color: var(--brass);
  display: block; margin-bottom: var(--s-2);
}
.rules h3 { margin-bottom: var(--s-2); font-size: 1.2rem; }
.rules p { font-size: 0.95rem; color: var(--cream-soft); }

/* Article pages */
.article { padding-block: var(--s-7) var(--s-8); }
.article .prose > * + * { margin-top: var(--s-4); }
.article .prose h2 { margin-top: var(--s-7); }
.article .prose h3 { margin-top: var(--s-5); color: var(--brass); }
.article .lede { font-family: var(--display); font-size: 1.3rem; color: var(--cream-soft); }
.article .updated { font-size: 0.85rem; color: var(--cream-faint); font-style: italic; }
.callout { background: var(--pine-panel); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 10px; padding: var(--s-4) var(--s-5); }

.disclosure { font-size: 0.85rem; color: var(--cream-faint); font-style: italic; }
.rg-band { background: #081209; color: var(--cream-soft); border-top: 1px solid var(--line); }
.rg-band .wrap { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; padding-block: var(--s-5); font-size: 0.9rem; }
.rg-band a { color: var(--cream); }
.rg-band .age-chip { border-color: var(--cream-soft); color: var(--cream-soft); }

/* Footer */
.site-footer { background: #081209; color: var(--cream-faint); font-size: 0.9rem; }
.site-footer .wrap { padding-block: var(--s-6); display: grid; gap: var(--s-4); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.site-footer a { color: var(--cream-soft); font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer p a { font-weight: 400; text-decoration: underline; font-size: inherit; }

@media (prefers-reduced-motion: no-preference) {
  a.btn, .site-nav a.nav-cta { transition: background-color 180ms ease-out; }
  .offer-card, .position { transition: transform 180ms ease-out; }
  .offer-card:hover, .position:hover { transform: translateY(-3px); }
}
