/* dualpoker.com — "The Split" design system
   Two halves, one seam. Crimson corner vs cobalt corner, black seam,
   one yellow accent reserved for the CTA. Anton display, quiet system body.
   The signature move: everything important happens in halves. */

:root {
  --ink: #101014;
  --paper: #f4f2ec;
  --paper-soft: #e9e6dd;
  --crimson: #d31b34;
  --crimson-deep: #a01223;
  --cobalt: #0b3d91;
  --cobalt-deep: #082d6c;
  --gold: #ffd400;
  --gold-deep: #e6bf00;
  --text-ink: #1b1b1f;
  --text-dim: #5c5c64;
  --line: #d8d4c8;

  --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: "Anton", "Arial Narrow", Impact, sans-serif;
  --wrap: 68rem;
  --prose: 44rem;
  --radius: 10px;
}

*, *::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.65;
  color: var(--text-ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: 0.01em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.04em; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cobalt); 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.76rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.26em; color: var(--crimson);
}

/* Header — black bar */
.site-header { background: var(--ink); color: #fff; }
.site-header .bar { display: flex; align-items: center; gap: var(--s-4); padding-block: var(--s-3); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; color: #fff; text-decoration: none; white-space: nowrap; line-height: 1; letter-spacing: 0.04em; }
.logo .mark { 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: 700; font-size: 0.88rem; color: #cfcfd6; text-decoration: none; }
.site-nav a:hover { color: #fff; }
.site-nav a.nav-cta { background: var(--gold); color: var(--ink); padding: 9px 18px; border-radius: 8px; white-space: nowrap; font-weight: 800; }
.site-nav a.nav-cta:hover { background: var(--gold-deep); }
.age-chip { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; border: 2px solid #cfcfd6; border-radius: 999px; padding: 2px 9px; color: #cfcfd6; flex: none; }
@media (max-width: 760px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .site-header .bar, .site-nav { gap: var(--s-3); }
  .logo { font-size: 1.05rem; }
}

/* The split hero */
.hero-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; color: #fff; min-height: 56vh; }
.hero-split .half { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 4.5rem) 6%; }
/* Shared rows so both room names sit on the same line regardless of tagline length */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .hero-split { grid-template-rows: 1fr auto auto 1.15fr; }
    .hero-split .half { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; align-items: end; padding-block: clamp(2rem, 6vw, 4.5rem); }
    .hero-split .half.left { justify-content: end; justify-items: end; }
    .hero-split .half.right { justify-content: start; justify-items: start; }
    .hero-split .half .room { grid-row: 2; align-self: end; }
    .hero-split .half .claim { grid-row: 3; align-self: start; }
  }
}
.hero-split .half.left { background: var(--crimson); align-items: flex-end; text-align: right; }
.hero-split .half.right { background: var(--cobalt); align-items: flex-start; text-align: left; }
@media (min-width: 641px) {
  .hero-split .half.left { padding-inline-end: clamp(4.5rem, 8vw, 7rem); }
  .hero-split .half.right { padding-inline-start: clamp(4.5rem, 8vw, 7rem); }
}
.hero-split .half .room { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.7rem, 4.6vw, 3.4rem); line-height: 0.98; color: #fff; }
.hero-split .half .claim { margin-top: 12px; font-size: 0.95rem; max-width: 28ch; color: rgba(255,255,255,0.92); }
.hero-split .seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 8px; transform: translateX(-50%); background: var(--ink); }
.hero-split .vs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 5;
  font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--ink);
  background: var(--gold); border-radius: 50%; width: 2em; height: 2em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 7px var(--ink);
}
@media (max-width: 640px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .half.left, .hero-split .half.right { align-items: center; text-align: center; padding: 2.6rem 8% 3.4rem; }
  .hero-split .seam { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 8px; transform: translateY(-50%); }
}

