/* ============================================================
   Unitech IT — Configurator
   "The System Catalogue": profile-system catalogue sheets.
   Colour is law: each stage ink means one stage, everywhere.
   ============================================================ */

:root {
  --sheet: #f1f2ef;          /* coated catalogue white */
  --sheet-2: #e3e6e3;        /* tinted panel */
  --white: #ffffff;
  --ink: #121518;            /* drawing black */
  --ink-2: #353b41;          /* secondary text */
  --muted: #5a6168;          /* captions, meta */
  --steel: #8d959b;          /* hatching, construction lines */
  --rule: #c4c9cc;           /* hairlines on sheet */

  --sell: #f0b92b;           /* signal yellow */
  --produce: #1d5ea8;        /* traffic blue */
  --install: #237a4d;        /* signal green */
  --service: #c63a2c;        /* signal red */

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Barlow', system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: 48px;
  --tabs: 44px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sheet);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ink);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--sheet); }
html { scrollbar-color: var(--steel) var(--sheet); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sheet); }
::-webkit-scrollbar-thumb { background: var(--steel); border: 2px solid var(--sheet); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--sheet); padding: 10px 16px;
}
.skip:focus { top: 12px; }
.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;
}

.wrap {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 calc(var(--gutter) + var(--tabs)) 0 var(--gutter);
}

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 em, h2 em { font-style: normal; font-weight: inherit; }
.contact h2 em { font-weight: 300; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.text-link {
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: var(--steel);
  transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; }
.arrow-link svg { transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 600;
  font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 15px 24px 14px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: var(--sheet); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--sheet); }
.btn-sm { font-size: 15px; padding: 9px 16px 8px; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: progress; }

/* ============ TOP BAR ============ */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--sheet);
  border-bottom: 1.5px solid var(--ink);
}
.top-inner {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 12px calc(var(--gutter) + var(--tabs)) 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { fill: none; stroke: var(--sheet); stroke-width: 3.2; }
.brand-mark.inverse rect { fill: var(--sheet); }
.brand-mark.inverse path { stroke: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.01em; text-transform: uppercase; }
.brand-name span { font-weight: 500; color: var(--muted); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--display); font-weight: 500; font-size: 17px;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-2);
  padding: 4px 0; border-bottom: 1.5px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 22px; }

