/* ==========================================================================
   SteelGateSec — Main Stylesheet
   "The Quiet Operator" — editorial / engineering-instrument system.
   Warm paper · near-black ink · single violet accent.
   Space Grotesk (display) · Atkinson Hyperlegible (body) · JetBrains Mono (data)
   No gradients. No glow. No glass. Hairlines and type do the work.
   ========================================================================== */

:root {
  /* accent — from the brand */
  --violet:      #7c3aed;
  --violet-300:  #a78bfa;
  --violet-600:  #6d28d9;
  --violet-700:  #5b21b6;
  --violet-ink:  #4c1d95;
  --violet-050:  rgba(124, 58, 237, .06);
  --violet-100:  rgba(124, 58, 237, .12);

  /* warm paper + near-black ink */
  --bg:          #f3f1ec;
  --paper:       #faf9f6;
  --surface:     #ffffff;
  --surface-2:   #eeeae2;
  --ink:         #141219;
  --ink-2:       #2c2836;
  --muted:       #5b5666;   /* AA on paper */
  --dim:         #7d7889;   /* AA-large on paper */
  --line:        rgba(20, 18, 25, .12);
  --line-2:      rgba(20, 18, 25, .20);
  --line-3:      rgba(20, 18, 25, .34);

  /* dark ink surfaces (terminal, cta, footer) */
  --coal:        #131019;
  --coal-2:      #1b1725;
  --coal-line:   rgba(255, 255, 255, .09);
  --coal-text:   #e7e3f2;
  --coal-dim:    #8f89a3;

  --danger:      #d6336c;
  --warning:     #c2610a;
  --success:     #2f9e44;

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  --nav-h: 88px;
  --maxw: 1200px;
  --gutter: 2rem;

  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 20px;
  --r-card: 24px;
  --pill: 999px;

  --sh-1: 0 1px 0 rgba(20,18,25,.04), 0 1px 2px rgba(20,18,25,.06);
  --sh-2: 0 1px 0 rgba(20,18,25,.04), 0 18px 40px -22px rgba(20,18,25,.28);
  --sh-term: 0 2px 0 rgba(20,18,25,.05), 0 40px 80px -32px rgba(20,18,25,.45);

  --ease: cubic-bezier(.22, .61, .27, 1);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* faint paper tint at the top edge — structural, not a glow */
  background-image:
    linear-gradient(180deg, rgba(124,58,237,.025), transparent 620px);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.022em;
  color: var(--ink);
}

/* ── Layout primitives ─────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.section { padding: 6.5rem 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--tight { padding: 4rem 0; }

/* section index rule — the spec-sheet signature.  §01 ───────── LABEL */
.sec-index {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 2.5rem;
}
.sec-index__no { color: var(--violet-600); }
.sec-index__line { flex: 1; height: 1px; background: var(--line-2); }
.sec-index__label { color: var(--muted); }

.sec-head { max-width: 46rem; }
.sec-head__title { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 1.1rem; }
.sec-head__lede { color: var(--muted); font-size: 1.12rem; line-height: 1.65; max-width: 42rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--violet-600);
}
.kicker::before {
  content: ""; width: 8px; height: 8px; flex-shrink: 0;
  background: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-050);
}

