:root {
  --bg: #071018;
  --bg-2: #0d1820;
  --panel: rgba(18, 31, 39, .78);
  --panel-strong: #12202a;
  --line: rgba(255,255,255,.10);
  --text: #f8f3e7;
  --muted: #aab9bd;
  --gold: #ffb84d;
  --gold-2: #ff7b31;
  --cyan: #50dff5;
  --violet: #a66cff;
  --green: #7fb972;
  --shadow: 0 25px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 87, 92, .18), transparent 33rem),
    linear-gradient(#071018, #08131a 38%, #050b10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-glow { position: fixed; width: 32rem; height: 32rem; border-radius: 999px; filter: blur(90px); opacity: .12; pointer-events: none; z-index: -1; }
.page-glow--one { background: var(--violet); top: 10rem; left: -15rem; }
.page-glow--two { background: var(--cyan); right: -18rem; top: 38rem; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 24, .72);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 10;
  box-shadow: 0 16px 35px rgba(0,0,0,.18);
}
.brand { display: flex; gap: 10px; align-items: center; font-weight: 900; letter-spacing: .08em; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); padding: 10px 12px; border-radius: 10px; font-size: .94rem; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 70px 0 50px;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .78rem; margin: 0 0 12px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(3.7rem, 7vw, 7rem); line-height: .92; margin: 0; letter-spacing: -.04em; text-shadow: 0 10px 40px rgba(0,0,0,.35); }
h1 span { color: transparent; background: linear-gradient(110deg, #ffd98c, var(--gold), #ff8450); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: 1.22rem; line-height: 1.7; color: #cad5d4; max-width: 700px; margin: 26px 0; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; min-height: 48px; padding: 0 20px; align-items: center; justify-content: center; border-radius: 12px; font-weight: 850; border: 1px solid transparent; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #251308; background: linear-gradient(135deg, #ffcf75, #f39234); box-shadow: 0 12px 30px rgba(255, 151, 52, .22); }
.btn--ghost { border-color: var(--line); background: rgba(255,255,255,.04); }
.hero__stats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 670px; }
.hero__stats div { padding: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; }
.hero__stats strong, .hero__stats span { display: block; }
.hero__stats strong { color: #fff; font-size: .95rem; }
.hero__stats span { color: var(--muted); font-size: .8rem; margin-top: 3px; }

.hero__art { min-height: 610px; display: grid; place-items: center; position: relative; }
.logo-frame { position: relative; width: min(590px, 100%); z-index: 2; filter: drop-shadow(0 28px 45px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
.logo-frame::before { content: ""; position: absolute; inset: 14% 13%; border-radius: 50%; background: radial-gradient(circle, rgba(80,223,245,.23), rgba(166,108,255,.10), transparent 70%); filter: blur(25px); z-index: -1; }
.crystal { position: absolute; width: 90px; height: 220px; background: linear-gradient(145deg, rgba(83,241,255,.82), rgba(85,100,255,.6) 48%, rgba(188,92,255,.85)); clip-path: polygon(50% 0, 82% 28%, 68% 100%, 32% 100%, 18% 28%); filter: drop-shadow(0 0 28px rgba(87,222,255,.35)); opacity: .38; }
.crystal--a { left: 3%; bottom: 6%; transform: rotate(-18deg) scale(.62); }
.crystal--b { right: 2%; top: 10%; transform: rotate(21deg) scale(.48); }
.crystal--c { right: 15%; bottom: 2%; transform: rotate(9deg) scale(.33); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.world-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 16px; display: flex; justify-content: center; gap: clamp(18px, 5vw, 64px); flex-wrap: wrap; color: #bfcac8; font-size: .9rem; }

.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 100px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
h2 { font-size: clamp(2.4rem, 4vw, 4.6rem); line-height: 1.02; margin: 0 0 20px; letter-spacing: -.03em; }
h3 { font-size: 1.45rem; margin: 10px 0 8px; }
.section p { color: #b7c3c3; line-height: 1.75; font-size: 1.02rem; }

.scene-card { min-height: 430px; position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(#111d2b, #2d2441 46%, #6a3f2b 100%); box-shadow: var(--shadow); }
.scene-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(255,159,74,.2), transparent 26%), linear-gradient(to top, rgba(0,0,0,.32), transparent 55%); }
.scene-card__moon { position: absolute; width: 92px; aspect-ratio: 1; border-radius: 50%; right: 12%; top: 11%; background: #ffd999; box-shadow: 0 0 35px rgba(255,205,132,.5); }
.scene-card__mountains { position: absolute; inset: 26% -10% 0; background: linear-gradient(135deg, transparent 0 10%, #1a2631 10% 22%, transparent 22% 29%, #19232b 29% 48%, transparent 48% 54%, #101a20 54% 73%, transparent 73%); opacity: .95; }
.scene-card__village { position: absolute; left: 0; right: 0; bottom: 72px; display: flex; align-items: end; justify-content: center; gap: 18px; }
.scene-card__village i { width: 44px; height: 64px; background: #1c1714; border-radius: 4px 4px 0 0; position: relative; box-shadow: 0 -15px 0 -3px #1c1714; }
.scene-card__village i::after { content: ""; position: absolute; width: 10px; height: 16px; background: #ffbb4b; left: 50%; top: 22px; transform: translateX(-50%); box-shadow: 0 0 18px rgba(255,157,55,.8); }
.scene-card__village i:nth-child(2), .scene-card__village i:nth-child(4) { height: 90px; }
.scene-card__village i:nth-child(3) { height: 118px; width: 62px; }
.scene-card__caption { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.scene-card__caption small { color: var(--gold); letter-spacing: .16em; font-weight: 800; }
.scene-card__caption strong { max-width: 290px; text-align: right; }

.section-heading { max-width: 720px; margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--line); min-height: 250px; box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.feature-card:hover { border-color: rgba(255,184,77,.35); transform: translateY(-3px); transition: .2s ease; }
.feature-card .icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; font-size: 1.5rem; background: linear-gradient(135deg, rgba(255,188,77,.15), rgba(87,223,245,.10)); border: 1px solid rgba(255,255,255,.08); }
.feature-card p { font-size: .94rem; }

.trailer-section { padding-top: 70px; }
.video-shell { padding: 10px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,187,76,.18), rgba(80,223,245,.14), rgba(166,108,255,.12)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.video-shell video { width: 100%; max-height: 650px; display: block; border-radius: 17px; background: #000; object-fit: contain; }

.callout { padding: 50px; margin-bottom: 90px; border-radius: 28px; border: 1px solid rgba(255,195,90,.22); background: radial-gradient(circle at 10% 20%, rgba(255,176,71,.11), transparent 28%), linear-gradient(135deg, #111c24, #0c151b); display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--shadow); }
.callout h2 { font-size: clamp(2rem, 3vw, 3.6rem); }
.callout p { max-width: 720px; }

.legal { padding-top: 20px; }
.legal__heading { margin-bottom: 24px; }
.legal-card { max-width: 720px; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.legal-card p { margin: 0 0 16px; }
.legal-note { color: #8fa1a2 !important; font-size: .9rem !important; }

footer { border-top: 1px solid var(--line); width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 50px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #8fa1a2; font-size: .9rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: #fff; letter-spacing: .08em; }
.footer-brand span { margin-top: 2px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; }
  .hero__art { min-height: auto; }
  .logo-frame { width: min(600px, 92vw); }
  .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .callout { padding: 32px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .site-header { top: 8px; }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .lead { font-size: 1.05rem; }
  .hero__stats { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .scene-card__caption { align-items: flex-start; flex-direction: column; }
  .scene-card__caption strong { text-align: left; }
  footer { align-items: flex-start; flex-direction: column; }
}


/* YouTube / Entwicklungs-CTA */
.youtube-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: 34px;
  margin-top: 20px;
  margin-bottom: 90px;
  padding: 54px;
  border: 1px solid rgba(255, 184, 77, .24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 45%, rgba(166,108,255,.15), transparent 23rem),
    radial-gradient(circle at 18% 12%, rgba(255,123,49,.12), transparent 22rem),
    linear-gradient(135deg, rgba(16, 29, 39, .99), rgba(8, 17, 24, .99));
  box-shadow: var(--shadow);
}
.youtube-cta__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  right: 6%;
  top: 4%;
  border-radius: 50%;
  background: rgba(168, 95, 255, .12);
  filter: blur(80px);
  pointer-events: none;
}
.youtube-cta__content { position: relative; z-index: 2; }
.youtube-cta__content h2 { max-width: 760px; }
.youtube-cta__content > p:not(.eyebrow):not(.youtube-cta__note) { max-width: 700px; }
.youtube-cta__actions { margin-top: 28px; }
.btn--youtube {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffb84d, #ff7b31);
  color: #101010;
  box-shadow: 0 12px 30px rgba(255,123,49,.22);
}
.btn--youtube:hover { transform: translateY(-2px); }
.youtube-play {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0,0,0,.14);
  font-size: .82rem;
}
.youtube-cta__note {
  margin-top: 16px;
  font-size: .88rem !important;
  color: #87999d !important;
}
.youtube-cta__art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.youtube-cta__art img {
  position: relative;
  z-index: 2;
  width: min(390px, 100%);
  filter: drop-shadow(0 26px 38px rgba(0,0,0,.48));
}
.youtube-orbit {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(80,223,245,.17);
  box-shadow:
    0 0 60px rgba(80,223,245,.10),
    inset 0 0 70px rgba(166,108,255,.08);
}
.youtube-orbit::before,
.youtube-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.youtube-orbit::before {
  inset: 12%;
  border: 1px dashed rgba(255,184,77,.16);
}
.youtube-orbit::after {
  width: 18px;
  height: 18px;
  right: 9%;
  top: 20%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 24px rgba(80,223,245,.55);
}

@media (max-width: 900px) {
  .youtube-cta { grid-template-columns: 1fr; padding: 38px; }
  .youtube-cta__art { min-height: 245px; }
  .youtube-cta__art img { width: min(330px, 78vw); }
}
@media (max-width: 620px) {
  .youtube-cta { padding: 28px 20px; border-radius: 22px; }
  .btn--youtube { width: 100%; justify-content: center; text-align: center; }
}


/* Language switcher */
.language-switcher {
  display: flex;
  gap: 6px;
  margin-left: 12px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.lang-btn {
  border: 0;
  min-width: 38px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
  transition: .2s ease;
}
.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.lang-btn.active {
  color: #251308;
  background: linear-gradient(135deg, #ffcf75, #f39234);
  box-shadow: 0 6px 18px rgba(255,151,52,.18);
}

@media (max-width: 900px) {
  .language-switcher { margin-left: auto; }
}


/* Header logo update */
.brand {
  gap: 12px;
}
.brand img {
  width: auto;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.32));
}

@media (max-width: 900px) {
  .brand img {
    height: 56px;
  }
}


/* ============================================================
   Header – nur das grafische IRIDLINGS-Symbol, ohne Wortmarke
   ============================================================ */
.site-header {
  min-height: 82px;
}
.brand {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 152px;
  height: 66px;
  overflow: visible;
}
.brand img {
  width: 145px;
  height: 76px;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 7px 14px rgba(0,0,0,.40))
    drop-shadow(0 0 14px rgba(80,223,245,.08));
  transform: translateY(1px);
}
.brand::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,184,77,.34), transparent);
  opacity: .65;
}
.nav a.is-active {
  color: #fff;
  background: rgba(255,255,255,.065);
  box-shadow: inset 0 -1px 0 rgba(255,184,77,.42);
}

@media (max-width: 900px) {
  .site-header { min-height: 72px; }
  .brand { width: 116px; height: 58px; }
  .brand img { width: 112px; height: 62px; }
}
@media (max-width: 700px) {
  .brand { width: 98px; }
  .brand img { width: 96px; }
}

/* ============================================================
   Scroll-Progress
   ============================================================ */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 999;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold-2), var(--gold), var(--cyan), var(--violet));
  box-shadow: 0 0 16px rgba(80,223,245,.35);
}

/* ============================================================
   Scroll-Reveals
   ============================================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  filter: blur(5px);
  transition:
    opacity .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    filter .72s ease var(--reveal-delay, 0ms);
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ============================================================
   Hero-Parallax + Partikel
   ============================================================ */
.logo-frame {
  --mx: 0px;
  --my: 0px;
  --mr: 0deg;
  animation: heroFloat 6s ease-in-out infinite;
  transform: translate3d(var(--mx), var(--my), 0) rotate(var(--mr));
  transition: transform .16s ease-out;
  will-change: transform;
}
@keyframes heroFloat {
  0%,100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.iridium-particles {
  position: absolute;
  inset: 4% 0 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  border-radius: 38%;
}
.iridium-particles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: #d6fbff;
  box-shadow:
    0 0 8px rgba(80,223,245,.92),
    0 0 20px rgba(166,108,255,.62);
  opacity: 0;
  animation: iridiumSpark var(--dur) ease-in-out var(--delay) infinite;
}
.iridium-particles i:nth-child(3n) {
  background: #ffe2a4;
  box-shadow: 0 0 8px rgba(255,184,77,.92), 0 0 20px rgba(255,123,49,.45);
}
@keyframes iridiumSpark {
  0%   { opacity: 0; transform: translate3d(0, 18px, 0) scale(.5); }
  18%  { opacity: .95; }
  55%  { opacity: .5; transform: translate3d(var(--drift), -18px, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(calc(var(--drift) * .35), -52px, 0) scale(.35); }
}

/* ============================================================
   Feature-Karten: 3D-Tilt + Mauslicht
   ============================================================ */
.feature-card {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 50%;
  position: relative;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .16s ease-out, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--gx) var(--gy),
      rgba(255,255,255,.15),
      rgba(80,223,245,.07) 18%,
      transparent 42%);
  opacity: .65;
  transition: opacity .2s ease;
}
.feature-card:hover {
  border-color: rgba(255,184,77,.26);
  box-shadow: 0 24px 60px rgba(0,0,0,.28), 0 0 28px rgba(80,223,245,.05);
}
.feature-card > * {
  position: relative;
  z-index: 1;
}

/* Buttons bekommen einen subtilen Lichtlauf */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  width: 34px;
  left: -70px;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  transition: left .55s ease;
}
.btn:hover::after {
  left: calc(100% + 40px);
}

/* Accessibility */
.reduce-motion .js-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.reduce-motion .logo-frame,
.reduce-motion .iridium-particles i { animation: none !important; }
.reduce-motion .feature-card { transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .logo-frame, .iridium-particles i { animation: none !important; }
  .feature-card { transform: none !important; transition: none !important; }
}


/* ===== Final header refinement ===== */
.site-header {
  min-height: 92px;
  gap: 18px;
}
.brand--header {
  width: auto;
  height: auto;
  gap: 14px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10,22,32,.78), rgba(8,17,26,.70));
  box-shadow: 0 10px 30px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.03);
  transition: transform .2s ease, border-color .25s ease, box-shadow .25s ease;
}
.brand--header::after { display: none; }
.brand--header:hover {
  transform: translateY(-1px);
  border-color: rgba(255,184,77,.18);
  box-shadow: 0 14px 34px rgba(0,0,0,.26), 0 0 20px rgba(80,223,245,.05);
}
.brand--header img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex: 0 0 auto;
  transform: none;
}
.brand__text strong,
.brand__text span {
  display: block;
}
.brand__text strong {
  color: #fff;
  font-size: 1.7rem;
  letter-spacing: .08em;
  line-height: 1;
}
.brand__text span {
  margin-top: 6px;
  color: #a9bcc0;
  font-size: .93rem;
  white-space: nowrap;
}

.nav a {
  position: relative;
  overflow: hidden;
  transform: translate(var(--tx,0), var(--ty,0));
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,184,77,.1), rgba(80,223,245,.92), rgba(166,108,255,.72));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}
.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

