/* ============================================================
   khan.systems — Page-specific styles
   ============================================================ */

/* ---------- HOME / HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 130px;
}
@media (max-height: 720px) { .hero { min-height: 760px; } }
#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: 50%; left: 60%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 62%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-tag-top {
  display: flex; gap: 14px; align-items: center; margin-bottom: 26px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  color: var(--cyan-dim); text-transform: uppercase;
}
.hero-tag-top .live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulseDot 2s infinite;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 13vw, 240px); line-height: 0.86;
  letter-spacing: -0.02em; color: var(--white);
  text-shadow: 0 0 60px rgba(0,0,0,0.6);
  max-width: 100%; overflow-wrap: break-word; hyphens: none;
}
.hero h1 .line2 { color: var(--cyan); text-shadow: 0 0 50px rgba(0,229,255,0.35); }
.hero-sub {
  margin-top: 28px; font-size: clamp(16px, 1.7vw, 22px);
  color: var(--titanium); max-width: 52ch; font-weight: 300;
}
.hero-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta {
  position: absolute; bottom: 38px; left: clamp(18px,4vw,48px); right: clamp(18px,4vw,48px);
  display: flex; justify-content: space-between; z-index: 2; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted);
}
.hero-meta .coord { color: var(--cyan-dim); }
@media (max-width: 700px) { .hero-meta { display: none; } }

/* Ticker */
.ticker {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0,229,255,0.06), rgba(0,229,255,0.02));
  overflow: hidden; padding: 14px 0;
  display: flex; white-space: nowrap;
}
.ticker-track { display: inline-flex; gap: 0; animation: tickerMove 38s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em;
  color: var(--cyan); padding: 0 26px; display: inline-flex; align-items: center; gap: 26px;
  text-transform: uppercase;
}
.ticker-item::after { content: "/"; color: var(--cyan-deep); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Product teaser grid */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.tcard {
  position: relative; background: var(--panel);
  padding: 32px 28px 26px; min-height: 320px;
  display: flex; flex-direction: column;
  transition: background 0.4s var(--ease);
  overflow: hidden;
}
.tcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid transparent; transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tcard:hover { background: var(--panel-2); }
.tcard:hover::after { border-color: var(--line-strong); box-shadow: inset 0 0 40px rgba(0,229,255,0.06); }
.tcard-code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--cyan-dim); }
.tcard-art { flex: 1; display: flex; align-items: center; justify-content: center; padding: 14px 0; }
.tcard-art svg { width: 130px; height: 130px; transition: transform 0.5s var(--ease); }
.tcard:hover .tcard-art svg { transform: translateY(-6px) rotate(2deg); }
.tcard-art svg .stroke { stroke: var(--muted); transition: stroke 0.4s var(--ease); }
.tcard:hover .tcard-art svg .stroke { stroke: var(--cyan); }

