/* ==========================================================================
   GITIOX CONSULTING — BERLIN
   Site stylesheet. Concept: a technical drawing sheet set for a small
   engineering consultancy. Swiss modernism: 12-column modular grid,
   hairline rules, one navy accent, printing marks, mono metadata.
   No third-party resources. No rounded corners. No shadows as decoration.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #fafafa;
  --paper-2: #f1f0ec;
  --paper-3: #e4e3dd;
  --ink: #0c0c0d;
  --ink-2: #3e4146;
  --muted: #5c5f66;
  --navy: #16294c;
  --navy-hover: #21395f;
  --navy-soft: #93a8cd;
  --on-ink: #f4f3ee;

  --rule: rgba(12, 12, 13, 0.15);
  --rule-2: rgba(12, 12, 13, 0.42);
  --rule-ink: rgba(244, 243, 238, 0.22);

  --font-sans: "Helvetica Neue", "Neue Haas Grotesk Text Pro", "Nimbus Sans",
    "Liberation Sans", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "SFMono-Regular", "Cascadia Mono", "JetBrains Mono",
    "IBM Plex Mono", "Nimbus Mono PS", "Liberation Mono", ui-monospace, monospace;

  --fs-nano: 0.625rem;
  --fs-micro: 0.6875rem;
  --fs-small: 0.8125rem;
  --fs-lead: clamp(1.08rem, 0.98rem + 0.5vw, 1.35rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  --fs-h2: clamp(1.8rem, 1.2rem + 2.6vw, 3.25rem);
  --fs-display: clamp(2.65rem, 1rem + 7.6vw, 8.25rem);
  --fs-sub: clamp(2.2rem, 0.8rem + 5vw, 5.75rem);

  --maxw: 1440px;
  --pad: clamp(20px, 4.2vw, 64px);
  --gutter: clamp(14px, 1.6vw, 24px);
  --sect: clamp(64px, 8vw, 120px);
  --header-h: clamp(58px, 5.2vw, 74px);

  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   02. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--rule-2);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

summary {
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

::selection {
  background: var(--navy);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Paper grain — fixed, very quiet, print-like. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* --------------------------------------------------------------------------
   03. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.mono--accent {
  color: var(--navy);
}

.mono--ink {
  color: var(--ink);
}

.mono--light {
  color: var(--on-ink);
}

.mono--soft {
  color: var(--navy-soft);
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.03em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -100px;
  left: var(--pad);
  z-index: 3000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus {
  top: 8px;
  color: var(--paper);
}

.lede {
  font-size: var(--fs-lead);
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  max-width: 48ch;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--navy);
  flex: none;
}

/* 12-column modular grid — mobile stacks by default. */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(20px, 2.6vw, 32px);
}

.grid > * {
  min-width: 0;
}

@media (max-width: 1023px) {
  .grid > * {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .g-1 { grid-column-end: span 1; }
  .g-2 { grid-column-end: span 2; }
  .g-3 { grid-column-end: span 3; }
  .g-4 { grid-column-end: span 4; }
  .g-5 { grid-column-end: span 5; }
  .g-6 { grid-column-end: span 6; }
  .g-7 { grid-column-end: span 7; }
  .g-8 { grid-column-end: span 8; }
  .g-9 { grid-column-end: span 9; }
  .g-10 { grid-column-end: span 10; }
  .g-11 { grid-column-end: span 11; }
  .g-12 { grid-column-end: span 12; }
  .start-2 { grid-column-start: 2; }
  .start-3 { grid-column-start: 3; }
  .start-4 { grid-column-start: 4; }
  .start-5 { grid-column-start: 5; }
  .start-6 { grid-column-start: 6; }
  .start-7 { grid-column-start: 7; }
  .start-8 { grid-column-start: 8; }
  .start-9 { grid-column-start: 9; }
  .start-10 { grid-column-start: 10; }
  .start-11 { grid-column-start: 11; }
  .start-12 { grid-column-start: 12; }
}

/* --------------------------------------------------------------------------
   04. Top bar & header
   -------------------------------------------------------------------------- */
.topbar {
  border-bottom: 1px solid var(--rule);
}

.topbar__row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 30px;
  padding-block: 6px;
}

.topbar .mono {
  font-size: var(--fs-nano);
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.topbar__doc {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}

.topbar__mid {
  display: none;
  margin-left: auto;
}

.topbar__time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 760px) {
  .topbar__mid {
    display: inline;
  }
}

@media (max-width: 520px) {
  .topbar .mono {
    letter-spacing: 0.05em;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 250, 250, 0.94);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 19px;
  height: 19px;
  color: var(--ink);
  flex: none;
}

.brand__name {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
}

.brand__sub {
  display: none;
  padding-left: 12px;
  border-left: 1px solid var(--rule-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

@media (min-width: 520px) {
  .brand__sub {
    display: block;
  }
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding-block: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--navy);
}

.nav__link[aria-current="page"]::after {
  background: var(--navy);
  transform: scaleX(1);
}

.nav__num {
  font-size: 8.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.nav__link[aria-current="page"] .nav__num {
  color: var(--navy);
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }
}

/* Mobile menu (native disclosure, no JS required) */
.menu {
  position: static;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu[open] summary {
  color: var(--navy);
}

.menu[open] summary > span {
  font-size: 0;
}

.menu[open] summary > span::before {
  content: "Close";
  font-size: 10px;
  letter-spacing: 0.14em;
}

.menu[open] .menu__icon {
  opacity: 0;
}

.menu__icon {
  width: 16px;
  height: 10px;
  transition: opacity 0.2s var(--ease);
}

.menu__icon path {
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.menu__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-block: 1px solid var(--rule);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  box-shadow: 0 30px 50px -40px rgba(12, 12, 13, 0.55);
}

.menu[open] .menu__inner {
  animation: menuIn 0.35s var(--ease-out) both;
}

.menu__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(12px, 2vw, 20px) var(--pad) clamp(28px, 5vw, 44px);
}

.menu__list {
  border-top: 1px solid var(--rule);
}

.menu__list li {
  border-bottom: 1px solid var(--rule);
}

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(11px, 2.4vw, 16px) 0;
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s var(--ease), padding-left 0.3s var(--ease);
}

