/* ============================================================
   EPIK OCEAN — AI automation & systems agency
   Base layer: palette, type, nav, hero, buttons, footer, reveals
   Dark, systems-grade. Inter + JetBrains Mono. Blue→teal.
   ============================================================ */

:root {
  --bg:      #06070A;
  --bg-1:    #0A0C11;
  --panel:   #0E1119;
  --panel-2: #12161F;
  --ink:     #EDF1F7;
  --mute:    rgba(237, 241, 247, .56);
  --faint:   rgba(237, 241, 247, .34);
  --line:    rgba(237, 241, 247, .09);
  --line-2:  rgba(237, 241, 247, .16);

  /* expansive blue accent — sampled from the blue-meshy sea ramp */
  --accent:   #3B9EFF;
  --accent-2: #1366E6;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
  --glow: 59, 158, 255;

  --ease: cubic-bezier(.33, .96, .58, 1);
  --ease-out: cubic-bezier(.2, .7, .3, 1);
  --pad: clamp(20px, 5.2vw, 84px);
  --maxw: 1480px;
  --nav-h: 76px;

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --grid: rgba(237, 241, 247, .025);
  --dot:  rgba(237, 241, 247, .06);
  --nav-bg: rgba(6, 7, 10, .6);
  --wm-stroke: rgba(237, 241, 247, .22);
  --ghost-stroke: rgba(237, 241, 247, .055);
}

/* ---------- light theme ---------- */
html[data-theme="light"] {
  --bg:      #F1EFE9;
  --bg-1:    #FBFAF7;
  --panel:   #FFFFFF;
  --panel-2: #F4F1EB;
  --ink:     #16181D;
  --mute:    rgba(22, 24, 29, .60);
  --faint:   rgba(22, 24, 29, .42);
  --line:    rgba(22, 24, 29, .10);
  --line-2:  rgba(22, 24, 29, .17);
  --grid: rgba(22, 24, 29, .05);
  --dot:  rgba(22, 24, 29, .07);
  --nav-bg: rgba(251, 250, 247, .72);
  --wm-stroke: rgba(22, 24, 29, .18);
  --ghost-stroke: rgba(22, 24, 29, .055);
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto;
  /* Root governs viewport overflow — body's overflow-x:hidden is defeated
     unless the root clips too. `clip` (not `hidden`) avoids creating a scroll
     container, so position:sticky / smooth scroll stay intact. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'ss01' 1, 'cv01' 1, 'cv05' 1, 'cv11' 1;
  line-height: 1.5;
  overflow-x: clip; /* clip (not hidden) so it never creates a scroll container that breaks position:sticky */
  transition: background .55s var(--ease), color .55s var(--ease);
}

::selection { background: rgba(var(--glow), .32); color: #fff; }

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- preloader / intro reveal ---------- */
body.loading { overflow: hidden; }
.preload {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(22px, 3vw, 34px);
  will-change: transform;
}
.preload__c { display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2.4vw, 28px); }
.preload__brand { display: flex; gap: .3em; font-size: clamp(2rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; color: var(--ink); overflow: hidden; }
.preload__brand span { display: inline-block; transform: translateY(110%); animation: pl-rise .9s cubic-bezier(.16,1,.3,1) forwards; }
.preload__brand span:nth-child(2) { animation-delay: .12s; }
@keyframes pl-rise { to { transform: translateY(0); } }
.preload__bar { width: min(280px, 62vw); height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.preload__bar span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(var(--glow), .8); }
.preload__num { position: absolute; bottom: clamp(28px, 5vh, 56px); font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--mute); }
.preload__accent { position: fixed; inset: 0; z-index: 9998; background: linear-gradient(160deg, var(--accent), var(--accent-2)); }
/* curtain reveal */
.preload.done { transform: translateY(-101%); transition: transform 1s cubic-bezier(.76,0,.24,1); }
.preload__accent.done { transform: translateY(-101%); transition: transform 1s cubic-bezier(.76,0,.24,1) .12s; }
@media (prefers-reduced-motion: reduce) { .preload, .preload__accent { display: none; } body.loading { overflow: auto; } }

