:root {
  --red: #c5291c;
  --red-deep: #7a1610;
  --red-hot: #e23b2c;
  --ivory: #f6eddc;
  --paper: #eadcc4;
  --ink: #120c09;
  --black: #050403;
  --mahogany: #140d0a;
  --brass: #d4b56a;
  --gold: #c9a44c;
  --gold-bright: #f0d78c;
  --gold-deep: #8a6b24;
  --velvet: #2c0b10;
  --rule: rgba(20, 14, 12, 0.16);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --mark: "Cinzel", "Times New Roman", serif;
  --sans: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
  --wide: 1360px;
  --gold-foil: linear-gradient(180deg, #f8e7b0 0%, #e8c76a 28%, #a67c2d 52%, #f3d98a 74%, #c9a44c 100%);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top, #2a120f, transparent 42%),
    var(--mahogany);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
.btn {
  font-family: inherit;
}

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

.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: 1rem;
  top: -4rem;
  z-index: 120;
  padding: 0.65rem 1rem;
  background: var(--red);
  color: var(--ivory);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Buttons — enamel + brass */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.6rem 1.25rem;
  overflow: hidden;
  border: 1px solid transparent;
  font-family: var(--mark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.34) 50%, transparent 64%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
  transition: transform 0.55s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-buy {
  color: #fff6ea;
  background: linear-gradient(180deg, #e44536 0%, #c5291c 46%, #8a1a12 100%);
  border-color: #f0a090;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 8px 22px rgba(197, 41, 28, 0.34);
}

.btn-buy:hover {
  filter: brightness(1.08);
}

.btn-chart,
.btn-x {
  color: var(--ivory);
  background: linear-gradient(180deg, #3a2a16, #1c140c);
  border-color: var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(240, 215, 140, 0.18),
    0 0 0 1px rgba(201, 164, 76, 0.2);
}

.btn-chart:hover,
.btn-x:hover,
.btn-brass:hover {
  filter: brightness(1.1);
}

.btn-brass {
  color: #1a1206;
  background: var(--gold-foil);
  border-color: #f3e0a2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(90, 64, 16, 0.35),
    0 10px 24px rgba(201, 164, 76, 0.22);
}

.btn-tg {
  color: var(--gold-bright);
  background: transparent;
  border-color: transparent;
  box-shadow: inset 0 -1px 0 var(--gold);
}

.btn-tg:hover {
  color: #fff;
}

.btn-wide {
  min-width: min(100%, 20rem);
}

.btn-club {
  min-width: min(100%, 12rem);
}

.btn-club-tg {
  min-width: min(100%, 12rem);
  color: var(--ivory);
  background: transparent;
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(240, 215, 140, 0.2);
}

.btn-club-tg:hover {
  background: rgba(243, 234, 217, 0.08);
}

/* Header — private club mahogany */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(80, 24, 18, 0.35), transparent 40%),
    linear-gradient(180deg, #1a100c, #0d0907);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.site-header.is-stuck {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.header-redline {
  height: 3px;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--brass), var(--red));
  background-size: 220% 100%;
  animation: rule-sweep 11s linear infinite;
}

.header-rail {
  display: none;
  padding: 0.35rem 1rem 0;
  font-family: var(--mark);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  color: var(--brass);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  max-width: var(--wide);
  margin-inline: auto;
  padding: 0.8rem clamp(1rem, 3.5vw, 2.25rem);
}

.header-goldline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  color: var(--ivory);
}

.brand-bezel {
  display: grid;
  place-items: center;
  padding: 3px;
  background: var(--gold-foil);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  width: 3.35rem;
  height: 3.35rem;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.12rem;
}

.brand-ticker {
  font-family: var(--mark);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
}

.brand-name {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 215, 140, 0.78);
  white-space: nowrap;
}

