/* ---------- Tokens ---------- */
:root {
  --bg:        #F8F5EF;
  --bg-2:      #F0EAE0;
  --paper:     #FDFCFA;
  --ink:       #231E18;
  --ink-2:     #4A4238;
  --mute:      #887F74;
  --line:      #D3CCC0;
  --line-2:    #BAB2A6;
  --accent:    #B8901C;
  --accent-soft: #EDE8D8;
  --btn:       #636365;
  --btn-hover: #4A4A4C;

  --serif: "Instrument Serif", "Cormorant Garamond", ui-serif, Georgia, serif;
  --sans:  "Söhne", "Helvetica Neue", Helvetica, "Neue Haas Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --heading-font: "Comfortaa", "Inter Tight", system-ui, -apple-system, sans-serif;
  --heading-size: clamp(22px, 2.4vw, 38px);
  --heading-weight: 500;
  --heading-tracking: -0.01em;
  --heading-leading: 1.2;
  --max: 1480px;
  --pad-x: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss01", "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  margin-right: 10px; transform: translateY(-1px);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.015em;
  line-height: 0.95;
}
.display em { font-style: normal; color: var(--accent); }
h2.title {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: var(--heading-size);
  line-height: var(--heading-leading);
  letter-spacing: var(--heading-tracking);
  margin: 0;
}
h2.title em { font-style: normal; font-weight: 500; color: var(--accent); }
p.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.section {
  padding-block: clamp(40px, 5vw, 80px);
  position: relative;
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.btn {
  --size: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: var(--size);
  padding: 0 22px;
  background: var(--btn);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  border: 1px solid var(--btn);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn .arrow { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--btn); background: transparent; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.reveal-line.in > span { transform: none; }
.reveal-line:nth-of-type(2) > span { transition-delay: 0.08s; }
.reveal-line:nth-of-type(3) > span { transition-delay: 0.16s; }
.reveal-line:nth-of-type(4) > span { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line > span { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

.legal { max-width: 780px; padding-block: clamp(40px, 6vw, 96px); }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-family: var(--heading-font); font-weight: 500; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 48px; }
.legal h2 { font-family: var(--heading-font); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; margin: 48px 0 12px; }
.legal h3 { font-family: var(--heading-font); font-weight: 500; font-size: 15px; letter-spacing: 0; margin: 28px 0 8px; }
.legal p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; max-width: 70ch; }
.legal ul { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 14px; padding-left: 18px; max-width: 70ch; }
.legal ul li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
