/* =========================================================================
   Online Casino AUS - golfatindiansprings.net
   Direction: "Jacaranda & Acid". One dominant (jacaranda violet) and ONE
   accent (acid lime, always a FILL carrying ink text). Stars are violet, so
   the site runs on exactly two colours.

   Signature ornament: THE OVERPRINT - a second colour plate printed a few
   millimetres out of register behind a surface. It appears as a lime plate
   offset down-and-right behind cards, as a doubled rule under section heads,
   behind the hero art, and as the band that opens the footer.

   Shape lock: cards 2px, plates/controls 3px, buttons full pill.
   Width lock (R11): ONE .container cap at 1200px. Nothing inside is capped.
   ========================================================================= */

:root {
  --brand:        #4B35B3;
  --brand-dark:   #2B1D73;
  --brand-deep:   #1B1250;
  --brand-light:  #8A78EE;

  --accent:       #C3EB1E;
  --accent-warm:  #D4F53C;
  --accent-deep:  #4F6B00;
  --accent-soft:  #EEF8CE;

  --bg:           #F5F3FA;
  --bg-card:      #FFFFFF;
  --bg-elevated:  #FBFAFE;
  --bg-panel:     #EBE7F4;

  --text:         #191427;
  --text-muted:   #4A4166;
  --text-dim:     #6B6189;
  --on-dark:      #FFFFFF;
  --on-dark-dim:  #CFC6EC;

  --border:       #DCD6EC;
  --border-strong:#B9AFD8;
  --border-soft:  #EFECF7;

  /* mode-stable: these never flip, because they are FILLS carrying text */
  --brand-fill:   #4B35B3;   /* always carries white  (8.5:1) */
  --on-accent:    #191427;   /* always sits on --accent (13.0:1) */
  --accent-tile:  #EEF8CE;   /* pale lime surface */
  --on-accent-tile: #20280A; /* ink for --accent-tile (14.6:1) */

  --plate-a:      #FFFEF7;
  --plate-b:      #F3EEDD;

  --r-card: 2px;
  --r-ctl:  3px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27,18,80,.07);
  --shadow:    0 4px 18px rgba(27,18,80,.09);
  --shadow-lg: 0 18px 48px rgba(27,18,80,.16);

  --container: 1200px;
  --gutter: 1.5rem;

  --ff-display: 'Hepta Slab', Georgia, 'Times New Roman', serif;
  --ff-body:    'Gantari', 'Helvetica Neue', Helvetica, sans-serif;

  --ease: cubic-bezier(.16,1,.3,1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:           #130F1F;
    --bg-card:      #1C1731;
    --bg-elevated:  #241D3D;
    --bg-panel:     #0E0B18;

    --text:         #F2EFFB;
    --text-muted:   #C3BADF;
    --text-dim:     #9A8FBE;

    --border:       #342B52;
    --border-strong:#4A3F6E;
    --border-soft:  #241E3B;

    --brand:        #8A78EE;
    --brand-dark:   #1F1646;
    --brand-deep:   #140E33;
    --brand-light:  #AD9FFA;

    --accent-deep:  #C3EB1E;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow:    0 4px 18px rgba(0,0,0,.45);
    --shadow-lg: 0 18px 48px rgba(0,0,0,.55);
  }
}

/* ---------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* <figure> keeps a 40px UA margin and will push art off its grid cell. */
figure, blockquote, dl, dd, dt { margin: 0; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.14rem, 1.02rem + .5vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.03rem; font-weight: 700; }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-deep); }

strong, b { font-weight: 700; color: var(--text); }
em, i { font-style: italic; }

ul, ol { margin: 0 0 1.05rem; padding-left: 1.35rem; }
li { margin-bottom: .45rem; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 1px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: .7rem 1.1rem;
  font-weight: 700; border-radius: 0 0 var(--r-ctl) 0;
}
.skip-link:focus { left: 0; }

/* R11 - the ONE width cap on the site. Header, footer, hero, stat strip,
   every section body AND every image-divider sit inside this and nothing
   inside it carries a max-width of its own. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------- the overprint ------ */
/* A second lime plate, printed out of register behind the surface. */
.overprint { position: relative; }
.overprint::before {
  content: '';
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: var(--accent);
  z-index: 0;
  pointer-events: none;
  box-shadow: 10px 10px 0 var(--accent);
}
.overprint > * { position: relative; z-index: 1; }

/* The doubled, mis-registered rule that opens a section heading. */
.section-title {
  position: relative;
  padding-top: 1.35rem;
  margin: 0 0 1.75rem;
}
.section-title::before,
.section-title::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 68px;
}
.section-title::before { background: var(--text); }
.section-title::after  { background: var(--accent); transform: translate(13px, 7px); }

.overprint-band {
  display: block;
  height: 10px;
  background: var(--accent);
  position: relative;
}
.overprint-band::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 5px;
  height: 10px;
  background: var(--brand);
  mix-blend-mode: normal;
  opacity: .9;
}

/* ---------------------------------------------------------- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.1;
  letter-spacing: .005em;
  padding: .82rem 1.5rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Primary. Acid lime fill, ink text: 13.0:1. */
