/* =========================================================================
   BSB007 Australia - bsb007app.com
   Personality: neon-noir dossier. One orchid-magenta dominant against the
   champagne gold sampled from the brand mark, on a blackcurrant ink ground.
   Signature ornament: the perforated ticket edge (a payout stub), used as the
   kicker marker, the divider anchor and the footer column rule.

   Width law (D1): .container is the ONLY max-width on the page. No card, list,
   FAQ item, divider or section head ever narrows itself.
   ========================================================================= */

:root {
  /* brand */
  --brand:        #C81FB0;
  --brand-dark:   #8E1280;
  --brand-light:  #F05FDA;

  /* accent, sampled from the BSB007 wordmark */
  --accent:       #FFDB92;
  --accent-warm:  #E0B463;
  --accent-soft:  rgba(255, 219, 146, .13);

  /* ground */
  --bg:           #0B060E;
  --bg-card:      #150C1A;
  --bg-elevated:  #1D1024;
  --bg-panel:     #251532;

  /* type */
  --text:         #F7F1F9;
  --text-muted:   #C6B3CE;
  --text-dim:     #90809A;
  --text-on-dark: #F7F1F9;

  /* lines */
  --border:        rgba(255, 219, 146, .11);
  --border-strong: rgba(255, 219, 146, .26);
  --border-soft:   rgba(255, 219, 146, .06);

  --font-body:    'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Epilogue', 'Plus Jakarta Sans', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --card-radius: 18px;

  --shadow-soft:       0 8px 26px rgba(0, 0, 0, .40);
  --shadow-card:       0 14px 40px rgba(0, 0, 0, .48), 0 2px 0 rgba(255, 219, 146, .05);
  --shadow-card-hover: 0 24px 64px rgba(0, 0, 0, .58), 0 0 0 1px rgba(200, 31, 176, .32);
  --shadow-cta:        0 10px 28px rgba(200, 31, 176, .40);

  --container: 1200px;
  --container-wide: 1320px;

  --header-top-h: 2.25rem;
  --header-main-h: 4.5rem;
  --header-h: calc(var(--header-top-h) + var(--header-main-h));

  /* the signature ornament: a row of punched notches */
  --stub-edge: radial-gradient(circle at 5px 50%, transparent 0 4px, var(--accent) 4px 5px, transparent 5px) repeat-x left center / 14px 10px;
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

/* atmospheric off-canvas glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 42rem at 88% -8%, rgba(200, 31, 176, .22), transparent 62%),
    radial-gradient(48rem 38rem at -10% 34%, rgba(255, 219, 146, .07), transparent 60%),
    radial-gradient(52rem 40rem at 50% 118%, rgba(142, 18, 128, .20), transparent 64%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-light); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.14;
  margin: 0 0 .7rem;
  color: var(--text);
}
h1 { font-size: clamp(2.35rem, 5.1vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }

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

::selection { background: var(--brand); color: #fff; }

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

/* Parked with a transform, never a negative offset: a -9999px skip link
   creates thousands of px of horizontal overflow. */
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--accent);
  color: #14060F;
  font-weight: 700;
  border-radius: var(--r-pill);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); color: #14060F; }

/* ------------------------------------------------------ the only max-width */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------------------------------------------- ornament */

.kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .85rem;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  flex: 0 0 42px;
  height: 10px;
  background: var(--stub-edge);
  opacity: .85;
}

/* standalone ornament used inside divider asides and footer columns */
.stub-rule {
  display: block;
  width: 78px;
  height: 10px;
  background: var(--stub-edge);
  opacity: .8;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s ease, background .18s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand) 52%, var(--brand-dark));
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(200, 31, 176, .52); color: #fff; }
.btn--primary:active { transform: translateY(0) scale(.985); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: #1A0713;
  box-shadow: 0 10px 28px rgba(255, 219, 146, .26);
}
.btn--accent:hover { transform: translateY(-2px); color: #1A0713; }
.btn--accent:active { transform: translateY(0) scale(.985); }

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .09); color: var(--text); transform: translateY(-2px); }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 6, 14, .92);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 6, 14, .98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

