:root {
  --ink: #050706;
  --ink-soft: #0a0e0c;
  --mist: #dff9e8;
  --white: #f4fff7;
  --mint: #a7ffc2;
  --acid: #60ff91;
  --line: rgba(225, 255, 233, 0.2);
  --muted: rgba(234, 255, 239, 0.58);
  --pad: clamp(22px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: transparent;
  color: var(--white);
  font-family: "Arial Narrow", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: #07100a; background: var(--mint); }

.site-atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: #020403 url("public/paura-hero-solid.png") 68% center / cover no-repeat;
  filter: saturate(.82) contrast(1.08) brightness(.62);
  transform: translateZ(0) scale(1.015);
}
.site-atmosphere::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2,4,3,.92) 0%, rgba(2,4,3,.62) 40%, rgba(2,4,3,.16) 74%, rgba(2,4,3,.52) 100%),
    radial-gradient(circle at 76% 46%, rgba(124,255,164,.06), transparent 34%);
}
.site-atmosphere::after {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 73% 48%, rgba(139,255,173,.1), transparent 28%);
  filter: blur(60px); animation: fieldBreath 7s ease-in-out infinite;
}
main { position: relative; z-index: 1; }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.aura-cursor {
  position: fixed; z-index: 99; width: 320px; height: 320px; border-radius: 50%;
  pointer-events: none; transform: translate(-50%, -50%); opacity: .11;
  background: radial-gradient(circle, var(--mint), transparent 67%); filter: blur(25px);
  transition: opacity .25s ease;
}
.scroll-line { position: fixed; z-index: 101; top: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.06); }
.scroll-line span { display: block; width: 0; height: 100%; background: var(--mint); box-shadow: 0 0 16px var(--acid); }

