/* Solixor · shared stylesheet
   Pure black & white system. Light theme is the default on :root;
   html[data-theme="dark"] swaps the same semantic tokens.
   Components reference tokens only. No hardcoded hex below this block. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/geist-v2.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/geist-mono-v2.woff2') format('woff2');
}

:root {
  color-scheme: light;
  /* Page grid. --pad-x keeps every section's content on one vertical line:
     64px gutters up to 1440, then the content stops widening and centres.
     The % inside resolves against each element's own containing block. */
  --page-max:   1312px;
  --pad-x:      max(64px, calc((100% - var(--page-max)) / 2));
  /* Reading measure, in em so it tracks each element's own size. Geist's
     ch unit is 0.663em against a 0.4535em average character, so ch lies:
     34em is about 75 characters, 62ch would be 91. */
  --measure:      34em;
  --measure-lede: 36em;
  --bg:         #FFFFFF;
  --bg-alt:     #F6F6F6;
  --card:       #FFFFFF;
  --card-hover: #FBFBFB;
  --ink:        #0E0E0E;
  --ink-soft:   #3A3A3A;
  --gray:       #5F5F5F;
  --gray-faint: #757575;
  --rule:       rgba(14, 14, 14, 0.14);
  /* Form controls only. --rule is right for editorial hairlines but far
     too faint for a box whose only identification is its border. */
  --field-line: rgba(14, 14, 14, 0.46);
  --noise:      0.028;
  /* Focus ring. Resolves against the cascaded --ink, so it flips with the
     theme; .cta-invert overrides it so the ring stays visible on ink. */
  --focus:      var(--ink);
  /* inverted-surface companions: readable on a var(--ink) background */
  --gray-inv:   #A3A3A3;
  --soft-inv:   #D4D4D4;
  --rule-inv:   rgba(245, 245, 245, 0.16);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg:         #0E0E0E;
  --bg-alt:     #161616;
  --card:       #1C1C1C;
  --card-hover: #212121;
  --ink:        #F5F5F5;
  --ink-soft:   #D4D4D4;
  --gray:       #A3A3A3;
  --gray-faint: #808080;
  --rule:       rgba(245, 245, 245, 0.14);
  --field-line: rgba(245, 245, 245, 0.38);
  --noise:      0.022;
  --gray-inv:   #5F5F5F;
  --soft-inv:   #3A3A3A;
  --rule-inv:   rgba(14, 14, 14, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}

::selection { background: var(--ink); color: var(--bg); }

