/* ==========================================================================
   Nurik - global stylesheet
   ========================================================================== */

:root {
  /* Brand */
  --purple: #9B59B6;
  --purple-light: #D3A6E5;
  --purple-deep: #6B3A82;

  /* Darks */
  --ink-deepest: #07070A;
  --ink-deep: #0E0E11;
  --ink: #16161A;
  --ink-surface: #1C1C22;
  --ink-panel: #22222A;
  --ink-line: #2C2C34;
  --ink-line-soft: #1F1F26;

  /* Greys */
  --grey-900: #1A1A1F;
  --grey-700: #3A3A42;
  --grey-500: #6E6E78;
  --grey-300: #B8B8C2;
  --grey-200: #D4D4DC;

  /* Legacy aliases (kept so all existing rules keep working) */
  --white: #F4F4F7;
  --paper: var(--ink);
  --paper-line: var(--ink-line);
  --mute: var(--grey-500);
  --mute-dark: var(--grey-500);

  /* Type */
  --f-display: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --f-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--grey-200);
  background: var(--ink-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Container ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.d-xl { font-size: clamp(56px, 9vw, 132px); }
.d-lg { font-size: clamp(44px, 6.5vw, 96px); }
.d-md { font-size: clamp(36px, 4.8vw, 68px); }
.d-sm { font-size: clamp(28px, 3.4vw, 48px); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple);
  vertical-align: middle;
  margin-right: 10px; margin-bottom: 2px;
}

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 62ch;
}

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; }

em.italic { font-family: var(--f-display); font-style: italic; font-weight: 500; }
.purple { color: var(--purple); }

/* Gradient italic emphasis - applied to display headings and the footer tag */
.hero h1 em,
.s-intro h2 em,
.dark .s-intro h2 em,
.ink .s-intro h2 em,
.why-section .s-intro h2 em,
.why-rule h3 em,
.cta h2 em,
.work-case h3 em,
.found h3 em,
.layer h3 em,
.product h3 em,
.form-side h2 em,
.footer-tag em.purple {
  background: linear-gradient(100deg, var(--purple-deep) 0%, var(--purple) 35%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  padding-right: 0.18em;
  margin-right: -0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.serif-em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ---------- Dark ---------- */
.dark {
  background: var(--ink-deep);
  color: var(--white);
}
.dark .eyebrow { color: var(--mute-dark); }
.dark .lede { color: rgba(255,255,255,0.78); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--ink-line);
  color: var(--white);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { height: 22px; }
.nav-logo img { height: 22px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}
.nav-links a { transition: color 0.18s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--purple-light); }
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 20px -6px rgba(155,89,182,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: background 0.18s, box-shadow 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  color: var(--ink);
  box-shadow: 0 10px 26px -6px rgba(211,166,229,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  font-family: var(--f-sans);
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 28px -10px rgba(155,89,182,0.65), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  color: var(--ink);
  box-shadow: 0 14px 36px -10px rgba(211,166,229,0.7), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}
.btn-ghost-dark { border: 1px solid rgba(255,255,255,0.2); color: var(--white); }
.btn-ghost-dark:hover { border-color: var(--white); }
.btn-ghost-light { border: 1px solid rgba(28,28,28,0.16); color: var(--ink); }
.btn-ghost-light:hover { border-color: var(--ink); }
.btn-arrow::after { content: "→"; font-family: var(--f-sans); }

/* ---------- Sections ---------- */
.section {
  padding: clamp(80px, 11vw, 160px) 0;
  border-top: 1px solid transparent;
}
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.paper {
  background: var(--ink-surface);
  color: var(--grey-200);
  position: relative;
}
.section.paper::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(155,89,182,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,89,182,0.11) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 80%);
  pointer-events: none;
}
.section.paper > * { position: relative; }

