/* ════════════════════════════════════════════════════════════
   DAVARA.DEV — Aurora Design Language
   The northern lights as a system. No sharp edges. Mobile-native.
   ════════════════════════════════════════════════════════════ */

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

:root {
  /* ── Aurora palette ── */
  --sky:           #0A0E27;       /* arctic indigo void */
  --sky-up:        #13183C;       /* sky gradient top */
  --sky-deep:      #060920;       /* deepest pocket */
  --ice:           #1F2547;       /* hairline backgrounds */

  --aurora-em:     #5EEAD4;       /* signature emerald-teal */
  --aurora-em-deep:#10B981;
  --aurora-vi:     #A78BFA;       /* electric violet */
  --aurora-vi-deep:#7C3AED;
  --aurora-mg:     #F472B6;       /* magenta */
  --aurora-cy:     #67E8F9;       /* icy cyan */
  --aurora-go:     #FCD34D;       /* warm gold (rare highlight) */

  --snow:          #F8FAFC;
  --moss:          #F0FDF4;       /* warm white for body */
  --mist:          rgba(248,250,252,.72);
  --fog:           rgba(248,250,252,.46);
  --hush:          rgba(248,250,252,.22);
  --whisper:       rgba(248,250,252,.10);

  /* ── Typography ── */
  --f-display:  'Inter', system-ui, sans-serif;
  --f-mono:     'Space Mono', ui-monospace, monospace;

  /* ── Curves (the law) ── */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* ── Easing ── */
  --ease-out-soft: cubic-bezier(.22,.94,.32,1);
  --ease-spring: cubic-bezier(.34,1.42,.5,1);

  /* ── Safe areas ── */
  --sb: env(safe-area-inset-bottom, 0px);
  --st: env(safe-area-inset-top, 0px);
}

html {
  background: var(--sky);
  scroll-behavior: smooth;
}
body {
  background: transparent;
  color: var(--moss);
  font-family: var(--f-display);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}
/* Lift all interactive content above the aurora layers */
main, footer, nav, .nav-drawer { position: relative; z-index: 10; }

::selection { background: rgba(94,234,212,.3); color: var(--snow); }

/* ═══════════════════════════ AURORA BACKDROP ═══════════════════════════
   Canvas + soft CSS gradients combined for ambient northern lights feel.
*/
#aurora-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  mix-blend-mode: screen;
  opacity: 1;
}

/* Vertical light beams — thin shafts that descend through the aurora */
.beams {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}
.beams::before, .beams::after {
  content: '';
  position: absolute; top: -10vh;
  width: 2px; height: 130vh;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(94,234,212,.45) 30%,
    rgba(167,139,250,.35) 60%,
    transparent 100%);
  filter: blur(3px);
  opacity: .5;
  animation: beam-fall 18s linear infinite;
}
.beams::before { left: 28%; animation-delay: -4s; }
.beams::after  { left: 72%; animation-delay: -12s; }
@keyframes beam-fall {
  0%   { transform: translateY(-30vh); opacity: 0; }
  10%  { opacity: .5; }
  90%  { opacity: .5; }
  100% { transform: translateY(30vh); opacity: 0; }
}
/* CSS-driven aurora ribbons — always visible, even before canvas loads.
   Three blurred ribbons drift across the sky. */
.aurora-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-up), var(--sky) 70%);
}
.aurora-glow::before,
.aurora-glow::after {
  content: '';
  position: absolute; left: -25%; right: -25%;
  height: 70vh;
  filter: blur(80px);
  opacity: .65;
  pointer-events: none;
}
.aurora-glow::before {
  top: -8%;
  height: 80vh;
  background:
    radial-gradient(ellipse 55% 38% at 25% 50%, rgba(94,234,212,.85), transparent 65%),
    radial-gradient(ellipse 50% 32% at 65% 50%, rgba(103,232,249,.65), transparent 65%);
  animation: ribbon-drift-1 22s ease-in-out infinite alternate;
}
.aurora-glow::after {
  top: 32%;
  height: 75vh;
  background:
    radial-gradient(ellipse 50% 32% at 65% 50%, rgba(167,139,250,.80), transparent 65%),
    radial-gradient(ellipse 45% 30% at 25% 50%, rgba(244,114,182,.60), transparent 65%);
  animation: ribbon-drift-2 28s ease-in-out infinite alternate;
}
.ribbon-low {
  position: fixed;
  left: -25%; right: -25%;
  bottom: -15%;
  height: 70vh;
  z-index: 0;
  filter: blur(95px);
  opacity: .80;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 32% at 70% 50%, rgba(244,114,182,.65), transparent 65%),
    radial-gradient(ellipse 50% 30% at 25% 50%, rgba(167,139,250,.55), transparent 65%),
    radial-gradient(ellipse 40% 28% at 50% 60%, rgba(94,234,212,.45), transparent 65%);
  animation: ribbon-drift-3 32s ease-in-out infinite alternate;
}
@keyframes ribbon-drift-1 {
  0%   { transform: translate3d(0, 0, 0) skewY(-2deg) scaleX(1); }
  50%  { transform: translate3d(-6%, 4%, 0) skewY(2deg) scaleX(1.1); }
  100% { transform: translate3d(4%, -2%, 0) skewY(-1deg) scaleX(1.05); }
}
@keyframes ribbon-drift-2 {
  0%   { transform: translate3d(0, 0, 0) skewY(2deg) scaleX(1); }
  50%  { transform: translate3d(8%, 2%, 0) skewY(-2deg) scaleX(1.08); }
  100% { transform: translate3d(-3%, 5%, 0) skewY(1deg) scaleX(1.02); }
}
@keyframes ribbon-drift-3 {
  0%   { transform: translate3d(0, 0, 0) skewY(-1deg) scaleX(1); }
  50%  { transform: translate3d(-5%, -3%, 0) skewY(2deg) scaleX(1.06); }
  100% { transform: translate3d(6%, 0, 0) skewY(-1deg) scaleX(1.03); }
}

/* Star field — two-layer parallax with twinkling pulses */
.stars {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(248,250,252,.7), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(248,250,252,.55), transparent),
    radial-gradient(1.5px 1.5px at 50% 20%, rgba(167,139,250,.7), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(94,234,212,.6), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(248,250,252,.4), transparent),
    radial-gradient(1.5px 1.5px at 60% 40%, rgba(248,250,252,.7), transparent),
    radial-gradient(1px 1px at 75% 15%, rgba(248,250,252,.5), transparent),
    radial-gradient(1.5px 1.5px at 15% 60%, rgba(244,114,182,.55), transparent),
    radial-gradient(1px 1px at 95% 85%, rgba(248,250,252,.5), transparent),
    radial-gradient(1px 1px at 40% 10%, rgba(248,250,252,.4), transparent),
    radial-gradient(1px 1px at 55% 88%, rgba(94,234,212,.55), transparent),
    radial-gradient(1px 1px at 8% 42%, rgba(248,250,252,.5), transparent),
    radial-gradient(1px 1px at 88% 18%, rgba(252,211,77,.45), transparent);
  background-size: 100% 100%;
  opacity: .9;
  animation: twinkle 8s ease-in-out infinite alternate;
}
.stars-2 {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 35% 45%, rgba(94,234,212,.6), transparent),
    radial-gradient(2px 2px at 70% 25%, rgba(167,139,250,.55), transparent),
    radial-gradient(2px 2px at 22% 78%, rgba(244,114,182,.5), transparent),
    radial-gradient(2.5px 2.5px at 88% 62%, rgba(252,211,77,.55), transparent);
  background-size: 100% 100%;
  opacity: .65;
  animation: twinkle-slow 14s ease-in-out infinite alternate;
  filter: blur(.4px);
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
@keyframes twinkle-slow { from { opacity: .35; transform: scale(1); } to { opacity: .9; transform: scale(1.04); } }

