/* ==========================================================================
   7P Concepts — site stylesheet
   One family (Archivo, expanded for display), paper and ink, one accent: the
   blue of the LED edge-lighting that runs around the base of their stands.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f4f3ef;
  --paper-2: #ebeae4;
  --ink: #131416;
  --ink-2: #34363a;
  --ink-3: #66686c;
  --rule: rgba(19, 20, 22, .16);
  --rule-2: rgba(19, 20, 22, .4);
  --hall: #111214;
  --hall-2: #1a1b1e;
  --hall-ink: #f4f3ef;
  --hall-ink-2: #b6b7b3;
  --hall-rule: rgba(244, 243, 239, .18);
  --led: #1f3df2;
  --led-ink: #fff;
  --hall-led: #7c90ff;

  --pad: clamp(20px, 4.2vw, 72px);
  --max: 1760px;
  --gap: clamp(16px, 1.8vw, 32px);
  --hdr-h: 72px;
  --sec: clamp(64px, 8.5vw, 144px);

  --fs-d1: clamp(2.45rem, 1.2rem + 5.2vw, 6.4rem);
  --fs-d2: clamp(2rem, 1.1rem + 2.4vw, 4.5rem);
  --fs-d3: clamp(1.4rem, 1.15rem + .9vw, 2.25rem);
  --fs-lede: clamp(1.125rem, 1.02rem + .4vw, 1.5rem);
  --fs-l1: clamp(2.3rem, 1rem + 4.6vw, 4.8rem);
  --fs-l2: clamp(2.05rem, 1rem + 3.4vw, 3.9rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.6, 0, .2, 1);
}

/* ---------- 2. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--led); color: var(--led-ink); }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; }
.hall :focus-visible { outline-color: var(--hall-led); }
[id] { scroll-margin-top: calc(var(--hdr-h) + 16px); }
/* graphical <i> elements carry no text; without this the browser's default italic style
   makes it download the italic font file on every page */
.menu-btn i, .ledline i, .rec__scope i, .rec-key i { font-style: normal; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@font-face {
  font-family: Archivo;
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("../fonts/archivo-italic-var.woff2") format("woff2");
  font-weight: 400 600;
  font-stretch: 100% 125%;
  font-style: italic;
  font-display: swap;
}

/* ---------- 3. Typography ---------- */
.d1, .d2, .d3, .d4 {
  font-weight: 600;
  font-stretch: 122%;
  letter-spacing: -.025em;
  line-height: 1;
  text-wrap: balance;
}
.d1 { font-size: var(--fs-d1); line-height: .96; letter-spacing: -.028em; }
.d2 { font-size: var(--fs-d2); }
.d3 { font-size: var(--fs-d3); letter-spacing: -.02em; }
.d4 { font-size: clamp(1.125rem, 1.04rem + .3vw, 1.5rem); letter-spacing: -.015em; line-height: 1.15; }
.lede {
  font-size: var(--fs-lede);
  line-height: 1.38;
  letter-spacing: -.008em;
  font-weight: 400;
  text-wrap: pretty;
}
.label {
  font-size: .75rem;
  font-weight: 600;
  font-stretch: 114%;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.muted { color: var(--ink-3); }
.hall .muted { color: var(--hall-ink-2); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.prose p, .prose li { text-wrap: pretty; }
em { font-style: italic; }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec { padding-block: var(--sec); border-top: 1px solid var(--rule); }
.sec--tight { padding-block: clamp(40px, 5vw, 80px); }
.sec__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 20px;
  align-items: start;
  margin-bottom: clamp(36px, 4.5vw, 72px);
}
.sec__label { grid-column: 1 / span 2; padding-top: .5em; }
.sec__title { grid-column: 3 / span 8; }
.sec__title--wide { grid-column: 3 / span 9; }
.sec__aside { grid-column: 3 / span 6; }
.sec__link { grid-column: 10 / span 3; justify-self: end; grid-row: 1 / span 2; align-self: start; padding-top: 2px; white-space: nowrap; }

/* ---------- 5. Controls ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  min-height: 52px;
  padding: 0 24px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  font-size: .98rem;
  font-weight: 600;
  font-stretch: 110%;
  letter-spacing: .005em;
  line-height: 1.1;
  white-space: nowrap;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { --btn-bg: var(--led); --btn-fg: var(--led-ink); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--rule-2); }
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); border-color: var(--ink); }
.hall .btn, .btn--paper { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.hall .btn--line, .btn--paper.btn--line { --btn-bg: transparent; --btn-fg: var(--hall-ink); border-color: var(--hall-rule); }
.hall .btn--line:hover { --btn-bg: var(--hall-ink); --btn-fg: var(--hall); border-color: var(--hall-ink); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.alink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 600;
  font-stretch: 108%;
  line-height: 1.2;
  padding-bottom: .18em;
}
.alink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform .45s var(--ease), background-color .3s;
}
.alink:hover::after { background: var(--led); }
.hall .alink:hover::after { background: var(--hall-led); }
.alink svg { width: 1em; height: 1em; flex: none; transition: transform .4s var(--ease); }
.alink:hover svg { transform: translateX(4px); }

/* ---------- 6. Images ---------- */
.ph { display: block; position: relative; overflow: hidden; background: var(--ph, var(--paper-2)); }
.ph > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1.1s var(--ease-out);
}
a:hover > .ph > img, a:hover .ph > img, .ph--zoom:hover > img { transform: scale(1.035); }
.tag {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  padding: 7px 12px 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.tag--led { background: var(--led); color: var(--led-ink); }

/* ---------- 7. Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  transition: box-shadow .3s var(--ease);
}
.hdr.is-stuck { box-shadow: 0 1px 0 var(--rule); }
.hdr__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--hdr-h);
}
.brand { display: inline-flex; align-items: center; gap: 13px; justify-self: start; }
.brand__mark { width: 37px; height: auto; color: var(--ink); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: translateX(-3px); }
.brand__word {
  font-size: 1.08rem;
  font-weight: 600;
  font-stretch: 122%;
  letter-spacing: .075em;
  line-height: 1;
  transform: translateY(1px);
}
.nav { display: flex; gap: clamp(20px, 2.4vw, 40px); justify-self: center; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: .98rem;
  font-weight: 500;
  font-stretch: 108%;
  line-height: 1.2;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { font-weight: 600; }
.hdr__act { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); justify-self: end; }
.hdr__tel { font-size: .98rem; font-weight: 500; font-stretch: 106%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hdr__tel:hover { color: var(--led); }
.hdr__wa { white-space: nowrap; }
.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 4px 0 12px;
  font-size: .98rem;
  font-weight: 600;
  font-stretch: 110%;
}
.menu-btn i { position: relative; display: block; width: 22px; height: 14px; }
.menu-btn i::before, .menu-btn i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn i::before { top: 1px; }
.menu-btn i::after { top: 11px; }
.menu-btn[aria-expanded="true"] i::before { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 6px; transform: rotate(-45deg); }

/* Mobile navigation panel */
.mnav {
  position: fixed;
  inset: var(--hdr-h) 0 0 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 8px var(--pad) 28px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.mnav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.mnav__list { flex: 1; }
.mnav__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  font-stretch: 122%;
  letter-spacing: -.02em;
  line-height: 1;
}
.mnav__list li:last-child a { border-bottom: 1px solid var(--rule); }
.mnav__list a span { font-size: .8rem; font-weight: 500; font-stretch: 100%; letter-spacing: .06em; color: var(--ink-3); }
.mnav__foot { display: grid; gap: 14px; padding-top: 28px; }
.mnav__foot .btn { justify-content: center; }
.mnav__links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 8px; font-weight: 500; }

/* ---------- 8. Landing hero ---------- */
/* What the home page and every service page open with: the offer, two ways to
   reply and one booth photograph, cropped to 4:3 by the build. The heading and
   the photograph are painted at first load; nothing animates in. */
.lhero { padding-block: clamp(18px, 3.4vh, 44px) clamp(18px, 2.6vw, 36px); }
.lhero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(18px, 2.4vw, 30px);
  align-items: center;
}
.lhero__copy { grid-column: 1 / span 5; min-width: 0; }
.lhero__media { grid-column: 6 / span 7; min-width: 0; }
.lhero--service .lhero__copy { grid-column: 1 / span 6; }
.lhero--service .lhero__media { grid-column: 7 / span 6; }
.lhero__kicker { margin-bottom: 14px; color: var(--ink-3); }
.lhero__title { font-size: var(--fs-l1); line-height: .98; }
.lhero--service .lhero__title { font-size: var(--fs-l2); line-height: 1; }
.lhero__value {
  margin-top: 18px;
  max-width: 24em;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -.008em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.lhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 2.2vw, 28px); }