.header-utility {
  min-height: var(--header-top-h);
  background: #060309;
  border-bottom: 1px solid var(--border-soft);
  font-size: .78rem;
}
.header-utility__inner {
  min-height: var(--header-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.trust-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  color: var(--text-muted);
  letter-spacing: .05em;
}
.trust-line .sep { color: var(--brand-light); }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 219, 146, .55);
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: dotPulse 2.4s ease-out infinite; }
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 219, 146, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 219, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 219, 146, 0); }
}
.utility-nav { display: flex; gap: 1.25rem; }
.utility-nav a { color: var(--text-dim); font-weight: 500; }
.utility-nav a:hover, .utility-nav a[aria-current="page"] { color: var(--accent); }

.header-main__inner {
  min-height: var(--header-main-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}
.nav-link {
  position: relative;
  padding: .35rem 0;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-indicator {
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--accent));
  opacity: 0;
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), width .32s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
  pointer-events: none;
}
.nav-overlay-foot { display: none; }

.header-cta { flex: 0 0 auto; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================== HERO
   Archetype: offset overlap. The art panel bleeds off the LEFT viewport edge
   and stops two thirds across; the copy card sits on top of its right edge.
   Foreground object: a fanned stack of perforated payout stubs at the seam.
   ================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3.25rem, 6vw, 5.5rem) 0 clamp(5rem, 8vw, 7.5rem);
  overflow: hidden;
}
.hero__art {
  position: absolute;
  top: clamp(2rem, 4vw, 3.5rem);
  bottom: clamp(3.5rem, 6vw, 5.5rem);
  left: calc(50% - 50vw);
  width: min(68vw, 940px);
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  overflow: hidden;
  z-index: -1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 6, 14, .86) 4%, rgba(11, 6, 14, .34) 46%, rgba(11, 6, 14, .82) 100%),
    radial-gradient(70% 90% at 18% 22%, rgba(11, 6, 14, .74), transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 0;
}
.hero__spacer { min-height: clamp(18rem, 30vw, 26rem); }

.hero__card {
  position: relative;
  margin-left: clamp(-7rem, -5vw, -2rem);
  padding: clamp(2rem, 3.4vw, 3.1rem);
  background: linear-gradient(150deg, rgba(37, 21, 50, .96), rgba(21, 12, 26, .97));
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.hero h1 { margin-bottom: 1rem; }
/* D3.3: exactly one italic accent word, with descender clearance */
.hero h1 .highlight {
  position: relative;
  font-style: italic;
  line-height: 1.1;
  padding-bottom: .12em;
  color: var(--accent);
  white-space: nowrap;
}
.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: -.04em;
  right: -.04em;
  bottom: .04em;
  height: .30em;
  background: linear-gradient(90deg, rgba(200, 31, 176, .48), rgba(255, 219, 146, .22));
  border-radius: 3px;
  z-index: -1;
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 1.7rem;
}
.hero__actions { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: .9rem; }

/* --- foreground object: fanned payout-stub stack (decorative) ------------ */

