/* projects — page-specific styles */

.proj-empty {
  margin: 0; padding: 48px 0;
  text-align: center; font-size: 15px; color: var(--grey);
}
/* ===================================================================
   CAPABILITIES PAGE — page-specific
   =================================================================== */

/* active nav state */
.nav .nav-link.is-active { color: var(--ink); }
.nav .nav-link.is-active::after { transform: scaleX(1); }

/* reusable photo placeholder (real photography drops in here) */
.ph {
  position: relative;
  width: 100%;
  background-color: #15150F;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 11px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% 0%, rgba(245,166,35,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.ph .ph-tag {
  position: absolute; left: 22px; bottom: 20px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: rgba(250,250,247,0.66);
  display: inline-flex; align-items: center; gap: 10px;
  z-index: 2;
}
.ph .ph-tag::before {
  content: ""; width: 9px; height: 9px;
  border: 1px solid rgba(245,166,35,0.85);
  background: transparent;
}
.ph .ph-corner {
  position: absolute; top: 20px; right: 22px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250,250,247,0.5); z-index: 2;
}

/* ---------- PAGE HERO (news-style hub) ---------- */
.cap-hero--projects .projects-hero-head {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  gap: var(--label-gap);
  align-items: start;
}
.cap-hero--projects .projects-hero-head .sh-rail { padding-bottom: 10px; }
.cap-hero--projects .projects-hero-head .headcol { grid-column: auto; grid-row: auto; }
.cap-hero--projects .projects-hero-head .sh-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--grey);
  display: block;
  line-height: 1.7;
}
.cap-hero--projects .projects-hero-head .sh-label::before {
  content: none;
  display: none;
}
.cap-hero--projects h1 {
  max-width: 22ch;
  margin-bottom: 28px;
}
.cap-hero--projects .lead.lead--follow { margin-top: 20px; }
.cap-hero .banner.has-photo {
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: clamp(280px, 42vw, 460px);
  min-height: 280px;
}
.cap-hero--projects .banner .ph-corner {
  position: absolute;
  top: 20px;
  right: var(--gutter);
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.cap-hero { background: var(--paper); border-bottom: 1px solid var(--rule); }
.cap-hero .top {
  max-width: var(--col-max); margin: 0 auto;
  padding: 84px var(--gutter) 56px;
  display: grid; grid-template-columns: var(--label-col) 1fr; gap: var(--label-gap);
  align-items: start;
}
.cap-hero .crumb {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey); font-weight: 500;
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
}
.cap-hero .crumb a { color: var(--grey); }
.cap-hero .crumb a:hover { color: var(--ink); }
.cap-hero .crumb .here { color: var(--ink); }
.cap-hero .crumb .slash { color: var(--rule); }
.cap-hero .headcol .eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: var(--grey);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.cap-hero .headcol .eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--amber); }
.cap-hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(48px, 6.6vw, 104px);
  line-height: 0.99; letter-spacing: -0.036em;
  margin: 0 0 36px; max-width: 15ch; text-wrap: balance; color: var(--ink);
}
.cap-hero h1 em { font-style: normal; border-bottom: 5px solid var(--amber); padding-bottom: 4px; }
.cap-hero .lead {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(20px, 1.7vw, 27px); line-height: 1.4; letter-spacing: -0.012em;
  color: var(--ink-2); max-width: 46ch; margin: 0; text-wrap: pretty;
}
.cap-hero--projects .lead {
  max-width: 62ch;
  font-size: 21px;
  line-height: 1.55;
}
.cap-hero .banner {
  position: relative;
  height: 460px;
  width: 100%;
  border-top: 1px solid var(--rule);
}
.cap-hero .banner .meta-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.cap-hero .banner .meta-strip .cell {
  flex: 1 1 0; min-width: 180px;
  padding: 22px var(--gutter) 22px 28px;
  border-left: 1px solid rgba(255,255,255,0.16);
  background: rgba(10,10,10,0.42);
  backdrop-filter: blur(4px);
}
.cap-hero .banner .meta-strip .cell:first-child { border-left: 0; }
.cap-hero .banner .meta-strip .cell .v {
  font-family: var(--display); font-weight: 600;
  font-size: 30px; letter-spacing: -0.02em; color: var(--paper); line-height: 1;
  margin-bottom: 9px;
}
.cap-hero .banner .meta-strip .cell .k {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(250,250,247,0.66); font-weight: 500;
}