.lhero__short { display: none; }
.lhero__ph { aspect-ratio: 4 / 3; }
.lhero__shot { display: block; }
.lhero__cap {
  display: flex;
  justify-content: space-between;
  gap: 6px 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--ink-3);
}

/* Client marks under a landing hero */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof__in { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); min-height: 66px; padding-block: 10px; }
.proof__label { flex: none; color: var(--ink-3); }
.proof__logos { flex: 1 1 auto; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 48px); min-width: 0; overflow: hidden; }
.proof__logos li { flex: none; }
.proof__logos img { height: 28px; width: auto; opacity: .8; }
.proof__line { flex: none; max-width: 30em; font-size: .86rem; line-height: 1.35; color: var(--ink-3); }

/* The one-paragraph introduction under the home hero */
.intro { padding-block: clamp(36px, 5vw, 80px) 0; }
.intro__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 18px; align-items: end; }
.intro__in .lede { grid-column: 1 / span 8; max-width: 30em; }
.intro__in .alink { grid-column: 10 / span 3; justify-self: end; }

/* Proof on service pages: three stands and a client's words */
.pgal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: start; }
.pgal__row { grid-column: 1 / span 9; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pgal__item { display: block; min-width: 0; }
.pgal__item .ph { aspect-ratio: 4 / 3; }
.pgal__cap { display: block; padding-top: 10px; font-size: .86rem; line-height: 1.4; }
.pgal__cap b { display: block; font-weight: 600; }
.pgal__cap span { color: var(--ink-3); }
.pgal__item:hover b { color: var(--led); }
.pgal__quote { grid-column: 10 / span 3; }

/* Sticky contact bar on phones: WhatsApp and Call within reach on every page */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--hall);
  border-top: 1px solid var(--hall-rule);
}
.mbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--hall-rule);
  color: var(--hall-ink);
  font-size: .95rem;
  font-weight: 600;
  font-stretch: 110%;
  line-height: 1.1;
}
.mbar__btn svg { width: 1.15em; height: 1.15em; flex: none; }
.mbar__btn--wa { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.mbar__btn--call:hover { background: var(--hall-ink); color: var(--hall); }
@media (max-width: 768px) {
  .mbar { display: grid; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  html.is-locked .mbar { visibility: hidden; }
  .hdr__tel, .hdr__wa { display: none; }   /* the bar carries both from here down */
}
@media print { .mbar { display: none !important; } }

/* Interior page header */
.phero { padding-block: clamp(36px, 6vh, 84px) clamp(36px, 5vw, 84px); }
.phero__crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(22px, 3.5vw, 44px); font-size: .86rem; font-weight: 500; color: var(--ink-3); }
.phero__crumbs a:hover { color: var(--led); }
.phero__crumbs svg { width: 14px; height: 14px; }
.phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; }
.phero__title { grid-column: 1 / span 9; }
.phero__aside { grid-column: 10 / span 3; }
.phero__lede { grid-column: 1 / span 7; margin-top: clamp(20px, 2.6vw, 36px); max-width: 30em; }

/* ---------- 9. Reel ---------- */
.reel { padding-block: var(--sec); border-top: 1px solid var(--rule); overflow: hidden; }
.reel .sec__head { margin-bottom: clamp(28px, 3.4vw, 56px); }
.reel__track {
  display: flex;
  gap: clamp(12px, 1.4vw, 24px);
  width: max-content;
  padding-inline: var(--pad);
  will-change: transform;
}
.reel__item { position: relative; flex: none; height: clamp(240px, 54vh, 600px); aspect-ratio: var(--ar, 4 / 3); }
.reel__item .ph { height: 100%; }
.reel__cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--ink-3);
  white-space: nowrap;
}
.reel__cap b { font-weight: 600; color: var(--ink); }

/* ---------- 10. Featured cases ---------- */
.case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
  padding-block: clamp(32px, 4.5vw, 72px);
  border-top: 1px solid var(--rule);
}
.case:first-of-type { border-top: 0; padding-top: 0; }
.case__media { grid-column: 1 / span 8; grid-row: 1; }
.case__media .ph { aspect-ratio: 4 / 3; }
.case__body { grid-column: 9 / span 4; grid-row: 1; align-self: center; }
.case--flip .case__media { grid-column: 5 / span 8; }
.case--flip .case__body { grid-column: 1 / span 4; grid-row: 1; }
.case__name { margin: 12px 0 6px; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 3rem); }
.case__name a:hover { color: var(--led); }
.case__meta { font-size: .92rem; font-weight: 500; color: var(--ink-2); margin-bottom: 16px; }
.case__text { color: var(--ink-2); max-width: 36em; }
.case__more { margin-top: 22px; }

/* Specification list (definition list) */
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 22px; }
.spec > div { display: contents; }
.spec dt, .spec dd { padding: 9px 0; border-top: 1px solid var(--rule); font-size: .9rem; line-height: 1.45; }
.spec dt { color: var(--ink-3); }
.spec dd { font-weight: 500; }
.hall .spec dt, .hall .spec dd { border-color: var(--hall-rule); }
.hall .spec dt { color: var(--hall-ink-2); }