/* ── Buttons — squared, precise, flat ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: -.01em; padding: .82rem 1.5rem; border-radius: var(--r-sm);
  border: 1px solid transparent; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn i { font-size: .9em; }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--violet); border-color: var(--violet); }
.btn--line { border-color: var(--line-3); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { background: var(--violet-600); }
.btn--sm { padding: .55rem 1.05rem; font-size: .85rem; }
.btn--full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* on dark surfaces */
.on-coal .btn--line { border-color: rgba(255,255,255,.26); color: #fff; }
.on-coal .btn--line:hover { border-color: #fff; background: #fff; color: var(--coal); }

/* ── Navigation — floating pill ────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: .85rem var(--gutter) 0; pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  max-width: var(--maxw); margin: 0 auto; height: 58px;
  background: var(--coal); border: 1px solid var(--coal-line); border-radius: var(--pill);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 .7rem 0 1.35rem;
  box-shadow: 0 12px 32px -16px rgba(20,18,25,.5);
  transition: box-shadow .25s var(--ease);
}
.nav--scrolled .nav-pill { box-shadow: 0 16px 42px -18px rgba(20,18,25,.62); }
.nav-brand { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.brand-mark { width: 26px; height: 26px; }
.brand-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.brand-accent { color: var(--violet-300); }
.nav-menu { display: flex; align-items: center; gap: .1rem; background: rgba(255,255,255,.05); border-radius: var(--pill); padding: .28rem .34rem; }
.nav-item {
  font-family: var(--font-display); font-size: .88rem; font-weight: 500; white-space: nowrap;
  color: rgba(255,255,255,.66); padding: .46rem .92rem; border-radius: var(--pill);
  transition: color .18s, background .18s;
}
.nav-item:hover { color: #fff; }
.nav-item.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-item--mobile { display: none; }
.nav-right { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-size: .9rem; font-weight: 600; white-space: nowrap;
  color: #fff; background: var(--violet); border-radius: var(--pill); padding: .58rem 1.15rem;
  transition: background .18s var(--ease);
}
.nav-cta:hover { background: var(--violet-600); }
.nav-cta .chev { font-size: 1.05em; line-height: 0; opacity: .85; }
.nav-lang { display: flex; }
.lang-select {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.7);
  background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: var(--pill);
  padding: .38rem .58rem; cursor: pointer; transition: border-color .18s, color .18s;
}
.lang-select:hover, .lang-select:focus { color: #fff; border-color: rgba(255,255,255,.42); outline: none; }
.lang-select option { color: var(--ink); }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Site messages ─────────────────────────────────────────────────────── */
.messages { position: fixed; top: calc(var(--nav-h) + .75rem); left: 50%; transform: translateX(-50%); z-index: 900; display: flex; flex-direction: column; gap: .5rem; width: min(560px, 92vw); }
.msg { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.05rem; border-radius: var(--r-sm); font-size: .92rem; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--sh-2); animation: msgIn .3s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.msg--success { border-left: 3px solid var(--success); color: #217a35; }
.msg--error { border-left: 3px solid var(--danger); color: #b02456; }
.msg__x { font-size: 1.2rem; line-height: 1; opacity: .5; }
.msg__x:hover { opacity: 1; }

/* ── HERO — headline + numbers card ────────────────────────────────────── */
.hero { padding: calc(var(--nav-h) + 3.5rem) 0 4.5rem; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono); font-size: .73rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; color: var(--violet-600); margin-bottom: 1.5rem;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--violet); }
.hero__h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 4.9vw, 4.1rem);
  line-height: 1.03; letter-spacing: -.035em; color: var(--ink); margin: 0 0 1.5rem;
}
.hero__sub { font-size: 1.15rem; color: var(--muted); line-height: 1.6; max-width: 34rem; }
.hero__cta-row { margin-top: 2.3rem; }

/* pill buttons */
.btn-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  padding: 1rem 1.8rem; border-radius: var(--pill); border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn-pill .arw { transition: transform .2s var(--ease); }
.btn-pill:hover .arw { transform: translate(3px, -3px); }
.btn-pill--violet { background: var(--violet); color: #fff; box-shadow: 0 12px 28px -12px rgba(124,58,237,.6); }
.btn-pill--violet:hover { background: var(--violet-600); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(124,58,237,.68); }
.btn-pill--line { border-color: var(--line-3); color: var(--ink); }
.btn-pill--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* proof chips */
.hero__chips { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.9rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--pill); padding: .5rem 1.05rem;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); flex-shrink: 0; }