/* ═══════════════════════════ NAV ═══════════════════════════ */
.nav {
  position: sticky; top: 14px; z-index: 50;
  margin: 14px auto 0;
  max-width: calc(100% - 28px);
  width: max-content;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 18px;
  background: rgba(10,14,39,.55);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(248,250,252,.10);
  border-radius: var(--r-pill);
  box-shadow:
    0 8px 32px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(248,250,252,.08);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--snow);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  padding-right: 4px;
}
.nav-logo img {
  width: 28px; height: 28px; border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(94,234,212,.5))
          drop-shadow(0 0 24px rgba(167,139,250,.3));
  transition: transform .6s var(--ease-out-soft);
}
.nav-logo:hover img { transform: rotate(20deg) scale(1.06); }
.nav-logo em { color: var(--aurora-em); font-style: normal; }

.nav-menu { display: flex; gap: 2px; align-items: center; }
.nav-menu a {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--mist); text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  transition: all .3s var(--ease-out-soft);
  position: relative;
}
.nav-menu a:hover { color: var(--snow); background: rgba(248,250,252,.06); }
.nav-menu a.on {
  color: var(--sky); background: var(--aurora-em);
  box-shadow: 0 0 18px rgba(94,234,212,.4);
}

@media (max-width: 720px) {
  .nav { padding: 8px 6px 8px 14px; max-width: calc(100% - 20px); }
  .nav-menu { display: none; }
  .nav-logo span:not(em) ~ span { display: none; }
  .nav-mobile { display: inline-flex !important; }
}

.nav-mobile {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(248,250,252,.08);
  border: 1px solid rgba(248,250,252,.10);
  cursor: pointer;
  transition: all .3s var(--ease-out-soft);
}
.nav-mobile:active { transform: scale(.92); }
.nav-mobile span {
  display: block; width: 16px; height: 2px;
  background: var(--aurora-em); border-radius: 2px;
  margin: 2px 0;
  transition: all .3s var(--ease-out-soft);
}

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(10,14,39,.92);
  backdrop-filter: blur(32px) saturate(140%);
  -webkit-backdrop-filter: blur(32px) saturate(140%);
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 40px;
  opacity: 0; transition: opacity .35s var(--ease-out-soft);
}
.nav-drawer.on { display: flex; opacity: 1; }
.nav-drawer a {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(20px, 5vw, 28px);
  color: var(--snow); text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  transition: all .3s var(--ease-out-soft);
  letter-spacing: -.012em;
}
.nav-drawer a:hover, .nav-drawer a.on {
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-vi));
  color: var(--sky);
}
.nav-drawer .close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(248,250,252,.06);
  border: 1px solid rgba(248,250,252,.10);
  color: var(--snow); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .3s var(--ease-out-soft);
}
.nav-drawer .close:hover { background: rgba(244,114,182,.18); border-color: var(--aurora-mg); }

/* ═══════════════════════════ TYPOGRAPHY ═══════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  letter-spacing: -.022em;
  line-height: 1.05;
  color: var(--snow);
  font-weight: 700;
}

.h-display {
  font-size: clamp(44px, 10vw, 112px);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: .96;
  margin-bottom: 18px;
}
.h-display em { font-style: normal; }

.h-section {
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.05;
  margin: 24px 0 18px;
}

.h-card {
  font-size: clamp(20px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: -.014em;
  line-height: 1.18;
}

/* Aurora-gradient text */
.aurora-text {
  background: linear-gradient(135deg,
    var(--aurora-em) 0%,
    var(--aurora-cy) 25%,
    var(--aurora-vi) 60%,
    var(--aurora-mg) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: aurora-shift 9s ease-in-out infinite;
}
@keyframes aurora-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.eyebrow {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--aurora-em);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: rgba(94,234,212,.08);
  border: 1px solid rgba(94,234,212,.22);
}
.eyebrow.violet {
  color: var(--aurora-vi);
  background: rgba(167,139,250,.08);
  border-color: rgba(167,139,250,.22);
}
.eyebrow.magenta {
  color: var(--aurora-mg);
  background: rgba(244,114,182,.08);
  border-color: rgba(244,114,182,.22);
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.4); }
}

.lede {
  font-size: clamp(15px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--mist);
  max-width: 56ch;
  font-weight: 400;
  overflow-wrap: break-word;
  word-break: normal;
}
@media (max-width: 480px) {
  .lede { max-width: calc(100vw - 32px); }
}

p {
  line-height: 1.7;
  color: var(--mist);
  margin-bottom: 14px;
  overflow-wrap: break-word;
}
p strong { color: var(--snow); font-weight: 600; }
p em {
  font-style: italic;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.mono {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
}

/* ═══════════════════════════ LAYOUT ═══════════════════════════ */
.wrap        { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-tight  { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.section     { padding: clamp(56px, 10vw, 120px) 0; position: relative; }
.section--hero { padding: clamp(72px, 14vw, 160px) 0 clamp(48px, 8vw, 96px); }

.divider {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--aurora-em), var(--aurora-vi), transparent);
  border-radius: var(--r-pill);
  box-shadow: 0 0 20px rgba(94,234,212,.4);
  margin: 36px 0;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════ BUTTONS (all pill, all the time) ═══════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  letter-spacing: -.012em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: all .35s var(--ease-out-soft);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(248,250,252,.12), transparent);
  transform: translateX(-100%);
  transition: transform .6s var(--ease-out-soft);
}
.btn:hover::before { transform: translateX(100%); }
.btn:active { transform: scale(.96); }

.btn--aurora {
  color: var(--sky);
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy) 50%, var(--aurora-vi));
  background-size: 200% 200%;
  background-position: 0% 50%;
  box-shadow:
    0 6px 24px rgba(94,234,212,.35),
    0 0 48px rgba(167,139,250,.18);
  font-weight: 700;
}
.btn--aurora:hover {
  background-position: 100% 50%;
  box-shadow:
    0 10px 32px rgba(94,234,212,.5),
    0 0 64px rgba(167,139,250,.3);
  transform: translateY(-2px);
}

.btn--violet {
  color: var(--snow);
  background: rgba(167,139,250,.10);
  border-color: rgba(167,139,250,.4);
}
.btn--violet:hover {
  background: rgba(167,139,250,.20);
  border-color: var(--aurora-vi);
  box-shadow: 0 8px 28px rgba(167,139,250,.3);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--snow);
  background: rgba(248,250,252,.04);
  border-color: rgba(248,250,252,.16);
}
.btn--ghost:hover {
  background: rgba(94,234,212,.08);
  border-color: var(--aurora-em);
  color: var(--aurora-em);
  transform: translateY(-2px);
}

.btn--mg {
  color: var(--snow);
  background: rgba(244,114,182,.10);
  border-color: rgba(244,114,182,.4);
}
.btn--mg:hover {
  background: rgba(244,114,182,.18);
  border-color: var(--aurora-mg);
  box-shadow: 0 8px 28px rgba(244,114,182,.3);
  transform: translateY(-2px);
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ═══════════════════════════ CARDS ═══════════════════════════ */
.card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid rgba(248,250,252,.08);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(94,234,212,.04), rgba(167,139,250,.04));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .5s var(--ease-out-soft);
}
.card:hover {
  border-color: rgba(94,234,212,.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(10,14,39,.5),
              0 0 0 1px rgba(94,234,212,.1);
}

/* The Glass Pill — the universal soft container */
.glass {
  background: rgba(10,14,39,.5);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(248,250,252,.10);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(248,250,252,.06),
    0 12px 32px rgba(0,0,0,.2);
}

/* ═══════════════════════════ TAGS ═══════════════════════════ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1px solid;
  white-space: nowrap;
}
.tag--em { color: var(--aurora-em); border-color: rgba(94,234,212,.35); background: rgba(94,234,212,.08); }
.tag--vi { color: var(--aurora-vi); border-color: rgba(167,139,250,.35); background: rgba(167,139,250,.08); }
.tag--mg { color: var(--aurora-mg); border-color: rgba(244,114,182,.35); background: rgba(244,114,182,.08); }
.tag--go { color: var(--aurora-go); border-color: rgba(252,211,77,.35); background: rgba(252,211,77,.08); }

/* ═══════════════════════════ GRID ═══════════════════════════ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }

/* ═══════════════════════════ FOOTER ═══════════════════════════ */
.foot {
  padding: 60px 24px calc(60px + var(--sb));
  text-align: center;
  margin-top: 80px;
  position: relative;
}
.foot::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94,234,212,.3), rgba(167,139,250,.3), transparent);
}
.foot .mark {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .28em;
  color: var(--mist); text-transform: uppercase; margin-bottom: 14px;
}
.foot .links {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin: 18px 0;
}
.foot .links a {
  color: var(--mist); text-decoration: none;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(248,250,252,.04);
  border: 1px solid rgba(248,250,252,.08);
  transition: all .3s var(--ease-out-soft);
}
.foot .links a:hover {
  background: rgba(94,234,212,.10);
  border-color: rgba(94,234,212,.3);
  color: var(--aurora-em);
}