/* ---------- CATEGORY INDEX ---------- */
.cat-index { background: var(--white); border-bottom: 1px solid var(--rule); }
.cat-index .inner {
  max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter);
}
.cat-index .idx-head {
  display: grid; grid-template-columns: var(--label-col) 1fr; gap: var(--label-gap);
  padding: 44px 0 28px;
}
.cat-index .idx-head .lbl {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}
.cat-index .idx-head .lbl::before { content: ""; width: 28px; height: 1px; background: var(--amber); }
.cat-index .idx-head p { margin: 0; font-size: 15px; color: var(--ink-3); max-width: 52ch; line-height: 1.6; }
.idx-row {
  display: grid; grid-template-columns: var(--label-col) 1fr auto;
  gap: var(--label-gap); align-items: center;
  padding: 26px 0; border-top: 1px solid var(--rule);
  transition: background 160ms ease;
}
.idx-row:hover { background: var(--paper); }
.idx-row .ix-num {
  font-family: var(--display); font-weight: 500;
  font-size: 13px; letter-spacing: 0.14em; color: var(--amber);
}
.idx-row .ix-name {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -0.022em; color: var(--ink);
  display: flex; align-items: baseline; gap: 18px;
}
.idx-row .ix-name .count {
  font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: 0.1em;
  color: var(--grey); text-transform: uppercase;
}
.idx-row .ix-go {
  font-family: var(--display); font-weight: 500; font-size: 13.5px;
  color: var(--ink); display: inline-flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.idx-row .ix-go .arr { color: var(--amber); transition: transform 200ms ease; }
.idx-row:hover .ix-go .arr { transform: translateX(5px); }

/* ---------- CATEGORY DETAIL ---------- */
.cat { border-bottom: 1px solid var(--rule); background: var(--paper); }
.cat:nth-child(even) { background: var(--white); }
.cat .cat-inner { max-width: var(--col-max); margin: 0 auto; padding: var(--section-pad) var(--gutter); }
.cat .cat-head {
  display: grid; grid-template-columns: var(--label-col) 1fr 300px;
  gap: var(--label-gap); align-items: end;
}
.cat .cat-head .rail { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
.cat .cat-head .rail .c-num {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; color: var(--amber);
}
.cat .cat-head .rail .c-kicker {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); font-weight: 500;
}
.cat .cat-head h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(38px, 4.4vw, 68px); line-height: 0.98; letter-spacing: -0.03em;
  margin: 0; max-width: 15ch; text-wrap: balance; color: var(--ink);
}
.cat .cat-head h2 em { font-style: normal; border-bottom: 4px solid var(--amber); padding-bottom: 3px; }
.cat .cat-head .lead {
  font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 40ch; padding-bottom: 6px;
}
.cat .cat-body {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px;
  margin-top: 72px; align-items: start;
}
.cat .prod-list { border-top: 1px solid var(--ink); }
.cat .prod {
  display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--rule); position: relative;
}
.cat .prod .p-name {
  font-family: var(--display); font-weight: 600; font-size: 19px;
  letter-spacing: -0.014em; color: var(--ink);
  display: flex; align-items: center; gap: 14px;
}
.cat .prod .p-name .tick { width: 6px; height: 6px; background: var(--amber); flex-shrink: 0; }
.cat .prod .p-tag {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--grey); justify-self: end; white-space: nowrap;
}
.cat .prod .p-spec {
  grid-column: 1 / -1; margin: 0; padding-left: 20px;
  font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 52ch;
}
.cat .figure { display: flex; flex-direction: column; gap: 0; }
.cat .figure .ph { width: 100%; height: 420px; }
.cat .figure .spec-row {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--rule); border-top: 0;
}
.cat .figure .spec-row .s {
  flex: 1 1 0; min-width: 120px; padding: 20px 22px;
  border-left: 1px solid var(--rule);
}
.cat .figure .spec-row .s:first-child { border-left: 0; }
.cat .figure .spec-row .s .sv {
  font-family: var(--display); font-weight: 600; font-size: 24px;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1; margin-bottom: 8px;
}
.cat .figure .spec-row .s .sv sup { font-size: 0.5em; vertical-align: super; font-weight: 500; }
.cat .figure .spec-row .s .sk {
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); font-weight: 500;
}

