:root {
  --page: #e6eaee;
  --ink: #0d141d;
  --ink-soft: #505a67;
  --line: #cfd5dc;
  --dark: #060a10;
  --dark-soft: #121a24;
  --surface: #f8f9fb;
  --accent: #bb1a2b;
  --max: 1680px;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
}

.grain-overlay {
  position: relative;
}

.grain-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

img,
svg,
video {
  max-width: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: #0a0e14;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 9%, rgba(255, 255, 255, 0.55), transparent 36%),
    linear-gradient(180deg, #edf0f3 0%, var(--page) 36%, #e4e8ec 100%);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body.nav-open {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100vw - 4.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(230, 234, 238, 0.92);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.24s ease, background-color 0.24s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(12, 19, 29, 0.1);
  background: rgba(230, 234, 238, 0.97);
}

.scroll-progress {
  height: 2px;
  width: 100%;
  background: rgba(13, 20, 29, 0.08);
  overflow: hidden;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #6b7686, #141c27);
}

.nav-shell {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 2rem);
}

.site-nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: clamp(0.96rem, 1vw, 1.14rem);
  letter-spacing: -0.01em;
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0;
  touch-action: manipulation;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.32rem;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

main {
  padding: 1.2rem 0 4rem;
  overflow: hidden;
  overflow: clip; /* clip preferred: avoids creating scroll container; hidden is fallback */
}

.hero-banner-shell {
  min-height: min(82vh, 920px);
  min-height: min(82svh, 920px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.2rem, 4vw, 3.2rem);
  align-items: end;
  padding: clamp(1.55rem, 3.8vw, 3.2rem);
  border: 1px solid #1f2936;
  background:
    linear-gradient(122deg, rgba(7, 11, 16, 0.88), rgba(7, 11, 16, 0.57) 52%, rgba(7, 11, 16, 0.84)),
    url("../img/hero-hub-pexels.jpg") center center / cover no-repeat;
}

.hero-banner-shell.glow-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --panel-glow-alpha: 0.078;
}

.hero-banner-shell.glow-surface > *:not(.panel-glow) {
  position: relative;
  z-index: 2;
}

.hero-banner-title h1 {
  margin: 0.7rem 0 0;
  color: #f4f5f6;
  font-size: clamp(2.2rem, 7vw, 6.45rem);
  line-height: 1.05;
  letter-spacing: -0.046em;
  text-wrap: balance;
}

.split-heading {
  display: flex;
  flex-wrap: wrap;
}

.split-word {
  display: inline-flex;
  overflow: clip;
  padding-bottom: 0.08em;
}

.split-char {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  transition-delay: calc(var(--char-i, 0) * 18ms);
}

.split-space {
  width: 0.28em;
}

.reveal.in .split-char {
  transform: translateY(0);
  opacity: 1;
}

.hero-kicker {
  margin: 0;
  color: #b8c0cb;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.hero-banner-copy {
  color: #d7dbe0;
  font-size: clamp(1rem, 1.02vw, 1.16rem);
  line-height: 1.7;
}

.hero-banner-copy p {
  margin: 0;
}

.link-with-icon {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 0.22rem;
}

.link-with-icon span {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  line-height: 1;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.link-with-icon:hover span {
  transform: translateX(4px);
  border-color: #fff;
}

.hero-line {
  margin-top: 1rem;
  color: #b5bdc8;
}

.story-scroll {
  position: relative;
  min-height: 74vh;
  min-height: 74svh;
  margin-top: 1.15rem;
  overflow: hidden;
  color: #fff;
  border: 1px solid #1f2935;
}

.story-scroll::before,
.story-scroll::after {
  content: "";
  position: absolute;
  inset: 0;
}

.story-scroll::before {
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.04);
  transition: transform 0.12s linear;
}

.story-scroll::after {
  z-index: 1;
  background: linear-gradient(160deg, rgba(5, 8, 12, 0.8), rgba(5, 8, 12, 0.45) 44%, rgba(5, 8, 12, 0.82));
}

.story-scroll.glow-surface {
  --panel-glow-alpha: 0.062;
}

.story-one.bg-loaded::before {
  background-image: url("../img/chapter-machining.jpg");
}

.story-two.bg-loaded::before {
  background-image: url("../img/chapter-factory.jpg");
}