/* ═══════════════════════════ REVEAL ═══════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out-soft), transform .9s var(--ease-out-soft);
}
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; }
.rv.d2 { transition-delay: .16s; }
.rv.d3 { transition-delay: .24s; }
.rv.d4 { transition-delay: .32s; }
.rv.d5 { transition-delay: .40s; }
.rv.d6 { transition-delay: .48s; }
.rv.d7 { transition-delay: .56s; }

/* Float-in (gentler than rv) */
.float-in {
  opacity: 0;
  animation: float-in 1s var(--ease-out-soft) forwards;
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ═══════════════════════════ POETIC TEXT ═══════════════════════════ */
.poet {
  font-size: clamp(20px, 3.4vw, 36px);
  line-height: 1.4; font-weight: 400;
  letter-spacing: -.014em;
  max-width: 26ch;
  color: var(--snow);
  margin: 36px 0;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .poet { max-width: calc(100vw - 32px); font-size: clamp(20px, 5.4vw, 28px); }
}
.poet em {
  font-style: normal; font-weight: 500;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.poet strong {
  font-weight: 500;
  background: linear-gradient(135deg, var(--aurora-vi), var(--aurora-mg));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════ QUOTES ═══════════════════════════ */
.quote {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: rgba(10,14,39,.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(248,250,252,.08);
  margin: 32px 0;
  overflow: hidden;
}
.quote::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--aurora-em), var(--aurora-vi), var(--aurora-mg));
  border-radius: 2px;
}
.quote p {
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.5; color: var(--snow);
  font-weight: 400;
}
.quote cite {
  display: block; margin-top: 16px;
  font-style: normal; font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--aurora-em);
}
.quote cite span { color: var(--mist); }

/* ═══════════════════════════ LISTS ═══════════════════════════ */
.glist { list-style: none; padding: 0; }
.glist li {
  position: relative;
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid rgba(248,250,252,.06);
  color: var(--mist); line-height: 1.55;
}
.glist li:last-child { border-bottom: none; }
.glist li::before {
  content: ''; position: absolute; left: 0; top: 22px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-vi));
  box-shadow: 0 0 8px rgba(94,234,212,.6);
}

/* ═══════════════════════════ INPUT ═══════════════════════════ */
.inp {
  width: 100%;
  padding: 16px 22px;
  background: rgba(248,250,252,.05);
  border: 1px solid rgba(248,250,252,.10);
  border-radius: var(--r-pill);
  color: var(--snow);
  font-family: var(--f-display); font-size: 15px;
  font-weight: 400;
  transition: all .3s var(--ease-out-soft);
}
.inp:focus {
  outline: none;
  border-color: var(--aurora-em);
  background: rgba(94,234,212,.06);
  box-shadow: 0 0 0 4px rgba(94,234,212,.12);
}
.inp::placeholder { color: var(--hush); }
.lbl {
  display: block;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--mist); margin-bottom: 8px; padding-left: 18px;
}

/* ═══════════════════════════ NUMBERS ═══════════════════════════ */
.num-big {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(40px, 7vw, 72px);
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy) 50%, var(--aurora-vi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.028em; line-height: 1;
}

/* ═══════════════════════════ UTILITY ═══════════════════════════ */
.center  { text-align: center; }
.dim     { color: var(--mist); }
.fog     { color: var(--fog); }
.em      { color: var(--aurora-em); }
.vi      { color: var(--aurora-vi); }
.mg      { color: var(--aurora-mg); }
.cy      { color: var(--aurora-cy); }
.go      { color: var(--aurora-go); }
.snow    { color: var(--snow); }

.flex      { display: flex; gap: 12px; }
.flex-col  { display: flex; flex-direction: column; gap: 12px; }
.between   { justify-content: space-between; align-items: center; }
.center-x  { justify-content: center; }
.center-y  { align-items: center; }
.wrap-w    { flex-wrap: wrap; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

/* ═══════════════════════════ WORD-BY-WORD REVEAL ═══════════════════════════ */
.word-rev .w {
  display: inline-block; opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
  animation: w-rev 1s var(--ease-out-soft) forwards;
}
@keyframes w-rev {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ═══════════════════════════ PILL SCROLL HINT ═══════════════════════════ */
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(248,250,252,.25);
  pointer-events: none;
}
.scroll-hint::after {
  content: ''; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: var(--r-pill);
  background: var(--aurora-em);
  animation: scroll-pulse 1.8s var(--ease-out-soft) infinite;
}
@keyframes scroll-pulse {
  0%   { opacity: 1; transform: translate(-50%, 0); }
  60%  { opacity: 0; transform: translate(-50%, 18px); }
  61%  { opacity: 0; transform: translate(-50%, 0); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

/* ═══════════════════════════ BREATHING GLYPH ═══════════════════════════ */
.glyph {
  width: 200px; height: 200px;
  border-radius: 50%;
  display: block; margin: 0 auto;
  filter: drop-shadow(0 0 32px rgba(94,234,212,.4))
          drop-shadow(0 0 64px rgba(167,139,250,.3));
  animation: glyph-breathe 6s ease-in-out infinite;
}
@keyframes glyph-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.04) rotate(2deg); }
}

/* ═══════════════════════════ MOBILE TUNING ═══════════════════════════ */
@media (max-width: 480px) {
  .nav { top: 10px; margin-top: 10px; }
  .section { padding: clamp(48px, 14vw, 80px) 0; }
  .h-display { font-size: clamp(36px, 12vw, 70px); }
  .btn { padding: 14px 24px; font-size: 14px; }
  .btn-row { gap: 8px; }
  .glist li { padding: 14px 0 14px 28px; font-size: 15px; }
  .quote { padding: 28px 22px; }
  .card { padding: 24px 20px; }
  /* Universal hero title safeguard */
  h1 {
    overflow-wrap: break-word;
    word-break: keep-all;
    max-width: 100%;
  }
}
@media (max-width: 380px) {
  .h-display { font-size: clamp(32px, 11vw, 56px) !important; letter-spacing: -.034em; }
  .h-section { font-size: clamp(24px, 7vw, 40px) !important; }
}

/* ═════════════════ GLOBAL OVERFLOW GUARDS — ALWAYS ON ═════════════════ */
html, body { max-width: 100vw; overflow-x: hidden; }
main, footer, nav, section, article { max-width: 100vw; overflow-x: clip; }
p { overflow-wrap: anywhere; }

/* Mobile-first overflow safeguards. Breakpoints set to 720px to catch 
   chromium headless edge cases that report 500px innerWidth from 375px windows. */
