@font-face { font-family: "Geist"; src: url("/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/fonts/DMSerifDisplay.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("/fonts/DMSerifDisplay-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: dark;
  /* primitives */
  --black: #000000; --gray-950: #111111; --gray-900: #1a1a1a; --gray-800: #262626; --gray-700: #333333;
  --gray-400: #8a8a8a; --gray-100: #ededed; --white: #ffffff;
  --paper: #f2efe9; --paper-line: #d9d4ca; --ink-2: #5c5852;
  --blue-400: #6b8fff;
  /* semantic (measured: #8a8a8a on #000 6.08; #5c5852 on #f2efe9 6.4) */
  --color-bg: var(--black);
  --color-bg-surface: var(--gray-950);
  --color-bg-surface-hover: var(--gray-900);
  --color-border: var(--gray-800);
  --color-border-strong: var(--gray-700);
  --color-text: var(--gray-100);
  --color-text-secondary: var(--gray-400);
  --color-accent-text: var(--blue-400);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --serif: "DM Serif Display", ui-serif, Georgia, serif;
  /* the sky fill: photo, lifted by itself, on a warm-to-cool floor */
  --sky-fill: url("/sky-sm.jpg") 0% 64% / 100% auto, url("/sky-sm.jpg") 0% 64% / 100% auto, linear-gradient(90deg, #8a4c12, #1c4868);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--color-bg); color: var(--color-text); font-family: var(--sans); -webkit-font-smoothing: antialiased; scroll-padding-top: 96px; }
body { font-size: 16px; line-height: 24px; overflow-x: clip; }
a { color: inherit; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid var(--color-accent-text); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p, li, dd { text-wrap: pretty; }
svg.i { width: 16px; height: 16px; flex: none; }
em { font-style: italic; }

/* text styles */
.serif { font-family: var(--serif); font-weight: 400; }
.display { font-family: var(--serif); font-size: clamp(44px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.02em; }
.heading-1 { font-family: var(--serif); font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.heading-2 { font-family: var(--serif); font-size: 48px; line-height: 1.04; letter-spacing: -0.015em; }
.heading-3 { font-family: var(--serif); font-size: 36px; line-height: 1.1; letter-spacing: -0.01em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 400; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 500; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.mono { font-family: var(--mono); }
.secondary { color: var(--color-text-secondary); }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 500; color: var(--color-text-secondary); letter-spacing: 0.02em; }
.sky-text { background: var(--sky-fill); background-blend-mode: screen, screen, normal; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; background: var(--white); color: var(--black); padding: 8px 12px; border-radius: 8px; text-decoration: none; transition: transform 300ms var(--ease); }
.skip:focus { transform: translateY(80px); }

/* nav: a quiet bar, the logo is the word */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 4px; padding: 14px 24px; white-space: nowrap; transition: background-color 400ms var(--ease), border-color 400ms var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: rgb(0 0 0 / 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--color-border); }
.nav .logo { font-family: var(--serif); font-size: 26px; line-height: 32px; font-weight: 400; letter-spacing: -0.01em; text-decoration: none; margin-right: auto; }
.nav a.link { text-decoration: none; color: var(--color-text-secondary); padding: 8px 12px; border-radius: 9999px; transition: color 300ms var(--ease); }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--color-text); }

/* buttons: white pills */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 9999px; text-decoration: none; background: var(--white); color: var(--black); border: 1px solid var(--white); transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease); }
.btn.button-sm { padding: 6px 14px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn.ghost { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn.ghost:hover { border-color: var(--color-text); }
.btn .arrow { transition: transform 300ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* small hero (404) */
.hero { padding-block: 160px 96px; }
.hero h1 { margin: 24px 0; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.proof { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 9999px; background: linear-gradient(135deg, #f0b25f, #4f9ac4); flex: none; animation: pulse 2400ms var(--ease) infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- home: intro, an idea printed layer by layer ---------- */
/* z-index keeps the headline above the big word */
.intro { position: relative; z-index: 2; height: 100svh; min-height: 560px; overflow: hidden; }
/* the big word, quiet behind the bottom of the hero */
.mark { position: absolute; z-index: 1; left: 0; right: 0; top: max(560px, 100svh); transform: translateY(-100%); text-align: center; font-family: var(--serif); font-size: 25.5vw; line-height: 0.74; letter-spacing: -0.03em; color: var(--gray-900); white-space: nowrap; user-select: none; pointer-events: none; }
.intro .over { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 0 24px 40px; }
.motion .intro .over { opacity: 0; }
.intro h1 { font-family: var(--serif); font-size: clamp(52px, 7.5vw, 112px); line-height: 0.95; letter-spacing: -0.02em; }


/* ---------- sections ---------- */
.section { padding-block: 144px; }

/* film grain over everything, very faint */
body::after { content: ""; position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.4; mix-blend-mode: overlay; background: 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 0.9s steps(5) infinite; }
@keyframes grain { 20% { transform: translate(-6%, 4%); } 40% { transform: translate(4%, -8%); } 60% { transform: translate(-3%, 7%); } 80% { transform: translate(8%, 2%); } }

/* ---------- the field: one canvas behind the whole page ---------- */
.field { position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 100svh; display: block; pointer-events: none; }
.motion .field { position: fixed; height: 100%; }

/* ---------- the statement, lit word by word ---------- */
.say { min-height: 100svh; display: grid; align-items: center; }
.say p { font-family: var(--serif); font-size: clamp(44px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.02em; color: var(--color-text-secondary); max-width: 1100px; }
.say em { color: var(--color-text); }

/* ---------- how: three full screens, the field changes shape for each ---------- */
.step { min-height: 100svh; max-width: 56%; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 96px max(24px, 7vw); }
.step .k { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--color-text-secondary); }
.step h2 { font-family: var(--serif); font-size: clamp(60px, 9vw, 150px); line-height: 0.92; letter-spacing: -0.02em; }
.step p { font-size: 20px; line-height: 30px; color: var(--color-text-secondary); max-width: 440px; }

/* ---------- final call ---------- */
.call { padding-block: 160px 120px; text-align: center; }
.call h2 { width: fit-content; margin-inline: auto; white-space: nowrap; font-family: var(--serif); font-size: clamp(44px, 11vw, 168px); line-height: 0.95; letter-spacing: -0.03em; padding-bottom: 0.08em; }
.call p { margin: 24px auto 40px; max-width: 460px; }

/* footer, with the word as a quiet signature */
footer { border-top: 1px solid var(--color-border); margin-top: 96px; overflow: hidden; }
.home footer { margin-top: 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
footer nav { display: flex; gap: 24px; }
footer a { text-decoration: none; color: var(--color-text-secondary); transition: color 300ms var(--ease); }
footer a:hover, footer a[aria-current="page"] { color: var(--color-text); }
.sig { font-family: var(--serif); font-size: 25.5vw; line-height: 0.74; letter-spacing: -0.03em; color: var(--gray-950); text-align: center; white-space: nowrap; user-select: none; margin-bottom: -0.02em; }

/* company facts (legal) */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts dl { border: 1px solid var(--color-border); border-radius: 16px; padding: 8px 24px; background: var(--color-bg-surface); }
.facts div.row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--color-border); }
.facts div.row:first-child { border-top: 0; }
.facts dt { color: var(--color-text-secondary); }
.facts dd { text-align: right; }

/* legal docs */
.doc { max-width: 720px; padding-top: 160px; }
.doc h1 { margin: 16px 0 8px; }
.doc .meta { margin-bottom: 48px; }
.doc h2 { margin: 48px 0 12px; display: flex; gap: 12px; align-items: baseline; font-family: var(--sans); }
.doc h2 .n { font-family: var(--serif); font-style: italic; font-size: 18px; font-weight: 400; color: var(--color-text-secondary); }
.doc p, .doc li { color: #cfcfcf; margin-bottom: 12px; }
.doc ul { padding-left: 24px; }
.doc a { color: var(--white); text-underline-offset: 3px; }
.doc dl { margin-top: 32px; }
.back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--color-text-secondary); transition: color 300ms var(--ease); }
.back:hover { color: var(--color-text); }

@media (max-width: 860px) {
  .step { max-width: none; justify-content: flex-end; padding-bottom: 12svh; }
  .facts { grid-template-columns: 1fr; }
  .heading-1 { font-size: 52px; }
  .heading-2 { font-size: 40px; }
  .heading-3 { font-size: 30px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 12px 16px; }
  .nav .hide-sm { display: none; }
  .nav .logo { font-size: 24px; }
  .hero { padding-block: 128px 64px; }
  .heading-1 { font-size: 44px; }
  .intro .over { flex-direction: column; align-items: flex-start; gap: 24px; padding: 0 20px calc(19vw + 28px); }
  .section { padding-block: 96px; }
  .call { padding-block: 112px 80px; }
  .facts div.row { flex-direction: column; gap: 4px; }
  .facts dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .dot, body::after { animation: none; }
}
