@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   POWERCONN: dark command-center · catalog 2025 identity
   ink base, white technical type, Powerconn green accent
   ============================================================ */

:root {
  --bg-0: #111111;
  --bg-1: #1a1d1a;
  --bg-2: #202420;
  --line: #3a443a;
  --line-soft: #262b26;
  --txt: #f5f5f2;
  --txt-2: #b8bdb8;
  --txt-3: #7d867d;
  --accent: #009040;        /* fills, strokes, CTAs */
  --accent-deep: #005a2b;   /* hover / pressed */
  --accent-bright: #3abf6f; /* small accent text, glows */
  --accent-button: #006b31; /* AA white-text button fill */
  --accent-button-hover: #007a37;
  --accent-dim: rgba(0, 144, 64, 0.16);
  --font-display: "Archivo", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r-sm: 4px;
  --r-md: 8px;
  --pad-x: clamp(20px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg-0);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { color: var(--txt-2); }

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

button,
input,
select,
textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--txt);
  color: var(--bg-0);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 4px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--txt-3);
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* faint engineering grid */
.grid-bg {
  background-image:
    linear-gradient(rgba(245,245,242,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,242,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* diagonal green stripe motif (catalog cover), used sparingly */
.stripes-top { position: relative; }
.stripes-top::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    -55deg,
    var(--accent) 0 14px,
    transparent 14px 34px
  );
  opacity: 0.85;
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-accent {
  background: var(--accent-button);
  border-color: var(--accent);
  color: #ffffff;
}
.btn-accent:hover { background: var(--accent-button-hover); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line);
  color: var(--txt);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn-small { padding: 10px 18px; font-size: 0.72rem; }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .radar-sweep { animation: none !important; }
  .recording-led::before,
  .recording-led::after { animation: none !important; }
  .recording-led::before { opacity: 0.72; }
  .recording-led::after { opacity: 1; }
  .custody-line { transition: none !important; transform: scaleX(1) !important; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(17, 17, 17, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header.is-solid {
  background: rgba(17, 17, 17, 0.96);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad-x);
}

/* catalog logotype SVG */
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  height: 19px;
  width: auto;
}

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--txt-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--txt); border-bottom-color: var(--accent); }
.main-nav a[aria-current="page"] {
  color: var(--txt);
  border-bottom-color: var(--accent-bright);
}

.header-right { display: flex; align-items: center; gap: 20px; }
.utc-clock { font-size: 0.72rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  width: 44px;
  height: 44px;
  padding: 0 11px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: var(--txt); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px var(--pad-x) 80px;
  background-color: var(--bg-0);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

.kicker { margin-bottom: 26px; color: var(--txt-2); }

.hero h1 { margin-bottom: 26px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 34em;
  margin-bottom: 40px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
}

/* radar */
.radar {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(620px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.radar-ring {
  position: absolute;
  border: 1px solid rgba(245,245,242,0.06);
  border-radius: 50%;
}
.radar-ring.r1 { inset: 0; }
.radar-ring.r2 { inset: 16%; }
.radar-ring.r3 { inset: 32%; border-color: rgba(58,191,111,0.14); }
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(58,191,111,0.10) 0deg, transparent 70deg);
  animation: sweep 9s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

/* evidence frame: corner registration marks */
.evidence-frame {
  position: relative;
  padding: 26px;
}
.evidence-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--txt-3), var(--txt-3)) top left / 18px 1px,
    linear-gradient(var(--txt-3), var(--txt-3)) top left / 1px 18px,
    linear-gradient(var(--txt-3), var(--txt-3)) top right / 18px 1px,
    linear-gradient(var(--txt-3), var(--txt-3)) top right / 1px 18px,
    linear-gradient(var(--txt-3), var(--txt-3)) bottom left / 18px 1px,
    linear-gradient(var(--txt-3), var(--txt-3)) bottom left / 1px 18px,
    linear-gradient(var(--txt-3), var(--txt-3)) bottom right / 18px 1px,
    linear-gradient(var(--txt-3), var(--txt-3)) bottom right / 1px 18px;
  background-repeat: no-repeat;
  opacity: 0.7;
  pointer-events: none;
}
.evidence-frame figcaption {
  margin-top: 18px;
  text-align: center;
}

