/* =========================================================
   RobotZ — public site
   Palette and type derived from the RobotZ brand system.
   ========================================================= */

:root {
  --ink: #050A18;
  --ink-2: #0A1024;
  --navy: #0A1F52;
  --navy-2: #0E2A6B;
  --blue: #1B5FD9;
  --blue-lite: #4E8BFF;
  --green: #22C08C;
  --paper: #FFFFFF;
  --mist: #EFF3FA;
  --mist-2: #F7F9FD;
  --line: #DCE4F2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #0B1730;
  --text-2: #47587A;
  --text-inv: #FFFFFF;
  --text-inv-2: rgba(255, 255, 255, 0.68);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --r: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: var(--ink);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 13px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); text-transform: uppercase; }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.012em; }
h4 { font-size: 1.02rem; letter-spacing: 0.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
  flex: none;
}
.eyebrow.on-dark { color: var(--green); }
.eyebrow.on-dark::before { background: var(--blue-lite); }

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--text-2);
  max-width: 62ch;
  line-height: 1.55;
}
.on-dark .lede, .lede.on-dark { color: var(--text-inv-2); }

.mono-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ---------- wordmark ---------- */

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none !important;
}
.wordmark .pin {
  width: 0.66em;
  height: 0.66em;
  border: 0.115em solid currentColor;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  margin: 0 0.045em;
  transform: translateY(0.02em);
}
.wordmark .pin::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.17em;
  height: 0.17em;
  border-radius: 50%;
  background: var(--green);
}
.wordmark .z {
  background: var(--green);
  color: #06301F;
  border-radius: 0.18em;
  padding: 0.09em 0.16em 0.11em;
  margin-left: 0.12em;
}
.wordmark.inv { color: #fff; }
.wordmark.inv .z { color: #05271A; }

.logo { height: 27px; width: auto; }
.foot-logo { height: 30px; width: auto; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head.dark {
  background: rgba(5, 10, 24, 0.82);
  border-bottom: 1px solid var(--line-dark);
}
.head-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--green); }
.site-head.dark .nav a { color: var(--text-inv-2); }
.site-head.dark .nav a:hover { color: #fff; }
.site-head.dark .nav a[aria-current="page"] { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1550BE; }
.btn-green { background: var(--green); color: #06301F; }
.btn-green:hover { background: #1CAE7E; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost.inv { border-color: var(--line-dark); color: #fff; }
.btn-ghost.inv:hover { border-color: var(--green); color: var(--green); }
.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(3px); }

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  color: inherit;
}
.site-head.dark .menu-btn { border-color: var(--line-dark); color: #fff; }

/* ---------- sections ---------- */

.sec { padding: clamp(64px, 8.5vw, 118px) 0; }
.sec-tight { padding: clamp(48px, 6vw, 78px) 0; }
.sec.mist { background: var(--mist-2); border-block: 1px solid var(--line); }
.sec.dark {
  background: var(--ink);
  color: var(--text-inv);
}
.sec.dark h1, .sec.dark h2, .sec.dark h3, .sec.dark h4 { color: #fff; }
.sec.dark p { color: var(--text-inv-2); }
.sec.navy { background: var(--navy); color: #fff; }
.sec.navy h2, .sec.navy h3 { color: #fff; }
.sec.navy p { color: rgba(255,255,255,.72); }

.sec-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 60px); }
.sec-head h2 { margin-bottom: 18px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 520px at 78% 12%, rgba(27, 95, 217, .38), transparent 62%),
    radial-gradient(760px 460px at 8% 96%, rgba(34, 192, 140, .16), transparent 66%);
  z-index: -2;
}
.hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 40%, #000 15%, transparent 78%);
  z-index: -1;
}
.hero-in {
  padding: clamp(64px, 8vw, 104px) 0 0;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(18px, 2.5vw, 38px);
  align-items: center;
}
.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 56% 50%, #000 42%, transparent 92%);
  mask-image: radial-gradient(ellipse 62% 62% at 56% 50%, #000 42%, transparent 92%);
}
.hero h1 { max-width: 100%; }
.hero h1 .hl { color: var(--blue-lite); }
.hero .sub {
  margin-top: 26px;
  font-size: clamp(1.06rem, 1.9vw, 1.35rem);
  color: var(--text-inv-2);
  max-width: 52ch;
  line-height: 1.5;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* signature: the path-plan strip */
.pathplan {
  margin-top: clamp(18px, 2.5vw, 36px);
  padding-bottom: 46px;
}
.pathplan svg { width: 100%; height: auto; overflow: visible; }
.pp-track { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 2; }
.pp-line {
  fill: none;
  stroke: var(--blue-lite);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 3.4s cubic-bezier(.5,0,.2,1) .3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.pp-node { fill: var(--ink); stroke: var(--blue-lite); stroke-width: 2.5; }
.pp-node.live { stroke: var(--green); }
.pp-dot {
  fill: var(--green);
  opacity: 0;
  animation: pop .5s ease forwards;
}
@keyframes pop { to { opacity: 1; } }
.pp-cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
  fill: rgba(255,255,255,.62);
  text-transform: uppercase;
}
.pp-cap.on { fill: var(--green); }
.pp-legend {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}

/* ---------- page hero (interior) ---------- */

.phero {
  background: var(--ink);
  color: #fff;
  padding: clamp(58px, 8vw, 104px) 0 clamp(52px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}
.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(880px 420px at 82% 0%, rgba(27,95,217,.4), transparent 62%);
}
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); max-width: 20ch; }
.phero .lede { color: var(--text-inv-2); margin-top: 22px; }

/* ---------- grids & cards ---------- */

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}
.card.dark {
  background: rgba(255,255,255,.045);
  border-color: var(--line-dark);
}
.card.dark h3 { color: #fff; }
.card.dark p { color: var(--text-inv-2); }
.card.dark .idx { color: var(--green); }

.stat {
  border-top: 2px solid var(--green);
  padding-top: 18px;
}
.stat .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.stat .k {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 12px;
  display: block;
}
.stat p { font-size: 14.5px; color: var(--text-2); margin-top: 10px; }
.sec.dark .stat .k { color: var(--green); }
.sec.dark .stat p { color: var(--text-inv-2); }
.sec.navy .stat .k { color: var(--green); }

/* ---------- platform diagram ---------- */

.plat {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
}
.plat-col { display: grid; gap: 18px; }
.io {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.io .ic {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  background: rgba(27,95,217,.1);
  color: var(--blue);
  display: grid; place-items: center;
}
.io h4 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 3px;
  font-size: 15px;
}
.io p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.45; }

