/* =============================================================================
   Maibadala Transport and Logistics: concept site
   Cool navy and azure. One accent. Tokens live in :root; dark mode swaps them.
   Shape rule: pill = anything pressable, 22px = containers, 14px = fields and icon chips.
   ============================================================================= */

/* ---------- Fonts (self-hosted, no external calls) ------------------------- */
@font-face { font-family: "Outfit"; src: url("fonts/outfit.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

/* ---------- Tokens --------------------------------------------------------- */
:root {
  color-scheme: light dark;

  --bg:        #f4f7fb;
  --surface:   #ffffff;
  --surface-2: #e9eff8;
  --ink:       #0b1b33;
  --ink-2:     #36465f;
  --muted:     #556580;
  --line:      rgba(11, 27, 51, .12);
  --line-2:    rgba(11, 27, 51, .22);

  --accent:     #1b5fd1;
  --accent-hv:  #154cab;
  --on-accent:  #ffffff;
  --accent-soft: rgba(27, 95, 209, .10);

  --navy:      #0a2347;
  --navy-2:    #123a78;
  --on-navy:   #f1f6ff;
  --on-navy-2: #c3d3ee;

  --ok:     #0e7447;
  --danger: #b3261e;

  --shadow-sm: 0 1px 2px rgba(10, 35, 71, .06);
  --shadow:    0 1px 2px rgba(10, 35, 71, .06), 0 28px 56px -28px rgba(10, 35, 71, .30);
  --nav-bg:    rgba(244, 247, 251, .82);
  --img-dim:   1;

  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body:    "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max:    1320px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --nav-h:  72px;
  --r-card: 22px;
  --r-field: 14px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io:  cubic-bezier(.77, 0, .175, 1);

  /* z-index scale */
  --z-menu: 30;
  --z-nav:  40;
  --z-skip: 60;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #08111f;
    --surface:   #0f1c31;
    --surface-2: #132340;
    --ink:       #eaf1fd;
    --ink-2:     #b7c4da;
    --muted:     #93a3bd;
    --line:      rgba(234, 241, 253, .12);
    --line-2:    rgba(234, 241, 253, .24);

    --accent:     #6aa3ff;
    --accent-hv:  #8dbaff;
    --on-accent:  #04142e;
    --accent-soft: rgba(106, 163, 255, .14);

    --navy:   #0c2a57;
    --navy-2: #1a4a93;

    --ok:     #4cc78c;
    --danger: #ff8a80;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow:    0 1px 2px rgba(0, 0, 0, .4), 0 28px 56px -28px rgba(0, 0, 0, .7);
    --nav-bg:    rgba(8, 17, 31, .8);
    --img-dim:   .92;
  }
}

/* ---------- Base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.55rem + 3.9vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.4rem); }
h3 { font-size: 1.375rem; line-height: 1.15; letter-spacing: -.02em; }
p  { text-wrap: pretty; }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 144px); }

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

.skip {
  position: fixed; left: 12px; top: -60px; z-index: var(--z-skip);
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill);
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 12px; }

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4rem;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 500; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, scale .16s ease-out;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { scale: .97; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 1.75rem; font-size: 1.0625rem; }
.btn .i { transition: translate .25s var(--ease-out); }
.btn[disabled] { opacity: .6; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-hv); }
  .btn--primary:hover .i-nudge { translate: 3px 0; }
  .btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
}

/* ---------- Demo bar and nav ---------------------------------------------- */
.demo-bar {
  background: var(--navy); color: var(--on-navy-2);
  font-size: .8125rem; line-height: 1.4; text-align: center; padding: 9px var(--gutter);
}
.demo-bar strong { color: var(--on-navy); font-weight: 500; }

.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand__name { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 700; letter-spacing: .06em; font-size: 1.0625rem; line-height: 1.05; }
.brand__name small { font-family: var(--f-body); font-weight: 400; letter-spacing: 0; font-size: .75rem; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 10px 14px; border-radius: var(--r-pill);
  font-size: .9375rem; color: var(--ink-2);
  transition: color .15s ease, background-color .15s ease;
}
.nav__links a[aria-current="true"] { color: var(--ink); background: var(--accent-soft); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); background: var(--accent-soft); } }

.nav__phone { display: none; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.nav__phone:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 50%; background: transparent; font-size: 1.25rem;
  transition: scale .16s ease-out;
}
.nav__toggle:active { scale: .94; }
.nav__toggle .i-close { display: none; }
.nav__toggle[aria-expanded="true"] .i-open { display: none; }
.nav__toggle[aria-expanded="true"] .i-close { display: block; }

