/* ============================================================
   CUPRORA — design system
   Test & assembly engineering / Warsaw
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --paper: #f2eee6;
  --paper-2: #e9e3d7;
  --paper-3: #dfd7c8;
  --ink: #14120f;
  --ink-2: #221f1a;
  --muted: #655c4f;
  --muted-2: #746a5c;
  --line: rgba(20, 18, 15, 0.14);
  --line-2: rgba(20, 18, 15, 0.28);
  --line-3: rgba(20, 18, 15, 0.5);
  --copper: #be783c;
  --copper-2: #a65f28;
  --copper-ink: #8a4e1e;
  --copper-pale: #e7c9a8;
  --dark: #100f0d;
  --dark-2: #191713;
  --dark-3: #24211c;
  --white: #fbf9f4;
  --signal: #2f6b4f;
  --signal-2: #8fbf9f;

  --header-h: 74px;
  --wrap: 1400px;
  --gutter: clamp(20px, 4.2vw, 64px);

  --f-display: "Archivo", "Archivo Black", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", "Consolas", "SFMono-Regular", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-plate: 0 48px 80px -24px rgba(0, 0, 0, 0.65), 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* dark surfaces re-map the low-contrast token */
.hero,
.section--dark,
.footer { --muted-2: #9a9082; }

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
.ico { width: 14px; height: 14px; flex: none; }
.link-arrow .ico { width: 16px; height: 16px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--copper); color: var(--dark); }

:focus-visible {
  outline: 2px solid var(--copper-ink);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.hero :focus-visible,
.footer :focus-visible { outline-color: var(--copper-pale); }

/* ---------- type ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 400;
}

.display {
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(3rem, 7.4vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2.h-xl,
.h-xl {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.05rem, 4.5vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3.h-lg,
.h-lg {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
}

.lead {
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
  text-wrap: pretty;
}

.section--dark .lead,
.hero .lead { color: #b7ae9f; }

em { font-style: normal; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 8.5vw, 132px);
  background: var(--paper);
}

.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--paper); }
.section--flush-top { padding-top: 0; }

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

.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.shead {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 3vw, 48px);
  margin-bottom: clamp(40px, 5vw, 74px);
}

.shead__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  padding-top: 8px;
}

.shead__meta .mono { color: var(--muted); }
.shead__body h2 { margin-bottom: 18px; }
.shead__body .lead { max-width: 60ch; }

.section--dark .shead__meta,
.section--dark .shead__meta .mono { color: var(--muted-2); }

/* technical grid / sheet background */
.sheet-grid {
  background-image:
    linear-gradient(to right, rgba(20, 18, 15, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 18, 15, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  background-position: -1px -1px;
}

.section--dark .sheet-grid,
.section--dark.sheet-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
}

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--paper);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header--solid {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.header:not(.header--solid) .logo__word { color: var(--white); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.logo__mark { width: 25px; height: 25px; color: var(--copper); }
.logo__word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--ink);
  padding-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 36px);
}

.nav__link {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 6px 0;
  opacity: 0.82;
  transition: opacity 0.2s;
}

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

.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link[aria-current="page"] { opacity: 1; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.lang a { opacity: 0.55; padding: 4px 2px; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { opacity: 1; color: var(--copper); }
.header--solid .lang a[aria-current="true"] { color: var(--copper-ink); }
.lang__sep { opacity: 0.3; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  background: none;
  cursor: pointer;
  position: relative;
  opacity: 0.9;
}
.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile nav */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--paper);
  color: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.4s var(--ease);
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; }
.mnav__list { border-top: 1px solid var(--line); }
.mnav__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.mnav__link .mono { color: var(--muted); font-size: 10px; }
.mnav__foot { display: grid; gap: 14px; padding-top: 28px; }
.mnav__foot a { font-size: 15px; }
.mnav__foot .mono { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--copper);
  --btn-fg: #16120d;
  --btn-bd: var(--copper);
}
.btn--primary:hover { --btn-bg: #cf8748; --btn-bd: #cf8748; }

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
}
.btn--ink:hover { --btn-bg: var(--ink-2); }

.btn--ghost-light {
  --btn-fg: var(--paper);
  --btn-bd: rgba(255, 255, 255, 0.32);
}
.btn--ghost-light:hover { --btn-bd: var(--paper); }

