/* ==========================================================================
   NORTHLARK — visual system  "technical instrument"
   Near-black canvas · hairline structural grid · monospace as architecture
   Hard corners. No shadows. No gradients on type. No glow.
   ========================================================================== */

:root {
  /* Ground */
  --void:      #08090A;   /* page */
  --surface:   #0D0F10;   /* raised panel */
  --surface-2: #131617;   /* input / hover */

  /* Ink — warm off-white on cool black is the whole mood */
  --ink:       #E9E8E3;
  --ink-2:     #9A9C9B;
  --ink-3:     #63676A;

  /* Signal */
  --acid:      #D6F84C;   /* the only accent. Use it sparingly. */
  --acid-dim:  #9BB733;
  --alert:     #FF5A1F;

  /* Structure */
  --line:      rgba(233,232,227,.10);
  --line-2:    rgba(233,232,227,.18);

  /* Type */
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.03em; line-height: 1.02; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--acid); color: #000; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

/* ---------- The structural grid ----------
   Two hairlines run the full height of the page, inside which everything lives.
   This is the spine of the design — it is why the page reads as drawn, not stacked. */
.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  border-inline: 1px solid var(--line);
}
.wrap--narrow > * { max-width: 860px; }

.section { padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section--tight { padding-block: clamp(44px, 5vw, 68px); }
.section--paper2, .section--dark { background: #0B0C0D; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--acid); color: #000; padding: 10px 16px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 22px;
}
.eyebrow::before { content: "["; margin-right: 9px; color: var(--ink-3); }
.eyebrow::after  { content: "]"; margin-left: 9px;  color: var(--ink-3); }

.h1 { font-size: clamp(42px, 7.4vw, 92px); letter-spacing: -.042em; line-height: .95; }
.h2 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -.036em; line-height: 1.0; }
.h3 { font-size: clamp(19px, 1.9vw, 23px); letter-spacing: -.02em; line-height: 1.15; }
.h4 { font-size: 16px; letter-spacing: -.01em; }

.lede { font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.section-head { margin-bottom: clamp(38px, 5vw, 64px); }
.section-head .h2 { max-width: 20ch; }
.section-head .h2 + .lede { margin-top: 22px; }

/* ---------- Buttons — mono, square, mechanical ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  border-radius: 0;
  transition: background-color .14s var(--ease), color .14s var(--ease), border-color .14s var(--ease);
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn:hover { background: var(--surface-2); border-color: var(--ink-3); }

.btn--primary { background: var(--acid); color: #08090A; border-color: var(--acid); font-weight: 700; }
.btn--primary:hover { background: #E4FF6B; border-color: #E4FF6B; color: #08090A; }

.btn--ghost, .btn--onDark { background: transparent; color: var(--ink); }
.btn--light { background: var(--acid); color: #08090A; border-color: var(--acid); font-weight: 700; }
.btn--light:hover { background: #E4FF6B; color: #08090A; }
.btn--lg { padding: 18px 32px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; color: var(--acid);
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: border-color .14s var(--ease);
}
.textlink:hover { border-bottom-color: var(--acid); }
.textlink svg { width: 13px; height: 13px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8,9,10,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.03em; color: var(--ink); }
.logo__mark { width: 26px; height: 26px; flex: none; }
.logo__name em { font-style: normal; color: var(--acid); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 15px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  transition: color .14s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--acid); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px; background: var(--acid); }
.nav a.btn { padding: 13px 20px; font-size: 12px; }
.nav a.btn--primary { color: #08090A; background: var(--acid); }
.nav a.btn--primary:hover { color: #08090A; background: #E4FF6B; }
.header-cta { margin-left: 14px; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); border-radius: 0; cursor: pointer;
}
.nav-toggle span { position: relative; display: block; width: 16px; height: 1px; background: var(--ink); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink); transition: transform .22s var(--ease), top .18s var(--ease); }
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px var(--gutter) 24px; background: var(--void);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .header-cta { margin: 18px 0 0; width: 100%; border-bottom: 0 !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 132px) clamp(56px, 7vw, 96px); }
.hero::before { /* fine dot field — texture, not decoration */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(233,232,227,.13) .8px, transparent .8px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .h1 { max-width: 23ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.82fr); gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero .h1 em { font-style: normal; color: var(--acid); }
.hero .lede { margin-top: 0; }
.hero .btn-row { margin-top: 40px; }
.hero-note {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 11px;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3);
}
.hero-note svg { width: 14px; height: 14px; margin-top: 4px; color: var(--acid); flex: none; }

/* Instrument readout */
.flow { position: relative; border: 1px solid var(--line-2); background: var(--surface); padding: 24px; }
.flow::before, .flow::after { /* viewfinder corner ticks */
  content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--acid);
}
.flow::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.flow::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.flow__title { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.flow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); animation: blink 1.8s steps(1) infinite; }
@keyframes blink { 0%,60% { opacity: 1; } 61%,100% { opacity: .25; } }

