/*
 * styles.css — Eldin Technology & Consulting
 * Concept: "Two Columns, One Reconciling Line" — a black technology column,
 * a white books column, and one solid Eldin-red band where they meet.
 * Flat fields only: no glow, gradient, blur or coloured shadow anywhere.
 * The logo is the only glossy object on the page.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #111111;
  --color-secondary: #B51F2A;
  --color-accent: #E0141E;
  --color-bg: #FFFFFF;
  --color-text: #2C2C2C;
  --color-text-secondary: #5C5C5C;
  --font-primary: 'Syne', sans-serif;
  --font-secondary: 'DM Sans', sans-serif;
  --font-size-base: 17px;
  --spacing-base: 8px;
  --motion-duration: 320ms;
  --motion-duration-slow: 560ms;
  --motion-ease: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Named fields */
  --ink: #111111;        /* Ledger Black — dominant field */
  --paper: #FFFFFF;      /* Paper White — its equal and opposite */
  --red: #B51F2A;        /* Eldin Red — the band, one field per page */
  --hot: #E0141E;        /* accent — numerals, ticks, strike, total rule */
  --graphite: #2C2C2C;   /* third field */
  --mist: #F5F5F5;       /* second light field (workpaper grey) */
  --rule: #DADADA;
  --text: #2C2C2C;
  --text-2: #5C5C5C;
  --on-dark: #F5F5F5;
  --on-dark-2: #A8A8A8;

  --display-font: 'Syne', 'Arial Narrow', sans-serif;
  --body-font: 'DM Sans', system-ui, sans-serif;

  --display: clamp(2.2rem, 4.1vw, 4.25rem);
  --h2: clamp(1.75rem, 3vw, 2.75rem);
  --h3: 1.375rem;
  --numeral: clamp(5rem, 10vw, 8.5rem);

  --shell: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --col-gap: clamp(16px, 2.4vw, 32px);
  --nav-h: 104px;
  --focus: #B51F2A;
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base, 17px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  background-color: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 42px; /* required */
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: inherit;
  text-wrap: balance;
}
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }

p { max-width: 62ch; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 150ms ease, text-decoration-color 150ms ease, text-decoration-thickness 150ms ease;
}
a:hover { text-decoration-thickness: 2px; }

/* Focus states — WCAG AA required. Colour follows the ground. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
main:focus { outline: none; }

/* Skip navigation link — WCAG 2.4.1 (managed by fix_ada_safe.py) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--paper);
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--red);
  border-radius: 0;
}
.skip-link:focus { left: 0; }

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

/* ============================================================
   Grounds — every section records one
   ============================================================ */
