/* PACKENA — homepage styles
   Palette per brand brief: navy, warm white, industrial gray, muted blue accent. */
:root {
  --navy: #111827;
  --navy-2: #1a2232;
  --navy-line: #2b3547;
  --white: #f8f8f6;
  --paper: #ffffff;
  --gray: #6b7280;
  --gray-2: #9aa0a9;
  --line: #e3e3de;
  --line-strong: #cfd0ca;
  --blue: #2563eb;
  --blue-deep: #1d4fd0;
  --blue-soft: #8fb0f6;
  --film: rgba(37, 99, 235, 0.06);

  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.eyebrow.on-dark { color: var(--blue-soft); }
h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; max-width: 34em; }
.body-lg { font-size: 1.125rem; line-height: 1.6; color: var(--gray); max-width: 32em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 52px; padding-inline: 26px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost-dark { color: var(--white); border-color: rgba(248, 248, 246, 0.32); }
.btn-ghost-dark:hover { border-color: var(--white); }
.btn-sm { height: 40px; padding-inline: 18px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-lg { height: 60px; padding-inline: 34px; font-size: 16px; }

.link-arrow {
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--blue);
  display: inline-flex; gap: 8px; align-items: center;
}
.link-arrow span { transition: transform .18s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(248, 248, 246, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 26px; height: 26px; }
.brand-mark .fold { fill: var(--blue); }
.brand-word {
  font-weight: 800; font-size: 18px; letter-spacing: 0.2em;
}
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--navy);
  padding-block: 6px; border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--navy); }