.section.paper-lavender {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(155,89,182,0.32) 0%, rgba(155,89,182,0) 55%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(107,58,130,0.26) 0%, rgba(107,58,130,0) 60%),
    linear-gradient(180deg, #1A1424 0%, #120E1A 100%);
  color: var(--grey-200);
  position: relative;
}
.section.paper-lavender::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(211,166,229,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211,166,229,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 65% at 80% 20%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 80% 20%, black 0%, transparent 70%);
  pointer-events: none;
}
.section.paper-lavender > * { position: relative; }
.section.dark { background: var(--ink-deepest); color: var(--grey-200); }
.section.ink { background: var(--ink); color: var(--grey-200); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 40px;
  border-top: 1px solid var(--ink-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:nth-child(4) { grid-column: 2; }
}
.footer-logo { height: 28px; width: auto; margin-bottom: 20px; }
.footer-tag { font-family: var(--f-display); font-size: 22px; color: rgba(255,255,255,0.9); max-width: 30ch; line-height: 1.15; }
.footer h3 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 500; margin: 0 0 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

/* ---------- Utility: scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1), transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Card base ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s, border-color 0.25s;
}
.dark .card, .ink .card {
  background: var(--ink-surface);
  border-color: var(--ink-line);
  color: var(--white);
}
.card:hover { transform: translateY(-2px); }

/* ---------- Rule ---------- */
.rule { height: 1px; background: var(--paper-line); }
.dark .rule, .ink .rule { background: var(--ink-line); }

/* ---------- Labels ---------- */
.numlabel {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mute);
}
.dark .numlabel, .ink .numlabel { color: var(--mute-dark); }

/* ---------- Marquee-ish divider label ---------- */
.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.section-label::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.5; }
.dark .section-label, .ink .section-label { color: var(--mute-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 96px);
  background: var(--ink-deep);
  color: var(--white);
  border-bottom: 1px solid var(--ink-line);
}
.page-hero .eyebrow { color: var(--purple-light); }

/* ---------- Misc ---------- */
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.stack-sm > * + * { margin-top: 12px; }
.stack-md > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }

/* ==========================================================================
   Dark-mode overrides - applied site-wide.
   These rules retarget per-page styles (background: var(--white)/var(--paper),
   color: #444/#555) to the dark palette without editing every page rule.
   ========================================================================== */

/* Panels/cards/forms that were on white become dark surfaces */
.card,
form {
  background: var(--ink-surface) !important;
  border-color: var(--ink-line) !important;
  color: var(--grey-200);
}

/* Form-wrap section gets the lavender gradient instead of cream */
.form-wrap {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(155,89,182,0.14) 0%, rgba(155,89,182,0) 55%),
    linear-gradient(180deg, #141418 0%, #101014 100%) !important;
  color: var(--grey-200);
}

/* Body copy that was dark grey on light - now light grey on dark */
.s-intro p,
.problem-cell p,
.found p,
.wru-card .a {
  color: var(--grey-300) !important;
}

.found li { color: var(--grey-300) !important; border-bottom-color: var(--ink-line) !important; }

/* .wru-card was a white panel */
.wru-card {
  background: var(--ink-surface) !important;
  color: var(--grey-200) !important;
  border: 1px solid var(--ink-line);
}
.wru-card .q { color: var(--grey-200) !important; }

/* Foundations timeline - dashed dividers need dark lines */
.founds { border-top-color: rgba(255,255,255,0.12) !important; border-bottom-color: rgba(255,255,255,0.12) !important; }
.found { border-right-color: rgba(255,255,255,0.12) !important; }

/* Inline "color: #444" overrides on lede paragraphs */
.lede[style*="#444"],
p[style*="#444"] { color: var(--grey-300) !important; }

/* Form inputs */
.field input, .field select, .field textarea {
  background: var(--ink-deep) !important;
  border-color: var(--ink-line) !important;
  color: var(--grey-200) !important;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--purple) !important;
  background: var(--ink-surface) !important;
}
.field label, .field-legend { color: var(--grey-500) !important; }

.chip {
  background: var(--ink-surface) !important;
  border-color: var(--ink-line) !important;
  color: var(--grey-300);
}