.stub-stack {
  position: absolute;
  left: clamp(-7.5rem, -6vw, -3rem);
  bottom: -3.4rem;
  width: 186px;
  height: 122px;
  pointer-events: none;
}
.stub-stack i {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  /* the punched edge that gives the stub its name */
  -webkit-mask:
    radial-gradient(circle at 7px 50%, transparent 0 6px, #000 6px) repeat-y left / 14px 18px,
    linear-gradient(#000, #000) no-repeat 7px 0 / calc(100% - 7px) 100%;
          mask:
    radial-gradient(circle at 7px 50%, transparent 0 6px, #000 6px) repeat-y left / 14px 18px,
    linear-gradient(#000, #000) no-repeat 7px 0 / calc(100% - 7px) 100%;
}
.stub-stack i:nth-child(1) { transform: rotate(-15deg) translate(-30px, 20px); opacity: .48; }
.stub-stack i:nth-child(2) { transform: rotate(-7deg)  translate(-15px, 10px); opacity: .74; }
.stub-stack i:nth-child(3) {
  transform: rotate(2deg);
  background: linear-gradient(135deg, var(--brand-dark), var(--bg-panel) 68%);
  border-color: rgba(255, 219, 146, .40);
}
.stub-stack i:nth-child(3)::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 18px;
  top: 30px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: 0 18px 0 -1px rgba(255, 219, 146, .45), 0 34px 0 -1px rgba(255, 219, 146, .22);
}
@media (prefers-reduced-motion: no-preference) {
  .stub-stack i:nth-child(3) { animation: stubFloat 7s ease-in-out infinite; }
}
@keyframes stubFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%      { transform: rotate(2deg) translateY(-7px); }
}

/* ----------------------------------------------- hero-bridge stat strip */

.stat-strip {
  position: relative;          /* normal flow: absolute clips the card */
  z-index: 2;
  margin-top: -3.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.stat-tile {
  padding: 1.5rem 1.4rem;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
}
.stat-tile b {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1.1;
}
.stat-tile span {
  display: block;
  margin-top: .3rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --------------------------------------------------------- inner page hero */

.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 5.5vw, 4.75rem) 0 clamp(2.75rem, 4vw, 3.75rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: .34;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 6, 14, .78), rgba(11, 6, 14, .94));
}
.page-hero h1 { max-width: none; }
.page-hero__sub {
  margin-top: .9rem;
  color: var(--text-muted);
  font-size: 1.06rem;
}
.page-meta {
  margin-top: 1.1rem;
  font-size: .85rem;
  color: var(--text-dim);
  letter-spacing: .02em;
}
.page-meta-author { color: var(--accent-warm); font-weight: 600; }

/* ------------------------------------------------------------- sections */

.page-section { padding: clamp(2.75rem, 5vw, 4.25rem) 0 0; }
.page-section:last-child { padding-bottom: clamp(2.75rem, 5vw, 4.25rem); }

.section-head { margin-bottom: 1.9rem; }
.section-head h2 { margin: 0; }
.section-head p:not(.kicker) { margin-top: .8rem; color: var(--text-muted); }

.intro-block {
  margin-top: 2.25rem;
  padding: 1.75rem 1.9rem;
  background: linear-gradient(150deg, rgba(37, 21, 50, .62), rgba(21, 12, 26, .72));
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--card-radius);
  color: var(--text-muted);
}

/* ---------------------------------------------------------------- cards */

.plain-card,
.floor-tile,
.feature-check-list--plain,
.split-layout,
.support-card {
  position: relative;
  background: linear-gradient(158deg, var(--bg-elevated), var(--bg-card) 62%);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.plain-card,
.feature-check-list--plain { padding: clamp(1.6rem, 2.6vw, 2.3rem); }

.plain-card::before,
.floor-tile::before,
.feature-check-list--plain::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: .85;
}

.tile-mark {
  position: absolute;
  right: .55rem;
  bottom: -.35rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: 5.4rem;
  line-height: 1;
  color: rgba(255, 219, 146, .05);
  transition: color .3s ease;
  pointer-events: none;
  user-select: none;
}
.floor-tile:hover .tile-mark { color: rgba(200, 31, 176, .18); }

/* --------------------------------------------------------- floor grids */

.floor-grid { display: grid; gap: 1.25rem; }
.floor-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.floor-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.floor-tile {
  padding: 1.7rem 1.6rem 1.9rem;
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease;
}
.floor-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.floor-tile h3 { margin-bottom: .7rem; }
.floor-tile p { color: var(--text-muted); font-size: .99rem; }

