/* --- Navigation --- */
.nav {
  position: relative;
  z-index: 10;
  height: 0; /* Elements are fixed out of this Flow */
}
.nav-logo, .nav-links, .nav-cta {
  position: fixed;
  z-index: 10;
  top: var(--s-4);
}
.nav-logo {
  left: var(--gutter);
}
.nav-cta {
  right: var(--gutter);
}
.nav-links {
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s-3);
  background: var(--panel);
  color: var(--on-dark-1);
  padding: var(--s-2) var(--s-4);
  border-radius: 99px; /* Pill */
}
/* Ensure links pill contrasts over dark sections occasionally */
.nav-links li a {
  color: var(--surface-invert);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.nav-links li a:hover {
  opacity: 1;
}

/* Button primitive */
.button-chip {
  display: inline-block;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-chip);
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: all 0.2s ease;
}
.button-chip:hover {
  background: var(--ink);
  color: var(--ground);
}
.section--dark .button-chip {
  border-color: var(--on-dark-1);
  color: var(--on-dark-1);
}
.section--dark .button-chip:hover {
  background: var(--on-dark-1);
  color: var(--ink);
}
.button-chip.primary,
.section--dark .button-chip.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.button-chip.primary:hover {
  background: var(--ink);
  color: var(--on-dark-1);
  border-color: var(--ink);
}
.section--dark .button-chip.primary:hover {
  background: var(--on-dark-1);
  color: var(--ink);
  border-color: var(--on-dark-1);
}

/* --- Hero --- */
.hero-section {
  padding-top: clamp(120px, 15vh, 180px);
  padding-bottom: var(--section-pad);
}
.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  color: var(--on-light-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(var(--s-4), 5vw, var(--s-6));
}
.hero-eyebrow span:first-child { color: var(--on-light-1); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(var(--s-4), 4vw, var(--s-6));
  align-items: start;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}

.hero-heading { margin-bottom: var(--s-4); }
.hero-sub {
  max-width: 44ch;
  font-family: var(--font-body);
  font-size: var(--text-p);
  line-height: 1.45;
  color: var(--on-light-3);
  text-transform: none;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

/* full-width stat band under both columns */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(var(--s-5), 6vw, var(--s-7));
  border-top: 1px solid var(--ink);
}
.hero-facts div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: var(--s-3) var(--s-3) var(--s-3) 0;
  border-right: 1px solid var(--rule-light);
}
.hero-facts div:last-child { border-right: 0; }
.hero-facts div + div { padding-left: var(--s-3); }
.hero-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--on-light-3);
  white-space: nowrap;
}
.hero-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: .84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--on-light-1);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts div:nth-child(2) { border-right: 0; }
  .hero-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--rule-light); }
  .hero-facts div:nth-child(odd) { padding-left: 0; }
}

/* --- Accordions (Services, FAQ) --- */
.accordion-section, .faq-section {
  padding-block: var(--s-8);
}
.service__trigger, .faq__trigger {
  width: 100%;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-dark);
  transition: background 0.3s ease;
}
.service__trigger > :not(:last-child), .faq__trigger > :not(:last-child) {
  transition: transform 0.3s ease;
}
.service__trigger:hover, .faq__trigger:hover {
  background: rgba(122, 122, 122, 0.05);
}
.service__trigger:hover > :not(:last-child), .faq__trigger:hover > :not(:last-child) {
  transform: translateX(var(--s-2));
}
.faq__trigger {
  border-bottom-color: var(--rule-light);
}
.faq__trigger:hover {
  background: rgba(17, 17, 17, 0.03);
}
/* Base `.row` styles applied already */

.service__panel, .faq__panel {
  height: 0;
  opacity: 0;
  display: block; /* Managed by GSAP */
  overflow: hidden;
}
.panel-content {
  padding-block: var(--s-4);
  padding-left: calc(180px + var(--s-3));
  max-width: 800px;
}
@media (max-width: 600px) {
  .panel-content { padding-left: 0; }
}