/* Card - override the :root default */
.card { background: var(--ink-surface); border-color: var(--ink-line); }
.card:hover { border-color: var(--ink-line); }

/* Section rule lines */
.rule { background: var(--ink-line) !important; }

/* Eyebrow dot on dark */
.eyebrow { color: var(--grey-500); }

/* ---------- Mobile hamburger nav ---------- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: 12px;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-inner { position: relative; gap: 12px; }
  .nav-toggle { display: block; margin-left: 0; }
  .nav-cta {
    margin-left: auto;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--ink-line);
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 8px 0;
    font-size: 16px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a {
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--ink-line-soft);
  }
  .nav-links a:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Home page (index.html) - extracted from inline <style>
   ========================================================================== */

.hero {
  min-height: calc(100vh - 64px);
  padding: clamp(80px, 12vw, 140px) 0 clamp(24px, 3.5vw, 48px);
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(155,89,182,0.28) 0%, rgba(155,89,182,0) 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(107,58,130,0.22) 0%, rgba(107,58,130,0) 60%),
    var(--ink-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(155,89,182,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,89,182,0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, black 0%, transparent 75%);
  pointer-events: none;
}
.hero-mark {
  position: absolute;
  top: -60px; right: -80px;
  width: 520px;
  height: auto;
  opacity: 0.11;
  filter: blur(0.5px);
  pointer-events: none;
}
@media (max-width: 960px) {
  .hero-mark { width: 360px; top: -20px; right: -100px; opacity: 0.09; }
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 220px);
}
.hero-copy { max-width: min(900px, 72%); }
@media (max-width: 1200px) { .hero-copy { max-width: 80%; } }
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-inner { min-height: 0; padding-top: 40px; padding-bottom: 40px; }
  .hero-copy { max-width: 100%; }
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 24px 0 0;
  color: var(--white);
}
.hero h1 .line { display: block; }
.hero h1 .m-br { display: none; }
@media (max-width: 600px) {
  .hero h1 .m-br { display: block; }
}
.hero h1 em {
  font-style: italic;
  color: var(--purple-light);
}
.hero h1 .hero-grad {
  font-style: italic;
  background: linear-gradient(100deg, var(--purple-deep) 0%, var(--purple) 35%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  padding: 0 0.08em 0.12em;
  margin: 0 -0.08em -0.12em;
  line-height: 1.1;
  filter: drop-shadow(0 0 28px rgba(155,89,182,0.35));
}
.hero-sub {
  margin-top: 36px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
}
.hero-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Purple gradient emphasis */
.confusion-grad {
  color: var(--purple);
}

/* Scrolling ticker */
.ticker {
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 110s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker .ti {
  font-family: var(--f-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  letter-spacing: -0.005em;
  font-weight: 400;
}
.ticker .ti-dot {
  color: var(--purple);
  font-size: 8px;
  opacity: 0.7;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Problem grid */
#problem { padding-top: clamp(28px, 7vw, 96px); }
.problem-head {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
@media (max-width: 880px) { .problem-head { grid-template-columns: 1fr; gap: 16px; } }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-line);
}
@media (max-width: 720px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-cell {
  padding: 40px 0 44px;
  padding-right: 40px;
  border-bottom: 1px solid var(--paper-line);
  position: relative;
}
.problem-cell:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--paper-line); }
.problem-cell:nth-child(even) { padding-left: 40px; }
@media (max-width: 720px) {
  .problem-cell, .problem-cell:nth-child(odd), .problem-cell:nth-child(even) {
    padding: 36px 0; border-right: 0;
  }
}
.problem-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple);
  margin-bottom: 14px;
}
.problem-cell h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.problem-cell p { color: #555; font-size: 15.5px; margin: 0; }

/* Approach layers */
.approach-section {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(155,89,182,0.22) 0%, rgba(155,89,182,0) 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(107,58,130,0.18) 0%, rgba(107,58,130,0) 60%),
    var(--ink);
  color: var(--grey-200);
  position: relative;
  overflow: hidden;
}
.approach-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(211,166,229,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211,166,229,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, black 0%, transparent 75%);
  pointer-events: none;
}
.approach-section > * { position: relative; z-index: 1; }
.layer {
  display: grid;
  grid-template-columns: 140px 1.1fr 1fr;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(155,89,182,0.18);
  align-items: start;
}
.layer:first-of-type { border-top: 1px solid rgba(155,89,182,0.18); }
@media (max-width: 880px) { .layer { grid-template-columns: 1fr; gap: 20px; } }
.layer-num {
  font-family: var(--f-display);
  font-size: clamp(64px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, var(--purple-light) 0%, var(--purple) 60%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(155,89,182,0.3));
}
.layer h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
}
.layer p { color: rgba(255,255,255,0.7); margin: 0 0 14px; }
.layer .tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  padding: 6px 12px;
  border: 1px solid rgba(211,166,229,0.3);
  border-radius: 999px;
  margin-top: 8px;
}
.layer-viz {
  border: 1px solid rgba(155,89,182,0.22);
  border-radius: 14px;
  padding: 24px;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(155,89,182,0.10) 0%, rgba(155,89,182,0) 70%),
    var(--ink-surface);
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  box-shadow: 0 12px 40px -16px rgba(155,89,182,0.25);
}
.layer-viz .lbl { color: var(--purple-light); text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; margin-bottom: 10px; }
.layer-viz ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.layer-viz li { display: flex; gap: 10px; align-items: center; }
.layer-viz li::before { content: ""; width: 6px; height: 6px; background: var(--purple); border-radius: 50%; }
.layer-viz .bar { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--ink-line); overflow: hidden; position: relative; }
.layer-viz .bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--purple), var(--purple-light)); width: 70%; transform: scaleX(0); transform-origin: left center; transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1); }
.layer-viz.in .bar i { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .layer-viz .bar i { transition: none; transform: scaleX(1); }
}