.btn--accent { background: var(--accent); color: #191427; }
.btn--accent:hover { background: var(--accent-warm); color: #191427; }

/* Secondary on paper. Jacaranda fill, white text: 8.5:1. */
.btn--brand { background: var(--brand-fill); color: #FFF; }
.btn--brand:hover { background: #2B1D73; color: #FFF; }

/* Tertiary on paper. */
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #FFF; }

/* Tertiary on a dark band. */
.btn--ghost-light { background: transparent; color: #FFF; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: #FFF; color: var(--brand-deep); border-color: #FFF; }

.btn--sm { padding: .62rem 1.12rem; font-size: .875rem; }
.btn--lg { padding: .98rem 1.9rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

/* -------------------------------------------------------- stars --------- */
/* CSS only, violet. .star--half fills exactly 50% through an overflow clip. */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star {
  width: 15px; height: 15px;
  display: inline-block;
  position: relative;
  background: var(--border-strong);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star--full { background: var(--brand); }
.star--half { background: var(--border-strong); overflow: hidden; }
.star--half::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 50%;
  background: var(--brand);
}
.stars--lg .star { width: 19px; height: 19px; }

/* ------------------------------------------------- logo plates (R6) ----- */
/* Operator logos vary wildly, so each sits on a cream plate, contained. */
.logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--plate-a), var(--plate-b));
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  padding: .5rem .7rem;
  width: 148px;
  height: 56px;
  flex: none;
  overflow: hidden;
}
.logo-plate img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-plate--xs { width: 76px; height: 34px; padding: .25rem .35rem; }
.logo-plate--md { width: 128px; height: 50px; }
.logo-plate--lg { width: 178px; height: 70px; }
.logo-plate--text { font-family: var(--ff-display); font-weight: 800; color: var(--brand-deep); font-size: .9rem; }

/* ------------------------------------------------------- reveal --------- */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   MASTHEAD
   ========================================================================= */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: padding .22s var(--ease), background-color .22s var(--ease);
}
.masthead::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--accent);
  opacity: .92;
  /* decorative only: it crosses the R13 hover bridge and would otherwise
     intercept the pointer on the way down to the Reviews panel */
  pointer-events: none;
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
  padding-block: .6rem;
  transition: min-height .22s var(--ease);
}
.masthead.is-scrolled .masthead__inner { min-height: 60px; }

/* ----------------------------------------------------------- brand ------ */
/* R6 - a wide wordmark set in CSS beside a small square mark, never a
   circular frame and never object-fit:cover. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  text-decoration: none;
  flex: none;
}
.brand__mark {
  display: inline-flex;
  width: 40px; height: 40px;
  flex: none;
  border-radius: var(--r-ctl);
  overflow: hidden;
  background: var(--brand-deep);
  box-shadow: 2px 2px 0 var(--accent);
}
.brand__mark img { width: 40px; height: 40px; object-fit: contain; }
.brand__word {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: #FFF;
  white-space: nowrap;
}
/* The wordmark is overprinted too: AUS carries a violet ghost out of register. */
.brand__word em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 2px 2px 0 rgba(138, 120, 238, .85);
}
.brand--footer .brand__word { font-size: 1.2rem; }

/* ------------------------------------------------------------- nav ------ */
.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li { margin: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  padding: .62rem .75rem;
  font-size: .94rem;
  font-weight: 600;
  color: var(--on-dark-dim);
  text-decoration: none;
  border-radius: var(--r-ctl);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav-item > a:hover,
.nav-item > a:focus-visible,
.nav-item > a.active { color: #FFF; }
.nav-caret { width: 10px; height: 6px; transition: transform .22s var(--ease); }
.nav-item--has-submenu:hover .nav-caret,
.nav-item--has-submenu:focus-within .nav-caret { transform: rotate(180deg); }

.nav-indicator {
  position: absolute;
  bottom: 8px;
  height: 3px;
  background: var(--accent);
  width: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), width .3s var(--ease), opacity .2s var(--ease);
}
@media (prefers-reduced-motion: reduce) { .nav-indicator { transition: none; } }

/* ---------------------------------------------- Reviews dropdown -------- */
/* R13 - the panel sits 1.1rem below the trigger, so the parent carries a
   transparent bridge across the gap or the cursor loses :hover mid-travel. */
.nav-item--has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -.75rem;
  right: -.75rem;
  height: 1.1rem;
  pointer-events: auto;
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(560px, 90vw);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: 7px 7px 0 var(--accent), var(--shadow-lg);
  padding: .85rem;
  opacity: 0;
  visibility: hidden;
  z-index: 70;
  transition: opacity .2s var(--ease), transform .24s var(--ease), visibility .24s;
}
.nav-submenu__point {
  position: absolute;
  top: -7px;
  left: 50%;
  margin-left: -7px;
  width: 13px; height: 13px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-item--has-submenu:hover > .nav-submenu,
.nav-item--has-submenu:focus-within > .nav-submenu,
.nav-item--has-submenu.is-open > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-submenu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem;
}
.nav-submenu__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .6rem;
  border-radius: var(--r-ctl);
  text-decoration: none;
  color: var(--text);
  transition: background-color .18s var(--ease);
}
.nav-submenu__item:hover { background: var(--bg-panel); color: var(--text); }
.nav-submenu__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nav-submenu__name { font-family: var(--ff-display); font-weight: 700; font-size: .97rem; }
.nav-submenu__meta { font-size: .78rem; color: var(--text-dim); }

/* -------------------------------------------------- mobile toggle ------- */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-ctl);
  padding: 0;
  cursor: pointer;
}
.nav-toggle__bars { display: block; position: relative; width: 20px; height: 14px; margin: 0 auto; }
.nav-toggle__bars i {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #FFF;
  transition: transform .26s var(--ease), opacity .18s var(--ease), top .26s var(--ease);
}
.nav-toggle__bars i:nth-child(1) { top: 0; }
.nav-toggle__bars i:nth-child(2) { top: 6px; }
.nav-toggle__bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .nav-toggle__bars i { transition: none; } }