/* ---------- 11. Work grid ---------- */
.wgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(36px, 4.6vw, 76px); }
.wcard { grid-column: span 4; display: block; }
.wcard--w { grid-column: span 8; }
.wcard .ph { aspect-ratio: 4 / 5; }
.wcard--w .ph { aspect-ratio: 16 / 10; }
.wcard--sq .ph { aspect-ratio: 1 / 1; }
.wcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.wcard__name { font-size: var(--fs-d3); line-height: 1.05; }
.wcard:hover .wcard__name { color: var(--led); }
.wcard__year { font-size: .84rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.wcard__meta { margin-top: 6px; font-size: .9rem; color: var(--ink-2); }

/* ---------- 12. Concept and build ---------- */
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.pair__list { grid-column: 1 / span 4; }
.pair__opt {
  display: block;
  width: 100%;
  padding: 16px 0 16px 20px;
  border-top: 1px solid var(--rule);
  text-align: left;
  position: relative;
  color: var(--ink-3);
  transition: color .3s var(--ease), padding-left .4s var(--ease);
}
.pair__opt:last-child { border-bottom: 1px solid var(--rule); }
.pair__opt::before {
  content: "";
  position: absolute;
  left: 0; top: -1px; bottom: -1px;
  width: 3px;
  background: var(--led);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.pair__opt:hover { color: var(--ink); }
.pair__opt[aria-selected="true"] { color: var(--ink); padding-left: 28px; }
.pair__opt[aria-selected="true"]::before { transform: scaleY(1); }
.pair__opt b { display: block; font-size: clamp(1.2rem, 1rem + .7vw, 1.8rem); font-weight: 600; font-stretch: 120%; letter-spacing: -.02em; line-height: 1.1; }
.pair__opt span { display: block; margin-top: 5px; font-size: .88rem; font-weight: 500; }
.pair__stage { grid-column: 5 / span 8; position: relative; }
.pair__panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.pair__panel.is-active { position: relative; opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.pair__fig .ph { aspect-ratio: 4 / 3.35; }
.pair__fig .ph img { object-fit: cover; }
.pair__fig .ph[data-fit="contain"] img { object-fit: contain; background: #1c1d20; }
.pair__fig figcaption { padding-top: 10px; font-size: .84rem; color: var(--ink-3); }

/* ---------- 13. Services index ---------- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.svc__list { grid-column: 1 / span 8; }
.svc__row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  transition: padding-left .45s var(--ease);
}
.svc__row:last-child { border-bottom: 1px solid var(--rule); }
.svc__row:hover, .svc__row:focus-visible, .svc__row.is-on { padding-left: 14px; }
.svc__no { font-size: .84rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc__name { font-size: clamp(1.3rem, 1.05rem + 1vw, 2rem); font-weight: 600; font-stretch: 120%; letter-spacing: -.02em; line-height: 1.1; }
.svc__row:hover .svc__name { color: var(--led); }
.svc__desc { color: var(--ink-2); font-size: .96rem; max-width: 34em; }
.svc__view { position: sticky; top: calc(var(--hdr-h) + 24px); grid-column: 9 / span 4; align-self: start; display: block; aspect-ratio: 4 / 5; margin-bottom: 28px; }
.svc__view .ph { position: absolute; inset: 0; aspect-ratio: 4 / 5; opacity: 0; transition: opacity .6s var(--ease); }
.svc__view .ph.is-on { opacity: 1; }
.svc__cap { position: absolute; left: 0; bottom: -28px; font-size: .8rem; color: var(--ink-3); white-space: nowrap; }

/* ---------- 14. Hall (dark sections) ---------- */
.hall { background: var(--hall); color: var(--hall-ink); }
.hall .sec__head, .hall .case, .hall .spec dt, .hall .spec dd { border-color: var(--hall-rule); }
.hall ::selection { background: var(--hall-led); color: var(--hall); }

/* Process */
.ledline { position: relative; height: 1px; background: var(--hall-rule); margin-bottom: clamp(32px, 4vw, 64px); }
.ledline i {
  position: absolute;
  inset: -1px auto -1px 0;
  width: 100%;
  background: var(--hall-led);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 14px rgba(124, 144, 255, .55);
}
.ledline.is-in i { transform: scaleX(1); transition: transform 2.2s var(--ease) .15s; }
html.is-locked, html.is-locked body { overflow: hidden; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.step__no { font-size: .84rem; font-weight: 600; font-stretch: 116%; letter-spacing: .08em; color: var(--hall-led); }
.step h3 { margin: 14px 0 14px; font-size: clamp(1.35rem, 1.05rem + 1vw, 2rem); }
.step p { color: var(--hall-ink-2); max-width: 30em; }
.step__list { margin-top: 18px; border-top: 1px solid var(--hall-rule); }
.step__list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hall-rule); font-size: .9rem; line-height: 1.4; }
.step__list li b { flex: none; font-weight: 600; color: var(--hall-led); }

/* ---------- 15. Show record ---------- */
.rec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rec th {
  padding: 0 14px 12px;
  text-align: left;
  font-size: .72rem;
  font-weight: 600;
  font-stretch: 114%;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rec th:first-child, .rec td:first-child { padding-left: 0; }
.rec th:last-child, .rec td:last-child { padding-right: 0; }
.rec td { padding: 15px 14px; border-top: 1px solid var(--rule); vertical-align: baseline; line-height: 1.4; }
.rec tr:last-child td { border-bottom: 1px solid var(--rule); }
.rec__yr { font-weight: 600; font-stretch: 116%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rec__show { font-weight: 600; }
.rec__show small { display: block; font-weight: 400; color: var(--ink-3); }
.rec td.is-muted { color: var(--ink-2); }
.rec tbody tr { transition: background-color .3s var(--ease); }
.rec tbody tr:hover { background: var(--paper-2); }
.rec__yr, .rec__scope { white-space: nowrap; }
.rec__scope { color: var(--ink-2); }
.rec__scope i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--led); vertical-align: 1px; }
.rec__scope i.is-build { background: var(--ink-3); }
.rec__scope i.is-reuse { background: transparent; border: 1.5px solid var(--led); }
.rec__scope i.is-event { background: var(--ink); }
.rec-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: .84rem; color: var(--ink-2); }
.rec-key span { display: inline-flex; align-items: center; gap: 9px; }
.rec-key i { display: inline-block; width: 7px; height: 7px; background: var(--led); }
.rec-key .k-build i { background: var(--ink-3); }
.rec-key .k-reuse i { background: transparent; border: 1.5px solid var(--led); }
.rec-key .k-event i { background: var(--ink); }

/* ---------- 16. Clients and words ---------- */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.clients li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 22px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.clients img { width: auto; transition: transform .6s var(--ease); }
.clients li:hover img { transform: scale(1.06); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px; }
.quote { padding-top: 22px; border-top: 1px solid var(--rule-2); }
.quote p { font-size: clamp(1.1rem, 1rem + .45vw, 1.5rem); font-weight: 500; font-stretch: 106%; line-height: 1.32; letter-spacing: -.012em; text-wrap: pretty; }
.quote p::before { content: open-quote; color: var(--led); }
.quote p::after { content: close-quote; color: var(--led); }
.quote { quotes: "\201C" "\201D"; }
.quote footer { margin-top: 18px; font-size: .86rem; color: var(--ink-3); }
.quote footer b { font-weight: 600; color: var(--ink); }

/* ---------- 17. Questions ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.faq__q { grid-column: 1 / span 5; font-size: clamp(1.15rem, 1.02rem + .5vw, 1.7rem); font-weight: 600; font-stretch: 118%; letter-spacing: -.018em; line-height: 1.18; }
.faq__a { grid-column: 7 / span 6; color: var(--ink-2); max-width: 38em; align-self: center; }
.faq__a a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq__a a:hover { color: var(--led); }

/* ---------- 18. Enquiry ---------- */
.enq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(32px, 4vw, 64px); }
.enq__intro { grid-column: 1 / span 6; }
.enq__intro .d2 { max-width: 11em; }
.enq__intro .lede { margin-top: 22px; max-width: 26em; color: var(--hall-ink-2); }
.lines { margin-top: clamp(32px, 4vw, 56px); }
.lines > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--hall-rule); font-size: 1rem; }
.lines > div:last-child { border-bottom: 1px solid var(--hall-rule); }
.lines dt { font-size: .78rem; font-weight: 600; font-stretch: 114%; letter-spacing: .09em; text-transform: uppercase; color: var(--hall-ink-2); padding-top: .25em; }
.lines dd { font-weight: 500; }
.lines a { text-decoration: underline; text-decoration-color: var(--hall-rule); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: text-decoration-color .3s, color .3s; }
.lines a:hover { color: var(--hall-led); text-decoration-color: var(--hall-led); }
.enq__form { grid-column: 8 / span 5; }
.field { display: grid; gap: 8px; padding: 18px 0 6px; border-top: 1px solid var(--hall-rule); }
.field:last-of-type { border-bottom: 1px solid var(--hall-rule); margin-bottom: 28px; }
.field label { font-size: .78rem; font-weight: 600; font-stretch: 114%; letter-spacing: .09em; text-transform: uppercase; color: var(--hall-ink-2); }
.field label i { font-style: normal; color: var(--hall-led); }
.field input, .field textarea {
  width: 100%;
  padding: 4px 0 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--hall-ink);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  outline: none;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 243, 239, .38); font-weight: 400; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--hall-led); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.is-row { grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.field.is-row > div { display: grid; gap: 8px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__note { margin-top: 18px; font-size: .82rem; line-height: 1.5; color: var(--hall-ink-2); max-width: 34em; }
.form__note a { text-decoration: underline; text-decoration-color: var(--hall-rule); text-underline-offset: .2em; }
.form__note a:hover { color: var(--hall-ink); }
.form__ok { display: none; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--hall-led); font-size: .92rem; line-height: 1.45; }
.form__ok.is-on { display: block; }

/* ---------- 19. Footer ---------- */
.ft { background: var(--hall); color: var(--hall-ink); border-top: 1px solid var(--hall-rule); }
.ft__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; padding-block: clamp(48px, 6vw, 96px); }
.ft__about { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.ft__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--hall-ink); }
.ft__logo svg { width: 46px; height: auto; }
.ft__word { font-size: 1.3rem; font-weight: 600; font-stretch: 122%; letter-spacing: .075em; line-height: 1; text-transform: uppercase; }
.ft__about p { max-width: 26em; color: var(--hall-ink-2); }
.ft__about address { margin-top: 22px; font-style: normal; line-height: 1.5; color: var(--hall-ink-2); }
.ft__col { grid-column: 9 / span 4; }
.ft__col--first { grid-column: 7 / span 2; }
.ft__col h2 { margin-bottom: 16px; font-size: .78rem; font-weight: 600; font-stretch: 114%; letter-spacing: .09em; text-transform: uppercase; color: var(--hall-ink-2); }
.ft__col li { padding: 5px 0; font-size: .95rem; line-height: 1.4; }
.ft__col a { transition: color .25s; }
.ft__col a:hover { color: var(--hall-led); }
.ft__col address { font-style: normal; line-height: 1.5; color: var(--hall-ink-2); }
.ft__col address a { color: var(--hall-ink); }
.ft__mark {
  padding-top: clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--hall-rule);
  overflow: hidden;
}
.ft__mark span {
  display: block;
  font-size: clamp(3rem, 12.5vw, 12.4rem);
  font-weight: 600;
  font-stretch: 122%;
  letter-spacing: -.035em;
  line-height: .8;
  white-space: nowrap;
  transform: translateY(.05em);
}
.ft__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-block: 18px 26px; border-top: 1px solid var(--hall-rule); font-size: .84rem; color: var(--hall-ink-2); }
.ft__bot a:hover { color: var(--hall-ink); }