/* Foundations timeline */
.founds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
@media (max-width: 860px) { .founds { grid-template-columns: 1fr; } }
.found {
  padding: 48px 36px 48px 0;
  border-right: 1px solid var(--paper-line);
  position: relative;
}
.found:last-child { border-right: 0; padding-right: 0; }
.found + .found { padding-left: 36px; }
@media (max-width: 860px) {
  .found { border-right: 0; border-bottom: 1px solid var(--paper-line); padding: 40px 0; }
  .found + .found { padding-left: 0; }
  .found:last-child { border-bottom: 0; }
}
.found .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.found h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.found p { font-size: 15px; color: #555; margin: 0 0 20px; }
.found ul { list-style: none; padding: 0; margin: 20px 0; font-size: 14px; }
.found li { padding: 8px 0; border-bottom: 1px dashed var(--paper-line); font-family: var(--f-mono); font-size: 13px; color: #333; }
.found li:last-child { border-bottom: 0; }
.found .price {
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--purple);
  text-transform: uppercase;
}

/* The work - case studies */
.work-section {
  background: #000;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(155,89,182,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,89,182,0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 75%);
  pointer-events: none;
}
.work-section > * { position: relative; z-index: 1; }
.work-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}
.work-case {
  padding: 56px;
  border: 1px solid rgba(155,89,182,0.18);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(155,89,182,0.10) 0%, rgba(155,89,182,0) 60%),
    linear-gradient(180deg, #0A0A0E 0%, #050507 100%);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.work-case:hover {
  border-color: rgba(211,166,229,0.45);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -24px rgba(155,89,182,0.45);
}
@media (max-width: 720px) {
  .work-case { padding: 36px 28px; }
}
.work-case .num {
  font-family: var(--f-display);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, var(--purple-light) 0%, var(--purple) 60%, var(--purple-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.work-case h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--white);
}
.work-case h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--purple-light);
}
.work-case .body {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 64ch;
}
.work-case .result {
  border-left: 2px solid var(--purple);
  padding: 6px 0 6px 20px;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--white);
  line-height: 1.4;
  max-width: 56ch;
  background: linear-gradient(90deg, rgba(155,89,182,0.10) 0%, rgba(155,89,182,0) 60%);
}
.work-case .result strong {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--purple-light);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
.product {
  padding: 56px;
  background: var(--ink-surface);
  transition: background 0.3s;
}
.product:hover { background: #25252a; }
.product .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--purple-light);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.product h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.product p { color: rgba(255,255,255,0.72); margin: 0 0 28px; font-size: 15.5px; }
.product a.more {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
}
.product a.more:hover { color: var(--white); }

