@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* Nuriel public-site dark shell — shared across index, catalogue, education, trade-portal.
   Matches the OS aesthetic: ink #111110 background, gold #a88a47 accents,
   Cormorant Garamond + Inter + JetBrains Mono trio. */

:root {
  --ink:     #111110;
  --ink-2:   #181816;
  --ink-3:   #1f1e1c;
  --ink-4:   #2a2825;
  --line:    #2c2a26;
  --line-2:  #3a3732;
  --stone:   #fafaf7;
  --stone-2: #e8e6df;
  --stone-3: #b5b1a4;
  --mute:    #7a766b;
  --mute-2:  #5a574f;
  --gold:        #a88a47;
  --gold-bright: #c9a35a;
  --gold-soft:   #d6b771;
  --gold-dim:    #6e5a2f;
  --green:   #7fb069;
  --serif:   'Cormorant Garamond', 'Times New Roman', serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --sans:    'Inter', -apple-system, system-ui, sans-serif;
}

*{ box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--stone);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-4); }
::-webkit-scrollbar-thumb:hover { background: var(--line-2); }

.display { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; line-height: 0.96; }
.display em { font-style: italic; color: var(--gold); font-weight: 300; }
.mono { font-family: var(--mono); font-size: 11px; color: var(--mute); font-weight: 450; }
.frame { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ─ Nav ──────────────────────────────────────────────────────────── */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17,17,16,0.84);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
nav.top .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; gap: 24px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-lockup .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 300;
  color: #fafaf7;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  line-height: 1;
  text-indent: 0.44em;
  display: block;
}

.brand-lockup .sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 300;
  color: #a88a47;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  text-indent: 0.76em;
  display: block;
}

/* ─ Hamburger ────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  color: var(--stone);
  width: 38px; height: 38px;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nactions .pill { width: auto; }

.nlinks { display: flex; gap: 4px; }
.nlinks a {
  padding: 7px 14px; font-size: 13px; color: var(--stone-3);
  border-radius: 999px; transition: all .12s ease;
}
.nlinks a:hover { background: var(--ink-3); color: var(--stone); }
.nlinks a.active { color: var(--stone); background: var(--ink-3); }

.nactions { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 450;
  border: 1px solid var(--line-2); background: transparent; color: var(--stone);
  transition: all .15s ease; cursor: pointer;
}
.pill:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.pill.solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pill.solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.pill.ghost { background: transparent; color: var(--stone); border-color: var(--line-2); }
.pill.ghost:hover { background: var(--ink-3); border-color: var(--gold-dim); color: var(--gold-bright); }
.pill .arr { transition: transform .15s ease; }
.pill:hover .arr { transform: translateX(2px); }

/* ─ Meta strip ───────────────────────────────────────────────────── */
.meta-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 32px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--mute);
}
.meta-strip .group { display: flex; gap: 28px; }
.meta-strip b { color: var(--stone-2); font-weight: 450; margin-right: 6px; }