.btn--sm { padding: 11px 16px; font-size: 10px; }
.btn--lg { padding: 19px 30px; font-size: 11.5px; }
.btn--block { width: 100%; }

.btn__icon { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 5px;
  transition: border-color 0.2s, gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 13px; }
.section--dark .link-arrow:hover { border-color: var(--paper); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(28px, 4vw, 52px));
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* soft inner shading on the walls — no coloured glow */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 90px rgba(0, 0, 0, 0.42),
    inset 0 -70px 80px -40px rgba(0, 0, 0, 0.55);
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-bottom: clamp(20px, 2.6vw, 36px);
}

.hero__copy { padding-block: clamp(18px, 3vw, 48px); }

.hero h1 {
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(3.05rem, 6.6vw, 6.9rem);
  line-height: 0.89;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--copper); display: block; }

.hero__lead {
  font-size: clamp(1.02rem, 1.22vw, 1.2rem);
  line-height: 1.6;
  color: #b6ad9e;
  max-width: 47ch;
  margin-bottom: clamp(28px, 3.4vw, 42px);
}
.hero__lead strong { color: var(--paper); font-weight: 500; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.plate {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: clamp(10px, 1.4vw, 20px);
}

.plate__frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.plate__frame::before,
.plate__frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--copper);
}
.plate__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.plate__frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.plate picture { display: block; width: 100%; }
.plate__img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.55)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transform: translateZ(0);
}

.marker {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--copper);
  color: var(--copper-pale);
  background: rgba(16, 15, 13, 0.72);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  transform: translate(-50%, -50%);
}

.legend {
  position: absolute;
  left: -8px;
  bottom: 34px;
  display: none;
  flex-direction: column;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #a79e90;
  text-transform: uppercase;
  background: rgba(16, 15, 13, 0.72);
  border-left: 1px solid var(--copper);
  padding: 10px 12px;
  backdrop-filter: blur(2px);
}
.legend b { color: var(--copper-pale); font-weight: 400; }
.legend span { display: flex; gap: 8px; }

@media (min-width: 1180px) and (min-height: 760px) {
  .legend { display: flex; }
}

