@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit.woff2") format("woff2");
}

:root {
  --bg: #0c0a09;
  --ink: #f4efe6;
  --soft: #d9d0c3;
  --muted: #b7ab9c;
  --gold: #e0c27a;
  --gold-2: #f3e2ae;
  --line: rgba(224, 194, 122, 0.32);
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body,
h1,
h2,
h3,
p,
ul,
ol { margin: 0; }

ul,
ol { padding: 0; }

[hidden] { display: none !important; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(980px 680px at 86% 12%, rgba(224, 194, 122, 0.22), transparent 56%),
    radial-gradient(640px 460px at 0% 100%, rgba(143, 217, 196, 0.06), transparent 52%);
  min-height: 100%;
}

::selection { background: #e0c27a; color: #1a140c; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

#judul:focus { outline: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0c0a09; }
::-webkit-scrollbar-thumb { background: #3a3124; border: 2px solid #0c0a09; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 120;
  background: var(--gold);
  color: #1a140c;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  background: rgba(12, 10, 9, 0.9);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

html.menu-open .header { background: #0c0a09; }

.header-in {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 500;
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a140c;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--gold); }

.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fd9c4;
  box-shadow: 0 0 10px #8fd9c4;
  animation: pulse 1.8s ease-in-out infinite;
}

.nav-toggle {
  display: none;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #0c0a09;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 32px 56px;
  gap: 2px;
}

.menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.menu-note {
  margin-bottom: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

.menu a {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(46px, 12vw, 84px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-decoration: none;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}

.menu a:hover { color: var(--gold); }

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 7, 6, 0.72);
  backdrop-filter: blur(18px);
}

html.is-in .gate { display: none; }

html:not(.is-in),
html.menu-open { overflow: hidden; }

.gate-card {
  width: min(100%, 540px);
  padding: 40px 36px;
  background: #12100d;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gate-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.gate-card .lede { margin-top: 14px; }

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 108px 0 56px;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  right: -1vw;
  top: 58px;
  z-index: 0;
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(220px, 26vw, 390px);
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(224, 194, 122, 0.42);
  pointer-events: none;
  user-select: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10% -30%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(243, 226, 174, 0.08) 50%, transparent 60%);
  animation: sweep 10s ease-in-out infinite;
}

.hero-grid { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

.kicker-line {
  width: 36px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8.2vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}

.lede {
  margin-top: 18px;
  max-width: 38rem;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--soft);
}

.lede a {
  color: var(--gold);
  text-underline-offset: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--gold);
}