/* --- Work: categories & rows --- */
.work-section { padding-block: var(--section-pad); }

.work-category { margin-bottom: clamp(var(--s-6), 7vw, 112px); }
.work-category:last-child { margin-bottom: 0; }

.cat-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-3);
  align-items: baseline;
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--ink);
  margin-bottom: var(--s-1);
}
.cat-header__meta {
  grid-column: 1;
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  color: var(--on-light-3);
}
.cat-header__n { color: var(--accent); }
.cat-header__count { grid-column: 2; grid-row: 1; color: var(--on-light-3); }
.cat-header__title { grid-column: 1 / -1; grid-row: 2; }

@media (max-width: 700px) {
  .cat-header__meta { flex-wrap: wrap; gap: 4px var(--s-2); }
}

.cat-items { display: flex; flex-direction: column; }

/* One row = one series. Preview strip is visible AT REST, in monochrome. */
.work-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto 28px;
  gap: var(--s-3);
  align-items: center;
  padding-block: var(--s-3);
  padding-inline: var(--s-2);
  margin-inline: calc(var(--s-2) * -1);
  border-bottom: 1px solid var(--rule-light);
  border-radius: var(--r-panel);
  color: inherit;
  text-decoration: none;
  transition: background .45s var(--ease-out);
}
.work-row:hover, .work-row:focus-visible { background: var(--tint-light); }

.work-row__meta { color: var(--on-light-3); }
.work-row__title-wrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.work-row__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: var(--anton-lh);
  text-transform: uppercase;
  color: var(--on-light-1);
  transition: transform .45s var(--ease-out);
}
.work-row:hover .work-row__title { transform: translateX(6px); }
.work-row__note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--on-light-3);
  max-width: 46ch;
}

/* --- the preview strip --- */
.work-row__strip {
  display: flex;
  gap: 6px;
  justify-self: end;
}
.shot {
  display: block;
  width: 76px;
  height: 52px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--tint-light);
  transition: width .5s var(--ease-out), height .5s var(--ease-out);
  transition-delay: calc(var(--i) * 40ms);
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  opacity: .72;
  transform: scale(1);
  transition: filter .55s var(--ease-out), opacity .55s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i) * 40ms);
}
.work-row:hover .shot,
.work-row:focus-visible .shot { width: 104px; height: 70px; }
.work-row:hover .shot img,
.work-row:focus-visible .shot img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.06);
}

.work-row__icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--on-light-3);
  justify-self: end;
  transition: transform .45s var(--ease-out), color .45s var(--ease-out);
}
.work-row:hover .work-row__icon { transform: translate(4px, -4px); color: var(--accent); }

@media (max-width: 1100px) {
  .work-row { grid-template-columns: 150px minmax(0,1fr) auto 24px; }
  .shot { width: 60px; height: 42px; }
  .work-row:hover .shot { width: 78px; height: 54px; }
}
@media (max-width: 820px) {
  .work-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "meta icon" "title title" "strip strip";
    row-gap: var(--s-2);
    padding-block: var(--s-3);
  }
  .work-row__meta { grid-area: meta; }
  .work-row__icon { grid-area: icon; }
  .work-row__title-wrap { grid-area: title; }
  .work-row__strip { grid-area: strip; justify-self: start; overflow-x: auto; max-width: 100%; padding-bottom: 2px; }
  .shot { width: 84px; height: 56px; flex: none; }
  .work-row:hover .shot { width: 84px; height: 56px; }
  .shot img { filter: grayscale(0); opacity: 1; }
  .work-row:hover .work-row__title { transform: none; }
}

/* --- About / Resume ------------------------------------------------
   The section ground stays light so the dark card actually READS as it
   grows. Dark-on-dark made the whole set piece invisible.            */
.about-section {
  height: 200vh;
  position: relative;
  background: var(--ground);
}
/* In-flow, not absolute: ScrollTrigger measures the pinned element and
   writes that width back inline, and an absolutely-positioned one measured
   short — which is why the card sat against the left edge. */
