/* ============================================================
   VITA NOVA — DARK TECH DESIGN SYSTEM
   Aesthetic: SpaceX / Palantir — cinematic, minimal, precise
   ============================================================ */

/* ── TOKENS ── */
:root {
  --bg:         #000000;
  --bg-1:       #0A0A0A;
  --bg-2:       #111111;
  --bg-3:       #181818;
  --bg-card:    #0D0D0D;
  --text:       #FFFFFF;
  --text-2:     #C8C8C8;
  --text-3:     #888888;
  --text-4:     #555555;
  --rule:       rgba(255,255,255,0.07);
  --rule-2:     rgba(255,255,255,0.14);
  --accent:     #FFFFFF;
  --display:    'Space Grotesk', sans-serif;
  --body:       'Inter', sans-serif;
  --mono:       'Space Grotesk', sans-serif;
}

/* Science: accent stays white, engineering overrides to blue-white */

body { background: var(--bg); color: var(--text); }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(0,0,0,0.97); }

.nav__inner {
  display: flex; align-items: center;
  justify-content: space-between; width: 100%;
}
.nav__logo {
  font-family: var(--display);
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--text);
  display: flex; flex-direction: column; gap: 1px;
}
.nav__logo .sub {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-4);
}
.nav__links {
  display: flex; align-items: center; gap: 36px;
}
.nav__links a {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__back {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-4); transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.nav__back::before { content: '←'; font-size: 12px; }
.nav__back:hover { color: var(--text-3); }
.nav__cta {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bg); background: var(--text);
  padding: 9px 20px; transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--text-3); }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--text); transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: brightness(0.4);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0,0,0,0.4) 60%,
    rgba(0,0,0,0.88) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  padding: 0 0 80px;
}
.hero__kicker {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 20px;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.02em; color: var(--text);
  max-width: 900px; margin-bottom: 24px;
}
.hero__title em { font-style: normal; color: rgba(255,255,255,0.5); }
.hero__sub {
  font-size: 16px; font-weight: 300;
  color: var(--text-2); line-height: 1.75;
  max-width: 560px; margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* No photo hero (inner pages) */
.hero--simple {
  min-height: auto; padding-top: 140px; padding-bottom: 80px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--rule);
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--display);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn::after { content: '→'; font-size: 14px; }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: var(--text-2); }
.btn--outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--rule-2);
}
.btn--outline:hover { border-color: var(--text-3); background: rgba(255,255,255,0.04); }
.btn--ghost {
  background: transparent; color: var(--text-3);
  padding-left: 0; border: none;
}
.btn--ghost:hover { color: var(--text); }

/* ── DATA STRIP ── */
.data-strip { display: grid; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.data-cell { padding: 44px 40px; border-right: 1px solid var(--rule); }
.data-cell:last-child { border-right: none; }
.data-cell__num {
  font-family: var(--display);
  font-size: 52px; font-weight: 600; line-height: 1;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 8px;
}
.data-cell__num sup { font-size: 24px; vertical-align: super; }
.data-cell__label {
  font-size: 12px; font-weight: 300;
  color: var(--text-3); letter-spacing: 0.04em; line-height: 1.5;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: '';
  display: block; width: 24px; height: 1px; background: var(--text-4);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--text-3); }
.section-sub {
  font-size: 15px; font-weight: 300;
  color: var(--text-3); line-height: 1.8;
  max-width: 520px;
}