.nav-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 78% 58%, rgba(201, 164, 76, 0.2), transparent 36%),
    radial-gradient(ellipse at 12% 0%, rgba(197, 41, 28, 0.22), transparent 42%),
    #000;
  color: var(--ivory);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 164, 76, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 41, 28, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: grid-drift 40s linear infinite;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  left: -2%;
  top: 8%;
  margin: 0;
  font-family: var(--mark);
  font-size: clamp(7rem, 22vw, 18rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.8;
  color: rgba(201, 164, 76, 0.07);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: end;
  max-width: var(--wide);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4.2rem) clamp(1rem, 3.5vw, 2.25rem) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(2rem, 5vw, 3.8rem);
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.05rem;
  font-family: var(--mark);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.kicker-ink {
  color: var(--red);
}

.kicker-dot {
  color: var(--red);
  font-size: 0.5rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.15rem, 8.8vw, 7.4rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line span {
  display: block;
  animation: editorial-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-line-gold span {
  animation-delay: 0.12s;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 16px rgba(201, 164, 76, 0.25));
}

.hero-rule {
  width: min(12rem, 50%);
  height: 2px;
  margin: 1.35rem 0 1.2rem;
  background: var(--gold-foil);
  animation: editorial-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.hero-hook {
  max-width: 24rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.28;
  color: #f3ead9;
  animation: editorial-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-tag {
  margin-top: 0.8rem;
  font-family: var(--mark);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 215, 140, 0.72);
  animation: editorial-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.7rem;
  animation: editorial-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.contract-block {
  margin-top: 1.8rem;
  max-width: 100%;
  padding: 0.95rem 1rem;
  background:
    linear-gradient(180deg, rgba(212, 181, 106, 0.12), rgba(0, 0, 0, 0.2)),
    #16110a;
  border: 1px solid var(--gold);
  box-shadow:
    inset 0 0 0 1px rgba(138, 107, 36, 0.55),
    0 16px 36px rgba(0, 0, 0, 0.35);
  animation: editorial-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.contract-label {
  margin-bottom: 0.45rem;
  font-family: var(--mark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contract-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
}

.contract-value {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(201, 164, 76, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ivory);
  font-size: clamp(0.85rem, 2.4vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.copy-btn {
  min-height: 2.5rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--gold);
  background: var(--gold-foil);
  color: #1a1206;
  font-family: var(--mark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-btn:hover,
.copy-btn.is-copied {
  filter: brightness(1.08);
}

.copy-feedback {
  display: block;
  min-height: 1.15rem;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 46rem);
  padding-top: 0.5rem;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(240, 215, 140, 0.32), transparent 68%);
  pointer-events: none;
}

.hero-art {
  position: relative;
  width: 100%;
  animation: wealth-float 6.8s ease-in-out infinite;
}

/* Ticker — brass tape */
.ticker {
  overflow: hidden;
  background:
    linear-gradient(180deg, #2a2114, #120e09);
  border-block: 1px solid var(--gold);
  color: var(--gold-bright);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.15rem;
  padding: 0.78rem 0;
  font-family: var(--mark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}

.ticker-mark {
  color: var(--red);
}

/* Newspaper paper */
.filter,
.howto {
  background:
    radial-gradient(circle at 8% 0%, rgba(197, 41, 28, 0.08), transparent 30%),
    linear-gradient(180deg, #f3e6cf, #e6d3b4);
  overflow-x: clip;
}

.filter-inner,
.howto-inner,
.terminal-inner,
.club-inner,
.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3.5vw, 2.25rem);
}

.filter-inner,
.howto-inner {
  position: relative;
  max-width: var(--wide);
}

.paper-sheet {
  margin-block: clamp(1.4rem, 4vw, 2.5rem);
  padding: clamp(1.6rem, 4.5vw, 3.2rem) clamp(1rem, 3.5vw, 2.5rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.42), transparent 28%),
    #f3e6cf;
  box-shadow:
    0 0 0 1px rgba(138, 107, 36, 0.28),
    0 0 0 7px #efe0c6,
    0 0 0 8px rgba(138, 107, 36, 0.35),
    0 30px 70px rgba(20, 10, 6, 0.22);
}

.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gold-deep);
  pointer-events: none;
}

.corner-tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.corner-tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.corner-bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.corner-br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.section-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.85rem;
}

.masthead-meta {
  font-family: var(--mark);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.gold-rule {
  height: 2px;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--gold-foil);
  background-size: 200% 100%;
  animation: rule-sweep 8s linear infinite;
}

.filter-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.2vw, 4.15rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.statement-right {
  text-align: right;
  color: var(--red);
}

.filter-quote {
  position: relative;
  max-width: 30rem;
  margin: 0 auto clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.quote-mark {
  display: block;
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--gold);
}

.filter-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--ink);
}

.filter-col {
  padding: 1.5rem 1.2rem 0.3rem;
  border-right: 1px solid rgba(20, 14, 12, 0.22);
}

.filter-col:first-child { padding-left: 0; }
.filter-col:last-child { padding-right: 0; border-right: 0; }

.filter-col h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.filter-col p {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: rgba(20, 14, 12, 0.72);
}

.js [data-reveal] {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal="up"] { transform: translateY(28px); }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal="scale"] { transform: scale(0.98); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Banner — gilt museum frame */
.banner-section {
  background:
    radial-gradient(ellipse at center, #2a1a10, #050403);
  padding: clamp(1.4rem, 4vw, 2.6rem) clamp(0.7rem, 2.4vw, 1.5rem);
}

.banner-outer {
  max-width: 1600px;
  margin: 0 auto;
  padding: 8px;
  background: var(--gold-foil);
  box-shadow:
    0 0 0 1px #6d5418,
    0 24px 70px rgba(0, 0, 0, 0.45);
}

.banner-rail {
  padding: 0.45rem 0.8rem 0.55rem;
  background: #120d08;
  font-family: var(--mark);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.banner-frame {
  padding: 6px;
  background: #0a0705;
}

.banner-art {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* Terminal */
.terminal {
  background:
    radial-gradient(ellipse at top, rgba(197, 41, 28, 0.16), transparent 46%),
    linear-gradient(180deg, #1a100c, #0a0706);
  color: var(--ivory);
}

.terminal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.terminal h2,
.howto h2,
.club h2 {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4.3rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.terminal-bezel {
  position: relative;
  padding: 14px;
  background:
    linear-gradient(180deg, #2a1d12, #120c08);
  border: 1px solid var(--gold);
  box-shadow:
    inset 0 0 0 1px rgba(240, 215, 140, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.4);
}

.screw {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3e0a2, #8a6b24);
  box-shadow: 0 0 0 1px #5c4716;
}

.screw-tl { top: 8px; left: 8px; }
.screw-tr { top: 8px; right: 8px; }
.screw-bl { bottom: 8px; left: 8px; }
.screw-br { bottom: 8px; right: 8px; }

.terminal-bar {
  padding: 0.75rem 1rem;
  background: #080605;
  border: 1px solid rgba(201, 164, 76, 0.28);
  border-bottom: 0;
  font-family: var(--mark);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  overflow-wrap: anywhere;
}

.dex-chart-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 76, 0.28);
}

#dexEmbed {
  display: block;
  width: 100%;
  height: clamp(480px, 65vw, 720px);
  border: 0;
}

/* How to buy */
.howto h2 {
  color: var(--ink);
}

.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  border-block: 2px solid var(--ink);
}

.ledger-item {
  padding: 1.45rem 1.1rem 1.55rem;
  border-right: 1px solid rgba(20, 14, 12, 0.18);
}

.ledger-item:first-child { padding-left: 0; }
.ledger-item:last-child { padding-right: 0; border-right: 0; }

.ledger-num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--mark);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}

.ledger-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.ledger-ca {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.ledger-ca code {
  display: inline;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.howto .btn-wide {
  display: flex;
}

/* Club — velvet room */
.club {
  position: relative;
  background: #22090d;
  color: var(--ivory);
  text-align: center;
  overflow: clip;
}

.club-velvet {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(197, 41, 28, 0.32), transparent 46%),
    repeating-radial-gradient(circle at 20% 20%, rgba(90, 16, 22, 0.35) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #3a1016, #1a070a);
  pointer-events: none;
}

.club-inner {
  position: relative;
}

.club-inner::before,
.club-inner::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 1px solid rgba(212, 181, 106, 0.45);
  pointer-events: none;
}

.club-inner::after {
  inset: 0.75rem;
  border-color: rgba(212, 181, 106, 0.2);
}

.club-crest {
  width: min(9.5rem, 42vw);
  height: min(9.5rem, 42vw);
  margin: 0 auto 1.3rem;
  object-fit: cover;
  padding: 4px;
  background: var(--gold-foil);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.club h2 {
  max-width: 14ch;
  margin-inline: auto;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.club-name {
  margin: 1rem 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-style: italic;
  color: #f3ead9;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: #050403;
  color: var(--ivory);
  border-top: 3px solid var(--red);
}

.footer-inner {
  display: grid;
  gap: 0.9rem;
  padding-block: 2.4rem;
}

.brand-footer .brand-name,
.brand-footer .brand-ticker {
  color: var(--ivory);
}

.brand-footer .brand-name {
  color: rgba(240, 215, 140, 0.75);
}

.footer-meta,
.footer-ca {
  font-family: var(--mark);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 234, 217, 0.68);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  font-family: var(--mark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

/* Motion */
@keyframes editorial-rise {
  from { opacity: 0; transform: translateY(1.15em); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wealth-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}

@keyframes rule-sweep {
  from { background-position: 0 50%; }
  to { background-position: 200% 50%; }
}

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

@media (min-width: 900px) {
  .header-rail {
    display: block;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(2.85rem, 7.5vw, 6rem);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    padding-inline: 0;
  }

  .hero-copy {
    padding-bottom: 0.6rem;
    padding-inline: clamp(1rem, 3.5vw, 2.25rem);
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
    padding-top: 0;
  }

  .hero-watermark {
    top: 2%;
    font-size: clamp(5.5rem, 32vw, 10rem);
  }

  .filter-lead {
    grid-template-columns: 1fr;
  }

  .statement-right {
    text-align: left;
  }

  .filter-columns,
  .ledger {
    grid-template-columns: 1fr;
  }

  .filter-col,
  .ledger-item {
    border-right: 0;
    border-bottom: 1px solid rgba(20, 14, 12, 0.2);
    padding-inline: 0;
  }

  .filter-columns {
    border-bottom: 2px solid var(--ink);
  }

  .filter-col:last-child,
  .ledger-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .nav-ctas {
    width: 100%;
  }

  .nav-ctas .btn {
    flex: 1 1 auto;
    min-width: 4.8rem;
  }

  .nav-ctas .btn-tg {
    flex: 1 1 100%;
    justify-content: center;
    border: 1px solid var(--gold);
    box-shadow: none;
  }

  .hero-visual::before {
    display: none;
  }

  .club-inner::before,
  .club-inner::after {
    inset: 0.45rem;
  }

  .corner {
    display: none;
  }
}

@media (max-width: 430px) {
  .brand-name {
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(2.7rem, 13vw, 3.45rem);
  }

  .hero-actions .btn,
  .club-actions .btn {
    flex: 1 1 auto;
  }

  .contract-value {
    flex-basis: 100%;
  }

  .statement {
    font-size: clamp(1.85rem, 10vw, 2.4rem);
  }
}

@media (max-width: 360px) {
  .header-inner,
  .hero-copy,
  .filter-inner,
  .howto-inner,
  .terminal-inner,
  .club-inner,
  .footer-inner {
    padding-inline: 0.9rem;
  }

  .brand-logo {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-ctas .btn {
    min-width: 0;
    padding-inline: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .header-redline,
  .gold-rule,
  .hero::before,
  .hero-art,
  .ticker-track,
  .hero-line span,
  .hero-rule,
  .hero-hook,
  .hero-tag,
  .hero-actions,
  .contract-block {
    animation: none !important;
  }

  .btn::after { display: none; }

  .ticker-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    white-space: normal;
    transform: none;
    padding-inline: 0.75rem;
    text-align: center;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .banner-art {
    transform: none !important;
    will-change: auto;
  }
}