@media (max-width: 720px) {
  .v-hero h1, .t-hero h1, .m-hero h1, .p-hero h1, .hero-title {
    font-size: clamp(36px, 11vw, 70px) !important;
    letter-spacing: -.034em !important;
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .s-hero h1 {
    font-size: clamp(28px, 8.5vw, 56px) !important;
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: calc(100vw - 32px);
  }
  /* Block-level emphasis lines */
  .verb, .vow, .v-vow, .mantra-line, .line, .cap-word {
    overflow-wrap: break-word;
    max-width: calc(100vw - 40px) !important;
  }
  .verb { font-size: clamp(22px, 7vw, 38px) !important; }
  .line { font-size: clamp(20px, 6vw, 38px) !important; }
  .line.huge { font-size: clamp(28px, 10vw, 56px) !important; }
  .cap-word { font-size: clamp(32px, 11vw, 64px) !important; }
  .h-section { font-size: clamp(24px, 7vw, 42px) !important; }
  .h-display { font-size: clamp(36px, 11vw, 70px) !important; }

  /* Pull-card adjustments */
  .quote p, .pull p, .pull-card p {
    font-size: 16px !important; line-height: 1.55; padding-left: 0 !important;
  }
  .pull-card { padding: 28px 22px; }
  .pull-card::before { font-size: 56px !important; left: 18px; top: 6px; }
  /* Word-rev spans need wrap */
  .word-rev { overflow-wrap: break-word; word-break: keep-all; }
  /* Container width safety */
  main p, main span, main div { max-width: 100%; }
  main { word-wrap: break-word; overflow-wrap: break-word; }
}
@media (max-width: 480px) {
  .v-hero h1, .t-hero h1, .m-hero h1, .p-hero h1, .hero-title {
    font-size: clamp(32px, 10vw, 52px) !important;
  }
  .s-hero h1 { font-size: clamp(26px, 8vw, 40px) !important; }
  .line.huge { font-size: clamp(28px, 11vw, 48px) !important; }
  .cap-word { font-size: clamp(28px, 12vw, 52px) !important; }
  .h-display { font-size: clamp(32px, 10vw, 56px) !important; }
}

/* ═══════════════════════════ PAGE PROGRESS / READ TRACKER ═══════════════════════════ */
.page-progress {
  position: relative;
  margin: 80px auto 0;
  padding: 36px 24px 48px;
  max-width: 1080px;
  z-index: 12;
}
.pp-inner {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  background: rgba(10,14,39,.55);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(248,250,252,.10);
  box-shadow:
    inset 0 1px 0 rgba(248,250,252,.06),
    0 12px 32px rgba(0,0,0,.25);
}
.pp-track {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.pp-dot {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(248,250,252,.06);
  border: 1px solid rgba(248,250,252,.14);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all .3s var(--ease-out-soft);
  flex-shrink: 0;
}
.pp-dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(248,250,252,.18);
  transition: all .3s var(--ease-out-soft);
}
.pp-dot:hover { transform: scale(1.15); border-color: var(--aurora-em); }
.pp-dot.read {
  background: linear-gradient(135deg, rgba(94,234,212,.18), rgba(167,139,250,.18));
  border-color: rgba(94,234,212,.55);
}
.pp-dot.read::after {
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-vi));
  box-shadow: 0 0 10px rgba(94,234,212,.6);
}
.pp-dot.here {
  border-color: var(--aurora-em);
  background: rgba(94,234,212,.12);
  box-shadow: 0 0 0 4px rgba(94,234,212,.10);
}
.pp-dot.here::after {
  background: var(--aurora-em);
  box-shadow: 0 0 12px rgba(94,234,212,.8);
  width: 10px; height: 10px;
  animation: pp-dot-pulse 2s ease-in-out infinite;
}
@keyframes pp-dot-pulse {
  0%, 100% { opacity: .8; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.2); }
}
.pp-dot-tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .18em; text-transform: uppercase;
  background: rgba(10,14,39,.95);
  border: 1px solid rgba(248,250,252,.12);
  color: var(--snow);
  padding: 6px 10px; border-radius: var(--r-sm);
  opacity: 0; pointer-events: none;
  transition: all .25s var(--ease-out-soft);
  z-index: 20;
}
.pp-dot:hover .pp-dot-tip { opacity: 1; transform: translateX(-50%) translateY(0); }

.pp-meta {
  text-align: center;
  margin-bottom: 22px;
}
.pp-num {
  display: block;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy) 50%, var(--aurora-vi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.024em;
  line-height: 1;
  margin-bottom: 6px;
}
.pp-label {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--mist);
}

.pp-mark {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  width: 100%; max-width: 320px; margin: 0 auto 22px;
  padding: 16px 24px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  letter-spacing: -.012em;
  border: 1px solid rgba(94,234,212,.30);
  border-radius: var(--r-pill);
  background: rgba(94,234,212,.06);
  color: var(--snow);
  cursor: pointer;
  transition: all .35s var(--ease-out-soft);
}
.pp-mark .pp-mark-icon {
  font-size: 18px; line-height: 1; color: var(--aurora-em);
  transition: all .3s var(--ease-out-soft);
}
.pp-mark:hover {
  background: rgba(94,234,212,.12);
  border-color: var(--aurora-em);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(94,234,212,.25);
}
.pp-mark:active { transform: scale(.97); }
.pp-mark.done {
  background: linear-gradient(135deg, rgba(94,234,212,.20), rgba(167,139,250,.16));
  border-color: rgba(94,234,212,.55);
}
.pp-mark.done .pp-mark-icon { color: var(--aurora-em); text-shadow: 0 0 12px rgba(94,234,212,.8); }
.pp-mark.celebrate { animation: pp-mark-celebrate .9s var(--ease-spring); }
@keyframes pp-mark-celebrate {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(94,234,212,.18); }
  70%  { transform: scale(.98); box-shadow: 0 0 0 24px rgba(94,234,212,0); }
  100% { transform: scale(1); }
}

.pp-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 16px;
}
.pp-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(248,250,252,.04);
  border: 1px solid rgba(248,250,252,.08);
  text-decoration: none; color: var(--snow);
  transition: all .35s var(--ease-out-soft);
  min-height: 64px;
}
.pp-link.next { justify-content: flex-end; text-align: right; }
.pp-link:hover {
  background: rgba(94,234,212,.08);
  border-color: rgba(94,234,212,.30);
  transform: translateY(-2px);
}
.pp-link-arrow {
  font-family: var(--f-mono); font-size: 18px;
  color: var(--aurora-em); flex-shrink: 0;
}
.pp-link-meta { display: flex; flex-direction: column; gap: 2px; }
.pp-link-num {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--mist);
}
.pp-link-name {
  font-family: var(--f-display); font-weight: 600;
  font-size: 14px; letter-spacing: -.012em;
}
.pp-link-spacer { display: block; }

.pp-hint {
  text-align: center;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--hush);
}