/* ---- Playful product schematic animations ---- */
@media (prefers-reduced-motion: no-preference) {
  .tcard-art svg .rotor, .pr-visual svg .rotor { transform-box: fill-box; transform-origin: center; animation: rotorSpin 0.85s linear infinite; }
  .tcard-art svg .rotor.fast, .pr-visual svg .rotor.fast { animation-duration: 0.55s; }
  .tcard-art svg .rotor.slow, .pr-visual svg .rotor.slow { animation-duration: 1.25s; }
  .tcard-art svg .rotor-rev, .pr-visual svg .rotor-rev { transform-box: fill-box; transform-origin: center; animation: rotorSpin 0.85s linear infinite reverse; }
  .tcard-art svg .rotor-rev.fast, .pr-visual svg .rotor-rev.fast { animation-duration: 0.55s; }
  .tcard-art svg .claw-l, .pr-visual svg .claw-l { animation: clawGripL 1.7s ease-in-out infinite; }
  .tcard-art svg .claw-r, .pr-visual svg .claw-r { animation: clawGripR 1.7s ease-in-out infinite; }
  .tcard-art svg .payload-lift, .pr-visual svg .payload-lift { animation: payloadLift 1.7s ease-in-out infinite; }
  .tcard-art svg .cage-spin, .pr-visual svg .cage-spin { transform-box: fill-box; transform-origin: center; animation: rotorSpin 16s linear infinite; }
  .tcard-art svg .wheel, .pr-visual svg .wheel { transform-box: fill-box; transform-origin: center; animation: rotorSpin 2.4s linear infinite; }
  .tcard-art svg .wheel.slow, .pr-visual svg .wheel.slow { animation-duration: 2.8s; }
  .tcard-art svg .tread, .pr-visual svg .tread { animation: treadRun 0.7s linear infinite; }
  .tcard-art svg .tread.rev, .pr-visual svg .tread.rev { animation: treadRunRev 0.7s linear infinite; }
  .tcard-art svg .lidar, .pr-visual svg .lidar { transform-box: view-box; transform-origin: 46px 44px; animation: lidarSweep 2.6s ease-in-out infinite; }
  .tcard-art svg .ping, .pr-visual svg .ping { transform-box: fill-box; transform-origin: center; animation: sonarPing 2.2s ease-out infinite; }
  .tcard-art svg .ping.p2, .pr-visual svg .ping.p2 { animation-delay: 0.73s; }
  .tcard-art svg .ping.p3, .pr-visual svg .ping.p3 { animation-delay: 1.46s; }
  .tcard-art svg .blink, .pr-visual svg .blink { animation: blinkDot 1.7s ease-in-out infinite; }
  .tcard-art svg .mesh, .pr-visual svg .mesh { animation: meshFlicker 3.4s ease-in-out infinite; }
  .tcard-art svg .swarm-node, .pr-visual svg .swarm-node { animation: nodeBreath 3.8s ease-in-out infinite; }
  .tcard-art svg .retract, .pr-visual svg .retract { animation: retractFlow 1.4s linear infinite; }
  .tcard-art svg .push-prop, .pr-visual svg .push-prop { animation: rotorSpin 0.4s linear infinite; }
  .tcard-art svg .sweep, .pr-visual svg .sweep { animation: rotorSpin 3.4s linear infinite; }
  .tcard-art svg .gimbal, .pr-visual svg .gimbal { animation: gimbalPan 3.6s ease-in-out infinite; }
  .tcard-art svg .thrust, .pr-visual svg .thrust { animation: thrustPush 0.7s ease-in infinite; }
  /* Raptor: upward props pulsing sideways + jointed arms working together */
  .tcard-art svg .prop-x, .pr-visual svg .prop-x { animation: propEdge 0.5s ease-in-out infinite; }
  .tcard-art svg .prop-x.alt, .pr-visual svg .prop-x.alt { animation-delay: 0.25s; }
  .tcard-art svg .lift-up, .pr-visual svg .lift-up { animation: liftRise 1.6s ease-out infinite; }
  .tcard-art svg .lift-up.d2, .pr-visual svg .lift-up.d2 { animation-delay: 0.4s; }
  .tcard-art svg .forearm-l, .pr-visual svg .forearm-l { animation: armWorkL 2.4s ease-in-out infinite; }
  .tcard-art svg .forearm-r, .pr-visual svg .forearm-r { animation: armWorkR 2.4s ease-in-out infinite; }
  .tcard-art svg .grip-l, .pr-visual svg .grip-l { animation: gripL 2.4s ease-in-out infinite; }
  .tcard-art svg .grip-r, .pr-visual svg .grip-r { animation: gripR 2.4s ease-in-out infinite; }
  /* Sentinel: pulsing scan + slow scanning sweep, no props */
  .tcard-art svg .scan-sweep, .pr-visual svg .scan-sweep { animation: rotorSpin 5s linear infinite; }
  /* Swarm: X-drones drifting in changing patterns + rotor spin */
  .tcard-art svg .xd, .pr-visual svg .xd { transform-box: fill-box; transform-origin: center; }
  .tcard-art svg .xd.d1, .pr-visual svg .xd.d1 { animation: swDriftA 6s ease-in-out infinite; }
  .tcard-art svg .xd.d2, .pr-visual svg .xd.d2 { animation: swDriftB 7.2s ease-in-out infinite; }
  .tcard-art svg .xd.d3, .pr-visual svg .xd.d3 { animation: swDriftC 6.6s ease-in-out infinite; }
  .tcard-art svg .xd.d4, .pr-visual svg .xd.d4 { animation: swDriftB 7.8s ease-in-out infinite reverse; }
  .tcard-art svg .xd.d5, .pr-visual svg .xd.d5 { animation: swDriftA 6.8s ease-in-out infinite reverse; }
  .tcard-art svg .xd.d6, .pr-visual svg .xd.d6 { animation: swDriftC 8s ease-in-out infinite; }
  .tcard-art svg .xd.d7, .pr-visual svg .xd.d7 { animation: swDriftA 7.4s ease-in-out infinite; }
  .tcard-art svg .xd-rot, .pr-visual svg .xd-rot { transform-box: fill-box; transform-origin: center; animation: rotorSpin 0.8s linear infinite; }
  .tcard-art svg .xd-tips, .pr-visual svg .xd-tips { animation: blinkDot 1.4s ease-in-out infinite; }
}
@keyframes propEdge { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(0.25); } }
@keyframes liftRise { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 0.8; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes armWorkL { 0%,100% { transform: rotate(-10deg); } 50% { transform: rotate(8deg); } }
@keyframes armWorkR { 0%,100% { transform: rotate(10deg); } 50% { transform: rotate(-8deg); } }
@keyframes gripL { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } }
@keyframes gripR { 0%,100% { transform: rotate(8deg); } 50% { transform: rotate(-6deg); } }
@keyframes swDriftA { 0%,100% { transform: translate(0,0); } 30% { transform: translate(9px,-7px); } 65% { transform: translate(-6px,6px); } }
@keyframes swDriftB { 0%,100% { transform: translate(0,0); } 35% { transform: translate(-8px,-5px); } 70% { transform: translate(7px,7px); } }
@keyframes swDriftC { 0%,100% { transform: translate(0,0); } 40% { transform: translate(7px,8px); } 75% { transform: translate(-9px,-4px); } }
@keyframes thrustPush { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes gimbalPan { 0%,100% { transform: rotate(-16deg); } 50% { transform: rotate(16deg); } }
@keyframes treadRun { from { transform: translateX(0); } to { transform: translateX(16px); } }
@keyframes treadRunRev { from { transform: translateX(0); } to { transform: translateX(-16px); } }
@keyframes clawGripL { 0%, 100% { transform: rotate(-13deg); } 50% { transform: rotate(7deg); } }
@keyframes clawGripR { 0%, 100% { transform: rotate(13deg); } 50% { transform: rotate(-7deg); } }
@keyframes payloadLift { 0%, 30% { transform: translateY(4px); } 55%, 80% { transform: translateY(-4px); } 100% { transform: translateY(4px); } }
@keyframes rotorSpin { to { transform: rotate(360deg); } }
@keyframes lidarSweep { 0%,100% { transform: rotate(-18deg); } 50% { transform: rotate(18deg); } }
@keyframes sonarPing { 0% { transform: scale(0.35); opacity: 0.85; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes blinkDot { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes meshFlicker { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes nodeBreath { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes retractFlow { to { stroke-dashoffset: -8; } }
.tcard-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--white); }
.tcard-type { font-size: 13px; color: var(--muted); margin-top: 4px; }
.tcard-readout {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--cyan-dim);
  margin-top: 14px; opacity: 0; transform: translateY(8px); transition: 0.4s var(--ease);
  border-top: 1px solid var(--line-soft); padding-top: 12px;
  display: flex; justify-content: space-between;
}
.tcard:hover .tcard-readout { opacity: 1; transform: none; }
@media (max-width: 900px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .teaser-grid { grid-template-columns: 1fr; } }

/* Stats bar */
.stats {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--void-2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(40px,5vw,64px) 30px; text-align: center;
  border-right: 1px solid var(--line-soft); position: relative;
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 5vw, 72px); color: var(--white); line-height: 1;
}
.stat .num .u { color: var(--cyan); font-size: 0.5em; margin-left: 2px; }
.stat .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); } }