.about__pin {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__card {
  background: var(--panel);
  color: var(--on-dark-1);
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  /* clears the fixed nav — without this the eyebrow was being clipped off
     the top and the headline collided with the wordmark */
  padding-block: clamp(72px, 9vh, 96px) clamp(24px, 4vh, 48px);
}
.about__inner {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}
.about__inner::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.about__eyebrow {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  color: var(--on-dark-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--rule-dark);
  margin-bottom: clamp(var(--s-2), 2.4vw, var(--s-4));
}

.about__content {
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.2fr) minmax(210px, 0.78fr);
  gap: clamp(var(--s-3), 3.4vw, var(--s-5));
  align-items: start;
}
@media (max-width: 1180px) {
  .about__content { grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1fr); }
  .about__exp { grid-column: 1 / -1; }
  .about__exp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .about__content { grid-template-columns: 1fr; gap: var(--s-4); }
  .about__exp-list { grid-template-columns: 1fr; }
}

/* ---- the animated "currently working in" panel ---- */
.about__now-label { color: var(--on-dark-3); }
.about__now-word {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  line-height: var(--anton-lh);
  letter-spacing: -0.014em;
  text-transform: uppercase;
  color: var(--on-dark-1);
  margin: var(--s-1) 0 6px;
  min-height: 1em;
}
.about__now-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-3);
  color: var(--on-dark-3);
}
.about__now-index { color: var(--accent); }
.about__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  margin-top: var(--s-3);
}
.about__rail li {
  height: 3px;
  border-radius: 2px;
  background: rgba(235,233,228,0.16);
  overflow: hidden;
}
.about__rail li span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--on-dark-1);
  margin-bottom: var(--s-2);
}
.about__bio .body-text {
  max-width: 44ch;
  font-size: clamp(15px, 1.35vw, 19px);
  color: var(--on-dark-2);
}

/* ---- experience ---- */
.about__exp-label { color: var(--accent); display: block; margin-bottom: var(--s-2); }
.about__exp-list {
  display: grid;
  gap: var(--s-2);
}
.about__exp-item {
  display: block;
  padding: var(--s-2) 0;
  border-top: 1px solid var(--rule-dark);
  color: inherit;
  text-decoration: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.about__exp-list li:last-child .about__exp-item { border-bottom: 1px solid var(--rule-dark); }
.about__exp-item:hover { transform: translateX(4px); }
.about__exp-item:hover .about__exp-role { color: var(--accent); }
.about__exp-years { display: block; color: var(--on-dark-3); }
.about__exp-role {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.75vw, 1.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--on-dark-1);
  margin: 4px 0 2px;
  transition: color .3s var(--ease-out);
}
.about__exp-org { display: block; color: var(--on-dark-2); }
.about__exp-note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-dark-3);
}

/* ---- capabilities ---- */
.about__caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px clamp(var(--s-3), 4vw, var(--s-5));
  margin-top: clamp(16px, 2vw, 24px);
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
}
@media (max-width: 640px) { .about__caps { grid-template-columns: 1fr; } }
/* one line per capability, so the band costs two rows instead of six */
.about__cap { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.about__cap > .meta { color: var(--accent); flex: 0 0 86px; }
.about__cap ul { display: flex; flex-wrap: wrap; gap: 4px 0; }
.about__cap li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--on-dark-3);
  padding-inline: 11px;
  border-right: 1px solid var(--rule-dark);
}
.about__cap li:first-child { padding-left: 0; }
.about__cap li:last-child { border-right: 0; padding-right: 0; }
/* the practice line is the odd one out — let it run the full width */
.about__caps > .about__cap:last-child { grid-column: 1 / -1; }

.about__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(16px, 2vw, 24px);
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
}
.about__status { display: flex; align-items: center; gap: var(--s-1); color: var(--on-dark-2); }

/* --- Values --- */
.values-section {
  padding-block: var(--s-8);
}
.value-row__label {
  color: var(--on-dark-dim); /* Start dark */
}