.core {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border-radius: 18px;
  padding: 26px;
  color: #fff;
  box-shadow: 0 26px 60px -30px rgba(10,31,82,.7);
}
.core .core-t {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.core-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  padding: 17px 18px;
}
.core-box + .core-box { margin-top: 12px; }
.core-box h4 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}
.core-box p {
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  margin: 0;
  line-height: 1.5;
}

/* ---------- stack tabs ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 11px 17px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  cursor: pointer;
  transition: all .16s ease;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.panel { display: none; }
.panel.on { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-in {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 3.4vw, 40px);
}
.panel-in h3 { margin-bottom: 14px; }
.speclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.speclist li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.45;
}
.speclist li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--green);
  flex: none;
  margin-top: 8px;
}

/* ---------- timeline ---------- */

.tl { display: grid; gap: 0; }
.tl-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: clamp(20px, 4vw, 46px);
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.tl-row:first-child { border-top: 0; }
.tl-yr {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green);
  letter-spacing: -.01em;
  padding-top: 2px;
}
.tl-row h3 { text-transform: uppercase; font-size: 1.12rem; margin-bottom: 8px; }
.tl-row p { font-size: 15.5px; margin: 0; }

/* ---------- people ---------- */

.person {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  background: #fff;
}
.person .role {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.person h3 { margin-bottom: 12px; }
.person ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; }
.person li { margin-bottom: 5px; }

/* ---------- callout band ---------- */

.band {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 46px);
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.band h3 {
  color: #fff;
  text-transform: uppercase;
  max-width: 26ch;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}
.band p { color: rgba(255,255,255,.7); margin-top: 10px; max-width: 52ch; font-size: 15.5px; }

/* ---------- deployment rows ---------- */

.dep {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.dep-head {
  background: var(--navy);
  color: #fff;
  padding: 15px 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dep-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.dep-body { padding: 24px 22px; }
.dep-body h3 { margin-bottom: 8px; font-size: 1.1rem; }
.dep-body .meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.dep-body p { font-size: 15px; color: var(--text-2); }
.dep-body ul { margin: 14px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; }

/* ---------- category strip ---------- */

.strip {
  margin: 0 0 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 22px 16px;
}
.strip img { width: 100%; height: auto; }
.strip figcaption {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 14px;
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.01em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 20px;
  color: var(--blue);
}
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 40px 20px 0; color: var(--text-2); font-size: 15.5px; }

/* ---------- contact routes ---------- */

.route {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.route h3 { margin-bottom: 10px; text-transform: uppercase; }
.route p { color: var(--text-2); font-size: 15px; flex: 1; }
.route .btn { align-self: flex-start; margin-top: 20px; }

.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.form-note { font-size: 13.5px; color: var(--text-2); margin-top: 14px; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: var(--text-inv-2);
  padding: clamp(48px, 6vw, 76px) 0 34px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.foot-top p { font-size: 15px; max-width: 34ch; margin-top: 16px; color: var(--text-inv-2); }
.foot-col h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  color: var(--text-inv-2);
  font-size: 15px;
  margin-bottom: 9px;
  text-decoration: none;
}
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-bot {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}

/* ---------- reveal ---------- */

.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .plat { grid-template-columns: 1fr; }
  .panel-in { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  body { font-size: 16.5px; }
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gut) 22px;
    border-bottom: 1px solid var(--line);
  }
  .site-head.dark .nav { background: var(--ink); border-color: var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-head.dark .nav a { border-color: var(--line-dark); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
  .menu-btn { display: block; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; }
  .foot-top { grid-template-columns: 1fr; }
  .pp-cap { font-size: 9px; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .pp-line { stroke-dashoffset: 0; }
  .pp-dot { opacity: 1; }
  .rv { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-top: 8px; }
}

/* word-valued stats: phrase instead of a figure — quieter than numeric stats */
.stat.word .n {
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  letter-spacing: -0.012em;
  line-height: 1.2;
}

@media (max-width: 780px) {
  /* the route-plan strip needs width to stay legible — the hero art carries mobile */
  .pathplan { display: none; }
  .hero-art { max-width: 330px; margin: 4px auto 0; }
  .hero-in { padding-bottom: 46px; }
}