/* Section heads on home */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--font-head); font-size: clamp(38px, 6vw, 78px); color: var(--white); line-height: 0.88; }
.sec-head .h-display { font-size: clamp(34px, 5vw, 58px); }

/* ---------- PRODUCTS PAGE ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(50px,8vw,90px)) 0 clamp(40px,6vw,70px); position: relative; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(64px, 16vw, 230px); line-height: 1.0; color: var(--white); padding-bottom: 0.14em; }
.page-hero .ph-sub { margin-top: clamp(20px, 2.4vw, 34px); max-width: 56ch; }
.page-hero-meta { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.page-hero-meta .m { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.page-hero-meta .m b { color: var(--cyan); font-weight: 400; }

.product-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; padding: clamp(50px,7vw,90px) 0;
  border-top: 1px solid var(--line-soft);
}
.product-row.flip .pr-visual { order: 2; }
.pr-visual {
  position: relative; aspect-ratio: 4/3;
  background: radial-gradient(circle at 50% 45%, rgba(0,229,255,0.07), transparent 65%), var(--panel);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pr-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,229,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
}
.pr-visual svg { width: 58%; height: 58%; position: relative; z-index: 2; animation: floatY 6s ease-in-out infinite; }
.pr-visual svg .stroke { stroke: var(--cyan); }
.pr-visual svg .fill-dim { fill: rgba(0,229,255,0.06); }
@keyframes floatY { 0%,100%{ transform: translateY(-8px);} 50%{transform: translateY(8px);} }
.pr-axis { position: absolute; bottom: 14px; left: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--cyan-dim); z-index: 3; }
.pr-corner { position: absolute; width: 18px; height: 18px; border: 1px solid var(--line-strong); z-index: 3; }
.pr-corner.a { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.pr-corner.b { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.pr-corner.c { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.pr-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--cyan-dim); }
.pr-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,3.6vw,48px); color: var(--white); margin: 8px 0 16px; line-height: 1; }
.pr-desc { color: var(--titanium); font-size: 15.5px; line-height: 1.7; max-width: 52ch; }
.pr-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table td { padding: 11px 0; font-family: var(--font-mono); font-size: 13px; vertical-align: top; }
.spec-table td.k { color: var(--cyan-dim); letter-spacing: 0.08em; width: 46%; text-transform: uppercase; font-size: 11.5px; }
.spec-table td.v { color: var(--white); text-align: right; }
.pr-apps { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 22px; }
@media (max-width: 820px) {
  .product-row { grid-template-columns: 1fr; gap: 28px; }
  .product-row.flip .pr-visual { order: 0; }
}

/* Spec modal */
.modal-back {
  position: fixed; inset: 0; z-index: 10020;
  background: rgba(3,5,11,0.72); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: 0.35s var(--ease);
  display: flex; align-items: flex-end; justify-content: center;
}
.modal-back.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 760px; max-height: 88vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-bottom: 0;
  transform: translateY(100%); transition: transform 0.45s var(--ease);
  box-shadow: 0 -30px 80px rgba(0,229,255,0.10);
}
.modal-back.open .modal { transform: translateY(0); }
.modal-head { position: sticky; top: 0; background: var(--panel); display: flex; justify-content: space-between; align-items: flex-start; padding: 28px 30px 22px; border-bottom: 1px solid var(--line); z-index: 2; }
.modal-head .mh-code { font-family: var(--font-mono); font-size: 12px; color: var(--cyan-dim); letter-spacing: 0.16em; }
.modal-head .mh-name { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--white); margin-top: 4px; }
.modal-close { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; color: var(--cyan); font-size: 18px; flex-shrink: 0; transition: 0.25s; }
.modal-close:hover { background: var(--cyan); color: var(--void); }
.modal-body { padding: 26px 30px 36px; }
.modal-body h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; }
.modal-body h4:first-child { margin-top: 0; }