.story-three.bg-loaded::before {
  background-image: url("../img/caf-on-parade.jpg");
}

.story-shell {
  position: relative;
  z-index: 3;
  min-height: 74vh;
  min-height: 74svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(1.7rem, 4vw, 2.7rem);
}

.glow-surface .panel-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  will-change: opacity;
  background: radial-gradient(
    circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, var(--panel-glow-alpha, 0.07)),
    transparent 48%
  );
  transition: opacity 0.16s ease-out;
}

.glow-surface.is-interactive .panel-glow {
  opacity: 1;
}

.story-top {
  display: flex;
  justify-content: flex-end;
}

.story-copy {
  margin: 0;
  width: min(68ch, 92vw);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.04vw, 1.16rem);
  line-height: 1.8;
}

.story-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.story-word {
  margin: 0;
  font-size: clamp(2rem, 7.4vw, 8rem);
  letter-spacing: -0.055em;
  line-height: 0.88;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.story-one .story-word {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.story-two .story-word {
  -webkit-text-stroke: 0px transparent;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.story-three .story-word {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
  background: none;
}

.story-number {
  margin: 0;
  color: #c4ccd7;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.section-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  opacity: 0.6;
  margin: 3rem auto;
  width: min(80%, 900px);
}

.about-split {
  margin-top: 3.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: stretch;
}

.about-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.1rem, 3vw, 2.2rem);
}

.about-copy h3 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.85rem, 3.6vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.about-copy p {
  margin: 0.95rem 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.about-cta {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f5f7fa;
  background: linear-gradient(145deg, #1b2736, #0d1724);
  border: 1px solid #2a394c;
  border-radius: 0.52rem;
  font-weight: 700;
  padding: 0.68rem 1rem;
  letter-spacing: -0.01em;
  min-height: 44px;
  touch-action: manipulation;
}

.about-media {
  margin: 0;
  border: 1px solid var(--line);
  min-height: 320px;
  background: #0b1018;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.about-media img {
  width: min(86%, 560px);
  height: auto;
  object-fit: contain;
  display: block;
}

.about-media.logo-panel {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.11), transparent 46%),
    linear-gradient(150deg, #111a25, #05090f 72%);
  border-color: #1f2d3e;
}

.about-logo {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.section-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.74rem;
  color: #667180;
}

.section-tag.light {
  color: #aeb6c2;
}

.why-now {
  margin-top: 4rem;
  padding: clamp(2.2rem, 5vw, 4rem) 0;
  background: linear-gradient(155deg, #0a1017, #172232);
  border-top: 1px solid #253244;
  border-bottom: 1px solid #253244;
  color: #f6f8fa;
}

.why-title {
  margin: 0.7rem 0 0;
  font-size: clamp(1.92rem, 4.3vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
}

.why-lead {
  margin: 0.92rem 0 0;
  max-width: 76ch;
  color: #c9d0d9;
  line-height: 1.8;
}

.why-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.why-grid article {
  border: 1px solid #314156;
  background: rgba(10, 15, 23, 0.72);
  padding: 1.15rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.28s ease;
}

@media (hover: hover) {
  .why-grid article:hover {
    border-color: #4a5d74;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.015);
  }
}

h4 {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  letter-spacing: -0.02em;
}

.why-grid p {
  margin: 0.6rem 0 0;
  color: #b8c2cf;
  line-height: 1.68;
}

.mission {
  margin-top: 4.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.65rem;
}

.mission h3,
.mission h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.85rem, 4.1vw, 4.45rem);
  letter-spacing: -0.044em;
  line-height: 0.97;
}

.mission-right p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: clamp(1rem, 1.02vw, 1.15rem);
}

.mission-right p + p {
  margin-top: 0.95rem;
}

.context-splits {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.context-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.context-row.glow-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --panel-glow-alpha: 0.05;
}

.context-row.glow-surface .panel-glow {
  z-index: 3;
}

.context-row.glow-surface .context-media {
  position: relative;
  z-index: 2;
}

.context-row.glow-surface .context-copy {
  position: relative;
  z-index: 4;
}

.context-row.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.context-row.reverse .context-media {
  order: 2;
}

.context-row.reverse .context-copy {
  order: 1;
}

.context-media {
  margin: 0;
  min-height: 320px;
  background: #0a1017;
  overflow: hidden;
}

.context-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.context-copy {
  padding: clamp(1rem, 2.6vw, 2rem);
  display: grid;
  align-content: center;
}

.context-copy h4 {
  font-size: clamp(1.4rem, 2.2vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.context-copy p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.scroll-shift {
  transform: translate3d(0, var(--text-shift, 0px), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

.zoom-scroll {
  transform: scale(var(--zoom-scale, 1.02));
  transform-origin: center;
  transition: transform 0.12s linear;
  will-change: transform;
}

.dynamic-surface {
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-alpha: 0.12;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.dynamic-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--glow-x) var(--glow-y),
    rgba(255, 255, 255, var(--glow-alpha)),
    transparent 46%
  );
  transition: opacity 0.22s ease;
}

.dynamic-surface.is-interactive {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow: 0 14px 28px rgba(11, 20, 31, 0.1);
  border-color: #bac4cf;
}

.dynamic-surface.is-interactive::after {
  opacity: 1;
}

.capabilities {
  margin-top: 4rem;
}

.cap-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 3.3vw, 3.35rem);
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.capabilities > h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.95rem, 4.1vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.99;
}

.cap-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.cap-grid article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.2rem;
  min-height: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.28s ease;
}

