@font-face {
  font-family: "Instrument Sans Variable";
  src: url("./assets/fonts/instrument-sans-variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

.editorial-site {
  --paper: #f2f1ec;
  --paper-2: #e9e7df;
  --ink: #0b0c0b;
  --muted: #62665f;
  --line: rgba(11, 12, 11, 0.16);
  --signal: #8ceb78;
  --signal-deep: #2f6d3d;
  --white: #f9faf5;
  --content: 1600px;
  --gutter: clamp(24px, 5%, 76px);
  min-width: 0;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(11, 12, 11, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 12, 11, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.editorial-site *,
.editorial-site *::before,
.editorial-site *::after {
  box-sizing: border-box;
}

.editorial-site::selection {
  color: var(--ink);
  background: var(--signal);
}

.editorial-site a {
  color: inherit;
  text-decoration: none;
}

.editorial-site button,
.editorial-site a {
  -webkit-tap-highlight-color: transparent;
}

.editorial-site :is(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.editorial-site main {
  position: relative;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.editorial-site #motionField,
.editorial-site .noise,
.editorial-site .cursor,
.editorial-site .site-loader {
  display: none !important;
}

.editorial-site .skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.editorial-site .skip-link:focus {
  transform: translateY(0);
}

.editorial-site .scroll-progress {
  position: fixed;
  z-index: 200;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.editorial-site .scroll-progress span {
  display: block;
  width: calc(var(--progress, 0) * 100%);
  height: 100%;
  background: var(--signal);
  transform-origin: left;
}

.editorial-site .pointer-glow {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background: radial-gradient(620px circle at var(--mx, 50vw) var(--my, 50vh), rgba(140, 235, 120, 0.11), transparent 45%);
}

.editorial-site .site-header.editorial-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  width: min(100%, var(--content));
  height: auto;
  margin: 0 auto;
  padding: 28px var(--gutter);
  color: var(--ink);
  background: transparent;
  border: 0;
  backdrop-filter: none;
  opacity: 1;
  transform: none;
  transition:
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    backdrop-filter 280ms ease;
}

.editorial-site .site-header.editorial-header.is-compact {
  padding-top: 11px;
  padding-bottom: 11px;
  background: rgba(242, 241, 236, 0.91);
  border-bottom: 1px solid rgba(11, 12, 11, 0.12);
  box-shadow: 0 12px 32px rgba(11, 12, 11, 0.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

.editorial-site .site-header.editorial-header.is-compact .logo-mark-inline {
  width: 28px;
  height: 28px;
}

.editorial-site .site-header.editorial-header.is-compact .wordmark {
  font-size: 0.78rem;
}

.editorial-site .site-header.editorial-header.is-compact nav {
  gap: 24px;
  font-size: 0.75rem;
}

.editorial-site .site-header.editorial-header.is-compact .header-contact {
  padding: 8px 12px 8px 14px;
  font-size: 0.75rem;
}

.editorial-site .site-header .wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: auto;
  min-width: 0;
  height: auto;
  gap: 12px;
  padding: 0;
  border: 0;
  overflow: visible;
  font-size: 0.875rem;
}

.editorial-site .site-header .wordmark::before {
  inset: -8px auto auto -8px;
  width: 48px;
  height: 48px;
}

.editorial-site .wordmark b {
  letter-spacing: 0;
  font-weight: 630;
}

.editorial-site .logo-mark-inline {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
  filter: none;
}

.editorial-site .site-header nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  gap: 30px;
  padding: 0;
  color: #3d403c;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 0.8125rem;
}

.editorial-site .site-header nav a {
  position: relative;
  padding: 7px 0;
  color: inherit;
  border: 0;
}

.editorial-site .site-header nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.editorial-site .site-header nav a:hover::after,
.editorial-site .site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.editorial-site .header-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-height: 0;
  padding: 11px 15px 11px 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 620;
  letter-spacing: 0;
  text-transform: none;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.editorial-site .header-contact:hover {
  color: var(--ink);
  background: var(--signal);
  transform: translateY(-2px);
}

/* One navigation contract across Home, Gallery, and every case study. */
body.editorial-site .site-header.editorial-header {
  grid-template-columns: 1fr auto 1fr;
  width: 100%;
  height: 96px;
  padding: 0 clamp(28px, 4.8vw, 72px);
  color: #171916;
  background: rgba(242, 240, 233, 0.9);
  border: 0;
  border-bottom: 1px solid rgba(23, 25, 22, 0.1);
  box-shadow: none;
  backdrop-filter: blur(20px);
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  transition:
    height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    backdrop-filter 280ms ease;
}

body.editorial-site .site-header .header-utilities {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: clamp(18px, 2vw, 30px);
  min-width: 0;
}

body.editorial-site .site-header.editorial-header.is-compact {
  height: 68px;
  padding: 0 clamp(24px, 4vw, 60px);
  background: rgba(242, 240, 233, 0.94);
  border-bottom-color: rgba(23, 25, 22, 0.14);
  box-shadow: 0 12px 32px rgba(11, 12, 11, 0.08);
  backdrop-filter: blur(20px) saturate(1.08);
}

body.editorial-site .site-header :is(.wordmark, nav, nav a, .header-contact) {
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

body.editorial-site .site-header .wordmark {
  gap: 12px;
  color: #171916;
  font-size: 0.875rem;
  font-weight: 650;
}

body.editorial-site .site-header .wordmark b {
  font-weight: 650;
}

body.editorial-site .site-header .brand-logo::before {
  display: none;
}

body.editorial-site .site-header .brand-logo .logo-mark {
  width: 34px;
  height: 34px;
  animation-name: logo-color-story-home-light;
}

body.editorial-site .site-header nav {
  justify-self: center;
  gap: clamp(22px, 3vw, 48px);
  color: #3d403c;
  font-size: 0.8125rem;
  font-weight: 500;
}

body.editorial-site .site-header nav a {
  min-height: auto;
  padding: 12px 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: inherit;
  font-weight: inherit;
}

body.editorial-site .site-header nav a:hover {
  color: #4f8059;
  background: transparent;
}

body.editorial-site .site-header .header-contact {
  min-height: 46px;
  padding: 0 22px;
  color: #f7f5ef;
  background: #171916;
  border-color: #171916;
  font-size: 0.8125rem;
  font-weight: 620;
}

body.editorial-site .site-header .header-contact:hover {
  color: #171916;
  background: var(--signal);
  border-color: var(--signal);
}

body.editorial-site .site-header.editorial-header.is-compact .brand-logo .logo-mark {
  width: 28px;
  height: 28px;
}

body.editorial-site .site-header.editorial-header.is-compact .header-contact {
  min-height: 40px;
  padding: 0 18px;
}

.editorial-site :is(
  .hero h1,
  .gallery-title,
  .case-title,
  .section-heading h2,
  .about-head h2,
  .project-story h3,
  .approach-intro h2,
  .section-lock h2,
  .section-intro h2
) {
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
  font-stretch: 96%;
  text-rendering: optimizeLegibility;
}

.editorial-site .hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, var(--content));
  min-height: 100svh;
  margin: 0 auto;
  padding: 148px var(--gutter) 56px;
}

.editorial-site .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #40443e;
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.editorial-site .hero-eyebrow i {
  margin-left: auto;
  color: var(--muted);
  font-style: normal;
}

.editorial-site .signal-dot {
  width: 8px;
  height: 8px;
  background: #53c66a;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(83, 198, 106, 0.12);
  animation: editorial-signal 2.8s ease-in-out infinite;
}

@keyframes editorial-signal {
  50% { box-shadow: 0 0 0 9px rgba(83, 198, 106, 0); }
}

.editorial-site .hero-copy {
  margin-top: 115px;
}

.editorial-site .hero h1 {
  margin: 0;
  font-size: 7.4rem;
  font-weight: 520;
  line-height: 0.86;
  letter-spacing: 0;
}

.editorial-site .hero-line {
  display: block;
  padding-bottom: 0.08em;
  overflow: hidden;
}

.editorial-site .hero-line > span {
  display: block;
  opacity: 0;
  transform: translateY(110%);
}

.editorial-site:not(.is-loading) .hero-line:first-child > span {
  animation: editorial-hero-in 900ms cubic-bezier(0.16, 1, 0.3, 1) 120ms forwards;
}

.editorial-site:not(.is-loading) .hero-line:nth-child(2) > span {
  animation: editorial-hero-in 900ms cubic-bezier(0.16, 1, 0.3, 1) 210ms forwards;
}

@keyframes editorial-hero-in {
  to { opacity: 1; transform: translateY(0); }
}

.editorial-site .hero h1 em {
  position: relative;
  color: var(--signal-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.editorial-site .hero h1 em::after {
  content: "";
  position: absolute;
  right: -0.03em;
  bottom: -0.02em;
  left: 0.06em;
  height: 0.06em;
  background: var(--signal);
  border-radius: 999px;
  transform: rotate(-1deg) scaleX(0);
  transform-origin: left;
  animation: editorial-underline 650ms cubic-bezier(0.16, 1, 0.3, 1) 950ms forwards;
}

@keyframes editorial-underline {
  to { transform: rotate(-1deg) scaleX(1); }
}

.editorial-site .hero-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  width: min(100%, 620px);
  margin: 58px 0 0 auto;
}

.editorial-site .hero-intro p {
  margin: 0;
  color: #343733;
  font-size: 1.375rem;
  line-height: 1.42;
  letter-spacing: 0;
}

.editorial-site .text-link,
.editorial-site .project-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.8125rem;
  font-weight: 650;
  white-space: nowrap;
}

.editorial-site .text-link svg,
.editorial-site .project-link span {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-site .text-link:hover svg {
  transform: translateY(4px);
}

.editorial-site .project-link:hover span {
  transform: translate(4px, -4px);
}

.editorial-site .hero-stage {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) 1fr;
  align-items: end;
  gap: 72px;
  margin-top: 94px;
}

.editorial-site .stage-note {
  display: flex;
  gap: 16px;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.editorial-site .stage-note > span {
  color: var(--ink);
  font-size: 0.625rem;
  font-weight: 700;
}

.editorial-site .stage-note p {
  margin: 0;
}

.editorial-site .clarity-field {
  --field-x: 62%;
  --field-y: 44%;
  position: relative;
  isolation: isolate;
  min-height: 580px;
  color: #f6f7f2;
  background: #0c0e0c;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(17, 21, 16, 0.15);
}

.editorial-site .clarity-field::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(var(--field-x) - 280px);
  top: calc(var(--field-y) - 280px);
  width: 560px;
  height: 560px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(140, 235, 120, 0.16), transparent 63%);
  transition: left 300ms ease-out, top 300ms ease-out;
}

.editorial-site .clarity-field::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.editorial-site .field-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 26px;
  color: #a5aaa2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.625rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-site .field-topline span:last-child {
  color: var(--signal);
}

.editorial-site .field-body {
  display: grid;
  grid-template-columns: 1fr 72px 0.92fr;
  min-height: 514px;
}

.editorial-site .field-noise {
  position: relative;
  min-height: 360px;
}

.editorial-site .noise-pill {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  color: #afb3ad;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.625rem;
  white-space: nowrap;
  animation: editorial-noise 6s ease-in-out infinite;
}

.editorial-site .n1 { top: 13%; left: 9%; }
.editorial-site .n2 { top: 8%; left: 54%; animation-delay: -2s; }
.editorial-site .n3 { top: 34%; left: 28%; animation-delay: -4s; }
.editorial-site .n4 { top: 41%; left: 76%; color: var(--signal); animation-delay: -1s; }
.editorial-site .n5 { top: 60%; left: 8%; animation-delay: -5s; }
.editorial-site .n6 { top: 67%; left: 58%; animation-delay: -3s; }
.editorial-site .n7 { top: 82%; left: 34%; color: #f39c86; animation-delay: -2.5s; }
.editorial-site .n8 { top: 88%; left: 74%; animation-delay: -4.5s; }

@keyframes editorial-noise { 50% { transform: translateY(-7px); } }

.editorial-site .noise-lines {
  position: absolute;
  inset: 7% 3% 5%;
  width: 94%;
  height: 88%;
  opacity: 0.36;
}

.editorial-site .noise-lines path {
  fill: none;
  stroke: #889088;
  stroke-width: 1px;
  stroke-dasharray: 3 7;
  vector-effect: non-scaling-stroke;
}

.editorial-site .field-axis {
  position: relative;
  display: grid;
  place-items: center;
}

.editorial-site .field-axis::before {
  content: "";
  position: absolute;
  inset: 0 auto;
  width: 1px;
  background: linear-gradient(transparent, rgba(140, 235, 120, 0.6) 16% 84%, transparent);
}

.editorial-site .field-axis i {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: #0c0e0c;
  border: 1px solid var(--signal);
  border-radius: 50%;
}

.editorial-site .field-axis i::before,
.editorial-site .field-axis i::after {
  content: "";
  position: absolute;
  background: var(--signal);
}

.editorial-site .field-axis i::before { top: 18px; left: 13px; width: 11px; height: 1px; }
.editorial-site .field-axis i::after { top: 13px; left: 18px; width: 1px; height: 11px; }
.editorial-site .field-axis > span { position: absolute; left: 50%; width: 5px; height: 5px; background: var(--signal); border-radius: 50%; transform: translateX(-50%); }
.editorial-site .field-axis > span:first-child { top: 14%; }
.editorial-site .field-axis > span:last-child { bottom: 14%; }

.editorial-site .field-order {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.editorial-site .order-kicker {
  margin-bottom: 18px;
  color: #aeb3ac;
  font-size: 0.625rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.editorial-site .order-score {
  font-size: 8rem;
  font-weight: 520;
  line-height: 0.82;
  letter-spacing: 0;
}

.editorial-site .order-bar {
  height: 5px;
  margin: 28px 0 30px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.editorial-site .order-bar span {
  display: block;
  height: 100%;
  background: var(--signal);
  border-radius: inherit;
  transform-origin: left;
  animation: editorial-score 1.3s cubic-bezier(0.16, 1, 0.3, 1) 700ms both;
}

@keyframes editorial-score { from { transform: scaleX(0); } }

.editorial-site .order-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.6875rem;
}

.editorial-site .order-row span { color: #8f958e; }
.editorial-site .order-row strong { color: #e8ebe5; font-weight: 600; }
.editorial-site .order-foot { margin-top: 32px; color: var(--signal); font-size: 0.6875rem; }

.editorial-site .field-cursor {
  position: absolute;
  left: var(--field-x);
  top: var(--field-y);
  width: 17px;
  height: auto;
  opacity: 1;
  pointer-events: none;
  transform: translate(-4px, -4px) rotate(-18deg);
  transform-origin: 50% 18%;
  filter: blur(0) drop-shadow(0 4px 9px rgba(0, 0, 0, 0.34));
  transition:
    left 180ms ease-out,
    top 180ms ease-out,
    opacity 220ms ease,
    filter 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-site .field-cursor.is-hidden {
  opacity: 0;
  filter: blur(6px) drop-shadow(0 4px 9px rgba(0, 0, 0, 0));
  transform: translate(-4px, -4px) rotate(-18deg) scale(0.72);
}

@media (hover: hover) and (pointer: fine) {
  .editorial-site .clarity-field,
  .editorial-site .clarity-field * {
    cursor: none;
  }
}

.editorial-site .field-cursor::before {
  content: none;
}

.editorial-site .field-cursor span {
  display: none;
}

.editorial-site .proof,
.editorial-site .work-section,
.editorial-site .about-section {
  display: block;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.editorial-site .proof {
  padding-top: 190px;
  padding-bottom: 190px;
}

.editorial-site .section-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 17px;
  color: #3f433e;
  border-bottom: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-site .section-label i {
  color: #7e837b;
  font-style: normal;
  font-weight: 500;
}

.editorial-site .metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.editorial-site .metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 36px 24px 22px;
  border-right: 1px solid var(--line);
}

.editorial-site .metric:not(:first-child) { padding-left: 24px; }
.editorial-site .metric:last-child { border-right: 0; }
.editorial-site .metric strong { font-size: 5.5rem; font-weight: 530; line-height: 0.9; letter-spacing: 0; }
.editorial-site .metric:first-child strong { color: var(--signal-deep); }
.editorial-site .metric span { max-width: 130px; color: #5f645d; font-size: 0.8125rem; line-height: 1.25; }

.editorial-site .work-section {
  padding-bottom: 190px;
}

.editorial-site .section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 120px;
}

.editorial-site .section-number {
  display: block;
  margin-bottom: 36px;
  color: #676b65;
  font-size: 0.625rem;
  font-weight: 680;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.editorial-site .section-number.light { color: #939990; }

.editorial-site :is(.section-heading, .approach-intro, .about-head) h2 {
  margin: 0;
  font-size: 7rem;
  font-weight: 520;
  line-height: 0.9;
  letter-spacing: 0;
}

.editorial-site .section-heading > p {
  max-width: 420px;
  margin: 0 0 7px;
  color: #51554f;
  font-size: 1.25rem;
  line-height: 1.47;
  letter-spacing: 0;
}

.editorial-site .project {
  margin-bottom: 190px;
}

.editorial-site .project-meta {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 0 0 15px;
  color: #595e57;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-site .project-meta span:nth-child(2) { color: var(--ink); font-weight: 720; }
.editorial-site .project-media-link { display: block; padding-top: 28px; }

.editorial-site .project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transform: translateZ(0);
}

.editorial-site .project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms ease;
}

.editorial-site .project-media-link:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.editorial-site .project-media-geo { background: #ebe5ff; }
.editorial-site .project-media-deeview { background: #f3d8e1; }
.editorial-site .project-media-admin { background: #e9e9e6; }
.editorial-site .project-media-mobile { background: #dbece3; }
.editorial-site .project-media-hollow { background: #090b0d; }

.editorial-site .project-media figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  color: #f6f7f2;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-site .project-story {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 120px;
  margin-top: 58px;
}

.editorial-site .project-type {
  display: block;
  margin-bottom: 20px;
  color: #666a64;
  font-size: 0.6875rem;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-site .project-story h3 {
  margin: 0;
  font-size: 5.25rem;
  font-weight: 520;
  line-height: 0.94;
  letter-spacing: 0;
}

.editorial-site .project-copy {
  padding-top: 31px;
  border-top: 1px solid var(--line);
}

.editorial-site .project-copy > p {
  max-width: 580px;
  margin: 0;
  color: #464a45;
  font-size: 1.1875rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.editorial-site .project-link { margin-top: 42px; padding-top: 13px; font-weight: 680; }

.editorial-site .up-next {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr auto;
  align-items: center;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-site .up-next > div { display: flex; flex-direction: column; }
.editorial-site .up-next > div span { margin-bottom: 4px; color: #70746e; font-size: 0.5625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.editorial-site .up-next > div strong { font-size: 2.5rem; font-weight: 560; letter-spacing: 0; }
.editorial-site .up-next > p { max-width: 560px; margin: 0; color: #4e524d; font-size: 0.9375rem; }
.editorial-site .coming-soon { padding: 8px 11px; color: #254f2e; background: #dcf3d7; border-radius: 999px; font-size: 0.5625rem; font-weight: 680; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

.editorial-site .approach-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 140px;
  padding: 170px var(--gutter);
  color: #f0f2ec;
  background: #0d0f0d;
}

.editorial-site .approach-intro {
  position: sticky;
  top: 80px;
  align-self: start;
}

.editorial-site .approach-intro h2 { max-width: 700px; font-size: 6.5rem; }
.editorial-site .approach-intro > p { max-width: 430px; margin: 50px 0 0; color: #a9afa7; font-size: 1.1875rem; line-height: 1.52; }
.editorial-site .approach-list { margin: 70px 0 0; padding: 0; list-style: none; }
.editorial-site .approach-list li { display: grid; grid-template-columns: 55px 1fr auto; gap: 22px; min-height: 210px; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.17); }
.editorial-site .approach-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.17); }
.editorial-site .approach-list li > span { color: var(--signal); font-family: ui-monospace, monospace; font-size: 0.5625rem; }
.editorial-site .approach-list h3 { margin: 0 0 16px; font-size: 2.25rem; font-weight: 530; line-height: 1.05; letter-spacing: 0; }
.editorial-site .approach-list p { max-width: 490px; margin: 0; color: #a2a8a0; font-size: 0.875rem; }
.editorial-site .approach-list i { align-self: start; padding: 7px 10px; color: #a9afa7; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 0.5rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }

.editorial-site .about-section {
  padding-top: 200px;
  padding-bottom: 200px;
}

.editorial-site .about-head h2 { max-width: 1250px; }
.editorial-site .about-grid { display: grid; grid-template-columns: 1.25fr 0.75fr 0.75fr; gap: 80px; margin-top: 140px; }
.editorial-site .about-lead p { max-width: 540px; margin: 0 0 24px; color: #383c37; font-size: 1.75rem; line-height: 1.35; letter-spacing: 0; }
.editorial-site .about-lead p strong { font-weight: 610; box-shadow: inset 0 -0.25em var(--signal); }
.editorial-site .social-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 52px; }
.editorial-site .social-row a { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 0.75rem; font-weight: 650; }
.editorial-site .profile-column h3 { margin: 0 0 28px; padding-bottom: 14px; color: #747972; border-bottom: 1px solid var(--line); font-size: 0.5625rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.editorial-site .profile-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.editorial-site .profile-item > div { display: flex; flex-direction: column; gap: 5px; }
.editorial-site .profile-item strong { font-size: 0.875rem; font-weight: 620; line-height: 1.2; }
.editorial-site .profile-item span,
.editorial-site .profile-item time { color: #6c716a; font-size: 0.625rem; }
.editorial-site .profile-item time { white-space: nowrap; }
.editorial-site .capability-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 140px; padding-top: 18px; border-top: 1px solid var(--line); }
.editorial-site .capability-line span { padding: 9px 13px; color: #4f544d; border: 1px solid var(--line); border-radius: 999px; font-size: 0.6875rem; }

.editorial-site .contact-section {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  color: #f4f5f0;
  background: #195b38;
  padding: 130px var(--gutter) 78px;
  overflow: hidden;
}

.editorial-site .contact-section::before {
  content: "";
  position: absolute;
  top: -65%;
  right: -14%;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 255, 255, 0.025), 0 0 0 14vw rgba(255, 255, 255, 0.02);
}

.editorial-site .contact-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.27);
}

.editorial-site .contact-top .section-number { margin-bottom: 16px; color: #bbd8c4; }
.editorial-site .contact-top p { margin: 0 0 14px; color: #cfe1d4; font-size: 0.75rem; }
.editorial-site .contact-link { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 72px 0 110px; border-bottom: 1px solid rgba(255, 255, 255, 0.27); }
.editorial-site .contact-link > span:first-child { font-family: Georgia, "Times New Roman", serif; font-size: 12rem; font-style: italic; line-height: 0.8; letter-spacing: 0; }
.editorial-site .contact-arrow { flex: none; font-family: inherit; font-size: 6rem; font-style: normal; font-weight: 300; transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.editorial-site .contact-link:hover .contact-arrow { transform: translate(14px, -14px); }
.editorial-site .contact-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
  color: #d8e7dc;
  font-size: 0.6875rem;
}

.editorial-site .contact-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.editorial-site .contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: #f4f5f0;
  font-weight: 570;
  transition: color 220ms ease, border-color 220ms ease, opacity 220ms ease;
}

.editorial-site .contact-socials a:hover,
.editorial-site .contact-socials a:focus-visible {
  color: #ffffff;
  border-color: currentColor;
}

.editorial-site .contact-socials img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.editorial-site .contact-location {
  flex: none;
  color: #cde0d2;
}

.editorial-site .editorial-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  min-height: 0;
  padding: 50px var(--gutter) 32px;
  color: #d0d4cd;
  background: var(--ink);
  border: 0;
}

.editorial-site .editorial-footer .footer-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
}

.editorial-site :is(.editorial-footer .footer-mark, .site-footer .footer-brand) {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.editorial-site .editorial-footer .logo-mark-inline { width: 32px; height: 32px; }
.editorial-site .editorial-footer > p { max-width: 360px; margin: 0; font-size: 1.25rem; letter-spacing: 0; }
.editorial-site .editorial-footer > div { display: flex; grid-column: 1 / -1; justify-content: space-between; padding-top: 35px; color: #7f857d; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.625rem; }
.editorial-site .editorial-footer > div a { color: #cbd0c8; }

.editorial-site .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-site .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.editorial-site .site-header .soundscape-toggle {
  position: static;
  z-index: auto;
  min-height: 32px;
  padding: 5px 0;
  color: #565a55;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.03em;
  transition: color 180ms ease, opacity 180ms ease;
}

.editorial-site .site-header .soundscape-toggle:hover,
.editorial-site .site-header .soundscape-toggle:focus-visible {
  color: #2f6f43;
  background: transparent;
  opacity: 1;
}

.editorial-site .site-header .soundscape-toggle.is-active {
  color: #2f6f43;
  background: transparent;
}

.editorial-site .site-header .soundscape-toggle .sound-bars span,
.editorial-site .site-header .soundscape-toggle:hover .sound-bars span {
  background: currentColor;
}

@media (max-width: 1280px) {
  .editorial-site .hero h1 { font-size: 7.25rem; }
  .editorial-site :is(.section-heading, .about-head) h2 { font-size: 6rem; }
  .editorial-site .project-story h3 { font-size: 4.5rem; }
  .editorial-site .contact-link > span:first-child { font-size: 10rem; }
}

@media (max-width: 1100px) {
  .editorial-site .field-body { grid-template-columns: 0.85fr 55px 1.15fr; }
  .editorial-site .field-order { padding: 30px; }
  .editorial-site .about-grid { grid-template-columns: 1fr 1fr; }
  .editorial-site .about-lead { grid-column: 1 / -1; }
  .editorial-site .about-lead p { max-width: 760px; }
  .editorial-site .approach-section { gap: 80px; }
}

@media (max-width: 860px) {
  .editorial-site { background-size: 40px 40px; }
  .editorial-site .site-header.editorial-header { grid-template-columns: 1fr auto; padding-top: 20px; }
  .editorial-site .site-header nav,
  .editorial-site .wordmark b { display: none; }
  .editorial-site .hero { min-height: auto; padding-top: 115px; }
  .editorial-site .hero-copy { margin-top: 70px; }
  .editorial-site .hero h1 { font-size: 5.35rem; }
  .editorial-site .hero-stage { grid-template-columns: 1fr; gap: 24px; }
  .editorial-site .stage-note { display: none; }
  .editorial-site .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-site .metric { min-height: 180px; border-bottom: 1px solid var(--line); }
  .editorial-site .metric:nth-child(2) { border-right: 0; }
  .editorial-site .section-heading { grid-template-columns: 1fr; }
  .editorial-site .section-heading > p { max-width: 600px; }
  .editorial-site .section-heading h2,
  .editorial-site .about-head h2 { font-size: 5.25rem; }
  .editorial-site .project-story { grid-template-columns: 1fr; gap: 44px; }
  .editorial-site .project-story h3 { font-size: 4.25rem; }
  .editorial-site .project-copy { max-width: 650px; }
  .editorial-site .approach-section { grid-template-columns: 1fr; }
  .editorial-site .approach-intro { position: static; }
  .editorial-site .approach-list { margin-top: 0; }
  .editorial-site .up-next { grid-template-columns: 1fr auto; }
  .editorial-site .up-next > p { grid-area: 2 / 1 / auto / -1; }
  .editorial-site .contact-link > span:first-child { font-size: 8rem; }

  body.editorial-site .site-header .header-utilities {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .editorial-site {
    --gutter: 20px;
    background-size: 32px 32px;
  }
  .editorial-site .header-contact { padding: 10px 12px 10px 15px; }
  .editorial-site .hero { padding-bottom: 30px; }
  .editorial-site .hero-eyebrow i { display: none; }
  .editorial-site .hero h1 { font-size: 4rem; line-height: 0.9; }
  .editorial-site .hero-line:nth-child(2) > span { line-height: 0.86; }
  .editorial-site .hero h1 em { display: inline-block; }
  .editorial-site .hero-intro { grid-template-columns: 1fr; gap: 28px; }
  .editorial-site .hero-intro p { font-size: 1.125rem; }
  .editorial-site .hero-stage { margin-top: 58px; }
  .editorial-site .clarity-field { min-height: 520px; border-radius: 12px; }
  .editorial-site .field-body { grid-template-columns: 1fr; min-height: 454px; }
  .editorial-site .field-noise { min-height: 215px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .editorial-site .field-axis { display: none; }
  .editorial-site .field-order { min-height: 238px; padding: 25px; }
  .editorial-site .order-score { font-size: 4.75rem; }
  .editorial-site .order-bar { margin: 15px 0; }
  .editorial-site .order-foot { margin-top: 14px; }
  .editorial-site .field-cursor,
  .editorial-site .section-label i { display: none; }
  .editorial-site .proof { padding-top: 110px; padding-bottom: 110px; }
  .editorial-site .metrics-grid { grid-template-columns: 1fr 1fr; }
  .editorial-site .metric { min-height: 150px; padding: 26px 17px 17px; }
  .editorial-site .metric:not(:first-child) { padding-left: 17px; }
  .editorial-site .metric:nth-child(3) { border-right: 1px solid var(--line); }
  .editorial-site .metric strong { font-size: 3.125rem; }
  .editorial-site .work-section { padding-bottom: 110px; }
  .editorial-site .section-heading { margin-bottom: 80px; }
  .editorial-site .section-heading h2,
  .editorial-site .about-head h2 { font-size: 3.4rem; }
  .editorial-site .project { margin-bottom: 110px; }
  .editorial-site .project-meta { grid-template-columns: 32px 1fr auto; font-size: 0.5rem; }
  .editorial-site .project-media-link { padding-top: 18px; }
  .editorial-site .project-media { aspect-ratio: 4 / 3; border-radius: 6px; }
  .editorial-site .project-media img { object-fit: cover; }
  .editorial-site .project-media figcaption { padding: 12px; font-size: 0.5rem; }
  .editorial-site .project-media figcaption span:last-child { display: none; }
  .editorial-site .project-story { margin-top: 34px; }
  .editorial-site .project-story h3 { font-size: 3.25rem; }
  .editorial-site .project-copy > p { font-size: 1rem; }
  .editorial-site .up-next { gap: 18px; }
  .editorial-site .up-next > div strong { font-size: 2rem; }
  .editorial-site .coming-soon { font-size: 0.4375rem; }
  .editorial-site .approach-section { padding-top: 110px; padding-bottom: 110px; }
  .editorial-site .approach-intro h2 { font-size: 3.6rem; }
  .editorial-site .approach-list li { grid-template-columns: 30px 1fr; min-height: 0; }
  .editorial-site .approach-list li > i { display: none; }
  .editorial-site .approach-list h3 { font-size: 1.75rem; }
  .editorial-site .about-section { padding-top: 110px; padding-bottom: 110px; }
  .editorial-site .about-grid { grid-template-columns: 1fr; gap: 56px; margin-top: 80px; }
  .editorial-site .about-lead { grid-column: auto; }
  .editorial-site .about-lead p { font-size: 1.35rem; }
  .editorial-site .capability-line { margin-top: 80px; }
  .editorial-site .contact-section { padding-top: 82px; padding-bottom: 54px; }
  .editorial-site .contact-top p { display: none; }
  .editorial-site .contact-link { align-items: flex-end; padding: 50px 0 70px; }
  .editorial-site .contact-link > span:first-child { font-size: 5.1rem; }
  .editorial-site .contact-arrow { font-size: 2.5rem; }
  .editorial-site .contact-meta { align-items: stretch; flex-direction: column; gap: 20px; }
  .editorial-site .contact-socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
  .editorial-site .contact-socials a { min-height: 44px; width: 100%; }
  .editorial-site .contact-location { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .editorial-site .editorial-footer { grid-template-columns: 1fr; gap: 30px; }
  .editorial-site .editorial-footer > div { flex-direction: column; gap: 16px; }
  .editorial-site .site-header .soundscape-toggle {
    min-height: 30px;
    font-size: 0.5625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-site *,
  .editorial-site *::before,
  .editorial-site *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .editorial-site .pointer-glow,
  .editorial-site .field-cursor { display: none; }
  .editorial-site .hero-line > span,
  .editorial-site .reveal { opacity: 1; transform: none; }
}

/* One typographic rhythm for every portfolio title, regardless of page theme. */
body.editorial-site :is(h1, h2, h3) {
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  letter-spacing: 0 !important;
  word-spacing: -0.045em;
  text-rendering: optimizeLegibility;
}

/* Shared case-study system */

.editorial-case[data-page="geo-inspector"] {
  --project-accent: #6747c6;
  --project-soft: #e9e3fb;
  --project-deep: #3d257f;
}

.editorial-case[data-page="deeview"] {
  --project-accent: #d84975;
  --project-soft: #f8dfe7;
  --project-deep: #8b2344;
}

.editorial-case[data-page="admin-dashboard"] {
  --project-accent: #131313;
  --project-soft: #e5e5df;
  --project-deep: #131313;
}

.editorial-case[data-page="mobile-design-system"] {
  --project-accent: #277c66;
  --project-soft: #dbece3;
  --project-deep: #155644;
}

.editorial-case .site-header .availability > span:first-child,
.editorial-gallery .site-header .availability > span:first-child {
  display: inline;
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.editorial-case .case-page {
  width: 100%;
  margin: 0;
  color: var(--ink);
  background: transparent;
}

.editorial-case .case-hero,
.editorial-case .case-section {
  position: relative;
  width: min(100%, var(--content));
  max-width: none;
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.editorial-case .case-hero {
  min-height: 0;
  padding-top: 148px;
  padding-bottom: 180px;
  overflow: visible;
}

.editorial-case .case-kicker {
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  width: fit-content;
  margin: 0 0 78px;
  padding: 0;
  color: #5d625b;
  background: transparent;
  border: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-case .case-kicker span {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-case .case-kicker span:first-child {
  border-left: 1px solid var(--line);
}

.editorial-case .case-title {
  display: block;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 9rem;
  font-weight: 520;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: none;
  overflow: visible;
}

.editorial-case .case-title span {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0 0 0.08em;
  overflow-wrap: anywhere;
}

.editorial-case .case-title span:last-child {
  color: var(--project-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.editorial-case .case-thesis {
  max-width: 980px;
  margin: 68px 0 0 auto;
  color: #333733;
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 480;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.editorial-case .case-hero-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  align-items: end;
  gap: 90px;
  margin-top: 110px;
}

.editorial-case .case-summary {
  max-width: 520px;
  padding: 0;
  color: #454a44;
  background: transparent;
  border: 0;
}

.editorial-case .case-summary > p {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.6;
  letter-spacing: 0;
}

.editorial-case .case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.editorial-case :is(.primary-link, .secondary-link) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.editorial-case .primary-link {
  color: var(--white);
  background: var(--ink);
}

.editorial-case .secondary-link {
  color: var(--ink);
  background: transparent;
}

.editorial-case :is(.primary-link, .secondary-link):hover {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
  transform: translateY(-2px);
}

.editorial-case .case-device {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 18px;
  background: var(--project-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transform: none;
}

.editorial-case .case-device img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 4px;
}

.editorial-case .case-device figcaption {
  margin: 14px 2px 0;
  padding: 0;
  color: #5b6059;
  border: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.5625rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.editorial-case .case-section {
  padding-top: 165px;
  padding-bottom: 165px;
  border: 0;
}

.editorial-case .case-section + .case-section {
  border-top: 1px solid var(--line);
}

.editorial-case .case-section.split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 110px;
}

.editorial-case .section-lock {
  position: sticky;
  top: 86px;
  align-self: start;
  max-width: 560px;
  padding: 0;
}

.editorial-case .kicker {
  margin: 0 0 32px;
  color: var(--project-deep);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-case :is(.section-lock, .section-intro) h2,
.editorial-case .next-steps > h2 {
  max-width: 1120px;
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 4.75rem;
  font-weight: 510;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.editorial-case .section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 70px;
  margin: 0 0 82px;
}

.editorial-case .section-intro .kicker {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.editorial-case .section-intro h2 {
  grid-column: 1;
}

.editorial-case .section-intro > p:not(.kicker) {
  grid-column: 2;
  margin: 0 0 6px;
  color: #545952;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.editorial-case .case-copy {
  min-width: 0;
  padding: 0;
  color: #444943;
  background: transparent;
  border: 0;
}

.editorial-case .case-copy > p {
  max-width: 900px;
  margin: 0 0 34px;
  font-size: 1.35rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.editorial-case .evidence-grid,
.editorial-case .product-grid,
.editorial-case .roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-case :is(.evidence-grid, .product-grid) article {
  min-height: 260px;
  padding: 30px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
  border-right: 1px solid var(--line);
  border-radius: 0;
}

.editorial-case :is(.evidence-grid, .product-grid) article:first-child { padding-left: 30px; }
.editorial-case :is(.evidence-grid, .product-grid) article:last-child { border-right: 0; }
.editorial-case .evidence-grid strong,
.editorial-case .product-card h3 { display: block; margin: 0 0 22px; color: var(--ink); font-size: 1.45rem; font-weight: 560; line-height: 1.12; letter-spacing: 0; }
.editorial-case .evidence-grid span,
.editorial-case .product-card p { display: block; margin: 0; color: #60655e; font-size: 0.9375rem; line-height: 1.55; }
.editorial-case .product-card > span { display: block; margin-bottom: 72px; color: var(--project-accent); font-family: ui-monospace, monospace; font-size: 0.625rem; }

.editorial-case .source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.editorial-case .source-links a {
  padding: 8px 11px;
  color: #454a43;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: ui-monospace, monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.editorial-case .source-links a:hover {
  color: var(--white);
  background: var(--ink);
}

.editorial-case #system {
  width: 100%;
  max-width: none;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  color: #eef1eb;
  background: #0d0f0d;
  border: 0;
}

.editorial-case #system :is(.section-lock h2, .kicker) { color: inherit; }
.editorial-case #system .kicker { color: var(--signal); }
.editorial-case #system :is(.case-copy, .case-copy > p, .score-row span, .role-list span) { color: #abb1a8; }
.editorial-case #system :is(.evidence-grid, .product-grid) { border-color: rgba(255, 255, 255, 0.16); }
.editorial-case #system :is(.evidence-grid, .product-grid) article { color: #eef1eb; background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.16); }
.editorial-case #system :is(.evidence-grid strong, .product-card h3) { color: #eef1eb; }
.editorial-case #system :is(.evidence-grid span, .product-card p) { color: #abb1a8; }

.editorial-case .case-section.metrics-layout {
  width: 100%;
  max-width: none;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  color: #eef1eb;
  background: #0d0f0d;
  border: 0;
}

.editorial-case .metrics-layout :is(.section-lock h2, .score-row span) {
  color: #eef1eb;
}

.editorial-case .metrics-layout .kicker,
.editorial-case .metrics-layout .score-row b {
  color: var(--signal);
}

.editorial-case .metrics-layout :is(.score-stack, .score-row) {
  border-color: rgba(255, 255, 255, 0.18);
}

.editorial-case .score-stack {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.editorial-case .score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 105px;
  padding: 0 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.editorial-case .score-row span {
  color: #eef1eb;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
}

.editorial-case .score-row b {
  color: var(--signal);
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
}

.editorial-case .flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  min-height: 180px;
  padding: 0;
  background: transparent;
  border: 0;
}

.editorial-case .flow div {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 22px;
  color: var(--ink);
  background: var(--project-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  text-align: center;
  text-transform: uppercase;
}

.editorial-case .flow > span {
  height: 1px;
  background: var(--project-accent);
}

.editorial-case .screen-marquee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 20px;
  padding: 0;
  overflow: visible;
}

.editorial-case .screen-marquee img,
.editorial-case .screen-grid figure,
.editorial-case .screenshot-figure {
  min-width: 0;
  margin: 0;
  background: var(--project-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.editorial-case .screen-marquee img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--project-soft);
}

.editorial-case .screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.editorial-case .screen-grid figure.wide { grid-column: 1 / -1; }
.editorial-case .screen-grid figure img,
.editorial-case .screenshot-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: var(--project-soft);
}

.editorial-case .case-media-gallery,
.editorial-case .interface-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.editorial-case .case-media-gallery figure,
.editorial-case .interface-gallery figure {
  border-radius: 8px;
}

.editorial-case .case-media-gallery figure img,
.editorial-case .interface-gallery figure img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.editorial-case .case-media-gallery figcaption,
.editorial-case .interface-gallery figcaption {
  padding: 14px 16px 16px;
  color: #555b55;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.editorial-case .case-media-gallery figure.wide {
  grid-column: auto;
}

.editorial-case .screenshot-figure figcaption {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.editorial-case .screenshot-figure figcaption span { color: var(--project-accent); font-family: ui-monospace, monospace; font-size: 0.5625rem; }
.editorial-case .screenshot-figure figcaption b { font-size: 0.75rem; font-weight: 600; }

.editorial-case .role-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.editorial-case .role-list li {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.editorial-case .role-list b { color: var(--ink); font-size: 1rem; font-weight: 580; }
.editorial-case .role-list span { color: #60655e; font-size: 0.9375rem; line-height: 1.5; }

.editorial-case .next-steps {
  width: 100%;
  max-width: none;
  background: linear-gradient(140deg, var(--project-soft), var(--paper) 68%);
}

.editorial-case .next-steps > h2 { max-width: 1280px; font-size: 6rem; }
.editorial-case .roadmap { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 90px; }
.editorial-case .roadmap article { min-height: 270px; padding: 26px; border-right: 1px solid var(--line); }
.editorial-case .roadmap article:first-child { padding-left: 26px; }
.editorial-case .roadmap article:last-child { border-right: 0; }
.editorial-case .roadmap article span { color: var(--project-accent); font-family: ui-monospace, monospace; font-size: 0.625rem; }
.editorial-case .roadmap article p { margin: 70px 0 0; color: #3d413d; font-size: 1.5rem; line-height: 1.25; letter-spacing: 0; }

.editorial-case .site-footer,
.editorial-gallery .site-footer {
  --footer-accent: #86e875;
  --footer-button: #343735;
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 120px 0 0;
  padding: 110px var(--gutter) 38px;
  color: #f4f5f0;
  background: #171918;
  border: 0;
  overflow: hidden;
}

.editorial-case .site-footer::before,
.editorial-gallery .site-footer::before {
  content: "";
  position: absolute;
  top: -58%;
  right: -18%;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 255, 255, 0.025), 0 0 0 14vw rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.editorial-case .footer-topline,
.editorial-gallery .footer-topline {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 30px;
  border-bottom: 0;
}

.editorial-case .footer-topline h2,
.editorial-gallery .footer-topline h2 {
  max-width: 1200px;
  margin: 0;
  color: #f4f5f0;
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 6rem;
  font-weight: 480;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}

.editorial-case .footer-middle,
.editorial-gallery .footer-middle {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  width: 100%;
  margin: 0;
  padding: 18px 0 72px;
}

.editorial-case .footer-nav,
.editorial-gallery .footer-nav {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 36px;
}

.editorial-case .footer-nav a,
.editorial-gallery .footer-nav a {
  padding-bottom: 4px;
  color: #d6e6da;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-family: ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editorial-case .footer-socials,
.editorial-gallery .footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editorial-case .site-footer :is(.primary-link, .secondary-link),
.editorial-gallery .site-footer :is(.primary-link, .secondary-link) {
  flex: 0 0 164px;
  width: 164px;
  min-width: 164px;
  min-height: 58px;
  padding: 0 22px;
  color: #f4f5f0;
  background: var(--footer-button);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.editorial-case .site-footer :is(.primary-link, .secondary-link):hover,
.editorial-gallery .site-footer :is(.primary-link, .secondary-link):hover {
  color: #111310;
  background: var(--footer-accent);
  border-color: var(--footer-accent);
}

.editorial-case .footer-availability,
.editorial-gallery .footer-availability {
  align-self: start;
  max-width: 540px;
  margin: 0 0 0 auto;
  color: #d6e6da;
  font-size: 1.5rem;
  line-height: 1.32;
  letter-spacing: 0;
}

.editorial-case .footer-bottom,
.editorial-gallery .footer-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding-top: 28px;
  color: #b9d0bf;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-family: ui-monospace, monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.editorial-case .footer-bottom .footer-brand,
.editorial-gallery .footer-bottom .footer-brand {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 0;
}

.editorial-case .footer-bottom .logo-mark,
.editorial-gallery .footer-bottom .logo-mark { width: 28px; height: 28px; }

/* Compact section index shared by every case-study page. */
.editorial-case .case-section-nav {
  position: fixed;
  top: 50%;
  right: clamp(12px, 1.5vw, 24px);
  z-index: 24;
  display: grid;
  height: 44px;
  min-height: 0;
  align-content: start;
  gap: 2px;
  width: 44px;
  padding: 9px 7px;
  color: #222520;
  background: rgba(248, 248, 244, 0.94);
  border: 1px solid rgba(17, 19, 16, 0.16);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(25, 28, 23, 0.13);
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  transition: height 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
  overflow: visible;
}

.editorial-case .case-section-nav.is-expanded {
  height: var(--nav-expanded-height, 252px);
  box-shadow: 0 18px 46px rgba(25, 28, 23, 0.18);
}

.editorial-case .case-section-nav-toggle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: #222520;
  background: transparent;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 560;
  line-height: 1;
  transition: opacity 180ms ease, filter 220ms ease, transform 220ms ease;
}

.editorial-case .case-section-nav.is-expanded .case-section-nav-toggle {
  opacity: 0;
  filter: blur(7px);
  transform: scale(0.82);
  pointer-events: none;
}

.editorial-case .case-section-nav a {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: #6f746d;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-family: ui-monospace, monospace;
  font-size: 0.46rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: color 160ms ease, background 160ms ease, opacity 180ms ease, transform 220ms ease;
}

.editorial-case .case-section-nav.is-expanded a {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.editorial-case .case-section-nav a::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  right: 40px;
  width: max-content;
  max-width: 180px;
  padding: 10px 12px;
  color: #20231f;
  background: rgba(248, 248, 244, 0.98);
  border: 1px solid rgba(17, 19, 16, 0.16);
  border-radius: 7px;
  box-shadow: 0 12px 30px rgba(25, 28, 23, 0.13);
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 580;
  letter-spacing: 0;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(7px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.editorial-case .case-section-nav a:hover::after,
.editorial-case .case-section-nav a:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.editorial-case .case-section-nav a:hover,
.editorial-case .case-section-nav a:focus-visible,
.editorial-case .case-section-nav a[aria-current="true"] {
  color: #111310;
  background: var(--footer-accent, #86e875);
  outline: 0;
}

.editorial-case .case-section-nav a:hover,
.editorial-case .case-section-nav a:focus-visible {
  color: #151714;
  background: rgba(17, 19, 16, 0.08);
}

.editorial-case .case-section-nav a[aria-current="true"] {
  color: #111310;
  background: var(--footer-accent, #86e875);
}

.editorial-case .case-page > section {
  scroll-margin-top: 92px;
}

/* Gallery */

.editorial-gallery .gallery-page {
  width: 100%;
  margin: 0;
  padding: 0;
}

.editorial-gallery .gallery-hero,
.editorial-gallery .gallery-section {
  width: min(100%, var(--content));
  max-width: none;
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.editorial-gallery .gallery-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 100px;
  min-height: 82svh;
  padding-top: 150px;
  padding-bottom: 110px;
}

.editorial-gallery .gallery-kicker {
  margin: 0 0 34px;
  color: var(--signal-deep);
  font-family: ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-gallery .gallery-title {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Sans Variable", "Helvetica Neue", Arial, sans-serif;
  font-size: 8.5rem;
  font-weight: 520;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.editorial-gallery .gallery-subtitle {
  max-width: 760px;
  margin: 58px 0 0;
  color: #454a44;
  font-size: 1.35rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.editorial-gallery .gallery-stats {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.editorial-gallery .gallery-stats div {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  align-items: center;
  min-height: 95px;
  padding: 18px 20px;
  color: var(--ink);
  background: transparent;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.editorial-gallery .gallery-stats strong { font-size: 0.75rem; font-weight: 650; }
.editorial-gallery .gallery-stats span { color: #697069; font-family: ui-monospace, monospace; font-size: 0.5625rem; letter-spacing: 0.05em; text-transform: uppercase; }

.editorial-gallery .gallery-section {
  padding-top: 70px;
  padding-bottom: 170px;
}

.editorial-gallery .gallery-grid {
  display: block;
  columns: 3;
  column-gap: 20px;
}

.editorial-gallery .gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 32px;
  background: transparent;
  border: 0;
  break-inside: avoid;
  overflow: visible;
}

.editorial-gallery .gallery-item.is-wide { width: 100%; }

.editorial-gallery .gallery-image-wrap {
  width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.editorial-gallery .gallery-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 600ms ease;
}

.editorial-gallery .gallery-item:hover .gallery-image-wrap img {
  transform: scale(1.02);
  filter: saturate(1.04);
}

.editorial-gallery .gallery-item figcaption {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 15px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.editorial-gallery .gallery-item figcaption > span { color: var(--signal-deep); font-family: ui-monospace, monospace; font-size: 0.5625rem; }
.editorial-gallery .gallery-item figcaption > div { display: flex; flex-direction: column; gap: 3px; }
.editorial-gallery .gallery-item figcaption strong { font-size: 0.8125rem; font-weight: 610; letter-spacing: 0; }
.editorial-gallery .gallery-item figcaption em { color: #70756f; font-family: ui-monospace, monospace; font-size: 0.5rem; font-style: normal; letter-spacing: 0.05em; text-transform: uppercase; }

@media (max-width: 1280px) {
  .editorial-case .case-title { font-size: 7.4rem; }
  .editorial-case .case-thesis { font-size: 2.65rem; }
  .editorial-case :is(.section-lock, .section-intro) h2 { font-size: 4.25rem; }
  .editorial-case .next-steps > h2,
  .editorial-case .footer-topline h2,
  .editorial-gallery .footer-topline h2 { font-size: 5.2rem; }
  .editorial-gallery .gallery-title { font-size: 7.3rem; }
}

@media (max-width: 1000px) {
  .editorial-case .case-section-nav { display: none; }
  .editorial-case .case-hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .editorial-case .case-summary { max-width: 720px; }
  .editorial-case .case-section.split { grid-template-columns: 1fr; gap: 65px; }
  .editorial-case .section-lock { position: static; max-width: 800px; }
  .editorial-case .section-intro { grid-template-columns: 1fr; gap: 30px; }
  .editorial-case .section-intro .kicker { margin-bottom: 0; }
  .editorial-case .section-intro > p:not(.kicker) { grid-column: 1; max-width: 700px; }
  .editorial-case .evidence-grid,
  .editorial-case .product-grid { grid-template-columns: 1fr; }
  .editorial-case :is(.evidence-grid, .product-grid) article { min-height: 0; padding: 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-case :is(.evidence-grid, .product-grid) article:last-child { border-bottom: 0; }
  .editorial-case #system :is(.evidence-grid, .product-grid) article { border-bottom-color: rgba(255,255,255,0.16); }
  .editorial-case .product-card > span { margin-bottom: 35px; }
  .editorial-case .flow { grid-template-columns: 1fr; gap: 0; }
  .editorial-case .flow > span { width: 1px; height: 30px; margin: 0 auto; }
  .editorial-case .screen-marquee { grid-template-columns: 1fr; }
  .editorial-case .roadmap { grid-template-columns: repeat(2, 1fr); }
  .editorial-case .roadmap article:nth-child(2) { border-right: 0; }
  .editorial-case .roadmap article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .editorial-case .footer-middle,
  .editorial-gallery .footer-middle { grid-template-columns: 1fr; gap: 48px; }
  .editorial-case .footer-availability,
  .editorial-gallery .footer-availability { margin: 0; }
  .editorial-case .footer-bottom,
  .editorial-gallery .footer-bottom { grid-template-columns: auto auto 1fr; }
  .editorial-case .footer-bottom > :nth-last-child(-n + 2),
  .editorial-gallery .footer-bottom > :nth-last-child(-n + 2) { justify-self: end; }
  .editorial-gallery .gallery-hero { grid-template-columns: 1fr; min-height: 0; }
  .editorial-gallery .gallery-stats { grid-template-columns: repeat(3, 1fr); }
  .editorial-gallery .gallery-stats div { grid-template-columns: 1fr; align-content: center; gap: 6px; padding: 16px; border-right: 1px solid var(--line); }
  .editorial-gallery .gallery-stats div:last-child { border-right: 0; }
  .editorial-gallery .gallery-grid { columns: 2; }
}

@media (max-width: 620px) {
  body.editorial-site .site-header.editorial-header,
  body.editorial-site .site-header.editorial-header.is-compact {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding: 0 18px;
  }

  body.editorial-site .site-header.editorial-header.is-compact {
    height: 62px;
  }

  body.editorial-site .site-header .header-contact {
    width: 40px;
    min-height: 40px;
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 0;
  }

  body.editorial-site .site-header .header-contact svg {
    width: 15px;
    height: 15px;
  }

  body.editorial-site .site-header .header-utilities {
    gap: 12px;
  }

  body.editorial-site .site-header .soundscape-toggle {
    gap: 6px;
  }

  body.editorial-site .site-header .soundscape-toggle .sound-bars {
    width: 15px;
  }

  .editorial-case .case-hero { padding-top: 112px; padding-bottom: 100px; }
  .editorial-case .case-kicker { grid-template-columns: 1fr; width: 100%; margin-bottom: 54px; }
  .editorial-case .case-kicker span { border: 1px solid var(--line); border-bottom: 0; }
  .editorial-case .case-kicker span:last-child { border-bottom: 1px solid var(--line); }
  .editorial-case .case-title { font-size: 4.25rem; line-height: 0.86; }
  .editorial-case .case-thesis { margin-top: 42px; font-size: 2rem; }
  .editorial-case .case-hero-grid { margin-top: 68px; }
  .editorial-case .case-summary > p { font-size: 1rem; }
  .editorial-case .case-actions { align-items: stretch; }
  .editorial-case .case-actions a { flex: 1; }
  .editorial-case .case-device { padding: 10px; }
  .editorial-case .case-section { padding-top: 100px; padding-bottom: 100px; }
  .editorial-case :is(.section-lock, .section-intro) h2,
  .editorial-case .next-steps > h2 { font-size: 3rem; overflow-wrap: normal; }
  .editorial-case .section-intro { margin-bottom: 58px; }
  .editorial-case .case-copy > p { font-size: 1.08rem; }
  .editorial-case .evidence-grid,
  .editorial-case .product-grid { margin-top: 50px; }
  .editorial-case .score-row { min-height: 82px; }
  .editorial-case .score-row span { font-size: 1.45rem; }
  .editorial-case .screen-grid { grid-template-columns: 1fr; }
  .editorial-case .screen-grid figure.wide { grid-column: auto; }
  .editorial-case .role-list li { grid-template-columns: 1fr; gap: 9px; }
  .editorial-case .roadmap { grid-template-columns: 1fr; margin-top: 60px; }
  .editorial-case .roadmap article { min-height: 0; padding: 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-case .roadmap article p { margin-top: 32px; font-size: 1.25rem; }
  .editorial-case .site-footer,
  .editorial-gallery .site-footer { margin-top: 78px; padding-top: 80px; }
  .editorial-case .footer-topline h2,
  .editorial-gallery .footer-topline h2 { font-size: 3.35rem; }
  .editorial-case .footer-middle,
  .editorial-gallery .footer-middle { padding-top: 18px; padding-bottom: 60px; }
  .editorial-case .footer-nav,
  .editorial-gallery .footer-nav { gap: 22px; }
  .editorial-case .footer-socials,
  .editorial-gallery .footer-socials { display: grid; grid-template-columns: 1fr; }
  .editorial-case .site-footer :is(.primary-link, .secondary-link),
  .editorial-gallery .site-footer :is(.primary-link, .secondary-link) {
    flex-basis: 100%;
    width: 100%;
    min-width: 100%;
  }
  .editorial-case .footer-availability,
  .editorial-gallery .footer-availability { font-size: 1.25rem; }
  .editorial-case .footer-bottom,
  .editorial-gallery .footer-bottom { display: flex; flex-wrap: wrap; gap: 18px 24px; }
  .editorial-case .footer-bottom > :nth-child(3),
  .editorial-gallery .footer-bottom > :nth-child(3) { width: calc(100% - 86px); }
  .editorial-gallery .gallery-hero { gap: 60px; padding-top: 120px; padding-bottom: 80px; }
  .editorial-gallery .gallery-title { font-size: 4.2rem; line-height: 0.88; }
  .editorial-gallery .gallery-subtitle { font-size: 1.05rem; }
  .editorial-gallery .gallery-stats { grid-template-columns: 1fr; }
  .editorial-gallery .gallery-stats div { grid-template-columns: 0.65fr 1fr; border-right: 0; }
  .editorial-gallery .gallery-section { padding-top: 30px; padding-bottom: 100px; }
  .editorial-gallery .gallery-grid { columns: 1; column-gap: 0; }
  .editorial-gallery .gallery-item,
  .editorial-gallery .gallery-item.is-wide { width: 100%; margin-bottom: 50px; }
}
