/* ── Centricap hero ───────────────────────────────────────────── */
:root {
  --navy-900: #04141d;
  --navy-800: #072839;
  --navy-700: #0b435d;
  --steel: #3a89c0;
  --cyan: #00aeef;
  --ink: #e9f2f8;
  --ink-dim: #8fadbf;
  --hair: rgba(143, 173, 191, 0.18);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter,
    system-ui, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;

  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* film grain ------------------------------------------------------ */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* nav ------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px var(--pad);
  transition: background-color 0.4s ease, border-color 0.4s ease,
    backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(4, 20, 29, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hair);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
/* the landing pad the hero mark flies into — sized, not filled */
.nav__slot { display: block; width: 30px; height: 30px; }
.nav__word { width: 108px; opacity: 0; }

.nav__links {
  display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px);
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-dim);
}
.nav__links a { transition: color 0.25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink); border: 1px solid var(--hair);
  padding: 8px 16px; border-radius: 999px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.nav__cta:hover { border-color: var(--cyan); background: rgba(0, 174, 239, 0.08); }
@media (max-width: 760px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* hero ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(120% 85% at 50% 42%, #0d4761 0%, #07293a 46%, #04141d 100%);
  overflow: hidden;
}
.hero::after { /* vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(115% 80% at 50% 45%, transparent 55%, rgba(2, 10, 15, 0.72) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center; justify-items: center;
  padding: clamp(70px, 9vh, 104px) var(--pad) clamp(58px, 8vh, 88px);
}

.hero__eyebrow {
  margin: 0 0 clamp(6px, 2vh, 18px);
  font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink-dim);
  display: flex; align-items: center; gap: 14px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ""; width: clamp(24px, 6vw, 64px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--hair), transparent);
}

/* stage = untransformed measuring box */
.stage {
  position: relative;
  width: min(94vw, 70vmin, 52vh);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.flyer, .tilt { width: 100%; height: 100%; }
.flyer { will-change: transform; }
.tilt { transform-style: preserve-3d; }
#markSvg { width: 100%; height: 100%; overflow: visible; display: block; }

/* rotating conic sweep behind the mark */
.sweepWrap { position: absolute; inset: 0; }
.sweep {
  position: absolute; inset: -6%;
  border-radius: 50%;
  opacity: 0;
  background: conic-gradient(
    from 0deg,
    rgba(0, 174, 239, 0) 0deg,
    rgba(0, 174, 239, 0.16) 26deg,
    rgba(58, 137, 192, 0.05) 70deg,
    rgba(0, 174, 239, 0) 150deg,
    rgba(0, 174, 239, 0) 210deg,
    rgba(58, 137, 192, 0.09) 268deg,
    rgba(0, 174, 239, 0) 340deg
  );
  -webkit-mask-image: radial-gradient(closest-side, transparent 34%, #000 62%, transparent 99%);
  mask-image: radial-gradient(closest-side, transparent 34%, #000 62%, transparent 99%);
  filter: blur(6px);
  will-change: transform;
}

/* svg field styling */
.guide { stroke: rgba(143, 190, 216, 0.13); stroke-width: 1.4; }
.tether { stroke: rgba(0, 174, 239, 0.3); stroke-width: 2; }
.sat { opacity: 0.75; }

/* hero copy ------------------------------------------------------- */
.hero__copy { text-align: center; max-width: 60ch; }
.hero__word {
  width: clamp(128px, 13vw, 178px);
  margin: 0 auto clamp(12px, 2vh, 22px);
  opacity: 0;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 clamp(12px, 2vh, 22px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.04em; }
.hero__title .line > span { display: block; will-change: transform; }
.hero__sub {
  margin: 0 auto; max-width: 46ch;
  color: var(--ink-dim); font-size: clamp(0.9rem, 1.05vw, 1rem);
}
.hero__meta {
  list-style: none; margin: clamp(14px, 2.4vh, 24px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px clamp(12px, 2vw, 26px);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(143, 173, 191, 0.78);
}
.hero__meta li { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.hero__meta li + li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--steel); margin-left: -1px;
}

.hero__cueInner { display: flex; align-items: center; gap: 10px; }
.hero__cue {
  position: absolute; left: 50%; bottom: clamp(18px, 3.4vh, 34px);
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(143, 173, 191, 0.6);
}
.hero__cueLine {
  width: 46px; height: 1px; background: var(--hair); position: relative; overflow: hidden;
}
.hero__cueLine::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: var(--cyan);
  animation: cueRun 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cueRun { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

/* sections below the fold --------------------------------------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.approach { padding: clamp(90px, 16vh, 190px) 0; background: var(--navy-900); }
.outro { padding: clamp(70px, 12vh, 150px) 0 clamp(110px, 18vh, 220px); background: var(--navy-900); }

.sec__eyebrow {
  margin: 0 0 20px; font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--cyan);
}
.sec__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.06;
  letter-spacing: -0.02em; margin: 0 0 22px;
}
.sec__lead { margin: 0; max-width: 58ch; color: var(--ink-dim); font-size: 1.05rem; }

.cards {
  margin-top: clamp(44px, 7vh, 84px);
  display: grid; gap: 1px; background: var(--hair);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border: 1px solid var(--hair);
}
.card { background: var(--navy-900); padding: clamp(24px, 3vw, 40px); }
.card__num {
  font-size: 11px; letter-spacing: 0.2em; color: var(--steel);
}
.card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.5rem;
  margin: 14px 0 10px; letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--ink-dim); font-size: 0.95rem; }

.reveal { opacity: 0; }

/* accessibility --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__cueLine::after { animation: none; }
  .reveal { opacity: 1; }
  * { transition-duration: 0.01ms !important; }
}