/* ── SECTIONS ── */
.section { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--bg); }
.section--card { background: var(--bg-1); }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--rule); margin-top: 60px;
}
.service-card {
  background: var(--bg-1); padding: 48px 40px;
  transition: background 0.3s; position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--text); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { background: var(--bg-2); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__index {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 24px;
}
.service-card__icon {
  width: 36px; height: 36px; margin-bottom: 20px;
}
.service-card__icon svg {
  width: 100%; height: 100%;
  stroke: var(--text-3); fill: none;
  stroke-width: 1.25; stroke-linecap: round;
}
.service-card__title {
  font-family: var(--display);
  font-size: 20px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--text);
  margin-bottom: 12px; line-height: 1.25;
}
.service-card__body {
  font-size: 14px; font-weight: 300;
  color: var(--text-3); line-height: 1.75;
  margin-bottom: 24px;
}
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card__tag {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-4);
  border: 1px solid var(--rule);
  padding: 4px 10px;
}

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; border-top: 1px solid var(--rule); margin-top: 60px;
}
.process-step {
  padding: 52px 40px;
  border-right: 1px solid var(--rule);
}
.process-step:last-child { border-right: none; }
.process-step__num {
  font-family: var(--display);
  font-size: 72px; font-weight: 600;
  color: rgba(255,255,255,0.05); line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 20px;
}
.process-step__title {
  font-family: var(--display);
  font-size: 18px; font-weight: 500;
  color: var(--text); letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.process-step__body {
  font-size: 14px; font-weight: 300;
  color: var(--text-3); line-height: 1.75;
}

/* ── WHO GRID ── */
.who-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--rule); margin-top: 60px;
}
.who-card {
  background: var(--bg-1); padding: 44px 40px;
  transition: background 0.25s;
}
.who-card:hover { background: var(--bg-2); }
.who-card__icon { font-size: 28px; margin-bottom: 16px; line-height: 1; }
.who-card__title {
  font-family: var(--display);
  font-size: 17px; font-weight: 500;
  color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em;
}
.who-card__body {
  font-size: 14px; font-weight: 300;
  color: var(--text-3); line-height: 1.75;
}

/* ── PROJECT PORTFOLIO ── */
.project-card {
  display: block; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s;
}
.project-card:hover { background: var(--bg-1); }
.project-card:hover .project-card__img img { transform: scale(1.03); filter: brightness(0.6) grayscale(0); }
.project-card--featured { grid-column: 1/-1; }
.project-card__img {
  width: 100%; overflow: hidden;
  aspect-ratio: 16/7;
}
.project-card--featured .project-card__img { aspect-ratio: 21/8; }
.project-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.55) grayscale(20%);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.project-card__body { padding: 32px 40px 40px; }
.project-card__kicker {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.project-card__title {
  font-family: var(--display);
  font-size: 24px; font-weight: 500;
  color: var(--text); letter-spacing: -0.01em;
  line-height: 1.2; margin-bottom: 10px;
}
.project-card--featured .project-card__title { font-size: clamp(26px,3vw,38px); }
.project-card__desc {
  font-size: 14px; font-weight: 300;
  color: var(--text-3); line-height: 1.75;
  max-width: 680px; margin-bottom: 20px;
}
.project-card__stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 20px; }
.project-card__stat-num {
  font-family: var(--display);
  font-size: 28px; font-weight: 600;
  color: var(--text); line-height: 1;
  letter-spacing: -0.02em;
}
.project-card__stat-label {
  font-size: 11px; color: var(--text-4);
  letter-spacing: 0.06em; margin-top: 3px;
}
.project-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--rule);
}
.project-card__source {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-4);
}
.project-card__arrow {
  font-size: 18px; color: var(--text-4);
  transition: transform 0.25s, color 0.2s;
}
.project-card:hover .project-card__arrow { transform: translate(4px,-4px); color: var(--text); }

/* ── PERSON / FOUNDER ── */
.person-section { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.person-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 80px; align-items: start;
}
.person-portrait { position: sticky; top: 84px; }
.person-portrait__img {
  width: 100%; aspect-ratio: 3/4;
  overflow: hidden; margin-bottom: 24px;
  background: var(--bg-2);
}
.person-portrait__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
  filter: grayscale(20%);
}
.person-portrait__name {
  font-family: var(--display);
  font-size: 22px; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.person-portrait__role {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 20px;
}
.person-portrait__links { display: flex; flex-direction: column; gap: 10px; }
.person-portrait__link {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.06em; color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.person-portrait__link::before { content: '↗'; font-size: 11px; color: var(--text-4); }
.person-portrait__link:hover { color: var(--text); }

.person-bio h2 {
  font-family: var(--display);
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--text);
  margin: 48px 0 14px;
  padding-top: 48px; border-top: 1px solid var(--rule);
}
.person-bio h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.person-bio p {
  font-size: 15px; font-weight: 300;
  color: var(--text-2); line-height: 1.85; margin-bottom: 16px;
}
.person-bio ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.person-bio ul li {
  font-size: 14px; font-weight: 300;
  color: var(--text-3); line-height: 1.65;
  display: flex; gap: 16px; align-items: flex-start;
}
.person-bio ul li::before {
  content: '—'; font-size: 12px; color: var(--text-4);
  flex-shrink: 0; margin-top: 1px;
}

/* Cred strip */
.cred-strip {
  display: grid; border: 1px solid var(--rule);
  margin-top: 36px; background: var(--bg-1);
}
.cred-strip__cell {
  padding: 20px 24px; border-right: 1px solid var(--rule);
}
.cred-strip__cell:last-child { border-right: none; }
.cred-strip__num {
  font-family: var(--display);
  font-size: 28px; font-weight: 600;
  color: var(--text); line-height: 1; margin-bottom: 4px;
}
.cred-strip__label {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-4); line-height: 1.4;
}