/* ---------- 20. Project page ---------- */
.case-hero { padding-top: clamp(26px, 4.5vh, 52px); }
.case-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; padding-block: clamp(26px, 4vw, 56px); }
.case-hero__title { grid-column: 1 / span 8; }
.case-hero__intro { grid-column: 1 / span 7; grid-row: 2; margin-top: clamp(20px, 2.4vw, 32px); max-width: 32em; color: var(--ink-2); font-size: 1.06rem; }
.case-hero__spec { grid-column: 9 / span 4; grid-row: 1 / span 2; align-self: start; }
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.story__rail { grid-column: 1 / span 3; }
.story__rail > div { position: sticky; top: calc(var(--hdr-h) + 28px); }
.story__rail h2 { margin-bottom: 6px; }
.story__body { grid-column: 5 / span 7; max-width: 40em; }
.story__body h2 { margin: 0 0 clamp(20px, 2.4vw, 32px); font-size: var(--fs-d3); }
.story__body h3 { margin: clamp(30px, 3.4vw, 48px) 0 14px; font-size: clamp(1.2rem, 1.04rem + .55vw, 1.75rem); font-weight: 600; font-stretch: 118%; letter-spacing: -.018em; line-height: 1.15; }
.story__body h3:first-of-type { margin-top: 0; }
.story__body p { color: var(--ink-2); }
.story__body p + p { margin-top: 14px; }
.story__body p + h3 { }
.related { margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--rule); }
.related p { margin-bottom: 10px; }
.related ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.related a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.related a:hover { color: var(--led); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(22px, 2.6vw, 44px) var(--gap); grid-auto-flow: dense; }
.gitem { position: relative; }
.gitem--w { grid-column: 1 / span 12; }
.gitem--l { grid-column: span 8; }
.gitem--p { grid-column: span 4; }
.gitem--h { grid-column: span 6; }
.gitem .ph { aspect-ratio: 4 / 3; }
.gitem--w .ph { aspect-ratio: 21 / 9; }
.gitem--p .ph { aspect-ratio: 3 / 4; }
.gitem figcaption { display: flex; justify-content: space-between; gap: 14px; padding-top: 10px; font-size: .84rem; line-height: 1.4; color: var(--ink-3); }
.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.pn a { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 22px var(--pad); transition: background-color .35s var(--ease); }
.pn a + a { border-left: 1px solid var(--rule); }
.pn a:hover { background: var(--paper-2); }
.pn .ph { aspect-ratio: 4 / 3; }
.pn__k { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 600; font-stretch: 114%; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.pn__t { font-size: clamp(1.2rem, 1.04rem + .7vw, 1.8rem); font-weight: 600; font-stretch: 120%; letter-spacing: -.02em; line-height: 1.1; }
.pn a:last-child { text-align: right; grid-template-columns: 1fr 96px; }
.pn a:last-child .ph { order: 2; }

/* ---------- 21. About ---------- */
.statement { font-size: clamp(1.5rem, 1rem + 2.1vw, 3.3rem); font-weight: 500; font-stretch: 112%; letter-spacing: -.024em; line-height: 1.12; text-wrap: pretty; }
.statement em { font-style: normal; color: var(--led); }
.two-col { columns: 2; column-gap: calc(var(--gap) * 2); }
.two-col p { break-inside: avoid; margin-bottom: 1em; color: var(--ink-2); }
.two-col p + p { margin-top: 0; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.values li { padding: clamp(20px, 2.4vw, 36px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-height: 200px; }
.values h3 { font-size: clamp(1.2rem, 1.04rem + .6vw, 1.75rem); margin-bottom: 10px; }
.values p { color: var(--ink-2); font-size: .96rem; max-width: 26em; }
.values li > .label { display: block; margin-bottom: 22px; color: var(--ink-3); }
.sevenp { display: flex; height: 560px; border: 1px solid var(--hall-rule); }
.sevenp__item { position: relative; flex: 1 1 0; min-width: 0; border-left: 1px solid var(--hall-rule); overflow: hidden; transition: flex 1s var(--ease); display: flex; }
.sevenp__item:first-child { border-left: 0; }
.sevenp__item.is-open { flex: 3.2 1 0; background: var(--hall-2); }
.sevenp__btn { display: block; width: 100%; height: 100%; text-align: left; color: inherit; }
.sevenp__no { position: absolute; top: 20px; left: 20px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--hall-led); }
.sevenp__name {
  position: absolute;
  left: 20px;
  bottom: 22px;
  margin: 0;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.8rem);
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: -.02em;
  line-height: 1.05;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: writing-mode .4s, transform .6s var(--ease), left .6s var(--ease), bottom .6s var(--ease);
}
.sevenp__item.is-open .sevenp__name { writing-mode: horizontal-tb; transform: none; left: 28px; bottom: auto; top: 92px; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.9rem); }
.sevenp__body { position: absolute; left: 28px; right: 28px; top: 176px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease) .25s, transform .6s var(--ease) .25s; pointer-events: none; }
.sevenp__item.is-open .sevenp__body { opacity: 1; transform: none; }
.sevenp__body p { color: var(--hall-ink-2); font-size: 1rem; line-height: 1.5; max-width: 30em; }
.sevenp__letter { position: absolute; right: 18px; bottom: -34px; font-size: clamp(5rem, 9vw, 11rem); font-weight: 600; font-stretch: 122%; line-height: 1; color: var(--hall-ink); opacity: .07; pointer-events: none; transition: opacity .6s; }
.sevenp__item.is-open .sevenp__letter { opacity: .12; }
.sevenp__foot { margin-top: 20px; color: var(--hall-ink-2); font-size: .9rem; }