/* --- CTA --- */
.cta-section {
  padding-block: var(--s-8);
}
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--panel-dark);
  border-radius: var(--r-panel);
  padding: clamp(var(--s-5), 11vw, var(--s-8));
}
/* the halftone field — texture, never a competitor to the type */
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.cta-panel__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-4);
}
.cta-panel__eyebrow {
  color: var(--on-dark-3);
  margin-bottom: calc(var(--s-2) * -1);
}

/* --- Footer --- */
.site-footer {
  padding-block: var(--s-8) var(--s-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col > .label {
  display: block;
  color: var(--on-light-3);
  margin-bottom: var(--s-2);
}
.footer-links li { margin-bottom: var(--s-1); }
.footer-links a { transition: color .25s var(--ease-out); }
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  border-top: 1px solid var(--rule-light);
  border-bottom: none; /* Override row base */
}

/* ================= Hero: genre engine (right column) =================
   No panel. The drawing sits straight on the page ground, in ink.      */
.hero-genre {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
.genre-stage { position: relative; }
.genre-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  max-width: 100%;
  background: transparent;
}
.genre-corner {
  position: absolute;
  top: var(--s-2);
  right: 0;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--on-light-3);
}

.genre-caption {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-areas: "n name" ". note";
  column-gap: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px solid var(--rule-light);
}
.genre-n {
  grid-area: n;
  color: var(--accent);
  align-self: center;
  font-size: 12px;
}
.genre-name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  line-height: var(--anton-lh);
  text-transform: uppercase;
  color: var(--on-light-1);
}
.genre-note {
  grid-area: note;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--on-light-3);
}

.genre-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 5px;
  margin-top: var(--s-3);
}
.genre-rail button {
  position: relative;
  display: block;
  width: 100%;
  height: 22px;
  padding: 9px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.genre-rail button::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 9px;
  height: 3px;
  border-radius: 2px;
  background: rgba(17,17,17,0.16);
}
.genre-rail button:hover::before { background: rgba(17,17,17,0.34); }
.genre-rail__fill {
  position: relative;
  z-index: 1;
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

@media (max-width: 1000px) {
  .genre-canvas { aspect-ratio: 16 / 9; }
}

/* --- refinements ------------------------------------------------- */
/* Notes get room to breathe; they were wrapping far too narrow. */
.work-row__note { max-width: 64ch; }

/* Light screenshots were washing out at 0.72 — lift the resting floor. */
.shot img { opacity: .82; }

/* A row with a single shot is a screenshot, not a strip: show it bigger
   and at a browser-ish ratio so it reads as a website. */
.work-row__strip:has(.shot:only-child) .shot { width: 148px; height: 94px; }
.work-row:hover .work-row__strip:has(.shot:only-child) .shot { width: 178px; height: 112px; }
.work-row__strip:has(.shot:only-child) .shot img { object-position: top center; }

/* Live rows carry a small marker so client work reads as shipped. */
/* Stack the badge under the meta so LIVE lands in the same place on every
   row, instead of sitting inline on short labels and wrapping on long ones. */
.work-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.work-row--live .work-row__meta::after {
  content: "LIVE";
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 1px 5px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: .08em;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .work-row__strip:has(.shot:only-child) .shot { width: 118px; height: 74px; }
  .work-row:hover .work-row__strip:has(.shot:only-child) .shot { width: 138px; height: 88px; }
}
@media (max-width: 820px) {
  .work-row__strip:has(.shot:only-child) .shot,
  .work-row:hover .work-row__strip:has(.shot:only-child) .shot { width: 200px; height: 126px; }
  .work-row__note { max-width: 100%; }
}

/* status dot (used by the resume section) */
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,76,36,.45);
  animation: statusPulse 2.4s ease-out infinite;
  flex: none;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,76,36,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(255,76,36,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,76,36,0); }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