.menu {
  position: absolute; inset: 100% 0 auto 0; z-index: var(--z-menu);
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px; display: grid; gap: 4px;
  box-shadow: 0 30px 40px -30px rgba(10, 35, 71, .35);
  transform-origin: top; animation: menu-in .22s var(--ease-out);
}
.menu a:not(.btn) { padding: 16px 4px; font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 16px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 1180px) { .nav__phone { display: inline-flex; } }
@media (max-width: 899px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .brand__name small { display: none; }
}

/* ---------- Hero ----------------------------------------------------------- */
.hero {
  --pad-l: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center;
  min-height: min(calc(100dvh - var(--nav-h)), 820px);
  padding: 40px 0 56px var(--pad-l); gap: clamp(32px, 5vw, 80px);
}
.hero__copy { display: grid; gap: 28px; justify-items: start; padding-block: 24px; }
.hero__copy h1 { max-width: 15.5ch; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.25rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .w > span { display: inline-block; }

.hero__media {
  position: relative; align-self: stretch; min-height: clamp(380px, 68dvh, 700px);
  border-radius: 36px 0 0 36px; overflow: hidden; background: var(--surface-2);
}
.hero__media img { position: absolute; inset: -6% 0 -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 44% 58%; filter: brightness(var(--img-dim)); will-change: transform; }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; padding: 28px var(--gutter) 40px; min-height: 0; gap: 32px; }
  .hero__copy { padding-block: 0; }
  .hero__media { border-radius: var(--r-card); min-height: 0; aspect-ratio: 4 / 3; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Services (bento) ---------------------------------------------- */
.services__head { display: grid; gap: 18px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  min-height: 300px; padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s ease, box-shadow .35s var(--ease-out), translate .35s var(--ease-out);
}
.tile p { color: var(--ink-2); max-width: 42ch; font-size: 1rem; }
.tile__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-field);
  background: var(--accent-soft); color: var(--accent); font-size: 1.5rem;
}
.tile--road    { grid-column: span 7; min-height: 420px; }
.tile--air     { grid-column: span 5; }
.tile--handle  { grid-column: span 4; }
.tile--store   { grid-column: span 4; }
.tile--biz     { grid-column: span 4; background: var(--surface-2); border-color: transparent; }

.tile--road, .tile--store { color: #fff; border-color: transparent; }
.tile--road p, .tile--store p { color: rgba(255, 255, 255, .86); }
.tile--road .tile__icon, .tile--store .tile__icon, .tile--air .tile__icon { background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile__bg { position: absolute; inset: 0; z-index: -2; }
.tile__bg img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease-out); filter: brightness(var(--img-dim)); }
.tile--road .tile__bg img { object-position: 78% 50%; }
.tile--road::after, .tile--store::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(6, 18, 40, .92) 0%, rgba(6, 18, 40, .66) 55%, rgba(6, 18, 40, .22) 100%);
}
.tile--air { color: var(--on-navy); border-color: transparent; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); }
.tile--air p { color: var(--on-navy-2); }
.tile--air::before {
  content: ""; position: absolute; z-index: -1; right: -22%; top: -30%; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 46px, rgba(255, 255, 255, .09) 46px 47px);
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 62%);
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover { translate: 0 -4px; box-shadow: var(--shadow); }
  .tile:hover .tile__bg img { scale: 1.05; }
}
.services__cta { margin-top: 36px; }

@media (max-width: 1023px) {
  .tile--road, .tile--air { grid-column: span 12; }
  .tile--handle, .tile--store, .tile--biz { grid-column: span 6; }
  .tile--biz { grid-column: span 12; }
}
@media (max-width: 639px) {
  .bento { gap: 12px; }
  .tile--handle, .tile--store, .tile--biz { grid-column: span 12; }
  .tile, .tile--road { min-height: 280px; }
}

/* ---------- Process (sticky head + rail) ---------------------------------- */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.process__head { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 22px; justify-items: start; }
.steps { position: relative; display: grid; gap: clamp(36px, 5vw, 64px); padding-left: 84px; }
.steps__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-2); border-radius: 2px; }
.steps__fill { position: absolute; inset: 0; background: var(--accent); border-radius: 2px; transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; gap: 8px; }
.step__icon {
  position: absolute; left: -84px; top: 0; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); color: var(--muted); font-size: 1.5rem;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, scale .4s var(--ease-out);
}
.step.is-active .step__icon { background: var(--accent); color: var(--on-accent); border-color: var(--accent); scale: 1.06; }
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); padding-top: 6px; }
.step p { color: var(--ink-2); max-width: 44ch; }