/* ---------- APPLICATIONS PAGE ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card {
  position: relative; background: var(--panel); border: 1px solid var(--line-soft);
  padding: 0; overflow: hidden; min-height: 380px;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease);
}
.app-card:hover { transform: scale(1.02); }
.app-scene { height: 180px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); background: var(--void-2); }
.app-scene svg { width: 100%; height: 100%; }

/* ---- Animated scene motion (sector cards + case studies) ---- */
@media (prefers-reduced-motion: no-preference) {
  .app-scene svg .sweep, .case-scene svg .sweep, .cs-scene-lg svg .sweep { animation: rotorSpin 3.6s linear infinite; }
  .app-scene svg .spin-rotor, .case-scene svg .spin-rotor, .cs-scene-lg svg .spin-rotor { animation: rotorSpin 0.5s linear infinite; }
  .app-scene svg .ring-pulse, .case-scene svg .ring-pulse, .cs-scene-lg svg .ring-pulse { animation: scenePing 2.8s ease-out infinite; }
  .app-scene svg .ring-pulse.p2, .case-scene svg .ring-pulse.p2, .cs-scene-lg svg .ring-pulse.p2 { animation-delay: 0.93s; }
  .app-scene svg .ring-pulse.p3, .case-scene svg .ring-pulse.p3, .cs-scene-lg svg .ring-pulse.p3 { animation-delay: 1.86s; }
  .app-scene svg .flow, .case-scene svg .flow, .cs-scene-lg svg .flow { stroke-dashoffset: 0; animation: dashFlow 1s linear infinite; }
  .app-scene svg .twinkle, .case-scene svg .twinkle, .cs-scene-lg svg .twinkle { animation: blinkDot 1.9s ease-in-out infinite; }
  .app-scene svg .twinkle.d2, .case-scene svg .twinkle.d2, .cs-scene-lg svg .twinkle.d2 { animation-delay: 0.5s; }
  .app-scene svg .twinkle.d3, .case-scene svg .twinkle.d3, .cs-scene-lg svg .twinkle.d3 { animation-delay: 1s; }
  .app-scene svg .blink, .case-scene svg .blink, .cs-scene-lg svg .blink { animation: blinkDot 1.4s ease-in-out infinite; }
  .app-scene svg .recon, .case-scene svg .recon, .cs-scene-lg svg .recon { animation: reconFly 7s linear infinite; }
  .app-scene svg .parcel, .case-scene svg .parcel, .cs-scene-lg svg .parcel { animation: parcelFly 4.5s ease-in-out infinite; }
  .app-scene svg .hover-x, .case-scene svg .hover-x, .cs-scene-lg svg .hover-x { animation: hoverX 4s ease-in-out infinite; }
  .app-scene svg .cropduster, .case-scene svg .cropduster, .cs-scene-lg svg .cropduster { animation: cropPass 8s linear infinite; }
  .app-scene svg .spray, .case-scene svg .spray, .cs-scene-lg svg .spray { animation: blinkDot 0.9s ease-in-out infinite; }
  .app-scene svg .bob, .case-scene svg .bob, .cs-scene-lg svg .bob { animation: sceneBob 3.4s ease-in-out infinite; }
  .app-scene svg .wave, .case-scene svg .wave, .cs-scene-lg svg .wave { animation: waveDrift 6s linear infinite; }
  .app-scene svg .wave.w2, .case-scene svg .wave.w2, .cs-scene-lg svg .wave.w2 { animation-duration: 9s; }
  .app-scene svg .md-prop, .case-scene svg .md-prop, .cs-scene-lg svg .md-prop { animation: rotorSpin 0.45s linear infinite; }
  .app-scene svg .md-prop.rev, .case-scene svg .md-prop.rev, .cs-scene-lg svg .md-prop.rev { animation-direction: reverse; }
  .app-scene svg .md-beam, .case-scene svg .md-beam, .cs-scene-lg svg .md-beam { animation: blinkDot 1.3s ease-in-out infinite; }
  .app-scene svg .md-cargo, .case-scene svg .md-cargo, .cs-scene-lg svg .md-cargo { animation: nodeBreath 2.2s ease-in-out infinite; }
  .app-scene svg .dbob, .case-scene svg .dbob, .cs-scene-lg svg .dbob { animation: hoverBob 2.3s ease-in-out infinite; }
  .app-scene svg .hoverbob, .case-scene svg .hoverbob, .cs-scene-lg svg .hoverbob { animation: hoverBob 2.6s ease-in-out infinite; }
  .app-scene svg .spray-fall, .case-scene svg .spray-fall, .cs-scene-lg svg .spray-fall { animation: sprayFall 1s ease-in infinite; }
  .app-scene svg .agri-scan, .case-scene svg .agri-scan, .cs-scene-lg svg .agri-scan { animation: scanBand 5s linear infinite; }
  .app-scene svg .wave.w3, .case-scene svg .wave.w3, .cs-scene-lg svg .wave.w3 { animation: waveDrift 12s linear infinite; }
}
@keyframes hoverBob { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@keyframes sprayFall { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes scanBand { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(356px); opacity: 0; } }
@keyframes scenePing { 0% { transform: scale(0.45); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes dashFlow { to { stroke-dashoffset: -18; } }
@keyframes reconFly { 0% { transform: translateX(-30px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(330px); opacity: 0; } }
@keyframes parcelFly { 0% { transform: translate(-20px, 46px); opacity: 0; } 15% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate(252px, -14px); opacity: 0; } }
@keyframes hoverX { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-14px); } }
@keyframes cropPass { 0% { transform: translateX(-50px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(440px); opacity: 0; } }
@keyframes sceneBob { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(6px); } }
@keyframes waveDrift { to { transform: translateX(-200px); } }
.app-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.app-name { font-family: var(--font-head); font-size: 30px; color: var(--white); line-height: 0.95; margin-bottom: 14px; }
.app-uses { list-style: none; margin-bottom: 18px; }
.app-uses li { font-size: 13.5px; color: var(--titanium); padding: 5px 0 5px 18px; position: relative; }
.app-uses li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); font-size: 11px; }
.app-plat { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.app-plat .pcode { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--cyan-dim); border: 1px solid var(--line); padding: 4px 8px; }
/* traveling border */
.app-card .trace { position: absolute; inset: 0; pointer-events: none; z-index: 4; opacity: 0; transition: opacity 0.3s; }
.app-card:hover .trace { opacity: 1; }
.app-card .trace::before {
  content: ""; position: absolute; width: 40px; height: 40px;
  offset-path: inset(0 round 0); offset-distance: 0%;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation: traceMove 2.4s linear infinite;
}
@keyframes traceMove { to { offset-distance: 100%; } }
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .app-grid { grid-template-columns: 1fr; } }