/* ---------- 22. Services page blocks ---------- */
.sblock { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; padding-block: clamp(32px, 4.2vw, 68px); border-top: 1px solid var(--rule); }
.sblock__no { grid-column: 1 / span 1; font-size: .84rem; font-weight: 600; color: var(--ink-3); padding-top: 8px; }
.sblock__text { grid-column: 2 / span 5; }
.sblock__text h3 { margin-bottom: 14px; font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.5rem); }
.sblock__text p { color: var(--ink-2); max-width: 30em; }
.sblock__media { grid-column: 8 / span 5; grid-row: 1; }
.sblock__media .ph { aspect-ratio: 4 / 3; }
.sblock--flip .sblock__no { grid-column: 1 / span 1; }
.sblock--flip .sblock__text { grid-column: 2 / span 5; }
.sblock--flip .sblock__media { grid-column: 8 / span 5; }
.artlist { border-top: 1px solid var(--rule); }
.artlist li { border-bottom: 1px solid var(--rule); }
.artlist a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 20px 0; transition: padding-left .45s var(--ease); }
.artlist a:hover { padding-left: 14px; }
.artlist b { font-size: clamp(1.15rem, 1rem + .55vw, 1.7rem); font-weight: 600; font-stretch: 118%; letter-spacing: -.018em; line-height: 1.15; }
.artlist a:hover b { color: var(--led); }
.artlist span { color: var(--ink-2); font-size: .95rem; }
.artlist svg { width: 18px; height: 18px; align-self: center; flex: none; transition: transform .4s var(--ease); }
.artlist a:hover svg { transform: translateX(4px); }
.artlist .u-wa { margin-left: 10px; color: var(--ink-3); font-weight: 500; }