/* Where are you */
.wru {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .wru { grid-template-columns: 1fr; } }
.wru-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  padding: 36px;
  transition: border-color 0.2s, opacity 1.4s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}
.wru-card:nth-child(odd) { transform: translateX(-80px); }
.wru-card:nth-child(even) { transform: translateX(80px); }
.wru.in .wru-card { opacity: 1; transform: translateX(0); }
.wru.in .wru-card:nth-child(1) { transition-delay: 0s; }
.wru.in .wru-card:nth-child(2) { transition-delay: 0.18s; }
.wru.in .wru-card:nth-child(3) { transition-delay: 0.36s; }
.wru.in .wru-card:nth-child(4) { transition-delay: 0.54s; }
@media (prefers-reduced-motion: reduce) {
  .wru-card { opacity: 1; transform: none; transition: border-color 0.2s; }
}
.wru-card:hover { border-color: var(--purple); }
.wru-card .q {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin: 12px 0 18px;
}
.wru-card .a { font-size: 15px; color: #555; margin: 0; }

/* Why - editorial rules */
.why-section {
  background: var(--ink-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-section .s-intro h2,
.why-section .s-intro h2 em { color: var(--white); }
.why-section .s-intro h2 em { color: var(--purple-light); font-style: italic; }
.why-section .eyebrow { color: var(--purple-light); }
.why-lede { color: rgba(255,255,255,0.72) !important; }
.why-mark {
  position: absolute;
  bottom: -40px; left: -40px;
  width: 440px;
  opacity: 0.06;
  pointer-events: none;
}

.why-rules {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink-line);
  position: relative;
  z-index: 1;
}
.why-rule {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--ink-line);
  position: relative;
}
.why-rule > div { margin-top: 18px; padding-left: 80px; }
@media (max-width: 880px) {
  .why-rule { grid-template-columns: 1fr; gap: 16px; padding: 40px 0 48px; }
  .why-rule > div { margin-top: 0; padding-left: 0; }
}
.why-rule .num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--purple-light);
  padding-top: 14px;
}
.why-rule h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--white);
}
.why-rule h3 em {
  font-style: italic;
  color: var(--purple-light);
  font-weight: 400;
}
.why-rule .body {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  line-height: 1.55;
  max-width: 48ch;
}
.why-rule .vs {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 14px;
}
.why-rule .vs s {
  text-decoration-color: rgba(255,255,255,0.4);
  text-decoration-thickness: 1px;
  color: rgba(255,255,255,0.6);
  margin-right: 8px;
}
.why-rule .vs b {
  color: var(--purple-light);
  font-weight: 500;
  display: block;
  margin-top: 6px;
}