.btn-gold { background: var(--gold); color: #1a140c; }
.btn-gold:hover { background: #f2dc9e; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(224, 194, 122, 0.1); }

.stats {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stats li {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.stats span {
  display: block;
  margin-top: 4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.machine {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
  padding: 26px 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 236, 200, 0.14), transparent 34%),
    linear-gradient(180deg, #2a2218, #0c0a09 46%);
  border: 1px solid rgba(240, 212, 138, 0.78);
  box-shadow:
    0 0 0 6px rgba(224, 194, 122, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(224, 194, 122, 0.16),
    inset 0 1px 0 rgba(255, 236, 200, 0.35);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.machine::before {
  content: "";
  position: absolute;
  inset: -48px -28px;
  z-index: -1;
  background: radial-gradient(circle, rgba(224, 194, 122, 0.28), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.machine.is-triple {
  border-color: #f0d48a;
  box-shadow:
    0 0 0 1px rgba(240, 212, 138, 0.65),
    var(--shadow),
    0 0 70px rgba(224, 194, 122, 0.28);
}

.machine-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.jackpot-label {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}

.jackpot-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #f0d48a;
  line-height: 1;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .jackpot-num {
    background-image: linear-gradient(100deg, #a7843e 0%, #f6e7b8 42%, #e0c27a 58%, #8c6a32 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 7s ease-in-out infinite;
  }
}

.jackpot-hint {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  background: #070605;
  border: 1px solid rgba(224, 194, 122, 0.28);
}

.reel {
  position: relative;
  height: 120px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 18%, #4a3b28 0%, #16120e 52%, #090807 100%);
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.62));
  box-shadow: inset 0 0 0 1px rgba(224, 194, 122, 0.16);
}

.cell {
  height: 120px;
  display: grid;
  place-items: center;
  color: #f0d48a;
}

.sym-7 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 80px;
  line-height: 1;
  font-variation-settings: "opsz" 72, "SOFT" 20, "WONK" 1;
}

.spin {
  width: 100%;
  margin-top: 14px;
  min-height: 48px;
  background: var(--gold);
  color: #1a140c;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.spin:hover { background: #f2dc9e; }
.spin:disabled { opacity: 0.55; cursor: wait; }

.caption {
  margin-top: 10px;
  min-height: 2.5em;
  font-size: 12px;
  color: var(--muted);
}

.machine.is-triple .caption { color: var(--gold); }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee { background: rgba(224, 194, 122, 0.045); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  list-style: none;
  padding: 15px 0;
}

.marquee-group li {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.marquee-group li::before {
  content: "·";
  margin: 0 22px;
  color: rgba(224, 194, 122, 0.7);
}

.section { padding: 96px 0; }

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.index-no {
  margin-bottom: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 0;
}

.section-head .lede { margin-top: 14px; }

.meja-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

.stage {
  position: sticky;
  top: 104px;
  min-height: 280px;
}

.stage-no {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 120px;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 194, 122, 0.45);
}

.stage-mood {
  margin-top: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

.stage h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
}

#stage-copy {
  margin-top: 14px;
  max-width: 36ch;
  color: var(--soft);
}

.stage-rtp {
  margin-top: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.stage-rtp strong {
  margin-left: 8px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0;
  font-size: 18px;
  text-transform: none;
}

.stage-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.row {
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  column-gap: 12px;
  align-items: baseline;
  padding: 16px 8px;
  text-align: left;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}

.rows .row:last-child { border-bottom: 1px solid var(--line); }

.row:hover,
.row.is-on {
  background: linear-gradient(90deg, rgba(224, 194, 122, 0.12), transparent 78%);
}

.row-no {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.row-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.row:hover .row-name,
.row.is-on .row-name { color: var(--gold); }

.row.is-on {
  box-shadow: inset 3px 0 0 var(--gold);
}
.row.is-on .row-name { font-style: italic; }
.row.is-on .row-no { color: var(--gold); }

.row-mood,
.rtp {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 28px 28px 8px 0;
  border-right: 1px solid var(--line);
  min-height: 240px;
}

.steps li:last-child { border-right: 0; padding-right: 0; }

.steps li > span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
}

.steps h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.steps p {
  margin-top: 12px;
  max-width: 32ch;
  color: var(--soft);
}

.quote {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 6.6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

.quote span:first-child { color: var(--gold); }

.qris-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.qris-list { list-style: none; margin-top: 8px; }

.qris-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
}

.qris-list li:last-child { border-bottom: 1px solid var(--line); }

.qris-card {
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background:
    radial-gradient(380px 220px at 80% 16%, rgba(224, 194, 122, 0.18), transparent 62%),
    #14110e;
}

.qris-brand {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

.qris-seven {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(96px, 12vw, 150px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 194, 122, 0.85);
}

.qris-warn {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.item { border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }

.item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  text-align: left;
}

.item button span:first-child {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
}

.mark {
  width: 18px;
  height: 18px;
  position: relative;
  flex: none;
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  background: var(--gold);
}

.mark::after {
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}

.item.open .mark::after { transform: rotate(0deg); }

.panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.item.open .panel { grid-template-rows: 1fr; }
.panel-in { overflow: hidden; }

.panel-in p {
  margin-bottom: 22px;
  max-width: 66ch;
  color: var(--soft);
}

.footer {
  padding: 28px 0 36px;
  overflow: hidden;
}

.foot-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(72px, 18vw, 228px);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 194, 122, 0.4);
  white-space: nowrap;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr auto;
  gap: 32px;
  padding-top: 28px;
  align-items: start;
}

.foot-grid > p:first-child { color: var(--soft); max-width: 42ch; }

.foot-grid p.domain {
  color: var(--gold);
  max-width: none;
}

.foot-grid nav { display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink); }
.foot-grid a:hover { color: var(--gold); }

.domain {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}

.legal {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes sweep {
  0%, 100% { transform: translateX(-6%); }
  50% { transform: translateX(6%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

html.is-in .hero-copy > * {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

html.is-in .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
html.is-in .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
html.is-in .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
html.is-in .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
html.is-in .machine { animation: rise 1s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    display: block;
    padding-top: 108px;
  }

  .hero-watermark {
    top: 78px;
    right: -18px;
    transform: none;
    font-size: 168px;
    -webkit-text-stroke-width: 1px;
  }

  .hero-grid,
  .meja-grid,
  .qris-grid,
  .foot-grid { grid-template-columns: 1fr; }

  .machine { margin-inline: auto; }
  .stage { position: static; min-height: 0; }
  .qris-card { min-height: 280px; }
  .foot-grid p { max-width: none; }
}

@media (max-width: 860px) {
  .header-in { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .clock { display: none; }
}

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .steps li {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .steps li:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .hero { padding: 104px 0 40px; }
  .section { padding: 72px 0; }
  .lede { font-size: 16px; }
  .gate-card { padding: 28px 22px; }
  .stats li {
    border-right: 0;
    margin: 0 22px 14px 0;
    padding: 0;
  }
  .row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .rtp { display: none; }
  .row-name { font-size: 20px; }
  .menu { padding: 24px 22px 36px; }
}

.hero.page-hero {
  min-height: 0;
  display: block;
  padding: 132px 0 12px;
}

.hero.page-hero h1 {
  font-size: clamp(42px, 6.6vw, 88px);
  max-width: 11ch;
}

.hero.page-hero .hero-watermark {
  top: 92px;
  font-size: clamp(140px, 18vw, 240px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.crumbs a {
  color: var(--gold);
  text-decoration: none;
}

.prose h2 { max-width: 16ch; }

.prose p {
  max-width: 68ch;
  margin-top: 16px;
  color: var(--soft);
  font-weight: 300;
  line-height: 1.7;
}

.keyword-grid,
.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.keyword-grid a,
.related a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 148px;
  padding: 22px 20px;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.keyword-grid a:hover,
.related a:hover { background: rgba(224, 194, 122, 0.06); }

.keyword-grid .idx,
.related .idx {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

.keyword-grid .kw,
.related .kw {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.keyword-grid a:hover .kw,
.related a:hover .kw {
  color: var(--gold);
  font-style: italic;
}

.keyword-grid .hint,
.related .hint {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.login-form,
#login-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-top: 28px;
}

#login-form label {
  display: grid;
  gap: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}

#login-form input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0.04em;
  text-transform: none;
}

#login-form .btn { justify-self: start; }

.login-note {
  max-width: 42ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero.page-hero { padding-top: 108px; }
  .keyword-grid,
  .related { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero.page-hero { padding: 104px 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .marquee-group + .marquee-group { display: none; }
}