/* =========================================================================
   HOME HERO - archetype "the slipped plate"
   A solid jacaranda band. The art sits in a rectangle on the right and an
   empty lime rectangle of the same size is printed up-and-left of it, so the
   art reads as a second colour plate that slipped off register. The H1 is
   overprinted the same way. The stat strip crosses the bottom of both plates
   in NORMAL FLOW with a negative margin (absolute would clip it).
   ========================================================================= */
.home-hero {
  position: relative;
  background: var(--brand-dark);
  color: #FFF;
  padding-block: clamp(2.6rem, 1.6rem + 3.6vw, 4.5rem) clamp(4.5rem, 3.5rem + 2vw, 5.75rem);
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(138,120,238,.4), transparent 62%);
  pointer-events: none;
}
.home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3.75rem);
  align-items: center;
}
.home-hero__copy { position: relative; z-index: 2; }

.home-hero__kicker {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: .3rem .7rem;
  border-radius: var(--r-ctl);
  margin-bottom: 1.15rem;
}
.home-hero__title {
  color: #FFF;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.05rem);
  margin-bottom: 1rem;
  position: relative;
}
/* the source H1 carries a pipe; keep it bound to the run before it */
.h1-keep { white-space: nowrap; }
/* The headline's own overprint. A text-shadow follows every line break, which
   an absolutely positioned pseudo-element cannot. */
.home-hero__title .slip {
  text-shadow: 4px 4px 0 rgba(195, 235, 30, .55);
}
.home-hero__lede {
  color: var(--on-dark-dim);
  font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem);
  margin-bottom: 1.6rem;
}
.home-hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---- the two plates ---- */
.home-hero__plates {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
}
.home-hero__ghost {
  position: absolute;
  inset: 0;
  transform: translate(-18px, -18px);
  border: 3px solid var(--accent);
  background: transparent;
}
.home-hero__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--brand-deep) center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.home-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(27,18,80,.12), rgba(27,18,80,.62));
}

/* ---- hero foreground object: THE REGISTRATION TARGET ----
   A printer's registration mark. Two rings and a crosshair, themselves slipped
   out of register, drifting back into alignment and out again. It is the same
   mark as the site logo, so hero object and brand are one idea. */
.reg-target {
  position: absolute;
  left: -54px;
  bottom: 38px;
  width: 124px; height: 124px;
  z-index: 3;
  pointer-events: none;
}
.reg-target span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--accent);
}
.reg-target span:nth-child(1) { inset: 0; }
.reg-target span:nth-child(2) { inset: 22px; border-color: #FFF; }
.reg-target i {
  position: absolute;
  background: #FFF;
}
.reg-target i:nth-child(3) { left: -12px; right: -12px; top: 50%; height: 2px; margin-top: -1px; }
.reg-target i:nth-child(4) { top: -12px; bottom: -12px; left: 50%; width: 2px; margin-left: -1px; }
.reg-target em {
  position: absolute;
  inset: 44px;
  border-radius: 50%;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .reg-target span:nth-child(1) { animation: regSlipA 12s var(--ease) infinite; }
  .reg-target span:nth-child(2) { animation: regSlipB 12s var(--ease) infinite; }
}
@keyframes regSlipA {
  0%, 100% { transform: translate(7px, 6px); }
  48%      { transform: translate(0, 0); }
}
@keyframes regSlipB {
  0%, 100% { transform: translate(-6px, -5px); }
  48%      { transform: translate(0, 0); }
}

/* ---- stat strip bridge: normal flow, pulled up ---- */
.stat-strip {
  position: relative;
  z-index: 4;
  margin-top: -3.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: 9px 9px 0 var(--accent), var(--shadow);
}
.stat {
  padding: 1.15rem 1.25rem;
  border-right: 1px solid var(--border-soft);
  min-width: 0;
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.05;
  color: var(--brand);
  letter-spacing: -.02em;
}
.stat__label {
  display: block;
  margin-top: .3rem;
  font-size: .82rem;
  line-height: 1.35;
  color: var(--text-dim);
}
.home-hero + .stat-wrap,
.stat-wrap { position: relative; z-index: 5; }

/* =========================================================================
   INTERIOR PAGE HERO (reviews + information pages)
   ========================================================================= */
.page-hero {
  position: relative;
  background: var(--brand-dark);
  color: #FFF;
  padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.2rem) clamp(2rem, 1.4rem + 2.4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-art, none);
  background-size: cover;
  background-position: center right;
  opacity: .5;
  z-index: -2;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--brand-dark) 4%, rgba(43,29,115,.9) 42%, rgba(43,29,115,.34) 100%);
  z-index: -1;
}
/* the slipped plate, reduced to a printed edge on interior pages */
.page-hero__plate {
  position: absolute;
  top: 0; bottom: 0;
  right: 7%;
  width: 34%;
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  opacity: .5;
  z-index: -1;
}
.page-hero__inner { position: relative; }