/* ---------- background field ---------- */
#bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}
#bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(110vw 90vh at 50% 0%, #000 10%, transparent 75%);
          mask-image: radial-gradient(110vw 90vh at 50% 0%, #000 10%, transparent 75%);
}
.page { position: relative; z-index: 2; }

/* tweak toggles */
body.no-grid #bg::after { display: none; }
body.no-mono { --mono: 'Inter', system-ui, sans-serif; }
body.no-mono .kicker,
body.no-mono .avail,
body.no-mono .footer__bar { letter-spacing: -.01em; text-transform: none; }

/* ============================================================
   TYPE PRIMITIVES
   ============================================================ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  letter-spacing: -.01em;
  color: var(--accent);
  font-weight: 500;
}
.kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(var(--glow), .8);
  flex: none;
}
.dot--live { animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--glow), .6); }
  50%      { box-shadow: 0 0 0 6px rgba(var(--glow), 0); }
}

.h-xl {
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .96;
}

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

/* tag pill (mono, technical) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mute);
  border: 1px solid var(--line-2);
  background: rgba(237, 241, 247, .02);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --bh: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--bh);
  padding: 0 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn--primary {
  color: #04121a;
  background: var(--grad);
  box-shadow: 0 12px 40px -14px rgba(var(--glow), .8), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 52px -12px rgba(var(--glow), .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
/* liquid-glass button (rounded) */
.btn--glass {
  color: var(--ink);
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(16px) saturate(165%);
          backdrop-filter: blur(16px) saturate(165%);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, .3),
    inset -1px -1px 1px rgba(255, 255, 255, .08),
    inset 0 0 14px rgba(255, 255, 255, .05),
    0 12px 34px rgba(0, 0, 0, .38);
}
.btn--glass:hover {
  transform: translateY(-2px);
  background: linear-gradient(rgba(255, 255, 255, .17), rgba(255, 255, 255, .06));
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, .38),
    inset -1px -1px 1px rgba(255, 255, 255, .1),
    0 18px 44px rgba(0, 0, 0, .46);
}
.btn--ghost {
  color: var(--ink);
  border-color: var(--line-2);
  background: rgba(237, 241, 247, .03);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(237, 241, 247, .4);
  background: rgba(237, 241, 247, .06);
}
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* no bar / shadow. Burger always available top-right; brand fades in on scroll. */
  background: transparent;
  border: none;
}
.nav__in--split { display: flex !important; justify-content: space-between; align-items: center; grid-template-columns: none !important; }
.nav .brand {
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  /* glass chip so it stays legible over any content (no full bar) */
  padding: 9px 17px; border-radius: 999px;
  background: rgba(8, 10, 16, .42); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav.shown .brand { opacity: 1; transform: none; pointer-events: auto; }
.nav__burger { display: flex !important; margin-left: auto; }
.nav__center { display: none; }
.nav__in {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  /* 3 columns so the pill nav is truly centred regardless of side widths */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.nav__in > .brand { justify-self: start; }
.nav__in > .pillnav { justify-self: center; }
.nav__in > .nav__right { justify-self: end; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand__mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--grad);
  position: relative;
  flex: none;
  box-shadow: 0 4px 16px -4px rgba(var(--glow), .8), inset 0 1px 0 rgba(255, 255, 255, .4);
  overflow: hidden;
}
.brand__mark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(8px 8px at 30% 70%, rgba(255, 255, 255, .55), transparent 70%),
    repeating-linear-gradient(120deg, transparent 0 4px, rgba(4, 18, 26, .25) 4px 5px);
}
.nav__center {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: -.01em;
  transition: color .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__pill {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  /* liquid-glass button with a faint blue tint so it still reads as the CTA */
  background: linear-gradient(rgba(59, 158, 255, .28), rgba(59, 158, 255, .10));
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
          backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, .22),
    inset -1px -1px 1px rgba(255, 255, 255, .06),
    0 6px 22px rgba(0, 0, 0, .30);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.nav__pill:hover {
  transform: translateY(-1px);
  background: linear-gradient(rgba(59, 158, 255, .42), rgba(59, 158, 255, .16));
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, .3),
    inset -1px -1px 1px rgba(255, 255, 255, .08),
    0 10px 28px rgba(0, 0, 0, .4);
}