@media (max-width: 560px) {
  .pp-nav { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pp-link { padding: 12px 12px; min-height: 60px; }
  .pp-link-name { font-size: 12px; }
  .pp-mark { font-size: 14px; padding: 14px 20px; }
  .pp-dot { width: 24px; height: 24px; }
  .pp-track { gap: 6px; }
}

/* ═══════════════════════════ PAGE TRANSITION OVERLAY (swipe nav) ═══════════════════════════ */
.page-transition {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,14,39,.0);
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  pointer-events: none;
  opacity: 0;
  transition: all .32s var(--ease-out-soft);
}
.page-transition.on {
  opacity: 1;
  background: rgba(10,14,39,.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.pt-arrow {
  font-family: var(--f-mono);
  font-size: clamp(60px, 16vw, 120px);
  color: var(--aurora-em);
  text-shadow: 0 0 40px rgba(94,234,212,.6);
  margin-bottom: 12px;
  animation: pt-arrow-slide .35s var(--ease-spring);
}
@keyframes pt-arrow-slide {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
.pt-name {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--mist);
}

/* ═══════════════════════════ TYPEWRITER ═══════════════════════════ */
.typewriter, .typewriter-scroll {
  /* Reserve approximate height to prevent layout shift */
  min-height: 1em;
  overflow-wrap: break-word;
}
.tw-cursor {
  display: inline-block;
  color: var(--aurora-em);
  margin-left: 1px;
  animation: tw-blink 1.0s steps(2) infinite;
  text-shadow: 0 0 12px rgba(94,234,212,.6);
  font-weight: 200;
}
.tw-cursor.rest {
  opacity: 0;
  transition: opacity .8s var(--ease-out-soft);
}
@keyframes tw-blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ═══════════════════════════ COMPLETION CELEBRATION ═══════════════════════════ */
.celebrate-overlay {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(10,14,39,0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  transition: all .4s var(--ease-out-soft);
}
.celebrate-overlay.on {
  opacity: 1;
  background: rgba(10,14,39,.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.ce-card {
  position: relative;
  padding: 48px 36px;
  max-width: 520px; width: 100%;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(94,234,212,.12), rgba(167,139,250,.10), rgba(244,114,182,.08));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(94,234,212,.30);
  text-align: center;
  overflow: hidden;
  transform: scale(.92);
  transition: transform .5s var(--ease-spring) .1s;
}
.celebrate-overlay.on .ce-card { transform: scale(1); }
.ce-glow {
  position: absolute; inset: -50%;
  background: radial-gradient(circle at center, rgba(94,234,212,.3), transparent 60%);
  animation: ce-glow-spin 8s linear infinite;
  pointer-events: none;
}
@keyframes ce-glow-spin {
  to { transform: rotate(360deg); }
}
.ce-title {
  position: relative;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(28px, 6vw, 44px);
  letter-spacing: -.024em; line-height: 1.05;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy) 50%, var(--aurora-vi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ce-sub {
  position: relative;
  font-family: var(--f-display); font-size: 16px;
  color: var(--mist); margin-bottom: 28px;
}
.ce-mantra {
  position: relative;
  font-family: var(--f-display); font-style: italic;
  font-size: 14px; color: var(--snow);
  margin-bottom: 28px;
  letter-spacing: -.012em;
}
.ce-mantra em {
  font-style: normal; font-weight: 700;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-vi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ce-close { position: relative; }

/* ══════ EXTRA NARROW VIEWPORTS — SUB-380px ═══════
   Aggressive shrink: most cards lose padding, headlines shrink, mono letter-spacing tightens */
@media (max-width: 380px) {
  .eyebrow, .tag, .pre, .mono, .nav-menu a, .pp-link-num, .y5-arr-y, .y5-h-pre, .y5-h-sub,
  .y5-y-tag, .y5-tab, .lbl, .map-title, .hint-text {
    letter-spacing: .14em !important;
    font-size: 9px !important;
  }
  .dao-card, .contract-card, .mn-card, .cap-card, .stat, .y5-h-card, .y5-year, .lev-card,
  .alloc-card, .forecast, .rv-mix, .pp-inner {
    padding: 22px 18px !important;
  }
  .y5-bigs { gap: 6px; }
  .y5-big { padding: 10px 6px; }
  .y5-big-v { font-size: 14px !important; }
  .y5-big-l { font-size: 7px !important; letter-spacing: .12em !important; }
  .clauses, .mn-perks { gap: 10px; }
  .clause, .mn-perk { padding: 18px 16px !important; }
  .lev-card { padding: 20px 18px !important; }
  .rv-mix-row { gap: 8px; }
  .rv-mix-label { gap: 8px; }
  .rv-mix-label .name { font-size: 13px !important; }
  .rv-mix-label .value { font-size: 16px !important; }
  .pp-link { padding: 10px 10px !important; min-height: 56px !important; }
  .pp-link-name { font-size: 11px !important; }
  .pp-mark-text { font-size: 13px !important; }
  .nav-mobile { width: 36px; height: 36px; }
  .hero-orb { width: 180px; height: 180px; }
  .hero-orb img { width: 150px; height: 150px; }
}

/* ══════ ALL HERO H1 SAFETY — universal cap ══════ */
@media (max-width: 720px) {
  .d-hero h1 { font-size: clamp(32px, 9vw, 72px) !important; }
  .d-hero h1 .x { font-size: .55em; vertical-align: 0.12em; }
  .d-hero h1 .aurora-text { display: inline; word-break: keep-all; }
  .d-mark { gap: 10px; }
  .d-mark img.davara, .d-mark .dash-glyph { width: 44px; height: 44px; font-size: 22px; }
}

/* ═══════════════════════════ INVESTOR CONVICTION STRIP ═══════════════════════════
   The strip that gets screenshotted. Three numbers, three claims, one ask. */
.conviction {
  position: relative;
  margin: 56px auto;
  max-width: 1200px;
  padding: 0 16px;
}
.conviction-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(94,234,212,.10), rgba(167,139,250,.06) 50%, rgba(244,114,182,.08));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(94,234,212,.30);
  overflow: hidden;
  isolation: isolate;
}
.conviction-card::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(94,234,212,.6), rgba(167,139,250,.5), rgba(244,114,182,.6),
    rgba(94,234,212,.6));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: conviction-border 7s linear infinite;
  pointer-events: none;
}
@keyframes conviction-border {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.conviction-card::after {
  content: ''; position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(94,234,212,.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: conviction-glow-drift 12s ease-in-out infinite alternate;
}
@keyframes conviction-glow-drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-30%, 20%); }
}
.conv-title {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--aurora-em); margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 10px;
}
.conv-title .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: pulse 2s ease-in-out infinite;
}
.conv-h {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(20px, 3.6vw, 30px);
  letter-spacing: -.02em; line-height: 1.18;
  color: var(--snow); margin-bottom: 24px;
  max-width: 36ch;
}
.conv-h em {
  font-style: normal; font-weight: 700;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy) 50%, var(--aurora-vi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.conv-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 22px;
}
@media (min-width: 720px) { .conv-grid { grid-template-columns: repeat(3, 1fr); } }
.conv-cell {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--r-lg);
  background: rgba(10,14,39,.6);
  border: 1px solid rgba(248,250,252,.08);
  overflow: hidden;
  transition: all .45s var(--ease-out-soft);
}
.conv-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aurora-em), transparent);
  opacity: .5;
  transition: opacity .35s var(--ease-out-soft);
}
.conv-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(94,234,212,.35);
  background: rgba(10,14,39,.75);
}
.conv-cell:hover::before { opacity: 1; }
.conv-num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(34px, 6vw, 52px);
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy) 50%, var(--aurora-vi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.028em; line-height: 1;
  margin-bottom: 8px;
}
.conv-claim {
  font-family: var(--f-display); font-weight: 600;
  font-size: 14px; letter-spacing: -.012em;
  line-height: 1.35; color: var(--snow);
  margin-bottom: 6px;
}
.conv-sub {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--mist);
}
.conv-cell.violet .conv-num {
  background: linear-gradient(135deg, var(--aurora-vi), var(--aurora-mg));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.conv-cell.gold .conv-num {
  background: linear-gradient(135deg, var(--aurora-go), #FFB347);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.conv-foot {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(248,250,252,.08);
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
}
.conv-foot .conv-mini {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--mist);
}
.conv-foot .conv-mini strong {
  color: var(--snow); font-weight: 700;
  letter-spacing: .08em;
}

/* ════════════════ GLOW-PULSE CARDS ════════════════
   Cards with a slow gradient pulse on the border — used on key tiles */
.glow-pulse {
  position: relative;
  isolation: isolate;
}
.glow-pulse::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(94,234,212,.5), rgba(167,139,250,.4), rgba(244,114,182,.5),
    rgba(103,232,249,.4), rgba(94,234,212,.5));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  animation: glow-shift 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes glow-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.glow-pulse:hover::before { opacity: 1; }