/* R4b rich tiles: one column, generous padding, no inner max-width */
.floor-grid--rich { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.floor-grid--rich .floor-tile { padding: 2.4rem; }
.floor-grid--rich .floor-tile h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.tile-kicker {
  margin: 1.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--brand);
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.tile-subcards {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.tile-subcards li {
  position: relative;
  padding: 1rem 1.15rem 1rem 1.45rem;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.62;
  overflow: hidden;
}
.tile-subcards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-light), var(--accent));
}
ol.tile-subcards { list-style: decimal; padding-left: 1.35rem; }
ol.tile-subcards li { padding-left: 1.15rem; }
ol.tile-subcards li::marker { color: var(--accent); font-weight: 700; }

/* ------------------------------------------------------- feature list */

.feature-check-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 1.35rem 1.5rem;
  display: grid;
  gap: .85rem;
  background: linear-gradient(135deg, rgba(255, 219, 146, .085), rgba(255, 219, 146, .02));
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-md);
}
.feature-check-list li {
  position: relative;
  padding-left: 2.35rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.feature-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
}
.feature-check-list li::after {
  content: "";
  position: absolute;
  left: .46rem;
  top: .68em;
  width: .42rem;
  height: .78rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
ol.feature-check-list li { padding-left: 2.35rem; }

.feature-check-list--plain .feature-check-list { margin-top: 1.2rem; }

/* --------------------------------------------------------- split layout */

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 0;
  align-items: stretch;
}
.split-layout__body { padding: clamp(1.6rem, 2.6vw, 2.3rem); }
.split-layout__body p { color: var(--text-muted); }
.split-layout__art { margin: 0; position: relative; }
.split-layout__art img { width: 100%; height: 100%; object-fit: cover; }
.split-layout__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, transparent 45%, rgba(21, 12, 26, .85));
}

/* --------------------------------------------- image divider (R5b, R13) */