.longterm { overflow: hidden; padding: clamp(8px, 1.5vw, 20px) 0 clamp(40px, 5vw, 72px); }
.longterm-mark {
  position: absolute;
  bottom: -80px; right: -80px;
  width: 380px;
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.longterm-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .longterm-grid { grid-template-columns: 1fr; gap: 20px; }
  .longterm-mark { width: 240px; bottom: -50px; right: -50px; }
}
.longterm-photo {
  display: block;
  margin: clamp(20px, 2vw, 32px) 0 0 auto;
  width: clamp(96px, 13vw, 180px);
  height: clamp(96px, 13vw, 180px);
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(211,166,229,0.35);
  box-shadow: 0 12px 32px -10px rgba(155,89,182,0.45);
}
.longterm-grid .kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding-top: 10px;
}
.longterm-grid p {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  margin: 0;
  color: var(--white);
  letter-spacing: -0.01em;
}
.longterm-grid p em {
  font-style: italic;
  color: rgba(255,255,255,0.72);
}
.longterm-grid .attrib {
  margin-top: 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Typewriter effect for the long-term quote */
.longterm-quote .lt-ghost { color: transparent; }
.longterm-quote .lt-ghost em { color: transparent; }
.longterm-quote .lt-caret {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: var(--purple-light);
  vertical-align: -0.1em;
  margin: 0 1px 0 2px;
  animation: lt-blink 0.9s step-end infinite;
}
@keyframes lt-blink { 50% { opacity: 0; } }

/* CTA */
.cta {
  background: var(--ink-deep);
  color: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-mark {
  position: absolute;
  bottom: -200px; left: -100px;
  width: 700px;
  opacity: 0.06;
  pointer-events: none;
}
.cta-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto 56px;
}
@media (max-width: 720px) {
  .cta-head { gap: 12px; margin-bottom: 40px; }
}
.cta h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 18ch;
}
.cta h2 em { font-style: italic; color: var(--purple-light); }
.cta-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}
.cta-card {
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(211,166,229,0.22) 0%, rgba(211,166,229,0) 60%),
    linear-gradient(160deg, var(--purple-deep) 0%, #3A1F4F 100%);
  border: 1px solid rgba(211,166,229,0.28);
  border-radius: 18px;
  padding: 64px 56px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 24px 60px -24px rgba(155,89,182,0.45);
  position: relative;
  overflow: hidden;
}
.cta-card:hover { border-color: var(--purple-light); transform: translateY(-3px); box-shadow: 0 32px 80px -24px rgba(155,89,182,0.6); }
.cta-card .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--purple-light); text-transform: uppercase; margin-bottom: 24px; }
.cta-card h3 { font-family: var(--f-display); font-size: 40px; font-weight: 500; line-height: 1.1; margin: 0 0 20px; letter-spacing: -0.02em; color: var(--white); }
.cta-card h3 em { font-style: normal; color: var(--white); font-weight: inherit; }
.cta-card p { color: rgba(255,255,255,0.78); font-size: 17px; margin: 0 0 32px; max-width: 38ch; }
.cta-card .btn-primary { background: var(--white); color: var(--purple-deep); }
.cta-card .btn-primary:hover { background: var(--purple-light); color: var(--purple-deep); }
.cta-card .price { font-family: var(--f-mono); font-size: 13px; color: var(--purple-light); margin-bottom: 20px; }

/* Section intro */
.s-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 880px) { .s-intro { grid-template-columns: 1fr; gap: 24px; } }
.s-intro h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
}
.s-intro h2 em { font-style: italic; color: var(--purple); }
.dark .s-intro h2 em, .ink .s-intro h2 em { color: var(--purple-light); }
.s-intro p { margin: 0; font-size: 17px; color: #444; max-width: 52ch; }
.dark .s-intro p, .ink .s-intro p { color: rgba(255,255,255,0.72); }

/* ==========================================================================
   Contact page (contact.html) - extracted from inline <style>
   ========================================================================== */

.contact-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(32px, 5vw, 64px);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(155,89,182,0.28) 0%, rgba(155,89,182,0) 55%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(107,58,130,0.22) 0%, rgba(107,58,130,0) 60%),
    linear-gradient(180deg, #120E1A 0%, #0A0810 100%);
  color: var(--grey-200);
  position: relative;
  overflow: hidden;
}
.contact-hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 20px 0 24px;
  max-width: 16ch;
  color: #fff;
}
.contact-hero h1 .grad {
  font-style: italic;
  background: linear-gradient(100deg, var(--purple-deep) 0%, var(--purple) 35%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  padding: 0 0.08em 0.12em;
  margin: 0 -0.08em -0.12em;
  line-height: 1.1;
}
.contact-hero p {
  max-width: 54ch;
  color: var(--grey-300);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
}

.form-wrap {
  padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 10vw, 160px);
  background: var(--ink-deep);
  position: relative;
}
.form-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(155,89,182,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,89,182,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 80%);
  pointer-events: none;
}
.form-wrap > * { position: relative; }
.form-inner {
  max-width: 760px;
  margin: 0 auto;
}