/* ---------- SPEC COMPARISON TABLE ---------- */
.compare { background: var(--ink); color: var(--paper); }
.compare .inner { max-width: var(--col-max); margin: 0 auto; padding: var(--section-pad) var(--gutter); }
.compare .c-head { display: grid; grid-template-columns: var(--label-col) 1fr; gap: var(--label-gap); margin-bottom: 56px; }
.compare .c-head .lbl {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-2); font-weight: 500;
  display: flex; align-items: center; gap: 12px; padding-top: 8px;
}
.compare .c-head .lbl::before { content: ""; width: 28px; height: 1px; background: var(--amber); }
.compare .c-head h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.8vw, 60px);
  line-height: 1; letter-spacing: -0.028em; margin: 0; max-width: 18ch; color: var(--paper);
}
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,0.16); vertical-align: top; }
.tbl thead th {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.tbl thead th:first-child { color: var(--paper); }
.tbl tbody th {
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--paper);
  white-space: nowrap;
}
.tbl tbody td { font-size: 14px; color: rgba(250,250,247,0.82); line-height: 1.5; }
.tbl tbody tr:hover td, .tbl tbody tr:hover th { background: rgba(255,255,255,0.03); }
.tbl .em { color: var(--amber); font-weight: 500; }

/* ---------- MATERIALS ---------- */
.materials { background: var(--paper); border-bottom: 1px solid var(--rule); }
.materials .inner { max-width: var(--col-max); margin: 0 auto; padding: var(--section-pad) var(--gutter); }
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.mat {
  padding: 40px 32px 40px 0; border-right: 1px solid var(--rule);
}
.mat:last-child { border-right: 0; padding-right: 0; }
.mat::before { content: ""; display: block; width: 26px; height: 2px; background: var(--amber); margin-bottom: 26px; }
.mat .code {
  font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 14px;
}
.mat p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 34ch; }
.mat .grade {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 600;
}

