/* ==========================================================================
   Artikuno Commerce — dark navy theme
   Sister site to artikunoautomation.com (shared type scale + component logic,
   inverted palette and Articuno-blue accent).
   ========================================================================== */

:root {
  /* surfaces — deep navy */
  --bg:            #060a1a;
  --bg-2:          #0a1028;
  --bg-3:          #0f1735;
  --surface:       rgba(255, 255, 255, 0.045);
  --surface-2:     rgba(47, 91, 255, 0.09);
  --border:        rgba(150, 180, 255, 0.14);
  --border-strong: rgba(150, 180, 255, 0.28);

  /* text */
  --text:       #eef2ff;
  --text-dim:   #a8b4d8;
  --text-faint: #6b779e;

  /* brand — Articuno */
  --blue:       #2f5bff;   /* primary accent, legible on navy */
  --blue-deep:  #0030db;   /* the logo blue */
  --blue-soft:  #5b83ff;
  --ice:        #7fd4ff;   /* ice-bird highlight */
  --ice-pale:   #c9ecff;

  --upwork: #14a800;
  --gold:   #f5b93c;

  --grad:      linear-gradient(120deg, var(--blue-deep), var(--blue) 45%, var(--ice));
  --grad-soft: linear-gradient(120deg, rgba(0,48,219,.20), rgba(47,91,255,.16) 45%, rgba(127,212,255,.12));

  --radius:    18px;
  --radius-lg: 28px;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.reduced-motion { scroll-behavior: auto; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: #fff; }

/* ---------- layout ---------- */
.container      { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.rel { position: relative; z-index: 2; }
/* orbs deliberately overhang their section; clip them so the page never
   scrolls sideways on narrow viewports */
section { position: relative; overflow: hidden; }

.section     { padding: 110px 0; }
.section-sm  { padding: 72px 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

.h-hero { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.035em; }
.h-1    { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.h-2    { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }

.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.19rem);
  color: var(--text-dim);
  max-width: 62ch;
  margin: 0 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 18px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- ambient orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.orb-blue { background: radial-gradient(circle, rgba(0,48,219,.75), transparent 68%); }
.orb-ice  { background: radial-gradient(circle, rgba(127,212,255,.30), transparent 68%); }

/* faint grid wash behind dark sections */
.grid-wash::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150,180,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,180,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 16px 30px; font-size: 1.03rem; }

.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0,48,219,.9), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(47,91,255,1), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--border-strong); transform: translateY(-2px); background: rgba(255,255,255,.075); }

/* ---------- header ---------- */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: transform .45s var(--ease-out);
}
#header.hidden { transform: translateY(-100%); }

.hdr-inner {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s, box-shadow .35s;
}
#header.solid .hdr-inner {
  background: rgba(6, 10, 26, 0.78);
  border-color: var(--border);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.9);
}

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: 1.12rem; }
.brand .mark { width: 34px; height: 26px; color: var(--blue-soft); flex: none; transition: color .3s, transform .5s var(--ease-out); }
.brand:hover .mark { color: var(--ice); }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); line-height: 1; margin-top: 3px; }

/* wing-beat on hover */
.brand:hover .mark svg { animation: wingbeat .7s var(--ease-out); }
@keyframes wingbeat {
  0%, 100% { transform: scaleX(1)   scaleY(1); }
  35%      { transform: scaleX(.82) scaleY(1.1); }
  70%      { transform: scaleX(1.06) scaleY(.95); }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .25s, background .25s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface); }

.hdr-cta { display: flex; align-items: center; gap: 10px; }

#hamburger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }

/* mobile nav */
#mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(6,10,26,.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
body.nav-open #mobile-nav { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
#mobile-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1.7rem;
  padding: 12px 20px; color: var(--text-dim);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .2s;
}
body.nav-open #mobile-nav a { opacity: 1; transform: none; }
#mobile-nav a:hover { color: var(--text); }
#mobile-nav .m-foot { margin-top: 34px; opacity: 0; transition: opacity .5s .3s; }
body.nav-open #mobile-nav .m-foot { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 86px) 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 17px 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem; font-weight: 500; color: var(--text-dim);
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot { position: relative; width: 8px; height: 8px; flex: none; }
.hero-badge .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 12px var(--ice);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .55; } }