.image-divider {
  margin: clamp(2.5rem, 4.5vw, 3.75rem) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.image-divider__art {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  max-width: 100%;
}
.image-divider__art img { width: 100%; height: 100%; object-fit: cover; }
.image-divider__aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
  background: linear-gradient(150deg, rgba(37, 21, 50, .7), rgba(21, 12, 26, .85));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.image-divider__aside .kicker::before { display: none; }
.image-divider__aside .kicker { gap: 0; }
.image-divider__line {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.22;
}

/* ----------------------------------------------------------------- table */

.table-wrap { margin-top: 1.4rem; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.data-table th, .data-table td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}
.data-table th {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------- FAQ */

.faq-list { display: grid; gap: .9rem; }
.faq-item {
  background: linear-gradient(158deg, var(--bg-elevated), var(--bg-card) 62%);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(var(--accent), var(--accent)) no-repeat center / 11px 2px,
    linear-gradient(var(--accent), var(--accent)) no-repeat center / 2px 11px;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-size .3s ease;
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: 2rem;
  background: linear-gradient(180deg, transparent, rgba(6, 3, 9, .9) 22%);
  border-top: 1px solid var(--border-soft);
}

.footer-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
  margin-top: -3rem;
  padding: clamp(1.9rem, 3.2vw, 2.9rem);
  background: linear-gradient(125deg, var(--accent), var(--accent-warm) 75%);
  border-radius: var(--r-xl);
  box-shadow: 0 26px 66px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.footer-cta__mark {
  position: absolute;
  right: -1.5rem;
  bottom: -2.2rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 1;
  color: rgba(26, 7, 19, .09);
  pointer-events: none;
  user-select: none;
}
.footer-cta__body { position: relative; }
.footer-cta .kicker { color: rgba(26, 7, 19, .72); }
.footer-cta .kicker::before {
  background: radial-gradient(circle at 5px 50%, transparent 0 4px, rgba(26, 7, 19, .72) 4px 5px, transparent 5px) repeat-x left center / 14px 10px;
}
.footer-cta h2 {
  margin: 0;
  color: #1A0713;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}
.footer-cta__btn {
  position: relative;
  background: #1A0713;
  color: var(--accent);
  box-shadow: 0 12px 28px rgba(26, 7, 19, .34);
}
.footer-cta__btn:hover { background: #2A0C1E; color: var(--accent); }

.footer-map {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: clamp(2.5rem, 4.5vw, 3.75rem);
}
.footer-logo { display: inline-flex; }
.footer-logo img { height: 46px; width: auto; object-fit: contain; border-radius: 6px; }
.footer-tagline { margin: 1.1rem 0 1.25rem; color: var(--text-dim); font-size: .95rem; }

.payment-pills, .trust-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
}
.payment-pills li, .trust-pills li {
  padding: .38rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .025);
}
.trust-pills { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--border-soft); }
.trust-pills li { color: var(--accent-warm); border-color: var(--border-strong); }

.footer-col h3 {
  position: relative;
  margin: 0 0 1.1rem;
  padding-bottom: .7rem;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 10px;
  background: var(--stub-edge);
  opacity: .75;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: var(--text-dim); font-size: .95rem; }
.footer-col a:hover { color: var(--accent); }

.footer-base {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: .6rem;
  font-size: .84rem;
  color: var(--text-dim);
}
.footer-base p { margin: 0; }
.footer-disclaimer { color: #7A6B84; line-height: 1.6; }

/* -------------------------------------------------------- home sections */

.home-intro {
  padding-top: clamp(3rem, 5vw, 4.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.home-intro__lead p { color: var(--text-muted); font-size: 1.06rem; }
.home-intro__panel {
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  background: linear-gradient(150deg, rgba(37, 21, 50, .74), rgba(21, 12, 26, .86));
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
}
.home-intro__panel p { color: var(--text-muted); margin-bottom: 0; }

/* bento game floor: one wide lead tile + supporting tiles */
.bento-floor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.bento-floor > :first-child { grid-column: span 3; }
.bento-floor .floor-tile { min-height: 100%; }
.bento-floor > :first-child.floor-tile {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.8rem, 2.8vw, 2.4rem);
}
.bento-floor__art {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  border: 1px solid var(--border);
}
.bento-floor__art img { width: 100%; height: 100%; object-fit: cover; }

/* live floor: split with image */
.home-live .split-layout { align-items: stretch; }

/* security grid: four art-deco cells */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.security-cell {
  padding: 1.9rem 1.5rem;
  background: linear-gradient(165deg, var(--bg-elevated), var(--bg-card));
  transition: background .3s ease;
}
.security-cell:hover { background: linear-gradient(165deg, var(--bg-panel), var(--bg-elevated)); }
.security-cell .stub-rule { margin-bottom: 1.1rem; }
.security-cell h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.security-cell p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* rewards bento: welcome card top-left, VIP strip spanning the bottom */
.rewards-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.rewards-bento__welcome { grid-column: span 2; }
.rewards-bento__vip { grid-column: 1 / -1; }
.rewards-bento__vip.floor-tile {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 1.75rem;
  align-items: center;
  background: linear-gradient(120deg, rgba(200, 31, 176, .22), var(--bg-card) 58%);
}
.rewards-bento__welcome.floor-tile { background: linear-gradient(150deg, rgba(255, 219, 146, .1), var(--bg-card) 60%); }

/* support card with an oversized italic watermark */
.support-card {
  position: relative;
  padding: clamp(2rem, 3.4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.support-card::after {
  content: "BSB007";
  position: absolute;
  right: -.5rem;
  bottom: -2.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4.5rem, 11vw, 9rem);
  line-height: 1;
  color: rgba(255, 219, 146, .045);
  pointer-events: none;
  user-select: none;
}
.support-card > * { position: relative; }
.support-card p { color: var(--text-muted); }
.support-card .btn { margin-top: .4rem; }

/* --------------------------------------------------------------- 404 */

.error-page {
  padding: clamp(4rem, 9vw, 8rem) 0;
  text-align: center;
}
.error-code {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(8vw, 16vw, 22vw);
  line-height: .9;
  letter-spacing: -.05em;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, var(--brand-light), var(--accent) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page p { color: var(--text-muted); }
.error-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }

/* --------------------------------------------------------------- reveal */

/* Content is visible in CSS; JS hides only what starts below the fold, so a
   slow or failed observer can never blank the page. */
.reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal.is-hidden { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal.is-hidden { opacity: 1; transform: none; }
}

/* ==================================================== responsive ladder */

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
  .hero__card { margin-left: clamp(-4rem, -3vw, -1rem); }
  .hero__art { width: min(74vw, 800px); }
  .primary-nav { gap: 1.35rem; }
  .footer-map { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .floor-grid--cols-3,
  .floor-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .burger { display: flex; }
  .header-cta { display: none; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    padding: 5rem 1.5rem 3rem;
    background: rgba(9, 5, 12, .97);
    backdrop-filter: blur(14px);
    transform: translateX(100%);
    transition: transform .34s cubic-bezier(.16, 1, .3, 1);
    margin-left: 0;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-link { font-size: 1.45rem; font-weight: 700; color: var(--text); }
  .nav-indicator { display: none; }
  .nav-overlay-foot { display: grid; gap: .9rem; justify-items: center; margin-top: 1.5rem; }
  .nav-overlay-note { margin: 0; font-size: .82rem; color: var(--text-dim); }
  body.nav-open { overflow: hidden; }

  .hero { padding-top: 2.5rem; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__spacer { min-height: clamp(13rem, 44vw, 20rem); }
  .hero__art {
    top: 0;
    bottom: auto;
    left: calc(50% - 50vw);
    width: 100vw;
    height: clamp(17rem, 52vw, 25rem);
    border-radius: 0 0 var(--r-xl) var(--r-xl);
  }
  .hero__card { margin-left: 0; margin-top: -3rem; }
  .stub-stack { display: none; }

  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .split-layout,
  .image-divider,
  .home-intro,
  .support-card,
  .bento-floor > :first-child.floor-tile,
  .rewards-bento__vip.floor-tile { grid-template-columns: minmax(0, 1fr); }
  .split-layout__art { aspect-ratio: 16 / 9; }
  .split-layout__art::after { background: linear-gradient(0deg, transparent 55%, rgba(21, 12, 26, .8)); }

  .bento-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-floor > :first-child { grid-column: span 2; }
  .rewards-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards-bento__welcome { grid-column: span 2; }

  .footer-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
  .footer-cta { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .header-utility { font-size: .72rem; }
  .trust-line { letter-spacing: .02em; }
  .floor-grid--rich .floor-tile { padding: 1.6rem 1.4rem; }
  .security-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .container { padding: 0 1.15rem; }
  .floor-grid--cols-2,
  .floor-grid--cols-3,
  .floor-grid--cols-4,
  .bento-floor,
  .rewards-bento { grid-template-columns: minmax(0, 1fr); }
  .bento-floor > :first-child,
  .rewards-bento__welcome { grid-column: span 1; }
  .stat-strip { grid-template-columns: minmax(0, 1fr); }
  .utility-nav { gap: .9rem; }
  .btn { width: 100%; }
  .hero__actions .btn, .error-actions .btn { width: 100%; }
  .footer-map { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: span 1; }
}

@media (max-width: 480px) {
  .trust-line .sep { display: none; }
  .header-utility__inner { gap: .6rem; }
  .brand img { height: 38px; }
  .footer-cta { padding: 1.5rem 1.25rem; }
}

/* ------------------------------------- homepage-only layout families */

/* security cells, two-up variant (R3: two items, two columns) */
.security-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* prose rail: hairline-separated columns, no card chrome */
.prose-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.prose-rail p {
  margin: 0;
  padding: 0 2rem;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
}
.prose-rail p:first-child { padding-left: 0; border-left: 0; }
.prose-rail p:last-child { padding-right: 0; }

.home-close__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* ------------------------------------------------------------ lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(6, 3, 9, .93);
}
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--r-lg); }
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 900px) {
  .prose-rail { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .prose-rail p { padding: 0 0 0 1.25rem; border-left: 2px solid var(--border); }
  .prose-rail p:first-child { padding-left: 1.25rem; border-left: 2px solid var(--border); }
  .security-grid--pair { grid-template-columns: minmax(0, 1fr); }
}