/* Black band under hero */
.band { background: var(--ink); color: #fff; text-align: center; }
.band .wrap { display: grid; justify-items: center; gap: var(--s-4); padding-block: var(--s-6); }
.band h1, .band h2 { color: #fff; max-width: 24ch; }
.band h1 em, .band h2 em { font-style: normal; color: var(--gold); }
.band .sub { color: #b9b9c2; max-width: 56ch; font-size: 1rem; }
.band .micro { color: #7c7c86; font-size: 0.85rem; }

/* Buttons — gold is CTA-only */
.btn { display: inline-block; background: var(--gold); color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem; text-decoration: none; padding: 13px 32px; border-radius: 8px; border: none; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--gold-deep); }

/* Sections */
.section { padding-block: var(--s-8); }
.section.dark { background: var(--ink); color: #e8e8ec; }
.section.dark h2, .section.dark h3 { color: #fff; }
.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(--text-dim); }
.section.dark .section-head p { color: #b9b9c2; }

/* Duel list — split rows, not cards */
.duel-list { display: grid; gap: var(--s-4); padding: 0; margin: 0; list-style: none; }
.duel-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: stretch; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 2px solid var(--ink); }
.duel-row .side { padding: var(--s-4) var(--s-5); font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; display: flex; align-items: center; color: #fff; }
.duel-row .side.l { background: var(--crimson); justify-content: flex-end; text-align: right; }
.duel-row .side.r { background: var(--cobalt); justify-content: flex-start; }
.duel-row .mid { background: var(--ink); color: var(--gold); font-family: var(--display); display: flex; align-items: center; padding-inline: 14px; font-size: 0.9rem; }
.duel-row.soon { filter: saturate(0.25) brightness(1.05); }
.duel-row.soon .mid { color: #b9b9c2; font-size: 0.72rem; letter-spacing: 0.1em; }
.duel-row:hover:not(.soon) { outline: 3px solid var(--gold); outline-offset: -3px; }
@media (max-width: 560px) {
  .duel-row .side { font-size: 0.85rem; padding: var(--s-3); min-width: 0; overflow-wrap: anywhere; }
  .duel-row .mid { font-size: 0.7rem; padding-inline: 8px; letter-spacing: 0.04em; }
  .duel-row.soon .mid { font-size: 0.58rem; }
}

/* Scorecard rounds (duel pages) */
.round { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin-block: var(--s-5); }
.round .r-head { grid-column: 1 / -1; background: var(--ink); color: #fff; padding: 10px var(--s-5); display: flex; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.round .r-head .no { font-family: var(--display); color: var(--gold); font-size: 1.1rem; }
.round .r-head h3 { color: #fff; }
.round .r-side { padding: var(--s-4) var(--s-5); font-size: 0.95rem; line-height: 1.6; }
.round .r-side.l { background: #fbeef0; border-right: 1px solid var(--line); }
.round .r-side.r { background: #eef2fb; }
.round .r-side .who { font-family: var(--display); text-transform: uppercase; font-size: 0.9rem; margin-bottom: 6px; }
.round .r-side.l .who { color: var(--crimson-deep); }
.round .r-side.r .who { color: var(--cobalt-deep); }
.round .r-verdict { grid-column: 1 / -1; background: var(--paper-soft); padding: var(--s-3) var(--s-5); font-size: 0.92rem; border-top: 1px solid var(--line); }
.round .r-verdict strong { text-transform: uppercase; font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; }
@media (max-width: 620px) {
  .round { grid-template-columns: 1fr; }
  .round .r-side.l { border-right: none; border-bottom: 1px solid var(--line); }
}

/* 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(--crimson-deep); }
.article .lede { font-size: 1.15rem; color: var(--text-dim); }
.article .updated { font-size: 0.85rem; color: var(--text-dim); font-style: italic; }
.callout { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--s-4) var(--s-5); }
.callout.gold { border-color: var(--gold-deep); background: #fffbe6; }

.disclosure { font-size: 0.85rem; color: var(--text-dim); font-style: italic; }
.rg-band { background: var(--ink); color: #b9b9c2; }
.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: #fff; }
.rg-band .age-chip { border-color: #b9b9c2; color: #b9b9c2; }

.site-footer { background: var(--ink); color: #8d8d96; font-size: 0.9rem; border-top: 1px solid #26262c; }
.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: #cfcfd6; font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.site-footer a:hover { color: #fff; 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; }
  .duel-row { transition: transform 160ms ease-out; }
  .duel-row:hover:not(.soon) { transform: translateY(-2px); }
}