/* ---------- 23. Long-form article ---------- */
.art { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.art__main { grid-column: 1 / span 7; max-width: 44em; }
.art__rail { grid-column: 9 / span 4; }
.art__rail > div { position: sticky; top: calc(var(--hdr-h) + 28px); }
.toc h2 { margin-bottom: 10px; font-size: .78rem; font-weight: 600; font-stretch: 114%; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.toc li { border-top: 1px solid var(--rule); }
.toc a { display: block; padding: 10px 0; font-size: .95rem; line-height: 1.35; transition: color .25s, padding-left .35s var(--ease); }
.toc a:hover, .toc a.is-on { color: var(--led); padding-left: 8px; }
.railbox { margin-top: 36px; padding: 22px 0 0; border-top: 1px solid var(--rule-2); }
.railbox h2 { margin-bottom: 10px; font-size: .78rem; font-weight: 600; font-stretch: 114%; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.railbox li { padding: 7px 0; font-size: .95rem; border-top: 1px solid var(--rule); }
.railbox li a { font-weight: 500; }
.railbox li a:hover { color: var(--led); }
.railbox .btn { margin-top: 18px; max-width: 100%; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: center; }   /* the rail is narrow on tablets: let the label wrap instead of pushing the page wider */
.prose > p { margin: 0 0 1.1em; color: var(--ink-2); }
.prose h2 { margin: clamp(44px, 5vw, 72px) 0 18px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.6rem); }
.prose h3 { margin: 30px 0 10px; font-size: clamp(1.2rem, 1.04rem + .55vw, 1.7rem); font-weight: 600; font-stretch: 118%; letter-spacing: -.018em; line-height: 1.15; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding: 0; }
.prose ul li { position: relative; padding: 6px 0 6px 22px; color: var(--ink-2); border-top: 1px solid var(--rule); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 2px; background: var(--led); }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose a:hover { color: var(--led); }
.prose figure { margin: 28px 0; }
.prose figure .ph { aspect-ratio: 4 / 3; }
.prose figure.wide { margin-inline: calc(-1 * clamp(0px, 6vw, 120px)); }
.prose figcaption { padding-top: 10px; font-size: .84rem; color: var(--ink-3); }
.prose .figrow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 28px 0; }
.prose .figrow figure { margin: 0; }
.prose .figrow .ph { aspect-ratio: 4 / 3; }
.prose .ctarow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 36px 0 8px; padding: 26px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.prose .faq-h { margin-top: 0; }
.prose .q { margin: 26px 0 0; }
.prose .q h3 { margin: 0 0 6px; }

/* ---------- 24. Contact ---------- */
.cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(32px, 4vw, 64px); }
.cgrid__a { grid-column: 1 / span 5; }
.cgrid__b { grid-column: 7 / span 6; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.checklist li:last-child { border-bottom: 1px solid var(--rule); }
.checklist li span:first-child { font-size: .84rem; font-weight: 600; color: var(--led); padding-top: 3px; }
.checklist li b { font-weight: 600; color: var(--ink); }
.cgrid h2 { margin-bottom: 8px; font-size: var(--fs-d3); }
.cgrid .sub { margin-bottom: 22px; color: var(--ink-3); }
.address { font-style: normal; line-height: 1.55; }
.address a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.address a:hover { color: var(--led); }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1280px) {
  .svc__view { display: none; }
  .svc__list { grid-column: 1 / span 12; }
}
@media (max-width: 1100px) {
  :root { --hdr-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .hdr__act { gap: 14px; }
  .phero__aside { grid-column: 1 / span 12; grid-row: 3; }
  .phero__aside .lines { margin-top: 0; }
  .sec__label { grid-column: 1 / span 12; padding-top: 0; }
  .sec__title { grid-column: 1 / span 10; }
  .sec__aside { grid-column: 1 / span 8; }
  .sec__link { grid-column: 10 / span 3; grid-row: 1; }
  .case__media { grid-column: 1 / span 7; }
  .case__body { grid-column: 8 / span 5; }
  .case--flip .case__media { grid-column: 6 / span 7; }
  .case--flip .case__body { grid-column: 1 / span 5; }
  .pair__list { grid-column: 1 / span 12; }
  .pair__stage { grid-column: 1 / span 12; }
  .pair__opt { padding: 14px 0 14px 18px; }
  .pair__opt[aria-selected="true"] { padding-left: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wcard, .wcard--w { grid-column: span 6; }
  .wcard .ph, .wcard--w .ph { aspect-ratio: 4 / 3; }
  .rec th:nth-child(4), .rec td:nth-child(4) { display: none; }
  .ft__about { grid-column: 1 / span 12; grid-row: auto; }
  .ft__col--first { grid-column: 1 / span 3; }
  .ft__col { grid-column: 4 / span 9; }
  .case-hero__title { grid-column: 1 / span 12; }
  .case-hero__intro { grid-column: 1 / span 12; grid-row: 2; }
  .case-hero__spec { grid-column: 1 / span 12; grid-row: 3; margin-top: 4px; }
  .story__rail { grid-column: 1 / span 12; }
  .story__rail > div { position: static; }
  .story__body { grid-column: 1 / span 11; }
  .art__main { grid-column: 1 / span 8; }
  .art__rail { grid-column: 10 / span 3; }
  .sblock__media { grid-column: 7 / span 6; }
  .sblock__text { grid-column: 2 / span 4; }
}
@media (max-width: 820px) {
  .sec__title, .sec__title--wide { grid-column: 1 / span 12; }
  .sec__aside { grid-column: 1 / span 12; }
  .sec__link { grid-column: 1 / span 12; grid-row: auto; justify-self: start; }
  .sec__head { row-gap: 16px; }
  .reel__track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .reel__track::-webkit-scrollbar { display: none; }
  .reel__item { scroll-snap-align: start; height: auto; width: min(80vw, 440px); aspect-ratio: 4 / 5; }
  .reel__cap { flex-direction: column; gap: 2px; white-space: normal; }
  .reel__item:last-child { margin-right: var(--pad); }
  .case, .case--flip { row-gap: 18px; }
  .case__media, .case--flip .case__media { grid-column: 1 / span 12; }
  .case__body, .case--flip .case__body { grid-column: 1 / span 12; grid-row: auto; }
  .pair__panel { position: relative; grid-template-columns: 1fr; }
  .pair__panel:not(.is-active) { display: none; }
  .pair__fig .ph { aspect-ratio: 4 / 3; }
  .pair__list { display: grid; grid-template-columns: 1fr 1fr; }
  .pair__opt { padding: 14px 12px 14px 14px; border-bottom: 1px solid var(--rule); }
  .pair__opt:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pair__opt[aria-selected="true"] { padding-left: 18px; }
  .pair__opt:nth-child(odd)[aria-selected="true"]::before { left: -1px; }
  .pair__opt::before { top: 0; bottom: 0; }
  .svc__row { grid-template-columns: 2.4rem 1fr; row-gap: 8px; }
  .svc__desc { grid-column: 2; }
  /* the show record becomes a list: year, show and scope; its note; then the venue */
  .rec-wrap { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .rec { min-width: 0; display: block; }
  .rec thead { display: none; }
  .rec tbody { display: block; }
  .rec tr { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); }
  .rec tbody tr:last-child { border-bottom: 1px solid var(--rule); }
  .rec td { display: block; padding: 0; border: 0; white-space: normal; }
  .rec td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .rec td:nth-child(2) { grid-column: 2; grid-row: 1; }
  .rec td:nth-child(3) { grid-column: 2 / span 2; grid-row: 2; }
  .rec td:nth-child(5) { grid-column: 3; grid-row: 1; }
  .clients { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; row-gap: 28px; }
  .faq__q { grid-column: 1 / span 12; }
  .faq__a { grid-column: 1 / span 12; }
  .enq__intro, .enq__form { grid-column: 1 / span 12; }
  .ft__col--first { grid-column: 1 / span 6; }
  .ft__col { grid-column: 7 / span 6; }
  .gitem--l, .gitem--p, .gitem--h { grid-column: span 6; }
  .gitem--l .ph { aspect-ratio: 4 / 3; }
  .gitem--p .ph { aspect-ratio: 3 / 4; }
  .gitem--w .ph { aspect-ratio: 16 / 10; }
  .pn { grid-template-columns: 1fr; }
  .pn a + a { border-left: 0; border-top: 1px solid var(--rule); }
  .pn a:last-child { text-align: left; grid-template-columns: 96px 1fr; }
  .pn a:last-child .ph { order: 0; }
  .values { grid-template-columns: 1fr 1fr; }
  .values li { min-height: 0; }
  .two-col { columns: 1; }
  /* the seven panels become an accordion: heading rows, one description open at a time */
  .sevenp { display: block; height: auto; }
  .sevenp__item, .sevenp__item.is-open { display: block; border-left: 0; border-top: 1px solid var(--hall-rule); }
  .sevenp__item:first-child { border-top: 0; }
  .sevenp__btn { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; height: auto; padding: 18px 20px 18px 20px; }
  .sevenp__no { position: static; }
  .sevenp__name, .sevenp__item.is-open .sevenp__name { position: static; writing-mode: horizontal-tb; transform: none; white-space: normal; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem); }
  .sevenp__body, .sevenp__item.is-open .sevenp__body { position: static; opacity: 1; transform: none; padding: 0 20px 22px calc(2.6rem + 20px); }
  .sevenp__item:not(.is-open) .sevenp__body { display: none; }
  .sevenp__letter { display: none; }
  .sblock, .sblock--flip { row-gap: 18px; }
  .sblock__no, .sblock--flip .sblock__no { grid-column: 1 / span 12; grid-row: 2; padding-top: 22px; }
  .sblock__text, .sblock--flip .sblock__text { grid-column: 1 / span 12; grid-row: 3; }
  .sblock__media, .sblock--flip .sblock__media { grid-column: 1 / span 12; grid-row: 1; }
  .artlist a { grid-template-columns: 1fr auto; }
  .artlist span { grid-column: 1 / span 2; }
  .art__main, .art__rail { grid-column: 1 / span 12; }
  .art__rail > div { position: static; }
  .toc { display: none; }
  .railbox { margin-top: 0; }
  .cgrid__a, .cgrid__b { grid-column: 1 / span 12; }
  .prose .figrow { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .btn { height: auto; min-height: 48px; padding-block: 12px; white-space: normal; text-align: center; line-height: 1.2; }
  .wcard, .wcard--w { grid-column: span 12; }
  .gitem--l, .gitem--h { grid-column: span 12; }
  .gitem--l .ph, .gitem--h .ph, .gitem--w .ph { aspect-ratio: 4 / 3; }
  .gitem--p { grid-column: span 6; }
  .clients li { min-height: 104px; padding: 16px; }
  .clients img { transform: scale(.82); }
  .steps { grid-template-columns: 1fr; }
  .ft__col--first, .ft__col { grid-column: 1 / span 6; }
  .phero__title { grid-column: 1 / span 12; }
  .phero__aside { grid-column: 1 / span 12; }
  .phero__lede { grid-column: 1 / span 12; }
  .lines > div { grid-template-columns: 1fr; gap: 4px; }
  .field.is-row { grid-template-columns: 1fr; }
  .pn a { grid-template-columns: 72px 1fr; padding-inline: var(--pad); }
  .pn a:last-child { grid-template-columns: 72px 1fr; }
  .values { grid-template-columns: 1fr; }
}

/* landing hero, proof strip and sticky bar */
@media (max-width: 1280px) {
  .lhero__value { max-width: 20em; }
}
@media (max-width: 1100px) {
  .lhero__copy, .lhero__media, .lhero--service .lhero__copy, .lhero--service .lhero__media { grid-column: 1 / span 12; }
  .lhero__title, .lhero--service .lhero__title { max-width: 16em; }
  .lhero__value { max-width: 28em; }
  .lhero__media .lhero__ph { aspect-ratio: 4 / 3; }
  .pgal__row { grid-column: 1 / span 12; }
  .pgal__quote { grid-column: 1 / span 8; }
  .proof__line { max-width: 16em; }
}
@media (max-width: 820px) {
  .intro__in .lede, .intro__in .alink { grid-column: 1 / span 12; justify-self: start; }
  .pgal__row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    padding-bottom: 6px;
  }
  .pgal__row::-webkit-scrollbar { display: none; }
  .pgal__item { flex: 0 0 min(72vw, 360px); scroll-snap-align: start; }
  .pgal__quote { grid-column: 1 / span 12; }
  .proof__in { min-height: 58px; gap: 16px; }
  .proof__logos { gap: 22px; }
  .proof__line { display: none; }
}
@media (max-width: 520px) {
  /* phones: both buttons on one row, so the photograph and the client marks still sit above the fold */
  .lhero__kicker { display: none; }
  .lhero__cta { flex-wrap: nowrap; gap: 10px; margin-top: 18px; }
  .lhero__cta .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; font-size: .92rem; }
  .lhero__cta .lhero__call { flex: 0 0 auto; }
  .lhero__num { display: none; }
  .lhero__short { display: inline; }
  .proof__label { display: none; }
  .proof__logos { gap: 20px; }
  .proof__logos img { height: 24px; }
  .proof__logos li:nth-child(n+5) { display: none; }
}
@media (max-width: 370px) {
  .proof__logos li:nth-child(n+4) { display: none; }
}