/* numbers card — sits where a video would */
.hero__card { position: relative; }
.statcard {
  background: var(--coal); color: #fff; border: 1px solid var(--coal-line);
  border-radius: var(--r-card); padding: 2.4rem 2.3rem;
  box-shadow: 0 34px 70px -34px rgba(20,18,25,.55); position: relative; overflow: hidden;
}
.statcard::before { content: ""; position: absolute; top: 1.1rem; right: 1.1rem; width: 12px; height: 12px; border-top: 1px solid rgba(255,255,255,.22); border-right: 1px solid rgba(255,255,255,.22); }
.statcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.9rem; }
.statcard__tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coal-dim); }
.statcard__live { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-300); }
.statcard__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet-300); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(167,139,250,.5); } 70% { box-shadow: 0 0 0 8px rgba(167,139,250,0); } 100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); } }
.statcard__lead { margin-bottom: 1.6rem; }
.statcard__num { display: block; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.statcard__num .u { color: var(--violet-300); }
.statcard__label { font-size: .95rem; color: rgba(255,255,255,.62); margin-top: .5rem; display: block; }
.statcard__divider { height: 1px; background: rgba(255,255,255,.1); margin: 0 0 1.6rem; }
.statcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.statcard__num2 { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.statcard__num2 .u { color: var(--violet-300); }
.statcard__label2 { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: .4rem; display: block; line-height: 1.35; }

/* ── Recognition — logo/name grid wall ─────────────────────────────────── */
.clients__head { max-width: 44rem; margin-bottom: 2rem; }
.clients__title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .8rem; }
.clients__sub { color: var(--muted); font-size: 1.08rem; line-height: 1.55; max-width: 38rem; }
.clients__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.clients__cell { display: flex; align-items: center; justify-content: center; gap: .7rem; text-align: center; padding: 2rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.clients__cell:hover { background: var(--surface); }
.clients__logo { height: 24px; width: auto; max-width: 74px; object-fit: contain; flex-shrink: 0; }
.clients__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); transition: color .2s; }
.clients__cell:hover .clients__name { color: var(--violet); }

/* ── Focus — editorial index (no cards, no icons, no left-strip) ────────── */
.focus2__head { max-width: 44rem; }
.focus2__head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 1rem; }
.focus2__head p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; max-width: 40rem; }
.focus2__list { margin-top: 1rem; }
.focus2__item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; padding: 2.6rem 0; border-top: 1px solid var(--line); }
.focus2__item:last-child { border-bottom: 1px solid var(--line); }
.focus2__n { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 500; color: var(--violet-600); padding-top: .5rem; font-variant-numeric: tabular-nums; }
.focus2__body { max-width: 46rem; }
.focus2__body h3 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); letter-spacing: -.02em; margin-bottom: .75rem; }
.focus2__body p { color: var(--muted); font-size: 1.05rem; line-height: 1.66; }
.focus2__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.tag { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: .25rem .7rem; }

/* ── Statement (big type) ──────────────────────────────────────────────── */
.statement { padding: 5.5rem 0; text-align: center; overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); }
.statement__line { display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.045em; line-height: .95; font-size: clamp(2.6rem, 11vw, 9rem); color: var(--ink); }
.statement__line .dot { color: var(--violet); }

/* ── Cards shared (posts / hof) ────────────────────────────────────────── */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }

/* posts */
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.post-card__cover { display: block; overflow: hidden; border-bottom: 1px solid var(--line); }
.post-card__cover img { width: 100%; height: 188px; object-fit: cover; transition: transform .55s var(--ease); }
.post-card:hover .post-card__cover img { transform: scale(1.045); }
.post-card__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.post-date { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; color: var(--violet-600); letter-spacing: .02em; }
.post-by { font-size: .8rem; color: var(--muted); }
.lang-badge { font-family: var(--font-mono); font-size: .62rem; font-weight: 700; letter-spacing: .06em; padding: .15em .5em; border-radius: var(--r-xs); border: 1px solid; margin-left: auto; }
.lang-badge--en { color: var(--violet-600); border-color: var(--violet-100); background: var(--violet-050); }
.lang-badge--de { color: #b45309; border-color: rgba(217,119,6,.3); background: rgba(217,119,6,.07); }
.post-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.24; }
.post-card__title a:hover { color: var(--violet-600); }
.post-card__excerpt { font-size: .92rem; color: var(--muted); line-height: 1.58; flex: 1; }
.post-more { font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--violet-600); margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; }
.post-more .arw { transition: transform .2s var(--ease); }
.post-more:hover .arw { transform: translateX(3px); }
.section-cta { margin-top: 3rem; }