@media (max-width: 1050px) {
  .brand--header {
    padding-right: 12px;
  }
  .brand__text strong { font-size: 1.45rem; }
  .brand__text span { font-size: .86rem; }
}
@media (max-width: 900px) {
  .site-header {
    min-height: 82px;
    gap: 12px;
  }
  .brand--header {
    padding: 8px 12px 8px 8px;
    border-radius: 16px;
  }
  .brand--header img {
    width: 60px;
    height: 60px;
  }
  .brand__text strong { font-size: 1.2rem; }
  .brand__text span { font-size: .78rem; }
}
@media (max-width: 700px) {
  .brand__text span { display: none; }
  .brand--header img {
    width: 54px;
    height: 54px;
  }
  .brand__text strong { font-size: 1.05rem; }
}

/* ===== Sitewide starfield ===== */
.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.starfield i {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255,255,255,var(--opacity));
  box-shadow: 0 0 12px rgba(80,223,245,.25);
  animation: twinkle var(--dur) ease-in-out var(--delay) infinite;
}
.starfield i:nth-child(3n) {
  background: rgba(255,205,138,var(--opacity));
  box-shadow: 0 0 13px rgba(255,184,77,.18);
}
@keyframes twinkle {
  0%,100% { opacity: .15; transform: scale(.8); }
  50% { opacity: .95; transform: scale(1.22); }
}