/* ---------- page hero (subpages) ---------- */
.phero {
  padding-top: calc(var(--header-h) + clamp(52px, 7vw, 96px));
  padding-bottom: clamp(44px, 6vw, 82px);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.phero--paper2 { background: var(--paper-2); }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.phero--no-aside .wrap { grid-template-columns: minmax(0, 1fr); }
.phero--no-aside h1 { max-width: 20ch; }
.phero__crumb {
  display: flex;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 26px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.phero__crumb span { opacity: 0.4; }
.phero h1 {
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  max-width: 16ch;
  text-wrap: balance;
}
.phero__lead {
  margin-top: 22px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.55;
}
.phero__aside {
  justify-self: end;
  width: 100%;
  max-width: 320px;
  border-top: 0;
  padding-top: 0;
}
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fact dt { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.fact dd { margin: 0; text-align: right; font-size: 13px; line-height: 1.4; }

/* ---------- problem / statement ---------- */
.statement {
  max-width: 24ch;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.statement .dim { color: var(--muted-2); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.problem {
  padding: 26px 30px 30px 0;
  border-right: 1px solid var(--line);
}
.problem + .problem { padding-left: 30px; }
.problem:last-child { border-right: 0; padding-right: 0; }
.problem__num { color: var(--copper-ink); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; }
.problem h3 { margin: 14px 0 10px; font-family: var(--f-display); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.problem p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- service rows ---------- */
.rows { border-top: 1px solid var(--line-2); }

.srow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1.25fr) 148px 30px;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.srow:hover { background: var(--paper-2); }
.srow__num {
  align-self: start;
  color: var(--muted-2);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding-top: 5px;
}
.srow__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.32rem, 1.85vw, 1.72rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.srow__title small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 7px;
  font-weight: 400;
}
.srow__desc { color: var(--muted); font-size: 14.5px; line-height: 1.58; max-width: 42ch; }
.srow__tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 4px 7px;
  color: var(--muted);
  white-space: nowrap;
}
.srow__arrow {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.srow__arrow svg { width: 10px; height: 10px; }
.srow:hover .srow__arrow { background: var(--copper); border-color: var(--copper); color: var(--dark); transform: translate(2px, -2px); }

/* ---------- matrix section ---------- */
.matrix-sec { background: var(--dark); color: var(--paper); }
.matrix-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.matrix-copy h2 { margin-bottom: 20px; }
.matrix-copy .lead { color: #b7ae9f; max-width: 44ch; }

.matrix-points { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.14); }
.mpoint { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mpoint__n { color: var(--copper); font-family: var(--f-mono); font-size: 10px; padding-top: 3px; }
.mpoint h3 { font-size: 14.5px; font-weight: 500; margin-bottom: 3px; }
.mpoint p { color: var(--muted-2); font-size: 12.8px; line-height: 1.5; }

.matrix {
  border: 1px solid rgba(255,255,255,.18);
  background: #0b0a09;
  position: relative;
}
.matrix__bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.matrix__bar b { color: var(--copper-pale); font-weight: 400; }
.matrix__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 26), 1fr);
  gap: 1px;
  padding: 12px;
  touch-action: pan-y;
  user-select: none;
  aspect-ratio: 26 / 16;
}
.cell {
  position: relative;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  aspect-ratio: 1;
  cursor: crosshair;
  transition: background-color 0.12s, box-shadow 0.12s, transform 0.12s;
}
.cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}
.cell:hover { background: rgba(190, 120, 60, 0.35); }
.cell.is-on {
  background: var(--copper);
  box-shadow: 0 0 0 2px rgba(190, 120, 60, 0.22), 0 0 10px rgba(190, 120, 60, 0.45);
}
.cell.is-on::after { border-color: var(--copper-pale); }
.cell:focus-visible { outline: 1px solid var(--white); outline-offset: 1px; z-index: 2; }

.matrix__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 13px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.matrix__presets { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  border: 1px solid rgba(255,255,255,.22);
  background: none;
  color: #cfc6b7;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 8px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { background: var(--copper); border-color: var(--copper); color: var(--dark); }
.matrix__legend { display: flex; align-items: center; gap: 7px; }
.matrix__legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); display: inline-block; }

.matrix-note {
  margin-top: 16px;
  color: var(--muted-2);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.matrix-note::before { content: "△"; color: var(--copper); }

/* ---------- comparison table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table caption {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  background: var(--paper-2);
}
.spec-table tbody th { font-weight: 500; width: 30%; color: var(--ink); }
.spec-table td { color: var(--muted); }
.spec-table td strong { color: var(--ink); font-weight: 500; }
.spec-table .col-hl { background: rgba(190, 120, 60, 0.07); }

/* ---------- steps ---------- */
.steps { position: relative; margin-top: 8px; }
.step {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(26px, 3.2vw, 40px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--copper);
}
.step__n small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); margin-top: 8px; text-transform: uppercase; font-weight: 400; }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 44ch; }
.step__out { display: flex; flex-direction: column; gap: 6px; }
.step__out .mono { color: var(--muted-2); font-size: 9px; margin-bottom: 3px; }
.step__out li { display: flex; gap: 9px; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.step__out li::before { content: "—"; color: var(--copper); flex-shrink: 0; }

/* ---------- cards / tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile {
  border: 1px solid var(--line-2);
  padding: 26px 24px 28px;
  background: var(--paper);
  position: relative;
  transition: border-color 0.25s, transform 0.3s var(--ease);
}
.tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.tile__k { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: 18px; }
.tile h3 { font-family: var(--f-display); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 9px; }
.tile p { color: var(--muted); font-size: 14px; line-height: 1.58; }
.tile__list { margin-top: 16px; border-top: 1px solid var(--line); }
.tile__list li { font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.tile__list b { color: var(--ink); font-weight: 500; }

/* ---------- pilot ---------- */
.pilot {
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
}
.pilot::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 44px; height: 44px;
  border-top: 3px solid var(--copper);
  border-left: 3px solid var(--copper);
}
.pilot__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--copper-ink);
  color: var(--copper-ink);
  padding: 6px 9px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.pilot h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); margin-bottom: 16px; max-width: 18ch; }