/* ---------- DOWNLOADS ---------- */
.downloads { background: var(--white); border-bottom: 1px solid var(--rule); }
.downloads .inner { max-width: var(--col-max); margin: 0 auto; padding: var(--section-pad) var(--gutter); }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.dl {
  display: flex; flex-direction: column; gap: 14px;
  padding: 40px 36px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--white); transition: background 180ms ease;
}
.dl:hover { background: var(--paper); }
.dl .dl-type {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey);
  display: flex; align-items: center; gap: 10px;
}
.dl .dl-type::before { content: ""; width: 7px; height: 7px; background: var(--amber); }
.dl h4 {
  font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.016em;
  line-height: 1.22; margin: 0; color: var(--ink); max-width: 22ch;
}
.dl .dl-foot {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.06em; color: var(--grey); text-transform: uppercase; font-weight: 500;
}
.dl .dl-foot .get { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.dl .dl-foot .get .arr { color: var(--amber); transition: transform 200ms ease; }
.dl:hover .dl-foot .get .arr { transform: translateY(3px); }

/* ---------- CLOSING CTA ---------- */
.cap-cta { background: var(--ink); color: var(--paper); }
.cap-cta .inner {
  max-width: var(--col-max); margin: 0 auto; padding: 130px var(--gutter);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end;
}
.cap-cta .lbl {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-2); font-weight: 500;
  display: flex; align-items: center; gap: 12px; margin-bottom: 30px;
}
.cap-cta .lbl::before { content: ""; width: 28px; height: 1px; background: var(--amber); }
.cap-cta h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(40px, 5vw, 84px); line-height: 0.96; letter-spacing: -0.032em;
  margin: 0; max-width: 16ch; text-wrap: balance;
}
.cap-cta h2 em { font-style: normal; border-bottom: 5px solid var(--amber); padding-bottom: 4px; }
.cap-cta .side { padding-bottom: 12px; }
.cap-cta .side p { font-size: 16px; line-height: 1.6; color: rgba(250,250,247,0.82); margin: 0 0 28px; max-width: 40ch; }
.cap-cta .btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.cap-cta .btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.01em;
  padding: 15px 24px;
}
.cap-cta .btn.solid { background: var(--paper); color: var(--ink); }
.cap-cta .btn.solid:hover { background: #fff; }
.cap-cta .btn.ghost { border: 1px solid rgba(255,255,255,0.3); color: var(--paper); }
.cap-cta .btn.ghost:hover { border-color: var(--paper); }
.cap-cta .btn .arr { color: var(--amber); }

@media (max-width: 1200px) {
  .cap-hero--projects .projects-hero-head { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1180px) {
  .cap-hero .top { grid-template-columns: 1fr; gap: 28px; }
  .cap-hero .crumb { padding-top: 0; }
  .cat-index .idx-head { grid-template-columns: 1fr; gap: 16px; }
  .idx-row { grid-template-columns: auto 1fr auto; gap: 24px; }
  .cat .cat-head { grid-template-columns: 1fr; gap: 24px; }
  .cat .cat-body { grid-template-columns: 1fr; gap: 40px; }
  .compare .c-head { grid-template-columns: 1fr; gap: 20px; }
  .mat-grid { grid-template-columns: 1fr 1fr; }
  .mat { padding-right: 32px; border-right: 1px solid var(--rule); }
  .mat:nth-child(2n) { border-right: 0; padding-right: 0; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .cap-cta .inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .cap-hero--projects .banner {
    height: clamp(300px, 70vw, 400px);
    min-height: 300px;
  }
  .cap-hero .banner {
    height: 320px;
  }
  .cap-hero--projects .banner .ph-corner {
    position: absolute;
    top: 14px;
    left: var(--gutter);
    right: auto;
    font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 250, 247, 0.72);
    z-index: 2;
  }
  .cap-hero .banner .meta-strip .cell { padding: 16px 18px; }
  .cap-hero .banner .meta-strip .cell .v { font-size: 22px; }
  .mat-grid, .dl-grid { grid-template-columns: 1fr; }
  .mat,
  .mat:nth-child(2n),
  .mat:nth-child(2n+1) {
    border-right: 0;
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
  }
  .tbl { display: block; overflow-x: auto; white-space: nowrap; }
  .cat .figure .ph { height: 260px; }
}

/* ===================================================================
   PROJECTS PAGE — page-specific
   =================================================================== */
.proj-feature { background: var(--white); border-bottom: 1px solid var(--rule); }
.proj-feature .inner { max-width: var(--col-max); margin: 0 auto; padding: var(--section-pad) var(--gutter); display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: stretch; }
.proj-feature .pf-media { min-height: 540px; }
.proj-feature .pf-text { display: flex; flex-direction: column; justify-content: center; }
.pf-kicker { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); font-weight: 500; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.pf-kicker::before { content:""; width:28px; height:1px; background: var(--amber); }
.proj-feature h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px,4.2vw,64px); line-height:0.98; letter-spacing:-0.03em; margin:0 0 24px; color: var(--ink); max-width: 14ch; text-wrap: balance; }
.proj-feature h2 em { font-style: normal; border-bottom: 4px solid var(--amber); padding-bottom: 3px; }
.proj-feature .pf-text > p { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 32px; max-width: 46ch; }
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-bottom: 34px; }
.pf-stats .s { padding: 24px 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pf-stats .s .v { font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing:-0.02em; color: var(--ink); line-height:1; margin-bottom: 9px; }
.pf-stats .s .k { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.proj-feature .more { font-family: var(--display); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; align-self: flex-start; }
.proj-feature .more .arr { color: var(--amber); }

.proj-index { background: var(--paper); border-bottom: 1px solid var(--rule); }
.proj-index .inner { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter) var(--section-pad); }
.proj-index .section-head { padding-bottom: 48px; }
.proj-tabs {
  display: flex; flex-wrap: nowrap; gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.proj-tabs::-webkit-scrollbar { display: none; }
.proj-tabs .tab {
  font-family: var(--display); font-weight: 500;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); padding: 16px 28px;
  border: 0; background: transparent;
  border-right: 1px solid var(--rule);
  cursor: pointer; white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
  flex: 0 0 auto;
}
.proj-tabs .tab:first-child { border-left: 1px solid var(--rule); }
.proj-tabs .tab:hover { color: var(--ink); background: var(--white); }
.proj-tabs .tab.is-active { color: var(--ink); background: var(--white); box-shadow: inset 0 -2px 0 var(--amber); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.proj { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); display: flex; flex-direction: column; }
.proj .thumb { width: 100%; aspect-ratio: 16/10; }
.proj .p-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proj .p-meta { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); font-weight: 500; display: flex; align-items: center; gap: 14px; }
.proj .p-meta .cat { color: var(--ink-2); font-weight: 600; }
.proj h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.016em; line-height: 1.22; margin: 0; color: var(--ink); max-width: 24ch; }
.proj p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 40ch; }
.proj .p-facts { margin-top: auto; padding-top: 8px; font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 10px; }
.proj-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 36px; }
.proj-filters .chip { font-family: var(--display); font-weight: 500; font-size: 12.5px; letter-spacing: 0.02em; padding: 9px 16px; border: 1px solid var(--rule); color: var(--ink-2); cursor: pointer; background: transparent; transition: all 160ms ease; white-space: nowrap; }
.proj-filters .chip:hover { border-color: var(--ink-3); color: var(--ink); }
.proj-filters .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.proj-list { border-top: 1px solid var(--ink); }
.prow { display: grid; grid-template-columns: 90px 1fr 260px auto; gap: var(--label-gap); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); transition: background 160ms ease; }
.prow:hover { background: var(--white); }
.prow .py { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; color: var(--amber); }
.prow .pname { font-family: var(--display); font-weight: 600; font-size: clamp(20px,2vw,30px); letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.prow .pname .ploc { display:block; font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-top: 9px; }
.prow .pmeta { font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; font-weight: 500; }
.prow .pcap { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); white-space: nowrap; display:inline-flex; align-items:center; gap:16px; justify-self: end; }
.prow .pcap .arr { color: var(--amber); transition: transform 200ms ease; }
.prow:hover .pcap .arr { transform: translateX(5px); }