.hero-camera-stage {
  position: relative;
  width: min(360px, 70vw);
  margin: 0 auto;
}
.hero-camera-stage img {
  width: 100%;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
}

.recording-led {
  position: absolute;
  top: 66.05%;
  left: 48.45%;
  width: 15%;
  height: 2.05%;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c0303 0%, #690606 48%, #1b0101 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 210, 210, 0.24),
    inset 0 -1px 1px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(12, 0, 0, 0.78);
  transform: translate(-50%, -50%);
  pointer-events: none;
  isolation: isolate;
}

.recording-led::before,
.recording-led::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  will-change: opacity;
}

.recording-led::before {
  z-index: -1;
  inset: -70% -12%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 34, 25, 0.78) 0%,
    rgba(255, 0, 0, 0.38) 38%,
    rgba(255, 0, 0, 0) 74%
  );
  filter: blur(2px);
  opacity: 0.08;
  animation: recording-led-glow 1.7s ease-in-out infinite;
}

.recording-led::after {
  inset: 14% 7%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.96) 0 4%, rgba(255, 202, 202, 0.72) 10%, transparent 25%),
    linear-gradient(180deg, #ff8a82 0%, #ff2c21 36%, #ed0900 62%, #850000 100%);
  box-shadow:
    0 0 2px rgba(255, 230, 230, 0.96),
    0 0 6px rgba(255, 38, 30, 0.95),
    0 0 12px rgba(255, 0, 0, 0.68),
    inset 0 1px 1px rgba(255, 255, 255, 0.62);
  opacity: 0.22;
  animation: recording-led-core 1.7s ease-in-out infinite;
}

@keyframes recording-led-core {
  0%, 38% { opacity: 1; }
  46%, 88% { opacity: 0.22; }
  96%, 100% { opacity: 1; }
}

@keyframes recording-led-glow {
  0%, 38% { opacity: 0.9; }
  46%, 88% { opacity: 0.08; }
  96%, 100% { opacity: 0.9; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  padding: 30px var(--pad-x) 22px;
  color: var(--txt-2);
}
.trust-inner b { color: var(--txt); font-weight: 500; }
.trust-inner .sep { color: var(--accent-bright); }

/* ============================================================
   SECTIONS: shared
   ============================================================ */
.section {
  padding: clamp(90px, 11vw, 150px) var(--pad-x);
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 70px); }
.section-head .index { margin-bottom: 18px; color: var(--accent-bright); }
.section-head h2 { margin-bottom: 18px; }
.section-sub { font-size: 1.05rem; }

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ============================================================
   FLAGSHIP: COP01
   ============================================================ */
.flagship { overflow: visible; }

/* the ghost is clipped to the head band so it can never sit under the beats */
.flagship-top {
  position: relative;
  overflow: hidden;
  padding-bottom: 26px; /* room for the .reveal translateY before clipping */
  margin-bottom: clamp(30px, 4vw, 50px);
}
.flagship-top .section-head { margin-bottom: 0; }