.flow__row { display: flex; align-items: stretch; gap: 10px; }
.flow__node { flex: 1; min-width: 0; border: 1px solid var(--line); padding: 13px 14px; }
.flow__node b { display: block; font-family: var(--display); font-size: 14px; color: var(--ink); letter-spacing: -.01em; }
.flow__node span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }
.flow__node--accent { border-color: var(--acid-dim); background: rgba(214,248,76,.05); }
.flow__node--accent b { color: var(--acid); }
.flow__arrow { flex: none; display: grid; place-items: center; width: 16px; color: var(--ink-3); }
.flow__arrow svg { width: 16px; height: 16px; }

.flow__bars { margin-top: 22px; display: grid; gap: 0; }
.flow__bar {
  display: grid; grid-template-columns: 96px 1fr 26px; align-items: center; gap: 14px;
  padding-block: 11px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.flow__track { display: block; height: 3px; background: rgba(233,232,227,.08); overflow: hidden; }
.flow__fill { display: block; height: 100%; background: var(--acid); width: 0; animation: grow 1.4s var(--ease) forwards; }
.flow__bar:nth-child(2) .flow__fill { background: var(--alert); animation-delay: .14s; }
.flow__bar:nth-child(3) .flow__fill { background: var(--ink-2); animation-delay: .28s; }
.flow__bar b { color: var(--ink); text-align: right; }
@keyframes grow { from { width: 0; } to { width: var(--w, 70%); } }

/* ---------- Tech row ---------- */
.trustbar { border-top: 1px solid var(--line); }
.trustbar__inner { padding-block: 22px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.trustbar__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.trustbar__logos { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.trustbar__logo { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-2); }

/* ---------- Grids & panels ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Cards are cells in a ruled table, not floating objects */
.card {
  position: relative; background: var(--void); border: 0; border-radius: 0;
  padding: 34px 30px 32px;
  transition: background-color .16s var(--ease);
}
.card--link:hover { background: var(--surface); }
.card--link:hover .textlink { border-bottom-color: var(--acid); }
.card .h3 { margin-bottom: 14px; max-width: 22ch; }
.card p { color: var(--ink-2); font-size: 15.5px; }

/* Icons: hairline square, no fill */
.card__icon {
  width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 0;
  display: grid; place-items: center; margin-bottom: 26px; color: var(--acid);
}
.card__icon svg { width: 17px; height: 17px; }
.card__icon--coral { color: var(--alert); }

.card__list { margin-top: 22px; display: grid; gap: 0; list-style: none; }
.card__list li {
  position: relative; padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; line-height: 1.5; color: var(--ink-2);
}
.card__list li::before { content: "+"; position: absolute; left: 0; top: 9px; color: var(--acid); }
.card__list li strong { color: var(--ink); font-weight: 500; }
.card__foot { margin-top: 26px; }
.stretched { position: absolute; inset: 0; }

/* ---------- The gap (demo vs system) ---------- */
.gap-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: 0; border: 1px solid var(--line); }
@media (max-width: 900px) { .gap-grid { grid-template-columns: 1fr; } }
.gap-panel { padding: 34px 30px; height: 100%; position: relative; }
.gap-panel--thin { background: transparent; border-right: 1px solid var(--line); color: var(--ink-3); }
@media (max-width: 900px) { .gap-panel--thin { border-right: 0; border-bottom: 1px solid var(--line); } }
.gap-panel--thick { background: var(--surface); }
.gap-panel--thick::before, .gap-panel--thick::after { content: ""; position: absolute; width: 9px; height: 9px; border: 1px solid var(--acid); }
.gap-panel--thick::before { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.gap-panel--thick::after  { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }

.gap-panel__tag {
  display: inline-block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; padding: 0;
}
.gap-panel--thin .gap-panel__tag { color: var(--ink-3); }
.gap-panel--thick .gap-panel__tag { color: var(--acid); }
.gap-panel--thin .h3 { color: var(--ink-3); }

.gap-list { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.gap-list li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.gap-list--thin li { color: var(--ink-3); }
.gap-list--thin li::before { content: "—"; position: absolute; left: 0; top: 14px; color: var(--ink-3); opacity: .5; }
.gap-list--thick li { color: var(--ink-2); }
.gap-list--thick li strong { color: var(--ink); font-weight: 600; }
.gap-list--thick li::before {
  content: counter(gapitem, decimal-leading-zero); counter-increment: gapitem;
  position: absolute; left: 0; top: 15px;
  font-family: var(--mono); font-size: 10.5px; color: var(--acid);
}
.gap-list--thick { counter-reset: gapitem; }
.gap-panel__foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: .03em; color: var(--ink-3); }
.gap-panel--thick .gap-panel__foot { color: var(--ink-2); }

/* ---------- Process — a ruled schedule ---------- */
.steps { display: grid; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 58px minmax(0,.9fr) minmax(0,1.4fr);
  gap: clamp(14px, 3vw, 44px); padding-block: 32px;
  border-top: 1px solid var(--line); align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { counter-increment: step; font-family: var(--mono); font-size: 11.5px; color: var(--acid); padding-top: 4px; letter-spacing: .08em; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__meta { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step .card__list { margin-top: 18px; }
@media (max-width: 820px) {
  .step { grid-template-columns: 44px minmax(0,1fr); }
  .step > p, .step > div:last-child { grid-column: 2; }
}

/* ---------- Metrics — a spec block ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 880px) { .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .metrics { grid-template-columns: 1fr; } }
.metric { background: var(--void); padding: 30px 26px 28px; }
.metric__value { font-family: var(--display); font-size: clamp(36px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.05em; color: var(--acid); line-height: .9; font-variant-numeric: tabular-nums; }
.metric__value span { color: inherit; }
.metric__label { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Engagement patterns ---------- */
.case { display: flex; flex-direction: column; padding: 0; }
.case__banner { height: 4px; position: relative; background: var(--acid); }
.case__banner--b { background: var(--alert); }
.case__banner--c { background: var(--ink-2); }
.case__tag {
  position: absolute; left: 0; top: 22px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.case__body { padding: 56px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.case__result { margin-top: auto; padding-top: 22px; display: grid; gap: 0; }
.case__stat { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); align-items: baseline; }
.case__stat b { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--acid); font-weight: 500; }
.case__stat span { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }

/* ---------- Statement / quote ---------- */
.quote { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: clamp(28px,5vw,64px); align-items: start; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }
.quote__mark { display: none; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(24px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -.032em; color: var(--ink); }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote__avatar { width: 38px; height: 38px; border: 1px solid var(--acid); color: var(--acid); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; flex: none; }
.quote__by b { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.quote__by span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.quote__side { border-left: 1px solid var(--line); padding-left: 28px; }
@media (max-width: 900px) { .quote__side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }
.quote__side .metric__value { font-size: 34px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 28px;
  padding: 24px 0; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.022em;
  transition: color .14s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acid); }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--mono); font-size: 18px; line-height: 1;
  color: var(--acid); transition: transform .2s var(--ease); margin-top: 3px;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 28px; max-width: 74ch; color: var(--ink-2); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta { position: relative; border: 1px solid var(--line-2); background: var(--surface); padding: clamp(38px, 6vw, 76px); }
.cta::before, .cta::after { content: ""; position: absolute; width: 11px; height: 11px; border: 1px solid var(--acid); }
.cta::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cta::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.cta .h2 { max-width: 18ch; }
.cta .lede { margin-top: 20px; }
.cta .btn-row { margin-top: 34px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--acid); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px;
  background: var(--void); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 0;
  font-size: 15.5px;
  transition: border-color .14s var(--ease), background-color .14s var(--ease);
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23D6F84C' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px;
}
.field select option { background: var(--void); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acid); background: var(--surface-2); }
.field .hint, .field .error { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; }
.field .hint { color: var(--ink-3); }
.field .error { color: var(--alert); display: none; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--alert); }
.field.is-invalid .error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form__note { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; line-height: 1.6; color: var(--ink-3); }
.form__status { display: none; padding: 16px; border: 1px solid var(--acid); font-size: 14.5px; color: var(--ink); background: rgba(214,248,76,.06); }
.form__status.is-visible { display: block; }

/* ---------- Split / panel ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(30px, 5vw, 76px); align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); background: var(--surface); padding: clamp(26px, 3.4vw, 38px); }
.panel .h3 { color: var(--ink); }

.contact-list { list-style: none; display: grid; gap: 0; margin-top: 34px; }
.contact-list li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .ci { width: 34px; height: 34px; border: 1px solid var(--line-2); color: var(--acid); display: grid; place-items: center; }
.contact-list .ci svg { width: 15px; height: 15px; }
.contact-list b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 4px; }
.contact-list a, .contact-list span { font-size: 16px; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--acid); }

/* ---------- Solo profile ---------- */
.solo { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: clamp(24px,4vw,44px); align-items: start; }
@media (max-width: 700px) { .solo { grid-template-columns: 1fr; } }
.solo__photo {
  width: 170px; max-width: 100%; aspect-ratio: 1; border: 1px solid var(--acid);
  display: grid; place-items: center; color: var(--acid); background: rgba(214,248,76,.04);
  font-family: var(--mono); font-size: 30px; letter-spacing: .06em;
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(233,232,227,.13) .8px, transparent .8px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.page-hero > .wrap { position: relative; }
.page-hero .h1 { font-size: clamp(36px, 5.6vw, 68px); max-width: 17ch; }
.page-hero .lede { margin-top: 26px; }
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--ink-3); }
.crumbs a:hover { color: var(--acid); }
.crumbs span { margin-inline: 10px; opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a, .footer-links span { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-decoration: none; color: var(--ink-2); transition: color .14s var(--ease); }
.footer-links a:hover { color: var(--acid); }
.footer-about p { font-size: 14.5px; max-width: 36ch; margin-top: 20px; color: var(--ink-3); }
.footer-social { display: flex; gap: 8px; margin-top: 26px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: color .14s var(--ease), border-color .14s var(--ease); }
.footer-social a:hover { color: var(--acid); border-color: var(--acid); }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--acid); }

/* ---------- Reveal (JS-gated so no-JS still shows everything) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 42px; }
code { font-family: var(--mono); font-size: .9em; color: var(--acid); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
