@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #0b0b0b;
  --fg: #f4f2ee;
  --muted: #8f8b84;
  --line: rgba(244, 242, 238, 0.14);
  --accent: #ff5a1f;
  --sans: "Inter Tight", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body { font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .balance { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: var(--pad); mix-blend-mode: difference; }
.wordmark { display: inline-flex; align-items: baseline; gap: 0.35em; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.wordmark .glyphs { font-family: var(--mono); font-weight: 500; letter-spacing: -0.08em; }
.wordmark .lab { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid currentColor; padding: 2px 6px 1px; transform: translateY(-2px); }
.nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; transition: opacity 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::before { content: "→ "; }

.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 60%, rgba(255, 90, 31, 0.18), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 80px), repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 80px), #0b0b0b; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-copy h1 { font-size: clamp(34px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; max-width: 12ch; }
.hero-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.8; text-align: right; opacity: 0.85; }
.hero-meta a { border-bottom: 1px solid var(--line); }
.hero-meta a:hover { border-color: var(--fg); }
.video-toggle { position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); background: none; border: 1px solid var(--line); color: var(--fg); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.hero:hover .video-toggle, .video-toggle:focus-visible { opacity: 0.8; }

.page { flex: 1; padding: calc(var(--pad) * 3 + 20px) var(--pad) var(--pad); max-width: 1400px; width: 100%; margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.page h1 { font-size: clamp(36px, 5.5vw, 76px); line-height: 1; letter-spacing: -0.035em; font-weight: 500; max-width: 16ch; margin-bottom: 28px; }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 46ch; margin-bottom: clamp(48px, 8vw, 96px); }

.caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 28px 36px; display: flex; flex-direction: column; gap: 14px; transition: background 0.25s; }
.cap:hover { background: rgba(255, 255, 255, 0.03); }
.cap .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cap h2 { font-size: 24px; letter-spacing: -0.02em; font-weight: 500; line-height: 1.15; }
.cap p { color: var(--muted); font-size: 16px; }
.cap ul { list-style: none; margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cap li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); padding: 4px 8px; }

.cta-band { margin-top: clamp(56px, 8vw, 112px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.cta-band p { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; max-width: 24ch; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--fg); padding: 14px 20px; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--fg); color: var(--bg); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); }
.contact-grid > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.contact-grid dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-grid dd { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; line-height: 1.3; }
.contact-grid dd a { border-bottom: 1px solid var(--line); transition: border-color 0.2s; }
.contact-grid dd a:hover { border-color: var(--fg); }
.brief { margin-top: clamp(48px, 7vw, 88px); max-width: 62ch; }
.brief h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 16px; }
.brief ol { padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; }

.site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--pad); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.site-footer a:hover { color: var(--fg); }

@media (max-width: 640px) { .hero-meta { text-align: left; } .wordmark { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
