/* Oresund - single-page landing, no dependencies. */

:root {
  --bg: #07090c;
  --bg-2: #0b0f14;
  --surface: rgba(15, 20, 27, 0.84);
  --surface-2: rgba(19, 26, 35, 0.92);
  --line: rgba(44, 57, 74, 0.6);
  --line-strong: rgba(67, 86, 109, 0.8);
  --text: #edf2f8;
  --text-dim: #a0acbb;
  --text-mute: #6d7989;
  --accent: #c5f04e;
  --accent-2: #7ad4ff;
  --accent-warm: #ffb36b;
  --hero-shade: rgba(6, 9, 13, 0.72);
  --shadow: 0 28px 120px rgba(0, 0, 0, 0.34);
  --radius: 30px;
  --radius-lg: 40px;
  --radius-sm: 16px;
  --maxw: 1280px;
  --header-h: 96px;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-sans);
  line-height: 1.55;
  background:
    radial-gradient(1200px 880px at 82% 0%, rgba(122, 212, 255, 0.08), transparent 62%),
    radial-gradient(980px 640px at 4% 20%, rgba(197, 240, 78, 0.07), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 132px 132px;
  opacity: 0.18;
  z-index: 0;
}

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

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

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(197, 240, 78, 0.28);
  color: #f8fbff;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 240, 78, 0.24);
}

[id] {
  scroll-margin-top: 28px;
}

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

.site-header {
  z-index: 3;
}

/* background layers ------------------------------------------------------- */
.bg-grid,
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, rgba(0, 0, 0, 0.92) 48%, transparent 90%);
  opacity: 0.82;
}

.bg-glow {
  inset: auto -10% -30% -10%;
  height: 72vh;
  background:
    radial-gradient(42% 82% at 50% 100%, rgba(197, 240, 78, 0.11), transparent 72%),
    radial-gradient(30% 50% at 30% 50%, rgba(122, 212, 255, 0.07), transparent 80%);
}

/* shared layout ----------------------------------------------------------- */
.section,
.footer-inner {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(92px, 12vw, 156px) 0;
}