/* writeup index — editorial rows */
.post-list { border-bottom: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 2rem; align-items: start; padding: 2.5rem 0; border-top: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.post-row:hover { padding-left: 1rem; }
.post-row__aside { display: flex; flex-direction: column; gap: .4rem; padding-top: .35rem; }
.post-row__date { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--violet-600); letter-spacing: .02em; }
.post-row__by { font-size: .82rem; color: var(--muted); }
.post-row__body { display: flex; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.post-row__text { flex: 1; max-width: 48rem; }
.post-row__badges { margin-bottom: .55rem; }
.post-row__title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.3vw, 1.85rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.22; color: var(--ink); transition: color .2s; }
.post-row:hover .post-row__title { color: var(--violet-600); }
.post-row__excerpt { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-top: .7rem; max-width: 46rem; }
.post-row__more { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--violet-600); margin-top: 1.1rem; }
.post-row__more .arw { transition: transform .2s var(--ease); }
.post-row:hover .post-row__more .arw { transform: translateX(3px); }
.post-row__cover { width: 210px; height: 120px; flex-shrink: 0; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); }

/* empty state */
.empty { text-align: center; padding: 4.5rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--r-md); }
.empty__icon { font-size: 2.2rem; color: var(--violet); margin-bottom: 1rem; }
.empty h3 { margin-bottom: .5rem; }
.empty p { color: var(--muted); }