/* Subtle noise. Keeps the page from feeling like flat CSS. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: var(--noise);
  pointer-events: none;
  z-index: 1000;
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 600;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 20px;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ─── NAV ─── */
nav {
  position: relative;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  padding-inline: var(--pad-x);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.nav-logo {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark { width: 22px; height: 22px; color: var(--ink); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.nav-cta {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 11px 22px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: var(--bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.2s ease;
}
.theme-toggle:hover { color: var(--ink); }
.theme-toggle svg { display: block; }
/* Grow both icon buttons to a 44px touch target without moving a pixel. */
.theme-toggle, .nav-toggle { position: relative; }
.theme-toggle::after, .nav-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  /* Only nav control on phones, so the target is grown to 36px without
     moving the bars: the extra right padding is pulled back by the margin. */
  padding: 14px 8px;
  margin-right: -4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.nav-toggle span + span { margin-top: 7px; }
nav.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
nav.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ─── HERO (home) ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  /* The hero panel is full bleed, but its text sits on the page grid.
     100% here is half the viewport, so this lands on the same line as
     --pad-x without the scrollbar error 100vw would introduce. */
  padding-left: max(64px, calc(100% - (var(--page-max) / 2)));
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
  display: flex;
  /* The label wraps on phones; centring floated the rule between the
     two lines, which is the first mark on the page there. */
  align-items: flex-start;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  flex: none;
  margin-top: 8px;
  background: var(--ink);
}
.hero-headline {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero-sub {
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 440px;
  margin-bottom: 44px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px 28px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  padding: 14px 30px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
  z-index: 0;
}
.btn-primary:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-ghost {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost svg { transition: transform 0.2s ease; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* Hero right. The XOR split: a hard inverted panel, seal in the
   opposite ink. Flips with the theme. */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
  transition: background-color 0.2s ease;
}
.hero-seal {
  width: 360px;
  height: 360px;
  color: var(--bg);
}

/* ─── PAGE HEAD (inner pages) ─── */
.page-head {
  padding: 88px 64px 72px;
  padding-inline: var(--pad-x);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.breadcrumb {
  font-family: 'Geist Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  /* .page-num is absolutely positioned in this same top line; keep the
     trail from running underneath it on narrow viewports. */
  padding-right: 84px;
}
.breadcrumb a { color: var(--gray); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .crumb-sep { color: var(--gray-faint); }
.breadcrumb .crumb-here { color: var(--ink); }
.page-num {
  position: absolute;
  top: 88px;
  right: var(--pad-x);
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.page-title {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.026em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 780px;
  text-wrap: balance;
}
.page-intro {
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray);
  max-width: var(--measure-lede);
}

/* ─── SECTIONS ─── */
.section-label {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ─── SERVICES GRID ─── */
.services {
  padding: 140px 64px;
  padding-inline: var(--pad-x);
  background: var(--bg-alt);
  position: relative;
}
/* Editorial service index: type-led rows, no boxes. The whole row is
   the link and fully inverts on hover. */
.svc-index {
  border-top: 1px solid var(--rule);
}
.svc-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  column-gap: 32px;
  padding: 40px 24px;
  margin: 0 -24px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease;
}
.svc-row-num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  /* Numerals, not words: 0.24em rendered "III" as three separate glyphs.
     The wide tracking stays on the word shaped labels. */
  letter-spacing: 0.08em;
  color: var(--gray);
  /* Sit beside the title, not beside the middle of the description. */
  align-self: start;
  margin-top: 9px;
  transition: color 0.3s ease;
}
.svc-row-title {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.3s ease;
}
.svc-row-desc {
  font-family: 'Geist', sans-serif;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray);
  max-width: var(--measure);
  margin-top: 10px;
  transition: color 0.3s ease;
}
.svc-row-arrow {
  color: var(--gray);
  align-self: start;
  margin-top: 12px;
  transition: color 0.3s ease, transform 0.2s ease;
}
.svc-row:hover,
.svc-row:focus-visible { background: var(--ink); }
.svc-row:hover .svc-row-title,
.svc-row:focus-visible .svc-row-title,
.svc-row:hover .svc-row-arrow,
.svc-row:focus-visible .svc-row-arrow { color: var(--bg); }
.svc-row:hover .svc-row-num,
.svc-row:focus-visible .svc-row-num,
.svc-row:hover .svc-row-desc,
.svc-row:focus-visible .svc-row-desc { color: var(--gray-inv); }
.svc-row:hover .svc-row-arrow,
.svc-row:focus-visible .svc-row-arrow { transform: translateX(6px); }
.section-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 36px;
}

/* ─── SERVICE DETAIL PAGES ─── */
.svc-section {
  padding: 110px 64px;
  padding-inline: var(--pad-x);
  background: var(--bg-alt);
}
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 72px;
}
.svc-item {
  border-top: 1px solid var(--rule);
  padding: 30px 0 34px;
}
.svc-item h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-item p {
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: var(--measure);
}
.svc-note {
  padding: 88px 64px;
  padding-inline: var(--pad-x);
}
.svc-note p {
  font-family: 'Geist', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: var(--measure-lede);
}
.svc-note p + p { margin-top: 18px; }
.svc-note .section-label { margin-bottom: 36px; }
/* Sibling navigation. The I/VI numbering advertises a series, so make it
   traversable; the ring wraps, VI back to I. */
.svc-pager {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 72px;
}
.svc-pager a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  transition: border-color 0.2s ease;
}
.svc-pager a:last-child { text-align: right; }
.svc-pager a:hover { border-color: var(--ink); }
.svc-pager-dir {
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.svc-pager-name {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.svc-note strong { color: var(--ink); font-weight: 500; }

/* ─── ABOUT / STUDIO ─── */
.about {
  padding: 140px 64px;
  padding-inline: var(--pad-x);
  display: grid;
  /* 1fr 1fr stranded 146px of empty track inside the left column,
     because .about-visual caps at 460px. Size the track to the art. */
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 120px;
  align-items: start;
}
.about-left { position: relative; }
.about-visual {
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
  position: relative;
}
.about-square {
  position: absolute;
  inset: 0;
  border: 1px solid var(--rule);
}
.about-square:nth-child(2) {
  inset: 22px;
  opacity: 0.7;
  transform: rotate(4deg);
}
.about-square:nth-child(3) {
  inset: 44px;
  opacity: 0.85;
  transform: rotate(-2deg);
}
.about-badge {
  position: absolute;
  bottom: 28px;
  right: -18px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 0.55em;
}
/* The mark is drawn, not typed: U+2295 is in neither woff2, so a literal
   ⊕ fell through to whatever mono face the OS supplies. Same geometry as
   the hero seal, currentColor so it flips with the theme. */
.badge-mark {
  width: 0.92em;
  height: 0.92em;
  flex: none;
  overflow: visible;
}
/* Borderless hairline rows in the .svc-item idiom. This was the only
   bordered tile grid in the stylesheet, so it was the single place the
   no-boxes rule was broken. The rotated squares and the badge stay. */
.about-inner {
  position: absolute;
  inset: 64px;
  max-width: 380px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--rule);
  padding: 17px 0;
}
.about-stat-num {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-stat-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
}
.about-headline {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.024em;
  text-wrap: balance;
  max-width: 560px;
}
.about-body {
  font-family: 'Geist', sans-serif;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: var(--measure);
  margin-bottom: 18px;
}
.about-body em,
.teaser-body em {
  font-family: 'Geist Mono', monospace;
  font-style: normal;
  font-size: 0.9em;
  color: var(--ink-soft);
}

/* ─── STUDIO TEASER (home) ─── */
.teaser {
  padding: 130px 64px;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.teaser-headline {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.teaser-body {
  font-family: 'Geist', sans-serif;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: var(--measure);
  margin-bottom: 30px;
}

/* ─── PROCESS ─── */
.process {
  padding: 140px 64px;
  padding-inline: var(--pad-x);
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 48px;
  margin-top: 56px;
}
.process-step {
  border-top: 1px solid var(--rule);
  padding: 34px 0 0;
  position: relative;
}
.step-num {
  font-family: 'Geist Mono', monospace;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 22px;
}
.step-title {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.step-desc {
  font-family: 'Geist', sans-serif;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: var(--measure);
}

/* ─── CTA ─── */
.cta-section {
  padding: 150px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.cta-section.cta-first { border-top: 0; padding-top: 110px; }
.cta-first .cta-headline { font-size: clamp(2.25rem, 1.85rem + 1.85vw, 3.6rem); }
/* Inverted CTA band: solid opposite-ink block before the footer. */
.cta-invert {
  background: var(--ink);
  border-top: 0;
  transition: background-color 0.2s ease;
  --focus: var(--bg);
}
.cta-invert .cta-headline { color: var(--bg); }
.cta-invert .cta-eyebrow,
.cta-invert .cta-sub { color: var(--gray-inv); }
.cta-invert .btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.cta-invert .btn-primary::after { background: var(--ink); }
.cta-invert .btn-primary:hover {
  color: var(--bg);
  box-shadow: inset 0 0 0 1px var(--bg);
}
.cta-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
}
.cta-headline {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  /* Boilerplate: it repeats on nine pages, so it sits below the page
     title rather than above it. .cta-first restores page-title scale on
     /contact/, where this headline is the H1. */
  font-size: clamp(1.85rem, 1.55rem + 1.33vw, 3rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cta-sub {
  font-family: 'Geist', sans-serif;
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 52px;
  line-height: 1.75;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.form-field { display: flex; flex-direction: column; gap: 9px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}
.label-opt { letter-spacing: 0.14em; }
.form-field input,
.form-field textarea {
  /* No fill. The tinted panel plus a 0.14 hairline measured 1.35:1, under
     the 3:1 a control needs when its border is its only identification;
     an outlined box on the page ground reads cleaner and clears 3.2:1. */
  background: transparent;
  border: 1px solid var(--field-line);
  border-radius: 0;
  color: var(--ink);
  font-family: 'Geist', sans-serif;
  /* 16px floor: anything smaller makes iOS Safari zoom the page on focus. */
  font-size: max(16px, 0.92rem);
  line-height: 1.5;
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 132px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink-soft);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
  flex-wrap: wrap;
}
button.btn-primary { border: 0; cursor: pointer; }
button.btn-primary:disabled { opacity: 0.55; cursor: default; }
.form-note {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-align: right;
  flex: 1;
  min-height: 1em;
}
.cta-alt {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  position: relative;
  z-index: 1;
}
.cta-alt a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.cta-alt a:hover { border-color: var(--ink); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--rule);
  padding: 40px 64px 36px;
  padding-inline: var(--pad-x);
  background: var(--bg);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-row + .footer-row {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-nav a {
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--ink); }
.footer-copy {
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gray);
}
.footer-location {
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gray);
  transition: color 0.2s ease;
}
.footer-location:hover { color: var(--ink); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .process-step { padding-bottom: 26px; }
}
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--ink);
    padding: 10px 24px 18px;
    z-index: 500;
  }
  nav.menu-open .nav-links { display: flex; }
  .nav-links a { display: inline-block; padding: 13px 0; }
  /* Match the current page's tap target to its siblings; the desktop
     underline would otherwise shrink it by 9px. */
  .nav-links a[aria-current="page"] {
    border-bottom: 0;
    padding-bottom: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-right { min-height: 340px; }
  .hero-seal { width: 240px; height: 240px; }
  .hero-left { padding: 72px 28px 64px; }
  .page-head { padding: 64px 28px 56px; }
  .page-num { top: 64px; right: 28px; }
  .services { padding: 88px 28px; }
  .svc-section { padding: 80px 28px; }
  .svc-note { padding: 64px 28px; }
  .svc-pager { gap: 24px; margin-top: 56px; }
  .svc-pager-name { font-size: 0.95rem; }
  .svc-list { grid-template-columns: 1fr; gap: 0; }
  .svc-row {
    grid-template-columns: 40px 1fr auto;
    column-gap: 18px;
    padding: 28px 16px;
    margin: 0 -16px;
  }
  .about { grid-template-columns: 1fr; padding: 88px 28px; gap: 60px; }
  .about-visual { max-width: 100%; }
  /* The square shrinks to the viewport, so the rows have to give back
     some inset or they spill past its bottom edge into the badge. */
  .about-inner { inset: 44px; }
  .about-stat { padding: 14px 0; }
  .teaser { grid-template-columns: 1fr; padding: 88px 28px; gap: 28px; }
  .process { padding: 88px 28px; }
  .cta-section { padding: 110px 28px; }
  footer { padding: 32px 28px; }
  .footer-row { flex-direction: column; text-align: center; gap: 16px; }
  .footer-row + .footer-row { margin-top: 18px; padding-top: 18px; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: flex-start; }
  .form-note { text-align: left; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* Windows High Contrast: both buttons are background-only, so they would
   otherwise render as bare link text. */
@media (forced-colors: active) {
  .btn-primary,
  .nav-cta {
    border: 1px solid ButtonText;
  }
}