.contact-hero .container { position: relative; }
.hero-direct {
  position: absolute;
  top: 0;
  right: var(--gutter);
  text-align: right;
}
.hero-direct .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin: 0 0 6px;
}
.hero-direct .email {
  font-size: 15px;
  color: var(--grey-200);
  text-decoration: none;
  transition: color 0.15s;
}
.hero-direct .email:hover { color: var(--purple-light); }
@media (max-width: 480px) {
  .hero-direct .label { font-size: 10px; }
  .hero-direct .email { font-size: 13px; }
}

.form-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 28px;
  text-align: center;
}

form {
  background: var(--ink-surface);
  border: 1px solid var(--ink-line);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 48px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label,
.field-legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); }
.field input, .field select, .field textarea {
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--grey-200);
  background: var(--ink-deep);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 14px 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-500); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--purple);
  background: #121218;
}
.field textarea { min-height: 140px; resize: vertical; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--ink-deep);
  border: 1px solid var(--ink-line);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  color: var(--grey-300);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}
.chip:hover { border-color: var(--purple-light); color: #fff; }
.chip.on {
  background: var(--purple) !important;
  border-color: var(--purple) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px -4px rgba(155,89,182,0.55);
}
.chip.on:hover { background: var(--purple-light) !important; border-color: var(--purple-light) !important; color: var(--ink) !important; }
.intent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 620px) { .intent { grid-template-columns: 1fr; } }
.intent button {
  text-align: left;
  background: var(--ink-deep);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 20px 22px;
  color: var(--grey-300);
  cursor: pointer;
  transition: all 0.2s;
}
.intent button:hover { border-color: var(--purple-light); }
.intent button.on {
  background: rgba(155,89,182,0.1);
  border-color: var(--purple);
  color: #fff;
}
.intent .i-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-light); margin-bottom: 8px; }
.intent .i-t { font-family: var(--f-display); font-size: 20px; line-height: 1.1; font-weight: 500; }

.form-submit {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  margin-top: 12px;
  gap: 16px;
  flex-wrap: wrap;
}
.form-submit .note { font-family: var(--f-mono); font-size: 11px; color: var(--grey-500); letter-spacing: 0.06em; }

/* ==========================================================================
   Legal pages (privacy.html, terms.html) - extracted from inline <style>
   Both pages had identical style blocks; merged once here.
   ========================================================================== */

.legal-hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(155,89,182,0.18) 0%, rgba(155,89,182,0) 55%),
    linear-gradient(180deg, #120E1A 0%, #0A0810 100%);
  border-bottom: 1px solid var(--ink-line);
}
.legal-hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 20px 0 16px;
  color: #fff;
}
.legal-hero .sub { color: var(--grey-300); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; }
.legal-body { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 10vw, 160px); background: var(--ink-deep); }
.legal-body .inner {
  max-width: 72ch;
  margin: 0 auto;
  color: var(--grey-200);
  font-size: 16.5px;
  line-height: 1.7;
}
.legal-body h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 56px 0 16px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin: 0 0 18px; color: var(--grey-200); }
.legal-body ul { margin: 0 0 22px; padding-left: 22px; }
.legal-body ul li { margin-bottom: 8px; color: var(--grey-200); }
.legal-body a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-body .card {
  padding: 28px 32px;
  background: var(--ink-surface);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  margin-top: 32px;
}
.legal-body .card h3 { font-family: var(--f-display); font-weight: 500; font-size: 20px; margin: 0 0 8px; color: #fff; }
.legal-body .card p { margin: 0; color: var(--grey-300); font-size: 15px; }