/* ---- Case studies ---- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.case-card {
  position: relative; background: var(--panel); border: 1px solid var(--line-soft);
  padding: 30px 30px 26px; display: flex; flex-direction: column;
  overflow: hidden; transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.case-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0;
  background: var(--cyan); box-shadow: var(--glow-soft); transition: height 0.5s var(--ease);
}
.case-card:hover { border-color: var(--line-strong); background: var(--panel-2); }
.case-card:hover::before { height: 100%; }
.case-scene { height: 92px; margin: -30px -30px 22px; border-bottom: 1px solid var(--line-soft); background: var(--void-2); overflow: hidden; position: relative; }
.case-scene svg { width: 100%; height: 100%; }
.case-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--panel) 100%); pointer-events: none; }
.case-card:hover .case-scene { background: #081019; }
.case-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.case-sector { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-dim); }
.case-idx { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.1em; }
.case-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--white); line-height: 1.1; margin-bottom: 12px; }
.case-body { color: var(--titanium); font-size: 14.5px; line-height: 1.7; }
.case-stats { display: flex; gap: 14px; margin: 22px 0; }
.case-stat { flex: 1; border: 1px solid var(--line-soft); background: var(--void-2); padding: 16px 18px; }
.case-stat .cs-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); color: var(--cyan); line-height: 1; }
.case-stat .cs-lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.case-foot { margin-top: auto; padding-top: 4px; }
@media (max-width: 720px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- CASE STUDIES (full page) ---------- */
.deploy-map { border: 1px solid var(--line); background: radial-gradient(ellipse 70% 90% at 50% 45%, rgba(0,229,255,0.05), transparent 70%), var(--panel); padding: 18px; position: relative; overflow: hidden; }
.deploy-stage { position: relative; width: 100%; aspect-ratio: 200 / 112; }
.deploy-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dm-chip { position: absolute; transform: translate(-50%, 12px); display: flex; flex-direction: column; align-items: center; gap: 1px; pointer-events: none; white-space: nowrap; }
.dm-chip-label { font-family: var(--font-mono); font-size: clamp(9px, 0.9vw, 12px); letter-spacing: 0.06em; color: var(--white); background: rgba(5,8,16,0.7); padding: 1px 6px; border: 1px solid var(--line-soft); }
.dm-chip-env { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--cyan-dim); }
.dm-hub-chip { transform: translate(-50%, -150%); }
.dm-hub-chip .dm-chip-label { color: var(--cyan); border-color: var(--line-strong); }
.dm-sea .dm-chip-env { color: var(--titanium); }
.dm-readout { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.dm-readout .led { color: var(--cyan-dim); }
@media (prefers-reduced-motion: no-preference) {
  .deploy-svg .dm-ping { animation: scenePing 3s ease-out infinite; }
  .deploy-svg .dm-link { stroke-dashoffset: 0; animation: dashFlow 1.4s linear infinite; opacity: 0.55; }
  .deploy-svg .dm-radar { animation: rotorSpin 8s linear infinite; }
}
@media (max-width: 560px) { .dm-chip-label { font-size: 8.5px; padding: 1px 4px; } .dm-chip-env { display: none; } }

/* Filter */
.case-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.cf-btn { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 9px 16px; transition: 0.25s var(--ease); }
.cf-btn:hover { color: var(--white); border-color: var(--line-strong); }
.cf-btn.active { color: var(--void); background: var(--cyan); border-color: var(--cyan); }

/* Full entries */
.case-full-list { display: flex; flex-direction: column; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.cs-entry { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 56px); background: var(--panel); padding: clamp(28px, 4vw, 52px); align-items: center; }
.cs-entry.flip .cs-visual { order: 2; }
.cs-visual { position: relative; aspect-ratio: 5/4; border: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, rgba(0,229,255,0.07), transparent 65%), var(--void-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cs-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,229,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.05) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%); }
.cs-scene-lg { width: 86%; height: 70%; position: relative; z-index: 2; }
.cs-scene-lg svg { width: 100%; height: 100%; }
.cs-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cs-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 38px); color: var(--white); line-height: 1.05; margin-bottom: 18px; }
.cs-client { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.cs-client .cs-client-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.cs-client .cs-client-v { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--cyan); }
.cs-steps { position: relative; padding-left: 26px; }
.cs-steps::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--cyan), var(--line-soft)); }
.cs-block { margin-bottom: 20px; position: relative; }
.cs-block:last-child { margin-bottom: 0; }
.cs-block .cs-node { position: absolute; left: -26px; top: 3px; width: 11px; height: 11px; border: 1px solid var(--cyan); background: var(--void); border-radius: 50%; }
.cs-block .cs-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-dim); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.cs-block .cs-k::before { content: ""; width: 16px; height: 1px; background: var(--cyan-dim); }
.cs-block p { color: var(--titanium); font-size: 14.5px; line-height: 1.7; }gin-bottom: 7px; }
.cs-block .cs-k::before { content: ""; width: 16px; height: 1px; background: var(--cyan-dim); }
.cs-block p { color: var(--titanium); font-size: 14.5px; line-height: 1.7; }
.cs-stats { display: flex; gap: 12px; margin: 24px 0 22px; flex-wrap: wrap; }
.cs-stat { flex: 1; min-width: 100px; border: 1px solid var(--line-soft); background: var(--void-2); padding: 16px 18px; }
.cs-num-lg { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); color: var(--cyan); line-height: 1; }
.cs-lbl-sm { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.cs-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 6px; }
.cs-link { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); transition: 0.25s var(--ease); }
.cs-link:hover { letter-spacing: 0.14em; text-shadow: var(--glow-soft); }
@media (max-width: 820px) {
  .cs-entry { grid-template-columns: 1fr; gap: 24px; }
  .cs-entry.flip .cs-visual { order: 0; }
}