.sectors { background: var(--white); border-bottom: 1px solid var(--rule); }
.sectors .inner { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter) var(--section-pad); }
.sect-grid { display: grid; grid-template-columns: repeat(5,1fr); gap:0; border-top: 1px solid var(--rule); }
.sect-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sect-grid--3 .sect:nth-child(3n) { border-right: 0; padding-right: 0; }
.sect-grid--3 .sect:nth-child(3n+1) { padding-left: 0; }
.sect-grid--3 .sect:nth-child(n+4) { border-top: 1px solid var(--rule); }
.sect { padding: 44px 24px; border-right: 1px solid var(--rule); }
.sect:first-child { padding-left: 0; }
.sect:last-child { border-right:0; padding-right:0; }
.sect::before { content:""; display:block; width:26px; height:2px; background: var(--amber); margin-bottom: 26px; }
.sect .sn { font-family: var(--display); font-weight:600; font-size:12px; letter-spacing:0.14em; color: var(--amber); margin-bottom: 16px; }
.sect h4 { font-family: var(--display); font-weight:600; font-size: 20px; letter-spacing:-0.016em; margin:0 0 12px; color: var(--ink); max-width: 18ch; }
#partners .sect h4 { max-width: none; }
.sect p { margin:0; font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 32ch; }

@media (max-width: 1180px){
  .proj-feature .inner { grid-template-columns: 1fr; gap: 40px; }
  .proj-feature .pf-media { min-height: 360px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-tabs .tab { padding: 14px 18px; font-size: 12px; }
  .prow { grid-template-columns: 60px 1fr auto; gap: 24px; }
  .prow .pmeta { display: none; }
  .sect-grid { grid-template-columns: 1fr 1fr; }
  .sect-grid--3 .sect:nth-child(3n),
  .sect-grid--3 .sect:nth-child(3n+1) { padding-left: 0; padding-right: 0; border-right: 1px solid var(--rule); }
  .sect-grid--3 .sect:nth-child(n+4) { border-top: 0; }
  .sect:nth-child(2n){ border-right:0; padding-right:0; padding-left:32px; }
  .sect:nth-child(2n+1){ padding-left:0; }
  .art-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .proj-grid { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr auto; gap: 14px; }
  .prow .py { display:none; }
  .sect-grid { grid-template-columns: 1fr; }
  .sect,
  .sect:nth-child(2n),
  .sect:nth-child(2n+1) {
    border-right: 0;
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
  }
  /* Who We Work With: uniform card borders on mobile */
  .sect-grid--3 {
    border-top: 0;
    gap: 16px;
  }
  .sect-grid--3 .sect,
  .sect-grid--3 .sect:nth-child(3n),
  .sect-grid--3 .sect:nth-child(3n+1),
  .sect-grid--3 .sect:nth-child(n+4),
  .sect-grid--3 .sect:nth-child(2n),
  .sect-grid--3 .sect:nth-child(2n+1),
  .sect-grid--3 .sect:first-child,
  .sect-grid--3 .sect:last-child {
    border: 1px solid var(--rule);
    padding: 28px 20px;
  }
  /* Who We Work With: amber underline below wrapped em, not through text */
  #partners .section-head .sh-title {
    max-width: 100%;
    line-height: 1.14;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }
  #partners .section-head .sh-title em {
    border-bottom: none;
    padding-bottom: 0;
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.22em;
  }
  .art-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   MOBILE NAV + REFINEMENTS
   =================================================================== */