.g-dark     { background: var(--ink);      color: var(--on-dark); --focus: #F5F5F5; }
.g-graphite { background: var(--graphite); color: var(--on-dark); --focus: #F5F5F5; }
.g-light    { background: var(--paper);    color: var(--text);    --focus: #B51F2A; }
.g-mist     { background: var(--mist);     color: var(--text);    --focus: #B51F2A; }
.g-color    { background: var(--red);      color: #FFFFFF;        --focus: #FFFFFF; }
.g-photo    { background: var(--ink);      color: var(--on-dark); --focus: #F5F5F5; }

/* ============================================================
   Layout primitives
   ============================================================ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.g12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.g12 > * { min-width: 0; }

[id] { scroll-margin-top: calc(var(--nav-h) - 24px); }

/* Marginal rubric — rotated label in column 1 */
.rubric {
  grid-column: 1;
  justify-self: start;
  align-self: start;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 600 13px/1 var(--body-font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  padding-top: 6px;
}
.g-mist .rubric, .g-light .rubric { color: var(--text-2); }

/* Oversized ledger numeral */
.num {
  display: block;
  font-family: var(--display-font);
  font-weight: 800;
  font-size: var(--numeral);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--hot);
  font-variant-numeric: tabular-nums lining-nums;
}

/* Tick-mark list (auditor ticks) */
.ticks { list-style: none; }
.ticks li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.ticks li:first-child { border-top: 1px solid var(--rule); }
.ticks i { color: var(--hot); font-size: 18px; transform: translateY(2px); }

/* The red double "total" rule — motion signature `the-total-is-ruled` */
.rule-total {
  display: block;
  width: min(420px, 100%);
  height: 8px;
  border-top: 3px solid var(--hot);
  border-bottom: 1px solid var(--hot);
  margin: 28px 0;
  transform-origin: left center;
}
.rule-total--wide { width: 100%; }
.rule-total--white { border-color: #FFFFFF; }
html.js .rule-total {
  transform: scaleX(0);
  transition: transform var(--motion-duration-slow) var(--motion-ease);
}
html.js .rule-total.is-in { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html.js .rule-total { transform: none; transition: none; }
}

/* ============================================================
   Buttons — restrained: flat red, square, no glow
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  background: var(--red);
  color: #FFFFFF;
  font: 600 16px/1.2 var(--body-font);
  padding: 18px 28px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease);
}
.btn i { font-size: 1em; transition: transform var(--motion-duration) var(--motion-ease); }
.btn:hover, .btn:focus-visible { background: var(--hot); color: #FFFFFF; }
.btn:hover i, .btn:focus-visible i { transform: translateX(4px); }
.btn--invert { background: #FFFFFF; color: var(--red); }
.btn--invert:hover, .btn--invert:focus-visible { background: #FFFFFF; color: var(--ink); }
.btn--large { font-size: 20px; padding: 22px 34px; }

.reassure {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 14px;
}
.g-light .reassure, .g-mist .reassure { color: var(--text-2); }
.g-dark .reassure, .g-photo .reassure, .g-graphite .reassure { color: var(--on-dark-2); }

.phone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 15px;
}
.phone-line i { color: var(--hot); font-size: 18px; }
.g-color .phone-line i { color: #FFFFFF; }

/* ============================================================
   Header / Nav — centered emblem, split menu, sticky, opaque black
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 1px solid var(--graphite);
  --focus: #F5F5F5;
}
.nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 40px;
  transition: height 280ms var(--motion-ease);
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-self: end;
}
.nav__links a {
  display: inline-block;
  padding: 12px 0;
  font: 500 15px/1.2 var(--body-font);
  color: #F5F5F5;
  text-decoration-line: underline;
  text-decoration-color: #5C5C5C;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
  white-space: nowrap;
}
.nav__links a:hover { text-decoration-color: #F5F5F5; text-decoration-thickness: 2px; }
.nav__links a[aria-current="page"] { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.nav__brand {
  justify-self: center;
  display: block;
  line-height: 0;
}
.nav__brand img {
  height: 80px;
  width: auto;
  max-width: 160px;
  transition: height 280ms var(--motion-ease);
}
.nav__actions {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 15px/1.2 var(--body-font);
  color: #F5F5F5;
  text-decoration-color: #5C5C5C;
  text-underline-offset: 10px;
  white-space: nowrap;
}
.nav__phone i { color: var(--hot); font-size: 17px; }
.nav__phone { text-decoration: none; }
.nav__phone:hover { text-decoration: underline; text-decoration-color: #F5F5F5; text-decoration-thickness: 2px; }
.btn--nav { font-size: 15px; padding: 14px 20px; }
.nav__tel-mobile, .nav__toggle { display: none; }

.site-header.is-scrolled .nav { height: 72px; }
.site-header.is-scrolled .nav__brand img { height: 56px; }

/* Drawer (mobile/tablet) */
.drawer {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 99;
  background: var(--ink);
  color: var(--on-dark);
  padding: 40px 24px 80px;
  overflow-y: auto;
  border-top: 1px solid var(--graphite);
  --focus: #F5F5F5;
}
.drawer[hidden] { display: none; }
.drawer__links { list-style: none; margin-bottom: 40px; }
.drawer__links a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--graphite);
  font: 500 20px/1.2 var(--body-font);
  color: #F5F5F5;
  text-decoration: none;
}
.drawer__links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 16px; }
.drawer .phone-line { margin-top: 28px; font-size: 17px; }
body.drawer-open { overflow: hidden; }

/* ============================================================
   Hero — custom:hero-two-column-ledger-bridge
   Photo column + books column, crossed by one red band.
   ============================================================ */
.ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(clamp(28px, 3.5vw, 56px), 1fr) auto auto auto auto minmax(140px, auto);
  min-height: max(640px, min(calc(100svh - var(--nav-h)), 820px));
  background: var(--paper);
}
.ledger--short { min-height: max(600px, min(calc(100svh - var(--nav-h)), 760px)); }
.ledger--services { min-height: max(600px, min(calc(100svh - var(--nav-h)), 720px)); }

.ledger__photo {
  grid-column: 1;
  grid-row: 1 / 5;
  position: relative;
  background: var(--ink);
  min-height: 0;
}
.ledger__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ledger__paper { grid-column: 2; grid-row: 1 / 5; background: var(--paper); }

.ledger__tag, .ledger__h, .ledger__lead {
  grid-column: 2;
  padding-inline: clamp(32px, 5.5vw, 96px);
  min-width: 0;
  color: var(--ink);
}
.ledger__tag {
  grid-row: 2;
  font: 500 15px/1.4 var(--body-font);
  color: var(--text-2);
  margin-bottom: 22px;
}
.ledger__h {
  grid-row: 3;
  display: block;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  box-sizing: content-box;
  max-width: 11ch;
}
.ledger__h--wide { max-width: 14ch; }
.ledger__lead {
  grid-row: 4;
  box-sizing: content-box;
  max-width: 40ch;
  padding-top: 24px;
  padding-bottom: clamp(36px, 4.5vw, 64px);
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text);
}
.ledger__h1 { display: contents; }

.ledger__band {
  grid-column: 1 / -1;
  grid-row: 5;
  background: var(--red);
  min-height: clamp(96px, 10vw, 148px);
}
.ledger__bandline {
  grid-column: 1 / -1;
  grid-row: 5;
  align-self: center;
  position: relative;
  z-index: 1;
  display: block;
  padding: 22px 6vw;
  color: #FFFFFF;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  min-width: 0;
  --focus: #FFFFFF;
}

.ledger__low-a, .ledger__low-b {
  grid-row: 6;
  padding: 30px clamp(32px, 5.5vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}
.ledger__low-a { grid-column: 1; background: var(--ink); color: var(--on-dark); --focus: #F5F5F5; }
.ledger__low-b { grid-column: 2; background: var(--paper); color: var(--ink); }
.ledger__low-a .reassure { margin-top: 0; margin-bottom: 10px; color: #F5F5F5; }
.ledger__low-b--row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 16px 32px; }
.ledger__low-b .text-link { font-weight: 500; font-size: 15px; color: var(--ink); }
.ledger__low-b .lede { font-size: 1.05rem; color: var(--text); }

/* Mirrored ledger: books left, technology right */
.ledger--mirror .ledger__photo,
.ledger--mirror .ledger__low-a { grid-column: 2; }
.ledger--mirror .ledger__paper,
.ledger--mirror .ledger__tag,
.ledger--mirror .ledger__h,
.ledger--mirror .ledger__lead,
.ledger--mirror .ledger__low-b { grid-column: 1; }

/* Services: the band is the table of contents */
.band-index {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 16px;
  font-size: 1rem;
}
.band-index a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #FFFFFF;
  text-decoration: none;
  padding: 4px 0 6px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--motion-duration) var(--motion-ease);
}
.band-index a:hover, .band-index a:focus-visible { border-bottom-color: #FFFFFF; }
.band-index b {
  font-family: var(--display-font);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.band-index span {
  font: 500 15px/1.3 var(--body-font);
  letter-spacing: 0;
}

/* Consultation: the band carries the terms of the call */
.band-terms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: clamp(1.5rem, 2.2vw, 2.5rem);
  line-height: 1.15;
}
.band-terms li { padding: 6px clamp(14px, 1.8vw, 28px); border-left: 1px solid #FFFFFF; }
.band-terms li:first-child { padding-left: 0; border-left: 0; }

/* ============================================================
   Home — Philosophy (dark, marginal rubric, struck ledger)
   ============================================================ */
.philo {
  position: relative;
  padding-block: clamp(96px, 12vw, 176px);
}
.philo__media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: calc(max(0px, (100% - var(--shell)) / 2) + var(--gutter) + (min(100%, var(--shell)) - 2 * var(--gutter)) * 7 / 12 + var(--col-gap) / 2);
  margin: 0;
}
.philo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.philo__text { grid-column: 2 / 7; position: relative; }
.philo__text h2 { color: var(--on-dark); max-width: 16ch; }
.alt-ledger {
  list-style: none;
  margin: 44px 0 40px;
  border-top: 1px solid var(--graphite);
}
.alt-ledger li {
  padding: 18px 0;
  border-bottom: 1px solid var(--graphite);
  font-family: var(--display-font);
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.struck {
  position: relative;
  display: inline-block;
  color: var(--on-dark-2);
  text-decoration: none;
}
.struck::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 54%;
  height: 3px;
  background: var(--hot);
  transform: rotate(-1.2deg);
}
.philo__body { color: var(--on-dark-2); font-size: 1.05rem; }

/* ============================================================
   Home — Approach (white, stepped workpaper columns)
   ============================================================ */
.approach { padding-block: clamp(88px, 10vw, 144px); }
.approach__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.approach__head h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--ink);
}
.approach__head::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.step {
  min-width: 0;
  padding: 0 clamp(20px, 2.6vw, 40px);
  border-left: 1px solid var(--rule);
}
.step:nth-child(1) { padding-left: 0; border-left: 0; padding-top: 128px; }
.step:nth-child(2) { padding-top: 64px; }
.step:nth-child(3) { padding-right: 0; }
.step h3 { margin: 18px 0 22px; font-size: 1.6rem; color: var(--ink); }
.step__media {
  margin: 0 0 22px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--paper);
}
.step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-duration-slow) var(--motion-ease);
}
.step__media:hover img { transform: scale(1.04); }
.step p { color: var(--text); }

