:root {
  --obsidian: #1a1512;
  --obsidian-deep: #120e0c;
  --sand: #d9c4a3;
  --sand-light: #ece1cb;
  --copper: #c1622d;
  --copper-deep: #9c4a1f;
  --turquoise: #2fa79b;
  --turquoise-deep: #227d74;
  --ink: #1a1512;
  --paper: #f6f0e4;
  --line-on-dark: rgba(217, 196, 163, 0.2);
  --line-on-light: rgba(26, 21, 18, 0.14);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--sand-light);
  font-family: 'Albert Sans', -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.12;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Martian Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.eyebrow .dir { color: var(--turquoise); }
.eyebrow .rule { width: 26px; height: 1px; background: var(--copper); opacity: 0.6; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; }

/* ---------- strata backdrop ---------- */
.strata-bg {
  background-image:
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(193,98,45,0.06) 55%, rgba(193,98,45,0.06) 62%, transparent 62%, transparent 78%, rgba(47,167,155,0.05) 78%, rgba(47,167,155,0.05) 84%, transparent 84%);
}

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(to bottom, rgba(26,21,18,0.94), rgba(26,21,18,0)); padding-bottom: 24px; }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 22px 32px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sand-light); }
.brand-mark { width: 28px; height: 28px; border: 1px solid var(--copper); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Bitter', serif; font-size: 13px; color: var(--copper); }
.brand-name { font-family: 'Bitter', serif; font-size: 19px; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 13px; letter-spacing: 0.03em; color: rgba(217,196,163,0.78); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--turquoise); }
.nav-cta { border: 1px solid var(--sand-light); color: var(--sand-light); padding: 9px 18px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.nav-cta:hover { background: var(--copper); border-color: var(--copper); color: var(--obsidian); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 32px; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-on-dark); padding: 7px 14px; border-radius: 20px; font-family: 'Martian Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; color: rgba(217,196,163,0.8); margin-bottom: 30px; }
.hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.08; max-width: 16ch; margin-bottom: 26px; color: var(--paper); }
.hero h1 em { font-style: italic; color: var(--copper); }
.hero p.lede { max-width: 48ch; font-size: 17.5px; color: rgba(217,196,163,0.82); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary { background: var(--copper); color: var(--obsidian); text-decoration: none; padding: 15px 30px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; transition: background 0.2s ease, transform 0.2s ease; }
.btn-primary:hover { background: #d97940; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-on-dark); color: var(--sand-light); text-decoration: none; padding: 15px 30px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; transition: border-color 0.2s ease, color 0.2s ease; }
.btn-ghost:hover { border-color: var(--turquoise); color: var(--turquoise); }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid var(--line-on-dark); padding-top: 28px; }
.hero-stat .num { font-family: 'Bitter', serif; font-size: 24px; color: var(--copper); }
.hero-stat .label { font-family: 'Martian Mono', monospace; font-size: 10.5px; color: rgba(217,196,163,0.7); margin-top: 5px; letter-spacing: 0.02em; text-transform: uppercase; }

/* ---------- sections ---------- */
section { position: relative; padding: 110px 0; }
.panel-obsidian { background: var(--obsidian); }
.panel-paper { background: var(--paper); color: var(--ink); }
.panel-paper .eyebrow { color: var(--copper-deep); }
.panel-deep { background: var(--obsidian-deep); }

.section-head { max-width: 640px; margin-bottom: 58px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 18px; line-height: 1.18; }
.section-head p { margin-top: 18px; font-size: 15.5px; opacity: 0.78; max-width: 54ch; }

/* ---------- highlight cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-on-light); border: 1px solid var(--line-on-light); }
.card { background: var(--paper); padding: 42px 34px; transition: background 0.25s ease; }
.card:hover { background: #ece0c9; }
.card .card-num { font-family: 'Martian Mono', monospace; font-size: 12px; color: var(--copper-deep); margin-bottom: 22px; display: block; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: rgba(26,21,18,0.72); font-size: 14.5px; margin: 0; font-family: 'Albert Sans', sans-serif; }

/* ---------- responsible play ---------- */
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.rp-card { border-top: 2px solid var(--turquoise); padding-top: 24px; }
.rp-card .tag { font-family: 'Martian Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turquoise); }
.rp-card h3 { margin-top: 12px; font-size: 19px; margin-bottom: 16px; color: var(--paper); }
.rp-card ul { margin: 0; padding-left: 18px; color: rgba(217,196,163,0.85); font-size: 14px; }
.rp-card li { margin-bottom: 9px; }

/* ---------- feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; padding: 66px 0; }
.feature-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row:not(:last-child) { border-bottom: 1px solid var(--line-on-dark); }
.feature-visual { aspect-ratio: 4/3; border: 1px solid var(--line-on-dark); display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--obsidian-deep), var(--obsidian)); }
.feature-visual svg { width: 50%; height: 50%; }
.feature-text .tag { font-family: 'Martian Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); }
.feature-text h3 { font-size: clamp(24px, 3vw, 32px); margin: 15px 0 16px; color: var(--paper); }
.feature-text p { color: rgba(217,196,163,0.82); font-size: 15px; margin-bottom: 20px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-on-dark); font-size: 14px; }
.feature-list li:last-child { border-bottom: 1px solid var(--line-on-dark); }
.feature-list li .idx { font-family: 'Martian Mono', monospace; color: var(--turquoise); font-size: 12px; }

/* ---------- closing ---------- */
.closing { text-align: center; padding: 140px 0; }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(28px, 4.2vw, 52px); max-width: 20ch; margin: 22px auto 0; color: var(--paper); line-height: 1.25; }

/* ---------- footer ---------- */
footer { background: var(--obsidian-deep); padding: 78px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand .brand-name { display: block; margin-bottom: 16px; font-size: 20px; color: var(--paper); }
.footer-brand p { opacity: 0.6; font-size: 13.5px; max-width: 34ch; }
footer h4 { font-family: 'Martian Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); margin-bottom: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 10px; font-size: 13.5px; opacity: 0.72; }
footer a { text-decoration: none; color: inherit; }
footer a:hover { color: var(--turquoise); }
.footer-legal { font-size: 12.5px; opacity: 0.5; border-top: 1px solid var(--line-on-dark); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: 'Martian Mono', monospace; }

/* ---------- age verification overlay ---------- */
#age-gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(18,14,12,0.97); opacity: 0; animation: age-gate-in 0.5s ease forwards; }
@keyframes age-gate-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #age-gate { animation: none; opacity: 1; } }
.age-gate-card { max-width: 480px; width: 100%; text-align: center; color: var(--paper); padding: 20px; }
.age-gate-brand { font-family: 'Martian Mono', monospace; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); margin-bottom: 28px; }
.age-gate-card h1 { font-family: 'Bitter', serif; font-size: clamp(32px, 6vw, 46px); margin-bottom: 22px; }
.age-gate-card p.age-body { font-size: 15.5px; line-height: 1.7; opacity: 0.82; max-width: 42ch; margin: 0 auto 34px; }
#age-gate-confirm { background: var(--copper); color: var(--obsidian); border: none; cursor: pointer; padding: 17px 40px; font-family: 'Albert Sans', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.2s ease, transform 0.2s ease; }
#age-gate-confirm:hover { background: #d97940; transform: translateY(-1px); }
#age-gate-confirm:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; }
.age-gate-footer { margin-top: 30px; font-family: 'Martian Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.55; }
body.age-gate-locked { overflow: hidden; height: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .rp-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; padding: 46px 0; }
  .feature-row.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container, .hero-inner { padding: 0 20px; }
  section { padding: 78px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 100px; }
  .hero-stats { gap: 30px; }
}