/* ============ THUMB-INDEX TABS ============ */
.tabs {
  position: fixed; right: 0; top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 3px;
}
.tab {
  writing-mode: vertical-rl; transform: rotate(180deg);
  width: var(--tabs);
  padding: 14px 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  translate: 8px 0;
  transition: translate .35s var(--ease);
}
.tab:hover, .tab.is-active { translate: 0 0; }
.tab.is-active { font-weight: 700; outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.tab-sell { background: var(--sell); color: var(--ink); }
.tab-produce { background: var(--produce); color: var(--white); }
.tab-install { background: var(--install); color: var(--white); }
.tab-service { background: var(--service); color: var(--white); }
.tab-steel { background: var(--sheet-2); color: var(--ink); }
.tab-ink { background: var(--ink); color: var(--sheet); }

/* ============ SHEETS (sections) ============ */
.sheet { padding: 120px 0; border-top: 1.5px solid var(--ink); }
.sheet-head {
  display: grid; grid-template-columns: 7fr 5fr; gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.sheet-head h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.0; }

/* ============ HERO ============ */
.hero { padding: 64px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 6fr 6fr; gap: 56px;
  align-items: center;
}
.hero-title {
  font-size: clamp(44px, 5.3vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-sub { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 54ch; margin-bottom: 38px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-sheet {
  background: var(--white);
  border: 1.5px solid var(--ink);
}
.section-drawing { display: block; width: 100%; height: auto; max-height: min(430px, 47vh); padding: 18px 18px 4px; }

/* drawing strokes */
.section-drawing .d-wall .ink { fill: none; stroke: var(--ink); stroke-width: 11; stroke-linejoin: miter; }
.section-drawing .d-wall .core { fill: none; stroke: url(#hatch); stroke-width: 8; stroke-linejoin: miter; }
.section-drawing .d-line { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.section-drawing .d-line.strong { stroke-width: 2.4; }
.section-drawing .d-fabric circle { fill: none; stroke: var(--steel); stroke-width: 1; }
.section-drawing .d-zip { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.section-drawing .d-centre { stroke: var(--steel); stroke-width: 0.9; stroke-dasharray: 18 4 3 4; }
.section-drawing .d-dim { fill: none; stroke: var(--ink); stroke-width: 0.9; }
.section-drawing .d-dim .fill { fill: var(--ink); stroke: none; }
.section-drawing .d-text { font-family: var(--display); font-weight: 500; font-size: 15px; fill: var(--ink); }
.section-drawing .d-text.small { font-size: 13px; fill: var(--muted); letter-spacing: 0.06em; }
.balloon .leader { fill: none; stroke: var(--ink); stroke-width: 1; }
.balloon .dot { fill: var(--ink); }
.balloon .bub { stroke: var(--ink); stroke-width: 1.2; }
.balloon text { font-family: var(--display); font-weight: 700; font-size: 15px; }
.b-sell .bub { fill: var(--sell); }      .b-sell text { fill: var(--ink); }
.b-produce .bub { fill: var(--produce); } .b-produce text { fill: var(--white); }
.b-install .bub { fill: var(--install); } .b-install text { fill: var(--white); }
.b-service .bub { fill: var(--service); } .b-service text { fill: var(--white); }

/* the one authored moment: the section draws itself, once */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes balloon-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .section-drawing [pathLength] { stroke-dasharray: 1; animation: draw 1.6s var(--ease) both; }
  .section-drawing .d-wall .ink { animation-duration: 1.9s; }
  .section-drawing .d-wall .core,
  .section-drawing .d-fabric,
  .section-drawing .d-zip,
  .section-drawing .d-text { animation: appear .9s var(--ease) .9s both; }
  .section-drawing .d-centre line { stroke-dasharray: 18 4 3 4; animation: appear .9s var(--ease) .4s both; }
  .balloon { animation: balloon-in .6s var(--ease) both; }
  .b-sell { animation-delay: 1.3s; }
  .b-produce { animation-delay: 1.45s; }
  .b-install { animation-delay: 1.6s; }
  .b-service { animation-delay: 1.75s; }
}

/* parts list under the drawing */
.parts { border-top: 1.5px solid var(--ink); }
.parts-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}
.parts-tag {
  font-weight: 500; font-size: 13px; color: var(--muted);
  border: 1px solid var(--rule); padding: 2px 7px;
}
.parts-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.parts-table th {
  text-align: left; font-family: var(--display); font-weight: 500;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding: 7px 16px; border-bottom: 1px solid var(--rule);
}
.parts-table td { padding: 9px 16px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.parts-table tr:last-child td { border-bottom: 0; }
.parts-table td:nth-child(2) { font-weight: 600; white-space: nowrap; }
.parts-table td:nth-child(3) { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; }
.parts-table td:nth-child(4) { color: var(--ink-2); }
.pos {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.2px solid var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink);
}
.pos-sell { background: var(--sell); }
.pos-produce { background: var(--produce); color: var(--white); }
.pos-install { background: var(--install); color: var(--white); }
.pos-service { background: var(--service); color: var(--white); }

/* hero data strip: one ruled table row */
.data-strip {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--ink);
}
.data-strip > div { padding: 22px 24px 28px 0; }
.data-strip > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.data-strip dt {
  font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1;
  letter-spacing: -0.01em;
}
.data-strip dt em, .tech dt em, .range-big em { font-style: normal; }
.data-strip dd { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.4; max-width: 26ch; }

/* ============ PRODUCT RANGE ============ */
.range-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.range-item { padding: 34px 32px 38px 0; display: flex; flex-direction: column; gap: 14px; }
.range-item + .range-item { padding-left: 32px; border-left: 1px solid var(--rule); }
.range-drawing { width: 100%; max-width: 260px; height: auto; margin-bottom: 10px; background: var(--white); border: 1px solid var(--rule); }
.range-drawing * { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.range-drawing .hatch { fill: url(#hatch); stroke-width: 1.6; }
.range-drawing .fabric { fill: var(--sheet-2); stroke-width: 1; }
.range-drawing .weave, .range-drawing .panel { stroke: var(--steel); stroke-width: 1; }
.range-drawing .solid, .range-drawing .louvres rect { fill: var(--ink); stroke: none; }
.range-drawing .dim { stroke-width: 0.9; }
.range-drawing .ground { stroke-width: 2; }
.range-item h3 { font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.range-item p { color: var(--ink-2); font-size: 15px; max-width: 40ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.chips li {
  font-family: var(--display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 3px 9px 2px;
  background: var(--white);
}
.range-total {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center;
  padding: 40px 0 0;
}
.range-big { font-family: var(--display); font-weight: 300; font-size: clamp(56px, 7vw, 104px); line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.range-big em { font-weight: 700; }
.range-label { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 15px; margin-bottom: 8px; }
.range-total p:not(.range-big):not(.range-label) { color: var(--ink-2); max-width: 60ch; }

/* ============ PLATFORM ============ */
.platform { background: var(--white); }
.flow {
  display: flex; flex-wrap: wrap;
  margin-bottom: 56px;
  border: 1.5px solid var(--ink);
}
.flow li {
  flex: 1 1 0; min-width: 120px;
  position: relative;
  padding: 16px 14px 14px 20px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.03em; text-transform: uppercase;
  border-top: 6px solid;
}
.flow li + li { border-left: 1px solid var(--rule); }
.flow li + li::before {
  content: ''; position: absolute; left: -6px; top: 50%;
  width: 10px; height: 10px; margin-top: -2px;
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
  background: var(--white);
  transform: rotate(45deg);
}
.f-sell { border-top-color: var(--sell) !important; }
.f-produce { border-top-color: var(--produce) !important; }
.f-install { border-top-color: var(--install) !important; }
.f-service { border-top-color: var(--service) !important; }

.chapters { border-top: 1.5px solid var(--ink); }
.chapter {
  display: grid;
  grid-template-columns: 72px 5fr 7fr;
  border-bottom: 1.5px solid var(--ink);
  scroll-margin-top: 80px;
}
.ch-tab {
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 26px;
  font-family: var(--display); font-weight: 700; font-size: 30px;
}
.ch-sell .ch-tab { background: var(--sell); color: var(--ink); }
.ch-produce .ch-tab { background: var(--produce); color: var(--white); }
.ch-install .ch-tab { background: var(--install); color: var(--white); }
.ch-service .ch-tab { background: var(--service); color: var(--white); }
.ch-intro { padding: 30px 40px 36px 32px; border-right: 1px solid var(--rule); }
.ch-intro h3 { font-size: clamp(48px, 5.6vw, 84px); line-height: 0.9; text-transform: uppercase; margin-bottom: 18px; }
.ch-intro p { font-size: 17px; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.ch-intro .ch-part {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule);
  font-size: 15px; color: var(--ink-2);
}
.ch-part .pos { flex: none; translate: 0 -1px; }
.ch-part strong { color: var(--ink); font-weight: 600; }
.ch-list { padding: 22px 0 22px 32px; align-self: center; }
.ch-list li {
  display: grid; grid-template-columns: 28px 1fr; align-items: baseline;
  padding: 10px 0;
  font-size: 15px; line-height: 1.4;
  border-bottom: 1px solid var(--rule);
}
.ch-list li:last-child { border-bottom: 0; }
.ch-list li::before {
  content: ''; width: 12px; height: 12px; translate: 0 1px;
  border: 1.2px solid var(--ink);
}
.ch-sell .ch-list li::before { background: var(--sell); }
.ch-produce .ch-list li::before { background: var(--produce); }
.ch-install .ch-list li::before { background: var(--install); }
.ch-service .ch-list li::before { background: var(--service); }

/* ============ WHY + TRUST ============ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.why-col { padding: 36px 48px 8px 0; display: flex; flex-direction: column; gap: 16px; }
.why-col + .why-col { padding: 36px 0 8px 48px; border-left: 1px solid var(--rule); }
.why-col h3 { font-size: 30px; line-height: 1.05; text-transform: uppercase; margin-bottom: 4px; }
.why-col p { color: var(--ink-2); max-width: 56ch; }
.why-col strong { color: var(--ink); font-weight: 600; }
.spec { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.spec > div + div { border-left: 1px solid var(--rule); padding-left: 16px; }
.spec dt { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.spec dd { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; margin-top: 2px; }
.status {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ink);
  display: flex; align-items: center; gap: 12px; font-size: 15px;
}
.status svg { width: 20px; height: 20px; flex: none; }
.status rect { fill: var(--white); stroke: var(--ink); stroke-width: 1.4; }
.status .fill { fill: var(--ink); }

/* ============ INTEGRATIONS ============ */
.compat { width: 100%; border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.compat th {
  width: 30%; text-align: left; vertical-align: baseline;
  padding: 22px 24px 22px 0;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.compat td { padding: 18px 0; }
.compat tr { border-bottom: 1px solid var(--rule); }
.compat ul { display: flex; flex-wrap: wrap; gap: 4px 0; }
.compat li { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.compat li:not(:last-child)::after { content: '/'; color: var(--steel); font-weight: 300; margin: 0 14px; }

.boundary { margin-top: 72px; }
.boundary h3 { font-size: 30px; line-height: 1.05; text-transform: uppercase; margin-bottom: 24px; }
.boundary-diagram { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: stretch; }
.bd-side { padding: 26px 28px; border: 1.5px solid var(--ink); }
.bd-ours { background: var(--white); }
.bd-theirs {
  background-color: var(--sheet);
  background-image: repeating-linear-gradient(45deg, transparent 0 6px, rgba(141,149,155,.35) 6px 7px);
}
.bd-title { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.bd-side p:not(.bd-title) { color: var(--ink-2); font-size: 15px; }
.bd-theirs p:not(.bd-title) { color: var(--ink); }
.bd-joint svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.boundary-text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 28px; }
.boundary-text p { color: var(--ink-2); max-width: 60ch; }

/* ============ ORIGIN ============ */
.origin { padding-top: 0; }
.origin-photo { position: relative; margin: 0 0 96px; border-bottom: 1.5px solid var(--ink); }
.origin-photo img { width: 100%; height: clamp(360px, 58vh, 680px); object-fit: cover; }
.origin-photo figcaption {
  position: absolute; left: var(--gutter); bottom: 0;
  background: var(--sheet); border: 1.5px solid var(--ink); border-bottom: 0;
  padding: 8px 14px 6px;
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.origin-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.origin-portrait { border: 1.5px solid var(--ink); background: var(--white); }
.origin-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.origin-portrait figcaption {
  padding: 9px 14px 8px; border-top: 1.5px solid var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.origin-text p { font-size: 22px; line-height: 1.5; margin-bottom: 22px; max-width: 54ch; text-wrap: pretty; }
.origin-text .origin-close {
  margin-top: 36px; padding-top: 24px; border-top: 1.5px solid var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.2;
}
.origin-text .origin-close em { font-style: normal; }

/* ============ TECHNICAL DATA ============ */
.numbers { background: var(--white); }
.tech { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 1.5px solid var(--ink); }
.tech > div {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.tech dt { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -0.01em; }
.tech dd span { display: block; font-size: 17px; font-weight: 500; }
.tech dd small {
  display: block; margin-top: 3px;
  font-family: var(--display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
}

/* ============ TEAM ============ */
.mosaic {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px;
  gap: 12px;
}
.mosaic figure { position: relative; border: 1.5px solid var(--ink); overflow: hidden; background: var(--sheet-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 0; bottom: 0; max-width: calc(100% - 24px);
  background: var(--sheet); border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
  padding: 6px 10px 4px;
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
}
.m1 { grid-column: 1; grid-row: 1 / span 2; }
.team-foot { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; margin-top: 28px; align-items: baseline; }
.team-foot p { color: var(--ink-2); max-width: 60ch; }
.team-foot strong { color: var(--ink); font-weight: 600; }
.team-foot .credit { font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* ============ CONTACT: order form ============ */
.contact { background: var(--sheet-2); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(44px, 5.3vw, 82px); line-height: 0.95; text-transform: uppercase; margin-bottom: 24px; }
.contact-fiega { margin-top: 28px; font-size: 15px; color: var(--ink-2); }

.order-form { background: var(--white); border: 1.5px solid var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cell {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid var(--ink);
  transition: background .2s;
}
.cell:nth-child(odd):not(.cell-full) { border-right: 1px solid var(--ink); }
.cell-full { grid-column: 1 / -1; }
.cell:focus-within { background: var(--sheet); box-shadow: inset 0 -3px 0 var(--ink); }
.cell-label {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.cell input, .cell select, .cell textarea {
  width: 100%; border: 0; background: transparent;
  font-size: 17px; padding: 4px 0;
  outline: none; appearance: none; -webkit-appearance: none; border-radius: 0;
}
.cell textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.cell select {
  cursor: pointer; padding-right: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' width='12' height='8'><path fill='none' stroke='%23121518' stroke-width='1.6' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat; background-position: right 2px center;
}
.cell ::placeholder, .cell input::placeholder, .cell textarea::placeholder { color: var(--muted); opacity: 1; }
.cell:has(:user-invalid) { box-shadow: inset 0 -3px 0 var(--ink); background: var(--sheet); }
.cell:has(:user-invalid) .cell-label { color: var(--ink); }
.cell:has(:user-invalid) .cell-label::after { content: ' *'; }
.form-submit { width: 100%; justify-content: space-between; border: 0; padding: 20px 18px 19px; font-size: 22px; }
.form-status {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; border-top: 1.5px solid var(--ink);
}
.form-status[hidden] { display: none; }
.form-status-title { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.03em; }
.form-status-body { font-size: 15px; color: var(--ink-2); }
.form-status.is-error { background: var(--sheet); }

/* ============ FOOTER ============ */
.foot { background: var(--ink); color: rgba(241,242,239,.78); padding: 64px 0 32px; font-size: 15px; }
.foot .brand-name { color: var(--sheet); }
.foot .brand-name span { color: rgba(241,242,239,.55); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand p { margin-top: 16px; max-width: 38ch; }
.foot h2 {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(241,242,239,.55);
  margin-bottom: 14px;
}
.foot ul { display: flex; flex-direction: column; gap: 8px; }
.foot a { color: var(--sheet); transition: color .2s; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(241,242,239,.2);
  font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(241,242,239,.6);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  :root { --tabs: 0px; --gutter: 32px; }
  .tabs {
    position: sticky; top: var(--top-h, 58px); right: auto;
    transform: none; flex-direction: row; gap: 2px;
    overflow-x: auto; scrollbar-width: none;
    background: var(--sheet); border-bottom: 1.5px solid var(--ink);
  }
  .tabs::-webkit-scrollbar { display: none; }
  /* scroll cue: the strip fades out at the right edge while more tabs are off-canvas */
  .tabs { mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .tabs.at-end { mask-image: none; }
  .tab {
    writing-mode: horizontal-tb; transform: none; translate: 0 0;
    width: auto; flex: 1 0 auto; padding: 9px 14px 8px; font-size: 13px;
    border-bottom: 4px solid transparent;
  }
  .tab.is-active { outline: 0; border-bottom-color: var(--ink); }
  .nav-links { display: none; }
  .hero-grid, .sheet-head, .contact-grid, .origin-grid, .range-total, .team-foot, .boundary-text { grid-template-columns: 1fr; gap: 36px; }
  .hero-sheet { max-width: 720px; }
  .sheet-head { margin-bottom: 48px; }
  .data-strip { grid-template-columns: repeat(2, 1fr); }
  .data-strip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .data-strip > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .chapter { grid-template-columns: 56px 1fr; }
  .ch-intro { border-right: 0; padding-bottom: 8px; }
  .ch-list { grid-column: 2; padding: 0 32px 24px; }
  .tech { grid-template-columns: 1fr; }
  .team-foot .credit { text-align: left; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .sheet { padding: 80px 0; }
  .top-inner { padding: 10px var(--gutter); gap: 12px; }
  .brand-name span { display: none; }
  .nav-right { gap: 10px; }
  .hero { padding-top: 40px; }
  .hero-title { font-size: 44px; }
  .section-drawing { padding: 14px 8px 2px; }
  .parts-table thead { display: none; }
  .parts-table tbody, .parts-table tr, .parts-table td { display: block; }
  .parts-table tr {
    display: grid; grid-template-columns: 34px 1fr; column-gap: 8px;
    padding: 11px 12px; border-bottom: 1px solid var(--rule);
  }
  .parts-table tr:last-child { border-bottom: 0; }
  .parts-table td { padding: 0; border: 0; }
  .parts-table td:nth-child(1) { grid-row: 1 / span 3; }
  .parts-table td:nth-child(2) { white-space: normal; }
  .parts-table td:nth-child(3) { font-size: 13px; color: var(--muted); margin: 1px 0 2px; }
  .hero-ctas .btn { width: 100%; justify-content: space-between; }
  .hero-sub { margin-bottom: 28px; }
  .hero-title { margin-bottom: 20px; }
  .data-strip { margin-top: 48px; }
  .data-strip > div, .data-strip > div + div { padding: 18px 12px 20px 0; }
  .data-strip > div:nth-child(even) { padding-left: 14px; }
  .data-strip dt { font-size: 30px; }
  .range-grid, .why-grid { grid-template-columns: 1fr; }
  .range-item, .range-item + .range-item { padding: 28px 0; border-left: 0; }
  .range-item + .range-item { border-top: 1px solid var(--rule); }
  .why-col, .why-col + .why-col { padding: 28px 0 8px; border-left: 0; }
  .why-col + .why-col { border-top: 1px solid var(--rule); margin-top: 28px; }
  .flow li { flex: 1 1 45%; }
  .flow li:nth-child(odd)::before { display: none; }
  .flow li:nth-child(odd) { border-left: 0; }
  .chapter { grid-template-columns: 44px 1fr; }
  .ch-tab { font-size: 22px; padding-top: 22px; }
  .ch-intro { padding: 22px 0 6px 18px; }
  .ch-list { padding: 0 0 18px 18px; }
  .compat th, .compat td { display: block; width: auto; }
  .compat th { padding: 18px 0 4px; }
  .compat td { padding: 0 0 18px; }
  .compat li { font-size: 22px; }
  .compat li:not(:last-child)::after { margin: 0 10px; }
  .boundary-diagram { grid-template-columns: 1fr; }
  .bd-joint { height: 40px; }
  .bd-joint svg { transform: rotate(90deg); width: 40px; height: 40px; margin: 0 auto; display: block; }
  .tech > div { grid-template-columns: 110px 1fr; gap: 14px; }
  .tech dt { font-size: 44px; }
  .origin-photo { margin-bottom: 64px; }
  .origin-photo figcaption { left: var(--gutter); }
  .origin-text p { font-size: 19px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 170px 170px; gap: 8px; }
  .m1 { grid-column: 1 / span 2; grid-row: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .cell:nth-child(odd):not(.cell-full) { border-right: 0; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ============ MOTION / PRINT ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
@media print {
  nav.top, .tabs, .contact, .foot { display: none; }
  body { background: #fff; }
  .sheet { padding: 32px 0; break-inside: avoid; }
}
