/* =====================================================================
   Velary — fleet site styles
   Brand: warm paper · alpine green · rescue red · Archivo + Geist Mono
   ===================================================================== */
:root {
  --paper: #f3efe7;
  --paper-2: #ece9e0;
  --paper-3: #e4e1d9;
  --ink: #1a1a1a;
  --ink-soft: #2c2a26;
  --mute: rgba(0,0,0,0.56);
  --mute-2: rgba(0,0,0,0.38);
  --line: rgba(0,0,0,0.16);
  --line-soft: rgba(0,0,0,0.08);
  --green: #2d5a3a;
  --green-2: #437a52;
  --green-deep: #163420;
  --green-glow: rgba(45,90,58,0.32);
  --pt-green: #1f9d57;
  --pt-green-glow: rgba(31,157,87,0.5);
  --rescue: #b8341c;
  /* dark surfaces */
  --dark: #14160f;
  --dark-2: #0e100b;
  --d-ink: #ecebe3;
  --d-mute: rgba(236,235,227,0.58);
  --d-mute-2: rgba(236,235,227,0.34);
  --d-line: rgba(236,235,227,0.14);
  --d-green: #6cbf86;
  --nav-h: 74px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Archivo', sans-serif; -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01' on;
}
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.kicker {
  font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--green);
  display: inline-flex; align-items: center; gap: 14px;
}
.kicker::before { content:""; width: 34px; height: 1px; background: currentColor; }
.section-pad { padding: clamp(64px, 9vh, 130px) 6vw; }
.section-head { max-width: 1320px; margin: 0 auto; }
.eyebrow-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title {
  margin: 22px 0 0; font-weight: 200; font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance;
}
.section-title b { font-weight: 700; }
.section-title .ac { color: var(--green); font-style: italic; font-weight: 700; }
.section-sub { margin: 18px 0 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: var(--mute); }