/* availability badge */
.avail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(237, 241, 247, .03);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .01em;
  color: var(--mute);
  white-space: nowrap;
}
.avail__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2FE08A;
  box-shadow: 0 0 0 0 rgba(47, 224, 138, .6);
  animation: pulse2 2.4s var(--ease) infinite;
  flex: none;
}
@keyframes pulse2 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 224, 138, .55); }
  50%      { box-shadow: 0 0 0 5px rgba(47, 224, 138, 0); }
}
.avail b { color: var(--ink); font-weight: 600; }
@media (max-width: 1080px) { .avail { display: none; } }
@media (max-width: 880px) { .nav__center { display: none; } }

/* ---------- mobile menu (burger + full-screen glass overlay) ---------- */
.nav__burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  cursor: pointer;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.navmenu {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 24px;
  background: rgba(6, 8, 12, .96);
  -webkit-backdrop-filter: blur(28px) saturate(140%); backdrop-filter: blur(28px) saturate(140%);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.navmenu.open { opacity: 1; visibility: visible; transform: none; }
.navmenu a { font-size: clamp(34px, 9vw, 58px); font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; color: var(--ink); padding: 8px 12px; }
/* TextRoll: letters roll up/in on hover (centre-staggered) */
.navmenu a .roll { position: relative; display: inline-block; overflow: hidden; line-height: .82; vertical-align: bottom; }
.navmenu a .roll__row { display: block; }
.navmenu a .roll__row--b { position: absolute; left: 0; top: 0; }
.navmenu a .rl { display: inline-block; transition: transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * .03s); }
.navmenu a .roll__row--b .rl { transform: translateY(108%); }
.navmenu a:hover .roll__row--t .rl { transform: translateY(-108%); }
.navmenu a:hover .roll__row--b .rl { transform: translateY(0); color: var(--accent); }
.navmenu__cta {
  margin-top: 20px; font-size: 16px !important; font-weight: 600 !important;
  padding: 13px 30px !important; border-radius: 999px;
  background: var(--grad); color: #fff !important;
  box-shadow: 0 10px 30px -12px rgba(var(--glow), .9);
}
/* full-screen menu works on all sizes (burger is the only nav now) */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 96px));
  padding-bottom: clamp(60px, 9vh, 120px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: clamp(20px, 2.6vw, 30px); }
.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; }
.hero__sub {
  margin: clamp(24px, 2.8vw, 36px) 0 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--mute);
}
.hero__sub b { color: var(--ink); font-weight: 600; }
.hero__cta {
  margin-top: clamp(28px, 3.2vw, 40px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: clamp(36px, 5vh, 64px);
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.6vw, 30px);
}
.hero__trust-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.hero__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}
.hero__logos span {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--faint);
  transition: color .4s var(--ease);
  cursor: default;
}
.hero__logos span:hover { color: var(--ink); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   REVEAL PRIMITIVES
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px) scale(.965);
  transition: opacity .9s var(--ease), transform 1.05s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0ms);
}
[data-reveal="left"]  { opacity: 0; transform: translateX(-48px); }
[data-reveal="right"] { opacity: 0; transform: translateX(48px); }
[data-reveal="down"]  { opacity: 0; transform: translateY(-34px); }
[data-reveal="zoom"]  { opacity: 0; transform: scale(.9); }
[data-reveal].in { opacity: 1; transform: none; }
/* settle: timer-added once entrance has played, so a frozen-offscreen
   transition can never leave content stuck hidden in a static render */
[data-reveal].settled { transition: none !important; opacity: 1 !important; transform: none !important; }

/* split text word masks */
.sword { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.sword__in {
  display: inline-block;
  transform: translateY(118%);
  transition: transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
[data-split].in .sword__in { transform: none; }
[data-split].settled .sword__in { transition: none !important; transform: none !important; }

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--grad);
  z-index: 60;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(var(--glow), .7);
}