.menu__link span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.menu__link:hover,
.menu__link[aria-current="page"] {
  color: var(--navy);
  padding-left: 6px;
}

.menu__meta {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
}

.menu__meta a {
  text-decoration: none;
  color: var(--ink);
}

.menu__meta a:hover {
  color: var(--navy);
}

.menu__meta .mono {
  margin-bottom: 4px;
}

@media (min-width: 900px) {
  .menu {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   05. Buttons & link arrows
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn svg {
  width: 12px;
  height: 12px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.btn--ghost {
  border-color: var(--rule-2);
}

.btn--ghost:hover {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-arrow svg {
  width: 11px;
  height: 11px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--navy);
  border-color: var(--navy);
  text-decoration: none;
}

.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

.link-arrow--light {
  color: var(--on-ink);
  border-color: var(--rule-ink);
}

.link-arrow--light:hover {
  color: var(--navy-soft);
  border-color: var(--navy-soft);
}

/* --------------------------------------------------------------------------
   06. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(18px, 3.4vw, 40px) 0;
}

.hero__wrap {
  position: relative;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  padding-bottom: 13px;
  margin-bottom: clamp(22px, 3.4vw, 46px);
  border-bottom: 1px solid var(--rule);
  animation: fadeUp 0.9s var(--ease-out) 0.05s both;
}

.hero__eyebrow .mono {
  font-size: var(--fs-nano);
}

.hero__eyebrow-coords {
  display: none;
  margin-left: auto;
}

@media (min-width: 760px) {
  .hero__eyebrow-coords {
    display: inline;
  }
}

.hero__grid {
  row-gap: clamp(30px, 4.6vw, 64px);
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 0.9;
  letter-spacing: -0.048em;
  font-weight: 500;
  text-wrap: nowrap;
}

.hero__title em {
  font-style: normal;
  color: var(--navy);
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.11em;
  margin-bottom: -0.11em;
}

.line__in {
  display: block;
  animation: rise 1.05s var(--ease-out) both;
}

.hero__title .line:nth-child(1) .line__in { animation-delay: 0.14s; }
.hero__title .line:nth-child(2) .line__in { animation-delay: 0.24s; }
.hero__title .line:nth-child(3) .line__in { animation-delay: 0.34s; }

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 34px);
  align-self: start;
  padding-top: clamp(2px, 0.8vw, 12px);
  animation: fadeUp 1s var(--ease-out) 0.5s both;
}

.schematic {
  margin: 0;
}

.schematic__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.schematic text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--ink);
}

.schematic .s-node {
  fill: var(--paper);
  stroke: var(--rule-2);
  stroke-width: 1;
}

.schematic .s-link {
  fill: none;
  stroke: var(--rule-2);
  stroke-width: 1;
}

.schematic .s-dot {
  fill: var(--ink);
}

.schematic .s-focal {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.schematic .s-focal-label {
  fill: var(--navy);
}

.schematic .s-node-label {
  fill: var(--ink-2);
}

.schematic .s-frame-label {
  fill: var(--muted);
  font-size: 7px;
}

.schematic__cap {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: none;
  line-height: 1.5;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-2);
}

.mini-stats__item {
  padding: 13px 12px 0 0;
}

.mini-stats__item + .mini-stats__item {
  border-left: 1px solid var(--rule);
  padding-left: 14px;
}

.mini-stats dt {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--muted);
  text-transform: uppercase;
}

.mini-stats dd {
  margin-top: 7px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mini-stats__unit {
  margin-left: 2px;
  font-size: 9px;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.hero__lede {
  animation: fadeUp 0.9s var(--ease-out) 0.52s both;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  animation: fadeUp 0.9s var(--ease-out) 0.62s both;
}

/* 12 hairlines that show the grid, only on wide screens */
.grid-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pad);
  right: var(--pad);
  display: none;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  pointer-events: none;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  animation: fadeIn 1.4s var(--ease) 0.25s both;
}

.grid-lines span {
  border-left: 1px solid var(--rule);
}

.grid-lines span:last-child {
  border-right: 1px solid var(--rule);
}

@media (min-width: 1024px) {
  .grid-lines {
    display: grid;
  }
}

/* Crop marks — printer's registration, desktop only */
.crop {
  position: absolute;
  width: 13px;
  height: 13px;
  border-color: var(--rule-2);
  opacity: 0;
  display: none;
  animation: fadeIn 1.2s var(--ease) 0.9s both;
}

@media (min-width: 1024px) {
  .crop {
    display: block;
  }
}

.crop--tl {
  top: 0;
  left: var(--pad);
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
}

.crop--tr {
  top: 0;
  right: var(--pad);
  border-top: 1px solid var(--rule-2);
  border-right: 1px solid var(--rule-2);
}

.crop--bl,
.crop--br {
  display: none;
}

/* --------------------------------------------------------------------------
   07. Stat bar & marquee
   -------------------------------------------------------------------------- */
.statbar {
  margin-top: clamp(48px, 6.5vw, 104px);
  border-block: 1px solid var(--rule);
}

.statbar__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.statbar__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(16px, 2.2vw, 26px) 0;
}