.crumbs { margin-bottom: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.crumbs li { margin: 0; color: var(--on-dark-dim); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; opacity: .55; }
.crumbs a { color: var(--on-dark-dim); text-decoration: none; }
.crumbs a:hover { color: #FFF; text-decoration: underline; }

.page-hero__title { color: #FFF; margin-bottom: 1.1rem; }
.rating-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  vertical-align: middle;
  margin-left: .6rem;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: .46em;
  line-height: 1;
  color: var(--on-accent);
  background: var(--accent);
  padding: .34em .5em;
  border-radius: var(--r-ctl);
}
.rating-badge small { font-size: .68em; font-weight: 700; opacity: .72; }
.page-hero__lede { color: var(--on-dark-dim); font-size: 1.07rem; margin-top: 1.1rem; margin-bottom: 0; }

.review-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
}
.review-byline__photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid var(--accent);
  background: var(--brand-deep);
}
.review-byline__text { display: flex; flex-direction: column; line-height: 1.25; }
.review-byline__name { font-family: var(--ff-display); font-weight: 700; color: #FFF; font-size: .98rem; }
.review-byline__role { font-size: .83rem; color: var(--on-dark-dim); }
.review-byline__verified {
  font-size: .78rem;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  padding: .26rem .6rem;
  border-radius: var(--r-pill);
}

/* ---- cream CTA strip on a review hero ---- */
.cta-strip {
  position: relative;
  margin-top: 1.9rem;
  background: linear-gradient(160deg, var(--plate-a), var(--plate-b));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta-strip__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.35rem;
}
.cta-strip__label {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #42590B;
  margin-bottom: .2rem;
}
.cta-strip__bonus {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1rem, .92rem + .42vw, 1.28rem);
  line-height: 1.26;
  color: #191427;
}
.cta-strip__visitors {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .62rem 1.35rem;
  background: #2B1D73;
  color: #CFC6EC;
  font-size: .83rem;
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .pulse-dot { animation: pulseDot 2.4s ease-in-out infinite; }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(195,235,30,.6); }
  60%      { box-shadow: 0 0 0 8px rgba(195,235,30,0); }
}

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding-block: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); }
.section--band { background: var(--bg-panel); }
.section--intro { padding-bottom: 0; }
.section--rated { padding-top: clamp(2.8rem, 2rem + 2.6vw, 4.5rem); }

.intro-block { font-size: 1.08rem; color: var(--text-muted); }
/* The child combinator matters: p:first-child alone matches any p that is
   first inside its own parent, which drops the cap on a byline. */
.intro-block > p:first-child::first-letter {
  float: left;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 3.3em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--brand);
}

.plain-card,
.stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(1.3rem, 1rem + 1.1vw, 2rem);
  position: relative;
  box-shadow: 10px 10px 0 var(--accent);
}
.plain-card::before,
.section--band .plain-card,
.section--band .stack { background: var(--bg-card); }
.dossier-lead { margin-bottom: 1.5rem; color: var(--text-muted); }

/* =========================================================================
   PODIUM  (#2 | #1 | #3)
   ========================================================================= */
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
  margin-bottom: 2.25rem;
}
.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .72rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.35rem 1.15rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
  box-shadow: 10px 10px 0 var(--accent), var(--shadow-sm);
}
.podium-card:hover { transform: translateY(-3px); box-shadow: 10px 10px 0 var(--accent), var(--shadow); }
.podium-card--top {
  margin-top: -1.6rem;
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: 12px 12px 0 var(--accent), var(--shadow-lg);
  padding-top: 2.6rem;
}
.podium-card__ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  margin: 0;
  background: var(--brand-fill);
  color: #FFF;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .42rem .6rem;
}
.podium-card__rank {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: .9rem;
  color: var(--accent-deep);
  letter-spacing: .04em;
}
.podium-card__name { margin: 0; font-size: 1.3rem; }
.podium-card__name a { color: var(--text); text-decoration: none; }
.podium-card__name a:hover { color: var(--brand); text-decoration: underline; }
.podium-card__score { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0; }
.podium-card__num { font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; color: var(--brand); }
.podium-card__bonus { margin: 0; font-size: .95rem; color: var(--text-muted); line-height: 1.45; }
.podium-card__stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border-soft);
}
.podium-card__stats div { min-width: 0; }
.podium-card__stats dt { font-size: .72rem; color: var(--text-dim); line-height: 1.3; }
.podium-card__stats dd { margin: .18rem 0 0; font-weight: 700; font-size: .88rem; color: var(--text); line-height: 1.3; }

.read-link {
  font-weight: 700;
  font-size: .88rem;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}
.read-link:hover { color: var(--brand); border-color: var(--brand); }

/* =========================================================================
   RUNNER ROWS (ranks 4-N)
   ========================================================================= */
.runners { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.runner {
  display: grid;
  grid-template-columns: 3rem 200px 1fr auto;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: .95rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  position: relative;
  box-shadow: 8px 8px 0 var(--accent);
}
.runner__rank {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--border-strong);
  text-align: center;
}
.runner .logo-plate { width: 200px; height: 58px; }
.runner__body { min-width: 0; }
.runner__name { margin: 0 0 .22rem; font-size: 1.12rem; }
.runner__name a { color: var(--text); text-decoration: none; }
.runner__name a:hover { color: var(--brand); text-decoration: underline; }
.runner__bonus { margin: 0 0 .35rem; font-size: .92rem; color: var(--text-muted); }
.runner__score { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .83rem; color: var(--text-dim); }
.runner__actions { display: flex; flex-direction: column; align-items: center; gap: .5rem; }