/* ════════════════ TRUST STRIP ════════════════ */
.trust {
  margin: 48px auto; max-width: 1080px;
  padding: 0 16px; text-align: center;
}
.trust-pre {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--hush); margin-bottom: 18px;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; align-items: center;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(10,14,39,.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(248,250,252,.10);
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--mist);
  transition: all .35s var(--ease-out-soft);
}
.trust-chip:hover {
  border-color: rgba(94,234,212,.30);
  color: var(--snow);
  transform: translateY(-2px);
}
.trust-chip strong {
  color: var(--snow); font-weight: 700; letter-spacing: .08em;
}
.trust-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aurora-em);
  box-shadow: 0 0 8px var(--aurora-em);
  animation: pulse 2s ease-in-out infinite;
}
.trust-chip.violet .dot  { background: var(--aurora-vi); box-shadow: 0 0 8px var(--aurora-vi); }
.trust-chip.magenta .dot { background: var(--aurora-mg); box-shadow: 0 0 8px var(--aurora-mg); }
.trust-chip.gold .dot    { background: var(--aurora-go); box-shadow: 0 0 8px var(--aurora-go); }

/* ════════════════ SECTION LIGHT SIGNATURE (per-section halo) ════════════════ */
.lit-section {
  position: relative;
}
.lit-section::before {
  content: ''; position: absolute;
  top: 0; left: 50%;
  width: 80%; max-width: 700px; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--aurora-em), transparent);
  opacity: .5;
  pointer-events: none;
}
.lit-section.violet::before  { background: linear-gradient(90deg, transparent, var(--aurora-vi), transparent); }
.lit-section.magenta::before { background: linear-gradient(90deg, transparent, var(--aurora-mg), transparent); }
.lit-section.gold::before    { background: linear-gradient(90deg, transparent, var(--aurora-go), transparent); }

/* ════════════════ MAGNETIC TOUCH RIPPLE — mobile feedback ════════════════ */
.btn, .pp-mark, .pp-link, .tile, .clause, .lev-card, .y5-year {
  position: relative;
  overflow: hidden;
}
.touch-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(94,234,212,.4), transparent 70%);
  animation: ripple-out .6s var(--ease-out-soft) forwards;
}
@keyframes ripple-out {
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* ════════════════ MOBILE FLOATING PROGRESS BAR ════════════════
   Bottom-pinned, thumb-reachable nav: prev / progress / next */
.mfloat {
  position: fixed;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 45;
  display: none;
  align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  background: rgba(10,14,39,.85);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(248,250,252,.12);
  box-shadow:
    0 8px 32px rgba(0,0,0,.40),
    inset 0 1px 0 rgba(248,250,252,.06);
  transform: translateY(120%);
  transition: transform .5s var(--ease-spring);
  padding-bottom: max(10px, calc(var(--sb) + 4px));
}
.mfloat.on { transform: translateY(0); }
.mfloat-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(248,250,252,.06);
  border: 1px solid rgba(248,250,252,.10);
  color: var(--snow);
  font-family: var(--f-mono); font-size: 18px;
  text-decoration: none;
  transition: all .25s var(--ease-out-soft);
  flex-shrink: 0;
}
.mfloat-btn:active { transform: scale(.92); }
.mfloat-btn.disabled { opacity: .25; pointer-events: none; }
.mfloat-btn.next, .mfloat-btn.prev:hover {
  background: rgba(94,234,212,.15);
  border-color: rgba(94,234,212,.30);
  color: var(--aurora-em);
}
.mfloat-mid {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  min-width: 0;
}
.mfloat-name {
  font-family: var(--f-display); font-weight: 600;
  font-size: 12.5px; color: var(--snow);
  letter-spacing: -.012em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
}
.mfloat-prog {
  width: 100%; max-width: 140px;
  height: 3px;
  border-radius: var(--r-pill);
  background: rgba(248,250,252,.10);
  overflow: hidden;
}
.mfloat-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--aurora-em), var(--aurora-cy), var(--aurora-vi));
  border-radius: var(--r-pill);
  transition: width .45s var(--ease-out-soft);
}
.mfloat-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(94,234,212,.10);
  border: 1px solid rgba(94,234,212,.30);
  color: var(--aurora-em);
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .3s var(--ease-out-soft);
}
.mfloat-mark.done {
  background: linear-gradient(135deg, rgba(94,234,212,.30), rgba(167,139,250,.20));
  color: var(--snow);
  box-shadow: 0 0 14px rgba(94,234,212,.5);
}
.mfloat-mark:active { transform: scale(.92); }
@media (max-width: 720px) {
  .mfloat { display: flex; }
  /* Push body content up so the floating bar doesn't overlap the page-progress card */
  .page-progress { padding-bottom: 90px; }
  body { padding-bottom: 70px; }
}

/* ════════════════ ANIMATED COUNT-UP UNDERLINE — for headline numbers ════════════════ */
.headline-num {
  position: relative;
  display: inline-block;
}
.headline-num::after {
  content: ''; position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aurora-em), var(--aurora-vi), transparent);
  border-radius: var(--r-pill);
  animation: headline-shimmer 4s ease-in-out infinite;
}
@keyframes headline-shimmer {
  0%, 100% { opacity: .4; transform: scaleX(.6); }
  50%      { opacity: 1; transform: scaleX(1); }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01s !important;
    transition-duration: .15s !important;
  }
  #aurora-canvas { display: none; }
  .tw-cursor { animation: none; }
  .beams { display: none; }
}

/* ════════════════ DAVARA.DASH VISION BLOCK — the rallying cry ════════════════ */
.vision-block {
  padding: 96px 24px 64px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.vision-card {
  position: relative;
  max-width: 920px;
  width: 100%;
  padding: 56px 44px 48px;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(0,140,231,.10) 0%, transparent 60%),
    radial-gradient(110% 80% at 100% 100%, rgba(167,139,250,.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(13,8,32,.62), rgba(13,8,32,.42));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(159,240,224,.18);
  box-shadow:
    0 30px 90px -28px rgba(0,140,231,.32),
    0 0 0 1px rgba(255,255,255,.04) inset;
  text-align: left;
}
.vision-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--aurora-em);
  background: rgba(94,234,212,.06);
  border: 1px solid rgba(94,234,212,.22);
  margin-bottom: 28px;
}
.vision-quote {
  font-family: var(--font-display, 'Inter'), system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.42;
  letter-spacing: -.012em;
  color: var(--snow, #F0E8FF);
  margin: 0;
  position: relative;
  padding-left: 22px;
  border-left: 2px solid rgba(0,140,231,.45);
}
.vision-q-mark {
  display: none; /* the left rule plays the role of the quote mark */
}
.vision-quote em {
  color: rgba(159,240,224,.95);
  font-style: italic;
}
.vision-quote strong {
  color: #FFFFFF;
  font-weight: 700;
}
.vision-divider {
  height: 1px;
  margin: 36px 0 28px;
  background: linear-gradient(90deg, transparent, rgba(159,240,224,.32), rgba(167,139,250,.32), transparent);
}
.vision-stamp {
  font-family: var(--font-display, 'Inter'), system-ui, sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: .04em;
  text-align: center;
  margin: 0 0 18px;
}
.vision-moment {
  font-family: var(--font-display, 'Inter'), system-ui, sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  text-align: center;
  color: rgba(240,232,255,.86);
  margin: 0 0 36px;
}
.vision-moment strong {
  color: #FFFFFF;
  font-weight: 700;
}
.vision-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
@media (max-width: 640px) {
  .vision-block { padding: 64px 16px 48px; }
  .vision-card  { padding: 36px 22px 32px; border-radius: 20px; }
  .vision-quote { font-size: 18px; padding-left: 16px; }
}

/* ════════════════ STICKY READING-PROGRESS BAR ════════════════ */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--aurora-em), var(--aurora-vi));
  box-shadow: 0 0 8px rgba(159,240,224,.45);
  z-index: 9999;
  transition: width .12s linear;
  pointer-events: none;
}

