:root {
  --bg: #0a0908;
  --bg-2: #12100c;
  --panel: #161310;
  --border: #2a241c;
  --text: #f4efe6;
  --muted: #a89e8d;
  --faint: #6e6558;
  --brass: #e8a93d;
  --brass-hot: #ffc95e;
  --brass-dim: rgba(232, 169, 61, 0.12);
  --radius: 14px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* atmosphere */
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.glow {
  position: fixed; border-radius: 50%; filter: blur(120px); z-index: 0;
  pointer-events: none;
}
.glow-a {
  width: 560px; height: 560px; top: -180px; left: 50%; margin-left: -380px;
  background: radial-gradient(circle, rgba(232,169,61,0.16), transparent 65%);
}
.glow-b {
  width: 480px; height: 480px; bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(232,169,61,0.08), transparent 65%);
}

main, header.nav, footer { position: relative; z-index: 1; }

.accent { color: var(--brass); }
.mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }

/* nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 1.4rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 8px;
  background: linear-gradient(135deg, var(--brass-hot), var(--brass));
  color: #1a1206; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.brand-mark-sm { width: 1.4rem; height: 1.4rem; font-size: 0.7rem; border-radius: 6px; }
.brand-name { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brass-hot), var(--brass));
  color: #1a1206; font-family: var(--font-display); font-weight: 600;
  border: none; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 0 0 rgba(232,169,61,0);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(232,169,61,0.35); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn-big { padding: 0.95rem 1.9rem; font-size: 1rem; }
.btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }

/* hero */
.hero {
  max-width: 880px; margin: 0 auto; text-align: center;
  padding: 5.5rem 1.5rem 4rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.5rem 1.1rem; margin-bottom: 2rem; background: rgba(22,19,16,0.6);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,169,61,0.5); } 50% { box-shadow: 0 0 0 7px rgba(232,169,61,0); } }

h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.9rem, 8vw, 5.4rem); line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}
.lede { color: var(--muted); font-size: clamp(1.02rem, 2.4vw, 1.22rem); max-width: 620px; margin: 0 auto 2.4rem; }
.fineprint { color: var(--faint); font-size: 0.85rem; margin-top: 0.9rem; }

/* email capture */
.capture { display: flex; gap: 0.6rem; max-width: 520px; margin: 0 auto; position: relative; flex-wrap: wrap; justify-content: center; }
.capture input[type="email"] {
  flex: 1 1 260px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.95rem 1.4rem; color: var(--text);
  font-family: var(--font-body); font-size: 1rem; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.capture input[type="email"]:focus { border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-dim); }
.capture input[type="email"]::placeholder { color: var(--faint); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { flex-basis: 100%; font-size: 0.9rem; min-height: 1.4em; margin-top: 0.2rem; }
.form-note.ok { color: #7ddf9a; }
.form-note.err { color: #ff9a8a; }
.capture-big { max-width: 560px; }

/* marquee */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 1.1rem 0; margin: 1rem 0 0;
  background: rgba(18,16,12,0.5);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track { display: inline-flex; gap: 2.2rem; align-items: center; white-space: nowrap; animation: scroll 28s linear infinite; }
.marquee-track span { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.marquee-track i { color: var(--brass); font-style: normal; font-size: 0.8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
.section { max-width: 1120px; margin: 0 auto; padding: 6rem 1.5rem 1rem; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.1rem;
}
.section h2 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin-bottom: 3rem; max-width: 720px;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cards-two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(232,169,61,0.45); }
.card-tag { font-family: var(--font-mono); color: var(--brass); font-size: 0.85rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* statement */
.statement { max-width: 880px; margin: 0 auto; padding: 7rem 1.5rem 1rem; text-align: center; }
.statement blockquote {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 4.6vw, 2.9rem); line-height: 1.25; margin-top: 1.4rem;
}
.statement .mono { margin-bottom: 0; }

/* cta */
.cta { padding-bottom: 6rem; }
.cta-inner {
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 10px);
  background: radial-gradient(120% 160% at 50% 0%, rgba(232,169,61,0.1), transparent 55%), linear-gradient(180deg, var(--panel), var(--bg-2));
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center;
}
.cta-inner h2 { margin-left: auto; margin-right: auto; }
.cta-inner .lede { margin-bottom: 2rem; }

/* footer */
footer {
  max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
footer p { display: flex; align-items: center; gap: 0.55rem; color: var(--muted); font-size: 0.92rem; }
footer a { color: var(--brass); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .pulse { animation: none; }
}

/* mobile */
@media (max-width: 860px) {
  .cards, .cards-two { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  .capture { flex-direction: column; }
  .capture input[type="email"] { flex-basis: auto; width: 100%; }
  .capture .btn-big { width: 100%; }
  footer { flex-direction: column; text-align: center; }
}