/* ===== More visible motion across the page ===== */
.page-glow--one,
.page-glow--two {
  transition: transform .18s linear;
  animation: glowPulse 8s ease-in-out infinite;
}
.page-glow--two { animation-duration: 11s; }
@keyframes glowPulse {
  0%,100% { opacity: .68; filter: blur(80px); }
  50% { opacity: .9; filter: blur(96px); }
}

.hero h1 {
  background: linear-gradient(180deg, #fff 0%, #ffe6bf 44%, #ffeecf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGlow 4.4s ease-in-out infinite;
}
@keyframes titleGlow {
  0%,100% { filter: drop-shadow(0 0 0 rgba(255,184,77,0)); }
  50% { filter: drop-shadow(0 0 14px rgba(255,184,77,.16)); }
}

.hero__stats > div {
  animation: statPulse 3.8s ease-in-out infinite;
}
@keyframes statPulse {
  0%,100% { transform: translateY(0); box-shadow: 0 0 0 rgba(80,223,245,0); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(80,223,245,.05); }
}

.world-strip span {
  position: relative;
  transition: transform .18s ease, color .2s ease;
}
.world-strip span:hover {
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}
.world-strip span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(80,223,245,.8);
  transform: translateX(-50%) scale(0);
  transition: transform .18s ease;
}
.world-strip span:hover::before { transform: translateX(-50%) scale(1); }