/* ---- "coming soon" badge (used wherever CARGO 400L appears) ---- */
.soon-badge {
  display: inline-block; font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500; color: #1a1a1a; background: #e0a23a;
  padding: 6px 11px; border-radius: 999px; white-space: nowrap; line-height: 1;
}
.fleet-card .fc-soon { position: absolute; top: 14px; right: 14px; z-index: 6; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.slide-soon { position: absolute; top: 16px; right: 16px; z-index: 4; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.pp-rel-soon { position: absolute; top: 8px; right: 8px; z-index: 4; font-size: 9px; padding: 4px 8px; }

/* small rescue cross glyph */
.cross { position: relative; display: inline-block; width: 12px; height: 12px; vertical-align: -1px; }
.cross::before, .cross::after { content:""; position: absolute; background: var(--rescue); }
.cross::before { left: 5px; top: 0; width: 2px; height: 12px; }
.cross::after { top: 5px; left: 0; width: 12px; height: 2px; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav .brand { display: flex; align-items: center; gap: 14px; }
.nav .brand img { height: 26px; transition: filter .35s ease; }
.nav .brand .div { width: 1px; height: 20px; background: rgba(255,255,255,0.25); transition: background .35s ease; }
.nav .brand .sys {
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; transition: color .35s ease;
}
.nav .links { display: flex; align-items: center; gap: 6px; }
.nav .links a {
  font-family: 'Geist Mono', monospace; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 9px 14px; border-radius: 2px;
  transition: color .25s ease, opacity .25s ease; opacity: 0.95;
}
.nav .links a:hover { opacity: 1; }
.nav .cta {
  margin-left: 10px; padding: 11px 20px; border-radius: 2px;
  background: var(--green); color: #fff !important;
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; opacity: 1 !important; white-space: nowrap;
  transition: background .25s ease, transform .2s ease;
}
.nav .cta:hover { background: var(--green-deep); transform: translateY(-1px); }
/* over-hero (transparent) state = light text */
.nav { color: #fff; }
.nav .brand img { filter: brightness(0) invert(1); }
.nav .links a { color: #fff; }
/* scrolled (solid) state */
.nav.scrolled {
  background: rgba(243,239,231,0.92); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.nav.scrolled .brand img { filter: brightness(0) saturate(100%) invert(8%); }
.nav.scrolled .brand .div { background: var(--line); }
.nav.scrolled .brand .sys { color: var(--mute); }
.nav.scrolled .links a { color: var(--ink); }

/* ---- applications dropdown ---- */
.nav-drop { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: #f7f3ec;
  border: 1px solid var(--line); border-radius: 3px; padding: 6px;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 20px 44px rgba(0,0,0,0.20); z-index: 210;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a {
  color: var(--ink) !important; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 12px 14px; border-radius: 2px; white-space: nowrap; opacity: 1;
  border-bottom: 1px solid var(--line-soft); transition: background .2s ease, color .2s ease;
}
.nav-drop-menu a:last-child { border-bottom: 0; }
.nav-drop-menu a:hover { background: rgba(45,90,58,0.08); color: var(--green) !important; }

/* ---- mobile nav ---- */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 0;
  cursor: pointer; color: inherit; margin-left: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav .links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(243,239,231,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 6px 6vw 20px;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .35s ease, opacity .3s ease;
  }
  .nav.open .links { max-height: 600px !important; opacity: 1 !important; pointer-events: auto !important; }
  .nav .links a, .nav.scrolled .links a { color: var(--ink) !important; font-size: 15px; padding: 15px 4px; border-bottom: 1px solid var(--line-soft); opacity: 1; }
  .nav .cta { margin: 16px 0 0; text-align: center; padding: 15px; font-size: 13px; }
  .nav-drop { flex-direction: column; align-items: stretch; align-self: stretch; }
  .nav-drop-menu {
    position: static; transform: none !important; opacity: 1 !important; pointer-events: auto !important;
    min-width: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none;
    padding: 0 0 0 16px; border-left: 1px solid var(--line-soft); margin: 0 0 0 2px;
  }
  .nav-drop-menu a { font-size: 13px; padding: 13px 4px; }
  .nav-drop-menu a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .nav .brand .div, .nav .brand .sys { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: #14160f; }
.hero-media { position: absolute; inset: 0; background: #14160f center/cover no-repeat; }
.hero-media video, .hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
}
@keyframes heroDrift { from { transform: scale(1.05); } to { transform: scale(1.16); } }
.hero-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,11,8,0.86) 0%, rgba(10,11,8,0.46) 44%, rgba(10,11,8,0.08) 100%),
    linear-gradient(0deg, rgba(10,11,8,0.92) 0%, rgba(10,11,8,0.5) 30%, rgba(10,11,8,0) 60%);
}
.hero-inner {
  position: relative; z-index: 3; height: 100%;
  max-width: calc(1320px + 12vw); margin: 0 auto; padding: 0 6vw;
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8vh;
  color: #fff;
}
.hero .kicker { color: var(--d-green); }
.hero h1 {
  margin: 22px 0 0; font-weight: 200; font-size: clamp(46px, 8vw, 112px);
  line-height: 0.9; letter-spacing: -0.04em; text-wrap: balance;
}
.hero h1 b { font-weight: 800; }
.hero h1 .it { font-style: italic; font-weight: 800; color: var(--d-green); }
.hero p {
  margin: 28px 0 0; max-width: 540px; font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.82);
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 15px 24px; border-radius: 2px; border: 1px solid transparent;
  transition: background .25s ease, transform .2s ease, border-color .25s ease, color .25s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.hero-stats {
  position: absolute; z-index: 3; right: 6vw; bottom: 8vh;
  display: flex; gap: 30px; text-align: right;
}
.hero-stats .st .v { font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: #fff; }
.hero-stats .st .v .u { font-family: 'Geist Mono', monospace; font-weight: 400; font-size: 12px; color: var(--d-green); margin-left: 3px; letter-spacing: 0.12em; }
.hero-stats .st .k { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 6px; }
@media (max-width: 860px) { .hero-stats { display: none; } }

/* =====================================================================
   FLEET — 3×2 grid
   ===================================================================== */
.fleet { background: var(--paper); }
.fleet-grid {
  max-width: 1320px; margin: 72px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 1040px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-card {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse 74% 74% at 50% 44%, #ffffff 0%, #efece4 100%);
  border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.fleet-card:hover { border-color: var(--green-2); box-shadow: 0 22px 48px rgba(0,0,0,0.16); }
.fleet-card .fc-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .45s ease;
}
.fleet-card:hover .fc-photo { transform: scale(1.06); filter: brightness(0.4) saturate(0.8); }
.fleet-card .fc-over {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(18px, 2vw, 28px);
  background: linear-gradient(to top, rgba(13,15,9,0.92) 0%, rgba(13,15,9,0.66) 40%, rgba(13,15,9,0.10) 100%);
  opacity: 0; transition: opacity .4s ease;
}
.fleet-card:hover .fc-over { opacity: 1; }
.fleet-card .fc-tag {
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(236,235,227,0.7); align-self: flex-start;
}
.fleet-card .fc-tag.sar { color: #e2563b; }
.fleet-card .fc-name {
  font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.025em; color: #fff;
  transform: translateY(10px); transition: transform .45s ease;
}
.fleet-card:hover .fc-name { transform: translateY(0); }
.fleet-card .fc-name .ac { color: var(--d-green); }
.fleet-card .fc-specs {
  margin-top: 16px; display: flex; gap: 0;
  border-top: 1px solid rgba(236,235,227,0.18); padding-top: 14px;
  transform: translateY(10px); transition: transform .5s ease;
}
.fleet-card .fc-over > div:last-child::after {
  content: "View specs →"; display: block; margin-top: 16px;
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--d-green);
}
.fleet-card:hover .fc-specs { transform: translateY(0); }
.fleet-card .fc-specs .sp { flex: 1; border-right: 1px solid rgba(236,235,227,0.14); }
.fleet-card .fc-specs .sp:last-child { border-right: 0; }
.fleet-card .fc-specs .sp .k {
  font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(236,235,227,0.55);
}
.fleet-card .fc-specs .sp .v { font-weight: 700; font-size: clamp(17px, 1.7vw, 20px); letter-spacing: -0.01em; margin-top: 4px; color: #fff; }
.fleet-card .fc-specs .sp .v .u { font-family: 'Geist Mono', monospace; font-weight: 400; font-size: 10px; color: var(--d-green); margin-left: 2px; letter-spacing: 0.1em; }

/* =====================================================================
   APPLICATIONS — carousel (dark)
   ===================================================================== */
.apps { background: var(--dark); color: var(--d-ink); position: relative; overflow: hidden; }
.apps .section-title { color: var(--d-ink); }
.apps .section-title .ac { color: var(--d-green); }
.apps .section-sub { color: var(--d-mute); }
.apps .kicker { color: var(--d-green); }
.carousel { max-width: 1320px; margin: 44px auto 0; position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1); }
.slide { flex: 0 0 100%; }
.slide-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--d-line); background: var(--dark-2); min-height: 460px;
}
@media (max-width: 820px) { .slide-inner { grid-template-columns: 1fr; } }
.slide-media { position: relative; overflow: hidden; background: #0a0c08; min-height: 280px; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-media.contain { background: radial-gradient(ellipse 82% 82% at 50% 44%, #ffffff 0%, #eceae2 100%); }
.slide-media.contain img { object-fit: contain; padding: 7%; }
.slide-media .tag {
  position: absolute; left: 18px; top: 18px; z-index: 2; white-space: nowrap;
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--d-ink); background: rgba(10,12,8,0.6); border: 1px solid var(--d-line);
  padding: 6px 12px; backdrop-filter: blur(4px);
}
.slide-body { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.slide-body .s-num { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.24em; color: var(--d-green); }
.slide-body .s-title { margin: 14px 0 0; font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1.0; text-wrap: balance; }
.slide-body .s-desc { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: var(--d-mute); max-width: 460px; }
.slide-body .s-meta { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--d-line); display: flex; gap: 40px; }
.slide-body .s-meta .m .k { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-mute-2); }
.slide-body .s-meta .m .v { font-weight: 600; font-size: 18px; margin-top: 5px; }
.slide-body .s-meta .m .v .ac { color: var(--d-green); }
.slide-body .s-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--d-green); border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: border-color .25s ease, gap .25s ease;
}
.slide-body .s-link:hover { border-color: var(--d-green); gap: 12px; }
.carousel-ctrl { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots .dot { width: 30px; height: 3px; background: var(--d-line); cursor: pointer; transition: background .3s ease; border: none; padding: 0; }
.carousel-dots .dot.active { background: var(--d-green); }
.carousel-arrows { display: flex; gap: 10px; }
.carousel-arrows button {
  width: 46px; height: 46px; border: 1px solid var(--d-line); background: transparent; color: var(--d-ink);
  font-size: 18px; cursor: pointer; transition: background .25s ease, border-color .25s ease;
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
}
.carousel-arrows button:hover { background: rgba(236,235,227,0.08); border-color: var(--d-green); }
@media (max-width: 560px) {
  /* stack dots above arrows so nothing overflows the screen edge */
  .carousel-ctrl { flex-direction: column; gap: 18px; }
  .carousel-dots { flex-wrap: wrap; justify-content: center; }
  .carousel-arrows { align-self: center; }
}

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 0.82fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .contact-inner { grid-template-columns: 1fr; gap: 44px; } }
.contact-left .section-title { margin-top: 18px; }
.contact-meta { margin-top: 38px; display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); padding-top: 26px; }
.contact-meta .cm .k { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute-2); }
.contact-meta .cm .v { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; margin-top: 5px; color: var(--ink); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
@media (max-width: 480px) { .contact-form { grid-template-columns: 1fr; } }
.contact-form .field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form label { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: #fbf9f3; border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 15px; font-family: 'Archivo', sans-serif; font-size: 15px; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,90,58,0.12);
}
.contact-form input.invalid, .contact-form textarea.invalid { border-color: var(--rescue); box-shadow: 0 0 0 3px rgba(184,52,28,0.12); }
.contact-form .form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.contact-form .btn-dark { background: var(--ink); color: #fff; cursor: pointer; }
.contact-form .btn-dark:hover { background: #000; transform: translateY(-2px); }
.contact-form .form-note { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.04em; color: var(--green); opacity: 0; transition: opacity .3s ease; }
.contact-form .form-note.show { opacity: 1; }
.contact-form.sent { opacity: 0.6; pointer-events: none; }
.footer { background: var(--dark-2); color: var(--d-ink); padding: 70px 6vw 48px; border-top: 1px solid var(--d-line); }
.footer-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .f-url { font-weight: 700; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.02em; }
.footer .f-url .at { color: var(--d-green); }
.footer img { height: 22px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer .f-logo { height: clamp(32px, 4vw, 48px); width: auto; filter: none; opacity: 1; }
.footer .f-meta { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-mute-2); text-align: right; line-height: 1.8; }

/* =====================================================================
   ENERGY-FLOW (powertrain) section — light theme (Direction C)
   ===================================================================== */
.pt-intro { max-width: 1320px; margin: 0 auto; padding: clamp(64px,9vh,120px) 6vw 30px; }
.pt-intro h2 { margin: 22px 0 0; font-weight: 200; font-size: clamp(34px, 5vw, 66px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.pt-intro h2 b { font-weight: 700; }
.pt-intro h2 .it { font-style: italic; font-weight: 700; color: var(--green); }
.pt-intro p { margin: 22px 0 0; max-width: 600px; font-size: 17px; line-height: 1.6; color: var(--mute); }
.pt-intro p b { color: var(--ink); font-weight: 600; }
.pt-intro .cue { margin-top: 34px; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute-2); display: flex; align-items: center; gap: 12px; }
.pt-intro .cue .ar { color: var(--green); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

.pt-section { position: relative; height: 320vh; }
.pt-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 44%, #faf8f2 0%, var(--paper) 58%, var(--paper-2) 100%); }
.pt-corner { position: absolute; width: 22px; height: 22px; border: 1px solid var(--mute-2); z-index: 6; }
.pt-corner.tl { top: 30px; left: 30px; border-right: 0; border-bottom: 0; }
.pt-corner.tr { top: 30px; right: 30px; border-left: 0; border-bottom: 0; }
.pt-corner.bl { bottom: 30px; left: 30px; border-right: 0; border-top: 0; }
.pt-corner.br { bottom: 30px; right: 30px; border-left: 0; border-top: 0; }
.pt-head { position: absolute; top: 0; left: 0; right: 0; z-index: 12; display: flex; align-items: baseline; justify-content: space-between; padding: calc(var(--nav-h) + 18px) 6vw 0; }
.pt-head .which { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--green); }
.pt-head .title { font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; }
.pt-head .title .thin { font-weight: 200; color: var(--mute); }
.pt-head .meta { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute-2); text-align: right; line-height: 1.7; white-space: nowrap; }
.pt-body { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pt-stagewrap { position: relative; width: min(86vh, 92vw); height: min(86vh, 92vw); }
.ptC-watermark { position: absolute; left: 3.5vw; bottom: 7.5vh; z-index: 2; font-family: 'Geist Mono', monospace; font-weight: 300; font-size: clamp(120px, 24vh, 300px); line-height: 0.78; color: rgba(45,90,58,0.07); letter-spacing: -0.03em; pointer-events: none; }
.pt-stage { position: relative; width: 100%; height: 100%; }
.pt-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 40px rgba(0,0,0,0.14)); }
.pt-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pt-line { stroke: rgba(0,0,0,0.16); stroke-width: 1.6; fill: none; transition: stroke .5s ease, stroke-width .5s ease; }
.pt-line.on { stroke: var(--pt-green); stroke-width: 2.8; filter: drop-shadow(0 0 4px var(--pt-green-glow)); }
.pt-node { position: absolute; transform: translate(-50%, -50%); width: 20px; height: 20px; z-index: 4; transition: transform .4s ease; }
.pt-node-ring, .pt-node-core { position: absolute; inset: 0; border-radius: 50%; }
.pt-node-ring { border: 1.5px solid rgba(0,0,0,0.30); box-shadow: 0 0 0 2px rgba(255,255,255,0.65); transition: border-color .45s ease, box-shadow .45s ease, transform .45s ease; }
.pt-node-core { inset: 6px; background: rgba(0,0,0,0.22); border-radius: 50%; transition: background .45s ease, box-shadow .45s ease; }
.pt-node--mot { width: 28px; height: 28px; }
.pt-node.is-lit .pt-node-ring { border-color: var(--pt-green); box-shadow: 0 0 0 2px rgba(255,255,255,0.8); }
.pt-node.is-lit .pt-node-core { background: var(--pt-green); box-shadow: 0 0 10px var(--pt-green-glow); }
.pt-node.is-current { z-index: 6; }
.pt-node.is-current .pt-node-ring { border-color: var(--pt-green); box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(31,157,87,0.22), 0 0 16px var(--pt-green-glow); transform: scale(1.16); animation: nodePulse 2.4s ease-in-out infinite; }
.pt-node.is-current .pt-node-core { box-shadow: 0 0 14px var(--pt-green-glow); }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(31,157,87,0.22), 0 0 16px var(--pt-green-glow); } 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 9px rgba(31,157,87,0.08), 0 0 24px var(--pt-green-glow); } }
.pt-disc { position: absolute; transform: translate(-50%, -50%) scale(0.6); width: 150px; height: 150px; border-radius: 50%; z-index: 3; border: 1px dashed rgba(45,90,58,0); opacity: 0; transition: opacity .6s ease, transform .6s ease, border-color .6s ease; pointer-events: none; }
.pt-disc.on { opacity: 1; transform: translate(-50%, -50%) scale(1); border-color: rgba(31,157,87,0.42); }
.ptC-callout { position: absolute; z-index: 11; transform: translate(40px, -50%); width: 320px; opacity: 0; transition: opacity .45s ease, left .65s cubic-bezier(.45,.05,.2,1), top .65s cubic-bezier(.45,.05,.2,1), transform .65s cubic-bezier(.45,.05,.2,1); pointer-events: none; }
@keyframes ptCardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ptMarkIn { from { opacity: 0; } to { opacity: 1; } }
.ptC-callout.show { opacity: 1; }
.ptC-callout.flip { transform: translate(calc(-100% - 40px), -50%); }
.ptC-callout::before { content: ""; position: absolute; left: -40px; top: 50%; width: 40px; height: 2px; background: var(--pt-green); }
.ptC-callout.flip::before { left: auto; right: -40px; }
.ptC-card { background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); border: 1px solid var(--line); border-left: 4px solid var(--pt-green); padding: 22px 26px 24px; box-shadow: 0 20px 44px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.07); }
.ptC-callout.flip .ptC-card { border-left: 1px solid var(--line); border-right: 4px solid var(--pt-green); }
.ptC-num { font-family: 'Geist Mono', monospace; font-size: 14px; letter-spacing: 0.26em; color: var(--pt-green); }
.ptC-name { font-weight: 700; font-size: 34px; letter-spacing: -0.025em; line-height: 1.02; margin-top: 8px; text-wrap: balance; }
.ptC-sub { margin-top: 10px; font-size: 17px; line-height: 1.4; color: var(--ink-soft); }
.ptC-spec { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-family: 'Geist Mono', monospace; font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); }
.ptC-steps { position: absolute; left: 50%; bottom: 5.5vh; transform: translateX(-50%); z-index: 12; display: flex; gap: 12px; align-items: flex-start; }
.ptC-step { display: flex; flex-direction: column; align-items: center; gap: 9px; width: 86px; }
.ptC-step .seg { width: 100%; height: 3px; background: var(--line); transition: background .35s ease; }
.ptC-step.done .seg, .ptC-step.active .seg { background: var(--pt-green); }
.ptC-step.active .seg { box-shadow: 0 0 10px var(--pt-green-glow); }
.ptC-step .lab { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-2); white-space: nowrap; opacity: 0.55; transition: opacity .3s ease, color .3s ease; }
.ptC-step.active .lab { opacity: 1; color: var(--ink); }
.ptC-step.done .lab { opacity: 0.85; color: var(--green); }
@media (max-width: 720px) {
  .ptC-steps .lab { display: none; }
  /* Centre the drone+card group vertically (with a bottom reserve so the
     hanging card stops short of the step bar) — moves both lower and kills
     the empty gap above the steps. */
  .pt-body { align-items: center; padding-top: calc(var(--nav-h) + 4px); padding-bottom: 18vh; }
  .pt-stagewrap { width: min(46vh, 92vw); height: min(46vh, 92vw); }
  /* Shrink the schematic node dots so they stay proportional to the smaller
     drone (they're a fixed pixel size and don't scale with the stage). */
  .pt-node { width: 13px; height: 13px; }
  .pt-node--mot { width: 17px; height: 17px; }
  .pt-node-core { inset: 4px; }
  .pt-disc { width: 92px; height: 92px; }
  /* card hangs directly beneath the drone (stagewrap is its containing block) */
  .ptC-callout {
    left: 50% !important; top: calc(100% + 18px) !important; bottom: auto !important;
    transform: translateX(-50%) !important; width: min(88vw, 360px);
  }
  .ptC-callout.flip { transform: translateX(-50%) !important; }
  .ptC-callout::before { display: none; }
  /* compact the card so the group fits comfortably above the steps */
  .ptC-card { padding: 16px 18px 18px; }
  .ptC-name { font-size: 24px; }
  .ptC-sub { font-size: 15px; margin-top: 8px; }
  .ptC-spec { margin-top: 10px; padding-top: 10px; font-size: 12px; }
  /* faint watermark in the gap between the heading and the drone */
  .ptC-watermark { font-size: clamp(36px, 10vh, 64px); left: 5vw; bottom: auto; top: 20vh; }
  /* keep all six step segments inside the bottom corner brackets (30px+22px inset) */
  .ptC-steps { width: min(100vw - 120px, 360px); gap: 7px; }
  .ptC-step { width: auto; flex: 1 1 0; }
}