/* ─ Hero ─────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 80px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 60vh; height: 60vh;
  background: radial-gradient(circle at center, rgba(168,138,71,0.10), transparent 60%);
  pointer-events: none;
}
.hero .crumbs {
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  margin-bottom: 56px; display: flex; gap: 8px; position: relative;
}
.hero .crumbs .sep { color: var(--mute-2); }
.hero h1 { font-size: clamp(60px, 9vw, 140px); max-width: 14ch; margin: 0; color: var(--stone); position: relative; }
.hero .deck { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; margin-top: 56px; position: relative; }
.hero .deck p { font-size: 18px; line-height: 1.55; color: var(--stone-2); max-width: 560px; }
.hero-actions { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.hero-card {
  border: 1px solid var(--line); background: var(--ink-2);
  padding: 20px 22px; font-family: var(--mono); font-size: 11px;
  color: var(--mute); line-height: 1.7;
}
.hero-card .row { display: flex; justify-content: space-between; padding: 4px 0; }
.hero-card .row + .row { border-top: 1px dashed var(--line); }
.hero-card b { color: var(--stone); font-weight: 450; }

/* ─ Ticker ───────────────────────────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden; padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 48px;
  animation: tick 70s linear infinite;
  white-space: nowrap;
  font-family: var(--mono); font-size: 11px; color: var(--stone-2);
}
.ticker-track span b { color: var(--gold); font-weight: 500; margin-right: 8px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─ Section frames ───────────────────────────────────────────────── */
section.ed { padding: 100px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.sec-head { display: grid; grid-template-columns: 180px 1fr; gap: 56px; margin-bottom: 56px; align-items: start; }
.sec-head .num { font-family: var(--mono); font-size: 11px; color: var(--mute); padding-top: 8px; letter-spacing: 0.06em; }
.sec-head .title { display: flex; flex-direction: column; gap: 14px; }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 760px; margin: 0; font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; line-height: 1.02; color: var(--stone); }
.sec-head h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
.sec-head .lede { font-size: 17px; color: var(--stone-2); max-width: 620px; line-height: 1.6; }
.sec-head .lede b { color: var(--stone); font-weight: 500; }