/* ════════════════ IN-PAGE JUMP STRIP (anchor TOC for the partnership page) ════════════════ */
/* Default: show full labels, hide mini labels. Mobile media-query swaps. */
.jump-strip .j-mini { display: none; }
.jump-strip .j-full { display: inline; }
.jump-strip {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  margin: 0 auto 8px;
  max-width: 1100px;
  background: linear-gradient(180deg, rgba(8,4,22,.78), rgba(8,4,22,.56));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 999px;
  justify-content: center;
}
.jump-strip a {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(240,232,255,.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.jump-strip a:hover, .jump-strip a:focus-visible {
  color: var(--aurora-em);
  background: rgba(94,234,212,.06);
  border-color: rgba(94,234,212,.20);
}
@media (max-width: 720px) {
  .jump-strip {
    gap: 4px;
    padding: 8px 10px;
    margin: 0 8px 8px;
    border-radius: 14px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .jump-strip .j-full { display: none; }
  .jump-strip .j-mini { display: inline; }
  .jump-strip a { font-size: 10px; padding: 6px 8px; flex: 1 1 auto; text-align: center; }
}

/* ════════════════ DASH-LOGO HARMONY — official blue badge with inline glyph ════════════════ */
.dash-glyph img,
.dash-glyph svg {
  width: 64%;
  height: 64%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,140,231,.28));
}

/* ════════════════════════════════════════════════════════════════════════
   VOTUS — DAVINITY · EMERGENCE · TRANSCENDENCE
   New components for the /votus experience rebuild (2026-05-04 R2).
   Preserves all original IDs/scripts; transforms the shell.
   ════════════════════════════════════════════════════════════════════════ */

/* ─── Living emergence field (canvas backdrop, fixed) ─── */
#votus-emergence {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .92;
  mix-blend-mode: screen;
}

/* ─── Sigil: SVG sacred-geometry mark at the head of the page ─── */
.votus-sigil-wrap {
  position: relative;
  margin: 0 auto 18px;
  width: clamp(120px, 26vw, 200px);
  height: clamp(120px, 26vw, 200px);
  display: flex; align-items: center; justify-content: center;
}
.votus-sigil {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 28px rgba(94,234,212,.42))
          drop-shadow(0 0 56px rgba(167,139,250,.22));
  animation: sigil-breathe 9s ease-in-out infinite;
}
.votus-sigil .ring,
.votus-sigil .triangle,
.votus-sigil .v-glyph {
  fill: none;
  stroke: url(#sigilGrad);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.votus-sigil .ring     { stroke-width: 1.4; opacity: .85; }
.votus-sigil .triangle { stroke-width: 1.0; opacity: .55; }
.votus-sigil .v-glyph  { stroke-width: 2.2; opacity: 1; }
.votus-sigil .ring.outer { animation: sigil-rotate 36s linear infinite; transform-origin: 50% 50%; }
.votus-sigil .triangle.up   { animation: sigil-rotate-rev 24s linear infinite; transform-origin: 50% 50%; }
.votus-sigil .triangle.down { animation: sigil-rotate 32s linear infinite; transform-origin: 50% 50%; }
.votus-sigil .pip {
  fill: var(--aurora-em);
  filter: drop-shadow(0 0 6px var(--aurora-em));
}
.votus-sigil .pip.violet { fill: var(--aurora-vi); filter: drop-shadow(0 0 6px var(--aurora-vi)); }
.votus-sigil .pip.gold   { fill: var(--aurora-go); filter: drop-shadow(0 0 6px var(--aurora-go)); }
@keyframes sigil-breathe {
  0%,100% { transform: scale(1); filter: drop-shadow(0 0 28px rgba(94,234,212,.42)) drop-shadow(0 0 56px rgba(167,139,250,.22)); }
  50%     { transform: scale(1.04); filter: drop-shadow(0 0 38px rgba(94,234,212,.62)) drop-shadow(0 0 80px rgba(167,139,250,.36)); }
}
@keyframes sigil-rotate     { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes sigil-rotate-rev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* ─── Chapter marker — the ornament between sections ─── */
.chapter-mark {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin: clamp(40px, 8vw, 72px) auto;
  padding: 0 24px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(248,250,252,.42);
}
.chapter-mark::before,
.chapter-mark::after {
  content: '';
  flex: 1 1 auto;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94,234,212,.4), transparent);
}
.chapter-mark .gem {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-vi));
  box-shadow: 0 0 8px rgba(94,234,212,.5);
}

/* ─── Davinity Chalice (Dash card upgrade) ─── */
.davinity-chalice {
  position: relative;
  margin: 0 auto;
  max-width: 780px;
  padding: clamp(36px, 7vw, 56px) clamp(22px, 5vw, 44px);
  border-radius: 32px;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(252,211,77,.16), transparent 60%),
    radial-gradient(80% 70% at 50% 110%, rgba(167,139,250,.10), transparent 60%),
    linear-gradient(180deg, rgba(13,8,32,.62), rgba(8,4,22,.78));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(252,211,77,.28);
  box-shadow:
    0 36px 100px -28px rgba(252,211,77,.22),
    0 0 0 1px rgba(255,255,255,.04) inset,
    inset 0 -2px 30px rgba(252,211,77,.10);
  text-align: center;
  overflow: hidden;
}
.davinity-chalice::before {
  /* Slowly drifting golden halo behind the handle */
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,211,77,.20), transparent 65%);
  pointer-events: none;
  animation: chalice-drift 14s ease-in-out infinite alternate;
}
@keyframes chalice-drift {
  from { transform: translate(calc(-50% - 14px), -8px) scale(1); opacity: .8; }
  to   { transform: translate(calc(-50% + 18px), 6px) scale(1.06); opacity: 1; }
}
.davinity-chalice > * { position: relative; }
.chalice-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .42em; text-transform: uppercase;
  color: var(--aurora-go);
  background: rgba(252,211,77,.08);
  border: 1px solid rgba(252,211,77,.30);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.chalice-handle {
  position: relative;
  display: inline-block;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(38px, 8vw, 68px);
  letter-spacing: .04em; line-height: 1;
  background: linear-gradient(135deg, var(--aurora-go) 0%, var(--aurora-em) 50%, var(--aurora-cy) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 220% 220%;
  animation: chalice-shine 7s ease-in-out infinite;
  margin: 18px 0 18px;
  padding: 0 8px;
}
.chalice-handle::after {
  content: '';
  position: absolute;
  left: 12%; right: 12%;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--aurora-go), transparent);
  border-radius: 999px;
  filter: blur(.4px);
  opacity: .8;
}
@keyframes chalice-shine {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.chalice-line {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--mist);
  line-height: 1.7;
  margin: 6px 0;
}
.chalice-line .gold {
  color: var(--aurora-go);
  font-weight: 700;
  font-style: normal;
}
.chalice-mantra {
  margin-top: 28px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: -.014em;
  line-height: 1.4;
  color: var(--snow);
}
.chalice-mantra em {
  font-style: normal;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.chalice-mantra strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--aurora-vi), var(--aurora-mg));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.chalice-copy-row {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: rgba(252,211,77,.06);
  border: 1px solid rgba(252,211,77,.22);
  cursor: pointer;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--aurora-go);
  transition: all .25s var(--ease-out-soft);
}
.chalice-copy-row:hover, .chalice-copy-row:focus-visible {
  outline: none;
  background: rgba(252,211,77,.14);
  border-color: rgba(252,211,77,.5);
  transform: translateY(-1px);
}
.chalice-copy-row.copied {
  background: rgba(94,234,212,.14);
  border-color: rgba(94,234,212,.5);
  color: var(--aurora-em);
}
.chalice-copy-row .copy-icon { font-size: 13px; line-height: 1; }