.section-head {
  max-width: 760px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-sub {
  margin: 0;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 12px;
  border: 1px solid rgba(54, 70, 89, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* header ------------------------------------------------------------------ */
.site-header {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(52, 66, 84, 0.84);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 13px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--text);
}

.site-header nav a.pill {
  border: 1px solid rgba(61, 77, 98, 0.88);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.site-header nav a.pill:hover {
  border-color: rgba(197, 240, 78, 0.58);
  color: var(--accent);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wordmark .mark {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.wordmark.small {
  font-size: 12px;
  opacity: 0.86;
}

/* hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 36px) clamp(20px, 4vw, 48px) 42px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero::before {
  top: 0;
  left: -8%;
  width: 52vw;
  height: 62vh;
  background: radial-gradient(circle at 0% 35%, rgba(197, 240, 78, 0.08), transparent 72%);
  filter: blur(12px);
}

.hero::after {
  right: -10%;
  top: 14%;
  width: 44vw;
  height: 48vh;
  background: radial-gradient(circle at 50% 50%, rgba(122, 212, 255, 0.08), transparent 70%);
}

.hero-grid {
  width: min(1380px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 0.96fr);
  gap: clamp(44px, 5vw, 80px);
  align-items: center;
  min-height: clamp(680px, calc(100svh - 190px), 860px);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 14px;
  border: 1px solid rgba(58, 74, 94, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 240, 78, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 10px;
  margin: 0 0 22px;
  color: rgba(237, 242, 248, 0.78);
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.44em;
  text-transform: uppercase;
}

.hero-brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 19px;
  line-height: 1;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-serif);
  font-size: clamp(3.55rem, 8.4vw, 7.25rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #d5dde8 48%, #bcc6d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .lede {
  margin: 28px 0 0;
  max-width: 36ch;
  color: var(--text-dim);
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-ghost {
  border: 1px solid rgba(58, 74, 94, 0.84);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 212, 255, 0.34);
  color: var(--text);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.signal-stage {
  --mx: 50%;
  --my: 50%;
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 0.98;
  border: 1px solid rgba(56, 72, 91, 0.82);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(40% 40% at 50% 50%, rgba(197, 240, 78, 0.08), transparent 72%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
    linear-gradient(180deg, rgba(7, 9, 12, 0.35), rgba(7, 9, 12, 0.82));
  box-shadow: var(--shadow);
  isolation: isolate;
}

.signal-stage::before,
.signal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.signal-stage::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 56%, transparent 98%);
  opacity: 0.72;
}

.signal-stage::after {
  background:
    radial-gradient(260px 220px at var(--mx) var(--my), rgba(197, 240, 78, 0.1), transparent 70%),
    radial-gradient(200px 180px at 68% 34%, rgba(122, 212, 255, 0.08), transparent 72%);
}

.book-shell {
  position: absolute;
  inset: 68px 28px 62px;
  border: 1px solid rgba(56, 72, 91, 0.82);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006)),
    linear-gradient(180deg, rgba(7, 9, 12, 0.18), rgba(7, 9, 12, 0.54));
  overflow: hidden;
}

.book-shell::before,
.book-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.book-shell::before {
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 44px, 72px 100%;
  opacity: 0.36;
}

.book-shell::after {
  left: 50%;
  width: 112px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(122, 212, 255, 0.09), rgba(122, 212, 255, 0.02)),
    linear-gradient(180deg, transparent, rgba(197, 240, 78, 0.08) 48%, transparent 52%);
  box-shadow:
    inset 1px 0 0 rgba(237, 242, 248, 0.06),
    inset -1px 0 0 rgba(237, 242, 248, 0.06);
}

.book-columns {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-columns span:first-child {
  padding-right: 10px;
  text-align: right;
}

.book-columns span:nth-child(2) {
  text-align: center;
}

.book-columns span:last-child {
  padding-left: 10px;
}

.book-ladder {
  position: absolute;
  top: 52px;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: grid;
  grid-template-rows: repeat(10, minmax(0, 1fr));
  gap: 8px;
}

.book-ladder::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14%;
  left: 14%;
  height: 74px;
  transform: translateY(-50%);
  border-top: 1px solid rgba(122, 212, 255, 0.2);
  border-bottom: 1px solid rgba(122, 212, 255, 0.2);
  background: linear-gradient(180deg, rgba(122, 212, 255, 0.04), rgba(122, 212, 255, 0.1), rgba(122, 212, 255, 0.04));
  pointer-events: none;
}

.book-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.book-cell {
  position: relative;
  display: flex;
  align-items: center;
  height: 32px;
  border: 1px solid rgba(56, 72, 91, 0.68);
  border-radius: 10px;
  background: rgba(7, 9, 12, 0.26);
  color: rgba(237, 242, 248, 0.86);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.book-cell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--depth, 0) * 100%);
  opacity: 0.92;
}

.book-cell-bid {
  justify-content: flex-end;
  padding: 0 12px;
}

.book-cell-bid::before {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(197, 240, 78, 0.18), rgba(197, 240, 78, 0.5));
}

.book-cell-ask {
  justify-content: flex-start;
  padding: 0 12px;
}

.book-cell-ask::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 179, 107, 0.5), rgba(255, 179, 107, 0.18), transparent);
}

.book-cell-empty {
  border-color: rgba(56, 72, 91, 0.28);
  background: rgba(255, 255, 255, 0.018);
}

.book-cell-empty::before {
  display: none;
}

.book-price {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid rgba(56, 72, 91, 0.74);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.58);
  color: rgba(237, 242, 248, 0.74);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.book-row-inside-ask .book-price,
.book-row-inside-bid .book-price {
  color: rgba(237, 242, 248, 0.96);
}

.book-row-inside-ask .book-price {
  border-color: rgba(255, 179, 107, 0.56);
  background: rgba(255, 179, 107, 0.08);
  box-shadow: 0 0 24px rgba(255, 179, 107, 0.12);
}

.book-row-inside-bid .book-price {
  border-color: rgba(197, 240, 78, 0.56);
  background: rgba(197, 240, 78, 0.08);
  box-shadow: 0 0 24px rgba(197, 240, 78, 0.12);
}

.book-row-inside-ask .book-cell-ask,
.book-row-inside-bid .book-cell-bid {
  border-color: rgba(95, 117, 143, 0.9);
}

.signal-metrics {
  position: absolute;
  right: 24px;
  bottom: 72px;
  display: grid;
  gap: 12px;
  width: min(42%, 250px);
}

.signal-metrics > div {
  padding: 10px 12px;
  border: 1px solid rgba(56, 72, 91, 0.82);
  border-radius: 14px;
  background: rgba(7, 9, 12, 0.46);
}

.metric-label,
.metric-value {
  display: block;
  font-family: var(--font-mono);
}

.metric-label {
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 4px;
  color: rgba(237, 242, 248, 0.88);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.ticker {
  width: min(1380px, 100%);
  margin: 28px auto 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(62, 80, 102, 0.78);
  border-bottom: 1px solid rgba(62, 80, 102, 0.78);
  background: rgba(255, 255, 255, 0.012);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 1;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  padding: 14px 0;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  animation: marquee 42s linear infinite;
}

.ticker-track span:nth-child(2n) {
  opacity: 0.44;
}

/* domain ------------------------------------------------------------------ */
.section-domain {
  padding-top: clamp(84px, 10vw, 130px);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.domain-panel {
  --mx: 50%;
  --my: 50%;
  position: relative;
  grid-column: span 5;
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(56, 72, 91, 0.82);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.004)),
    linear-gradient(180deg, rgba(7, 9, 12, 0.18), rgba(7, 9, 12, 0.58));
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.domain-panel::before,
.domain-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.domain-panel::before {
  content: attr(data-index);
  inset: auto 18px 8px auto;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
}

.domain-panel::after {
  background:
    radial-gradient(260px 200px at var(--mx) var(--my), rgba(197, 240, 78, 0.09), transparent 72%),
    linear-gradient(140deg, rgba(122, 212, 255, 0.05), transparent 36%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.domain-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 117, 143, 0.9);
}

.domain-panel:hover::after {
  opacity: 1;
}

.domain-panel-wide {
  grid-column: span 7;
}

.domain-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
}

.domain-num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.domain-glyph {
  width: 54px;
  height: 54px;
  color: rgba(237, 242, 248, 0.82);
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.domain-panel h3 {
  margin: 0 0 12px;
  max-width: 13ch;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.domain-panel p {
  margin: 0;
  max-width: 40ch;
  color: var(--text-dim);
  font-size: 15.5px;
}

/* primer ------------------------------------------------------------------ */
.section-primer {
  padding-top: clamp(96px, 12vw, 164px);
}

.primer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.primer-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.primer-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.primer-entry {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 24px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(60, 76, 96, 0.78);
}

.primer-index span {
  display: block;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.9;
}

.primer-index p {
  margin: 10px 0 0;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primer-body {
  padding: 2px 0 8px;
}

.primer-body h3 {
  margin: 0 0 18px;
  max-width: 16ch;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.primer-body p {
  margin: 0 0 14px;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 16px;
}

.primer-meta code {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* contact ----------------------------------------------------------------- */
.section-contact {
  padding-top: clamp(92px, 12vw, 152px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.contact-stage {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(59, 77, 98, 0.82);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(360px 240px at 82% 18%, rgba(122, 212, 255, 0.11), transparent 72%),
    radial-gradient(420px 320px at 15% 100%, rgba(197, 240, 78, 0.13), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006));
  overflow: hidden;
  isolation: isolate;
}

.contact-stage::before,
.contact-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-stage::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at var(--mx) var(--my), rgba(0, 0, 0, 0.88), transparent 88%);
  opacity: 0.74;
}

.contact-stage::after {
  background: radial-gradient(240px 180px at var(--mx) var(--my), rgba(197, 240, 78, 0.12), transparent 74%);
}

.contact-copy {
  position: relative;
  max-width: 650px;
}

.contact-copy h2 {
  margin: 0 0 18px;
  max-width: 11ch;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.contact-copy p {
  margin: 0;
  max-width: 54ch;
  color: var(--text-dim);
  font-size: 17px;
}

.email-cta {
  position: relative;
  display: inline-grid;
  gap: 8px;
  min-width: min(100%, 340px);
  padding: 22px 26px;
  border: 1px solid rgba(197, 240, 78, 0.58);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(197, 240, 78, 0.14), rgba(197, 240, 78, 0.04));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.email-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 240, 78, 0.9);
  background: linear-gradient(135deg, rgba(197, 240, 78, 0.18), rgba(197, 240, 78, 0.06));
}

.email-label,
.email-addr,
.email-note {
  font-family: var(--font-mono);
}

.email-label {
  color: rgba(11, 13, 8, 0.66);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.email-addr {
  color: #081004;
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.email-note {
  color: rgba(11, 13, 8, 0.62);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.email-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(11, 13, 8, 0.76);
  font-size: 22px;
}

/* footer ------------------------------------------------------------------ */
footer {
  border-top: 1px solid rgba(52, 66, 84, 0.72);
  margin-top: 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 34px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.footer-meta {
  display: inline-flex;
  gap: 12px;
}

.footer-meta .sep {
  opacity: 0.42;
}

/* reveal ------------------------------------------------------------------ */
[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.1, 1);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* motion ------------------------------------------------------------------ */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(197, 240, 78, 0.14);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(197, 240, 78, 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker-track,
  .eyebrow .dot {
    animation: none;
  }

  .domain-panel,
  .btn-ghost,
  .email-cta {
    transition: none;
  }
}

/* responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  :root {
    --header-h: 92px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1,
  .contact-copy h2,
  .section h2,
  .primer-body h3 {
    text-wrap: pretty;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .signal-stage {
    width: min(100%, 760px);
  }

  .domain-panel,
  .domain-panel-wide {
    grid-column: span 6;
  }

  .primer-layout {
    grid-template-columns: 1fr;
  }

  .primer-head {
    position: static;
  }

  .contact-stage {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 86px;
  }

  .section,
  .footer-inner {
    width: min(var(--maxw), calc(100% - 32px));
  }

  .site-header {
    top: 12px;
    width: calc(100% - 16px);
    padding: 12px 14px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 28px);
    padding-inline: 16px;
    padding-bottom: 24px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero .lede {
    font-size: 1.04rem;
  }

  .hero-cta {
    width: 100%;
  }

  .btn-ghost {
    width: 100%;
  }

  .signal-stage {
    aspect-ratio: 0.88;
    border-radius: 28px;
  }

  .signal-metrics {
    display: none;
  }

  .book-shell {
    inset: 58px 18px 52px;
    border-radius: 24px;
  }

  .book-shell::after {
    width: 82px;
  }

  .book-columns {
    left: 16px;
    right: 16px;
    grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
    gap: 8px;
    font-size: 9px;
  }

  .book-columns span:first-child {
    padding-right: 6px;
  }

  .book-columns span:last-child {
    padding-left: 6px;
  }

  .book-ladder {
    top: 46px;
    right: 14px;
    bottom: 14px;
    left: 14px;
    gap: 6px;
  }

  .book-ladder::after {
    right: 10%;
    left: 10%;
    height: 62px;
  }

  .book-row {
    grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
    gap: 8px;
  }

  .book-cell,
  .book-price {
    height: 28px;
    font-size: 11px;
  }

  .book-cell-bid,
  .book-cell-ask {
    padding: 0 10px;
  }
  .ticker {
    margin-top: 20px;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  .domain-panel,
  .domain-panel-wide {
    grid-column: auto;
    min-height: auto;
    padding: 24px;
  }

  .primer-entry {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .primer-index {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .primer-index p {
    margin-top: 0;
  }

  .contact-stage {
    padding: 26px 22px;
    border-radius: 30px;
  }

  .email-cta {
    width: 100%;
    min-width: 0;
  }

  .footer-inner,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
