/* clavitor.com — corporate
   No web fonts, no trackers, no third-party requests. System faces only. */

:root {
  --black: #0A0A0A;
  --black-2: #141414;
  --black-3: #1E1E1E;
  --ink: #171717;
  --grey: #6B6B6B;
  --grey-2: #8A8A8A;
  --grey-3: #A3A3A3;
  --line: #E5E5E5;
  --line-dark: #262626;
  --paper: #FFFFFF;
  --paper-2: #FAFAFA;
  --paper-3: #F3F3F1;
  --red: #DC2626;
  --gold: #D4AF37;
  --green: #22C55E;
  --green-d: #16A34A;
  --amber: #CA8A04;

  --sans: "Inter", "Inter Variable", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", ui-serif, Georgia, serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }

/* ── Mark ─────────────────────────────────────────── */
.mark { display: inline-block; width: 14px; height: 14px; background: currentColor; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; }
.brand small { font-weight: 400; color: var(--grey-2); font-size: 13px; letter-spacing: 0; }

/* ── Top bar ──────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--black) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; }
.top nav { display: flex; gap: 28px; font-size: 14px; color: var(--grey-3); }
.top nav a { transition: color .15s; }
.top nav a:hover { color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--mono); letter-spacing: .02em;
  padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--grey-3); white-space: nowrap;
}
.pill:hover { border-color: #3a3a3a; color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2.4s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: max(620px, min(calc(100svh - 60px), 68vw));
  display: grid; align-items: end;
  background: var(--black); color: #fff;
  padding: 120px 0 clamp(56px, 7vw, 96px);
}
.hero > img, .hero > .ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > img { object-fit: cover; object-position: right center; filter: contrast(1.06) brightness(.9); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,10,10,.95) 0%, rgba(10,10,10,.7) 30%, rgba(10,10,10,.15) 62%, rgba(10,10,10,.35) 100%),
    linear-gradient(to right, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 55%);
}
.hero > .ov { z-index: 1; pointer-events: none; }
.hero .ov .box, .hero .ov .tick { animation: trace-in 1.6s .3s cubic-bezier(.6,0,.2,1) both; animation-timeline: auto; stroke-dasharray: 4000; }
.hero .ov .tag { animation: reveal-in .5s 1.5s both; animation-timeline: auto; }
@keyframes trace-in { from { stroke-dashoffset: 4000; } to { stroke-dashoffset: 0; } }
@keyframes reveal-in { from { opacity: 0; } to { opacity: 1; } }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-src { position: absolute; z-index: 2; right: var(--gutter); bottom: 20px; font: 400 11px/1.4 var(--mono); color: #8a8a8a; letter-spacing: .03em; text-align: right; max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); }
.hero .eyebrow { color: #cfcfcf; }
.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(3.2rem, 9.6vw, 8.6rem);
  line-height: .92; letter-spacing: -0.055em; font-weight: 700;
  max-width: 11ch; text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero h1 em { color: #D4D4D4; letter-spacing: -0.03em; }
.hero h1 .stop { color: var(--red); }
.lede {
  margin: 32px 0 0; max-width: 56ch;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; color: #D6D6D6; letter-spacing: -0.01em;
}
.lede strong { color: #fff; font-weight: 500; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; font-size: 15px; font-weight: 500; border-radius: var(--radius);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: #E8E8E8; }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

.ledger-band { background: var(--black); color: #fff; padding: 0; }
.ledger-band .ledger { margin-top: 0; border-top: 0; }
.ledger {
  margin-top: clamp(72px, 10vw, 128px);
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-dark);
}
.ledger div { padding: 28px 20px 36px 0; border-right: 1px solid var(--line-dark); }
.ledger div + div { padding-left: 20px; }
.ledger div:last-child { border-right: 0; }
.ledger b { display: block; font: 600 clamp(1.6rem, 3vw, 2.4rem)/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ledger b sup { font-size: .45em; color: var(--grey-2); margin-left: 2px; letter-spacing: 0; vertical-align: top; position: relative; top: .3em; }
.ledger span { display: block; margin-top: 10px; font-size: 13px; color: var(--grey-2); line-height: 1.4; }

/* ── Inner page hero ─────────────────────────────── */
.page-hero { position: relative; overflow: hidden; background: var(--black); color: #fff; padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 75% 20%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 75% 20%, #000 15%, transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { margin: 24px 0 0; font-size: clamp(3.4rem, 11vw, 9.5rem); line-height: .92; letter-spacing: -0.055em; font-weight: 700; }
.page-hero h1 em { color: #D4D4D4; letter-spacing: -0.03em; }
.page-hero h1 .stop { color: var(--red); }
.page-hero .eyebrow { color: #cfcfcf; }
.top nav a[aria-current="page"] { color: #fff; }
.ops-log p.more { margin-top: 16px; font-size: .92rem; line-height: 1.9; }
.ops-log p.more a { color: #fff; border-bottom: 1px solid #444; }
.ops-log p.more a:hover { border-color: #fff; }
.doctrine .num { text-transform: uppercase; }

/* ── Section scaffolding ─────────────────────────── */
section { padding: clamp(88px, 12vw, 160px) 0; }
.s-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.s-head .eyebrow { color: var(--grey); }
.s-head h2 {
  margin: 20px 0 0; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1; letter-spacing: -0.045em; font-weight: 700;
}
.s-head p { margin: 0; font-size: 1.125rem; color: var(--grey); max-width: 52ch; }
.dark { background: var(--black); color: #fff; }
.dark .s-head p { color: var(--grey-2); }
.dark .eyebrow { color: var(--grey-2); }
.tint { background: var(--paper-3); }

/* ── Doctrine ─────────────────────────────────────── */
.doctrine { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.doctrine article { padding: 32px 28px 8px 0; }
.doctrine article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.doctrine .num { font: 500 12px/1 var(--mono); color: var(--red); letter-spacing: .1em; }
.doctrine h3 { margin: 20px 0 12px; font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1.2; font-weight: 600; }
.doctrine p { margin: 0; color: var(--grey); font-size: .98rem; }

/* ── Portfolio ────────────────────────────────────── */
.products { border-top: 1px solid var(--line-dark); }
.product {
  position: relative; display: grid;
  grid-template-columns: 80px minmax(0, 1.05fr) minmax(0, 1.25fr) 200px;
  gap: 32px; align-items: start;
  padding: 48px 0; border-bottom: 1px solid var(--line-dark);
  transition: background .25s;
}
.product::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: 0;
  background: var(--black-2); opacity: 0; transition: opacity .25s;
}
.product:hover::before { opacity: 1; }
.product > * { position: relative; z-index: 1; }
.product .idx { font: 500 13px/1 var(--mono); color: var(--grey-2); padding-top: 12px; }
.product .kind { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.product h3 { margin: 12px 0 0; font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: .95; letter-spacing: -0.05em; font-weight: 700; }
.product .domain { display: inline-block; margin-top: 14px; font: 400 14px/1 var(--mono); color: var(--grey-2); }
.product .tag { margin: 6px 0 16px; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; color: #fff; letter-spacing: -0.01em; }
.product .body { margin: 0; color: #B5B5B5; font-size: 1rem; max-width: 56ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { font: 400 12px/1 var(--mono); color: var(--grey-3); padding: 8px 10px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.product .go {
  justify-self: end; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; padding: 13px 18px;
  border: 1px solid #333; border-radius: var(--radius); white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.product:hover .go { background: #fff; color: var(--black); border-color: #fff; }
.product.flagship h3 { font-size: clamp(3rem, 6.4vw, 5.4rem); }
.product .stack-note { margin-top: 18px; font-size: 13px; color: var(--grey-2); }
.product .stack-note b { color: #fff; font-weight: 500; }

/* ── Trust ────────────────────────────────────────── */
.controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.control { background: var(--paper); padding: 32px 32px 30px; display: grid; grid-template-rows: auto auto 1fr; }
.control header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.control h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.025em; font-weight: 600; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px; white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-green { color: var(--green-d); background: #ECFDF3; }
.st-gold  { color: #8A6D12; background: #FBF5E1; }
.st-ink   { color: var(--ink); background: var(--paper-3); }
.control .ref { margin: 14px 0 0; font: 400 12px/1.5 var(--mono); color: var(--grey-2); }
.control p { margin: 12px 0 0; color: var(--grey); font-size: .98rem; }
.control p strong { color: var(--ink); font-weight: 600; }

.appliance {
  margin-top: 48px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start;
  background: var(--black); color: #fff; padding: clamp(36px, 6vw, 72px);
}
.appliance::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px;
  border: 1px solid #262626; box-shadow: 0 0 0 60px rgba(255,255,255,.015), 0 0 0 120px rgba(255,255,255,.012);
  transform: rotate(45deg); pointer-events: none;
}
.appliance .eyebrow { color: var(--gold); }
.appliance .eyebrow::before { background: var(--gold); }
.appliance h3 { margin: 20px 0 0; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.appliance p { margin: 0 0 24px; color: #B5B5B5; font-size: 1.05rem; }
.appliance ul { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 10px; position: relative; z-index: 1; }
.appliance li { display: flex; gap: 12px; font-size: .98rem; color: #DADADA; }
.appliance li::before { content: "■"; color: var(--gold); font-size: 8px; line-height: 2.9; }
.appliance .btn { position: relative; z-index: 1; }

.assurance { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--ink); }
.assurance div { padding: 28px 28px 0 0; }
.assurance div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.assurance b { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -0.045em; line-height: 1; font-weight: 700; }
.assurance span { display: block; margin-top: 12px; color: var(--grey); font-size: .95rem; }

/* ── Fleet ────────────────────────────────────────── */
.board { border: 1px solid var(--line-dark); background: var(--black-2); }
.board-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; border-bottom: 1px solid var(--line-dark);
  font: 400 12px/1.4 var(--mono); color: var(--grey-2);
}
.board-top .ok { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 500; }
.board-top .ok .dot { width: 9px; height: 9px; }

.map { position: relative; padding: 24px 12px 8px; border-bottom: 1px solid var(--line-dark); }
.map svg { width: 100%; height: auto; }
.map .grat { stroke: #1f1f1f; stroke-width: .25; fill: none; }
.map .eq { stroke: #2a2a2a; stroke-dasharray: 1 1.5; }
.map .link { stroke: rgba(220,38,38,.28); stroke-width: .3; fill: none; }
.map .link .link-c { stroke: rgba(220,38,38,.6); stroke-dasharray: 1.2 1.2; }
.map .pop:nth-child(4n+1) .halo { animation-delay: 0s; }
.map .pop:nth-child(4n+2) .halo { animation-delay: .8s; }
.map .pop:nth-child(4n+3) .halo { animation-delay: 1.6s; }
.map .pop:nth-child(4n) .halo { animation-delay: 2.4s; }
.map .pop circle.core { fill: var(--green); }
.map .pop circle.halo { fill: none; stroke: var(--green); stroke-width: .35; opacity: .5; transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out infinite; }
.map .pop text { font: 500 3px/1 var(--mono); fill: #7a7a7a; letter-spacing: .05em; }
.map .central rect { fill: var(--red); }
.map .central text { fill: #E5E5E5; }
.map .ops rect { fill: none; stroke: var(--gold); stroke-width: .5; }
@keyframes halo { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 20px; padding: 14px 12px 6px; font: 400 11px/1 var(--mono); color: var(--grey-2); }
.legend i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: -1px; }
.legend .l-pop { background: var(--green); border-radius: 50%; }
.legend .l-cen { background: var(--red); }
.legend .l-ops { border: 1px solid var(--gold); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-dark); }
.metrics div { padding: 26px 24px; }
.metrics div + div { border-left: 1px solid var(--line-dark); }
.metrics b { display: block; font: 600 clamp(1.6rem, 2.8vw, 2.2rem)/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.metrics span { display: block; margin-top: 10px; font-size: 13px; color: var(--grey-2); }

.bars-wrap { padding: 26px 24px; border-bottom: 1px solid var(--line-dark); }
.bars-head { display: flex; justify-content: space-between; font: 400 12px/1 var(--mono); color: var(--grey-2); margin-bottom: 14px; }
.bars { display: flex; gap: 2px; height: 40px; align-items: stretch; }
.bars i { flex: 1; background: var(--green-d); border-radius: 1px; opacity: .9; transition: opacity .1s; }
.bars i:hover { opacity: 1; background: var(--green); }
.bars i.w { background: #4D7C0F; }
.bars i.a { background: var(--amber); }

.pops { display: grid; grid-template-columns: repeat(6, 1fr); }
.pops .region { padding: 22px 24px 26px; border-right: 1px solid var(--line-dark); }
.pops .region:last-child { border-right: 0; }
.pops h4 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); }
.pops ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.pops li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #E5E5E5; }
.pops li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.pops li code { margin-left: auto; font: 400 11px/1 var(--mono); color: #5c5c5c; }
.pops li.new span::after { content: "new"; margin-left: 8px; font: 500 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }

.ops-log { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); margin-top: 1px; }
.ops-log article { background: var(--black); padding: 28px; }
.ops-log h4 { margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); }
.ops-log p { margin: 0; color: #C9C9C9; font-size: .95rem; }
.ops-log p b { color: #fff; font-weight: 500; }
.ops-log time { display: block; margin-bottom: 8px; font: 400 12px/1.4 var(--mono); color: var(--gold); }
.fleet-foot { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--grey-2); }
.fleet-foot a { color: #fff; border-bottom: 1px solid #444; padding-bottom: 2px; }
.fleet-foot a:hover { border-color: #fff; }

/* ── Legal register ───────────────────────────────── */
.register { width: 100%; border-collapse: collapse; font-size: 15px; }
.register th {
  text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey);
  padding: 0 16px 16px 0; border-bottom: 1px solid var(--ink);
}
.register td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.register td:first-child { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.register td.scope { color: var(--grey); }
.register td.ver { font: 400 13px/1.6 var(--mono); color: var(--grey); white-space: nowrap; }
.register .links { display: flex; flex-wrap: wrap; gap: 6px; }
.register .links a {
  font: 400 12px/1 var(--mono); padding: 7px 9px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
  transition: border-color .15s, background .15s;
}
.register .links a:hover { border-color: var(--ink); background: var(--paper-2); }

.pledges { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pledges div { background: var(--paper); padding: 26px 24px; }
.pledges b { display: block; font-size: 1.05rem; letter-spacing: -0.02em; }
.pledges span { display: block; margin-top: 8px; font-size: .92rem; color: var(--grey); }

/* ── Company ──────────────────────────────────────── */
.company { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.company h2 { margin: 20px 0 0; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.company .col h4 { margin: 0 0 18px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.company dl { margin: 0; display: grid; gap: 16px; }
.company dt { font: 400 12px/1 var(--mono); color: var(--grey-2); }
.company dd { margin: 6px 0 0; font-size: 15px; }
.company dd a { border-bottom: 1px solid var(--line); }
.company dd a:hover { border-color: var(--ink); }

/* ── Footer ───────────────────────────────────────── */
footer { background: var(--black); color: var(--grey-2); padding: 72px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot-grid .brand { color: #fff; }
.foot-grid p { margin: 18px 0 0; max-width: 34ch; }
.foot-grid h5 { margin: 0 0 16px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot-grid a:hover { color: #fff; }
.foot-base { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 12px/1.6 var(--mono); }
.giant {
  margin: 56px 0 0; font-size: clamp(4rem, 19vw, 17rem); line-height: .8; letter-spacing: -0.07em; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px #2a2a2a; user-select: none; white-space: nowrap; overflow: hidden;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1080px) {
  .product { grid-template-columns: 56px 1fr; gap: 20px 24px; }
  .product .detail { grid-column: 2; }
  .product .go { grid-column: 2; justify-self: start; margin-top: 0; }
  .pops { grid-template-columns: repeat(3, 1fr); }
  .pops .region:nth-child(3) { border-right: 0; }
  .pops .region:nth-child(-n+3) { border-bottom: 1px solid var(--line-dark); }
  .doctrine { grid-template-columns: repeat(2, 1fr); }
  .doctrine article:nth-child(3) { padding-left: 0; border-left: 0; }
  .doctrine article:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .ledger { grid-template-columns: repeat(3, 1fr); }
  .ledger div:nth-child(3) { border-right: 0; }
  .ledger div:nth-child(4) { padding-left: 0; }
  .ledger div:nth-child(-n+3) { border-bottom: 1px solid var(--line-dark); }
  .company { grid-template-columns: 1fr 1fr; }
  .company > :first-child { grid-column: 1 / -1; }
  .pledges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .top nav { display: none; }
  .s-head { grid-template-columns: 1fr; align-items: start; }
  .controls { grid-template-columns: 1fr; }
  .appliance { grid-template-columns: 1fr; }
  .assurance { grid-template-columns: 1fr; }
  .assurance div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics div:nth-child(3) { border-left: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .ops-log { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .register thead { display: none; }
  .register, .register tbody, .register tr, .register td { display: block; }
  .register tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .register td { border: 0; padding: 4px 0; }
  .register td.ver { white-space: normal; }
}
@media (max-width: 560px) {
  .hero-src { left: var(--gutter); right: auto; text-align: left; bottom: 16px; }
  .hero { padding-bottom: 80px; }
  .hero .ov .tag { display: none; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger div { padding-left: 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .ledger div:nth-child(odd) { border-right: 1px solid var(--line-dark) !important; padding-right: 16px; }
  .ledger div:nth-child(even) { padding-left: 16px !important; }
  .doctrine { grid-template-columns: 1fr; }
  .doctrine article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .product { grid-template-columns: 1fr; padding: 40px 0; }
  .product .detail, .product .go { grid-column: 1; }
  .product .idx { padding-top: 0; }
  .pops { grid-template-columns: repeat(2, 1fr); }
  .pops .region { border-right: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .pops .region:nth-child(odd) { border-right: 1px solid var(--line-dark) !important; }
  .pops .region { padding: 18px 16px 20px; }
  .map .pop text { display: none; }
  .control { padding: 26px 20px; }
  .pledges { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .pill .long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Plates: archival photography, read by a machine ─ */
.plate {
  position: relative; overflow: hidden; margin: 0;
  min-height: clamp(460px, 45.8vw, 900px);
  display: grid; align-items: end;
  background: var(--black); color: #fff;
}
.plate > img, .plate > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate > img { object-fit: cover; filter: contrast(1.05) brightness(.92); }
.plate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 34%, rgba(10,10,10,.08) 66%, rgba(10,10,10,.28) 100%);
}
.plate > svg { z-index: 1; pointer-events: none; }
.ov .box { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ov .tick { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .9; }
.ov .tag rect { fill: var(--red); }
.ov .tag text { font: 500 22px/1 var(--mono); fill: #fff; letter-spacing: .06em; }
.plate .tag text tspan { fill: rgba(255,255,255,.7); }
.ov .cross { stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.plate figcaption { position: relative; z-index: 2; width: 100%; }
.plate .in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.plate .in > div { max-width: min(640px, 56%); }
.plate p { margin-top: 20px !important; }
.plate.top { align-items: start; }
.plate.top::after { background: linear-gradient(to bottom, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 38%, rgba(10,10,10,0) 60%, rgba(10,10,10,.35) 100%); }
.plate.top .in { padding-top: clamp(48px, 6vw, 88px); }
.plate.top .in > div { max-width: min(520px, 42%); }
.plate .no { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .8; }
.plate .no::before { content: ""; width: 28px; height: 1px; background: var(--red); }
.plate h2 { margin: 18px 0 0; font-size: clamp(2rem, 3.9vw, 3.6rem); line-height: .98; letter-spacing: -0.045em; font-weight: 700; max-width: 16ch; text-wrap: balance; }
.plate h2 em { color: #D4D4D4; }
.plate p { margin: 0; color: #CFCFCF; font-size: 1.02rem; max-width: 44ch; }
.plate .src { display: block; margin-top: 14px; font: 400 11px/1.5 var(--mono); color: #8f8f8f; letter-spacing: .03em; }

@supports (animation-timeline: view()) {
  .plate .box, .ov .tick { stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: trace linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  .plate .tag, .ov .cross { animation: reveal linear both; animation-timeline: view(); animation-range: entry 35% cover 48%; }
}
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .plate, .plate.top { display: block; min-height: 0; }
  .plate > img, .plate > svg { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .plate > svg { position: absolute; top: 0; left: 0; }
  .plate::after { display: none; }
  .plate .tag { display: none; }
  .plate .in, .plate.top .in { padding: 28px var(--gutter) 48px; }
  .plate .in > div, .plate.top .in > div { max-width: none; }
}