.scene-card {
  position: relative;
  overflow: hidden;
}
.scene-card::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
  transform: translateX(-120%) rotate(8deg);
  animation: sheenSweep 8s linear infinite;
}
@keyframes sheenSweep {
  0%, 75% { transform: translateX(-120%) rotate(8deg); }
  100% { transform: translateX(130%) rotate(8deg); }
}
.scene-card__moon {
  animation: moonBreath 5.5s ease-in-out infinite;
}
@keyframes moonBreath {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { transform: scale(1.06); box-shadow: 0 0 28px rgba(255,240,200,.15); }
}
.scene-card__village::after {
  content: "";
  position: absolute;
  inset: auto 18% 15% 18%;
  height: 16%;
  background:
    radial-gradient(circle, rgba(255,191,87,.5) 0, rgba(255,191,87,0) 56%) 10% 40%/34px 20px no-repeat,
    radial-gradient(circle, rgba(255,191,87,.45) 0, rgba(255,191,87,0) 56%) 40% 30%/24px 16px no-repeat,
    radial-gradient(circle, rgba(255,191,87,.55) 0, rgba(255,191,87,0) 56%) 74% 45%/28px 18px no-repeat;
  mix-blend-mode: screen;
  animation: windowFlicker 4.2s steps(2) infinite;
}
@keyframes windowFlicker {
  0%,100% { opacity: .6; }
  50% { opacity: 1; }
}