.flagship-ghost {
  position: absolute;
  top: 12px;
  right: 8px;
  width: min(280px, 24vw);
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
  /* keep the lens readable, then dissolve the technical outline into the section */
  -webkit-mask-image: linear-gradient(to bottom, #000 22%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 22%, transparent 72%);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 8 cells → exactly 4×2 */
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.spec-cell { background: var(--bg-1); padding: 16px 18px; }
.spec-cell dt { margin-bottom: 6px; }
.spec-cell dd { color: var(--txt); font-size: 0.98rem; font-weight: 500; line-height: 1.35; }

.flagship-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.flagship-device { position: sticky; top: 120px; }
.flagship-device img {
  width: min(340px, 60vw);
  margin: 0 auto;
  opacity: 0.96;
}

.device-line {
  display: block;
  margin-top: 6px;
  color: var(--txt-3);
  text-transform: none;
  letter-spacing: 0.04em;
}

.beats { list-style: none; display: grid; gap: 44px; }
.beats li {
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
}
.beat-index { color: var(--accent-bright); margin-bottom: 12px; }
.beats h3 { margin-bottom: 8px; font-size: 1.35rem; }

/* full-bleed closing band: the asset dissolves at top and bottom, so no frame.
   It sits between the sections, so plain 100% is exact with no vw/scrollbar drift.
   Negative margins pull it into the neighbouring section padding. */
.field-band {
  position: relative;
  margin-top: calc(-1 * clamp(52px, 7vw, 96px));
  margin-bottom: calc(-1 * clamp(52px, 7vw, 96px));
}
.field-band img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 38%;
  /* the dissolve lives here, not in the file: object-fit crops vertically on
     wide viewports, which would clip a fade baked into the asset */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.field-band figcaption {
  position: absolute;
  bottom: 16%;
  left: var(--pad-x);
  background: rgba(17,17,17,0.78);
  padding: 6px 12px;
  border-radius: var(--r-sm);
}

/* ============================================================
   CUSTODY FLOW
   ============================================================ */
.custody { overflow: hidden; }

.custody-wireframe {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: min(380px, 34vw);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.pipeline {
  margin-top: 26px;
  color: var(--txt-2);
  letter-spacing: 0.12em;
}
.pipeline span { color: var(--accent-bright); }

.custody-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.custody-line {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(0,144,64,0.25));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s ease 0.2s;
}
.custody-track.is-visible .custody-line { transform: scaleX(1); }

.custody-step { position: relative; }
.step-index {
  color: var(--txt-2);
  margin-bottom: 18px;
  background: var(--bg-0);
  display: inline-block;
  padding-right: 12px;
  position: relative;
  z-index: 1;
}

.custody-step .evidence-frame { padding: 18px; margin-bottom: 18px; }
.custody-step .evidence-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-2);
  border-radius: var(--r-sm);
}
.custody-step:last-child .evidence-frame img { object-fit: contain; padding: 12px; }

.custody-step h3 { margin-bottom: 8px; }
.custody-step p:last-child { font-size: 0.92rem; }

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.eco-cell {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--bg-1);
  padding: 26px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.eco-cell:hover { border-color: var(--accent); transform: translateY(-3px); }

.eco-cell img {
  height: 150px;
  object-fit: contain;
  margin: 0 auto 22px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.5));
}

.eco-tag { color: var(--accent-bright); margin-bottom: 8px; }
.eco-cell h3 { margin-bottom: 6px; font-size: 1.02rem; }
.eco-cell p:last-child { font-size: 0.88rem; }

.eco-cell-link { cursor: pointer; }
.link-arrow { color: var(--accent-bright); }

.panorama { margin-top: clamp(40px, 5vw, 64px); }
.panorama img { width: 100%; border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.panorama figcaption { margin-top: 14px; }

/* ============================================================
   SEGMENTS
   ============================================================ */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.seg-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background:
    linear-gradient(180deg, rgba(17,17,17,0.18) 0%, rgba(17,17,17,0.55) 45%, rgba(17,17,17,0.93) 100%),
    var(--img) center / cover no-repeat;
  background-color: var(--bg-1);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.25s, transform 0.25s;
}
.seg-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.seg-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.seg-card:hover::after { transform: scaleX(1); }
.seg-card-link { cursor: pointer; }
.seg-card-link:focus-visible { outline-offset: 5px; }

.seg-lead {
  grid-column: span 2;
  grid-row: span 2;
  background-position: center, center top;
}

.seg-index { color: var(--accent-bright); margin-bottom: 8px; }
.seg-card h3 { margin-bottom: 6px; }
.seg-card p:last-child { font-size: 0.9rem; max-width: 36em; }