/* ─ Pillars ──────────────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--ink-2); }
.pillar { padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.pillar:last-child { border-right: none; }
.pillar .pn { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.06em; }
.pillar h3 { font-family: var(--serif); font-size: 28px; font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; margin: 0; color: var(--stone); }
.pillar p { font-size: 13.5px; color: var(--stone-2); line-height: 1.6; }

/* ─ Inventory teaser ─────────────────────────────────────────────── */
.inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stone {
  border: 1px solid var(--line); background: var(--ink-2);
  padding: 0; display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .2s ease;
  text-decoration: none; color: inherit;
}
.stone:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.stone .stage {
  aspect-ratio: 1/1;
  background: radial-gradient(ellipse at 50% 30%, rgba(168,138,71,0.10) 0%, var(--ink-3) 70%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.stone .stage svg { width: 56%; height: 56%; color: var(--gold); filter: drop-shadow(0 8px 24px rgba(168,138,71,0.25)); }
.stone .ribbon {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--mono); font-size: 9px;
  color: var(--gold); letter-spacing: 0.18em;
  background: rgba(17,17,16,0.85); padding: 3px 8px; border-radius: 4px;
  border: 1px solid var(--line-2);
}
.stone .body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.stone .body .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--mute); }
.stone .body .top b { color: var(--gold-bright); font-weight: 450; }
.stone .nm { font-family: var(--serif); font-size: 24px; font-weight: 300; letter-spacing: -0.01em; color: var(--stone); }
.stone .row { display: flex; justify-content: space-between; font-size: 12px; font-family: var(--mono); color: var(--stone-2); }
.stone .row .l { color: var(--mute); }
.stone .price { padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.stone .price .pl { font-size: 11px; color: var(--mute); font-family: var(--mono); }
.stone .price .pv { font-family: var(--serif); font-size: 18px; font-weight: 300; color: var(--gold-bright); font-style: italic; }

/* ─ Stack ────────────────────────────────────────────────────────── */
.stack { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.stack p { font-size: 16px; color: var(--stone-2); line-height: 1.65; max-width: 560px; }
.stack p + p { margin-top: 18px; }
.story-aside { display: flex; align-items: center; justify-content: center; padding: 40px; }
.story-mark {
  width: 200px; height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.story-mark .diamond-bg {
  position: absolute; inset: 8px;
  background: linear-gradient(160deg, #fdfbf6 0%, #e8e2d0 60%, #c9a35a 100%);
  clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%);
  -webkit-clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%);
  box-shadow: 0 20px 80px rgba(168,138,71,0.35);
}
.story-mark img { position: relative; z-index: 1; width: 200px; height: 200px; object-fit: contain; }

/* ─ Trade Desk feature panel ─────────────────────────────────────── */
.desk-panel {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-3) 100%);
  border: 1px solid var(--gold-dim);
  border-radius: 0;
  padding: 56px 64px;
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 56px; align-items: center;
  position: relative; overflow: hidden;
}
.desk-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(168,138,71,0.15), transparent 60%);
  pointer-events: none;
}
.desk-panel .eb {
  font-family: var(--mono); font-size: 10px; color: var(--gold);
  letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 14px; position: relative;
}
.desk-panel h2 {
  font-family: var(--serif); font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 300; line-height: 0.98; letter-spacing: -0.02em;
  margin: 0; color: var(--stone); position: relative;
}
.desk-panel h2 em { color: var(--gold-bright); font-style: italic; font-weight: 300; }
.desk-panel p {
  color: var(--stone-3); font-size: 15px; line-height: 1.6;
  margin-top: 20px; max-width: 480px; position: relative;
}
.desk-panel .actions {
  display: flex; gap: 10px; margin-top: 28px;
  flex-wrap: wrap; position: relative;
}
.desk-panel .preview { position: relative; }
.desk-panel .preview-card {
  background: #fdfbf6; border-radius: 16px; padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(168,138,71,0.3);
  transform: rotate(-2deg); transition: transform .3s ease;
}
.desk-panel .preview-card:hover { transform: rotate(0); }
.desk-panel .preview-card .desk-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.desk-panel .preview-card .av {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(160deg, #fdf4d8, #c9a35a 60%, #6e5a2f);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-style: italic; color: #fdf4d8;
}
.desk-panel .preview-card .info .nm { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.desk-panel .preview-card .info .sub { font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: 0.18em; margin-top: 2px; }
.desk-panel .preview-card .bubble {
  background: rgba(168,138,71,0.08); border: 1px solid rgba(168,138,71,0.2);
  padding: 12px 14px; border-radius: 12px; font-size: 13px;
  color: var(--ink); line-height: 1.5;
}
.desk-panel .preview-card .bubble + .bubble {
  margin-top: 8px;
  background: var(--ink); color: #fdfbf6; border-color: var(--ink);
}

/* ─ Lab vs Mined ─────────────────────────────────────────────────── */
.vs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.vsc { padding: 40px; background: var(--ink-2); }
.vsc + .vsc { border-left: 1px solid var(--line); }
.vsc.lab { background: var(--ink-3); }
.vsc h3 { font-family: var(--serif); font-size: 32px; font-weight: 300; letter-spacing: -0.01em; margin: 0 0 8px; color: var(--stone); }
.vsc h3 em { color: var(--gold); font-style: italic; }
.vsc .eb { font-family: var(--mono); font-size: 11px; color: var(--mute); margin-bottom: 24px; letter-spacing: 0.06em; }
.vsr { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: start; }
.vsr:last-child { border-bottom: none; }
.vsr .l { font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: 0.04em; }
.vsr .v { color: var(--stone-2); line-height: 1.55; }
.vsc.lab .v b { color: var(--gold-bright); font-weight: 500; }

/* ─ Trust strip ──────────────────────────────────────────────────── */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); background: var(--ink-2);
}
.trust-cell {
  padding: 28px 32px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.trust-cell:last-child { border-right: none; }
.trust-cell .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--stone); font-weight: 300; letter-spacing: -0.01em; }
.trust-cell .l { font-family: var(--mono); font-size: 10px; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; }