.topbar {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 82px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad); border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(5,7,6,.88), rgba(5,7,6,.08));
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line);
  border-radius: 13px 13px 13px 4px; color: var(--mint); background: rgba(197,255,214,.06);
  box-shadow: inset 0 0 18px rgba(150,255,180,.08), 0 0 24px rgba(150,255,180,.05);
}
.topbar nav { display: flex; gap: 38px; }
.topbar nav a { font-size: 12px; letter-spacing: .18em; color: var(--muted); transition: color .2s; }
.topbar nav a:hover { color: var(--white); }
.nav-launch { justify-self: end; display: flex; align-items: center; gap: 22px; font-size: 12px; letter-spacing: .14em; }
.nav-launch i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-style: normal; transition: .3s; }
.nav-launch:hover i { color: var(--ink); background: var(--mint); transform: rotate(45deg); }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding: 120px var(--pad) 64px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero-art {
  position: absolute; z-index: 0; inset: 0; background-image: url("public/paura-hero-solid.png");
  background-size: cover; background-position: 62% center; transform: scale(1.04);
  filter: saturate(.88) contrast(1.08); animation: artBreath 9s ease-in-out infinite alternate;
}
.hero-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 48%, transparent 18%, rgba(5,7,6,.08) 44%, rgba(5,7,6,.9) 92%); }
.aura { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); mix-blend-mode: screen; }
.aura-one { right: 10%; top: 20%; width: 34vw; height: 34vw; border: 2px solid rgba(173,255,198,.18); animation: auraPulse 5s ease-in-out infinite; }
.aura-two { right: 24%; bottom: 5%; width: 14vw; height: 32vw; background: rgba(112,255,158,.05); animation: auraFloat 7s ease-in-out infinite; }
.hero-content { position: relative; z-index: 2; width: min(680px, 64vw); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { width: 28px; height: 1px; background: var(--mint); box-shadow: 0 0 8px var(--acid); }
.hero h1 { margin: 0; font-size: clamp(82px, 13vw, 208px); line-height: .72; letter-spacing: -.09em; font-weight: 900; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(239,255,243,.8); text-shadow: 0 0 45px rgba(155,255,184,.1); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 50px; }
.hero-copy { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; }
.pons-button {
  position: relative; min-height: 58px; display: inline-flex; align-items: center; gap: 16px; overflow: hidden;
  padding: 0 22px; border: 1px solid var(--line); border-radius: 20px 20px 20px 5px; font-size: 11px; letter-spacing: .12em;
  backdrop-filter: blur(12px); transition: color .35s, border-radius .35s, transform .35s, background .35s;
}
.pons-button::before { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateY(102%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pons-button > * { position: relative; z-index: 1; }
.pons-button.primary { color: #071009; background: rgba(227,255,235,.95); }
.pons-button.primary::before { background: var(--mint); }
.pons-button.ghost { background: rgba(5,7,6,.32); }
.pons-button:hover { color: #071009; border-radius: 5px 20px 20px 20px; transform: translateY(-3px); }
.pons-button:hover::before { transform: translateY(0); }
.pons-button i { font-style: normal; font-size: 15px; }
.button-dot { width: 7px; height: 7px; border-radius: 50%; background: #0b5e26; box-shadow: 0 0 0 5px rgba(20,127,54,.11); }
.scroll-cue { position: absolute; z-index: 4; right: var(--pad); bottom: 38px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 9px; letter-spacing: .22em; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--mint), transparent); animation: scrollCue 1.8s ease-in-out infinite; }

.section { position: relative; min-height: 100svh; padding: 120px var(--pad) 70px; overflow: hidden; border-top: 1px solid rgba(218,255,228,.13); }
.section-index { font: 11px/1 monospace; letter-spacing: .16em; color: rgba(229,255,236,.42); }
.lore { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(125deg, rgba(3,7,5,.96) 0%, rgba(7,15,10,.83) 54%, rgba(3,6,4,.72) 100%); }
.lore::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 83% 48%, rgba(138,255,172,.08), transparent 31%); pointer-events: none; }
.lore-grid { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: clamp(50px, 10vw, 170px); margin: auto 0; }
.lore-title h2 { margin: 24px 0 0; font-size: clamp(56px, 8vw, 126px); line-height: .84; letter-spacing: -.075em; }
.lore-title em { color: var(--mint); font-style: normal; font-weight: 300; text-shadow: 0 0 40px rgba(96,255,145,.2); }
.lore-body { padding-bottom: 8px; }
.lore-body p { margin: 0 0 28px; color: var(--muted); font: 16px/1.65 Georgia, serif; }
.lore-body .lead { color: var(--white); font-size: clamp(22px, 2vw, 34px); line-height: 1.25; letter-spacing: -.02em; }
.signature { display: flex; align-items: center; gap: 20px; margin-top: 50px; }
.signature span { font-size: 28px; font-weight: 900; letter-spacing: -.08em; }
.signature small { max-width: 90px; color: var(--muted); font-size: 9px; line-height: 1.4; letter-spacing: .15em; }
.orbit-word { white-space: nowrap; font-size: clamp(36px, 7vw, 100px); font-weight: 900; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(214,255,225,.1); transform: translateX(-4vw); }

.signal { background: linear-gradient(180deg, rgba(4,8,6,.76), rgba(8,19,12,.84)); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; }
.signal::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(87,255,139,.16), transparent 32%); animation: auraPulse 5s ease-in-out infinite; }
.signal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,4,2,.24), transparent 35%, rgba(1,4,2,.12)); pointer-events: none; }
.signal-top { position: relative; z-index: 1; display: flex; justify-content: space-between; }
.signal .section-index { color: rgba(229,255,236,.42); }
.mono { margin: 0; font: 11px/1 monospace; letter-spacing: .15em; }
.mono span { color: var(--mint); text-shadow: 0 0 16px rgba(96,255,145,.35); }
.signal-center { position: relative; z-index: 1; text-align: center; margin: auto 0; }
.signal-center p { margin: 0; font-size: clamp(18px, 2vw, 28px); letter-spacing: .36em; }
.signal-center h2 { margin: 4px 0 0; font-size: clamp(88px, 17vw, 270px); line-height: .78; letter-spacing: -.09em; }
.principles { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles article { padding: 25px 30px 0 0; border-right: 1px solid rgba(225,255,233,.14); }
.principles article + article { padding-left: 30px; }
.principles article:last-child { border: 0; }
.principles span { font: 10px/1 monospace; color: rgba(229,255,236,.42); }
.principles h3 { margin: 16px 0 8px; font-size: 18px; text-transform: uppercase; letter-spacing: -.02em; }
.principles p { max-width: 300px; margin: 0; color: var(--muted); font: 15px/1.45 Georgia, serif; }

.portal { min-height: 110svh; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(110deg, rgba(2,5,3,.95) 0%, rgba(3,8,5,.75) 45%, rgba(2,5,3,.62) 100%); }
.portal::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 28%, rgba(102,255,149,.08), transparent 72%); }
.portal-ring { position: absolute; right: -5vw; top: 50%; width: min(60vw, 850px); aspect-ratio: 1; transform: translateY(-50%); }
.portal-ring i { position: absolute; inset: 0; border: 1px solid rgba(174,255,197,.16); border-radius: 44% 56% 48% 52%; box-shadow: inset 0 0 80px rgba(103,255,148,.03), 0 0 70px rgba(103,255,148,.05); animation: ringSpin 18s linear infinite; }
.portal-ring i:nth-child(2) { inset: 9%; animation-direction: reverse; animation-duration: 13s; }
.portal-ring i:nth-child(3) { inset: 21%; animation-duration: 9s; }
.portal-copy { position: relative; z-index: 2; max-width: 810px; }
.portal-copy h2 { margin: 22px 0 26px; font-size: clamp(80px, 13vw, 200px); line-height: .74; letter-spacing: -.09em; }
.portal-copy > p:last-child { color: var(--muted); font: 17px/1.6 Georgia, serif; }
.portal-actions { position: relative; z-index: 2; display: flex; align-items: stretch; gap: 12px; margin-top: 54px; }
.mega-button { display: flex; justify-content: space-between; align-items: center; width: min(420px, 100%); padding: 25px 28px; border-radius: 25px 25px 25px 6px; color: #061008; background: var(--mint); font-size: 13px; font-weight: 900; letter-spacing: .15em; transition: .3s; }
.mega-button:hover { border-radius: 6px 25px 25px 25px; background: var(--white); transform: translateY(-3px); box-shadow: 0 18px 70px rgba(95,255,143,.15); }
.mega-button i { font-size: 20px; font-style: normal; }
.ca-button { cursor: pointer; min-width: min(420px, 100%); padding: 16px 20px; border: 1px solid var(--line); border-radius: 6px 25px 25px 25px; text-align: left; background: rgba(255,255,255,.035); backdrop-filter: blur(14px); transition: .3s; }
.ca-button:hover { border-color: rgba(197,255,214,.55); background: rgba(197,255,214,.07); transform: translateY(-3px); }
.ca-button span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.ca-button b { display: inline-block; max-width: 70%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; font: 12px/1 monospace; white-space: nowrap; }
.ca-button i { float: right; font: 9px/1 monospace; color: var(--mint); }
footer { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: rgba(231,255,237,.42); font-size: 9px; letter-spacing: .13em; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 26px; transform: translate(-50%, 20px); padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: rgba(8,15,10,.9); box-shadow: 0 14px 60px #000; color: var(--mint); font: 10px/1 monospace; letter-spacing: .13em; opacity: 0; pointer-events: none; transition: .35s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes artBreath { to { transform: scale(1.075) translate3d(-.6%, -.4%, 0); filter: saturate(1) contrast(1.05) brightness(1.05); } }
@keyframes fieldBreath { 0%,100% { opacity: .38; transform: scale(.94); } 50% { opacity: .78; transform: scale(1.05); } }
@keyframes auraPulse { 0%,100% { opacity: .45; transform: scale(.94); } 50% { opacity: .9; transform: scale(1.08); } }
@keyframes auraFloat { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(-40px,-30px,0) rotate(8deg); } }
@keyframes scrollCue { 0%,100% { transform: scaleY(.25); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
@keyframes ringSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; height: 70px; }
  .topbar nav { display: none; }
  .nav-launch span { display: none; }
  .hero { align-items: flex-end; padding-bottom: 100px; }
  .hero-art { background-position: 64% center; opacity: .84; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(76px, 23vw, 150px); }
  .hero-bottom { align-items: flex-start; flex-direction: column; margin-top: 38px; }
  .lore-grid { grid-template-columns: 1fr; align-items: start; margin: 90px 0; }
  .lore-body { max-width: 560px; margin-left: auto; }
  .portal-ring { width: 90vw; right: -35vw; opacity: .7; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .brand > span:last-child { font-size: 12px; }
  .aura-cursor { display: none; }
  .hero { min-height: 900px; }
  .hero-art { inset: -4% -55% 0 -25%; background-position: 62% center; }
  .hero-art::after { background: linear-gradient(180deg, rgba(5,7,6,.06), rgba(5,7,6,.35) 50%, #050706 91%); }
  .hero-content { padding-top: 360px; }
  .hero h1 { font-size: clamp(72px, 25vw, 110px); }
  .hero-bottom { gap: 26px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .pons-button { justify-content: space-between; width: 100%; }
  .scroll-cue { display: none; }
  .section { min-height: auto; padding-top: 100px; padding-bottom: 100px; }
  .lore-grid { margin: 70px 0; gap: 55px; }
  .lore-title h2 { font-size: clamp(50px, 16vw, 80px); }
  .orbit-word { margin-top: 20px; }
  .signal { min-height: 100svh; }
  .signal-center { margin: 130px 0; }
  .signal-center p { font-size: 13px; }
  .signal-center h2 { font-size: 22vw; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article + article { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(225,255,233,.14); }
  .portal { min-height: 1000px; justify-content: flex-start; }
  .portal-copy { margin-top: 110px; }
  .portal-copy h2 { font-size: 23vw; }
  .portal-actions { flex-direction: column; }
  .ca-button { min-width: 0; width: 100%; }
  footer { flex-direction: column; align-items: flex-start; }
  footer span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
