/* ============================================================
   Vanguard Synapse Tech — styles.css
   Dark, high-contrast quantum-tech design system.
   Vanilla CSS. No framework. Tokens first, components after.
   ============================================================ */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Surfaces */
  --bg: #04071a;
  --bg-2: #070c26;
  --bg-3: #0b1233;
  --surface: rgba(12, 18, 50, 0.72);

  /* Ink */
  --ink: #eef2ff;
  --ink-2: #aab4d6;
  --ink-3: #6d79a8;

  /* Brand accents (sampled from the logo) */
  --cyan: #36e2ff;
  --cyan-2: #8ff2ff;
  --blue: #3b7bff;
  --violet: #8b5cf6;
  --magenta: #ff2fd2;
  --pink: #ff6fc8;

  --line: rgba(130, 160, 255, 0.14);
  --line-2: rgba(130, 160, 255, 0.3);

  /* Type */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Vertical centre of the shield inside the logo image (16:9 crop) */
  --core-y: 37%;
}

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

html { -webkit-text-size-adjust: 100%; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }

/* Faint structural grid behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 100%);
  pointer-events: none;
}

img, svg, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Film grain: a static feTurbulence texture at very low opacity */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
.eyebrow,
.section__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  margin-bottom: 1.4rem;
}
.section__label::before {
  content: '';
  width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 10px var(--cyan);
}
.section__label.is-pulsing { animation: label-pulse 1.2s var(--ease-out); }
@keyframes label-pulse {
  0%   { text-shadow: 0 0 0 rgba(54, 226, 255, 0); color: #fff; }
  25%  { text-shadow: 0 0 18px rgba(54, 226, 255, 0.9), 0 0 40px rgba(255, 47, 210, 0.5); }
  100% { text-shadow: 0 0 0 rgba(54, 226, 255, 0); }
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-wrap: balance;
}
.section__title em,
.hero__tagline span,
.nav__name em {
  font-style: normal;
  background: linear-gradient(92deg, var(--cyan-2) 0%, var(--cyan) 38%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__sub,
.lead {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  max-width: 60ch;
}
.section__head { margin-bottom: clamp(48px, 6vw, 84px); }
.section__head .section__sub { margin-top: 1.4rem; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.75em;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s, background 0.4s;
}
.btn::after {
  /* sheen sweep */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-io);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 0 34px rgba(54, 226, 255, 0.32), 0 0 90px rgba(255, 47, 210, 0.16);
  outline: none;
}
.btn--primary {
  border-color: rgba(54, 226, 255, 0.5);
  background: linear-gradient(135deg, rgba(54, 226, 255, 0.2), rgba(255, 47, 210, 0.2));
  box-shadow: 0 0 24px rgba(54, 226, 255, 0.18), inset 0 0 18px rgba(54, 226, 255, 0.08);
  animation: btn-breathe 3.8s ease-in-out infinite;
}
@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 0 20px rgba(54, 226, 255, 0.16), inset 0 0 14px rgba(54, 226, 255, 0.06); }
  50%      { box-shadow: 0 0 36px rgba(54, 226, 255, 0.34), 0 0 70px rgba(255, 47, 210, 0.16), inset 0 0 22px rgba(54, 226, 255, 0.12); }
}
.btn--full { width: 100%; }
.btn:disabled { cursor: progress; opacity: 0.8; }

/* ------------------------------------------------------------
   Preloader (loading state of the logo)
   ------------------------------------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: var(--bg);
}
/* the logo fills the whole screen, art-directed per orientation */
.preloader__logo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform, filter;
}
.preloader__logo picture,
.preloader__logo img {
  width: 100%;
  height: 100%;
}
.preloader__logo img {
  object-fit: cover;
  object-position: 50% 42%;
  transform-origin: 50% 42%;
  animation: pre-breathe 1.6s ease-in-out infinite;
}
/* cinematic vignette + dark floor for the status read-out */
.preloader__logo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 75% at 50% 42%, transparent 52%, rgba(4, 7, 26, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 7, 26, 0.45) 0%, transparent 16%, transparent 68%, rgba(4, 7, 26, 0.92) 100%);
}
.preloader__scan {
  position: absolute;
  left: 0; right: 0;
  z-index: 1;
  height: 24%;
  top: -30%;
  background: linear-gradient(180deg, transparent, rgba(143, 242, 255, 0.28), transparent);
  mix-blend-mode: screen;
  animation: pre-scan 1.6s linear infinite;
}
@keyframes pre-breathe {
  0%, 100% { transform: scale(1);     filter: brightness(0.92) saturate(1); }
  50%      { transform: scale(1.025); filter: brightness(1.2)  saturate(1.18); }
}
@keyframes pre-scan { to { top: 110%; } }

