/* ==========================================================================
   ADVENTURECK LLC - site stylesheet
   Theme: dark, single neon-lime accent (locked sitewide).
   Shape rule: buttons + chips are pills, cards/panels are 16px, inputs 10px.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0d0f;
  --bg-2: #0f1214;
  --panel: #14171a;
  --panel-2: #181c1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #edf1ec;
  --muted: #a9b1ac;
  --accent: #c8f169;
  --accent-strong: #d9fb8a;
  --accent-ink: #141908;
  --accent-tint: rgba(200, 241, 105, 0.07);
  --radius-card: 16px;
  --radius-pill: 999px;
  --container: 1160px;
  --nav-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }

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

a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* --------------------------------------------------------------------------
   Buttons. One primary intent sitewide: "Request a demo".
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid transparent;
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(11, 13, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand svg { width: 30px; height: 30px; color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 16px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta .btn-primary { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
}

/* Single ambient glow anchored to the plan card. The one neon moment. */
.hero-glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 105, 0.14) 0%, transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-glow { right: -240px; }
}

/* Sample-plan card: a real rendered component, not a fake screenshot. */
.plan-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.plan-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.plan-title { font-weight: 600; font-size: 1rem; }

.plan-map { margin: 20px 0 8px; }
.plan-map svg { width: 100%; height: auto; display: block; }

.plan-route {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 7;
}
.js .plan-route { stroke-dashoffset: 520; animation: route-draw 2.4s var(--ease-out) 0.4s forwards; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }

.plan-stop { fill: var(--accent); }
.plan-stop-ring { fill: none; stroke: rgba(200, 241, 105, 0.35); stroke-width: 6; }
.plan-city { fill: var(--muted); font-size: 11px; font-family: inherit; }

.plan-rows { display: grid; gap: 10px; margin-top: 16px; }
.plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.92rem;
}
.plan-row svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.plan-row .grow { flex: 1; }
.plan-row .price { color: var(--muted); font-variant-numeric: tabular-nums; }

.plan-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}
.plan-foot svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Constraint marquee (the only marquee on the site)
   -------------------------------------------------------------------------- */

.marquee-section {
  border-block: 1px solid var(--line);
  padding: 26px 0;
  background: var(--bg-2);
}

.marquee {
  overflow: hidden;
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  flex: none;
  animation: marquee 36s linear infinite;
}
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

.chip {
  flex: none;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Sections, shared
   -------------------------------------------------------------------------- */

.section { padding: 104px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 56ch; }

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}

/* --------------------------------------------------------------------------
   Bento: what the engine does (5 cells, mixed sizes and backgrounds)
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.cell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease;
}
.cell:hover { border-color: var(--line-strong); }

.cell-wide { grid-column: span 7; }
.cell-tall { grid-column: span 5; }
.cell-third { grid-column: span 4; }

.cell h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.cell p { color: var(--muted); font-size: 0.96rem; max-width: 52ch; }

.cell-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  border: 1px solid rgba(200, 241, 105, 0.22);
}
.cell-icon svg { width: 20px; height: 20px; color: var(--accent); }

.cell-tinted { background: linear-gradient(160deg, var(--accent-tint), var(--panel) 70%); }

.cell-photo {
  padding: 0;
  overflow: hidden;
  min-height: 240px;
  position: relative;
}
.cell-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Route diagram inside the wide cell */
.cell-viz { margin-top: auto; }
.cell-viz svg { width: 100%; height: auto; display: block; }
.viz-line { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; }
.viz-line-best { stroke: var(--accent); stroke-width: 2; fill: none; }
.viz-dot { fill: var(--accent); }
.viz-dot-dim { fill: rgba(255, 255, 255, 0.35); }
.viz-label { fill: var(--muted); font-size: 10.5px; font-family: inherit; }

@media (max-width: 920px) {
  .cell-wide, .cell-tall, .cell-third { grid-column: span 12; }
  .cell-photo { min-height: 220px; }
}

/* --------------------------------------------------------------------------
   How it works: a real 3-step sequence, numbered rows
   -------------------------------------------------------------------------- */

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }

.step {
  display: grid;
  grid-template-columns: 88px 1fr 1.1fr;
  gap: 28px;
  padding: 40px 8px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; }
.step p { color: var(--muted); }

@media (max-width: 820px) {
  .step { grid-template-columns: 56px 1fr; }
  .step p { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Who it serves: divided rows
   -------------------------------------------------------------------------- */

.audience { border-top: 1px solid var(--line); }
.audience-row {
  display: grid;
  grid-template-columns: 56px 260px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.audience-row:hover { background: rgba(255, 255, 255, 0.02); }
.audience-row svg { width: 28px; height: 28px; color: var(--accent); }
.audience-row h3 { font-size: 1.25rem; font-weight: 600; }
.audience-row p { color: var(--muted); max-width: 62ch; }

@media (max-width: 820px) {
  .audience-row { grid-template-columns: 40px 1fr; }
  .audience-row p { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   Statement band (full-width photo + scrim)
   -------------------------------------------------------------------------- */

.statement {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.statement img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 15, 0.92) 20%, rgba(11, 13, 15, 0.55) 70%, rgba(11, 13, 15, 0.35));
}
.statement .container { position: relative; z-index: 1; padding-block: 72px; }
.statement blockquote {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.statement cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--muted);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band { padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -320px;
  transform: translateX(-50%);
  width: 720px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 105, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p { margin: 18px auto 0; color: var(--muted); max-width: 44ch; font-size: 1.05rem; }
.cta-band .btn { margin-top: 36px; }
.cta-mail { margin-top: 18px; font-size: 0.95rem; }
.cta-mail a { color: var(--muted); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.cta-mail a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.footer h4 {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.footer a:hover { color: var(--accent); }
.footer address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.page-head { padding: 96px 0 72px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .hero-glow { top: -260px; right: -220px; }
.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 24ch;
}
.page-head p { margin-top: 22px; color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

.prose { max-width: 68ch; display: grid; gap: 18px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose strong { color: var(--ink); font-weight: 600; }

.founder-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  max-width: 640px;
}
.founder-mark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--accent-tint), var(--bg-2));
  border: 1px solid rgba(200, 241, 105, 0.28);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.founder-card h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.founder-role { margin-top: 4px; color: var(--muted); font-size: 0.98rem; }
.founder-mail {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.founder-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.founder-mail svg { width: 17px; height: 17px; }

@media (max-width: 640px) {
  .founder-card { grid-template-columns: 1fr; justify-items: start; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
}
.fact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 28px;
}
.fact dt { color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.fact dd { margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
.fact dd a { color: var(--accent); text-decoration: none; }
.fact dd a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 680px) {
  .facts { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Scroll reveal: JS adds .in; without JS everything stays visible.
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; }
  .js .plan-route { animation: none; stroke-dashoffset: 0; }
  .btn, .cell, .audience-row { transition: none; }
}