.menu-btn { display: none; }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; background: var(--white); }
.mobile-nav a {
  display: block; padding-block: 14px; text-decoration: none; font-weight: 700; font-size: 18px;
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* faint drafting grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(248,248,246,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(248,248,246,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lede { color: #c9ccd2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tech-line {
  list-style: none; margin: 16px 0 0; padding: 20px 0 0;
  border-top: 1px solid var(--navy-line);
  display: flex; flex-wrap: wrap; gap: 8px 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--gray-2);
}
.tech-line li:not(:last-child)::after { content: "·"; margin-inline: 12px; color: var(--navy-line); }

.hero-figure { margin: 0; }
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  background: #0c121d;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-callouts { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-callouts .dim line {
  stroke: var(--blue); stroke-width: 2.5; fill: none;
  stroke-dasharray: 800; stroke-dashoffset: 0;
}
.hero-callouts .dim-tag rect { fill: var(--navy); }
.hero-callouts .dim-tag text {
  fill: var(--white); font-family: var(--mono); font-size: 17px; text-anchor: middle; letter-spacing: .06em;
}
.hero-tag {
  position: absolute; right: 0; top: 53.5%;
  transform: translate(0, -50%);
  background: var(--navy); color: var(--white);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  padding: 4px 8px;
}
.hero-figure figcaption {
  display: flex; gap: 16px; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gray-2);
}
.hero-figure figcaption span:first-child { color: var(--blue-soft); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .hero-callouts .dim line { animation: draw 1.4s cubic-bezier(.6,.05,.25,1) .3s both; }
  .hero-callouts .dim-tag, .hero-tag { animation: fade .5s ease 1.4s both; }
}
@keyframes draw { from { stroke-dashoffset: 800; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section + .section:not(.dark):not(.spec):not(.sheet-section) { border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 14px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { max-width: 16em; }
.section-head .head-link { justify-self: end; }
.section-head .head-sub { grid-column: 1 / -1; }

/* ---------- Products ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.product {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  display: flex; flex-direction: column;
  transition: background-color .2s ease;
}
.product:hover { background: #fbfbfa; }
.product-art {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  padding: 20px;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(to bottom, var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--white);
  background-blend-mode: normal;
}
.product-art svg { width: 100%; height: 100%; overflow: visible; }
.product-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.product-body p { color: var(--gray); font-size: 15px; line-height: 1.55; }

svg .ln { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
svg .ln.thin { stroke-width: .9; stroke: var(--gray-2); }
svg .ln.dash { stroke-width: 1; stroke: var(--gray); stroke-dasharray: 4 4; }
svg .film { fill: rgba(37, 99, 235, 0.08); stroke: none; }
svg .dim-sm path { fill: none; stroke: var(--blue); stroke-width: 1.2; }
svg .dim-sm text, svg .tagbox text {
  fill: var(--blue); font-family: var(--mono); font-size: 11px; text-anchor: middle; font-weight: 500;
}
svg .tagbox rect { fill: var(--paper); stroke: var(--blue); stroke-width: 1.2; }
svg .tagbox text { font-size: 10px; }
svg .grid-lines path { fill: none; stroke: var(--line-strong); stroke-width: .6; stroke-dasharray: 2 3; }

/* ---------- Specification drawing ---------- */
.spec { background: var(--paper); border-block: 1px solid var(--line); }
.spec-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.spec-copy { display: flex; flex-direction: column; gap: 20px; }
.spec-keys { margin: 16px 0 0; display: grid; border-top: 1px solid var(--line); }
.spec-keys div {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  padding-block: 12px; border-bottom: 1px solid var(--line);
}
.spec-keys dt { font-family: var(--mono); font-weight: 500; color: var(--blue); font-size: 14px; }
.spec-keys dd { margin: 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.spec-keys dd span { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--gray); }

.drawing {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(to right, #eeeee9 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(to bottom, #eeeee9 1px, transparent 1px) 0 0 / 20px 20px,
    var(--white);
}
.drawing-meta {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray);
}
.dwg { display: block; width: 100%; height: auto; padding: 12px; }
.dwg .dwg-film path { fill: rgba(37, 99, 235, 0.07); }
.dwg .dwg-line path { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.dwg .dwg-dash path { fill: none; stroke: var(--gray); stroke-width: 1.2; stroke-dasharray: 6 6; }
.dwg .dwg-seal path { fill: none; stroke: var(--navy); stroke-width: 1.2; }
.dwg .dwg-dim path { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.dwg .dwg-dim path.arrow { fill: var(--blue); stroke: none; }
.dwg .dot { fill: var(--blue); }
.dwg .detail-ring { fill: var(--paper); stroke: var(--blue); stroke-width: 1.5; }
.dwg .film-section { fill: rgba(37, 99, 235, 0.18); }
.dwg-label {
  fill: var(--navy); font-family: var(--mono); font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-anchor: middle;
}
.dwg-note { fill: var(--gray); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-anchor: middle; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .dwg .dwg-dim path:not(.arrow), .dwg .dwg-line path {
      stroke-dasharray: 1200;
      animation: draw-long linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
  }
}
@keyframes draw-long { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.app { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); }
.photo-slot {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(115deg, rgba(248,248,246,.035) 0 2px, transparent 2px 14px),
    radial-gradient(120% 90% at 70% 20%, #3a475c 0%, #1f2838 55%, #141b28 100%);
}
.photo-slot::after {
  content: attr(data-slot);
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(248, 248, 246, .55);
}
.app-body { padding: 24px 24px 28px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 8px 24px; align-items: baseline; }
.app-body h3 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: .04em; }
.app-body p { color: var(--gray); font-size: 15px; line-height: 1.55; }

/* ---------- Dark: Why PACKENA ---------- */
.dark { background: var(--navy); color: var(--white); }
.dark .body-lg { color: #c9ccd2; }

.network {
  display: grid;
  grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr) 56px minmax(0,1.3fr) 56px minmax(0,0.8fr) 40px minmax(0,1fr);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--navy-line);
  background:
    linear-gradient(to right, rgba(248,248,246,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, rgba(248,248,246,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--navy-2);
}
.net-col { display: flex; flex-direction: column; gap: 12px; }
.node {
  border: 1px solid #3b475b;
  background: var(--navy);
  padding: 16px 12px;
  text-align: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white);
}
.node-core { background: var(--blue); border-color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .18em; padding-block: 22px; }
.node-sub { color: #c9ccd2; font-size: 11px; padding-block: 0; height: 42px; display: flex; align-items: center; justify-content: center; }
.net-arrow { position: relative; height: 1px; background: var(--blue-soft); margin-inline: 6px; }
.net-arrow::after {
  content: ""; position: absolute; right: -1px; top: -4px;
  border-left: 7px solid var(--blue-soft); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}
.net-arrow.fan, .net-arrow.merge { height: 150px; background: none; }
.net-arrow.fan::before, .net-arrow.merge::before {
  content: ""; position: absolute; top: 21px; bottom: 21px; width: 1px; background: var(--blue-soft);
}
.net-arrow.fan::before { right: 8px; }
.net-arrow.merge::before { left: 8px; }
.net-arrow.fan {
  background:
    linear-gradient(var(--blue-soft), var(--blue-soft)) left 50% / calc(100% - 8px) 1px no-repeat,
    linear-gradient(var(--blue-soft), var(--blue-soft)) right 21px / 8px 1px no-repeat,
    linear-gradient(var(--blue-soft), var(--blue-soft)) right 50% / 8px 1px no-repeat,
    linear-gradient(var(--blue-soft), var(--blue-soft)) right calc(100% - 21px) / 8px 1px no-repeat;
}
.net-arrow.merge {
  background:
    linear-gradient(var(--blue-soft), var(--blue-soft)) left 21px / 8px 1px no-repeat,
    linear-gradient(var(--blue-soft), var(--blue-soft)) left 50% / 8px 1px no-repeat,
    linear-gradient(var(--blue-soft), var(--blue-soft)) left calc(100% - 21px) / 8px 1px no-repeat,
    linear-gradient(var(--blue-soft), var(--blue-soft)) right 50% / calc(100% - 8px) 1px no-repeat;
}
.net-arrow.fan::after, .net-arrow.merge::after { top: calc(50% - 4px); }
.net-arrow.fan::after { display: none; }
.net-caption {
  margin-top: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-2);
}

.pillars {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--navy-line);
}
.pillar { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--navy-line); }
.pillar-no { font-family: var(--mono); font-size: 12px; color: var(--blue-soft); letter-spacing: .08em; }
.pillar p { color: #b6bac2; font-size: 15px; line-height: 1.6; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0 0 48px; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: none;
}
.step { position: relative; padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--navy); }
.step::before {
  content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px;
  background: var(--white); border: 2px solid var(--blue); border-radius: 50%;
}
.step-no { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: .08em; }
.step h3 { font-size: 1.125rem; }
.step p { color: var(--gray); font-size: 15px; line-height: 1.55; }

/* ---------- Datasheet ---------- */
.sheet-section { background: var(--paper); border-top: 1px solid var(--line); }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sheet-intro { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 40px); }
.datasheet { border: 1px solid var(--navy); background: var(--paper); }
.ds-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: var(--navy); color: var(--white);
  padding: 14px 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.ds-head .ds-brand { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .2em; }
.ds-head span:nth-child(2) { color: var(--gray-2); }
.ds-rows { margin: 0; }
.ds-row {
  display: grid; grid-template-columns: minmax(140px, 0.7fr) 1fr; gap: 24px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.ds-row:nth-child(odd) { background: #fbfbf9; }
.ds-row dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); align-self: center; }
.ds-row dd { margin: 0; font-weight: 600; font-size: 16px; }
.ds-row sup, .ds-note sup { color: var(--blue); font-family: var(--mono); }
.ds-note { padding: 14px 20px; font-size: 13px; color: var(--gray); }

/* ---------- CTA ---------- */
.cta-band { background: var(--navy); color: var(--white); padding-block: clamp(64px, 8vw, 104px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: end; }
.cta-grid > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.cta-grid .lede { color: #c9ccd2; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--gray-2); text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--gray-2); border-top: 1px solid var(--navy-line); padding-block: 36px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.footer-brand .brand-word { color: var(--white); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { text-decoration: none; font-size: 14px; color: #c9ccd2; }
.footer-nav a:hover { color: var(--white); }
.footer-legal { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; width: 100%; padding-top: 20px; border-top: 1px solid var(--navy-line); }

.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { padding: 28px 28px 20px 0; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .network { grid-template-columns: 1fr; gap: 0; justify-items: stretch; max-width: 420px; }
  .net-arrow, .net-arrow.fan, .net-arrow.merge {
    height: 32px; width: 1px; margin: 0 auto; background: var(--blue-soft);
  }
  .net-arrow::before { display: none; }
  .net-arrow::after, .net-arrow.fan::after, .net-arrow.merge::after {
    display: block; right: auto; left: -4px; top: auto; bottom: -1px;
    border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
    border-top: 7px solid var(--blue-soft); border-bottom: 0;
  }
  .net-factories { flex-direction: row; gap: 8px; }
  .net-factories .node { flex: 1; padding-inline: 6px; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .nav, .header-cta { display: none; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 10px;
    background: none; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--navy); transition: transform .2s ease; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero-grid, .spec-grid, .sheet-grid, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { order: 2; }
  .sheet-intro { position: static; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .head-link { justify-self: start; }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .app-body { grid-template-columns: minmax(0, 1fr); }

  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(248, 248, 246, 0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta { transition: transform .25s ease; }
  .mobile-cta.is-tucked { transform: translateY(110%); }
  .mobile-cta .btn { width: 100%; }
  .site-footer { padding-bottom: calc(36px + 76px); }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--navy-line); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { border-top: 0; border-left: 2px solid var(--navy); padding: 0 0 32px 28px; }
  .step::before { top: 0; left: -6px; }
  .actions .btn { flex: 1 1 100%; }
  .ds-head { grid-template-columns: 1fr auto; }
  .ds-head span:nth-child(3) { display: none; }
  .ds-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 16px; }
  .net-factories { flex-direction: column; gap: 10px; }
  .hero-tag { font-size: 10px; padding: 2px 5px; }
}

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

/* =========================================================
   Round 1 additions: card links, partner node, footer, RFQ
   ========================================================= */
.card-link { margin-top: auto; padding-top: 8px; font-size: 14px; }
.product-body { flex: 1; }
.node-partner { font-size: 11px; line-height: 1.4; padding-block: 14px; }
.network { grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr) 40px minmax(0,1.35fr) 40px minmax(0,0.8fr) 40px minmax(0,1fr); }
.cta-small a { color: var(--white); }

/* Footer */
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 48px; align-items: start;
}
.footer-brand, .footer-contact, .footer-nav { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-brand .brand-word { color: var(--white); font-size: 15px; margin-bottom: 2px; }
.footer-loc { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.footer-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.footer-contact a, .footer-nav a { text-decoration: none; color: #c9ccd2; font-size: 14px; }
.footer-contact a:hover, .footer-nav a:hover { color: var(--white); }
.footer-nav { flex-direction: column; gap: 6px; }
.footer-legal { grid-column: 1 / -1; }

/* Inner page head */
.page-head { background: var(--navy); color: var(--white); padding-block: clamp(48px, 7vw, 88px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.page-head-grid > div { display: flex; flex-direction: column; gap: 16px; }
.page-head .lede { color: #c9ccd2; }
.page-head a { color: var(--white); }

/* RFQ layout */
.rfq { padding-block: clamp(40px, 6vw, 80px) var(--section-y); }
.rfq-grid { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rfq-aside { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 32px; }
.aside-block { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.aside-text { color: var(--gray); font-size: 15px; line-height: 1.6; }
.aside-text a { color: var(--blue); font-weight: 700; text-decoration: none; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.mini-steps li { display: grid; grid-template-columns: 32px 1fr; }
.mini-steps span { font-family: var(--mono); font-size: 12px; color: var(--blue); padding-top: 2px; }

.rfq-form { background: var(--paper); border: 1px solid var(--line-strong); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fs { margin: 0; border: 0; border-bottom: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.fs legend {
  float: left; width: 100%; padding: 0; margin-bottom: 4px;
  display: flex; align-items: baseline; gap: 12px;
  font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em;
}
.fs legend + * { clear: both; }
.fs legend small { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); margin-left: auto; }
.fs-key {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border: 1px solid var(--navy); font-family: var(--mono); font-size: 12px; font-weight: 500;
}

.fields { display: grid; gap: 16px 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.field em { font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.field .u { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--gray); }

.rfq-form input[type="text"], .rfq-form input[type="email"], .rfq-form input[type="tel"],
.rfq-form input[type="date"], .rfq-form select, .rfq-form textarea {
  width: 100%; min-width: 0;
  font: inherit; font-size: 16px; color: var(--navy);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 12px 14px; height: 48px;
  transition: border-color .15s ease, background-color .15s ease;
}
.rfq-form textarea { height: auto; resize: vertical; line-height: 1.5; }
.rfq-form select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gray) 50%), linear-gradient(135deg, var(--gray) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.rfq-form input:focus, .rfq-form select:focus, .rfq-form textarea:focus { outline: none; border-color: var(--blue); background-color: var(--paper); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.rfq-form ::placeholder { color: var(--gray-2); }

.input-unit { display: grid; grid-template-columns: minmax(0, 1fr) 88px; }
.input-unit input { border-right: 0 !important; border-radius: 2px 0 0 2px !important; }
.input-unit select { border-radius: 0 2px 2px 0 !important; background-color: #efefeb !important; font-family: var(--mono); font-size: 14px !important; }

.choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.choice, .chip, .unit-toggle label { position: relative; cursor: pointer; }
.choice { display: block; }
.choice input, .chip input, .unit-toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 56px; padding: 12px 14px;
  border: 1px solid var(--line-strong); background: var(--white);
  font-weight: 700; font-size: 14px; line-height: 1.3;
  transition: border-color .15s ease, background-color .15s ease;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
  display: inline-flex; align-items: center; height: 40px; padding-inline: 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white);
  font-size: 14px; font-weight: 600;
}
.choice:hover span, .chip:hover span { border-color: var(--gray); }
.choice input:checked + span { border-color: var(--blue); background: rgba(37, 99, 235, .06); box-shadow: inset 0 0 0 1px var(--blue); }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choice input:focus-visible + span, .chip input:focus-visible + span, .unit-toggle input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.spec-row { display: flex; justify-content: flex-end; margin-bottom: -8px; }
.unit-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; }
.unit-toggle span { display: inline-flex; align-items: center; height: 32px; padding-inline: 14px; font-family: var(--mono); font-size: 12px; color: var(--gray); }
.unit-toggle input:checked + span { background: var(--navy); color: var(--white); }

.dropzone {
  position: relative; display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  padding: 24px; border: 1px dashed var(--gray-2); background: var(--white); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); background: rgba(37, 99, 235, .03); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dz-title { font-weight: 700; font-size: 15px; }
.dz-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.dz-file { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.dz-file:empty { display: none; }
.field-error { color: #b42318; font-size: 14px; font-weight: 600; }

.submit-row { padding: clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; background: var(--white); }
.submit-note { font-size: 13px; color: var(--gray); }

/* Thanks */
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks .wrap { width: 100%; }
.thanks-inner { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }

@media (max-width: 1080px) {
  .network { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .page-head-grid, .rfq-grid { grid-template-columns: minmax(0, 1fr); }
  .rfq-aside { position: static; order: 2; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .body-rfq .mobile-cta { display: none; }
  .body-rfq .site-footer, .body-thanks .site-footer { padding-bottom: 36px; }
}
@media (max-width: 560px) {
  .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .submit-row .btn { width: 100%; }
}

.includes { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px !important; line-height: 1.5; color: var(--navy) !important; font-weight: 600; }
.includes span { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
@media (max-width: 560px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Product photos (replaces line drawings) */
.product-photo { aspect-ratio: 3 / 2; overflow: hidden; background: #e9e9e6; border-bottom: 1px solid var(--line); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product:hover .product-photo img { transform: scale(1.03); }
.product-body h3 { font-size: 1.125rem; }
.product-cta {
  background: var(--navy); color: var(--white);
  padding: 28px 24px; justify-content: center; gap: 14px;
}
.product-cta:hover { background: var(--navy); }
.product-cta h3 { font-size: 1.5rem; }
.product-cta p:not(.eyebrow) { color: #c9ccd2; font-size: 15px; line-height: 1.55; }
.product-cta .btn { align-self: flex-start; margin-top: 6px; }

/* RFQ v2: stepper, size helper, steps */
.stepper {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-strong); background: var(--white);
}
.stepper li {
  display: flex; align-items: center; gap: 10px; padding: 16px clamp(14px, 2.5vw, 28px);
  font-size: 14px; font-weight: 700; color: var(--gray);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.stepper li + li { border-left: 1px solid var(--line); }
.stepper li span {
  display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
}
.stepper li.is-active { color: var(--navy); border-bottom-color: var(--blue); background: var(--paper); }
.stepper li.is-active span { border-color: var(--blue); background: var(--blue); color: #fff; }
.stepper li.is-done { color: var(--navy); }
.stepper li.is-done span { border-color: var(--navy); background: var(--navy); color: #fff; }

.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-row { justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.mode-toggle { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: 2px; }
.mode-toggle label { position: relative; cursor: pointer; }
.mode-toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mode-toggle span { display: inline-flex; align-items: center; height: 36px; padding-inline: 14px; font-size: 13px; font-weight: 700; color: var(--gray); }
.mode-toggle label + label span { border-left: 1px solid var(--line-strong); }
.mode-toggle input:checked + span { background: var(--navy); color: var(--white); }
.mode-toggle input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.size-panel { display: flex; flex-direction: column; gap: 14px; }
.size-hint { font-size: 14px; color: var(--gray); }
.size-hint strong { color: var(--navy); font-weight: 700; }
.liner-result {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: baseline;
  padding: 16px 18px; border: 1px solid var(--blue); background: rgba(37, 99, 235, .04);
}
.lr-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.lr-value { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; }
.lr-note { grid-column: 1 / -1; font-size: 13px; color: var(--gray); }

.step-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); background: var(--white);
  border-bottom: 1px solid var(--line);
}
.step-panel[data-step="3"] .submit-note { padding: 0 clamp(20px, 3vw, 32px) 24px; background: var(--white); }
.btn-quiet { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--navy); }
.chip-row .chip span { white-space: nowrap; }

@media (max-width: 860px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper li { font-size: 12px; padding-inline: 10px; gap: 6px; }
}
@media (max-width: 560px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper li { flex-direction: column; text-align: center; gap: 4px; font-size: 11px; line-height: 1.25; }
  .liner-result { grid-template-columns: 1fr; }
  .step-actions .btn { flex: 1; padding-inline: 12px; }
  .chip-row .chip span { white-space: normal; height: auto; min-height: 40px; padding-block: 8px; }
}
.field .choice { display: block; }
.field .choice span { width: 100%; height: 100%; }
.field .chip { display: inline-block; }

/* Application photos (replace placeholders) */
.app-photo { aspect-ratio: 2 / 1; overflow: hidden; background: #e9e9e6; }
.app-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.app:hover .app-photo img { transform: scale(1.02); }

.hero-callouts .dim-dot { fill: var(--blue); stroke: #fff; stroke-width: 2; }

/* Legal page + footer link */
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--white); }
.submit-note a { color: var(--blue); }
.legal-body { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.legal-body h2 { font-size: 1.375rem; letter-spacing: -0.015em; margin-top: 24px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #374151; line-height: 1.7; }
.legal-body a { color: var(--blue); }

/* Review round: sample path + image note */
.cta-existing { color: var(--white); font-weight: 700; font-size: 1.05rem; }
.cta-actions .actions { margin-top: 0; }
.img-note { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--gray); }