/* load-in nav stagger */
html.ui-settled .nav__in > * { transition: none !important; opacity: 1 !important; transform: none !important; }
.nav__in > * { opacity: 0; transform: translateY(-14px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
body.loaded .nav__in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: .12s; }
body.loaded .nav__in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .22s; }
body.loaded .nav__in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .3s; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  --gap: clamp(24px, 3.4vw, 52px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(16px, 2vw, 26px) 0;
  display: flex;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  flex: none;
  animation: marq 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-100%); } }
.marquee__item {
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  white-space: nowrap;
}
.marquee__bullet {
  width: clamp(9px, 1vw, 14px);
  height: clamp(9px, 1vw, 14px);
  border-radius: 50%;
  background: var(--grad);
  flex: none;
  box-shadow: 0 0 14px rgba(var(--glow), .5);
}

/* ============================================================
   SECTION HEAD shared
   ============================================================ */
/* padding-block only — must NOT reset the horizontal gutter that .wrap sets
   on the same element, or every heading/list/FAQ bleeds to the screen edge */
.sec { padding-block: clamp(80px, 12vh, 170px); }
.sec__head { margin-bottom: clamp(40px, 5vw, 70px); }
.sec__head h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  max-width: 20ch;
}
.sec__head p {
  margin: 18px 0 0;
  max-width: 52ch;
  color: var(--mute);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding-block: clamp(90px, 13vh, 180px); }
/* animated bridge: the busywork, gently hovering — resolved by BUSYWORK→HANDLED next */
.manifesto__bridge {
  margin-top: clamp(40px, 6vw, 78px);
  display: flex; flex-wrap: wrap; gap: 12px 14px; justify-content: center;
}
.manifesto__bridge span {
  font-family: var(--mono); font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: .02em; color: var(--mute);
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .02);
  animation: bridge-float 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.7s);
  will-change: transform, opacity;
}
@keyframes bridge-float {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50%      { transform: translateY(-7px); opacity: .82; }
}
@media (prefers-reduced-motion: reduce) { .manifesto__bridge span { animation: none; opacity: .6; } }
.manifesto p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 24ch;
}
.manifesto .sword__in b { color: var(--ink); }
.manifesto em { font-style: normal; color: var(--faint); }
.manifesto__note {
  margin-top: clamp(44px, 6vh, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 70px);
  border-top: 1px solid var(--line);
  padding-top: clamp(26px, 3vw, 40px);
}
.manifesto__note .lbl {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
}
.manifesto__note p {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.6;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: -.005em;
  max-width: 48ch;
}
.manifesto__note p b { color: var(--ink); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vh, 100px);
  overflow: hidden;
  z-index: 2;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
  padding-bottom: clamp(44px, 7vh, 80px);
}
.footer__brand .brand { font-size: 19px; margin-bottom: 16px; }
.footer__brand p {
  color: var(--mute); font-size: 14px; line-height: 1.6; max-width: 32ch; margin: 0;
}
.footer__col h4 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); font-weight: 500;
}
.footer__col a {
  display: block;
  color: var(--mute);
  font-size: 15px;
  padding: 6px 0;
  transition: color .35s var(--ease), transform .35s var(--ease);
  width: fit-content;
}
.footer__col a:hover { color: var(--ink); transform: translateX(4px); }
.footer__wordmark {
  line-height: .8;
  margin: 0;
  padding-bottom: clamp(8px, 2vh, 24px);
  font-weight: 800;
  font-size: clamp(2.4rem, 15vw, 16rem);
  letter-spacing: -.05em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  max-width: 100%;
  overflow: hidden;
  user-select: none;
  /* hollow outline + a slow blue light sweeping across the letters */
  -webkit-text-stroke: 1px var(--wm-stroke);
  background-image: linear-gradient(100deg, transparent 38%, rgba(59, 158, 255, .6) 50%, transparent 62%);
  background-size: 280% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  animation: wm-sheen 7s linear infinite;
}
@keyframes wm-sheen { from { background-position: 190% 0; } to { background-position: -90% 0; } }
@media (prefers-reduced-motion: reduce) { .footer__wordmark { animation: none; } }
.footer__bar {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 12px;
}
.footer__bar .built { display: inline-flex; align-items: center; gap: 9px; color: var(--mute); white-space: nowrap; }

@media (max-width: 900px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .manifesto__note { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .sword__in { opacity: 1 !important; transform: none !important; }
}