/* ============================================================
   PMPR CASE
   ============================================================ */
.case { max-width: none; padding-left: 0; padding-right: 0; }

.case-opener {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.62) 55%, var(--bg-0) 100%),
    var(--img) center / cover no-repeat;
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
}
.case-opener .section-head { max-width: 860px; margin: 0 auto; text-align: center; }

.case-statement {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--txt);
  font-weight: 500;
  line-height: 1.5;
}

/* deployment facts: the numbers the live site publishes for this case */
.case-facts {
  max-width: 1380px;
  margin: clamp(38px, 5vw, 62px) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  text-align: center;
}
.case-fact {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.case-fact dt { margin-bottom: 10px; }
.case-fact dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1;
  color: var(--txt);
}

.case-triptych {
  max-width: 1380px;
  margin: clamp(40px, 5vw, 70px) auto 0;
  padding: 0 var(--pad-x);
}
.case-triptych img { width: 100%; border-radius: var(--r-md); }
.case-triptych figcaption { margin-top: 16px; text-align: center; }
.case > .section-actions {
  max-width: 1380px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 var(--pad-x);
  justify-content: center;
}

/* ============================================================
   COMPANY
   ============================================================ */
.company { background-color: var(--bg-1); max-width: none; }
.company-inner { max-width: 1380px; margin: 0 auto; }

.company-rail {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 56px 0;
  max-width: 760px;
}
.rail-item { flex-shrink: 0; max-width: 280px; }
.rail-year { color: var(--accent-bright); font-size: 1rem; margin-bottom: 6px; }
.rail-item p:last-child { font-size: 0.92rem; }
.rail-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line));
  min-width: 60px;
}

.badge-brasil { width: min(320px, 70vw); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  max-width: none;
  background: var(--bg-0);
  text-align: center;
  overflow: hidden;
}

.radar-contact {
  inset: 50% auto auto 50%;
  width: min(900px, 120vw);
  opacity: 0.6;
}

.contact-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.contact-inner .index { margin-bottom: 18px; color: var(--accent-bright); }
.contact-inner h2 { margin-bottom: 18px; }

.contact-console {
  margin-top: 44px;
  display: inline-flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(26, 29, 26, 0.85);
  padding: 32px clamp(24px, 5vw, 56px);
}
.console-label { color: var(--txt-2); }
.console-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--txt-2);
  text-transform: none;
}
.console-mail:hover { color: var(--accent-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px var(--pad-x);
  color: var(--txt-3);
}
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-addr { font-size: 0.68rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-inner a:hover { color: var(--accent-bright); }
.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .utc-clock { display: none; }
}

@media (max-width: 1080px) {
  .flagship-body { grid-template-columns: 1fr; }
  .flagship-device { position: static; margin-bottom: 12px; }
  .custody-track { grid-template-columns: repeat(2, 1fr); }
  .custody-line { display: none; }
  .segments-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .seg-lead { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 960px) {
  .hero { padding-top: 120px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-device { order: -1; }
  .hero-camera-stage { width: min(240px, 56vw); }
  .radar { width: min(420px, 96vw); }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(17, 17, 17, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad-x) 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-toggle { display: flex; }
  .utc-clock { display: none; }
  .header-inner { gap: 12px; }
  .header-right { gap: 10px; }

  .flagship-ghost { display: none; }
  .flagship-top { overflow: visible; padding-bottom: 0; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .segments-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .seg-lead { grid-column: span 1; }
  .custody-track { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .eco-cell { padding: 18px; }
  .eco-cell img { height: 110px; }
  .company-rail { flex-direction: column; align-items: flex-start; }
  .rail-line { width: 1px; min-width: 0; min-height: 40px; }
  .pipeline { font-size: 0.64rem; letter-spacing: 0.08em; }
  .case-facts { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 420px) {
  .eco-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}