.pilot p { color: var(--muted); max-width: 52ch; font-size: 15px; }
.pilot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.pilot__cols h3 { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; font-weight: 400; }
.pilot__cols li { font-size: 13.5px; line-height: 1.5; padding: 6px 0; display: flex; gap: 8px; }
.pilot__cols li::before { content: "+"; color: var(--copper-ink); }
.pilot__cta { display: flex; flex-direction: column; justify-content: center; gap: 36px; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.pilot__stat { display: flex; align-items: baseline; gap: 14px; }
.pilot__stat b { font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--copper-2); font-weight: 600; }
.pilot__stat span { font-size: 13px; color: var(--muted); max-width: 16ch; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.faq summary .plus::before { top: 6px; left: 0; width: 14px; height: 1px; }
.faq summary .plus::after { left: 6px; top: 0; width: 1px; height: 14px; }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq .faq__a { padding: 0 40px 26px 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; max-width: 78ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--copper); color: var(--dark); position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20,18,15,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,18,15,.07) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-band .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 16px 40px;
  align-items: end;
}
.cta-band__title {
  grid-column: 1 / -1;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0;
}
.cta-band__title--nowrap { white-space: nowrap; }
.cta-band p { grid-column: 1; grid-row: 2; font-size: 15.5px; max-width: 52ch; color: rgba(20,18,15,.78); }
.cta-band__actions { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }
.cta-band .btn--ink { --btn-bg: var(--dark); --btn-fg: var(--paper); }
.cta-band__small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(20,18,15,.6); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #b8af9f; padding-top: clamp(52px, 6vw, 80px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 56px; }
.footer__brand p { margin-top: 18px; max-width: 30ch; font-size: 13.5px; line-height: 1.6; color: var(--muted-2); }
.footer__col h3 { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: #8d8476; margin-bottom: 14px; font-weight: 400; }
.footer__col li { padding: 5px 0; font-size: 13.5px; }
.footer__col a:hover { color: var(--paper); }
.footer__col .small { font-size: 12px; color: var(--muted-2); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d8476;
}
.footer__mega {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 15rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.055);
  padding: clamp(20px, 3.6vw, 52px);
  margin-bottom: 0;
  user-select: none;
  white-space: nowrap;
}

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--copper-ink); }
.field input,
.field select,
.field textarea {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  border-radius: 0;
  width: 100%;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 0; border-bottom-color: var(--copper-ink); }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); opacity: 0.65; }
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 18px, calc(100% - 5px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field select option {
  background-color: var(--paper);
  color: var(--ink);
}
.field select option:checked {
  background-color: var(--copper);
  color: var(--ink);
}

/* custom select — full control over the open list */
.select { position: relative; }
.select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: none;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s;
}
.select__trigger:hover { border-bottom-color: var(--line-3); }
.select.is-open .select__trigger { border-bottom-color: var(--copper-ink); }
.select__arrow { display: flex; color: var(--ink); transition: transform 0.25s var(--ease); }
.select__arrow .ico { width: 13px; height: 13px; }
.select.is-open .select__arrow { transform: rotate(180deg); }
.select__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #100f0d;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  max-height: 300px;
  overflow: auto;
}
.select__menu[hidden] { display: none; }
.select__option {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  color: #e9e3d7;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}
.select__option:hover,
.select__option:focus { background: var(--copper); color: #100f0d; outline: 0; }
.select__option[aria-selected="true"] { color: var(--copper-pale); }
.select__option[aria-selected="true"]::after { content: "✓"; font-family: var(--f-mono); font-size: 11px; }
.select__option[aria-selected="true"]:hover,
.select__option[aria-selected="true"]:focus { color: #100f0d; }

@media (max-width: 560px) {
  .select__menu { max-height: 240px; }
}
.field__hint { font-size: 11.5px; color: var(--muted-2); line-height: 1.4; }
.field__err { color: #8f2f1f; font-size: 11.5px; min-height: 0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #8f2f1f; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__note { font-size: 11.5px; color: var(--muted); max-width: 40ch; line-height: 1.5; }
.form__status { font-size: 13px; padding: 12px 0; color: var(--signal); }

/* ---------- misc ---------- */
.kicker { color: var(--copper-ink); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip-link:focus { left: 12px; top: 12px; }

.note-box {
  border-left: 2px solid var(--copper);
  padding: 4px 0 4px 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 60ch;
}
.note-box strong { color: var(--ink); font-weight: 500; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat { padding: 24px 20px 26px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 20px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 12px; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- offer page ---------- */
.anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.anchors a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px 14px 0;
  margin-right: 20px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--line);
  transition: color 0.2s;
}
.anchors a span { color: var(--copper-ink); }
.anchors a:hover { color: var(--ink); }
.anchors a:last-child { border-right: 0; }

.svc {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 8.8fr);
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__head { position: sticky; top: 100px; align-self: start; }
.svc__head .svc__n { color: var(--copper-ink); display: block; margin-bottom: 12px; }
.svc__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  max-width: 12ch;
}
.svc__sub { color: var(--muted); margin-top: 10px; font-size: 9px; }
.svc__body { max-width: 74ch; }
.svc__body .lead { margin-bottom: 16px; font-size: 1.08rem; color: var(--ink); }
.svc__text { color: var(--muted); font-size: 14.8px; line-height: 1.65; }
.svc__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.svc__cols h3 { color: var(--muted); margin-bottom: 10px; font-size: 9px; }
.dash li {
  display: flex;
  gap: 9px;
  padding: 5px 0;
  font-size: 13.2px;
  line-height: 1.5;
  color: var(--ink-2);
}
.dash li::before { content: "—"; color: var(--copper); flex: none; }
.svc__foot { border-left: 2px solid var(--line-2); padding-left: 16px; display: grid; gap: 8px; }
.svc__foot p { font-size: 12.8px; line-height: 1.55; color: var(--muted); }
.svc__foot b { color: var(--ink); font-weight: 500; }

.limits { border-top: 1px solid var(--line); }
.limits li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.limits li::before { content: "×"; color: var(--copper-ink); font-family: var(--f-mono); }

.calc {
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  padding: clamp(24px, 3vw, 36px);
  align-self: start;
}
.calc__k { color: var(--copper-ink); margin-bottom: 16px; }
.calc h3 {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.calc > p { color: var(--muted); font-size: 13.8px; line-height: 1.6; }
.calc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; border-top: 1px solid var(--line); padding-top: 18px; }
.calc__stats b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--copper-2);
  margin-bottom: 7px;
}
.calc__stats span { font-size: 11.5px; color: var(--muted); line-height: 1.45; display: block; }
.calc__note { font-size: 11.5px !important; color: var(--muted-2) !important; border-top: 1px solid var(--line); padding-top: 14px; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .svc { grid-template-columns: 1fr; gap: 18px; }
  .svc__head { position: static; }
  .svc__title { max-width: none; }
  .svc__cols { grid-template-columns: 1fr; }
  .tiles--3 { grid-template-columns: 1fr; }
  .anchors a { padding-right: 14px; margin-right: 14px; border-right: 0; }
}
@media (max-width: 560px) {
  .calc__stats { grid-template-columns: 1fr; }
}

/* ---------- technology page ---------- */
.stack {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.stack__fig {
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: clamp(12px, 2vw, 24px);
  position: relative;
}
.stack__fig::before,
.stack__fig::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--copper);
}
.stack__fig::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.stack__fig::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.stack__fig svg { width: 100%; height: auto; }
.stack__side .lead { font-size: 1rem; }
.layers { margin-top: 26px; border-top: 1px solid var(--line); }
.layers li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.layers .mono { color: var(--copper-ink); font-size: 9px; padding-top: 2px; }
.layers p { font-size: 12.8px; color: var(--muted); line-height: 1.5; }

.table-wrap { overflow-x: auto; }
.spec-table { min-width: 620px; }

.plate-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: clamp(24px, 3.4vw, 44px);
  margin-top: clamp(28px, 4vw, 44px);
  position: relative;
}
.plate-calc::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 40px; height: 40px;
  border-top: 3px solid var(--copper);
  border-left: 3px solid var(--copper);
}
.plate-calc > div > p { color: var(--muted); font-size: 13.8px; line-height: 1.65; max-width: 62ch; }
.plate-calc__note { margin-top: 14px; font-size: 11.5px !important; color: var(--muted-2) !important; border-top: 1px solid var(--line); padding-top: 12px; }
.plate-calc__fig { display: flex; align-items: center; }
.eq { width: 100%; border-left: 1px solid var(--line); padding-left: 26px; }
.eq > span { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-bottom: 18px; }
.eq b { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--copper-2); }
.eq em { display: block; font-style: normal; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 4px 0 16px; }
.eq small { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .06em; color: var(--muted-2); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 10px; }