/* ─ CTA band ─────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-top: 1px solid var(--gold-dim);
  color: var(--stone); padding: 96px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: -30%; transform: translateX(-50%);
  width: 80vh; height: 80vh;
  background: radial-gradient(circle, rgba(168,138,71,0.10), transparent 60%);
  pointer-events: none;
}
.cta-band .frame { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; position: relative; }
.cta-band h2 { font-size: clamp(40px, 5vw, 72px); color: var(--stone); font-family: var(--serif); font-weight: 300; line-height: 0.98; letter-spacing: -0.02em; margin: 0; }
.cta-band h2 em { color: var(--gold-bright); font-style: italic; font-weight: 300; }
.cta-band p { color: var(--stone-3); font-size: 15px; line-height: 1.6; max-width: 420px; }
.cta-band .right { display: flex; flex-direction: column; gap: 24px; }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─ Footer ───────────────────────────────────────────────────────── */
footer { padding: 64px 0 36px; background: var(--ink); border-top: 1px solid var(--line); }
footer .frame { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer .footer-blurb {
  font-size: 13px; color: var(--stone-3);
  margin-top: 16px; line-height: 1.6; max-width: 280px;
}
footer h4 {
  font-family: var(--mono); font-size: 10px; color: var(--mute);
  letter-spacing: 0.24em; text-transform: uppercase;
  margin: 0 0 14px; font-weight: 500;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 13px; color: var(--stone-3); transition: color .12s ease; }
footer ul a:hover { color: var(--gold); }
footer .bottom {
  border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  grid-column: 1 / -1;
}

/* ─ Page hero (video band) ───────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  background: #0a0906;
}
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.10;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, transparent 20%, rgba(10,9,6,0.6) 70%, #0a0906 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.page-hero-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  color: var(--stone);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.page-hero-sub {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: rgba(250,250,247,0.5);
  letter-spacing: 0.06em;
  max-width: 560px;
  margin: 0;
}

.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 36px;
}
.filter-bar .label { font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: 0.2em; text-transform: uppercase; margin-right: 6px; }
.chip {
  background: transparent; color: var(--stone-3);
  border: 1px solid var(--line-2); padding: 6px 14px;
  border-radius: 999px; font-size: 12px; cursor: pointer;
  transition: all .12s ease;
}
.chip:hover, .chip.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.edu-card {
  border: 1px solid var(--line); background: var(--ink-2);
  padding: 32px; transition: border-color .15s ease;
}
.edu-card:hover { border-color: var(--gold-dim); }
.edu-card .num { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: 0.18em; }
.edu-card h3 {
  font-family: var(--serif); font-size: 30px; font-weight: 300;
  letter-spacing: -0.01em; line-height: 1.1; margin: 14px 0 16px; color: var(--stone);
}
.edu-card h3 em { color: var(--gold); font-style: italic; }
.edu-card p { font-size: 14px; color: var(--stone-2); line-height: 1.65; }

/* ─ New footer (nd-footer) ───────────────────────────────────────── */
footer.nd-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
}
footer.nd-footer .frame {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand-lockup .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 300;
  color: #fafaf7;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  line-height: 1;
  text-indent: 0.44em;
  display: block;
}

.footer-brand-lockup .sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 300;
  color: #a88a47;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  text-indent: 0.76em;
  display: block;
}
.price-locked {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  padding: 4px 10px;
  display: inline-block;
}
.footer-address, .footer-right { font-family: var(--mono); font-size: 11px; color: var(--stone-3); line-height: 1.85; }
.footer-address a { color: var(--stone-3); }
.footer-address a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

/* ─ Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .deck, .stack, .cta-band .frame, .desk-panel {
    grid-template-columns: 1fr; gap: 32px;
  }
  .pillars, .inv-grid, .vs, .trust-strip, .edu-grid {
    grid-template-columns: 1fr;
  }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .vsc + .vsc { border-left: none; border-top: 1px solid var(--line); }
  .trust-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .nlinks, .meta-strip { display: none; }
  .hamburger { display: flex; }
  .nlinks.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px 0; z-index: 100;
  }
  .nlinks.open a { padding: 11px 24px; border-radius: 0; }
  footer .frame { grid-template-columns: 1fr 1fr; }
  footer.nd-footer .frame { grid-template-columns: 1fr; gap: 28px; }
  .desk-panel { padding: 36px 28px; }
}
@media (max-width: 768px) {
  .page-hero { height: 280px; padding-bottom: 40px; }
  .page-hero-content { padding: 0 20px; }
  footer.nd-footer .frame { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 640px) {
  .frame { padding: 0 18px; }
  nav.top .row { padding: 12px 18px; }
  .inv-grid { grid-template-columns: 1fr 1fr; }
  footer .frame { grid-template-columns: 1fr; }
  footer .bottom { flex-direction: column; gap: 8px; }
}