.m-toggle { display: none; }
.m-nav { display: none; }
/* Hamburger drawer takes over for tablet + phone (desktop nav cannot fit below ~1180px) */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header-actions .header-cta,
  .header-actions .header-catalog { display: none; }
  .m-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; margin-left: 4px;
  }
  .m-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
  .m-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .m-toggle.is-open span:nth-child(2) { opacity: 0; }
  .m-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .m-nav {
    display: flex; flex-direction: column;
    position: fixed; top: 104px; left: 0; right: 0; bottom: 0;
    background: var(--ink); color: var(--paper);
    padding: 14px var(--gutter) 36px; z-index: 59; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .26s ease, transform .26s ease, visibility 0s linear .26s;
  }
  body.m-open { overflow: hidden; }
  body.m-open .m-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .26s ease, transform .26s ease, visibility 0s; }
  .m-nav a {
    font-family: var(--display); font-weight: 500; font-size: 27px; letter-spacing: -0.02em; color: var(--paper);
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: space-between;
  }
  .m-nav a .arr { color: var(--amber); font-size: 19px; }
  .m-nav a.m-cta { margin-top: 22px; border: 1px solid rgba(255,255,255,0.28); padding: 17px 20px; font-size: 17px; }
  .m-nav .m-meta { margin-top: 24px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); line-height: 1.9; }
}
/* Phone-only refinements */
@media (max-width: 720px) {
  :root { --section-pad: 78px; }
  .m-nav a { font-size: 26px; }
  footer .bottom { flex-wrap: wrap; gap: 14px; }
  .cap-hero .banner .meta-strip .cell { min-width: 150px; }
  footer .grid { grid-template-columns: 1fr; }
  /* contain wide tables so they scroll inside their section, not the page */
  .compare .inner, .params .inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare .tbl, .params .ptbl { display: table; width: auto; min-width: 560px; white-space: nowrap; }
  .cat-index .idx-row { grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .cat-index .idx-row .ix-num { display: none; }
  .cat-index .idx-row .ix-name { font-size: 22px; }
  .cat-index .idx-row .ix-go { font-size: 12px; white-space: nowrap; justify-self: start; }
}

/* ===================================================================
   PROJECTS — impact stats, browse-by-system, gallery (Phase 3)
   =================================================================== */
.impact { background: var(--ink); color: var(--paper); padding: var(--section-pad) 0; }
.impact-head { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter) 56px; }
.impact-head .lbl { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-2); font-weight: 500; display: inline-flex; align-items: center; gap: 14px; }
.impact-head .lbl::before { content: ""; width: 28px; height: 1px; background: var(--amber); }
.impact-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.4vw, 68px); letter-spacing: -0.03em; line-height: 1; margin: 18px 0 0; max-width: 20ch; }
.impact-head h2 em { font-style: normal; border-bottom: 4px solid var(--amber); padding-bottom: 4px; }
.impact-head .impact-note { font-size: 13px; color: var(--grey-2); margin: 20px 0 0; max-width: 60ch; }
.impact-grid { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #1f1f1f; }
.istat { padding: 44px 26px 0; border-left: 1px solid #1f1f1f; }
.istat:first-child { border-left: 0; padding-left: 0; }
.ival { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.04em; line-height: 1; margin: 0; color: var(--paper); }
.ival sup { font-size: 0.34em; font-weight: 500; color: var(--amber); letter-spacing: 0; margin-left: 4px; vertical-align: super; }
.ilabel { font-size: 13px; line-height: 1.5; color: var(--grey-2); margin: 16px 0 0; }

.range { background: var(--white); border-bottom: 1px solid var(--rule); }
.range-inner { max-width: var(--col-max); margin: 0 auto; padding: 40px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.range-lbl { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.range-menu { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.range-menu a { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--ink-2); border: 1px solid var(--rule); padding: 10px 18px; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.range-menu a:hover { border-color: var(--ink); color: var(--ink); }
.range-menu a.all { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.range-menu a.all .arr { color: var(--amber); }

.art-index { background: var(--paper); border-bottom: 1px solid var(--rule); }
.art-index .inner { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter) var(--section-pad); }
.news-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 36px; }
.news-filters .chip { font-family: var(--display); font-weight: 500; font-size: 12.5px; letter-spacing: 0.02em; padding: 9px 16px; border: 1px solid var(--rule); color: var(--ink-2); cursor: pointer; background: transparent; transition: all 160ms ease; white-space: nowrap; }
.news-filters .chip:hover { border-color: var(--ink-3); color: var(--ink); }
.news-filters .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.art-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.art { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); display: flex; flex-direction: column; transition: background 180ms ease; }
.art:hover { background: var(--paper); }
.art .thumb { width: 100%; aspect-ratio: 16/10; }
.art .a-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.art .a-meta { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); font-weight: 500; display: flex; align-items: center; gap: 14px; }
.art .a-meta .cat { color: var(--ink-2); font-weight: 600; }
.art h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.016em; line-height: 1.22; margin: 0; color: var(--ink); max-width: 24ch; }
.art p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 40ch; }
.art .more { margin-top: auto; padding-top: 6px; font-family: var(--display); font-weight: 500; font-size: 13px; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.art .more .arr { color: var(--amber); transition: transform 200ms ease; }
.art:hover .more .arr { transform: translateX(4px); }

.gallery .inner { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter) var(--section-pad); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gcell { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--rule); display: flex; align-items: flex-end; overflow: hidden; }
.gcell.wide { grid-column: span 2; aspect-ratio: auto; min-height: 260px; }
.gcell .g-tag { font-size: 11px; letter-spacing: 0.04em; color: var(--grey); padding: 14px 16px; font-family: var(--display); }

