/* Marketing styles only. Independent of the app and pitch deck stylesheets. */
:root {
  color-scheme: dark;
  --bg: #0B0B0B;
  --surface: #141414;
  --text: #F2F2F0;
  --muted: #9A9A96;
  --line: rgba(255,255,255,0.08);
  --accent: #F26A21;
  --hunter-green: #243B2A;
  --hunter-muted: #8A9485;
  --hunter-orange: #FF6600;
  --hunter-border: rgba(138,148,133,0.35);
  --hunter-text: #B9C1B5;
  --hunter-topo: rgba(138,148,133,0.14);
  --control-border: #666660;
  --header-bg: rgba(11,11,11,0.92);
  --radar-line: rgba(154,154,150,0.24);
  --radar-topo: rgba(154,154,150,0.12);
  --success: #A9D8AF;
  --error: #FFAE94;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-space: clamp(4.5rem, 8vw, 8rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { color: var(--bg); background: var(--accent); }
a { color: inherit; text-decoration: none; text-underline-offset: 0.25em; }
a:hover { color: var(--accent); }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 500; line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.1vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.2; }
p { max-width: 60ch; margin: 0 0 1.25rem; color: var(--muted); }
h1 + p, h2 + p, h3 + p { margin-top: 1.5rem; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
.container { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.section { padding-block: var(--section-space); border-top: 1px solid var(--line); }
.section--compact { padding-top: 0; border-top: 0; }
.surface { background: var(--surface); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.split > *, .hero__grid > *, .contact-layout > * { min-width: 0; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.65; }
.eyebrow, .small-label { display: block; font: 400 0.6875rem/1.65 var(--font-mono); text-transform: uppercase; letter-spacing: 0.09em; }
.eyebrow { margin-bottom: 1.75rem; color: var(--accent); }
.small-label { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 48px; padding: 0.8rem 1.25rem; border: 1px solid transparent; border-radius: 2px; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; transition: background 180ms, border-color 180ms; }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { color: var(--bg); background: var(--text); }
.btn:disabled { cursor: wait; opacity: 0.65; }
.text-link { display: inline-flex; align-items: center; gap: 1.5rem; min-height: 44px; font-size: 0.875rem; border-bottom: 1px solid var(--muted); }
.text-link:hover { border-color: var(--accent); }
.skip-link { position: fixed; top: 0.75rem; left: 1rem; transform: translateY(-200%); padding: 0.75rem 1rem; background: var(--accent); color: var(--bg); z-index: 100; }
.skip-link:focus { transform: translateY(0); }
.skip-link:hover { color: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 0.75rem; font: 600 1.0625rem/1.05 var(--font-heading); letter-spacing: -0.025em; }
.brand:hover { color: var(--text); }
.brand__sub { display: block; margin-top: 0.25rem; font: 400 0.5625rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.16em; }
.logo-chip { display: grid; place-items: center; width: 40px; height: 40px; padding: 5px; border-radius: 2px; background: var(--text); }
.logo-chip img { object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.8125rem; color: var(--muted); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--text); }
.nav__links a[aria-current]:not(.btn) { text-decoration: underline; text-decoration-color: var(--accent); }
.nav__links .btn { color: var(--bg); min-height: 42px; padding: 0.65rem 1.1rem; }
.nav__links .btn:hover, .nav__links .btn[aria-current] { color: var(--bg); }
.nav__toggle { display: none; }
/* Intro and radar */
.hero { padding-block: clamp(4rem, 7vw, 7.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.65fr 0.85fr; align-items: center; gap: 2rem; }
.hero__copy { position: relative; z-index: 1; }
.hero h1 { max-width: 13.5ch; }
.hero .lead { max-width: 43ch; margin-top: 2rem; }
.hero__signal { width: 100%; }
.hero__signal svg { width: 100%; overflow: visible; }
.topo-line { fill: none; stroke: var(--radar-topo); stroke-width: 1; }
.radar-ring { fill: none; stroke: var(--radar-line); stroke-width: 1; }
.radar-axis { stroke: var(--radar-line); stroke-width: 1; stroke-dasharray: 2 7; fill: none; }
.radar-arm { stroke: var(--accent); stroke-width: 1; }
.radar-node { fill: var(--accent); }
.sweep-start { stop-color: var(--accent); stop-opacity: 0; }
.sweep-end { stop-color: var(--accent); stop-opacity: 0.2; }
.radar-sweep-group { transform-origin: 200px 200px; animation: radar-sweep 16s linear infinite; }
.radar-node--ping { fill: none; stroke: var(--accent); stroke-width: 1; transform-origin: 270px 132px; animation: radar-ping 4s ease-out infinite; }
.signal-caption { margin-top: 1.5rem; display: grid; gap: 0.5rem; text-align: center; color: var(--muted); font: 400 0.5625rem/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; }
@keyframes radar-sweep { to { transform: rotate(360deg); } }
@keyframes radar-ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(4); opacity: 0; } }
.page-hero { padding-block: clamp(4.5rem, 9vw, 9rem); }
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { max-width: 55ch; margin-top: 2rem; }
.hero__note { margin-top: 2rem; }
.mission h2 { max-width: 28ch; font-size: clamp(2rem, 3.8vw, 3.5rem); }
/* Product theme remains local to the product page or band. */
.theme-hunter { --accent: var(--hunter-orange); --muted: var(--hunter-muted); --radar-line: var(--hunter-border); --radar-topo: var(--hunter-topo); }
.hunter-band { background: var(--hunter-green); --muted: var(--hunter-text); --line: var(--hunter-border); }
.hunter-band .small-label { color: var(--hunter-text); }
.hunter-band .eyebrow, .hunter-band .text-link:hover { color: var(--text); }
.hunter-band .lead { margin-bottom: 2rem; }
.capability-list { margin-top: 1.5rem; }
.capability-list li { border-top: 1px solid var(--line); padding-block: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1rem; }
.capability-list li::after { content: '+'; color: var(--accent); font-family: var(--font-mono); }
.capability-list li:last-child { border-bottom: 1px solid var(--line); }
.capability-details > div { border-top: 1px solid var(--line); padding-block: 1.25rem; }
.capability-details > div:last-child { border-bottom: 1px solid var(--line); }
.capability-details dt { font-family: var(--font-heading); font-size: 1.25rem; }
.capability-details dd { color: var(--muted); margin-top: 0.35rem; font-size: 0.9375rem; }
.product-hero { background: linear-gradient(110deg, var(--bg) 45%, var(--hunter-green) 160%); }
/* Photography: simple editorial splits and uncropped wide images. */
.photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.photo--device { object-position: 25% center; }
.photo--founders { object-position: center 35%; }
.photo-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.photo-split > * { min-width: 0; }
.hunter-band .photo--device { aspect-ratio: 4 / 5; }
.product-hero .hero__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); }
.section-photo { margin-top: clamp(2.5rem, 5vw, 4rem); }
.milestone-photo { margin: 2rem 0 0; }
.milestone-photo figcaption { margin-top: 0.75rem; color: var(--muted); font: 400 0.6875rem/1.65 var(--font-mono); }
/* Progress */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 2.75rem 5rem; }
.stats > div { min-width: 0; padding: 0 1.5rem; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: end; gap: 0.9rem; }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats > div:last-child { padding-right: 0; }
.stats dt { color: var(--muted); font: 400 0.6875rem/1.6 var(--font-mono); }
.stats dd { font: 500 clamp(2.1rem, 4.2vw, 4rem)/1.1 var(--font-heading); letter-spacing: -0.05em; color: var(--accent); }
.stats .stat__date { font-size: clamp(1.5rem, 3vw, 2.75rem); letter-spacing: -0.04em; white-space: nowrap; }
.section--compact .stats { margin: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading p { max-width: 36ch; margin: 0; }
.section-heading .text-link { flex-shrink: 0; }
.roadmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.roadmap li { position: relative; border-top: 1px solid var(--line); padding: 1.5rem 1.25rem 0 0; }
.roadmap li::before { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--accent); }
.roadmap li:not(:last-child)::after { content: '→'; position: absolute; top: 3.1rem; right: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.roadmap strong { display: block; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; padding-right: 1rem; }
.roadmap .small-label { font-size: 0.5625rem; }
.timeline li { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 3rem; border-top: 1px solid var(--line); padding-block: 2.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .small-label { color: var(--accent); padding-top: 0.3rem; }
.timeline p { margin-bottom: 0; }
.grant-highlight { color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.steps li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.steps .small-label { color: var(--accent); margin-bottom: 2rem; }
.steps p { margin-bottom: 0; font-size: 0.9375rem; }
.launch-dates { margin-block: 2.5rem 1.5rem; }
.launch-dates > div { border-top: 1px solid var(--line); padding-block: 1rem; }
.launch-dates dt { color: var(--muted); font: 400 0.6875rem/1.6 var(--font-mono); }
.launch-dates dd { margin-top: 0.4rem; font: 500 1.5rem/1.2 var(--font-heading); color: var(--accent); }
.support { border-top: 1px solid var(--line); padding-block: 3rem; }
.support h2 { margin-bottom: 2rem; }
.support__names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 2rem; color: var(--muted); font: 500 0.875rem/1.55 var(--font-heading); }
.closing .split { grid-template-columns: 1fr auto; align-items: center; }
.closing h2 { max-width: 20ch; }
.closing p { margin-bottom: 0; }
/* Founders: full biographies, without placeholder portraits. */
.founders { padding-top: 0; border-top: 0; }
.founder { border-top: 1px solid var(--line); padding-block: 4rem; }
.founder:last-child { padding-bottom: 0; }
.founder h2 { margin-bottom: 1.5rem; }
.founder__bio p:last-child { margin-bottom: 0; }
/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(3rem, 8vw, 8rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.65rem; font-size: 0.8125rem; }
.field label span { color: var(--muted); font-size: 0.6875rem; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--control-border); border-radius: 2px; background: var(--surface); color: var(--text); padding: 0.8rem; min-height: 50px; font-size: 1rem; }
.field select { padding-right: 1.75rem; }
.field textarea { display: block; resize: vertical; min-height: 170px; }
#contact-form > .btn { margin-top: 1.75rem; }
.form-status { min-height: 1.75rem; margin-block: 1rem 0; font-size: 0.875rem; }
.form-status[data-state='success'] { color: var(--success); }
.form-status[data-state='error'] { color: var(--error); }
.form-note { margin-top: 0.75rem; font-size: 0.75rem; }
.form-note a, .legal p a { color: var(--text); text-decoration: underline; }
.contact-aside > div { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.contact-aside > div + div { margin-top: 2.5rem; }
.contact-aside h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.contact-aside .small-label { margin-bottom: 1rem; }
/* Legal copy is intentionally preserved. */
.legal .container { max-width: 840px; }
.legal h1 { margin-bottom: 2.5rem; }
.legal p { max-width: 68ch; }
.legal p:last-child { margin-bottom: 0; }
/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 3.5rem; }
.footer__top { display: flex; justify-content: space-between; gap: 4rem; padding-bottom: 4rem; }
.footer__brand p { margin-top: 1.5rem; font-size: 0.8125rem; }
.footer__brand .small-label { font-size: 0.5625rem; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; column-gap: 4rem; font-size: 0.8125rem; color: var(--muted); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.5rem; font-size: 0.6875rem; color: var(--muted); }
.footer__bottom > div { display: flex; gap: 1.5rem; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
/* Content is visible if JavaScript or observation is unavailable. */
.reveal.is-pending { opacity: 0; transform: translateY(16px); }
.reveal { transition: opacity 650ms ease, transform 650ms ease; }
@media (min-width: 1600px) { .hero { padding-block: 8rem; } }
@media (max-width: 1000px) {
  .nav__links { gap: 1.25rem; }
  .hero__grid { grid-template-columns: 1.6fr 0.8fr; gap: 1rem; }
  .split { gap: 3rem; }
  .stats > div { padding-inline: 1rem; }
  .roadmap li:not(:last-child)::after { content: none; }
  .steps { gap: 2rem; }
}
@media (max-width: 760px) {
  .nav { min-height: 76px; gap: 1rem; }
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 2px; color: var(--text); background: transparent; }
  .nav__toggle span { width: 20px; height: 1px; background: currentColor; transition: transform 180ms; }
  .is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__links { display: none; position: absolute; inset: 100% 0 auto; padding: 1rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 76px); overflow-y: auto; }
  .is-open .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { width: 100%; padding-block: 0.75rem; min-height: 48px; font-size: 1rem; }
  .nav__links .btn { margin-top: 0.75rem; justify-content: center; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-block: 3.5rem; }
  .hero h1 { max-width: 14ch; }
  .hero .lead { margin-top: 1.5rem; }
  .hero__signal { width: min(100%, 330px); margin-inline: auto; }
  .signal-caption { margin-top: 0.5rem; }
  .page-hero { padding-block: 4.5rem; }
  .split, .contact-layout, .photo-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-hero .hero__grid { grid-template-columns: 1fr; }
  .hunter-band .photo--device { aspect-ratio: 3 / 2; }
  .section-heading { align-items: start; flex-direction: column; gap: 1.5rem; }
  .section-heading h2 { max-width: 20ch; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; margin-bottom: 4.5rem; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats dd { font-size: 2.8rem; }
  .stats .stat__date { font-size: 1.85rem; white-space: normal; max-width: 8ch; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap li { padding: 1.25rem 0 1.25rem 1.5rem; border-top: 0; border-left: 1px solid var(--line); }
  .roadmap li::before { left: -3px; top: 1.65rem; }
  .roadmap li:first-child { padding-top: 0; }
  .roadmap li:first-child::before { top: 0.4rem; }
  .roadmap li:last-child { padding-bottom: 0; }
  .roadmap strong { margin-top: 0.35rem; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps .small-label { margin-bottom: 1.25rem; }
  .timeline li { grid-template-columns: 1fr; gap: 1rem; padding-block: 2rem; }
  .support__names { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; font-size: 0.8125rem; }
  .closing .split { grid-template-columns: 1fr; }
  .closing .btn { justify-self: start; }
  .founder { padding-block: 3rem; }
  .footer__top { flex-direction: column; gap: 2rem; padding-bottom: 2rem; }
  .footer__links { max-width: 360px; gap: 0 2rem; }
  .footer__bottom { align-items: start; flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 420px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero .actions { align-items: start; flex-direction: column; gap: 0.75rem; }
  .eyebrow { font-size: 0.625rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
/* Hunter Radar: scroll-driven app preview. The phone stays pinned while the steps scroll past;
   main.js sets .is-active on the current step and data-step on the section. */
.field-demo__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.field-demo__stage { position: sticky; top: calc(50vh - min(37vh, 330px)); align-self: start; display: grid; place-items: center; }
.field-demo__steps { padding-block: 18vh 30vh; }
.field-demo__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: 0.28; transition: opacity 400ms ease; }
.field-demo__step.is-active { opacity: 1; }
.field-demo__step--device { min-height: 110vh; justify-content: flex-start; padding-top: 12vh; }
.field-demo__step .small-label { color: var(--accent); margin-bottom: 1.25rem; }
.field-demo__step h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.field-demo__step p { margin: 1.25rem 0 1.5rem; }
.demo-status { display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content; padding: 0.3rem 0.65rem; border: 1px solid var(--line); color: var(--muted); font: 400 0.6875rem/1.4 var(--font-mono); letter-spacing: 0.09em; text-transform: uppercase; }
.demo-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--hunter-muted); }
.demo-status--live { color: var(--text); border-color: rgba(255,102,0,0.45); }
.demo-status--live::before { background: var(--hunter-orange); border-color: var(--hunter-orange); }
.field-demo__note { margin-top: 1rem; }

.demo-phone { position: relative; width: min(100%, 320px); aspect-ratio: 70.6 / 146.6; max-height: min(74vh, 660px); padding: 3.4%; border: 1.5px solid #55565A; border-radius: 46px; background: #050605; box-shadow: 0 50px 120px rgba(0,0,0,0.6); transition: opacity 250ms ease; }
.demo-phone__screen::before { content: ''; position: absolute; z-index: 5; top: 3.4cqw; left: 50%; width: 28cqw; height: 8cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.field-demo { overflow-x: clip; }
.demo-3d { position: absolute; z-index: 2; pointer-events: none; transition: opacity 250ms ease; }
.field-demo.has-3d .demo-phone { opacity: 0; }
.demo-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #0F1511; font-family: var(--font-body); container-type: inline-size; }
.demo-phone__bar { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; justify-content: space-between; padding: 4.8cqw 8cqw; color: var(--text); font-size: 3.7cqw; font-weight: 600; }
.demo-phone__signal { display: inline-flex; align-items: center; gap: 6px; }
.demo-phone__signal i { width: 6px; height: 6px; border-radius: 50%; background: var(--hunter-orange); box-shadow: 0 0 0 0 rgba(255,102,0,0.6); animation: demo-ping 2s ease-out infinite; }
.demo-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-map text { font-family: var(--font-body); font-size: 11px; font-weight: 600; fill: var(--text); }
.demo-map__topo path, .demo-map__topo ellipse { fill: none; stroke: rgba(138,148,133,0.16); stroke-width: 1; }
.demo-map__topo .demo-map__creek { stroke: rgba(138,148,133,0.32); stroke-width: 2.5; }
.demo-fence__shape { fill: rgba(255,102,0,0.04); stroke: rgba(255,102,0,0.55); stroke-width: 1.5; stroke-dasharray: 6 5; transition: fill 400ms ease, stroke 400ms ease; }
.demo-fence text { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.12em; fill: rgba(255,102,0,0.85); }
.demo-trail { fill: none; stroke: rgba(242,242,240,0.55); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 6; }
.demo-route { fill: none; stroke: none; }
.demo-pin circle { fill: var(--text); }
.demo-pin__halo { fill: rgba(242,242,240,0.14) !important; }
.demo-pin--you circle { fill: var(--hunter-orange); }
.demo-pin--you .demo-pin__halo { fill: rgba(255,102,0,0.22) !important; }
.demo-pin--you .demo-pin__range { fill: none; stroke: rgba(255,102,0,0.35); stroke-dasharray: 2 4; }
.demo-pin--two circle { fill: var(--hunter-muted); }
.demo-pin--three circle { transition: fill 300ms ease; }
.demo-pin--three .demo-pin__halo { animation: demo-halo 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }

.demo-alert { position: absolute; z-index: 4; left: 3.4cqw; right: 3.4cqw; top: 13.5cqw; display: grid; gap: 0.7cqw; padding: 4cqw 4.8cqw 4cqw 5.4cqw; border: 1px solid rgba(255,255,255,0.08); border-left: 2px solid var(--hunter-orange); border-radius: 16px; background: rgba(20,24,21,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0,0,0,0.5); color: var(--hunter-text); font-size: 4cqw; line-height: 1.4; opacity: 0; transform: translateY(-130%); transition: transform 500ms cubic-bezier(0.2, 0.9, 0.25, 1.1), opacity 300ms ease; }
.demo-alert strong { color: var(--text); font-size: 4.4cqw; font-weight: 600; }
.demo-alert__app { color: var(--hunter-muted); font-size: 3.3cqw; letter-spacing: 0.06em; text-transform: uppercase; }
.demo-alert--ok { border-left-color: var(--success); }
.demo-panel { position: absolute; z-index: 2; left: 3.4cqw; right: 3.4cqw; bottom: 3.4cqw; padding: 4.8cqw 5.4cqw 2cqw; border: 1px solid rgba(255,255,255,0.07); border-radius: 6.8cqw; background: rgba(20,24,21,0.94); font-size: 4cqw; white-space: nowrap; }
.demo-panel__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.demo-panel__head strong { color: var(--text); font-size: 4.4cqw; font-weight: 600; }
.demo-panel__head span { color: var(--success); font-size: 3.7cqw; }
.demo-panel li { display: flex; justify-content: space-between; gap: 2.7cqw; padding: 2.7cqw 0; border-top: 1px solid rgba(255,255,255,0.07); color: var(--hunter-text); }
.demo-panel li b { color: var(--text); font-weight: 500; }
.demo-panel [data-status] { transition: color 300ms ease; }

/* States driven by data-step / data-alert / data-entered on the section */
.field-demo[data-alert="boundary"] .demo-alert[data-alert="boundary"],
.field-demo[data-alert="checkin"] .demo-alert[data-alert="checkin"] { opacity: 1; transform: none; }
.field-demo[data-entered] .demo-fence__shape { fill: rgba(255,102,0,0.1); stroke: var(--hunter-orange); }
.field-demo[data-entered] .demo-pin--three circle:not(.demo-pin__halo) { fill: var(--hunter-orange); }
.field-demo[data-entered] [data-status="three"] { color: var(--hunter-orange); }
.field-demo[data-alert="checkin"] [data-status="two"] { color: var(--success); }

@keyframes demo-ping { 0% { box-shadow: 0 0 0 0 rgba(255,102,0,0.6); } 100% { box-shadow: 0 0 0 8px rgba(255,102,0,0); } }
@keyframes demo-halo { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.field-demo__caption { display: none; }
/* Phones: phone + caption share one pinned stage; the step list becomes invisible scroll spacers. */
@media (max-width: 760px) {
  .field-demo__layout { grid-template-columns: 1fr; gap: 0; }
  .field-demo__stage { top: 76px; height: calc(100svh - 76px); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1.25rem; padding-top: 0.75rem; }
  .demo-phone { width: auto; height: min(52svh, 470px); max-height: none; }
  .field-demo__caption { position: relative; z-index: 3; display: block; width: 100%; min-height: 9.5rem; }
  .field-demo__caption .small-label { color: var(--accent); margin-bottom: 0.6rem; }
  .field-demo__caption h3 { font-size: 1.375rem; }
  .field-demo__caption p { margin: 0.5rem 0 0.75rem; font-size: 0.9rem; line-height: 1.6; }
  .field-demo__caption.is-swapping { animation: demo-caption 400ms ease; }
  .field-demo__steps { padding-block: 0 10svh; }
  .field-demo__step { min-height: 70svh; opacity: 0 !important; pointer-events: none; }
  .field-demo__step--device { min-height: 90svh; padding-top: 0; }
}
@keyframes demo-caption { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .field-demo__step { opacity: 1; }
}
/* Homepage hero: point-cloud forest flyover (js/hero-forest.js) under a dark filter. */
.hero--forest { position: relative; overflow: hidden; isolation: isolate; }
.hero--forest > .container { position: relative; z-index: 1; }
.hero__forest { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.hero--forest.has-forest .hero__forest { opacity: 1; }
.hero--forest::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(11,11,11,0.8) 0%, rgba(11,11,11,0.5) 45%, rgba(11,11,11,0.28) 100%), linear-gradient(180deg, rgba(11,11,11,0.5) 0%, rgba(11,11,11,0) 28%, rgba(11,11,11,0) 70%, var(--bg) 100%); }