.preloader__hud {
  position: absolute;
  left: 50%;
  bottom: calc(clamp(28px, 6vh, 64px) + env(safe-area-inset-bottom));
  z-index: 3;
  width: min(560px, calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%);
  display: grid;
  gap: 14px;
}
.preloader__status {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(4, 7, 26, 0.9), 0 0 2px rgba(4, 7, 26, 0.9);
}
.preloader__bar {
  height: 2px;
  border-radius: 2px;
  background: rgba(130, 160, 255, 0.22);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #fff, var(--magenta));
  box-shadow: 0 0 12px var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}

/* ------------------------------------------------------------
   Scroll progress spine
   ------------------------------------------------------------ */
.progress {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 40;
  width: 2px;
  height: min(40vh, 320px);
  transform: translateY(-50%);
  background: var(--line);
  border-radius: 2px;
}
.progress__bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
  transform: scaleY(0);
  transform-origin: top;
}
.progress__head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--cyan), 0 0 22px var(--magenta);
  transform: translate(-50%, -50%);
}
.progress__head.is-pulsing { animation: head-pulse 1s var(--ease-out); }
@keyframes head-pulse {
  0%   { box-shadow: 0 0 10px var(--cyan), 0 0 22px var(--magenta); }
  30%  { box-shadow: 0 0 22px #fff, 0 0 60px var(--cyan), 0 0 90px var(--magenta); }
  100% { box-shadow: 0 0 10px var(--cyan), 0 0 22px var(--magenta); }
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  transition: transform 0.7s var(--ease-out), background 0.5s, border-color 0.5s, backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(4, 7, 26, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav__mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: url('../assets/logo-1-1.jpg') 50% 39% / 230% no-repeat;
  box-shadow: 0 0 18px rgba(54, 226, 255, 0.25), inset 0 0 10px rgba(255, 47, 210, 0.2);
  animation: mark-breathe 4s ease-in-out infinite;
  flex: none;
}
@keyframes mark-breathe {
  0%, 100% { box-shadow: 0 0 14px rgba(54, 226, 255, 0.2), inset 0 0 8px rgba(255, 47, 210, 0.15); }
  50%      { box-shadow: 0 0 26px rgba(54, 226, 255, 0.5), 0 0 50px rgba(255, 47, 210, 0.25), inset 0 0 12px rgba(255, 47, 210, 0.3); }
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__name em { font-weight: 600; }

.nav__links {
  display: flex;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-current { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__cta { padding: 0.7em 1.3em; font-size: 0.72rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out), opacity 0.3s;
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
body.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 100px var(--gutter) 48px;
  background: rgba(4, 7, 26, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
body.menu-open .menu { opacity: 1; pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 18px; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 10vw, 3.6rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.menu__link span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.menu__foot {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 124px;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero__nebula {
  position: absolute;
  inset: -12%;
  z-index: -1;
  background:
    radial-gradient(55% 45% at 18% 58%, rgba(255, 47, 210, 0.17), transparent 62%),
    radial-gradient(50% 45% at 82% 42%, rgba(54, 226, 255, 0.15), transparent 62%),
    radial-gradient(70% 60% at 50% 42%, rgba(42, 72, 210, 0.3), transparent 66%),
    radial-gradient(40% 35% at 65% 80%, rgba(139, 92, 246, 0.18), transparent 60%);
  animation: nebula-drift 28s ease-in-out infinite alternate;
}
@keyframes nebula-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
/* vignette + fade to the next section */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 55%, rgba(4, 7, 26, 0.75) 100%),
    linear-gradient(180deg, rgba(4, 7, 26, 0.5) 0%, transparent 18%, transparent 78%, var(--bg) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .eyebrow { margin-bottom: clamp(8px, 1.5vw, 20px); }

/* HUD reticles echoing the logo artwork */
.hud {
  position: absolute;
  z-index: 1;
  width: clamp(90px, 10vw, 150px);
  aspect-ratio: 1;
  color: var(--cyan);
  pointer-events: none;
}
.hud--tr { top: 13%; right: 6%; }
.hud--bl { bottom: 15%; left: 5%; color: var(--pink); }
.hud svg { width: 100%; height: 100%; opacity: 0.55; }
.hud .r1 { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.hud .r2 { transform-origin: 50% 50%; animation: spin-rev 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* --- The Quantum Core ---------------------------------------- */
.q-core {
  position: relative;
  width: min(92vw, 900px, 88vh);
  margin: 0 auto;
  isolation: isolate;
}
.q-core__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1408 / 768;
  animation: q-breathe 5.5s ease-in-out infinite;
  will-change: transform;
}
.q-core__img picture {
  width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 58% 66% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.5) 72%, transparent 86%);
  mask-image: radial-gradient(ellipse 58% 66% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.5) 72%, transparent 86%);
}
.q-core__img img { width: 100%; height: 100%; object-fit: cover; }
/* SVG energy shimmer: desktop pointer devices only */
@media (hover: hover) and (min-width: 900px) {
  .q-core__img picture { filter: url(#f-energy); }
}
@keyframes q-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.028); }
}

/* Sheen: a bright band of light coursing across the crystal */
.q-core__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 40%, rgba(255, 255, 255, 0.30) 50%, transparent 60%);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 58% 66% at 50% 50%, #000 58%, transparent 86%);
  mask-image: radial-gradient(ellipse 58% 66% at 50% 50%, #000 58%, transparent 86%);
  transform: translateX(-130%);
  animation: q-sheen 7s var(--ease-io) infinite;
}
@keyframes q-sheen {
  0%   { transform: translateX(-130%); }
  26%  { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

/* Heartbeat at the centre of the shield */
.q-core__pulse {
  position: absolute;
  left: 50%;
  top: var(--core-y);
  z-index: 3;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: radial-gradient(circle, rgba(255, 130, 236, 0.55) 0%, rgba(54, 226, 255, 0.22) 38%, transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: q-corepulse 2.7s ease-in-out infinite;
}
@keyframes q-corepulse {
  0%, 100% { opacity: 0.22; transform: translate(-50%, -50%) scale(0.88); }
  45%      { opacity: 0.78; transform: translate(-50%, -50%) scale(1.12); }
  60%      { opacity: 0.55; }
}

/* Aura: coloured glow behind the whole mark (cheap transform/opacity) */
.q-core__aura {
  position: absolute;
  left: 50%;
  top: var(--core-y);
  z-index: 0;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 47, 210, 0.30) 0%, rgba(54, 226, 255, 0.16) 36%, rgba(59, 123, 255, 0.08) 55%, transparent 70%);
  filter: blur(28px);
  animation: q-aura 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes q-aura {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.96); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.08); }
}

/* Ripples: quantum wavefronts leaving the core */
.q-core__rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.q-core__rings i {
  position: absolute;
  left: 50%;
  top: var(--core-y);
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(143, 242, 255, 0.5);
  box-shadow: 0 0 18px rgba(54, 226, 255, 0.25), inset 0 0 18px rgba(255, 47, 210, 0.12);
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  animation: q-ripple 5.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.q-core__rings i:nth-child(2) { animation-delay: 1.8s; border-color: rgba(255, 111, 200, 0.45); }
.q-core__rings i:nth-child(3) { animation-delay: 3.6s; }
@keyframes q-ripple {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  8%   { opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}

.hero__tagline {
  margin-top: clamp(4px, 1vw, 12px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.9vw, 2.2rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
}
.hero__sub {
  margin-top: 18px;
  max-width: 640px;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 58px;
  background: linear-gradient(180deg, rgba(54, 226, 255, 0.5), transparent);
  overflow: hidden;
}
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, #fff, transparent);
  animation: scroll-drop 2.2s var(--ease-io) infinite;
}
@keyframes scroll-drop {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ------------------------------------------------------------
   Sections and synaptic dividers
   ------------------------------------------------------------ */
.section {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0;
}
.divider {
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 18%, var(--line-2) 82%, transparent);
  overflow: visible;
}
.divider__pulse {
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 18%;
  min-width: 120px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--cyan) 35%, #fff 55%, var(--magenta) 75%, transparent);
  box-shadow: 0 0 16px var(--cyan), 0 0 42px rgba(255, 47, 210, 0.55);
  filter: blur(0.6px);
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------
   Ethos
   ------------------------------------------------------------ */
.ethos { overflow: hidden; }
.ethos__orbit {
  position: absolute;
  right: -12vw;
  top: 10%;
  width: clamp(420px, 48vw, 760px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.5;
}
.ethos__orbit i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  animation: orbit-spin 60s linear infinite;
}
.ethos__orbit i::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.ethos__orbit i:nth-child(2) { inset: 15%; animation-duration: 42s; animation-direction: reverse; }
.ethos__orbit i:nth-child(2)::before { background: var(--magenta); box-shadow: 0 0 14px var(--magenta); }
.ethos__orbit i:nth-child(3) { inset: 32%; animation-duration: 30s; border-style: dashed; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.ethos__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.ethos__manifesto p + p { margin-top: 1.2rem; color: var(--ink-2); }
.ethos__manifesto strong { color: #fff; font-weight: 600; }
.ethos__mantra {
  display: flex;
  flex-direction: column;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.ethos__mantra span:nth-child(2) { color: var(--ink-2); }
.ethos__mantra span:nth-child(3) {
  background: linear-gradient(92deg, var(--cyan-2), var(--cyan) 40%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillars { display: flex; flex-direction: column; gap: 14px; }
.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 26px 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 20, 56, 0.6), rgba(8, 12, 36, 0.7));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.5s, box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.pillar:hover {
  border-color: rgba(54, 226, 255, 0.45);
  box-shadow: 0 0 40px rgba(54, 226, 255, 0.12), 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}
.pillar__icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 30% 20%, rgba(54, 226, 255, 0.18), rgba(255, 47, 210, 0.06) 70%);
  color: var(--cyan-2);
  transition: box-shadow 0.5s, color 0.4s;
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar:hover .pillar__icon { color: #fff; box-shadow: 0 0 24px rgba(54, 226, 255, 0.35); }
.pillar:hover .pillar__icon svg { filter: url(#f-glow); }
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.pillar p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }

.ticker {
  margin-top: clamp(72px, 9vw, 130px);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker__track span {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker__track span::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.ticker__track span:nth-child(3n)::after { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   Arsenal: activation cards
   ------------------------------------------------------------ */
.arsenal__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  perspective: 1200px;
}
.card:nth-child(-n + 3) { grid-column: span 2; }
.card:nth-child(n + 4) { grid-column: span 3; }

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 20, 56, 0.72), rgba(7, 11, 32, 0.9));
  overflow: hidden;
  isolation: isolate;
  outline: none;
  transform-style: preserve-3d;
  transition: border-color 0.5s, transform 0.6s var(--ease-out);
  cursor: default;
}
/* animated energy ring (border) */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle),
    transparent 0deg, transparent 210deg,
    rgba(54, 226, 255, 0.4) 250deg, var(--cyan) 285deg, #fff 305deg, var(--magenta) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
/* pointer-following inner glow */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(54, 226, 255, 0.16), transparent 45%),
    radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 47, 210, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
}
.card:hover, .card.is-active, .card:focus-visible { border-color: rgba(54, 226, 255, 0.35); }
.card:hover::before, .card.is-active::before, .card:focus-visible::before {
  opacity: 1;
  animation: spin-angle 2.4s linear infinite;
}
.card.is-active::before { filter: url(#f-electric); }
.card:hover::after, .card.is-active::after, .card:focus-visible::after { opacity: 1; }
@keyframes spin-angle { to { --angle: 360deg; } }

/* the surge: the sudden energy burst that then settles */
.card.is-active { animation: card-surge 1.1s var(--ease-out) forwards; }
@keyframes card-surge {
  0%   { box-shadow: 0 0 0 rgba(54, 226, 255, 0); }
  22%  { box-shadow: 0 0 60px rgba(54, 226, 255, 0.5), 0 0 140px rgba(255, 47, 210, 0.3), inset 0 0 50px rgba(54, 226, 255, 0.14); }
  100% { box-shadow: 0 0 30px rgba(54, 226, 255, 0.22), 0 0 90px rgba(255, 47, 210, 0.12), inset 0 0 24px rgba(54, 226, 255, 0.05); }
}
.card__scan {
  position: absolute;
  left: 0; right: 0;
  top: -3px;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(143, 242, 255, 0.95), transparent);
  box-shadow: 0 0 14px var(--cyan);
  opacity: 0;
  pointer-events: none;
}
.card.is-active .card__scan { animation: card-scan 1.2s var(--ease-io) forwards; }
@keyframes card-scan {
  0%   { top: -3px; opacity: 0; }
  10%  { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}

.card__index {
  position: absolute;
  top: 24px; right: 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  transition: color 0.4s;
}
.card:hover .card__index, .card.is-active .card__index { color: var(--cyan); }
.card__icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 30% 20%, rgba(54, 226, 255, 0.16), rgba(255, 47, 210, 0.05) 70%);
  color: var(--cyan-2);
  transition: color 0.4s, box-shadow 0.6s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.4s;
}
.card__icon svg { width: 34px; height: 34px; overflow: visible; }
.card__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.card:hover .card__icon, .card.is-active .card__icon, .card:focus-visible .card__icon {
  color: #fff;
  border-color: rgba(54, 226, 255, 0.6);
  box-shadow: 0 0 28px rgba(54, 226, 255, 0.4), 0 0 60px rgba(255, 47, 210, 0.2);
  transform: translateY(-4px);
}
.card:hover .card__icon svg, .card.is-active .card__icon svg, .card:focus-visible .card__icon svg { filter: url(#f-glow); }
.card.is-active .card__icon svg * { animation: icon-draw 1.3s var(--ease-out); }
@keyframes icon-draw {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.card__text {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.card__tags li {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.card:hover .card__tags li, .card.is-active .card__tags li {
  border-color: rgba(54, 226, 255, 0.35);
  color: #fff;
  background: rgba(54, 226, 255, 0.06);
}

/* ------------------------------------------------------------
   Contact: initialization protocol
   ------------------------------------------------------------ */
.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__intro .lead { margin-top: 1.4rem; }
.contact__meta {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.contact__meta li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact__meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.contact__meta b { font-weight: 500; color: var(--ink); }
.contact__meta a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(54, 226, 255, 0.35);
  transition: text-decoration-color 0.3s;
}
.contact__meta a:hover { text-decoration-color: var(--cyan); }

.terminal {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 15, 44, 0.92), rgba(5, 8, 28, 0.96));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 70px rgba(54, 226, 255, 0.06);
  overflow: hidden;
}
.terminal::before {
  /* top edge light */
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  opacity: 0.7;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.terminal__bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px currentColor;
}
.terminal__bar i:nth-child(2) { background: var(--cyan); }
.terminal__bar i:nth-child(3) { background: var(--violet); }
.terminal__bar em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.terminal__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  resize: vertical;
  min-height: 48px;
  outline: none;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease-out), background 0.4s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus {
  border-color: var(--cyan);
  background: rgba(54, 226, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(54, 226, 255, 0.12), 0 0 30px rgba(54, 226, 255, 0.18);
}
/* browser autofill: keep the field dark instead of the default pale fill */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #0e1434 inset;
  box-shadow: 0 0 0 1000px #0e1434 inset;
  transition: background-color 99999s ease-out 0s;
}
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #0f1a3d inset, 0 0 0 3px rgba(54, 226, 255, 0.12), 0 0 30px rgba(54, 226, 255, 0.18);
  box-shadow: 0 0 0 1000px #0f1a3d inset, 0 0 0 3px rgba(54, 226, 255, 0.12), 0 0 30px rgba(54, 226, 255, 0.18);
}
.terminal.was-validated :invalid {
  border-color: rgba(255, 47, 210, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 47, 210, 0.14);
}
/* honeypot: invisible to people, tempting to bots */
.field--hp {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.terminal__status {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  min-height: 1.6em;
  overflow-wrap: anywhere;
}
.terminal.is-sent .terminal__status { color: var(--cyan-2); }
.terminal__status a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.caret {
  display: inline-block;
  width: 7px; height: 1em;
  margin-left: 4px;
  vertical-align: -0.15em;
  background: var(--cyan);
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 calc(32px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(4, 7, 26, 0.9));
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s;
}
.footer__top i {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
  transition: box-shadow 0.5s, border-color 0.4s;
}
.footer__top i::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translate(-50%, -30%) rotate(45deg);
}
.footer__top:hover { color: #fff; }
.footer__top:hover i { border-color: var(--cyan); box-shadow: 0 0 20px rgba(54, 226, 255, 0.4); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .arsenal__grid { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(-n + 3), .card:nth-child(n + 4) { grid-column: auto; }
  .card:nth-child(5) { grid-column: span 2; }
  .ethos__grid, .contact__grid { grid-template-columns: 1fr; }
  .ethos__orbit { opacity: 0.25; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__name { font-size: 0.78rem; }
  .progress { display: none; }
  .hud { display: none; }
  .section__title { max-width: none; }
  .contact__meta li { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 72px; }
  .hero__scroll { display: none; }
  .arsenal__grid { grid-template-columns: 1fr; gap: 14px; }
  .card:nth-child(5) { grid-column: auto; }
  .card { padding: 26px 22px 22px; }
  .pillar { grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 18px; }
  .pillar__icon { width: 52px; height: 52px; }
  .hero__actions .btn { width: 100%; }
  .terminal__body { padding: 22px 18px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------
   Portrait screens: art-directed poster logo.
   3:4 on portrait tablets, 9:16 on phones. These media queries
   must mirror the <picture> sources and preload links in index.html.
   ------------------------------------------------------------ */
@media (orientation: portrait) {
  :root {
    --core-y: 45%;
    --poster-h: min(133.9vw, 78svh);       /* 3:4 height at full width, capped */
    --poster-tuck: 0.05;                    /* how far the tagline rises into the poster */
  }
  .hero { padding-top: 88px; }
  .hero .eyebrow {
    position: relative;
    z-index: 3;
    text-shadow: 0 0 16px rgba(4, 7, 26, 0.95), 0 0 4px rgba(4, 7, 26, 0.9);
  }
  /* full-bleed poster, tucked up under the eyebrow */
  .q-core {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    margin-top: -2.4rem;
  }
  .q-core__img {
    aspect-ratio: auto;
    height: var(--poster-h);
  }
  .q-core__img img { object-position: 50% 45%; }
  .q-core__img picture,
  .q-core__sheen {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 74%, transparent 98%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 74%, transparent 98%);
  }
  .q-core__aura { width: 96%; }
  .q-core__pulse { width: 54%; }
  .q-core__rings i { width: 64%; }
  /* synapses drift over the poster instead of hiding behind it */
  .hero__canvas {
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.75;
  }
  /* tagline rises into the poster's dark lower band */
  .hero__tagline {
    position: relative;
    z-index: 3;
    margin-top: calc(var(--poster-h) * var(--poster-tuck) * -1);
  }
  .hero__sub, .hero__actions { position: relative; z-index: 3; }
  .preloader__logo img { object-position: 50% 45%; transform-origin: 50% 45%; }
}

@media (orientation: portrait) and (max-width: 640px) {
  :root {
    --core-y: 42%;
    --poster-h: min(179vw, 84svh);         /* 9:16 height at full width, capped */
    --poster-tuck: 0.17;
  }
  .hero { padding-top: 76px; }
  .q-core__img img { object-position: 50% 42%; }
  .preloader__logo img { object-position: 50% 40%; transform-origin: 50% 40%; }
}

/* short phones (e.g. iPhone SE): the poster is cropped harder, so tuck less */
@media (orientation: portrait) and (max-width: 640px) and (max-height: 740px) {
  :root { --poster-tuck: 0.12; }
}

/* ------------------------------------------------------------
   Reduced motion: keep the page calm, keep it readable
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .q-core__img picture { filter: none; }
  .divider__pulse, .q-core__sheen, .q-core__rings { display: none; }
  .q-core__aura { opacity: 0.8; }
  .preloader { display: none; }
  body.is-loading { overflow: auto; }
}