@media (hover: hover) {
  .cap-grid article:hover {
    border-color: #b0b8c4;
    box-shadow: 0 8px 24px rgba(11, 20, 31, 0.1);
    transform: translateY(-3px) scale(1.015);
  }
}

.cap-grid h2 {
  margin: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  letter-spacing: -0.02em;
}

.cap-grid p {
  margin: 0.62rem 0 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.roadmap {
  margin-top: 3.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.roadmap article {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.05rem;
}

.metric {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2.35rem);
  letter-spacing: -0.03em;
}

.roadmap article p:last-child {
  margin: 0.44rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact {
  margin-top: 4rem;
  background: linear-gradient(140deg, #080c12, #121b28);
  color: #fff;
  border: 1px solid #233146;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.4rem;
  padding: clamp(1.2rem, 2.8vw, 2.6rem);
}

.contact .section-tag {
  color: #9ca8b8;
}

.contact h3 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.65rem, 3.1vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.01;
}

.contact p {
  margin: 0.82rem 0 0;
  color: #ccd3dc;
  line-height: 1.74;
}

.contact-links {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
}

.contact-row-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 44px;
}

.contact-label {
  color: #8d99a8;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  touch-action: manipulation;
}

.contact-links a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.to-top {
  position: fixed;
  right: calc(1.1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 140;
  border: 1px solid #203043;
  background: linear-gradient(140deg, #0e1723, #101926);
  color: #f4f6f8;
  border-radius: 999px;
  min-width: 52px;
  height: 52px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  touch-action: manipulation;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:focus-visible {
  outline: 2px solid #dbe3ed;
  outline-offset: 2px;
}

.site-footer {
  margin-top: 1.35rem;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  color: #617081;
  font-size: 0.92rem;
}

.footer-left p {
  margin: 0;
}

.footer-left p + p {
  margin-top: 0.3rem;
}

.footer-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #617081;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.56s ease var(--reveal-delay, 0ms),
    transform 0.56s ease var(--reveal-delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1320px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .container {
    width: min(var(--max), calc(100vw - 2rem));
  }

  .about-split,
  .mission,
  .contact,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .context-row,
  .context-row.reverse {
    grid-template-columns: 1fr;
  }

  .context-row.reverse .context-media,
  .context-row.reverse .context-copy {
    order: initial;
  }

  .story-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-links {
    justify-items: start;
  }
}

@media (max-width: 920px) {
  .hero-banner-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

  .nav-shell {
    min-height: 78px;
  }

  main {
    padding-top: 0;
  }

  .brand {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    z-index: 110;
    left: 1rem;
    right: 1rem;
    top: calc(78px + env(safe-area-inset-top, 0px));
    display: flex;
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow: auto;
    background: #f7f9fb;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: 0 12px 28px rgba(16, 24, 34, 0.16);
    padding: 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.72rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 1rem;
    width: 100%;
    padding: 0.45rem 0.2rem;
  }

  .hero-banner-shell.container {
    width: 100%;
    min-height: auto;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: none;
  }

  .hero-banner-shell.glow-surface {
    overflow: visible;
  }

  .hero-banner-shell.container > .panel-glow {
    display: none;
  }

  .hero-banner-shell.container::before {
    content: "";
    display: block;
    width: 100%;
    height: 55svh;
    height: 55vh;
    background:
      linear-gradient(180deg, rgba(7,11,16,0) 50%, rgba(7,11,16,0.85) 80%, #070b10 100%),
      url("../img/hero-hub-pexels.jpg") center 30% / cover no-repeat;
    position: static;
    z-index: auto;
  }

  .hero-banner-title {
    background: #070b10;
    padding: 0 1.4rem;
    margin-top: -1px;
  }

  .hero-banner-title .hero-kicker {
    display: none;
  }

  .hero-banner-title h1 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    line-height: 1.1;
  }

  .hero-banner-copy {
    background: #070b10;
    padding: 1rem 1.4rem 0;
    opacity: 0;
    animation: heroFadeIn 0.8s ease 0.3s forwards;
  }

  @keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-banner::after {
    content: "";
    display: block;
    height: 4rem;
    background: linear-gradient(180deg, #070b10, transparent);
  }

  .hero-banner + .story-scroll {
    margin-top: 0;
    border-top: none;
  }

  .about-media img {
    width: min(82%, 420px);
  }

  .contact-row-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .contact-links {
    justify-items: start;
  }

  .story-scroll,
  .story-shell {
    min-height: 63vh;
    min-height: 63svh;
  }

  .why-grid,
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .to-top {
    min-width: 48px;
    height: 48px;
    right: calc(0.8rem + env(safe-area-inset-right, 0px));
    bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-shell {
    flex-direction: column;
  }

  .footer-nav {
    gap: 0.8rem 1.2rem;
  }

  .grain-overlay::after {
    display: none;
  }
}

.about-cta:hover,
.about-cta:focus-visible {
  background-image: linear-gradient(145deg, #2a3a4f, #162233);
  background-size: 100% 100%;
  box-shadow: 0 6px 18px rgba(11, 20, 31, 0.28);
}

.link-with-icon:hover {
  border-bottom-color: #fff;
}

.link-with-icon:hover span {
  border-color: #fff;
}

.to-top:hover {
  background: linear-gradient(140deg, #1a2738, #182436);
  border-color: #2e4560;
}

.contact-links a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* --- Gradient transition between dark sections --- */
.why-now::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 0;
  right: 0;
  height: 2.5rem;
  background: linear-gradient(180deg, transparent, #0d1521);
  pointer-events: none;
}

.why-now {
  position: relative;
}

/* --- Staggered card reveal --- */
.why-grid article,
.cap-grid article {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.in .why-grid article,
.reveal.in .cap-grid article {
  animation: cardFadeUp 0.5s ease forwards;
}

.reveal.in .why-grid article:nth-child(1),
.reveal.in .cap-grid article:nth-child(1) { animation-delay: 0ms; }
.reveal.in .why-grid article:nth-child(2),
.reveal.in .cap-grid article:nth-child(2) { animation-delay: 80ms; }
.reveal.in .why-grid article:nth-child(3),
.reveal.in .cap-grid article:nth-child(3) { animation-delay: 160ms; }
.reveal.in .why-grid article:nth-child(4),
.reveal.in .cap-grid article:nth-child(4) { animation-delay: 240ms; }
.reveal.in .why-grid article:nth-child(5),
.reveal.in .cap-grid article:nth-child(5) { animation-delay: 320ms; }
.reveal.in .why-grid article:nth-child(6),
.reveal.in .cap-grid article:nth-child(6) { animation-delay: 400ms; }

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- CTA shimmer on idle --- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.about-cta {
  background-size: 200% 100%;
  background-image: linear-gradient(
    105deg,
    #1b2736 0%,
    #1b2736 40%,
    rgba(255,255,255,0.08) 50%,
    #0d1724 60%,
    #0d1724 100%
  );
  animation: shimmer 4s ease-in-out infinite;
}

.about-cta:hover,
.about-cta:focus-visible {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .split-char {
    opacity: 1;
    transform: none;
  }

  .why-grid article,
  .cap-grid article {
    opacity: 1;
    transform: none;
  }
}