@media (max-width: 860px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .istat { border-left: 0; border-top: 1px solid #1f1f1f; padding: 32px 0 0; }
  .istat:first-child { border-top: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .impact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gcell.wide { grid-column: span 1; }
}

@media (max-width: 1180px) {
  .art-index .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .art-index .section-head {
    padding: 48px var(--gutter) 28px;
    gap: 18px;
    align-items: start;
  }
  .art-index .section-head .sh-title {
    max-width: 100%;
    font-size: clamp(28px, 7.2vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.026em;
    text-wrap: wrap;
  }
  .art-index .section-head .sh-title .page-hero-line {
    display: block;
    white-space: nowrap;
  }
  .art-index .section-head .sh-meta {
    text-align: left;
    padding-bottom: 0;
    line-height: 1.65;
  }
  .art-index {
    overflow-x: hidden;
  }
  .art-index .inner {
    overflow-x: hidden;
    max-width: 100%;
    padding-bottom: 64px;
  }
  .art-index .art-grid {
    grid-template-columns: 1fr;
    border-left: 0;
    width: 100%;
  }
  .art-index .art-grid .art {
    border-right: 0;
    min-width: 0;
  }
  .art-index .art .thumb.ph {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
  }
  .art-index .art .a-body {
    padding: 22px 20px 26px;
  }
  .art-index .art .a-meta {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .art-index .art h3,
  .art-index .art p {
    max-width: none;
  }
}

@media (max-width: 400px) {
  .art-index .section-head .sh-title {
    font-size: clamp(26px, 6.8vw, 32px);
  }
  .art-index .section-head .sh-title .page-hero-line {
    white-space: normal;
    text-wrap: balance;
  }
}

/* ---------- HUB: two-project grid ---------- */
.art-index .art-grid--pair {
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  border-top: 0;
  border-left: 0;
}
.art-index .art-grid--pair .art {
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
}
.art-index .art-grid--pair .art .thumb {
  aspect-ratio: 16 / 9;
}
.art-index .art-grid--pair .art .a-body {
  padding: 22px 24px 26px;
  gap: 10px;
}
.art-index .art-grid--pair .art h3 {
  font-size: 18px;
  max-width: none;
}
.art-index .art-grid--pair .art p {
  font-size: 13.5px;
  max-width: none;
}

@media (max-width: 900px) {
  .art-index .art-grid--pair {
    max-width: 520px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- PROJECT DETAIL PAGE ---------- */
.proj-spotlight .proj-product--hero {
  margin: 0;
}
.proj-spotlight .prod-spotlight-lead {
  margin-bottom: 22px;
}
.proj-product {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.proj-product a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.proj-product a:hover {
  color: var(--ink);
  border-color: var(--amber);
}
.proj-product span { color: var(--rule); }
.proj-product--hero { margin-top: 4px; }

.proj-photos.gal-main { background: var(--white); border-bottom: 1px solid var(--rule); }
.proj-photos .gal-inner {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 48px var(--gutter) var(--section-pad);
}
.proj-photos .gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proj-photos .gal-cell {
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule);
  background: #1a1a1a;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  aspect-ratio: 4 / 3;
  transition: border-color 160ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.proj-photos .gal-cell:hover {
  border-color: var(--ink-3);
  box-shadow: 0 14px 44px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.proj-photos .gal-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.proj-photos .gal-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  pointer-events: none;
}

.proj-copy-block {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.proj-copy-block .section-head {
  padding-bottom: 0;
}
.proj-copy-wrap {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 40px var(--gutter) var(--section-pad);
  display: grid;
  grid-template-columns: var(--label-col) 1fr 220px;
  gap: var(--label-gap);
  align-items: start;
}
.proj-copy-panel {
  position: relative;
  grid-column: 2;
  justify-self: start;
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 44px 48px 48px 56px;
  display: grid;
  gap: 22px;
}
.proj-copy-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
}
.proj-copy-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-3);
  max-width: 62ch;
}
.proj-copy-panel .proj-copy-lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 58ch;
  padding-bottom: 4px;
}
.proj-copy-panel p + p {
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
}

.proj-pager {
  padding-bottom: var(--section-pad);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 36px;
  max-width: var(--col-max);
  margin: 0 auto;
}
.proj-pager-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px var(--gutter);
}
.proj-pager-link .k {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}
.proj-pager-link .t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.proj-pager-link .arr { color: var(--amber); }
.proj-pager-link:hover .t { color: var(--ink-2); }

.gal-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.gal-lightbox[hidden] { display: none !important; }
.gal-lb-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(10,10,10,0.9); cursor: pointer;
}
.gal-lb-panel {
  position: relative; z-index: 1;
  width: min(1100px, 100%);
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.gal-lb-figure { margin: 0; }
.gal-lb-figure img {
  display: block; width: 100%; height: auto;
  max-height: min(78vh, 820px); object-fit: contain;
  background: #111;
}
.gal-lb-cap {
  margin: 0; padding: 16px 56px 16px 20px;
  font-family: var(--display); font-size: 14px; color: var(--ink-2);
  border-top: 1px solid var(--rule);
}
.gal-lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border: 1px solid var(--rule);
  background: var(--paper); color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.gal-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: 1px solid var(--rule);
  background: var(--paper); color: var(--ink);
  font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gal-lb-prev { left: -22px; }
.gal-lb-next { right: -22px; }

@media (max-width: 1180px) {
  .proj-copy-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .proj-copy-panel {
    grid-column: 1;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .proj-photos .gal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .proj-photos .gal-grid { grid-template-columns: 1fr; }
  .proj-pager { grid-template-columns: 1fr; }
  .proj-copy-panel { padding: 32px 28px 32px 36px; }
  .gal-lb-prev { left: 8px; }
  .gal-lb-next { right: 8px; }
}

/* Who We Work With — mobile hero meta strip (same row layout, smaller type) */
@media (max-width: 720px) {
  .cap-hero--who-we-work-with .banner .meta-strip {
    flex-wrap: nowrap;
  }
  .cap-hero--who-we-work-with .banner .meta-strip .cell {
    flex: 1 1 25%;
    min-width: 0;
    padding: 10px 6px;
    background: rgba(10, 10, 10, 0.5);
  }
  .cap-hero--who-we-work-with .banner .meta-strip .cell .v {
    font-size: 11px;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
    line-height: 1.15;
  }
  .cap-hero--who-we-work-with .banner .meta-strip .cell .k {
    font-size: 7px;
    letter-spacing: 0.06em;
    line-height: 1.25;
  }
}

/* Projects hub — mobile hero meta strip (same row layout, smaller type) */
@media (max-width: 720px) {
  body .cap-hero--projects .banner .meta-strip {
    flex-wrap: nowrap;
  }
  body .cap-hero--projects .banner .meta-strip .cell {
    flex: 1 1 25%;
    min-width: 0;
    padding: 10px 5px;
    background: rgba(10, 10, 10, 0.5);
  }
  body .cap-hero--projects .banner .meta-strip .cell .v {
    font-size: 8px;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
    line-height: 1.2;
  }
  body .cap-hero--projects .banner .meta-strip .cell .k {
    font-size: 6px;
    letter-spacing: 0.04em;
    line-height: 1.25;
  }
}