/* ---------- 26. Page-specific pieces ---------- */
.skip { position: absolute; left: var(--pad); top: -100px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--paper); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.brand__word { text-transform: uppercase; }
.mnav__list a svg { width: 26px; height: 26px; flex: none; align-self: center; }
.mnav__list a[aria-current="page"] { color: var(--led); }

/* photographs as lightbox triggers */
.shot { position: relative; display: block; }
.shot .ph { aspect-ratio: 4 / 3; }
/* project page: the lead photograph across the full width, painted at first load */
.hero__media { margin-top: clamp(22px, 3.2vw, 44px); }
.hero__media .ph { --ph: #26272a; }
.hero__media .shot .ph { aspect-ratio: auto; }   /* the frame takes the photograph's own height: no empty band under a 16:7 photo */
.hero__media .shot .ph > img { width: 100%; height: auto; aspect-ratio: 16 / 7; max-height: 82vh; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 820px) { .hero__media .shot .ph > img { aspect-ratio: 4 / 3; max-height: none; } }
.hero__cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; font-size: .84rem; color: var(--ink-3); }
.wcard .shot .ph { aspect-ratio: auto; }
.gitem .shot::after, .diptych .shot::after {
  content: "";
  position: absolute;
  right: 12px; bottom: 12px;
  width: 36px; height: 36px;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat, var(--paper);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.gitem .shot:hover::after, .gitem .shot:focus-visible::after, .diptych .shot:hover::after, .diptych .shot:focus-visible::after { opacity: 1; transform: none; }
.ph--contain > img { object-fit: contain; background: #1c1d20; }
.ph--contain { background: #1c1d20 !important; }
.pair__fig { position: relative; min-width: 0; }

/* work grid sizes */
.wcard__head, .wcard__name, .wcard__year, .wcard__meta { display: block; }
.wcard__head { display: flex; }
.wcard--l { grid-column: span 4; }
.wcard--l .ph { aspect-ratio: 4 / 3; }
.wcard--h { grid-column: span 6; }
.wcard--h .ph { aspect-ratio: 3 / 2; }
@media (max-width: 1100px) { .wcard--l, .wcard--h { grid-column: span 6; } .wcard--l .ph, .wcard--h .ph { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .wcard--l, .wcard--h { grid-column: span 12; } }

/* service index rows */
.svc__list li { border-top: 1px solid var(--rule); }
.svc__list li:last-child { border-bottom: 1px solid var(--rule); }
.svc__row { display: grid; border-top: 0; }
.svc__row:hover, .svc__row:focus-visible, .svc__row.is-on { padding-left: 14px; }

/* diptych on project pages */
.diptych { display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--gap); align-items: stretch; }
.diptych--even { grid-template-columns: 1fr 1fr; }
.diptych .shot--a .ph { aspect-ratio: 3 / 4; }
.diptych .shot--b .ph { aspect-ratio: 21 / 20; }
.diptych--even .shot--a .ph, .diptych--even .shot--b .ph { aspect-ratio: 3 / 4; }
@media (max-width: 820px) {
  .diptych, .diptych--even { grid-template-columns: 1fr; row-gap: var(--gap); }
  .diptych .shot--a .ph, .diptych .shot--b .ph, .diptych--even .shot--a .ph, .diptych--even .shot--b .ph { aspect-ratio: 4 / 3; }
}

/* about */
.about__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.about__cols > div { grid-column: 4 / span 9; }
@media (max-width: 820px) { .about__cols > div { grid-column: 1 / span 12; } }
.statement { color: var(--ink); }
.values li > .label { display: block; margin-bottom: 44px; color: var(--ink-3); }
.values li > p { margin-top: 8px; }

/* venues on the services page */
.venues { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.venues li { padding: 24px 20px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: clamp(1.1rem, 1rem + .55vw, 1.6rem); font-weight: 600; font-stretch: 120%; letter-spacing: -.02em; line-height: 1.1; }
.venues small { display: block; margin-top: 8px; font-size: .8rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--ink-3); }
@media (max-width: 1100px) { .venues { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .venues { grid-template-columns: 1fr 1fr; } }

/* service page blocks, flipped on alternate rows */
.sblock--flip .sblock__no { grid-column: 12 / span 1; justify-self: end; }
.sblock--flip .sblock__text { grid-column: 8 / span 5; grid-row: 1; }
.sblock--flip .sblock__media { grid-column: 1 / span 6; grid-row: 1; }
@media (max-width: 1100px) {
  .sblock--flip .sblock__no { grid-column: 1 / span 1; justify-self: start; }
  .sblock--flip .sblock__text { grid-column: 2 / span 4; grid-row: auto; }
  .sblock--flip .sblock__media { grid-column: 7 / span 6; grid-row: 1; }
}

/* project index list */
.artlist--index { margin-bottom: 0; }
.artlist--index a { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; }
@media (max-width: 820px) {
  .artlist--index a { grid-template-columns: 1fr auto; }
  .artlist--index a span { grid-column: 1 / span 2; }
}
.quotes--offset { margin-top: clamp(44px, 5.5vw, 96px); }

/* contact */
.lines--ink > div { border-color: var(--rule); }
.lines--ink dt { color: var(--ink-3); }
.lines--ink a { text-decoration-color: var(--rule-2); }
.lines--ink a:hover { color: var(--led); text-decoration-color: var(--led); }
.cgrid .sub { margin-bottom: 18px; }
.flow li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.flow li:last-child { border-bottom: 1px solid var(--rule); }
.flow__no { font-size: .84rem; font-weight: 600; font-stretch: 116%; color: var(--led); padding-top: 4px; }
.cnote { margin-top: 28px; color: var(--ink-2); max-width: 34em; }
.cnote a, .cgrid .cnote a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.cnote a:hover { color: var(--led); }
.address { margin-top: 32px; color: var(--ink-2); }
.checklist li > span:first-child { min-width: 26px; }

/* long-form article */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; padding-top: 22px; font-size: .86rem; font-weight: 500; color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--rule-2); }
.crumbs a:hover { color: var(--led); }
.phero--article { padding-top: 26px; }
.prose > h2:first-child { margin-top: 0; }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding: 10px 0 10px 2.7rem; border-top: 1px solid var(--rule); color: var(--ink-2); counter-increment: n; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-size: .84rem; font-weight: 600; font-stretch: 116%; color: var(--led); }
.prose .cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 0 0 1.5em; background: var(--rule); border: 1px solid var(--rule); }
.prose .cat { padding: 18px 18px 20px; background: var(--paper); }
.prose .cat h3 { margin: 0 0 6px; font-size: 1.05rem; }
.prose .cat p { margin: 0; font-size: .92rem; }
.prose .ctarow .btn { min-height: 48px; }
.prose .figrow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 30px 0 34px; }
.prose .figrow--one { grid-template-columns: 1fr; }
.prose .figrow--many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .figrow figure { margin: 0; min-width: 0; }
.prose .figrow figcaption { line-height: 1.45; }
.prose .figrow a { display: block; font-weight: inherit; text-decoration: none; }
.prose .q { padding: 18px 0; border-top: 1px solid var(--rule); }
.prose .q h3 { font-size: 1.15rem; }
.prose .q p { margin: 0; }
@media (max-width: 820px) { .prose .figrow--many { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .prose .figrow, .prose .figrow--many { grid-template-columns: 1fr; } }

/* footer services and address */
.ft__services { grid-column: 7 / span 6; grid-row: 2; }
.ft__svc { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
@media (max-width: 1100px) { .ft__services { grid-column: 1 / span 12; grid-row: auto; } }
.notfound__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }

/* ---------- 27. Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--hall);
  color: var(--hall-ink);
}
.lb[open] { display: block; animation: lbIn .35s var(--ease); }
.lb::backdrop { background: rgba(17, 18, 20, .7); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__fig { display: grid; grid-template-rows: 1fr auto; height: 100%; margin: 0; }
.lb__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: clamp(16px, 3vw, 48px); }
.lb__stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.lb figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px clamp(16px, 3vw, 48px) 22px; border-top: 1px solid var(--hall-rule); font-size: .9rem; color: var(--hall-ink-2); }
.lb__count { font-weight: 600; color: var(--hall-ink); font-variant-numeric: tabular-nums; }
.lb__bar { position: absolute; top: 0; right: 0; display: flex; padding: clamp(8px, 1.6vw, 20px); }
.lb__nav { position: absolute; inset: 0; pointer-events: none; }
.lb__bar button, .lb__nav button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--hall-rule);
  color: var(--hall-ink);
  background: var(--hall);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lb__bar button:hover, .lb__nav button:hover { background: var(--paper); color: var(--ink); }
.lb__bar svg, .lb__nav svg { width: 20px; height: 20px; }
.lb__nav button { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; }
.lb__nav [data-lb="prev"] { left: clamp(8px, 1.6vw, 20px); }
.lb__nav [data-lb="next"] { right: clamp(8px, 1.6vw, 20px); }
.lb button[hidden] { display: none; }
@media (max-width: 820px) {
  /* on phones the arrows sit in their own row under the caption instead of over it */
  .lb[open] { display: flex; flex-direction: column; }
  .lb__fig { flex: 1 1 auto; min-height: 0; height: auto; }
  .lb__stage { padding: 62px 12px 10px; }
  .lb__nav { position: static; display: flex; justify-content: space-between; padding: 10px 14px calc(16px + env(safe-area-inset-bottom)); pointer-events: auto; }
  .lb__nav button { position: static; transform: none; }
}

/* ---------- 28. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ph > img, a:hover > .ph > img { transform: none !important; transition: none; }
  .ledline i { transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
