/* Get Visible — redesign tokens */
:root {
  /* Ground */
  --ink: #0A0D10;
  --ink-2: #14181D;
  --ink-3: #1E242B;
  --ink-4: #2A3139;
  --rule: rgba(255,255,255,0.08);
  --rule-strong: rgba(255,255,255,0.18);

  /* Light */
  --paper: #F2EEE8;
  --paper-2: #E8E3DA;
  --paper-rule: rgba(10,13,16,0.10);

  /* Neutrals (cool) */
  --steel-50:  #EDF0F3;
  --steel-100: #D8DDE3;
  --steel-200: #B6BEC8;
  --steel-300: #8A95A3;
  --steel-400: #5E6874;
  --steel-500: #3E4650;

  /* Accent — single cyan, used sparingly */
  --cyan:   oklch(78% 0.13 220);
  --cyan-2: oklch(65% 0.14 220);
  --cyan-ink: oklch(35% 0.08 220);

  /* Type */
  --ff-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-serif:   "Instrument Serif", "EB Garamond", Georgia, serif;
  --ff-body:    "Geist", "Söhne", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-micro: 11px;
  --fs-caption: 13px;
  --fs-body: 16px;
  --fs-lede: 20px;

  /* Grid */
  --gutter: clamp(16px, 2.2vw, 32px);
  --maxw: 1440px;
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--paper);
  background: var(--ink);
  font-feature-settings: "ss01","cv11";
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--cyan); color: var(--ink); }

/* Utility */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--ff-mono); font-feature-settings: "ss01"; }
.serif { font-family: var(--ff-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.display { font-family: var(--ff-display); font-weight: 500; letter-spacing: -0.035em; line-height: 0.92; }
.micro { font-family: var(--ff-mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel-300); }

.hr { height: 1px; background: var(--rule); border: 0; }
.hr-paper { height: 1px; background: var(--paper-rule); border: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px;
  font-family: var(--ff-body); font-weight: 500; font-size: 15px;
  border: 1px solid var(--rule-strong); color: var(--paper);
  background: transparent; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--primary {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.btn--primary:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.btn--ghost { border-color: var(--rule); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Link */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--rule-strong);
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel-200);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px color-mix(in oklch, var(--cyan) 20%, transparent); }

/* Placeholder image block */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.035) 0 8px,
      transparent 8px 16px),
    var(--ink-2);
  border: 1px solid var(--rule);
  color: var(--steel-300);
  display: grid; place-items: center;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden;
}
.ph--paper {
  background:
    repeating-linear-gradient(135deg,
      rgba(10,13,16,0.05) 0 8px,
      transparent 8px 16px),
    var(--paper-2);
  border-color: var(--paper-rule);
  color: var(--steel-500);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Marquee */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }

/* Cursor blob */
.cursor-blob {
  position: fixed; pointer-events: none; z-index: 80;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklch, var(--cyan) 55%, transparent) 0%, transparent 60%);
  filter: blur(40px); opacity: 0;
  transform: translate(-50%,-50%);
  transition: opacity .4s;
  mix-blend-mode: screen;
}
body.cursor-on .cursor-blob { opacity: 1; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: color-mix(in oklch, var(--ink) 70%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }
.nav__brand-lockup { height: 28px; width: auto; display: block; }
.nav__brand-mark { display: block; }
.nav__brand b { color: inherit; font-weight: 600; text-transform: lowercase; letter-spacing: -0.02em; font-size: 19px; }
.nav__brand b em { font-style: normal; color: var(--cyan); }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--steel-200); }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a:hover { color: var(--paper); }
.nav__links a.is-active { color: var(--paper); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--cyan);
}
@media (max-width: 780px) { .nav__links { display: none; } }

/* Footer */
.foot {
  background: var(--ink);
  border-top: 1px solid var(--rule);
  padding: 80px var(--gutter) 40px;
  color: var(--steel-300);
}
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; max-width: var(--maxw); margin: 0 auto; }
.foot h5 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-400); margin: 0 0 16px; font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a:hover { color: var(--paper); }
.foot__bottom {
  max-width: var(--maxw); margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--steel-400);
  font-family: var(--ff-mono); letter-spacing: 0.04em;
}
@media (max-width: 780px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* Print/reset */
section { position: relative; }