.statbar__item:nth-child(n + 2) {
  border-top: 1px solid var(--rule);
}

.statbar__item:nth-child(odd) {
  padding-right: 18px;
}

.statbar__item:nth-child(even) {
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}

.statbar__label {
  color: var(--muted);
  font-size: var(--fs-nano);
  letter-spacing: 0.09em;
}

.statbar__value {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.statbar__value .mono {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-transform: uppercase;
}

.statbar__note {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 26ch;
}

@media (min-width: 760px) {
  .statbar__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .statbar__item {
    border-top: 0 !important;
    padding-block: clamp(20px, 2.6vw, 32px);
    padding-right: 0;
    padding-left: clamp(18px, 2.2vw, 30px);
  }

  .statbar__item:nth-child(4n + 1) {
    border-left: 0;
    padding-left: 0;
  }

  .statbar__item:nth-child(n + 2) {
    border-left: 1px solid var(--rule);
  }

  .statbar__item:nth-child(odd) {
    border-left: 0;
    padding-right: 0;
  }

  .statbar__item:nth-child(n + 1) {
    padding-right: clamp(14px, 1.6vw, 22px);
  }

  .statbar__item:nth-child(4n) {
    padding-right: 0;
  }
}

.marquee {
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding-block: 13px;
  background: var(--paper);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  padding-right: clamp(24px, 3vw, 42px);
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--navy);
  transform: rotate(45deg);
  flex: none;
}

/* --------------------------------------------------------------------------
   08. Sections & section heads
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--sect);
  border-top: 1px solid var(--rule);
}

.section--paper {
  background: var(--paper-2);
}

.section-head {
  margin-bottom: clamp(32px, 4.6vw, 64px);
  row-gap: 14px;
  align-items: start;
}

.section-num {
  color: var(--navy);
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  padding-top: 4px;
}

.section-num::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--navy);
  margin-bottom: 11px;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 500;
}

.section-note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--rule-2);
  padding-top: 13px;
  max-width: 40ch;
}

@media (max-width: 1023px) {
  .section-num::before {
    margin-bottom: 7px;
  }

  .section-note {
    border-top: 1px solid var(--rule);
  }
}

/* --------------------------------------------------------------------------
   09. Accordion
   -------------------------------------------------------------------------- */
.accordion {
  border-bottom: 1px solid var(--rule);
}

.acc {
  border-top: 1px solid var(--rule);
}

.acc__summary {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  padding: clamp(16px, 2.3vw, 28px) 0;
}

.acc__summary::-webkit-details-marker {
  display: none;
}