/* The nav floats over alternating light and dark grounds. `mix-blend-mode`
   can't work here — the logo is fixed and z-indexed, so it has no backdrop
   to blend against and just stayed white. A class on <body>, driven by which
   section is under the nav band, is the reliable way. */
.nav-logo { color: var(--on-light-1); transition: color .3s var(--ease-out); }
.nav-cta  { transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out); }

body.nav-on-dark .nav-logo { color: var(--on-dark-1); }
body.nav-on-dark .nav-cta {
  border-color: var(--on-dark-1);
  color: var(--on-dark-1);
}
body.nav-on-dark .nav-cta:hover { background: var(--on-dark-1); color: var(--panel); }
body.nav-on-dark .nav-links { background: var(--surface-invert); }
body.nav-on-dark .nav-links li a { color: var(--panel); }

/* the category title is a link into its detail page */
.cat-header__title a { color: inherit; text-decoration: none; display: inline-block; transition: color .3s var(--ease-out), transform .3s var(--ease-out); }
.cat-header__title a:hover { color: var(--accent); transform: translateX(6px); }

/* short viewports: the resume card must never outgrow 100vh */
@media (max-height: 860px) {
  .about__title    { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
  .about__now-word { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
  .about__bio .body-text { font-size: 15px; line-height: 1.45; }
  .about__cap li   { font-size: 13px; }
  .about__caps     { gap: var(--s-2); }
  .about__exp-item { padding: 8px 0; }
  .about__exp-note { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .about__exp-role { font-size: 1.2rem; }
  .about__card { padding-block: clamp(60px, 8vh, 80px) clamp(20px, 3vh, 32px); }
  .about__caps, .about__foot { margin-top: var(--s-2); }
  .about__rail { margin-top: var(--s-2); }
  .about__exp-list { gap: 2px; }
  .about__eyebrow { margin-bottom: var(--s-2); padding-bottom: 6px; }
  .about__cap ul { gap: 2px; }
  .about__caps, .about__foot { padding-top: 10px; }
  .about__title { margin-bottom: 10px; }
}

/* ================= Nav scrim ================= */
.nav-scrim {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 108px;
  z-index: 9;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(235,233,228,0.72), rgba(235,233,228,0));
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
body.nav-visible .nav-scrim { opacity: 1; }
body.nav-on-dark .nav-scrim {
  background: linear-gradient(to bottom, rgba(17,17,17,0.72), rgba(17,17,17,0));
}

/* ================= Engineering ================= */
.eng-section { padding-block: var(--section-pad); }
.eng-lede {
  max-width: 64ch;
  margin-top: var(--s-3);
  margin-bottom: clamp(var(--s-4), 5vw, var(--s-6));
}
.eng-group {
  display: block;
  color: var(--accent);
  padding-bottom: var(--s-1);
  border-bottom: 1px solid var(--rule-light);
  margin-bottom: var(--s-1);
}
.eng-group + .eng-list { margin-bottom: clamp(var(--s-4), 5vw, var(--s-6)); }

.eng-list { display: flex; flex-direction: column; }
.eng-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 28px;
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-3) var(--s-2);
  margin-inline: calc(var(--s-2) * -1);
  border-bottom: 1px solid var(--rule-light);
  border-radius: var(--r-panel);
  color: inherit;
  text-decoration: none;
  transition: background .45s var(--ease-out);
}
.eng-row:hover, .eng-row:focus-visible { background: var(--tint-light); }
.eng-row__meta { color: var(--on-light-3); padding-top: 3px; }
.eng-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eng-row__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: var(--anton-lh);
  text-transform: uppercase;
  color: var(--on-light-1);
  transition: transform .45s var(--ease-out);
}
.eng-row:hover .eng-row__title { transform: translateX(6px); }
.eng-row__note { font-size: 14px; line-height: 1.5; color: var(--on-light-3); max-width: 68ch; }
.eng-row__stack { color: var(--on-light-2); }
.eng-row__icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--on-light-3);
  justify-self: end;
  padding-top: 2px;
  transition: transform .45s var(--ease-out), color .45s var(--ease-out);
}
.eng-row:hover .eng-row__icon { transform: translateX(4px); color: var(--accent); }
.eng-all { display: inline-block; margin-top: var(--s-4); }

