/* The Mongoose Chamber (mongoosechamber.com): the Athanor family's type and gold, at night. No inline styles (the CSP forbids them). */
:root {
  --night: #0b0a08; --night-2: #13110d; --night-3: #1b1812; --line-n: rgba(237,232,221,0.12); --line-n2: rgba(237,232,221,0.22);
  --ivory: #ede8dd; --ivory-2: #c9c2b2; --stone: #9a937f;
  --paper: #faf8f3; --paper-2: #f2eee4; --ink: #16150f; --ink-2: #3b3830; --muted: #6a6558; --line: rgba(22,21,15,0.12);
  --gold: #c9a227; --gold-2: #e2c065; --gold-d: #a8841b;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1200px; --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
[id] { scroll-margin-top: 84px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 8px 14px; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.display { font-family: var(--serif); font-optical-sizing: auto; font-weight: 300; letter-spacing: -0.015em; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; color: var(--ink-2); max-width: 680px; }
.lede.light, .light { color: var(--ivory-2); }
.muted { color: var(--muted); } .muted-light { color: var(--stone); font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 2px; font: 600 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }
.btn-gold { background: var(--gold); color: #17130a; }
.btn-gold:hover { background: var(--gold-2); }
.btn-gold:disabled { opacity: 0.6; cursor: default; }
.btn-ghost { border-color: var(--line-n2); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

/* the bar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; background: linear-gradient(180deg, rgba(11,10,8,0.92), rgba(11,10,8,0.72)); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-n); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 17px var(--serif); letter-spacing: 0.01em; color: var(--ivory); white-space: nowrap; }
.mark { width: 22px; height: 28px; color: var(--gold); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ivory-2); font-size: 14px; }
.nav a:hover { color: var(--gold-2); }

/* the hero */
.hero { position: relative; min-height: min(100vh, 940px); display: flex; align-items: flex-end; padding: 140px 0 72px; overflow: hidden; background: radial-gradient(1200px 600px at 70% 30%, rgba(201,162,39,0.10), transparent 60%), linear-gradient(180deg, #050504, #0b0a08 70%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); line-height: 1.02; max-width: 15ch; color: var(--ivory); }
.hero .lede { color: var(--ivory-2); margin-top: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 48px; }
.live { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line-n2); max-width: min(940px, 68vw); }
.live div { padding: 18px 18px 0 0; border-right: 1px solid var(--line-n); margin-right: 18px; }
.live div:last-child { border-right: 0; }
.live dt { font-size: 12px; color: var(--stone); letter-spacing: 0.04em; order: 2; }
.live dd { margin: 0 0 4px; font: 300 clamp(28px, 3.2vw, 42px)/1.1 var(--serif); color: var(--ivory); font-variant-numeric: tabular-nums; }
.live div { display: flex; flex-direction: column-reverse; }
.live-note { color: var(--stone); font-size: 12.5px; margin-top: 14px; }
.live-note::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6fcf97; margin-right: 8px; box-shadow: 0 0 10px #6fcf97; vertical-align: 1px; }

/* bands */
.band { padding: clamp(72px, 10vw, 128px) 0; background: var(--night-2); }
.band-night { background: var(--night); }
.band-paper { background: var(--paper); color: var(--ink); }
.band-paper .display, .band-paper h3 { color: var(--ink); }
.head { max-width: 820px; margin-bottom: 52px; }
.head h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; color: var(--ivory); margin-bottom: 20px; }
.band-paper .head h2 { color: var(--ink); }
.band:not(.band-paper) .lede { color: var(--ivory-2); }

/* inside */
.inside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cutaway { position: relative; border: 1px solid var(--line-n); border-radius: 4px; overflow: hidden; background: #070605; }
.cutaway canvas { display: block; width: 100%; }
.cut-tip { position: absolute; pointer-events: none; max-width: 280px; padding: 10px 12px; background: rgba(19,17,13,0.97); border: 1px solid var(--line-n2); border-radius: 3px; font-size: 13.5px; box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.cut-tip b { display: block; font: 500 16px var(--serif); color: var(--gold-2); }
.cut-tip small { display: block; color: var(--stone); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.feed { border: 1px solid var(--line-n); border-radius: 4px; padding: 20px; max-height: 640px; overflow: hidden; position: relative; }
.feed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, transparent, var(--night)); }
.feed h3 { font: 600 12px var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.feed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feed-list li { font-size: 14px; color: var(--ivory-2); line-height: 1.45; padding-left: 14px; border-left: 2px solid var(--c, var(--gold)); }
.feed-list b { color: var(--ivory); font-weight: 600; }
.feed-list small { display: block; color: var(--stone); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* how */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-n2); }
.three article { padding: 30px 28px 10px 0; margin-right: 28px; border-right: 1px solid var(--line-n); }
.three article:last-child { border-right: 0; margin-right: 0; }
.three .num { font: 300 14px var(--serif); color: var(--gold); letter-spacing: 0.1em; }
.three h3 { font: 400 26px var(--serif); margin: 10px 0 12px; color: var(--ivory); }
.three p { color: var(--ivory-2); }
.floors-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--line-n); border: 1px solid var(--line-n); }
.floor-cell { background: var(--night-2); padding: 22px; }
.floor-cell b { display: block; font: 400 20px var(--serif); color: var(--ivory); }
.floor-cell span { display: block; font: 300 38px/1.1 var(--serif); color: var(--gold-2); margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.floor-cell p { color: var(--stone); font-size: 13.5px; margin: 0; }

/* houses */
.houses { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.house { background: var(--white, #fff); border: 1px solid var(--line); padding: 26px; border-radius: 2px; display: flex; flex-direction: column; gap: 12px; }
.house h3 { font: 400 24px var(--serif); }
.house .kind { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-d); }
.house p { color: var(--ink-2); font-size: 15px; margin: 0; }
.team { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.team span { font-size: 12.5px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }

/* offers */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-n); border: 1px solid var(--line-n); }
.offer { background: var(--night-2); padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; transition: background 0.25s; }
.offer:hover { background: var(--night-3); }
.offer h3 { font: 400 25px var(--serif); color: var(--ivory); }
.offer p { color: var(--ivory-2); font-size: 15px; margin: 0; flex: 1; }
.offer a { color: var(--gold-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.offer a:hover { color: var(--ivory); }

/* markets */
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.two .display { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; color: var(--ivory); margin-bottom: 20px; }
.markets-card { border: 1px solid var(--line-n2); padding: 34px; background: linear-gradient(180deg, rgba(201,162,39,0.06), transparent); }
.mk-num { font: 300 72px/1 var(--serif); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.mk-lab { color: var(--stone); margin-top: 6px; }
.mk-rule { height: 1px; background: var(--line-n2); margin: 26px 0; }
.principles { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ivory-2); }
.principles li::before { content: '—'; color: var(--gold); margin-right: 10px; }

/* rules */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.rules h3 { font: 400 20px/1.25 var(--serif); margin-bottom: 10px; }
.rules p { color: var(--ink-2); font-size: 15px; }

/* contact */
.contact a { color: var(--gold-2); }
.form { display: flex; flex-direction: column; gap: 16px; background: var(--night-2); border: 1px solid var(--line-n2); padding: clamp(22px, 3vw, 34px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ivory-2); }
.form .opt { color: var(--stone); }
.form input, .form select, .form textarea { font: 15px var(--sans); color: var(--ivory); background: #0b0a08; border: 1px solid var(--line-n2); border-radius: 2px; padding: 12px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--stone); margin: 0; }
.form-note.ok { color: #9ad38a; } .form-note.err { color: #ef8b7a; }

/* footer */
.foot { background: #050504; border-top: 1px solid var(--line-n); padding: 56px 0 40px; color: var(--stone); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.foot strong { font: 400 20px var(--serif); color: var(--ivory); }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; align-content: flex-start; }
.foot a { color: var(--ivory-2); text-decoration: none; }
.foot a:hover { color: var(--gold-2); }
.foot .fine { grid-column: 1 / -1; font-size: 12.5px; margin: 0; }
.legal { padding: 140px 0 80px; max-width: 760px; }
.legal h1 { font: 300 48px/1.1 var(--serif); margin-bottom: 24px; }
.legal h2 { font: 400 24px var(--serif); margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ivory-2); }

@media (max-width: 980px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .live { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live div { border-right: 0; margin-right: 0; padding-right: 0; }
  .inside, .two, .foot-in { grid-template-columns: 1fr; }
  .three, .offers { grid-template-columns: 1fr; }
  .three article { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-n); padding-right: 0; }
  .rules { grid-template-columns: 1fr 1fr; }
  .foot nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .hero { padding-top: 110px; }
  .form .row, .rules { grid-template-columns: 1fr; }
  .feed { max-height: 380px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .offer { transition: none; } }