.mats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.mat { padding: 18px 24px 20px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.mat:nth-child(2n) { padding-left: 24px; padding-right: 0; border-right: 0; }
.mat .mono { color: var(--copper-ink); font-size: 9px; }
.mat p { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.pin-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.pin { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.pin:nth-child(2n) { padding-left: 26px; padding-right: 0; border-right: 0; }
.pin__n { font-family: var(--f-mono); font-size: 9px; color: var(--copper-ink); letter-spacing: .1em; padding-top: 3px; }
.pin h3 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.pin p { color: var(--muted); font-size: 13.2px; line-height: 1.55; }

.pin-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 34px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-2);
  background: var(--paper-2);
}
.pin-note h3 { margin-bottom: 10px; }
.pin-note p { color: var(--muted); font-size: 13.2px; line-height: 1.6; }
.pin-note__table { border-top: 1px solid var(--line-2); align-self: start; }
.pin-note__table div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pin-note__table span { font-size: 12px; color: var(--ink); }
.pin-note__table b { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .04em; color: var(--muted); font-weight: 400; text-align: right; }

.protocol { border-top: 1px solid rgba(255,255,255,.18); }
.protocol li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 13.6px;
  line-height: 1.5;
  color: #c6bdb0;
}
.protocol li::before {
  content: "";
  width: 11px; height: 6px;
  margin-top: 6px;
  border-left: 1.5px solid var(--copper);
  border-bottom: 1.5px solid var(--copper);
  transform: rotate(-45deg);
  flex: none;
}