/* =========================================================================
   HOME BENTO - 6-col grid, exact cell count, no empty tracks
   ========================================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.bento-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.35rem;
  min-width: 0;
  box-shadow: 9px 9px 0 var(--accent);
}
.bento-tile h3 { margin-bottom: .55rem; }
.bento-tile p { color: var(--text-muted); font-size: .96rem; }
.bento-tile--feature { grid-column: span 3; }
.bento-tile--wide    { grid-column: span 3; }
.bento-tile--narrow  { grid-column: span 2; }
.bento-tile--narrow3 { grid-column: span 2; }
.bento-tile--full    { grid-column: span 6; }
.bento-tile--ink {
  background: var(--brand-dark);
  border-color: var(--brand-deep);
  color: #FFF;
}
.bento-tile--ink h3 { color: #FFF; }
.bento-tile--ink p  { color: var(--on-dark-dim); }
.bento-tile--ink strong { color: var(--accent); }
.bento-tile--art { padding: 0; overflow: hidden; display: flex; }
.bento-tile--art img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.bento-tile--lime {
  background: var(--accent-tile);
  border-color: #C9DE8E;
  color: var(--on-accent-tile);
}
.bento-tile--lime h3,
.bento-tile--lime p,
.bento-tile--lime strong { color: var(--on-accent-tile); }

/* =========================================================================
   FLOOR GRID (R3 columns) + monogram watermark
   ========================================================================= */
.floor-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.floor-grid[data-cols="1"] { --cols: 1; }
.floor-grid[data-cols="2"] { --cols: 2; }
.floor-grid[data-cols="3"] { --cols: 3; }
.floor-grid[data-cols="4"] { --cols: 4; }

.floor-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-card);
  padding: 1.3rem 1.25rem;
  overflow: hidden;
  min-width: 0;
  box-shadow: 9px 9px 0 var(--accent);
}
.floor-tile::after {
  content: attr(data-mono);
  position: absolute;
  right: .4rem;
  bottom: -.35rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 800;
  font-size: 5.2rem;
  line-height: 1;
  color: var(--brand);
  opacity: .07;
  pointer-events: none;
}
.floor-tile h3, .floor-tile h4 { margin-bottom: .55rem; position: relative; }
.floor-tile p { color: var(--text-muted); font-size: .96rem; position: relative; }
.floor-tile--mini { padding: 1.05rem 1.05rem; }
.floor-tile--mini::after { font-size: 4rem; }
.floor-tile--mini h4 { font-size: .98rem; }
.floor-tile--mini p { font-size: .92rem; margin: 0; }
.grid-caption {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .75rem;
}
.subcard {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-card);
  padding: 1.35rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 9px 9px 0 var(--accent);
}
.subcard::after {
  content: attr(data-mono);
  position: absolute;
  right: .5rem; bottom: -.5rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 800;
  font-size: 6rem;
  line-height: 1;
  color: var(--brand);
  opacity: .06;
  pointer-events: none;
}
.subcard > * { position: relative; }
.subcard h3 { margin-bottom: .7rem; }

/* =========================================================================
   FEATURE CHECK LIST
   R10 - li MUST stay display:block. Under display:grid a
   "<strong>Title:</strong> body" li splits into two grid items and the body
   text auto-places into a narrow column on row 2.
   ========================================================================= */
.feature-check-list {
  list-style: none;
  margin: 0 0 1.05rem;
  padding: 0;
  display: block;
}
.feature-check-list li {
  display: block;
  position: relative;
  padding-left: 2.3rem;
  margin-bottom: .72rem;
  color: var(--text-muted);
}
.feature-check-list li:last-child { margin-bottom: 0; }
.feature-check-list li strong { color: var(--text); }
.feature-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .15rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: var(--r-ctl);
  background: var(--accent);
  clip-path: polygon(14% 46%, 5% 56%, 38% 88%, 95% 26%, 85% 17%, 38% 68%);
}
.feature-check-list--plain li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-card);
  padding: .95rem 1.1rem .95rem 2.9rem;
  margin-bottom: .6rem;
}
.feature-check-list--plain li::before { left: .85rem; top: 1.08rem; }

.step-list { padding-left: 1.4rem; color: var(--text-muted); }
.step-list li::marker { font-family: var(--ff-display); font-weight: 800; color: var(--brand); }

/* =========================================================================
   SPLIT LAYOUT + IMAGE DIVIDER
   ========================================================================= */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, .9rem + 1.6vw, 2.5rem);
  align-items: center;
}
.split-layout--reverse .split-layout__media { order: 2; }
.split-layout__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--bg-panel);
}
.split-layout__media::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: var(--accent);
}
.split-layout__media img { width: 100%; height: 100%; object-fit: cover; }
.split-layout__body { min-width: 0; }
.split-layout__body > :first-child { margin-top: 0; }

.image-divider {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--bg-panel);
  margin-block: .5rem;
}
.image-divider img { width: 100%; height: 100%; object-fit: cover; }
.image-divider::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 42%;
  height: 10px;
  background: var(--accent);
}

/* =========================================================================
   DATA TABLE / SPEC GRID
   ========================================================================= */
.data-table {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-card);
  margin-bottom: 1.05rem;
  max-width: calc(100vw - 3rem);
}
.data-table table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.data-table th, .data-table td {
  padding: .72rem .95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}