/* Pull quote */
.pull-quote {
  border-left: 2px solid rgba(255,255,255,0.2);
  padding: 24px 28px; margin: 36px 0;
  background: var(--bg-1);
}
.pull-quote__text {
  font-family: var(--display);
  font-size: 20px; font-weight: 400;
  color: var(--text-2); line-height: 1.55;
  margin-bottom: 12px; letter-spacing: -0.01em;
  font-style: italic;
}
.pull-quote__attr {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-4);
}

/* ── SIDEBAR ── */
.sidebar-card {
  background: var(--bg-1); border: 1px solid var(--rule);
  padding: 24px; margin-bottom: 16px;
}
.sidebar-card__title {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.sidebar-row { display: flex; flex-direction: column; gap: 12px; }
.sidebar-item { display: flex; justify-content: space-between; gap: 12px; }
.sidebar-item__label { font-size: 12px; font-weight: 300; color: var(--text-4); }
.sidebar-item__value { font-size: 12px; color: var(--text-2); text-align: right; }
hr.sidebar-rule { border: none; border-top: 1px solid var(--rule); }
.sidebar-link {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.06em; color: var(--text-3);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.sidebar-link:hover { color: var(--text); }
.sidebar-link::after { content: ' ↗'; }

/* ── CONTENT GRID ── */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }

/* ── MARQUEE ── */
.marquee { background: var(--bg-2); overflow: hidden; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.marquee__track { display: flex; animation: marquee-run 36s linear infinite; width: max-content; }
.marquee__item {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-4); white-space: nowrap; padding: 0 28px;
}
@keyframes marquee-run { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  grid-auto-rows: 240px; gap: 2px;
}
.gallery-item { overflow: hidden; cursor: zoom-in; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter: grayscale(25%) brightness(0.8);
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); filter: grayscale(0%) brightness(1); }