.evidence { border-left: 2px solid var(--copper); padding-left: clamp(20px, 3vw, 34px); align-self: start; }
.evidence__q {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -.012em;
  color: var(--ink);
  margin-bottom: 18px;
}
.evidence__sign { font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 980px) {
  .stack { grid-template-columns: 1fr; }
  .plate-calc { grid-template-columns: 1fr; }
  .plate-calc__fig { border-top: 1px solid var(--line); padding-top: 20px; }
  .eq { border-left: 0; padding-left: 0; }
  .mats, .pin-grid, .pin-note { grid-template-columns: 1fr; }
  .mat, .mat:nth-child(2n), .pin, .pin:nth-child(2n) { padding-left: 0; padding-right: 0; border-right: 0; }
}

/* ---------- matrix page ---------- */
.status-panel {
  margin-top: 26px;
  border-left: 2px solid var(--copper);
  padding-left: 16px;
}
.status-panel .mono { color: var(--copper-ink); }
.status-panel p { margin-top: 6px; color: var(--muted); font-size: 12.8px; line-height: 1.55; }

.msteps { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.mstep { padding: 24px 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mstep__n { color: var(--copper-ink); display: block; margin-bottom: 12px; }
.mstep h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.mstep p { color: var(--muted); font-size: 13.2px; line-height: 1.55; }

.cassette {
  margin: 40px 0 0;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: clamp(14px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  gap: 24px;
  align-items: center;
}
.cassette__fig svg { width: 100%; height: auto; }
.cassette__cap { border-left: 1px solid var(--line); padding-left: 24px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.cassette__cap > p { color: var(--copper-ink); font-size: 9px; margin-bottom: 14px; }
.cassette__cap li { font-size: 12.3px; line-height: 1.5; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; gap: 6px; }
.cassette__cap li:last-child { border-bottom: 0; }
.cassette__cap b { color: var(--ink); font-weight: 500; }

.variants { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.variant { padding: 26px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.variant--rec { background: var(--paper-2); }
.variant--rec::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--copper); }
.variant__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.variant__top .mono { color: var(--muted); font-size: 8.5px; }
.variant--rec .variant__top .mono { color: var(--copper-ink); }
.variant__dot { width: 6px; height: 6px; background: var(--copper); border-radius: 50%; }
.variant h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 9px; }
.variant p { color: var(--muted); font-size: 13.2px; line-height: 1.58; }

.open { border-top: 1px solid var(--line); }
.open li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.open li::before { content: "?"; color: var(--copper-ink); font-family: var(--f-mono); font-size: 11px; }

.plan { border-top: 1px solid var(--line-2); }
.plan__row { display: grid; grid-template-columns: 32px 110px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.plan__row .mono { color: var(--copper-ink); font-size: 9px; }
.plan__row h4 { font-family: var(--f-display); font-size: .92rem; font-weight: 600; }
.plan__row p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

.ipbox { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); padding-top: 8px; }
.ipbox p { color: #b7ae9f; font-size: 14px; line-height: 1.65; }
.ipbox a { color: var(--copper-pale); text-decoration: underline; text-underline-offset: 3px; }
.ipbox__note { margin-top: 18px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }

.cta-split { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.cta-split h2 { max-width: 22ch; }

@media (max-width: 980px) {
  .msteps, .variants { grid-template-columns: 1fr; }
  .ipbox { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; align-items: start; }
  .plan__row { grid-template-columns: 28px 1fr; }
  .plan__row p { grid-column: 2; }
  .cassette { grid-template-columns: 1fr; }
  .cassette__cap { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 18px; }
}

/* ---------- process page ---------- */
.stages { border-top: 1px solid var(--line-2); }
.stage {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 3.4vw, 42px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.stage__n {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--copper);
}
.stage__main h3 { font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -.015em; margin-bottom: 8px; }
.stage__main p { color: var(--muted); font-size: 13.8px; line-height: 1.6; max-width: 42ch; }
.stage__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stage__lists .mono { color: var(--muted-2); font-size: 8.5px; display: block; margin-bottom: 8px; }
.stage__lists .dash li { font-size: 12.4px; padding: 3px 0; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.check { padding: 18px 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.check .mono { color: var(--copper-ink); font-size: 9px; }
.check p { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin-top: 6px; }

.risks { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.risk { padding: 24px 26px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.risk h3 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.risk p { color: var(--muted); font-size: 13px; line-height: 1.55; }

.comm h2 { max-width: 20ch; }
.comm__text { font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.35; letter-spacing: -.018em; color: #c6bdb0; max-width: 34ch; }

@media (max-width: 980px) {
  .stage { grid-template-columns: 56px 1fr; }
  .stage__lists { grid-column: 2; margin-top: 8px; }
  .checklist, .risks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stage__lists { grid-template-columns: 1fr; }
}

/* ---------- about page ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story__text p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 18px; max-width: 66ch; }
.story__text p:first-child { color: var(--ink); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.story__text p:last-child { margin-bottom: 0; }

.whats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.what { padding: 22px 24px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.what .mono { color: var(--copper-ink); font-size: 9px; }
.what p { color: var(--muted); font-size: 12.8px; line-height: 1.55; margin-top: 8px; }

.principles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.principle { padding: 26px 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle .mono { color: var(--copper-ink); font-size: 9px; }
.principle h3 { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; margin: 12px 0 8px; letter-spacing: -.01em; }
.principle p { color: var(--muted); font-size: 13.2px; line-height: 1.58; }
.status-text { color: #c6bdb0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 52ch; }

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__form { max-width: 640px; }
.contact__form .form { gap: 20px; }
.contact__form .btn .ico { width: 13px; height: 13px; }
.contact__aside { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.contact__box { border-top: 0; padding-top: 0; }
.contact__box .mono { color: var(--muted); margin-bottom: 14px; display: block; }
.contact__big { display: block; font-family: var(--f-display); font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 500; letter-spacing: -.02em; padding: 5px 0; transition: color .2s; }
.contact__big:hover { color: var(--copper-ink); }
.contact__city { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.contact__note { color: var(--muted); font-size: 12.8px; line-height: 1.6; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.contact__what { margin-top: 34px; }
.contact__what > .mono { color: var(--muted); display: block; margin-bottom: 14px; }
.after { display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.after .mono { color: var(--copper-ink); font-size: 9px; padding-top: 3px; grid-row: span 2; }
.after h3 { font-family: var(--f-display); font-size: .95rem; font-weight: 600; }
.after p { color: var(--muted); font-size: 12.3px; line-height: 1.5; }
.privacy { margin-top: 26px; color: var(--muted-2); font-size: 11px; line-height: 1.5; max-width: 58ch; }
.contact + .section .faq summary { font-size: 1rem; }

@media (max-width: 980px) {
  .story, .contact { grid-template-columns: 1fr; }
  .contact__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .whats { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .whats { grid-template-columns: 1fr; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- home additions ---------- */
.problem-after {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  gap: 40px;
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
  align-items: end;
}
.problem-after .statement { font-size: clamp(1.45rem, 2.7vw, 2.35rem); max-width: 30ch; }
.problem-after__side { justify-self: end; padding-bottom: 4px; }

.who { margin-top: clamp(44px, 6vw, 68px); border-top: 1px solid var(--line); padding-top: 22px; }
.who__label { color: var(--muted); margin-bottom: 20px; }
.who__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.who__item { border-right: 1px solid var(--line); padding-right: 22px; }
.who__item + .who__item { padding-left: 22px; }
.who__item:last-child { border-right: 0; padding-right: 0; }
.who__item h3 {
  font-family: var(--f-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}
.who__item p { color: var(--muted); font-size: 12.8px; line-height: 1.52; }

.section-link { margin-top: 34px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.matrix-status {
  margin-top: 26px;
  border-left: 2px solid var(--copper);
  padding-left: 14px;
  color: #b7ae9f;
  font-size: 12.5px;
  line-height: 1.55;
  max-width: 46ch;
}

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

@media (max-width: 980px) {
  .problem-after { grid-template-columns: 1fr; gap: 18px; }
  .problem-after__side { justify-self: start; }
  .who__grid { grid-template-columns: 1fr 1fr; }
  .who__item { border-right: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .who__item + .who__item { padding-left: 0; }
  .who__item:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
  .who__item:nth-last-child(-n+2) { border-bottom: 0; }
  .tiles--2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .who__grid { grid-template-columns: 1fr; }
  .who__item { border-left: 0 !important; padding-left: 0 !important; }
  .who__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .who__item:last-child { border-bottom: 0; }
}

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

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .hero__inner { grid-template-columns: 1.08fr 0.92fr; }
  .srow { grid-template-columns: 44px 1fr 1.1fr 30px; }
  .srow__tags { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav, .header__actions .btn { display: none; }
  .burger { display: block; }
  .header__actions { gap: 16px; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero__copy { padding-top: 24px; }
  .hero__visual { order: 2; margin-top: 8px; min-height: 0; }
  .plate { max-width: 460px; margin-inline: auto; }

  .phero .wrap { grid-template-columns: 1fr; }
  .phero__aside { justify-self: start; max-width: 100%; }

  .shead { grid-template-columns: 1fr; gap: 14px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .problem + .problem { padding-left: 0; }
  .problem:last-child { border-bottom: 0; }

  .matrix-layout { grid-template-columns: 1fr; }
  .matrix-copy { order: 2; }
  .matrix { order: 1; }

  .pilot { grid-template-columns: 1fr; }
  .pilot__cta { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; flex-direction: row; align-items: center; justify-content: space-between; }

  .cta-band .wrap { grid-template-columns: 1fr; grid-template-rows: auto; align-items: start; }
  .cta-band__title,
  .cta-band p,
  .cta-band__actions { grid-column: 1; grid-row: auto; }
  .cta-band__title--nowrap { white-space: normal; }
  .cta-band__actions { justify-self: start; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .two-col { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .srow { grid-template-columns: 36px 1fr 26px; gap: 12px; }
  .srow__desc { grid-column: 2 / -1; padding-top: 6px; }
  .srow__arrow { align-self: start; margin-top: 4px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px 18px; }
  .step__out { grid-column: 2 / -1; }
  .step__n { font-size: 2rem; }
  .pilot__cols { grid-template-columns: 1fr; }
  .pilot__cta { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .phero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .h-xl { font-size: clamp(1.9rem, 7.6vw, 2.6rem); }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .matrix__grid { padding: 8px; }
  .matrix__foot { align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer__mega { font-size: 14vw; padding: 20px; }
  .tiles { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .stat + .stat { padding-left: 0; }
  .fact dd { font-size: 12px; }
  .btn { padding: 14px 18px; }
}