.video-shell,
.btn,
.footer-brand,
.youtube-cta__art {
  transform: translate(var(--tx,0), var(--ty,0));
  transition: transform .15s ease;
}
.video-shell:hover {
  box-shadow: 0 28px 70px rgba(0,0,0,.38), 0 0 30px rgba(80,223,245,.06);
}

.youtube-orbit {
  animation: slowRotate 18s linear infinite;
}
@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.youtube-cta__art img {
  animation: logoFloatSoft 5.4s ease-in-out infinite;
}
@keyframes logoFloatSoft {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.footer-brand {
  position: relative;
}
.footer-brand::after {
  content: "";
  position: absolute;
  inset: auto 0 -10px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,184,77,.4), transparent);
  opacity: .75;
}

.section h2,
.section-heading h2 {
  position: relative;
}
.section h2::after,
.section-heading h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,184,77,.9), rgba(80,223,245,.9));
  box-shadow: 0 0 12px rgba(80,223,245,.12);
}

/* motion preferences */
.reduce-motion .starfield i,
.reduce-motion .page-glow--one,
.reduce-motion .page-glow--two,
.reduce-motion .hero h1,
.reduce-motion .hero__stats > div,
.reduce-motion .scene-card::after,
.reduce-motion .scene-card__moon,
.reduce-motion .scene-card__village::after,
.reduce-motion .youtube-orbit,
.reduce-motion .youtube-cta__art img { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  .starfield i,
  .page-glow--one,
  .page-glow--two,
  .hero h1,
  .hero__stats > div,
  .scene-card::after,
  .scene-card__moon,
  .scene-card__village::after,
  .youtube-orbit,
  .youtube-cta__art img { animation: none !important; }
}


/* ===== Softer ambient glow ===== */
.page-glow--one,
.page-glow--two {
  opacity: .34 !important;
  filter: blur(115px) !important;
}

.page-glow--one {
  transform-origin: center;
}

.page-glow--two {
  opacity: .28 !important;
}

/* Reduce edge intensity around the page */
body::before,
body::after {
  opacity: .18 !important;
}

/* Keep the hero atmospheric, but less distracting */
.hero::before,
.hero::after {
  opacity: .28 !important;
}

/* Also tone down strong outer light on big art */
.logo-frame {
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.30))
          drop-shadow(0 0 18px rgba(80,223,245,.08));
}