/* Lightbox */
.lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.96); z-index:2000; align-items:center; justify-content:center; padding:20px; }
.lightbox.open { display:flex; }
.lightbox__img { max-width:90vw; max-height:88vh; object-fit:contain; }
.lightbox__close { position:absolute; top:20px; right:24px; font-size:24px; color:rgba(255,255,255,0.4); cursor:pointer; background:none; border:none; transition:color 0.2s; font-family:var(--display); }
.lightbox__close:hover { color:#fff; }
.lightbox__prev,.lightbox__next { position:absolute; top:50%; transform:translateY(-50%); font-size:24px; color:rgba(255,255,255,0.3); cursor:pointer; background:none; border:none; padding:24px; transition:color 0.2s; }
.lightbox__prev { left:0; }
.lightbox__next { right:0; }
.lightbox__prev:hover,.lightbox__next:hover { color:#fff; }
.lightbox__counter { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); font-size:11px; color:rgba(255,255,255,0.3); letter-spacing:0.1em; }

/* ── CTA SECTION ── */
.cta-section { padding: 120px 0; background: var(--bg-1); border-top: 1px solid var(--rule); }
.cta-section__inner { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.cta-section__title { font-family: var(--display); font-size: clamp(28px,4vw,52px); font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1.1; margin-bottom: 12px; }
.cta-section__body { font-size: 15px; font-weight: 300; color: var(--text-3); line-height: 1.75; max-width: 500px; }
.cta-section__actions { display: flex; flex-direction: column; gap: 14px; min-width: 200px; }
.cta-section__secondary { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.cta-section__secondary::after { content: '→'; }
.cta-section__secondary:hover { color: var(--text-3); }

/* ── FILTER BAR ── */
.filter-bar { padding: 0; border-bottom: 1px solid var(--rule); background: var(--bg); overflow-x: auto; }
.filter-bar__inner { display: flex; }
.filter-btn { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 22px; cursor: pointer; background: none; border: none; border-right: 1px solid var(--rule); color: var(--text-4); white-space: nowrap; transition: color 0.15s, background 0.15s; }
.filter-btn:hover { color: var(--text-3); background: var(--bg-1); }
.filter-btn.active { color: var(--text); background: var(--bg-2); }

/* ── FORM ── */
.form-section { background: var(--bg-1); border: 1px solid var(--rule); padding: 48px; }
.form-section__title { font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; margin-bottom: 6px; }
.form-section__sub { font-size: 14px; font-weight: 300; color: var(--text-3); margin-bottom: 36px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); margin-bottom: 8px; }
.form-group input,.form-group select,.form-group textarea { width: 100%; font-family: var(--body); font-size: 14px; font-weight: 300; color: var(--text); background: var(--bg-2); border: 1px solid var(--rule-2); padding: 12px 16px; outline: none; appearance: none; transition: border-color 0.2s; }
.form-group input::placeholder,.form-group textarea::placeholder { color: var(--text-4); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: rgba(255,255,255,0.35); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; color: var(--text-3); }
.form-group select option { background: var(--bg-2); }
.form-submit { width: 100%; font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; background: var(--text); color: var(--bg); border: none; padding: 16px 28px; cursor: pointer; transition: background 0.2s; margin-top: 4px; }
.form-submit:hover { background: var(--text-2); }
.form-note { font-size: 11px; color: var(--text-4); text-align: center; letter-spacing: 0.06em; margin-top: 12px; }

/* ── FOOTER ── */
.footer { background: var(--bg); border-top: 1px solid var(--rule); padding: 0; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-bottom: 1px solid var(--rule); }
.footer__col { padding: 48px 40px; border-right: 1px solid var(--rule); }
.footer__col:last-child { border-right: none; }
.footer__col-title { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4); margin-bottom: 24px; }
.footer__logo { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; margin-bottom: 10px; }
.footer__tagline { font-size: 13px; font-weight: 300; color: var(--text-4); line-height: 1.65; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 13px; font-weight: 300; color: var(--text-4); transition: color 0.2s; }
.footer__links a:hover { color: var(--text-2); }
.footer__bottom { padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__copy { font-size: 11px; font-weight: 300; color: var(--text-4); letter-spacing: 0.04em; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 11px; font-weight: 300; color: var(--text-4); transition: color 0.2s; }
.footer__legal a:hover { color: var(--text-3); }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:nth-child(2) { border-right: none; }
  .footer__col:nth-child(3) { border-top: 1px solid var(--rule); }
  .cta-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .content-grid { grid-template-columns: 1fr; }
  .person-grid { grid-template-columns: 1fr; gap: 48px; }
  .person-portrait { position: static; max-width: 280px; }
}
@media(max-width:768px) {
  .nav__links { display: none; }
  .nav__links.is-open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(0,0,0,0.98); border-bottom: 1px solid var(--rule); padding: 20px 24px 28px; gap: 20px; z-index: 200; }
  .nav__links.is-open a { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; border-right: none; }
  .nav__hamburger { display: flex; }
  .nav__cta { display: none; }
  .hero__title { font-size: clamp(32px,8vw,52px); }
  .services-grid,.who-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .data-strip { grid-template-columns: 1fr 1fr; }
  .data-cell:nth-child(even) { border-right: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__col { border-right: none; border-bottom: 1px solid var(--rule); }
  .cred-strip { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-section { padding: 28px 24px; }
}
@media(max-width:480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .data-strip { grid-template-columns: 1fr; }
  .data-cell { border-right: none; }
}

/* ── NAV UPDATES ── */
/* Active page indicator */
.nav__links a.active {
  color: var(--text) !important;
  position: relative;
}
.nav__links a.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--text);
}

/* Division switcher link */
.nav__switch {
  color: var(--text-4) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  border-left: 1px solid var(--rule) !important;
  padding-left: 20px !important;
  margin-left: 4px;
}
.nav__switch:hover { color: var(--text-3) !important; }

/* Tighten logo sub-label */
.nav__logo .sub {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-4); display: block; margin-top: 2px;
}