.acc__num {
  color: var(--navy);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.acc__title {
  font-size: clamp(1.08rem, 0.9rem + 1.3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.028em;
  transition: color 0.2s var(--ease), transform 0.35s var(--ease);
}

.acc__hint {
  display: none;
  font-size: 9.5px;
  letter-spacing: 0.09em;
  color: var(--muted);
  white-space: nowrap;
  text-align: right;
}

.acc__icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.acc__icon svg {
  width: 11px;
  height: 11px;
}

.acc__icon path {
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.acc__v {
  transition: opacity 0.2s var(--ease);
}

.acc:hover .acc__title {
  color: var(--navy);
}

.acc[open] .acc__icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.acc[open] .acc__v {
  opacity: 0;
}

@media (min-width: 760px) {
  .acc__summary {
    grid-template-columns: 2.8rem minmax(0, 1fr) auto 2.5rem;
  }

  .acc__hint {
    display: block;
  }
}

.acc__inner {
  padding-bottom: clamp(26px, 3.4vw, 46px);
}

.acc[open] .acc__inner {
  animation: bodyIn 0.45s var(--ease-out) both;
}

.acc__lead {
  padding-top: 2px;
}

.acc__fit {
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  max-width: 26ch;
}

.acc__copy {
  margin-top: 12px;
  font-size: 0.905rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42ch;
}

.acc__label {
  margin-bottom: 10px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.deliverables li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.845rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.deliverables li::before {
  content: "—";
  color: var(--navy);
  flex: none;
}

.acc__facts {
  margin-bottom: 16px;
}

.acc__facts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
}

.acc__facts div:last-child {
  border-bottom: 1px solid var(--rule);
}

.acc__facts dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.acc__facts dd {
  font-size: 0.85rem;
  text-align: right;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   10. Dark note band
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(56px, 8vw, 118px);
  border-top: 1px solid var(--ink);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      to right,
      rgba(244, 243, 238, 0.075) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(244, 243, 238, 0.075) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 76px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 55%, transparent 92%);
  mask-image: linear-gradient(100deg, #000 0%, #000 55%, transparent 92%);
}

.band .container {
  position: relative;
}

.band__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-ink);
  margin-bottom: clamp(34px, 5vw, 64px);
  color: var(--navy-soft);
}

.band__quote {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 28px;
}

.band__quote > p {
  grid-column: 1 / -1;
  font-size: clamp(1.7rem, 1rem + 3.7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 500;
  text-wrap: balance;
}

.band__quote em {
  font-style: normal;
  color: var(--navy-soft);
}

.band__quote footer {
  grid-column: 1 / -1;
  color: var(--navy-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.55;
}

@media (min-width: 1024px) {
  .band__quote > p {
    grid-column: 1 / 10;
  }

  .band__quote footer {
    grid-column: 10 / 13;
    align-self: end;
    text-align: right;
    border-top: 1px solid var(--rule-ink);
    padding-top: 10px;
  }
}

.band__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(40px, 6vw, 76px);
  padding-top: 18px;
  border-top: 1px solid var(--rule-ink);
}

.band__foot .mono {
  font-size: 9px;
  color: rgba(244, 243, 238, 0.58);
}

/* --------------------------------------------------------------------------
   11. Selected work rows
   -------------------------------------------------------------------------- */
.cases {
  border-top: 1px solid var(--ink);
}

.case-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  column-gap: var(--gutter);
  row-gap: 10px;
  padding: clamp(19px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s var(--ease);
}

.case-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}

.case-row:hover {
  background: var(--paper-2);
  color: inherit;
  text-decoration: none;
}

.case-row:hover::before {
  transform: scaleY(1);
}

.case-row__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-row__client {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.case-row__meta .mono {
  font-size: 9px;
  letter-spacing: 0.08em;
}

.case-row__title h3 {
  font-size: clamp(1.1rem, 0.95rem + 0.9vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.case-row__title p {
  margin-top: 6px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 34ch;
}

.case-row__figure {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.case-row__unit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-left: 3px;
}

.case-row__metric .mono {
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.case-row__arrow {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule-2);
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.case-row__arrow svg {
  width: 11px;
  height: 11px;
  transition: transform 0.3s var(--ease);
}

.case-row:hover .case-row__arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.case-row:hover .case-row__arrow svg {
  transform: translate(2px, -2px);
}

@media (min-width: 900px) {
  .case-row__meta { grid-column: 1 / 4; }
  .case-row__title { grid-column: 4 / 9; }
  .case-row__metric { grid-column: 9 / 12; }
  .case-row__arrow { grid-column: 12 / 13; }
  .case-row {
    align-items: center;
  }
}

@media (max-width: 899px) {
  .case-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .case-row__meta { grid-column: 1; grid-row: 1; }
  .case-row__arrow { grid-column: 2; grid-row: 1; }
  .case-row__title { grid-column: 1 / -1; grid-row: 2; }
  .case-row__metric { grid-column: 1 / -1; grid-row: 3; }
}

/* --------------------------------------------------------------------------
   12. Testimonial
   -------------------------------------------------------------------------- */
.testimonial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 18px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule);
}

.testimonial blockquote {
  grid-column: 1 / -1;
  font-size: clamp(1.3rem, 0.95rem + 1.4vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.032em;
  font-weight: 500;
  max-width: 34ch;
  text-wrap: pretty;
}

.testimonial figcaption {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .testimonial blockquote { grid-column: 1 / 9; }
  .testimonial figcaption { grid-column: 10 / 13; align-self: end; }
}

/* --------------------------------------------------------------------------
   13. Studio roster
   -------------------------------------------------------------------------- */
.studio-intro .section-title {
  font-size: var(--fs-h3);
  line-height: 1.15;
  margin-bottom: 18px;
}

.studio-intro > p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 40ch;
}

.studio-intro .link-arrow {
  margin-top: 24px;
}

.roster {
  border-top: 1px solid var(--ink);
}

.roster__row {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}

.roster__num {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.roster__name {
  font-size: 1rem;
  letter-spacing: -0.012em;
}

.roster__role {
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-align: right;
  color: var(--muted);
  line-height: 1.5;
}

.roster__row:hover .roster__name {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   14. CTA
   -------------------------------------------------------------------------- */
.cta {
  padding-block: var(--sect);
  border-top: 1px solid var(--rule);
}

.mono--sentence {
  text-transform: none;
  letter-spacing: 0.045em;
  font-size: 10.5px;
  line-height: 1.7;
}

.cta__label {
  color: var(--navy);
  margin-bottom: clamp(18px, 3vw, 34px);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.cta__title {
  font-size: clamp(2rem, 1.15rem + 3.6vw, 4.4rem);
  line-height: 0.99;
  letter-spacing: -0.047em;
  font-weight: 500;
  text-wrap: balance;
}

.cta__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border-top: 1px solid var(--rule-2);
  padding-top: 18px;
}

.cta__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34ch;
}

.cta__mail {
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 0.8rem + 0.6vw, 1.1rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 5px;
  word-break: break-word;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cta__mail:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.cta__tel {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
}

.cta__tel:hover {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   15. Footer — title block & sign-off
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(14px, 2vw, 26px);
  overflow: hidden;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 32px;
  padding-bottom: clamp(24px, 3vw, 38px);
  border-bottom: 1px solid var(--rule);
}

.footer__status .mono {
  color: var(--navy);
  font-size: 9.5px;
  letter-spacing: 0.11em;
}

.footer__slots {
  margin-top: 7px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 32ch;
}

.footer__mail {
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer__mail:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* Technical drawing title block */
.tb {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.tb__cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}

.tb dt {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.tb dd {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 760px) {
  .tb {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer__cols {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding-block: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 760px) {
  .footer__cols {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

.footer__head {
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer__list {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
}

.footer__list a {
  text-decoration: none;
}

.footer__list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  color: var(--navy);
}

.footer__address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.footer__address a {
  text-decoration: none;
}

.footer__address a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.footer__note {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}

.footer__note + .footer__note {
  margin-top: 10px;
}

.footer__note a {
  text-decoration: none;
  color: var(--ink-2);
}

.footer__note a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 26px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
}

.footer__base .mono {
  font-size: 8.5px;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.footer__top-link {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer__top-link:hover {
  color: var(--navy);
}

.footer__signature {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: clamp(22px, 3vw, 42px);
}

.footer__wordmark {
  font-size: clamp(3.2rem, 16vw, 15rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 12, 13, 0.46);
  white-space: nowrap;
  user-select: none;
  line-height: 0.86;
  margin-bottom: 0;
}

@supports not ((-webkit-text-stroke: 1px black) or (text-stroke: 1px black)) {
  .footer__wordmark {
    color: var(--paper-3);
  }
}

.footer__sign-meta {
  display: none;
  text-align: right;
  line-height: 1.8;
  padding-bottom: 0.55rem;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .footer__sign-meta {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   16. Page head (subpages)
   -------------------------------------------------------------------------- */
.page-head {
  padding-block: clamp(26px, 4vw, 50px) clamp(42px, 6vw, 90px);
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-2);
  margin-bottom: clamp(28px, 4.5vw, 62px);
  color: var(--muted);
}

.page-head__meta .mono {
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.page-head__meta .mono:first-child {
  color: var(--navy);
}

.page-head__title {
  font-size: var(--fs-sub);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}

.page-head__title em {
  font-style: normal;
  color: var(--navy);
}

.page-head .line__in {
  animation-delay: 0.08s;
}

.page-head__title .line:nth-child(2) .line__in {
  animation-delay: 0.18s;
}

.page-head__title .line:nth-child(3) .line__in {
  animation-delay: 0.28s;
}

.page-head__lede {
  animation: fadeUp 0.9s var(--ease-out) 0.35s both;
}

.page-head__aside {
  border-top: 1px solid var(--rule-2);
  padding-top: 14px;
  animation: fadeUp 0.9s var(--ease-out) 0.45s both;
}

.page-head__aside dl {
  display: grid;
}

.page-head__aside dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}

.page-head__aside dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-head__aside dd {
  font-size: 0.83rem;
  text-align: right;
  color: var(--ink);
}

.page-head__aside .mono {
  display: block;
  margin-top: 12px;
  font-size: 8.5px;
  line-height: 1.65;
  letter-spacing: 0.05em;
  color: var(--muted);
  max-width: 32ch;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   17. Services page
   -------------------------------------------------------------------------- */
.table-flow {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-top: 1px solid var(--ink);
}

.table-hint {
  display: none;
}

.price-table {
  width: 100%;
  min-width: 700px;
  text-align: left;
}

.price-table th {
  padding: 10px 18px 12px 0;
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: bottom;
}

.price-table td {
  padding: 17px 18px 17px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  transition: background 0.25s var(--ease);
}

.price-table tbody tr:hover td {
  background: var(--paper-2);
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
  padding-right: 0;
}

.price-table .model {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.price-table .desc {
  display: block;
  font-size: 0.845rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

.price-table .shape {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  white-space: nowrap;
}

.price-table .price {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-table .price small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 700px) {
  .table-flow--price {
    overflow: visible;
    border-top: 0;
  }

  .price-table {
    min-width: 0;
  }

  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
  }

  .price-table tr {
    border-top: 1px solid var(--rule);
    padding: 16px 0;
  }

  .price-table td {
    border: 0;
    padding: 0 0 9px;
    display: grid;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 12px;
  }

  .price-table td:last-child {
    text-align: left;
    padding-bottom: 0;
  }

  .price-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
  }

  .price-table tbody tr:hover td {
    background: transparent;
  }

  .price-table .desc {
    max-width: none;
  }
}

.footnote {
  margin-top: 18px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 78ch;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.footnote sup {
  font-size: 8px;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.step {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.step__title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.step__text {
  font-size: 0.845rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 0;
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ink);
  }

  .step {
    border-bottom: 0;
    border-left: 1px solid var(--rule);
    border-top: 0;
    padding: 24px clamp(14px, 1.6vw, 22px) 0 0;
    position: relative;
  }

  .step:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .step::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--navy);
  }

  .step:first-child::before {
    left: 0;
  }

  .step:not(:first-child)::before {
    left: -2px;
  }
}

.qa {
  border-top: 1px solid var(--ink);
}

.qa details {
  border-bottom: 1px solid var(--rule);
}

.qa summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  font-size: clamp(1rem, 0.92rem + 0.45vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  transition: color 0.2s var(--ease);
}

.qa summary:hover {
  color: var(--navy);
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa__icon {
  flex: none;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  color: var(--navy);
  transform: translateY(1px);
}

.qa details[open] .qa__icon {
  font-size: 0;
}

.qa details[open] .qa__icon::before {
  content: "−";
  font-size: 15px;
}

.qa__body {
  padding-bottom: 22px;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 66ch;
}

.qa details[open] .qa__body {
  animation: bodyIn 0.35s var(--ease-out) both;
}

@media (min-width: 900px) {
  .qa__body {
    margin-left: 33.333%;
    max-width: 52ch;
  }
}

/* --------------------------------------------------------------------------
   18. About / studio page
   -------------------------------------------------------------------------- */
.story__lede {
  font-size: clamp(1.25rem, 1rem + 1.15vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.028em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
}

.story__body {
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--ink-2);
  display: grid;
  gap: 14px;
  align-content: start;
  padding-top: 4px;
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline__item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 8px;
  padding: clamp(16px, 2.2vw, 24px) 0;
  border-bottom: 1px solid var(--rule);
}

.timeline__date {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-top: 4px;
  white-space: nowrap;
}

.timeline__title {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.timeline__text {
  font-size: 0.865rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

@media (min-width: 900px) {
  .timeline__date { grid-column: 1 / 3; }
  .timeline__title { grid-column: 3 / 6; }
  .timeline__text { grid-column: 6 / 12; padding-top: 3px; }
}

.principles {
  border-top: 1px solid var(--ink);
}

.principle {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 10px;
  padding: clamp(20px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--rule-2);
  align-items: start;
}

.principle__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--navy);
  padding-top: 6px;
}

.principle__title {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.principle__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

@media (min-width: 900px) {
  .principle__num { grid-column: 1 / 2; }
  .principle__title { grid-column: 2 / 6; }
  .principle__text { grid-column: 6 / 12; padding-top: 2px; }
}

.team {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 46px) var(--gutter);
}

@media (min-width: 620px) {
  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.person {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
}

.portrait {
  margin: 0 0 16px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.portrait svg {
  width: 100%;
  height: 100%;
  display: block;
}

.person:hover .portrait {
  border-color: var(--rule-2);
  background: var(--paper-2);
}

.person__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}

.person__meta .mono {
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.person__meta .mono:first-child {
  color: var(--navy);
}

.person__name {
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.person__role {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.person__bio {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.person__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}

.person__facts dt {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.person__facts dd {
  font-size: 0.78rem;
  color: var(--ink-2);
}

.team__note {
  align-self: start;
  border: 1px solid var(--rule-2);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  background: var(--paper-2);
}

.team__note p.team__note-num {
  font-size: clamp(4.4rem, 7.5vw, 6.4rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.team__note p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.team__note .mono {
  font-size: 8.5px;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.facts {
  border-top: 1px solid var(--ink);
}

.facts__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
}

.facts__row dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.facts__row dd {
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 64ch;
}

@media (min-width: 900px) {
  .facts__row dt { grid-column: 1 / 4; }
  .facts__row dd { grid-column: 4 / 13; }
}

.hiring {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 28px;
  margin-top: clamp(24px, 3.4vw, 40px);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--rule-2);
}

.hiring p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.hiring p strong {
  font-weight: 500;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   19. Clients page
   -------------------------------------------------------------------------- */
.index-table {
  width: 100%;
  min-width: 760px;
  text-align: left;
}

.index-table th {
  padding: 10px 16px 11px 0;
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.index-table td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.85rem;
  vertical-align: baseline;
  transition: background 0.25s var(--ease);
}

.index-table tbody tr:hover td {
  background: var(--paper-2);
}

.index-table .year {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.index-table .client a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.index-table .client a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.index-table .sector,
.index-table .duration {
  color: var(--muted);
  font-size: 0.8rem;
}

.index-table .duration {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.index-table .outcome {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: var(--navy);
  white-space: nowrap;
}

.case {
  border-top: 1px solid var(--ink);
  padding-block: clamp(30px, 4.4vw, 60px);
}

.case + .case {
  margin-top: clamp(10px, 2vw, 24px);
}

.case__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 10px;
  align-items: start;
  margin-bottom: clamp(24px, 3.4vw, 42px);
}

.case__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--navy);
  padding-top: 7px;
}

.case__client h3 {
  font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.case__client .mono {
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.case__scope {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
  padding-top: 6px;
}

.case__link {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding-top: 7px;
  text-align: right;
  transition: color 0.2s var(--ease);
}

.case__link:hover {
  color: var(--navy);
}

@media (min-width: 900px) {
  .case__num { grid-column: 1 / 2; }
  .case__client { grid-column: 2 / 6; }
  .case__scope { grid-column: 6 / 10; }
  .case__link { grid-column: 10 / 13; }
}

.case__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 30px;
  align-items: start;
}

.case__metrics {
  display: flex;
  flex-direction: column;
}

.metric {
  border-top: 1px solid var(--rule);
  padding: 11px 0 13px;
}

.metric__label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric__figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 5px;
  margin: 7px 0 6px;
  font-size: clamp(1.45rem, 1rem + 1.5vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.metric__to {
  font-family: var(--font-mono);
  font-size: 0.55em;
  letter-spacing: 0;
  color: var(--navy);
  transform: translateY(-1px);
}

.metric__unit {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-left: 2px;
}

.metric__delta {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.case__lede {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.22rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 13px;
  max-width: 38ch;
}

.case__narrative p {
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 52ch;
}

.case__narrative p + p {
  margin-top: 11px;
}

.case__narrative .acc__label {
  margin-top: 18px;
}

.case__chart {
  margin: 0;
  border-top: 1px solid var(--rule-2);
  padding-top: 12px;
}

.case__chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

.case__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 12px;
  margin-top: clamp(24px, 3.2vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.case__quote {
  grid-column: 1 / -1;
  font-size: clamp(1.05rem, 0.95rem + 0.55vw, 1.3rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 46ch;
}

.case__author {
  grid-column: 1 / -1;
  align-self: end;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .case__metrics { grid-column: 1 / 4; }
  .case__narrative { grid-column: 4 / 9; }
  .case__chart { grid-column: 9 / 13; }
  .case__quote { grid-column: 1 / 8; }
  .case__author { grid-column: 9 / 13; text-align: right; }
}

.client-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--ink);
}

@media (min-width: 700px) {
  .client-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 5vw, 72px);
  }
}

.client-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}

.client-list__name {
  font-size: 0.95rem;
  letter-spacing: -0.012em;
}

.client-list__sector {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
}

.client-list li:hover .client-list__name {
  color: var(--navy);
}

.measure {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 16px;
}

.measure__label {
  grid-column: 1 / -1;
  color: var(--navy);
}

.measure__body {
  grid-column: 1 / -1;
  max-width: 62ch;
}

.measure__body p {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-2);
}

.measure__body p + p {
  margin-top: 12px;
}

@media (min-width: 900px) {
  .measure__label { grid-column: 1 / 4; }
  .measure__body { grid-column: 4 / 11; }
}

/* --------------------------------------------------------------------------
   20. Contact page
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 36px;
  align-items: start;
}

.contact-form {
  grid-column: 1 / -1;
}

.contact-side {
  grid-column: 1 / -1;
  border-top: 1px solid var(--ink);
}

@media (min-width: 1024px) {
  .contact-form { grid-column: 1 / 8; }
  .contact-side { grid-column: 9 / 13; }
}

.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px var(--gutter);
}

@media (min-width: 620px) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule-2);
  border-radius: 0;
  background: transparent;
  padding: 7px 0 10px;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field--select {
  position: relative;
}

.field--select::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 17px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 22px;
  cursor: pointer;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.check input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--navy);
}

.check label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  margin: 0;
  cursor: pointer;
}

.check label a {
  color: var(--ink);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 4px;
}

.form__hint {
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--muted);
  line-height: 1.6;
}

.form__hint a {
  color: var(--ink);
}

.form__success:focus,
.form__success:focus-visible {
  outline: none;
}

.form__success {
  border-top: 2px solid var(--navy);
  padding-top: 22px;
  max-width: 54ch;
}

.form__success .mono {
  color: var(--navy);
  font-size: 9px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.form__success h3 {
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.form__success p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.form__success p + p {
  margin-top: 10px;
}

.form__success .mono:last-child {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.contact-side__block {
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-side__block:last-child {
  border-bottom: 0;
}

.contact-side__block .mono {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.contact-side__block p {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.contact-side__mail {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-bottom: 5px;
  word-break: break-word;
}

.contact-side__mail:hover {
  color: var(--navy);
}

.contact-side__tel {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
}

.contact-side__tel:hover {
  color: var(--navy);
}

.contact-side__block--accent {
  background: var(--paper-2);
  padding-inline: 14px;
  border-left: 2px solid var(--navy);
}

.contact-side__block--accent .mono {
  color: var(--navy);
}

.contact-side__block--accent p {
  font-weight: 500;
  color: var(--ink);
}

.find {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 30px;
  align-items: start;
}

.find__map {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}

.find__map svg {
  width: 100%;
  height: auto;
}

.find__map figcaption {
  padding: 9px 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

.find__info {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .find__map { grid-column: 1 / 7; }
  .find__info { grid-column: 8 / 13; }
}

.address {
  font-style: normal;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem);
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.address strong {
  font-weight: 500;
}

.address a {
  text-decoration: none;
}

.address a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.arrival {
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}

.arrival > div {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.arrival dt {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  min-width: 4.6rem;
  flex: none;
}

.arrival dd {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.find__note {
  margin-top: 20px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

.security {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 14px;
}

.security__label {
  grid-column: 1 / -1;
  color: var(--navy);
}

.security__body {
  grid-column: 1 / -1;
  max-width: 66ch;
}

.security__body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.security__body p + p {
  margin-top: 12px;
}

@media (min-width: 900px) {
  .security__label { grid-column: 1 / 4; }
  .security__body { grid-column: 4 / 12; }
}

.fingerprint {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.09em;
  color: var(--ink);
  background: var(--paper-2);
  border-left: 2px solid var(--navy);
  padding: 12px 15px;
  margin-top: 14px;
  word-break: break-word;
}

.legal {
  border-top: 1px solid var(--ink);
  padding-top: clamp(20px, 2.6vw, 30px);
}

.legal h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.legal__grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

@media (min-width: 760px) {
  .legal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.legal__grid h4 {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 400;
}

.legal__grid p,
.legal__grid address {
  font-style: normal;
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.legal__grid p + p {
  margin-top: 8px;
}

.legal__small {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 0.76rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 90ch;
}

/* --------------------------------------------------------------------------
   21. 404
   -------------------------------------------------------------------------- */
.error {
  padding-block: clamp(24px, 4vw, 48px) var(--sect);
}

.error__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-2);
  margin-bottom: clamp(26px, 4vw, 50px);
}

.error__meta .mono {
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.error__meta .mono:first-child {
  color: var(--navy);
}

.error__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 26px;
  align-items: end;
}

.error__code {
  grid-column: 1 / -1;
  font-size: clamp(6.8rem, 25vw, 21rem);
  line-height: 0.76;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin-left: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  animation: fadeUp 1s var(--ease-out) 0.08s both;
}

.error__zero {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

@supports not ((-webkit-text-stroke: 1px black) or (text-stroke: 1px black)) {
  .error__zero {
    color: var(--paper-3);
  }
}

.error__side {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule-2);
  padding-top: 16px;
  animation: fadeUp 0.9s var(--ease-out) 0.3s both;
}

@media (min-width: 900px) {
  .error__code { grid-column: 1 / 9; }
  .error__side { grid-column: 9 / 13; }
}

.error__side .mono {
  color: var(--navy);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
}

.error__side .lede {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  margin-bottom: 18px;
  max-width: 26ch;
}

.error__fig {
  margin: clamp(30px, 4.5vw, 52px) 0 0;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  animation: fadeIn 1.1s var(--ease) 0.4s both;
}

.error__fig svg {
  width: 100%;
  height: auto;
}

.error__fig figcaption {
  padding: 9px 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.error__links {
  margin-top: clamp(34px, 5vw, 60px);
  border-top: 1px solid var(--ink);
}

.error__links a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.3s var(--ease);
}

.error__links a span:first-child {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.error__links a svg {
  width: 13px;
  height: 13px;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.2s var(--ease);
}

.error__links a:hover {
  color: var(--navy);
  padding-left: 6px;
}

.error__links a:hover svg {
  color: var(--navy);
  transform: translate(2px, -2px);
}

.error__note {
  margin-top: 24px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   21b. Inline figures — portraits, charts, map, 404 diagram
   -------------------------------------------------------------------------- */
.p-label,
.p-initials {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.p-label {
  font-size: 6.5px;
  letter-spacing: 0.14em;
  fill: var(--ink-2);
}

.p-initials {
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: var(--ink);
}

.inline-mono {
  font-family: var(--font-mono);
  font-size: 0.79rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Data charts */
.case__chart .chart-grid path {
  fill: none;
  stroke: rgba(12, 12, 13, 0.12);
  stroke-width: 1;
}

.chart-axis {
  fill: none;
  stroke: rgba(12, 12, 13, 0.35);
  stroke-width: 1;
}

.chart-area {
  fill: rgba(22, 41, 76, 0.07);
  stroke: none;
}

.chart-line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-dot {
  fill: var(--paper);
  stroke: var(--navy);
  stroke-width: 1.3;
}

.chart-dot--solid {
  fill: var(--navy);
  stroke: none;
}

.chart-bar {
  fill: rgba(12, 12, 13, 0.14);
}

.chart-bar--accent {
  fill: var(--navy);
}

.chart-label,
.chart-value {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chart-label {
  font-size: 7px;
  fill: var(--muted);
}

.chart-value {
  font-size: 7.5px;
  fill: var(--ink);
}

/* Schematic map */
.map-block {
  fill: none;
  stroke: rgba(12, 12, 13, 0.12);
  stroke-width: 0.8;
}

.map-road {
  fill: rgba(12, 12, 13, 0.05);
  stroke: rgba(12, 12, 13, 0.16);
  stroke-width: 1;
}

.map-hair {
  fill: none;
  stroke: rgba(12, 12, 13, 0.3);
  stroke-width: 0.8;
}

.map-route {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
}

.map-text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  fill: var(--muted);
}

.map-text--ink {
  fill: var(--ink-2);
}

.map-text--accent {
  fill: var(--navy);
}

.map-marker {
  fill: var(--navy);
  stroke: none;
}

.map-marker-box {
  fill: var(--paper);
  stroke: var(--navy);
  stroke-width: 1;
}

.map-marker-text {
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.04em;
  fill: var(--navy);
  text-transform: uppercase;
}

/* 404 routing diagram */
.diag-node {
  fill: var(--paper);
  stroke: rgba(12, 12, 13, 0.4);
  stroke-width: 1;
}

.diag-node--fail {
  stroke: var(--navy);
  stroke-dasharray: 3 3;
  fill: rgba(22, 41, 76, 0.045);
}

.diag-link {
  fill: none;
  stroke: rgba(12, 12, 13, 0.4);
  stroke-width: 1;
}

.diag-link--fail {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.diag-label {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.07em;
  fill: var(--ink-2);
  text-transform: uppercase;
}

.diag-label--accent {
  fill: var(--navy);
}

.diag-dot {
  fill: var(--ink);
}

.diag-dot--accent {
  fill: var(--navy);
}

.diag-hair {
  fill: none;
  stroke: var(--navy);
  stroke-width: 0.9;
}

/* --------------------------------------------------------------------------
   21c. Small-screen stacking for components built on the 12-column grid
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .timeline__item > *,
  .principle > *,
  .facts__row > * {
    grid-column: 1 / -1;
  }

  .case__head {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    margin-bottom: 24px;
  }

  .case__num { grid-column: 1; }
  .case__client { grid-column: 2; }
  .case__scope { grid-column: 2; padding-top: 0; }
  .case__link { grid-column: 2; justify-self: start; padding-top: 2px; text-align: left; }

  .case__body > *,
  .case__foot > * {
    grid-column: 1 / -1;
  }

  .case__foot {
    row-gap: 16px;
  }

  .case__chart {
    max-width: 460px;
  }

  .team__note {
    max-width: 480px;
  }
}

@media (max-width: 700px) {
  .form__hint {
    font-size: 9px;
  }

  .band__head,
  .band__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .band__quote footer {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .table-hint {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }
}

/* --------------------------------------------------------------------------
   22. Motion
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { transform: translateY(112%); }
  to { transform: translateY(0); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bodyIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .marquee__track {
    animation: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   23. Print
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  body::before,
  .topbar,
  .site-header,
  .marquee,
  .grid-lines,
  .crop,
  .footer__wordmark,
  .skip,
  .menu {
    display: none !important;
  }

  .band {
    background: #fff;
    color: #000;
  }

  .band__quote em {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