/* ── Hall of Fame ──────────────────────────────────────────────────────── */
.hof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.hof-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem; display: flex; flex-direction: column; gap: .85rem; transition: border-color .25s, box-shadow .25s; }
.hof-item:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.hof-item__top { display: flex; align-items: center; gap: 1rem; }
.hof-logo { width: 44px; height: 44px; object-fit: contain; border-radius: var(--r-sm); background: #fff; padding: 4px; border: 1px solid var(--line); flex-shrink: 0; }
.hof-logo--ph { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--violet-050); color: var(--violet-600); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; border: 1px solid var(--violet-100); flex-shrink: 0; }
.hof-logo--lg, .hof-logo--ph.hof-logo--lg { width: 60px; height: 60px; font-size: 1.05rem; }
.hof-co { font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; }
.hof-yr { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.hof-desc { font-size: .9rem; color: var(--muted); line-height: 1.58; }
.hof-cat { align-self: flex-start; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: .2rem .6rem; }

/* full hof list */
.hof-list { display: flex; flex-direction: column; gap: 0; max-width: 880px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.hof-row { padding: 2.3rem 0; border-top: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.hof-row:hover { padding-left: 1rem; }
.hof-row__head { display: flex; align-items: center; gap: 1.15rem; margin-bottom: 1rem; }
.hof-row__co { font-size: 1.22rem; margin-bottom: .5rem; }
.hof-row__tags { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.hof-badge { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: .2rem .55rem; }
.hof-row__desc { color: var(--muted); line-height: 1.66; font-size: .95rem; }

/* severity badges (rendered by sg_tags.severity_badges — keep class names) */
.severity-badge { display: inline-block; font-family: var(--font-mono); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .2rem .55rem; border-radius: var(--r-xs); border: 1px solid; }
.severity-badge--critical { color: #c1123f; background: rgba(214,51,108,.07); border-color: rgba(214,51,108,.28); }
.severity-badge--high { color: #b45309; background: rgba(217,119,6,.07); border-color: rgba(217,119,6,.28); }
.severity-badge--medium { color: #a16207; background: rgba(202,138,4,.07); border-color: rgba(202,138,4,.26); }
.severity-badge--low { color: #217a35; background: rgba(47,158,68,.07); border-color: rgba(47,158,68,.26); }
.severity-badge--informational { color: var(--violet-600); background: var(--violet-050); border-color: var(--violet-100); }

/* disclosure notice */
.disclosure { max-width: 880px; margin: 0 auto; }
.disclosure h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .9rem; }
.disclosure p { color: var(--muted); line-height: 1.7; margin-bottom: .9rem; max-width: 62ch; }
.disclosure .btn { margin-top: .6rem; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 960px; }
.faq__item { display: grid; grid-template-columns: minmax(0, .85fr) 1.25fr; gap: 2.5rem; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.faq__a { color: var(--muted); }
.faq__a p { font-size: 1.02rem; line-height: 1.7; margin-bottom: .8rem; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--violet-600); text-decoration: underline; text-underline-offset: 3px; }

/* ── Inner page head ───────────────────────────────────────────────────── */
.phead { padding: calc(var(--nav-h) + 4.5rem) 0 3.5rem; border-bottom: 1px solid var(--line); }
.phead__title { font-size: clamp(2.4rem, 5.2vw, 4rem); margin: 1.1rem 0 1.1rem; letter-spacing: -.035em; }
.phead__lede { font-size: 1.15rem; color: var(--muted); max-width: 44rem; line-height: 1.6; }

/* ── About ─────────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.split__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 1rem 0 1.2rem; }
.split__text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.72; }
.split__aside { display: flex; flex-direction: column; gap: 0; }
.factcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem; transition: border-color .25s, box-shadow .25s; }
.factcard:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.factcard__icon { font-size: 1.5rem; color: var(--violet); margin-bottom: .7rem; }
.factcard h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.factcard p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.valcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem 1.9rem; transition: border-color .25s, box-shadow .25s, transform .25s; }
.valcard:hover { border-color: var(--line-2); box-shadow: var(--sh-1); transform: translateY(-3px); }
.valcard__icon { font-size: 1.5rem; color: var(--violet); margin-bottom: .9rem; }
.valcard h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.valcard p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.pstep { padding: 2rem 2rem 0 0; border-right: 1px solid var(--line); }
.pstep:last-child { border-right: none; }
.pstep__n { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--violet); opacity: .32; line-height: 1; margin-bottom: .8rem; font-variant-numeric: tabular-nums; }

/* principles list (About mission aside) */
.principle { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.principle p { font-size: .92rem; color: var(--muted); line-height: 1.58; }
.pstep h3 { font-size: 1.02rem; margin-bottom: .45rem; }
.pstep p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* services full cards */
.svc-list { display: flex; flex-direction: column; gap: 1.25rem; }
.svc { display: flex; gap: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2.3rem; transition: border-color .25s, box-shadow .25s; }
.svc:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.svc__icon { font-size: 1.6rem; color: var(--violet); width: 60px; height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--violet-050); border: 1px solid var(--violet-100); border-radius: var(--r-sm); }
.svc__body h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.svc__body p { color: var(--muted); line-height: 1.66; margin-bottom: .9rem; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3.5rem; align-items: start; }
.cform h2 { font-size: 1.5rem; margin-bottom: 1.6rem; }
.cform__form { display: flex; flex-direction: column; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.req { color: var(--violet); }
.input, .textarea { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: .96rem; padding: .82rem 1rem; width: 100%; transition: border-color .18s, box-shadow .18s; }
.input:focus, .textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-050); outline: none; }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.textarea { resize: vertical; min-height: 150px; }
.cside { display: flex; flex-direction: column; gap: 1.2rem; }
.cside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem; }
.cside-card--pgp { background: var(--paper); text-align: center; }
.cside-card h3 { margin-bottom: 1.1rem; font-size: 1.05rem; }
.cside-row { display: flex; align-items: flex-start; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.cside-row:last-of-type { border-bottom: none; }
.cside-row__icon { font-size: 1.05rem; color: var(--violet); margin-top: .15rem; }
.cside-row strong { display: block; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .2rem; }
.cside-row a, .cside-row span { font-size: .92rem; color: var(--ink); }
.cside-card--pgp .pgp-icon { font-size: 1.6rem; color: var(--violet); margin-bottom: .6rem; }
.cside-card--pgp h3 { margin-bottom: .5rem; font-size: 1rem; }
.cside-card--pgp p { font-size: .88rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.55; }

/* ── CTA panel (dark) ──────────────────────────────────────────────────── */
.cta-panel { max-width: var(--maxw); margin: 0 auto; background: var(--coal); color: var(--coal-text); border-radius: var(--r-md); padding: 4.5rem 3rem; position: relative; overflow: hidden; border: 1px solid var(--coal-line); }
.cta-panel::before { /* corner spec ticks, structural */
  content: ""; position: absolute; top: 1.1rem; left: 1.1rem; width: 14px; height: 14px;
  border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2);
}
.cta-panel::after { content: ""; position: absolute; bottom: 1.1rem; right: 1.1rem; width: 14px; height: 14px; border-bottom: 1px solid rgba(255,255,255,.2); border-right: 1px solid rgba(255,255,255,.2); }
.cta-panel .kicker { color: #c4b5fd; }
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1rem 0 1rem; max-width: 20ch; }
.cta-panel p { color: var(--coal-dim); max-width: 46ch; margin-bottom: 2rem; }

/* ── Writeup detail + prose ────────────────────────────────────────────── */
.wu { padding-top: var(--nav-h); }
.wu-inner { width: min(760px, 100% - 3rem); margin: 0 auto; }
.wu-head { position: relative; overflow: hidden; background: var(--paper); padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.wu-cover { position: absolute; inset: 0; z-index: 0; }
.wu-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .1; }
.wu-cover__fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--paper) 12%, transparent); }
.wu-head .wu-inner { position: relative; z-index: 1; }
.wu-back { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 1.5rem; }
.wu-back:hover { color: var(--violet-600); }
.wu-title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 700; line-height: 1.08; margin: .75rem 0 1rem; }
.wu-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.wu-meta__dot { color: var(--dim); }
.wu-views { font-family: var(--font-mono); font-size: .82rem; color: var(--dim); }
.wu-lede { margin-top: 1.3rem; font-size: 1.22rem; color: var(--ink-2); line-height: 1.6; max-width: 46rem; }
.wu-body { padding: 3.5rem 0 5rem; }
.wu-foot { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.prose { color: var(--ink); line-height: 1.78; font-size: 1.05rem; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 2rem 0 .75rem; }
.prose h1 { font-size: 1.85rem; } .prose h2 { font-size: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: .4rem; } .prose h3 { font-size: 1.2rem; color: var(--violet-600); } .prose h4 { font-size: 1.05rem; }
.prose p { margin: .9rem 0; }
.prose a { color: var(--violet-600); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose em { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.75rem; margin: .9rem 0; }
.prose li { margin: .35rem 0; color: var(--muted); }
.prose li strong { color: var(--ink); }
.prose blockquote { border-left: 3px solid var(--violet); margin: 1.5rem 0; padding: .75rem 1.25rem; background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--muted); font-style: italic; }
.prose code { font-family: var(--font-mono); font-size: .875em; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: .12em .4em; color: var(--violet-700); }
.prose pre { background: var(--coal); color: var(--coal-text); border-radius: var(--r-sm); padding: 1.25rem 1.5rem; overflow-x: auto; margin: 1.5rem 0; }
.prose pre code { background: none; border: none; padding: 0; color: inherit; font-size: .875rem; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.prose th { background: var(--surface-2); border: 1px solid var(--line); padding: .6rem 1rem; text-align: left; font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.prose td { border: 1px solid var(--line); padding: .6rem 1rem; color: var(--muted); }
.prose tr:nth-child(even) td { background: var(--surface-2); }
.prose img { border-radius: var(--r-sm); border: 1px solid var(--line); margin: 1.5rem auto; }

/* ── Legal ─────────────────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; color: var(--muted); line-height: 1.78; }
.legal h2 { font-size: 1.35rem; color: var(--ink); margin: 2.5rem 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; color: var(--ink); margin: 1.5rem 0 .5rem; }
.legal p { margin-bottom: .85rem; }
.legal a { color: var(--violet-600); text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.foot { background: var(--coal); color: var(--coal-dim); margin-top: 3rem; padding: 4rem 0 2rem; border-top: 1px solid var(--coal-line); }
.foot-grid { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; margin-bottom: 3rem; }
.foot-brand .brand-name { color: #fff; font-size: 1.2rem; display: block; margin-bottom: .5rem; }
.foot-tag { font-family: var(--font-mono); font-size: .8rem; color: var(--coal-dim); }
.foot-nav { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: .55rem; }
.foot-col__head { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: #6f6a84; margin-bottom: .35rem; }
.foot-col a { font-size: .9rem; color: #cfc9dd; transition: color .18s; }
.foot-col a:hover { color: #fff; }
.foot-base { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--coal-line); flex-wrap: wrap; gap: 1rem; }
.foot-copy { font-family: var(--font-mono); font-size: .76rem; color: #6f6a84; }
.foot-links { display: flex; align-items: center; gap: 1.3rem; }
.foot-links a { font-size: .82rem; color: var(--coal-dim); transition: color .18s; }
.foot-links a:hover { color: #fff; }
.foot-links .sep { color: rgba(255,255,255,.15); }

/* ── Motion ────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.split-w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .55s ease, transform .55s var(--ease); transition-delay: calc(var(--wi, 0) * 32ms); }
.split-ready .split-w { will-change: opacity, transform; }
.in .split-w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .split-w { transition: none !important; opacity: 1 !important; transform: none !important; }
  .marquee__row, .statcard__live::before { animation: none !important; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero__card { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pstep { border-right: none; border-bottom: 1px solid var(--line); }
}
/* mobile pill nav */
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-item--mobile { display: block; }
  .nav-menu {
    position: fixed; top: calc(.85rem + 58px + .5rem); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: .12rem;
    background: var(--coal); border: 1px solid var(--coal-line); border-radius: var(--r-md);
    padding: .55rem; box-shadow: 0 22px 44px -18px rgba(20,18,25,.6);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-item { padding: .8rem 1rem; font-size: 1rem; border-radius: var(--r-sm); }
}
@media (max-width: 380px) {
  .brand-name { font-size: .98rem; }
  .nav-pill { padding: 0 .55rem 0 1rem; }
}
@media (max-width: 768px) {
  :root { --gutter: 1.35rem; }
  .section { padding: 4.5rem 0; }
  .hero { padding: calc(var(--nav-h) + 2rem) 0 3.5rem; }
  .statcard { padding: 2rem 1.7rem; }
  .clients__cell { padding: 1.5rem 1rem; }
  .focus2__item { grid-template-columns: 1fr; gap: .5rem; padding: 2rem 0; }
  .focus2__n { padding-top: 0; }
  .post-row { grid-template-columns: 1fr; gap: .7rem; padding: 2rem 0; }
  .post-row__aside { flex-direction: row; gap: 1rem; align-items: center; padding-top: 0; }
  .post-row__body { flex-direction: column-reverse; gap: 1.1rem; }
  .post-row__cover { width: 100%; height: 180px; }
  .faq__item { grid-template-columns: 1fr; gap: .9rem; padding: 2rem 0; }
  .svc { flex-direction: column; gap: 1.25rem; padding: 1.75rem; }
  .foot-grid { flex-direction: column; gap: 2rem; }
  .cta-panel { padding: 3rem 1.75rem; }
  .disclosure { flex-direction: column; gap: 1rem; }
}
@media (max-width: 480px) {
  .hero__cta-row .btn-pill { width: 100%; justify-content: center; }
  .statcard__row { grid-template-columns: 1fr; gap: 1.2rem; }
  .foot-base { flex-direction: column; text-align: center; }
}