/* ─── Votus Compass — burn-and-earn cycle visualization ─── */
.votus-compass-section {
  position: relative;
  padding: clamp(40px, 8vw, 80px) 24px clamp(20px, 4vw, 40px);
  text-align: center;
}
.votus-compass {
  position: relative;
  margin: 0 auto;
  width: clamp(280px, 70vw, 460px);
  aspect-ratio: 1 / 1;
}
.votus-compass svg { display: block; width: 100%; height: 100%; overflow: visible; }
.votus-compass .vc-orbit {
  fill: none;
  stroke: rgba(94,234,212,.32);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  animation: vc-orbit-rotate 50s linear infinite;
  transform-origin: 50% 50%;
}
.votus-compass .vc-arc-burn,
.votus-compass .vc-arc-earn {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.votus-compass .vc-arc-burn { stroke: url(#vcArcBurn); }
.votus-compass .vc-arc-earn { stroke: url(#vcArcEarn); }
.votus-compass .vc-glyph {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  fill: var(--mist);
}
.votus-compass .vc-pulse {
  fill: var(--aurora-em);
  filter: drop-shadow(0 0 8px var(--aurora-em));
  animation: vc-pulse 2.4s ease-in-out infinite;
}
.votus-compass .vc-pulse.violet { fill: var(--aurora-vi); filter: drop-shadow(0 0 8px var(--aurora-vi)); }
@keyframes vc-orbit-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes vc-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .55; }
  transform-box: fill-box;
  transform-origin: center;
}
.votus-compass-caption {
  margin-top: 22px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--mist);
  line-height: 1.55;
  max-width: 38ch; margin-left: auto; margin-right: auto;
}
.votus-compass-caption em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.votus-compass-caption strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--aurora-vi), var(--aurora-mg));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Pack crystal upgrade — internal sheen ─── */
.pack-btn::before {
  /* Rotating internal sheen, subtle */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(94,234,212,.10) 30deg, transparent 60deg, transparent 360deg);
  opacity: 0;
  transition: opacity .35s var(--ease-out-soft);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
  animation: pack-sheen 6s linear infinite;
}
.pack-btn:hover::before, .pack-btn:focus-visible::before { opacity: 1; }
.pack-btn.pack-popular::before {
  background: conic-gradient(from 0deg, transparent 0deg, rgba(252,211,77,.22) 30deg, transparent 60deg, transparent 360deg);
  opacity: .6;
}
@keyframes pack-sheen { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ─── Pricewall as a rising tide ─── */
.pricewall-tide {
  position: relative;
  margin: clamp(40px, 8vw, 80px) auto 0;
  max-width: 880px;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(13,8,32,.4), rgba(8,4,22,.7));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(94,234,212,.18);
  overflow: hidden;
}
.pricewall-tide::before,
.pricewall-tide::after {
  /* Two flowing wave layers in the background of the panel */
  content: '';
  position: absolute;
  left: -10%; right: -10%;
  bottom: 0;
  height: 70%;
  background: radial-gradient(60% 80% at 30% 100%, rgba(94,234,212,.18), transparent 70%),
              radial-gradient(60% 80% at 70% 100%, rgba(167,139,250,.14), transparent 70%);
  pointer-events: none;
}
.pricewall-tide::after {
  height: 50%;
  background: radial-gradient(50% 70% at 50% 110%, rgba(252,211,77,.10), transparent 70%);
}
.pricewall-tide > * { position: relative; }
.pricewall-tide p {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--mist);
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: center;
}
.pricewall-tide p em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricewall-tide p strong { color: var(--snow); font-weight: 700; }
.pricewall-tide .evolve {
  margin-top: 36px;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.2; letter-spacing: -.018em;
  text-align: center;
  color: var(--snow);
}
.pricewall-tide .evolve em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-cy));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricewall-tide .evolve strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--aurora-vi), var(--aurora-mg));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricewall-tide-graph {
  position: relative;
  margin: 28px auto 4px;
  max-width: 540px;
  height: 120px;
  padding: 0 6px;
}
.pricewall-tide-graph svg { width: 100%; height: 100%; overflow: visible; display: block; }
.pricewall-tide-graph .pwt-curve {
  fill: none;
  stroke: url(#pwtCurveGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: pwt-draw 2.4s var(--ease-out-soft) forwards;
}
.pricewall-tide-graph .pwt-fill {
  fill: url(#pwtFillGrad);
  opacity: 0;
  animation: pwt-fade 1.6s ease-out 1.6s forwards;
}
.pricewall-tide-graph .pwt-now {
  fill: var(--aurora-em);
  filter: drop-shadow(0 0 10px var(--aurora-em));
  animation: vc-pulse 2.2s ease-in-out infinite;
}
.pricewall-tide-graph .pwt-axis {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  fill: rgba(248,250,252,.4);
}
@keyframes pwt-draw  { to { stroke-dashoffset: 0; } }
@keyframes pwt-fade  { to { opacity: .14; } }

/* ─── Mobile sticky bottom bar ─── */
.votus-mobar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8,4,22,.86), rgba(8,4,22,.74));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(94,234,212,.30);
  box-shadow: 0 14px 40px -10px rgba(94,234,212,.28), inset 0 1px 0 rgba(255,255,255,.04);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .12em;
  color: var(--snow);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .45s var(--ease-spring), opacity .35s ease-out;
}
.votus-mobar.show {
  transform: translateY(0);
  opacity: 1;
}
.votus-mobar .vmb-orb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--aurora-em), var(--aurora-vi));
  box-shadow: 0 0 16px rgba(94,234,212,.5);
  flex: 0 0 auto;
}
.votus-mobar .vmb-info {
  flex: 1 1 auto;
  display: flex; flex-direction: column; gap: 2px;
  text-align: left;
  letter-spacing: .04em;
}
.votus-mobar .vmb-info .vmb-label {
  font-size: 9px; letter-spacing: .26em; color: rgba(248,250,252,.5);
  text-transform: uppercase;
}
.votus-mobar .vmb-info .vmb-amt {
  font-size: 14px; font-weight: 700; color: var(--snow);
  font-family: var(--f-display); letter-spacing: -.012em;
}
.votus-mobar .vmb-cta {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aurora-em), var(--aurora-vi));
  color: #061026;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease-out-soft);
}
.votus-mobar .vmb-cta:active { transform: scale(.96); }
@media (max-width: 720px) {
  .votus-mobar { display: flex; }
  /* Lift the page bottom so footer isn't hidden behind the bar */
  body[data-page="/votus"] footer { padding-bottom: 96px; }
}

/* ─── Dock pricing into a polished dual-orb ─── */
.op-card-grand {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 0% 0%, rgba(94,234,212,.10), transparent 60%),
    radial-gradient(80% 80% at 100% 100%, rgba(167,139,250,.10), transparent 60%),
    linear-gradient(180deg, rgba(13,8,32,.55), rgba(8,4,22,.75));
  border: 1px solid rgba(94,234,212,.30);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 36px 100px -28px rgba(94,234,212,.32),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.op-card-grand::before {
  /* rotating gradient border */
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg,
    rgba(94,234,212,.5),
    rgba(167,139,250,.4),
    rgba(244,114,182,.35),
    rgba(252,211,77,.4),
    rgba(94,234,212,.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: .55;
  animation: opcg-border 12s linear infinite;
}
@keyframes opcg-border { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ─── Reduced motion guards ─── */
@media (prefers-reduced-motion: reduce) {
  #votus-emergence { display: none; }
  .votus-sigil { animation: none; }
  .votus-sigil .ring.outer,
  .votus-sigil .triangle.up,
  .votus-sigil .triangle.down { animation: none; }
  .chalice-handle { animation: none; }
  .davinity-chalice::before { animation: none; }
  .votus-compass .vc-orbit,
  .votus-compass .vc-pulse,
  .pricewall-tide-graph .pwt-now { animation: none; }
  .op-card-grand::before { animation: none; }
}