/* word-by-word hero reveal — JS sets the initial offset so text is never
   invisible if JS fails to load */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > span { display: inline-block; will-change: transform; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.87rem; color: var(--text-faint); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--ice); flex: none; }

/* hero flight stage — the Articuno mark on a dashed flight path */
.flight {
  position: relative;
  aspect-ratio: 1 / 0.86;
  width: 100%;
}
.flight svg.path-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flight .trail { fill: none; stroke: rgba(150,180,255,.30); stroke-width: 1.6; stroke-dasharray: 5 9; stroke-linecap: round; }
.flight .trail-lit {
  fill: none; stroke: url(#trailGrad); stroke-width: 2.4; stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(47,91,255,.8));
}
.flight .bird {
  position: absolute; top: 0; left: 0;
  width: clamp(74px, 13vw, 116px);
  color: var(--blue);
  filter: drop-shadow(0 10px 30px rgba(0,48,219,.85));
  will-change: transform;
}
.flight .bird svg { width: 100%; height: auto; display: block; animation: hover-bob 4.2s ease-in-out infinite; }
@keyframes hover-bob { 0%,100% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(-9px) scaleX(.965); } }

/* frost particles */
.frost { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.frost i {
  position: absolute; display: block;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--ice-pale);
  opacity: 0;
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { opacity: 0;   transform: translate3d(0, -10px, 0) scale(.6); }
  12%  { opacity: .85; }
  80%  { opacity: .5;  }
  100% { opacity: 0;   transform: translate3d(var(--dx, 24px), 220px, 0) scale(1.1); }
}

.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 64px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.scroll-cue .wheel { width: 22px; height: 34px; border: 1.5px solid var(--border-strong); border-radius: 12px; position: relative; }
.scroll-cue .wheel::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 6px; border-radius: 2px; margin-left: -1.5px; background: var(--ice); animation: wheel 1.8s infinite var(--ease-out); }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- stats ---------- */
.stats-band { border-block: 1px solid var(--border); background: linear-gradient(180deg, rgba(15,23,53,.6), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.stat { background: var(--bg); padding: 34px 26px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat span { font-size: .87rem; color: var(--text-faint); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }

.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0;
  transition: opacity .4s; pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 22px 50px -28px rgba(0,0,0,.95); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card .ico {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ice);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.card p  { margin: 0; color: var(--text-dim); font-size: .96rem; }

.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: .92rem; color: var(--ice); font-family: var(--font-display); }
.card-link svg { transition: transform .3s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(4px); }

/* numbered step cards */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative;
  display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  transition: border-color .35s, transform .35s var(--ease-out);
}
.step:hover { border-color: var(--border-strong); transform: translateX(5px); }
.step .n {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--ice);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p  { margin: 0; color: var(--text-dim); font-size: .96rem; }

/* ---------- criteria pills ---------- */
.criteria { display: grid; gap: 14px; }
.criterion {
  display: flex; align-items: center; gap: 15px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 500;
}
.criterion .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--ice); flex: none; }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-body p { color: var(--text-dim); }
.story-body p b { color: var(--text); font-weight: 600; }

.founders { display: grid; gap: 16px; }
.founder {
  display: grid; grid-template-columns: 62px 1fr; gap: 18px; align-items: start;
  padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.founder .av {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff;
}
.founder h4 { margin: 0 0 3px; font-size: 1.04rem; }
.founder .role { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); margin-bottom: 9px; }
.founder p { margin: 0; font-size: .93rem; color: var(--text-dim); }