@media (max-width: 899px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .steps { padding-left: 72px; }
  .step__icon { left: -72px; width: 48px; height: 48px; font-size: 1.25rem; }
  .steps__rail { left: 23px; }
}

/* ---------- Promise (full-bleed image) ------------------------------------ */
.promise { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.promise__bg { position: absolute; inset: -10% 0; z-index: -2; }
.promise__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.promise::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 16, 36, .94) 0%, rgba(8, 28, 62, .84) 55%, rgba(8, 28, 62, .7) 100%); }
.promise__in { display: grid; gap: clamp(40px, 6vw, 80px); }
.promise h2 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.5rem); max-width: 11ch; letter-spacing: -.04em; }
.promise__list { display: grid; max-width: 920px; margin-left: auto; width: 100%; }
.promise__row { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 24px; align-items: baseline; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .22); }
.promise__row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.promise dt { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); letter-spacing: -.025em; }
.promise dd { color: rgba(255, 255, 255, .84); max-width: 44ch; }
@media (max-width: 639px) { .promise__row { grid-template-columns: 1fr; gap: 6px; } .promise__list { margin-left: 0; } }

/* ---------- FAQ ------------------------------------------------------------ */
.faq__head { display: grid; gap: 16px; max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.faq__list { max-width: 900px; margin-left: clamp(0px, 14vw, 220px); border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  padding: 26px 4px; background: none; border: 0;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2;
}
.qa__q .i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; border: 1px solid var(--line-2); transition: rotate .3s var(--ease-out), background-color .2s ease, color .2s ease; }
.qa__q[aria-expanded="true"] .i { rotate: 45deg; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease-out); }
.qa__a > div { overflow: hidden; }
.qa__a p { color: var(--ink-2); max-width: 60ch; padding: 0 4px 26px; }
.qa__q[aria-expanded="true"] + .qa__a { grid-template-rows: 1fr; }
@media (hover: hover) and (pointer: fine) { .qa__q:hover .i { border-color: var(--ink); } }
@media (max-width: 899px) { .faq__list { margin-left: 0; } }

/* ---------- Quote ---------------------------------------------------------- */
.quote { background: var(--surface-2); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.quote__info { display: grid; gap: 28px; }
.reach { display: grid; gap: 22px; }
.reach li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.reach .i-chip { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-field); background: var(--surface); color: var(--accent); font-size: 1.25rem; }
.reach b { display: block; font-weight: 500; font-size: .875rem; color: var(--muted); margin-bottom: 2px; }
.reach a, .reach span { font-size: 1.0625rem; color: var(--ink); }
.reach a:hover { color: var(--accent); }

.form { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9375rem; font-weight: 500; }
.field label i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-field);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__hint { font-size: .8125rem; color: var(--muted); }
.field__err { display: none; align-items: center; gap: 6px; font-size: .875rem; color: var(--danger); }
.field.has-error .field__err { display: flex; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__foot p { font-size: .875rem; color: var(--muted); max-width: 34ch; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.done { display: grid; gap: 18px; justify-items: start; padding-block: 8px; }
.done__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--ok); font-size: 1.75rem; }
.done p { color: var(--ink-2); max-width: 44ch; }
.done__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--wa { background: var(--ok); color: #fff; }
@media (prefers-color-scheme: dark) { .btn--wa { color: #03170d; } }

@media (max-width: 899px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .form__grid { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- Footer --------------------------------------------------------- */
.foot { padding-block: clamp(56px, 7vw, 88px) 32px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: 48px; }
.foot__brand { display: grid; gap: 16px; align-content: start; max-width: 320px; }
.foot__brand img { width: 72px; height: 72px; border-radius: 50%; }
.foot__brand p { color: var(--ink-2); }
.foot h3 { font-family: var(--f-body); font-size: .875rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
.foot li + li { margin-top: 10px; }
.foot a { color: var(--ink-2); transition: color .15s ease; }
.foot a:hover { color: var(--accent); }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
@media (max-width: 899px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ---------- Motion states -------------------------------------------------- */
/* Hidden only when JS confirms motion is allowed. No JS or reduced motion: everything is visible. */
.motion-ok [data-reveal] { opacity: 0; transform: translateY(18px); }
.motion-ok .hero h1 .w > span { transform: translateY(110%); }
.motion-ok [data-hero] { opacity: 0; transform: translateY(14px); }
.motion-ok [data-split]:not(.is-split) { visibility: hidden; }
#nav-sentinel { display: block; height: 1px; margin-bottom: -1px; }
.motion-ok .hero__media { clip-path: inset(0 0 0 100% round 36px 0 0 36px); }
@media (max-width: 899px) { .motion-ok .hero__media { clip-path: inset(0 0 100% 0 round 22px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