/* ---------- ABOUT PAGE ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: start; }
.about-intro .lead { font-size: clamp(18px, 2.2vw, 26px); color: var(--white); font-weight: 300; line-height: 1.5; }
.vision-card { border: 1px solid var(--line); background: var(--panel); padding: 30px; }
.vision-card .vc-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 13px; }
.vision-card .vc-row:last-child { border-bottom: 0; }
.vision-card .vc-k { color: var(--muted); letter-spacing: 0.08em; }
.vision-card .vc-v { color: var(--cyan); }

.timeline { position: relative; margin-top: 20px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--line-strong), var(--line-soft)); }
.tl-item { position: relative; padding: 0 0 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-node { position: absolute; left: -28px; top: 4px; width: 13px; height: 13px; border: 1px solid var(--cyan); background: var(--void); border-radius: 50%; }
.tl-item.in .tl-node { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--cyan); }
.tl-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--white); margin: 4px 0 6px; }
.tl-body { color: var(--muted); font-size: 14.5px; max-width: 52ch; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.principle { background: var(--panel); padding: 36px 30px; }
.principle .p-ico { width: 48px; height: 48px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; position: relative; }
.principle .p-ico svg { width: 24px; height: 24px; }
.principle .p-ico svg .stroke { stroke: var(--cyan); }
.principle h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--white); margin-bottom: 12px; }
.principle p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.principle .p-num { font-family: var(--font-mono); font-size: 11px; color: var(--cyan-dim); letter-spacing: 0.16em; margin-bottom: 14px; }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; } .about-intro { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { border: 1px solid var(--line-soft); background: var(--panel); padding: 30px; text-align: center; transition: 0.35s var(--ease); }
.team-card:hover { border-color: var(--line-strong); background: var(--panel-2); }
.team-sil { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--void-2); }
.team-sil svg { width: 64px; height: 64px; }
.team-sil svg .fill { fill: var(--muted-2); }
.team-card:hover .team-sil svg .fill { fill: var(--cyan-dim); }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--white); }
.team-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-dim); margin-top: 6px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- CONTACT PAGE ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,6vw,80px); align-items: start; }
.contact-left h1 { font-family: var(--font-head); font-size: clamp(42px, 6vw, 76px); line-height: 1.0; color: var(--white); padding-bottom: 0.12em; }
.contact-left .cl-desc { margin: clamp(20px,2.4vw,32px) 0 36px; color: var(--titanium); max-width: 44ch; line-height: 1.7; }
.partner-list { display: flex; flex-direction: column; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.partner { background: var(--panel); padding: 22px 24px; display: flex; align-items: center; gap: 18px; transition: 0.3s var(--ease); }
.partner:hover { background: var(--panel-2); padding-left: 30px; }
.partner .pn { font-family: var(--font-mono); font-size: 12px; color: var(--cyan-dim); }
.partner .pt { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--white); }
.partner .pd { font-size: 13px; color: var(--muted); margin-top: 2px; }

.form-shell { border: 1px solid var(--line); background: var(--panel); padding: clamp(26px,4vw,40px); position: relative; }
.form-shell .fs-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan-dim); margin-bottom: 24px; display: flex; justify-content: space-between; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--void-2); border: 1px solid var(--line);
  color: var(--white); font-family: var(--font-body); font-size: 15px;
  padding: 14px 16px; transition: 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 22px rgba(0,229,255,0.12);
  background: rgba(0,229,255,0.03);
}
.field select { appearance: none; cursor: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300e5ff' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  position: relative; overflow: hidden; width: 100%;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 18px; background: var(--cyan); color: var(--void); border: 0; margin-top: 6px;
  transition: 0.3s var(--ease);
}
.form-submit::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
}
.form-submit.scanning::after { animation: scanSweep 0.7s ease forwards; }
@keyframes scanSweep { to { left: 120%; } }
.form-submit:hover { box-shadow: var(--glow); }
.form-note { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-top: 18px; letter-spacing: 0.04em; line-height: 1.7; }
.form-success {
  display: none; text-align: center; padding: 30px 0;
}
.form-success.show { display: block; }
.form-success .fs-ico { width: 60px; height: 60px; border: 1px solid var(--cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; color: var(--cyan); font-size: 26px; box-shadow: var(--glow); }
.form-success h3 { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .contact-split { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* CTA band (home bottom) */
.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 80% 140% at 50% 0%, rgba(0,229,255,0.08), transparent 60%), var(--void-2); text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,64px); color: var(--white); line-height: 1; margin-bottom: 20px; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: 0 auto 32px; }

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 80px; min-height: auto; }
  .hero h1 { line-height: 0.9; }
  .hero-sub { font-size: 16px; margin-top: 22px; }
  .hero-cta { gap: 12px; margin-top: 30px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .ticker-item { font-size: 12px; padding: 0 18px; gap: 18px; }
  .sec-head h2, .sec-head .h-display { font-size: clamp(30px, 9vw, 44px); }
  .stat { padding: 32px 18px; }
  .stat .num { font-size: clamp(40px, 13vw, 56px); }
  .product-row { padding: 40px 0; }
  .pr-name { font-size: clamp(28px, 9vw, 40px); }
  .pr-visual { aspect-ratio: 16/11; }
  .spec-table td { font-size: 12.5px; }
  .app-name { font-size: 26px; }
  .modal { max-height: 92vh; }
  .modal-head { padding: 22px 20px 18px; }
  .modal-body { padding: 22px 20px 30px; }
  .footer-bot { flex-direction: column; gap: 10px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .btn, .nav-cta { padding: 14px 18px; font-size: 11px; }
}
/* Prevent horizontal overflow globally */
html, body { max-width: 100%; overflow-x: hidden; }