@media (max-width: 820px) {
  .eng-row { grid-template-columns: 1fr 24px; grid-template-areas: "meta icon" "body body"; row-gap: var(--s-2); }
  .eng-row__meta { grid-area: meta; }
  .eng-row__icon { grid-area: icon; }
  .eng-row__body { grid-area: body; }
  .eng-row:hover .eng-row__title { transform: none; }
}

/* ================= Start here ================= */
.start-section {
  padding-block: clamp(var(--s-5), 7vw, var(--s-7));
  border-top: 1px solid var(--rule-light);
}
.start__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2) var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule-light);
}
.start__label { color: var(--accent); }
.start__lede {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  color: var(--on-light-2);
  max-width: 44ch;
}

.start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
@media (max-width: 860px) { .start__grid { grid-template-columns: 1fr; } }

.start__card {
  display: flex;
  flex-direction: column;
  padding: clamp(var(--s-3), 2.6vw, var(--s-5)) clamp(var(--s-3), 2.2vw, var(--s-4));
  border-bottom: 1px solid var(--rule-light);
  border-right: 1px solid var(--rule-light);
  color: inherit;
  text-decoration: none;
  transition: background .4s var(--ease-out);
}
.start__card:first-child { padding-left: 0; }
.start__card:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 860px) {
  .start__card, .start__card:last-child { border-right: 0; padding-inline: 0; }
}
.start__card:hover { background: var(--tint-light); }

.start__n { color: var(--accent); margin-bottom: var(--s-3); }
.start__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.9rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--on-light-1);
  margin-bottom: var(--s-2);
}
.start__note {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-light-3);
  max-width: 34ch;
  margin-bottom: var(--s-3);
}
.start__go {
  margin-top: auto;
  color: var(--on-light-2);
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}
.start__card:hover .start__go { color: var(--accent); transform: translateX(4px); }

/* ---- client row ---- */
.start__clients {
  margin-top: clamp(var(--s-4), 4.5vw, var(--s-6));
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-light);
  text-align: center;
}
.start__clients-label {
  display: block;
  color: var(--on-light-3);
  margin-bottom: var(--s-3);
}
.client-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--s-4), 6vw, var(--s-7));
  list-style: none;
}
/* Optical sizing: each mark gets the same BOX, not the same height —
   a wide lockup and a round seal look wrong at equal height. The box
   contains the whole mark, so nothing is ever cropped. */
.client-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(66px, 7.2vw, 92px);
}
.client-row img {
  max-height: 100%;
  max-width: clamp(150px, 17vw, 230px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.72;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
/* the wordmark lockup is visually lighter than the seals — let it run wider */
.client-row li:nth-child(2) img { max-width: clamp(190px, 21vw, 290px); }
.client-row li:hover img { opacity: 1; transform: scale(1.04); }

/* ================= Process (was Philosophy) ================= */
.process__lede {
  max-width: 56ch;
  color: var(--on-dark-2);
  margin-block: var(--s-4) var(--s-2);
}
.process-list .row {
  grid-template-columns: 180px minmax(0, 0.85fr) minmax(0, 1.25fr);
  align-items: start;
  gap: var(--s-3) clamp(var(--s-3), 4vw, var(--s-5));
}
@media (max-width: 900px) {
  .process-list .row { grid-template-columns: 120px minmax(0, 1fr); }
  .process-row__body { grid-column: 2; }
}
@media (max-width: 600px) {
  .process-list .row { grid-template-columns: 1fr; }
  .process-row__body { grid-column: 1; }
}
.process-row__body { display: block; padding-top: 4px; }
.process-row__principle {
  display: block;
  color: var(--accent);
  margin-bottom: 6px;
}
.process-row__note {
  display: block;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-dark-3);
  max-width: 48ch;
}