.data-table thead th {
  background: var(--brand-dark);
  color: #FFF;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .04em;
  border-bottom: 0;
  position: sticky;
  top: 0;
}
.data-table tbody th { font-weight: 700; color: var(--text); width: 32%; }
.data-table td { color: var(--text-muted); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: var(--bg-elevated); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: 1.05rem;
}
.spec-grid[data-cols="1"] { --cols: 1; }
.spec-grid[data-cols="2"] { --cols: 2; }
.spec-grid[data-cols="3"] { --cols: 3; }
.spec-grid[data-cols="4"] { --cols: 4; }
.spec-grid__head {
  grid-column: 1 / -1;
  display: flex;
  gap: .6rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.spec-grid__head span + span::before { content: '/ '; opacity: .5; }
.spec {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-card);
  padding: .9rem 1rem;
  min-width: 0;
}
.spec__k { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-deep); font-weight: 700; }
.spec__v { font-weight: 600; color: var(--text); font-size: .95rem; line-height: 1.42; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { display: grid; gap: .6rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 0;
  position: relative;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.03rem; }
.faq-item__mark {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
}
.faq-item__mark::before,
.faq-item__mark::after {
  content: '';
  position: absolute;
  background: var(--brand);
}
.faq-item__mark::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq-item__mark::after  { top: 0; bottom: 0; left: 8px; width: 2px; transition: transform .22s var(--ease); }
.faq-item[open] .faq-item__mark::after { transform: scaleY(0); }
.faq-item__body { padding: 0 1.2rem 1.15rem; color: var(--text-muted); }

/* =========================================================================
   EDITOR'S VERDICT
   ========================================================================= */
.verdict-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.25rem, .9rem + 1.6vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(1.3rem, 1rem + 1.1vw, 2rem);
  position: relative;
  box-shadow: 11px 11px 0 var(--accent);
}
.rating-list { display: grid; gap: .1rem; align-content: start; }
.rating-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 2.6rem;
  align-items: center;
  gap: .9rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.rating-row:last-child { border-bottom: 0; }
.rating-row__label { font-size: .95rem; color: var(--text-muted); min-width: 0; }
.rating-row__num { font-family: var(--ff-display); font-weight: 800; color: var(--brand); text-align: right; }
.rating-row--overall {
  border-bottom: 3px solid var(--brand);
  padding-bottom: .85rem;
  margin-bottom: .35rem;
}
.rating-row--overall .rating-row__label { font-family: var(--ff-display); font-weight: 800; color: var(--text); font-size: 1.1rem; }
.rating-row--overall .rating-row__num { font-size: 1.5rem; }

.verdict-note {
  position: relative;
  background: var(--brand-dark);
  color: #FFF;
  border-radius: var(--r-card);
  padding: 1.5rem 1.4rem;
  align-self: start;
}
.verdict-note::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--accent);
}
.verdict-note blockquote p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #FFF;
  margin: 0 0 1rem;
}
.verdict-note figcaption { display: flex; flex-direction: column; gap: 1px; }
.verdict-note__name { font-weight: 700; color: var(--accent); font-size: .95rem; }
.verdict-note__role { font-size: .82rem; color: var(--on-dark-dim); }

/* =========================================================================
   ART-DECO SECURITY CARD
   ========================================================================= */
.secure-card {
  position: relative;
  background: var(--brand-dark);
  color: #FFF;
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem);
  overflow: hidden;
}
.secure-card h3, .secure-card h2 { color: #FFF; }
.secure-card p { color: var(--on-dark-dim); }
.secure-card__corner {
  position: absolute;
  width: 34px; height: 34px;
  border: 3px solid var(--accent);
  transition: width .32s var(--ease), height .32s var(--ease);
  pointer-events: none;
}
.secure-card__corner:nth-child(1) { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.secure-card__corner:nth-child(2) { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.secure-card__corner:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.secure-card__corner:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.secure-card:hover .secure-card__corner { width: 56px; height: 56px; }
.secure-card__sweep {
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(195,235,30,.14) 50%, transparent 58%);
  transform: translateX(-30%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.secure-card:hover .secure-card__sweep { transform: translateX(30%); }
@media (prefers-reduced-motion: reduce) {
  .secure-card__corner, .secure-card__sweep { transition: none; }
}
.secure-card__body { position: relative; z-index: 1; }

/* =========================================================================
   HOMEPAGE-ONLY BLOCKS
   ========================================================================= */
/* The vetting ledger: the six published test criteria as ruled rows. */
.ledger { display: grid; gap: 0; border-top: 3px solid var(--brand); }
.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ledger__key {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--text);
  position: relative;
  padding-left: 1.1rem;
}
.ledger__key::before {
  content: '';
  position: absolute;
  left: 0; top: .45em;
  width: 8px; height: 8px;
  background: var(--accent);
}
.ledger__val { color: var(--text-muted); font-size: .98rem; }
.ledger__val p { margin: 0; }

/* The form guide: pros and cons for each operator, side by side. */
.form-guide { display: grid; gap: 1rem; }
.form-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.3rem;
  box-shadow: 9px 9px 0 var(--accent);
}
.form-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.form-card__title { margin: 0; font-size: 1.22rem; }
.form-card__title a { color: var(--text); text-decoration: none; }
.form-card__title a:hover { color: var(--brand); text-decoration: underline; }
.form-card__meta { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.form-card__meta b { font-family: var(--ff-display); font-size: 1.05rem; color: var(--brand); }
.form-card__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.form-card__col h4 {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  color: var(--accent-deep);
}
.form-card__col--con h4 { color: var(--text-dim); }
.form-card__col ul { list-style: none; margin: 0; padding: 0; }
.form-card__col li {
  display: block;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .55rem;
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-card__col li::before {
  content: '';
  position: absolute;
  left: 0; top: .48em;
  width: 10px; height: 2px;
  background: var(--accent);
}
.form-card__col--con li::before { background: var(--border-strong); }
.form-card__foot { margin-top: 1.1rem; display: flex; gap: .85rem; align-items: center; flex-wrap: wrap; }

/* The offer rail: one verbatim bonus line per operator. */
.offer-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-card);
  padding: 1.2rem;
  min-width: 0;
  box-shadow: 9px 9px 0 var(--accent);
}
.offer__name { margin: 0; font-size: 1.05rem; }
.offer__name a { color: var(--text); text-decoration: none; }
.offer__name a:hover { color: var(--brand); text-decoration: underline; }
.offer__line { margin: 0; font-size: .95rem; color: var(--text-muted); flex: 1; }
.offer__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }

/* Help panel for the responsible-gambling lines. */
.help-ledger { display: grid; gap: .55rem; }
.help-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-card);
  padding: .9rem 1.1rem;
  color: var(--text-muted);
  font-size: .95rem;
}