/* ---------- marquee ---------- */
.marquee-section { padding: 44px 0 60px; }
.marquee-label { text-align: center; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--text-faint); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 46px;
}
.marquee-track span::after { content: "◆"; color: var(--blue); font-size: .6rem; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 20px; }
.review {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: transform .4s var(--ease-out), border-color .4s;
}
.review:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.review .r-top { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 14px; }
.review .r-title { font-family: var(--font-display); font-weight: 600; font-size: .99rem; line-height: 1.35; }
.review .r-amt { font-family: var(--font-display); font-weight: 700; font-size: .93rem; color: var(--ice); white-space: nowrap; }
.review .r-stars { color: var(--gold); font-size: .9rem; letter-spacing: .06em; margin-bottom: 12px; }
.review .r-stars small { color: var(--text-faint); letter-spacing: 0; margin-left: 8px; }
.review blockquote { margin: 0 0 18px; font-size: .95rem; color: var(--text-dim); line-height: 1.68; }
.review .r-who { margin-top: auto; display: flex; align-items: center; gap: 11px; font-size: .89rem; }
.review .r-who .av { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); color: var(--ice); font-size: .85rem; flex: none; }
.review .r-who b { font-weight: 600; }
.review .r-who span { color: var(--text-faint); }

.upwork-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: rgba(20,168,0,.13); border: 1px solid rgba(20,168,0,.4); color: #6ee06e; font-size: .84rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 84px 0; }
.cta-inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(140deg, rgba(0,48,219,.22), rgba(127,212,255,.07));
  overflow: hidden;
}
.cta-inner h2 { max-width: 20ch; margin-inline: auto; }
.cta-inner .lead { margin-inline: auto; text-align: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---------- form ---------- */
.form-wrap {
  padding: 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; font-family: var(--font-display); }
.field .hint { font-weight: 400; color: var(--text-faint); font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(6,10,26,.65);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .97rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(6,10,26,.9);
  box-shadow: 0 0 0 3px rgba(47,91,255,.18);
}
.field select option { background: var(--bg-2); color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-note { font-size: .84rem; color: var(--text-faint); margin-top: 16px; }
.form-status { margin-top: 18px; padding: 15px 18px; border-radius: 12px; font-size: .93rem; display: none; }
.form-status.show { display: block; }
.form-status.ok  { background: rgba(20,168,0,.12);  border: 1px solid rgba(20,168,0,.4);  color: #7fe07f; }
.form-status.err { background: rgba(255,80,80,.10); border: 1px solid rgba(255,80,80,.38); color: #ff9c9c; }

/* honeypot — hidden from humans, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px;
  background: none; border: none; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.faq-q .plus { color: var(--ice); font-size: 1.3rem; transition: transform .4s var(--ease-out); flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--text-dim); font-size: .95rem; }

/* ---------- footer ---------- */
#footer { border-top: 1px solid var(--border); padding: 62px 0 34px; background: var(--bg-2); }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 42px; margin-bottom: 44px; }
.f-about p { color: var(--text-faint); font-size: .92rem; max-width: 34ch; margin: 16px 0 0; }
#footer h5 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 16px; }
#footer .f-links { display: grid; gap: 10px; }
#footer .f-links a { color: var(--text-dim); font-size: .94rem; transition: color .2s; }
#footer .f-links a:hover { color: var(--ice); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-faint); }

/* ---------- scroll reveal ----------
   Gated on html.js (set by an inline script in <head>) so that if JavaScript
   is disabled or fails to load, every section stays visible instead of being
   stuck at opacity 0. */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); }
html.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.reduced-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
html.reduced-motion .flight .bird svg,
html.reduced-motion .frost i,
html.reduced-motion .marquee-track,
html.reduced-motion .scroll-cue .wheel::after,
html.reduced-motion .hero-badge .dot::after { animation: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid  { grid-template-columns: 1fr; gap: 46px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .flight     { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 78px 0; }
  .container, .container-wide { width: calc(100% - 36px); }
  .nav, .hdr-cta .btn { display: none; }
  #hamburger { display: inline-flex; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .f-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 44px 24px; }
  .form-wrap { padding: 26px 20px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
}