.tick-strip {
  list-style: none;
  margin-top: clamp(56px, 6vw, 88px);
  background: var(--mist);
  padding: 26px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 48px;
}
.tick-strip li { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 500; color: var(--text); }
.tick-strip i { color: var(--hot); font-size: 18px; transform: translateY(2px); }

/* ============================================================
   Home — Who We Help (red field, hanging "For")
   ============================================================ */
.for { padding-block: clamp(88px, 10vw, 152px); }
.for__grid { align-items: start; }
.for__word {
  grid-column: 1 / 5;
  font-family: var(--display-font);
  font-weight: 800;
  font-size: clamp(5.5rem, 9vw, 8.5rem);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: #FFFFFF;
}
.for__body { grid-column: 5 / 13; }
.for__list { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.for__list li {
  padding: 20px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--display-font);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.for__close { margin-top: 30px; color: #F5F5F5; font-size: 1rem; }

/* ============================================================
   Home — Services ledger (photo ground, opaque black panel)
   ============================================================ */
.svc-ledger {
  position: relative;
  min-height: 760px;
  padding-block: 40px;
  display: flex;
  align-items: stretch;
}
.svc-ledger__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.svc-ledger .shell { position: relative; }
.svc-ledger__panel {
  grid-column: 1 / 9;
  background: rgba(17, 17, 17, 0.96);
  padding: 64px;
  color: var(--on-dark);
}
.svc-ledger__panel h2 { margin-bottom: 40px; }
.ledger-rows { list-style: none; border-top: 1px solid var(--graphite); }
.ledger-rows a {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.15fr) 24px;
  column-gap: 20px;
  align-items: baseline;
  padding: 22px 0 22px 18px;
  border-bottom: 1px solid var(--graphite);
  text-decoration: none;
  color: var(--on-dark);
}
.ledger-rows a::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--motion-duration) var(--motion-ease);
}
.ledger-rows a:hover::before, .ledger-rows a:focus-visible::before { transform: scaleY(1); }
.ledger-rows .idx { font: 600 15px/1 var(--body-font); color: var(--on-dark-2); }
.ledger-rows .name {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.ledger-rows .line { font-size: 16px; line-height: 1.5; color: var(--on-dark-2); }
.ledger-rows i { color: var(--on-dark-2); transition: transform var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease); }
.ledger-rows a:hover i, .ledger-rows a:focus-visible i { transform: translateX(4px); color: #F5F5F5; }

/* ============================================================
   Home — Why Eldin (T-account)
   ============================================================ */
.taccount { padding-block: clamp(96px, 11vw, 160px); }
.taccount__fig { grid-column: 1 / 5; margin: 0; }
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}
.taccount__fig figcaption,
.consult-fig figcaption {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}
.taccount__t { grid-column: 6 / 13; align-self: center; }
.t__title {
  padding-bottom: 22px;
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
}
.t__sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.t__side { padding: 28px 0 34px 0; min-width: 0; }
.t__side--dr { padding-right: clamp(20px, 3vw, 40px); }
.t__side--cr { padding-left: clamp(20px, 3vw, 40px); border-left: 3px solid var(--ink); }
.t__label {
  display: block;
  font: 600 13px/1 var(--body-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 12px;
}
.t__side h3 { color: var(--ink); margin-bottom: 14px; }
.t__side ul { list-style: none; }
.t__side li { padding: 11px 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.t__balance { margin-top: 0; color: var(--text); font-size: 1.05rem; }
.taccount .rule-total { margin: 0 0 22px; }

/* ============================================================
   Closing band (photo ground, opaque panel docked left)
   ============================================================ */
.close {
  position: relative;
  min-height: 640px;
  display: flex;
}
.close__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.close .shell { position: relative; padding-top: 64px; display: grid; }
.close__panel {
  grid-column: 1 / 7;
  align-self: stretch;
  background: var(--ink);
  color: var(--on-dark);
  padding: 64px;
}
.close__panel h2 { max-width: 18ch; color: #F5F5F5; }
.close__panel h3 { margin-bottom: 26px; color: #F5F5F5; }
.close__panel .phone-line { margin-top: 26px; color: var(--on-dark); }

/* ============================================================
   Footer — the logo's stage
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 96px 0 40px;
  --focus: #F5F5F5;
}
.footer__grid { row-gap: 48px; }
.footer__brand { grid-column: 1 / 6; }
.footer__brand img { height: 160px; width: auto; max-width: 320px; margin-bottom: 26px; }
.footer__sig { font-weight: 600; color: #F5F5F5; }
.footer__tagline { color: var(--on-dark-2); margin-top: 4px; }
.footer__nav { grid-column: 6 / 9; }
.footer__nav ul { list-style: none; }
.footer__nav a {
  display: inline-block;
  padding: 8px 0;
  font: 500 15px/1.3 var(--body-font);
  color: #F5F5F5;
  text-decoration-color: #5C5C5C;
}
.footer__label {
  display: block;
  font: 600 13px/1 var(--body-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 16px;
}
.footer__contact { grid-column: 9 / 13; }
.footer__phone {
  display: block;
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #F5F5F5;
  text-decoration: none;
  margin-bottom: 8px;
}
.footer__phone:hover { text-decoration: underline; }
.footer__phones { display: flex; gap: 20px; margin-bottom: 28px; font-size: 15px; }
.footer__phones a { display: inline-flex; align-items: center; gap: 8px; }
.footer__phones i { color: var(--hot); }
.footer__bottom {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--graphite);
  font-size: 14px;
  color: var(--on-dark-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

/* ============================================================
   About — Story (broadsheet break + drop cap)
   ============================================================ */
.story { padding-block: clamp(88px, 10vw, 152px); }
.story .shell { max-width: 1200px; }
.story h2 { grid-column: 1 / 8; color: var(--ink); margin-bottom: 48px; }
.story__body { grid-column: 1 / -1; }
.broadsheet {
  max-width: none;
  column-count: 2;
  column-gap: calc(var(--col-gap) * 2);
  column-rule: 1px solid var(--hot);
  font-size: 1.06rem;
  margin-bottom: 40px;
}
.broadsheet::first-letter {
  float: left;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 4.9em;
  line-height: 0.82;
  margin: 6px 12px 0 0;
  color: var(--ink);
}
.story__single p + p { margin-top: 1.1em; }

/* ============================================================
   About — Meet the Founder (graphite, portrait flush top/bottom)
   ============================================================ */
.founder { padding: 0; }
.founder .g12 { align-items: stretch; }
.founder__fig {
  grid-column: 1 / 6;
  align-self: stretch;
  justify-self: stretch;
  position: relative;
  margin: 0;
}
.founder__fig::before { content: ""; display: block; padding-top: 125%; }
.founder__fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.founder__text { grid-column: 7 / 13; padding-block: clamp(72px, 8vw, 120px); }
.founder__text h2 { color: #F5F5F5; }
.founder__cred {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.375rem;
  color: #F5F5F5;
  margin: 10px 0 30px;
}
.founder__text p + p { margin-top: 1.1em; }
.founder__text p { color: #E6E6E6; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.creds div {
  border: 1px solid #5C5C5C;
  border-top: 4px solid var(--red);
  padding: 20px 22px 22px;
}
.creds b {
  display: block;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: #F5F5F5;
  margin-bottom: 10px;
}
.creds span { font-size: 15px; line-height: 1.4; color: var(--on-dark-2); }

/* ============================================================
   About — Career route (red field, open ledger cells)
   ============================================================ */
.route-sec { padding-block: clamp(88px, 10vw, 144px); }
.route-sec h2 { margin-bottom: clamp(48px, 6vw, 80px); max-width: 18ch; }
.route {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.route::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 75%;
  height: 2px;
  background: #FFFFFF;
}
.route li {
  position: relative;
  padding-right: 24px;
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.route li::before {
  content: "";
  display: block;
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid #FFFFFF;
  background: var(--red);
  margin-bottom: 22px;
}
.route li:last-child::before { background: #FFFFFF; }
.route-sec__note { margin-top: clamp(44px, 5vw, 64px); color: #F5F5F5; font-size: 1.05rem; }

/* ============================================================
   About — Principles (mist, rubric, convergence image)
   ============================================================ */
.principles { padding-block: clamp(88px, 10vw, 144px); }
.principles__body { grid-column: 2 / 8; }
.principles__body h2 { color: var(--ink); margin-bottom: 32px; }
.principles .ticks li { padding: 22px 0; font-size: 1.05rem; }
.principles .ticks strong {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.principles__fig { grid-column: 9 / 13; margin: 48px 0 0; border: 1px solid var(--rule); background: var(--paper); }
.principles__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 48%; }

/* ============================================================
   Services page
   ============================================================ */
.svc { padding-block: clamp(88px, 10vw, 144px); }
.svc h2 { margin-bottom: 26px; }
.svc p + p { margin-top: 1em; }

/* 01 */
.svc01__num { grid-column: 1 / 4; grid-row: 1; font-size: clamp(5rem, 8vw, 7rem); }
.svc01__text { grid-column: 4 / 9; grid-row: 1; }
.svc01__text h2 { color: var(--ink); }
.svc01__fig { grid-column: 9 / 13; grid-row: 1; margin: 96px 0 0; border: 1px solid var(--rule); }
.svc01__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; }
.scope { list-style: none; margin-top: 36px; border-top: 1px solid var(--rule); }
.scope li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}
.scope li span { font: 600 14px/1.9 var(--body-font); color: var(--text-2); }

/* 02 — registered before/after seam */
.svc02 { padding-bottom: 0; }
.svc02__head { margin-bottom: clamp(40px, 5vw, 64px); }
.svc02__head .num { margin-bottom: 18px; }
.svc02__head h2 { color: var(--ink); }
.compare {
  --seam: 50%;
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 1940 / 657;
  background: var(--ink);
  touch-action: pan-y;
}
.compare picture { display: contents; }
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.compare__after { clip-path: inset(0 0 0 var(--seam)); }
.compare__tab {
  position: absolute;
  top: 16px;
  z-index: 2;
  font: 600 13px/1 var(--body-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 12px;
  pointer-events: none;
}
.compare__tab--before { left: 16px; background: var(--ink); color: #FFFFFF; }
.compare__tab--after { right: 16px; background: #FFFFFF; color: var(--ink); }
.compare__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.compare__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--seam);
  z-index: 2;
  width: 6px;
  transform: translateX(-50%);
  background: var(--red);
  pointer-events: none;
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  background: var(--red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.compare__range:focus-visible ~ .compare__seam .compare__handle { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.compare-note { font-size: 14px; color: var(--text-2); padding: 14px var(--gutter) clamp(72px, 8vw, 112px); max-width: 1440px; margin: 0 auto; }

/* 03 — red field, white workpaper inset */
.svc03__text { grid-column: 1 / 7; align-self: center; }
.svc03__text .num { color: #FFFFFF; margin-bottom: 22px; }
.svc03__text p { color: #FFFFFF; }
.svc03__xref { margin-top: 1.4em; padding-top: 1.2em; border-top: 1px solid rgba(255, 255, 255, 0.4); font-size: 0.98rem; }
.inset {
  background: #FFFFFF;
  padding: 32px;
  margin: 0;
}
.inset img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc03__inset { grid-column: 7 / 13; align-self: center; }

/* 04 — mirrored, numeral overlapping the image */
.svc04__fig { grid-column: 1 / 6; grid-row: 1; margin: 0; border: 1px solid var(--rule); background: var(--paper); align-self: start; }
.svc04__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc04__num { grid-column: 5 / 8; grid-row: 1; align-self: start; margin-top: -40px; position: relative; z-index: 1; }
.svc04__text { grid-column: 7 / 13; grid-row: 1; padding-top: calc(var(--numeral) * 0.9); }
.svc04__text h2 { color: var(--ink); }

/* 05 — black, compass bleeding off the left edge */
.svc05 { position: relative; }
.svc05__media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(max(0px, (100% - var(--shell)) / 2) + var(--gutter) + (min(100%, var(--shell)) - 2 * var(--gutter)) * 5 / 12);
  margin: 0;
}
.svc05__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.svc05__text { grid-column: 7 / 13; position: relative; }
.svc05__text h2 { color: #F5F5F5; }
.svc05__text p { color: #E6E6E6; }
.cross-rows { list-style: none; margin-top: 36px; border-top: 1px solid var(--graphite); }
.cross-rows li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--graphite);
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
  color: #F5F5F5;
}
.cross-rows i { color: var(--hot); font-size: 18px; }
.cross-rows a { color: var(--on-dark-2); text-decoration-color: #5C5C5C; }
.cross-rows a:hover { color: #F5F5F5; }

/* ============================================================
   Consultation page
   ============================================================ */
.expect { padding-block: clamp(88px, 10vw, 144px); }
.consult-fig { grid-column: 1 / 5; margin: 0; }
.expect__body { grid-column: 6 / 13; }
.expect__body h2 { color: var(--ink); margin-bottom: 28px; }
.expect__body .ticks li { font-family: var(--display-font); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.expect__body h3 { margin: 40px 0 10px; color: var(--ink); }
.expect__next { margin-top: 26px; font-size: 1.05rem; }

.ways { padding-block: clamp(88px, 10vw, 144px); }
.ways__phone { grid-column: 1 / 7; }
.ways__phone h2 { color: #F5F5F5; margin-bottom: 18px; }
.big-phone {
  display: inline-block;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #F5F5F5;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--red); }
.ways__phone .phone-line { margin-top: 22px; font-size: 16px; }
.ways__form { grid-column: 7 / 13; }
.ways__form h3 { color: #F5F5F5; margin-bottom: 8px; }
.ways__form > p { color: var(--on-dark-2); font-size: 15px; margin-bottom: 26px; }

/* Contact form — ruled lines on a workpaper, underline-only inputs */
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 15px/1.3 var(--body-font); color: #F5F5F5; }
.field label span { font-weight: 400; color: var(--on-dark-2); }
.field input, .field textarea {
  width: 100%;
  font: 400 17px/1.5 var(--body-font);
  color: #F5F5F5;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--on-dark-2);
  border-radius: 0;
  padding: 8px 0 9px;
  transition: border-color var(--motion-duration) var(--motion-ease), box-shadow var(--motion-duration) var(--motion-ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: #F5F5F5;
  box-shadow: 0 1px 0 0 #F5F5F5;
}
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.contact-form__actions { grid-column: 1 / -1; }

.consult-close { padding-block: clamp(88px, 10vw, 144px); }
.consult-close__text { grid-column: 1 / 7; align-self: center; }
.consult-close__text h2 { max-width: 18ch; }
.consult-close__text .reassure { color: #F5F5F5; }
.consult-close__inset { grid-column: 8 / 13; align-self: center; }

/* ============================================================
   404
   ============================================================ */
.nf .ledger__low-b a { font-weight: 500; }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* ============================================================
   Gallery lightbox — scaffolded shared mechanism (binding default)
   Inert until a data-lightbox group container exists on the page.
   Restyle this chrome freely to match the brand; do not remove
   the mechanism. (frontend-design.md § "Gallery lightbox")
   ============================================================ */
.lightbox-zoomable {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox.is-open {
  display: flex;
  animation: lightbox-in var(--motion-duration) var(--motion-ease);
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox.is-open { animation: none; }
}
.lightbox__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-text) 85%, transparent);
}
.lightbox__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px -16px color-mix(in srgb, var(--color-text) 60%, transparent);
}
.lightbox__caption {
  font-family: var(--font-secondary, inherit);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-bg);
  text-align: center;
  max-width: 60ch;
}
.lightbox__counter {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-secondary, inherit);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-bg);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--color-text) 25%, transparent);
  font-size: 1.15rem;
  line-height: 1;
}
.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__prev:hover,
.lightbox__prev:focus-visible,
.lightbox__next:hover,
.lightbox__next:focus-visible {
  color: var(--color-accent);
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption[hidden],
.lightbox__counter[hidden],
.lightbox__prev[hidden],
.lightbox__next[hidden] {
  display: none;
}


/* Lightbox — brand chrome (flat black scrim, square red controls) */
.lightbox__scrim { background: rgba(17, 17, 17, 0.94); }
.lightbox__img { box-shadow: none; border: 1px solid #2C2C2C; background: #FFFFFF; }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  border-radius: 0;
  background: #B51F2A;
  color: #FFFFFF;
  box-shadow: none;
  width: 44px;
  height: 44px;
}
.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__prev:hover,
.lightbox__prev:focus-visible,
.lightbox__next:hover,
.lightbox__next:focus-visible { background: #E0141E; color: #FFFFFF; outline: 3px solid #F5F5F5; outline-offset: 2px; }
.lightbox__caption, .lightbox__counter { color: #F5F5F5; font-family: 'DM Sans', sans-serif; }

/* ============================================================
   Responsive
   ============================================================ */

/* Nav: drop the "Call or text" words before anything crowds */
@media (max-width: 1359px) {
  .nav__phone-label { display: none; }
  .nav { column-gap: 32px; }
  .nav__links { gap: 32px; }
}

/* Nav: centered emblem with tel + menu buttons (all items always visible) */
@media (max-width: 1179px) {
  :root { --nav-h: 76px; }
  .nav {
    height: 76px;
    padding: 0 16px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    column-gap: 12px;
  }
  .nav__links, .nav__actions { display: none; }
  .nav__brand img { height: 60px; max-width: 120px; }
  .site-header.is-scrolled .nav { height: 76px; }
  .site-header.is-scrolled .nav__brand img { height: 60px; }
  .nav__tel-mobile, .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #2C2C2C;
    background: transparent;
    color: #F5F5F5;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
  }
  .nav__tel-mobile { justify-self: start; color: #F5F5F5; }
  .nav__tel-mobile i { color: #E0141E; }
  .nav__toggle { justify-self: end; }
}

/* Tablet */
@media (max-width: 1100px) {
  .svc-ledger__panel { grid-column: 1 / 11; padding: 48px; }
  .philo__text { grid-column: 2 / 8; }
  .close__panel { grid-column: 1 / 9; padding: 52px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { grid-column: 1 / 5; }
  .footer__contact { grid-column: 6 / 13; }
}

@media (max-width: 899px) {
  :root { --gutter: 20px; }

  /* Hero flips rather than stacks: books → photo → band (overlapping) → CTA → dark */
  .ledger,
  .ledger--short,
  .ledger--services {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
    min-height: 0;
  }
  .ledger > *,
  .ledger .ledger__h1 > *,
  .ledger--mirror > * { grid-column: 1 / -1 !important; }
  .ledger__paper { grid-row: 1 / 4; }
  .ledger__tag { grid-row: 1; padding-top: 40px; }
  .ledger__h { grid-row: 2; }
  .ledger__lead { grid-row: 3; padding-bottom: 40px; }
  .ledger__tag, .ledger__h, .ledger__lead { padding-inline: 20px; }
  .ledger__photo { grid-row: 4; aspect-ratio: 16 / 10; }
  .ledger__band { grid-row: 5; margin-top: -24px; position: relative; z-index: 1; min-height: 96px; }
  .ledger__bandline { grid-row: 5; margin-top: -24px; z-index: 2; padding: 22px 20px; }
  .ledger__low-b { grid-row: 6; padding: 30px 20px; }
  .ledger__low-a { grid-row: 7; padding: 30px 20px; }
  :root { --display: clamp(2.15rem, 9.2vw, 3.2rem); }
  .ledger__h { max-width: 12ch; }

  .band-index { gap: 0 6px; }
  .band-index b { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .band-index span { font-size: 12px; }
  .band-terms { font-size: 1.3rem; row-gap: 6px; }
  .band-terms li { padding: 2px 12px; }

  /* Philosophy: compass becomes a bleed band above the type */
  .philo { padding-top: 0; }
  .philo__media { position: relative; left: auto; right: auto; aspect-ratio: 16 / 10; margin-bottom: 64px; }
  .philo .g12 { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
  .philo__text { grid-column: 2; }

  /* Approach: stair-step becomes a diagonal indent, numerals hang left */
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .step,
  .step:nth-child(1),
  .step:nth-child(2),
  .step:nth-child(3) {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    align-items: end;
  }
  .step:nth-child(2) { margin-left: 16px; }
  .step:nth-child(3) { margin-left: 32px; }
  .step .num { font-size: 5rem; }
  .step h3 { margin: 0 0 6px; font-size: 1.2rem; }
  .step__media, .step p { grid-column: 1 / -1; }
  .step__media { margin-top: 22px; }
  .tick-strip { flex-direction: column; padding: 22px 20px; }

  /* For */
  .for__word { grid-column: 1 / -1; margin-bottom: 28px; }
  .for__body { grid-column: 1 / -1; }

  /* Services ledger */
  .svc-ledger { min-height: 0; padding-block: 0; flex-direction: column; }
  .svc-ledger__bg { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .svc-ledger .shell { padding-inline: 0; }
  .svc-ledger__panel { grid-column: 1 / -1; padding: 48px 20px 56px; background: #111111; }
  .ledger-rows a { grid-template-columns: 48px minmax(0, 1fr) 20px; padding-left: 14px; row-gap: 6px; }
  .ledger-rows .line { grid-column: 2; grid-row: 2; }
  .ledger-rows i { grid-column: 3; grid-row: 1; }

  /* T-account keeps its T: stem becomes a horizontal divider */
  .taccount__fig { grid-column: 1 / -1; margin-bottom: 48px; }
  .taccount__t { grid-column: 1 / -1; }
  .t__sides { grid-template-columns: minmax(0, 1fr); }
  .t__side--dr { padding-right: 0; }
  .t__side--cr { padding-left: 0; border-left: 0; border-top: 3px solid var(--ink); }

  /* Close: photo on top, panel beneath */
  .close { flex-direction: column; min-height: 0; }
  .close__photo { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; }
  .close .shell { padding: 0; }
  .close__panel { grid-column: 1 / -1; padding: 48px 20px 56px; }

  /* Footer */
  .site-footer { padding-top: 72px; }
  .footer__nav, .footer__contact { grid-column: 1 / -1; }
  .footer__brand img { max-width: 100%; height: auto; width: 316px; aspect-ratio: 1722 / 873; }

  /* About */
  .story h2 { grid-column: 1 / -1; }
  .broadsheet { column-count: 1; border-left: 1px solid var(--hot); padding-left: 18px; }
  .founder__fig { grid-column: 1 / -1; margin-inline: calc(var(--gutter) * -1); }
  .founder__text { grid-column: 1 / -1; padding-block: 56px 72px; }
  .creds { grid-template-columns: minmax(0, 1fr); }
  .route { grid-template-columns: minmax(0, 1fr); row-gap: 34px; }
  .route::before { top: 8px; left: 7px; width: 2px; height: calc(100% - 40px); }
  .route li { padding: 0 0 0 44px; }
  .route li::before { position: absolute; left: 0; top: 4px; margin: 0; }
  .principles .g12 { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
  .principles__body { grid-column: 2; }
  .principles__fig { grid-column: 1 / -1; margin-top: 44px; }

  /* Services */
  .svc01__num, .svc01__text, .svc01__fig { grid-column: 1 / -1; grid-row: auto; }
  .svc01__num { margin-bottom: 18px; }
  .svc01__fig { margin-top: 44px; max-width: 460px; }
  .svc03__text, .svc03__inset { grid-column: 1 / -1; }
  .svc03__inset { margin-top: 44px; }
  .inset { padding: 16px; }
  .svc04__fig, .svc04__num, .svc04__text { grid-column: 1 / -1; grid-row: auto; }
  .svc04__fig { grid-row: 2; margin-top: -24px; }
  .svc04__num { grid-row: 1; margin-top: 0; }
  .svc04__text { grid-row: 3; padding-top: 40px; }
  .svc05 { padding-top: 0; }
  .svc05__media { position: relative; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 56px; }
  .svc05__text { grid-column: 1 / -1; }
  .compare__tab { top: 8px; font-size: 11px; padding: 6px 8px; }
  .compare__tab--before { left: 8px; }
  .compare__tab--after { right: 8px; }
  .compare__handle { width: 36px; height: 36px; font-size: 16px; }

  /* Consultation */
  .consult-fig { grid-column: 1 / -1; margin-bottom: 48px; max-width: 460px; }
  .expect__body { grid-column: 1 / -1; }
  .ways__phone, .ways__form { grid-column: 1 / -1; }
  .ways__form { margin-top: 64px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .consult-close__text, .consult-close__inset { grid-column: 1 / -1; }
  .consult-close__inset { margin-top: 48px; }
  .btn { white-space: normal; }
  .btn--large { font-size: 18px; padding: 20px 26px; }
}

@media (max-width: 480px) {
  .band-index span { display: none; }
  .band-index { gap: 0; }
  .band-index li + li { border-left: 1px solid rgba(255, 255, 255, 0.6); }
  .band-index a { align-items: center; }
  .band-index b { font-size: 1.75rem; }
  .creds b { font-size: 2.1rem; }
  .close__panel h2 { font-size: 1.75rem; }
}

/* Stage 20 wraps <img> in <picture>; keep the img as the layout box */
picture { display: contents; }

@media (max-width: 400px) {
  .step .num { font-size: 4rem; }
  .step h3 { font-size: 1.1rem; }
  .big-phone { font-size: 10.5vw; }
}

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm2NL9G78HEZnMg.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm25L9G78HEZnMg.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm2BL9G78HEY.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm2NL9G78HEZnMg.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm25L9G78HEZnMg.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm2BL9G78HEY.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm2NL9G78HEZnMg.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm25L9G78HEZnMg.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/8vIH7w4qzmVxm2BL9G78HEY.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* lt-perf:begin — generated by performance-sweep.py (rev 90): keeps sweep-added <picture>
   wrappers layout-transparent and reserves the box of content-sized hero images.
   Do not edit; re-run the sweep. */
picture[data-lt-picture] { display: contents; }
/* lt-perf:end */