/* =========================================================================
   ON THIS PAGE RAIL
   ========================================================================= */
.toc {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  padding-block: .85rem;
}
.toc__inner { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.toc__label {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-deep);
  flex: none;
}
.toc__list { display: flex; flex-wrap: wrap; gap: .4rem .5rem; list-style: none; margin: 0; padding: 0; }
.toc__list li { margin: 0; }
.toc__list a {
  display: inline-block;
  font-size: .84rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: .22rem .6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-card);
}
.toc__list a:hover { color: var(--text); border-color: var(--brand); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--brand-deep);
  color: var(--on-dark-dim);
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-bottom: 1.5rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.25fr);
  gap: 2rem;
  padding-block: clamp(2rem, 1.6rem + 1.6vw, 3rem);
}
.footer-pedestal .brand { margin-bottom: 1rem; }
.footer-pedestal__line { font-size: .94rem; line-height: 1.6; }
.footer-pedestal__by { font-size: .86rem; color: #9A8FBE; margin: 0; }
.footer-pedestal__by strong { color: #FFF; }
.footer-col__title {
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--on-dark-dim); text-decoration: none; font-size: .93rem; }
.footer-col a:hover { color: #FFF; text-decoration: underline; }
.footer-vip {
  position: relative;
  background: var(--brand-dark);
  border-radius: var(--r-card);
  padding: 1.3rem;
  box-shadow: 9px 9px 0 var(--accent);
}
.footer-vip__title { color: #FFF; font-size: 1.08rem; margin-bottom: .6rem; }
.footer-vip__copy { font-size: .9rem; margin-bottom: 1rem; }

.footer-accred {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.accred-list { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.accred { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .84rem; }
.accred__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  flex: none;
  border: 2px solid var(--accent);
  border-radius: var(--r-ctl);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: .72rem;
  color: var(--accent);
}
.accred-logos { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.accred-logos li { margin: 0; }

.footer-base { padding-top: 1.35rem; text-align: center; }
.footer-base__legal { font-size: .83rem; color: #9A8FBE; margin-bottom: .6rem; }
.footer-base__copy { font-size: .83rem; color: #9A8FBE; margin: 0; }

/* =========================================================================
   404
   ========================================================================= */
.page-hero--404 { text-align: left; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.lost-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}
.lost-links li { margin: 0; }
.lost-links a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  padding: .4rem .9rem .4rem .4rem;
  color: #FFF;
  text-decoration: none;
  font-size: .88rem;
}
.lost-links a:hover { background: rgba(255,255,255,.16); color: #FFF; }

/* =========================================================================
   BREAKPOINTS  1100 / 900 / 700 / 560 / 480
   ========================================================================= */
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .footer-vip { grid-column: span 3; }
  .runner { grid-template-columns: 2.5rem 170px 1fr auto; }
  .runner .logo-plate { width: 170px; height: 54px; }
  .reg-target { width: 104px; height: 104px; left: -40px; }
}

@media (max-width: 900px) {
  /* header collapses to a full-viewport overlay nav */
  .nav-toggle { display: block; }
  .nav-indicator { display: none; }
  .primary-nav {
    position: fixed;
    inset: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--brand-deep);
    padding: 5.5rem 1.5rem 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
    z-index: 55;
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-item > a { padding: 1rem .25rem; font-size: 1.05rem; justify-content: space-between; }
  .nav-item--has-submenu::after { display: none; }
  .nav-submenu {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 .9rem;
  }
  .nav-submenu::before { display: none; }
  .nav-submenu__point { display: none; }
  .nav-item--has-submenu.is-open > .nav-submenu { display: block; }
  .nav-item--has-submenu:hover > .nav-submenu { display: none; }
  .nav-item--has-submenu.is-open:hover > .nav-submenu { display: block; }
  .nav-submenu__grid { grid-template-columns: 1fr; }
  .nav-submenu__item { background: rgba(255,255,255,.06); }
  .nav-submenu__item:hover { background: rgba(255,255,255,.12); }
  .nav-submenu__name, .nav-submenu__meta { color: #FFF; }
  .nav-submenu__meta { color: var(--on-dark-dim); }
  .masthead__cta { margin-top: 1.5rem; align-self: flex-start; }
  body.nav-open { overflow: hidden; }

  .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero__plates { aspect-ratio: 16 / 10; }
  .home-hero__ghost { transform: translate(-12px, -12px); }
  .reg-target { display: none; }

  .verdict-card { grid-template-columns: minmax(0, 1fr); }
  .split-layout { grid-template-columns: minmax(0, 1fr); }
  .split-layout--reverse .split-layout__media { order: 0; }
  .split-layout__media { aspect-ratio: 16 / 10; }

  /* R3 - 3 and 4 column grids collapse to 2 at 900 */
  .floor-grid[data-cols="3"], .floor-grid[data-cols="4"] { --cols: 2; }
  .spec-grid[data-cols="3"], .spec-grid[data-cols="4"] { --cols: 2; }
  .offer-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .bento-tile--feature, .bento-tile--wide { grid-column: span 6; }
  .bento-tile--narrow, .bento-tile--narrow3 { grid-column: span 3; }

  .podium { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .podium-card--top { margin-top: 0; order: -1; }

  .runner { grid-template-columns: 2.5rem 150px 1fr; grid-template-areas: 'rank logo body' '. actions actions'; row-gap: .8rem; }
  .runner__rank { grid-area: rank; }
  .runner .logo-plate { grid-area: logo; width: 150px; height: 48px; }
  .runner__body { grid-area: body; }
  .runner__actions { grid-area: actions; flex-direction: row; justify-content: flex-start; }

  .ledger__row { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-pedestal { grid-column: span 2; }
  .footer-vip { grid-column: span 2; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .cta-strip__main { grid-template-columns: minmax(0, 1fr); text-align: left; justify-items: start; }
  .cta-strip__main .btn { width: 100%; }
  .form-card__cols { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .verdict-card { padding: 1.2rem; }
  .data-table { max-width: calc(100vw - 3rem); }
}

@media (max-width: 560px) {
  :root { --gutter: 1rem; }
  .floor-grid, .spec-grid, .offer-rail { --cols: 1 !important; grid-template-columns: minmax(0, 1fr) !important; }
  .bento-tile--narrow, .bento-tile--narrow3, .bento-tile--feature, .bento-tile--wide, .bento-tile--full { grid-column: span 6; }
  .runner { grid-template-columns: 2.2rem 1fr; grid-template-areas: 'rank logo' 'body body' 'actions actions'; }
  .runner .logo-plate { width: 136px; height: 44px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer-pedestal, .footer-vip { grid-column: span 1; }
  .rating-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: .2rem; }
  .rating-row__num { grid-row: 1; }
  .feature-check-list--plain li { padding-left: 2.7rem; }
  .data-table { max-width: calc(100vw - 2rem); }
}

@media (max-width: 480px) {
  .home-hero__ctas .btn, .hero__ctas .btn { width: 100%; }
  .stat-strip { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0 !important; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--border-soft); }
  .accred-list { gap: .8rem; }
  .podium-card { padding-inline: 1rem; }
  .logo-plate--lg { width: 150px; height: 60px; }
}

/* A long slab H1 can overflow a narrow phone. */
@media (max-width: 420px) {
  h1, .page-hero__title, .home-hero__title { word-break: break-word; hyphens: auto; }
}

/* The form card's verbatim rundown, behind a disclosure. */
.form-card__more {
  margin-top: 1.1rem;
  border-top: 1px solid var(--border-soft);
}
.form-card__more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0 .2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--accent-deep);
}
.form-card__more summary::-webkit-details-marker { display: none; }
.form-card__more-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  padding: .9rem 0 .3rem;
}
.form-card__group h4 {
  font-size: .92rem;
  margin-bottom: .4rem;
  color: var(--brand);
}
.form-card__group p { font-size: .93rem; color: var(--text-muted); margin: 0; }
@media (max-width: 700px) {
  .form-card__more-body { grid-template-columns: minmax(0, 1fr); }
}

/* The source H1 carries a pipe. It stays in the text and is set as a rule. */
.h1-bar {
  color: var(--accent);
  font-weight: 300;
  padding-inline: .1em;
}

/* Byline under the homepage prose field. It sits on paper, so it must not
   borrow the footer's dark-band colours. */
.intro-byline {
  margin-top: 1.4rem;
  font-size: .86rem;
  color: var(--text-dim);
}
.intro-byline strong { color: var(--text); }

/* A source section about safety or licensing renders inside the art-deco card,
   which is a dark band in BOTH colour schemes. Everything editorial inside it
   therefore needs the on-dark colours, not the page's text tokens. */
.secure-card h3,
.secure-card h4,
.secure-card li strong,
.secure-card td,
.secure-card th,
.secure-card .spec__v { color: #FFF; }
.secure-card li,
.secure-card .feature-check-list li,
.secure-card .step-list { color: var(--on-dark-dim); }
.secure-card .feature-check-list--plain li {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  border-left-color: var(--accent);
}
.secure-card .spec {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  border-top-color: var(--accent);
}
.secure-card .spec__k { color: var(--accent); }
.secure-card a { color: var(--accent); }
.secure-card .data-table { background: rgba(255, 255, 255, .06); border-color: rgba(255,255,255,.18); }
.secure-card .data-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .05); }
.secure-card .data-table th,
.secure-card .data-table td { border-bottom-color: rgba(255, 255, 255, .14); }

/* Any nested surface inside the art-deco band becomes a translucent white
   plate, so a card never keeps its own paper background on the dark band. */
.secure-card .floor-tile,
.secure-card .subcard,
.secure-card .plain-card,
.secure-card .stack,
.secure-card .help-row,
.secure-card .faq-item {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  color: var(--on-dark-dim);
}
.secure-card .floor-tile,
.secure-card .subcard { border-top-color: var(--accent); }
.secure-card .help-row { border-left-color: var(--accent); }
.secure-card .floor-tile p,
.secure-card .subcard p,
.secure-card .plain-card p,
.secure-card .stack p,
.secure-card .faq-item__body { color: var(--on-dark-dim); }
.secure-card .floor-tile h3,
.secure-card .floor-tile h4,
.secure-card .subcard h3,
.secure-card .faq-item summary h3 { color: #FFF; }
.secure-card .floor-tile::after,
.secure-card .subcard::after { color: #FFF; opacity: .11; }
.secure-card .grid-caption { color: var(--accent); }
.secure-card .faq-item__mark::before,
.secure-card .faq-item__mark::after { background: var(--accent); }
