:root {
  --bg: #030406;
  --bg-soft: #090a0c;
  --text: #f1ede4;
  --muted: #aaa397;
  --gold: #c99f4d;
  --gold-light: #ecd182;
  --line: rgba(224, 189, 111, 0.34);
  --glass: rgba(7, 8, 10, 0.68);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.028;
  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='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 60px);
  background: linear-gradient(to bottom, rgba(1, 2, 3, .82), rgba(1, 2, 3, .16), transparent);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold-light); }
.brand-mark { width: 50px; height: 48px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.5)); }
.brand span { font-family: "Cormorant Garamond", serif; font-size: 19px; letter-spacing: .32em; }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); }
.nav a { text-decoration: none; color: #ddd6ca; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; transition: color .25s ease; }
.nav a:hover { color: var(--gold-light); }
.login-link { padding: 13px 23px; border: 1px solid rgba(226, 190, 106, .68); border-radius: 999px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #010204;
}
.hero-image {
  position: absolute;
  inset: -2%;
  z-index: -4;
  background: url("assets/viaris-earth.png") center center / cover no-repeat;
  transform: scale(1.035);
  animation: heroDrift 30s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.035) translate3d(0,0,0); }
  to { transform: scale(1.065) translate3d(-.6%, -.2%, 0); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(to bottom, rgba(1,2,4,.42), rgba(1,2,4,.04) 38%, rgba(1,2,4,.25) 72%, rgba(1,2,4,.7)),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(0,0,0,.32) 72%, rgba(0,0,0,.8) 100%);
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 51%;
  width: 420px;
  height: 2px;
  transform: translate(-50%, -50%);
  z-index: -1;
  background: radial-gradient(circle, rgba(255,211,115,.95), rgba(216,154,49,.36) 34%, transparent 72%);
  filter: blur(2px);
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 50% { opacity: .62; transform: translate(-50%, -50%) scaleX(1.08); } }

.hero-content {
  text-align: center;
  width: min(1040px, 90vw);
  margin-top: 2vh;
  text-shadow: 0 8px 34px rgba(0,0,0,.62);
}
.eyebrow { margin: 0 0 24px; color: #d3b46d; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(92px, 12vw, 185px);
  line-height: .82;
  font-weight: 600;
  letter-spacing: .08em;
  background: linear-gradient(104deg, #7f5720 0%, #f4dc93 38%, #d6a44f 60%, #71501e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.horizon-line { width: min(520px, 72vw); margin: 24px auto 16px; display: flex; align-items: center; }
.horizon-line span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,194,105,.82)); }
.horizon-line span:last-child { background: linear-gradient(90deg, rgba(232,194,105,.82), transparent); }
.horizon-line i { width: 34px; height: 2px; border-radius: 99px; background: var(--gold-light); box-shadow: 0 0 16px rgba(255,210,105,.78); }
.tagline { margin: 0; color: #decfae; font-size: clamp(14px, 1.55vw, 23px); letter-spacing: .24em; }
.subline { margin: 35px 0 0; color: #f5f1e9; font-size: clamp(15px, 1.4vw, 21px); letter-spacing: .07em; }
.discover-button {
  display: inline-flex;
  margin-top: 35px;
  min-width: 182px;
  justify-content: center;
  padding: 15px 29px;
  border: 1px solid rgba(234,199,114,.85);
  border-radius: 999px;
  text-decoration: none;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: .25em;
  background: rgba(3,4,6,.25);
  backdrop-filter: blur(10px);
  transition: .3s ease;
}
.discover-button:hover { background: rgba(208,164,70,.11); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,0,0,.3); }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: #d7b86e;
  font-size: 9px;
  letter-spacing: .26em;
}
.scroll-indicator i { width: 18px; height: 18px; border-right: 1px solid var(--gold-light); border-bottom: 1px solid var(--gold-light); transform: rotate(45deg); animation: down 2s ease-in-out infinite; }
@keyframes down { 50% { transform: translateY(8px) rotate(45deg); opacity: .55; } }

.satellite {
  position: absolute;
  z-index: 2;
  width: 76px;
  height: 30px;
  left: -14vw;
  top: 17vh;
  opacity: 0;
  transform: rotate(-11deg) scale(.7);
}
.satellite.fly { animation: satelliteFlight 3.2s linear forwards; }
@keyframes satelliteFlight {
  0% { opacity: 0; transform: translate3d(0,0,0) rotate(-11deg) scale(.7); }
  12% { opacity: .85; }
  75% { opacity: .8; }
  100% { opacity: 0; transform: translate3d(132vw, 18vh, 0) rotate(-11deg) scale(.9); }
}
.sat-body { position: absolute; left: 31px; top: 10px; width: 14px; height: 9px; background: #aa7a2e; border-radius: 2px; box-shadow: 0 0 8px rgba(255,198,87,.4); }
.sat-panel { position: absolute; top: 8px; width: 27px; height: 13px; background: linear-gradient(90deg, #0b1017, #303849, #0b1017); border: 1px solid rgba(110,133,170,.55); }
.sat-panel-left { left: 0; }
.sat-panel-right { right: 0; }
.sat-light { position: absolute; left: 35px; top: 13px; width: 3px; height: 3px; border-radius: 50%; background: #fff2bd; box-shadow: 0 0 12px 5px rgba(255,196,74,.72); }

.section { position: relative; min-height: 78svh; padding: clamp(90px, 10vw, 150px) clamp(24px, 6vw, 100px); display: grid; place-items: center; }
.manifesto-section { background: radial-gradient(circle at 50% 18%, rgba(139,95,28,.1), transparent 36%), #07080a; }
.manifesto-card { width: min(1060px, 100%); padding: clamp(42px, 6vw, 78px); border: 1px solid rgba(219,182,99,.24); border-radius: 30px; background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); backdrop-filter: blur(18px); box-shadow: 0 26px 100px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.05); }
blockquote { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(32px, 4vw, 58px); line-height: 1.28; color: #f0e9db; }
cite { display: block; margin-top: 28px; color: var(--gold-light); font-style: normal; letter-spacing: .15em; }

.via-section { background: linear-gradient(180deg, #07080a, #0a0b0d); }
.section-grid { width: min(1180px, 100%); display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.section-copy h2, .platform-card h2 { margin: 0 0 24px; font-family: "Cormorant Garamond", serif; font-size: clamp(48px, 7vw, 92px); line-height: .95; font-weight: 500; }
.section-copy > p:last-child { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.ris-list { padding-left: 46px; border-left: 1px solid var(--line); display: grid; gap: 24px; }
.ris-list div { display: flex; align-items: baseline; gap: 24px; }
.ris-list strong { font-family: "Cormorant Garamond", serif; font-size: 62px; font-weight: 500; color: var(--gold-light); }
.ris-list span { font-size: 18px; letter-spacing: .08em; }

.pathways-section { min-height: auto; background: #08090b; }
.pathways { width: min(980px, 100%); }
.pathways > a { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 26px 0; border-top: 1px solid rgba(221,185,103,.22); text-decoration: none; transition: .25s ease; }
.pathways > a:last-child { border-bottom: 1px solid rgba(221,185,103,.22); }
.pathways > a:hover { padding-left: 12px; color: var(--gold-light); }
.pathways span { font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 4vw, 48px); }
.pathways small { color: #969087; text-align: right; letter-spacing: .04em; }

.contact-section { background: radial-gradient(circle at 50% 55%, rgba(150,103,31,.11), transparent 32%), #040507; }
.contact-content { text-align: center; width: min(1000px, 100%); }
.contact-content > p { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(42px, 6vw, 82px); line-height: 1.16; }
.contact-signature { margin-top: 54px; display: flex; justify-content: center; flex-wrap: wrap; gap: 28px 56px; }
.contact-signature a { color: var(--gold-light); text-decoration: none; font-size: 17px; letter-spacing: .07em; padding-bottom: 8px; border-bottom: 1px solid rgba(225,190,110,.42); }

.platform-section { min-height: 88svh; display: grid; place-items: center; padding: 120px 24px; background: linear-gradient(rgba(1,2,4,.78), rgba(1,2,4,.94)), url("assets/viaris-earth.png") center / cover fixed; }
.platform-card { width: min(540px, 100%); padding: 52px; border-radius: 26px; border: 1px solid rgba(225,190,110,.3); background: rgba(5,6,8,.72); backdrop-filter: blur(24px); box-shadow: 0 30px 110px rgba(0,0,0,.5); }
.platform-card h2 { font-size: 45px; }
label { display: block; margin: 22px 0; }
label span { display: block; margin-bottom: 9px; color: #a9a39a; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
input { width: 100%; padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: white; font: inherit; outline: none; }
input:focus { border-color: rgba(232,195,106,.7); box-shadow: 0 0 0 4px rgba(232,195,106,.08); }
button[type="submit"] { width: 100%; margin-top: 10px; padding: 16px; border: 0; border-radius: 12px; background: linear-gradient(100deg, #8a6329, #d1ad5d, #8a6329); color: #08090a; font-weight: 700; letter-spacing: .12em; cursor: pointer; }
.platform-card small { display: block; margin-top: 18px; color: #77736c; line-height: 1.6; }

footer { min-height: 120px; padding: 0 clamp(24px, 6vw, 100px); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #77736c; border-top: 1px solid rgba(255,255,255,.055); font-size: 11px; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

@media (max-width: 820px) {
  .site-header { height: 72px; }
  .brand span { display: none; }
  .menu-toggle { position: relative; z-index: 40; display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 1px; background: var(--gold-light); transition: .25s; }
  .nav { position: fixed; inset: 0; display: grid; place-content: center; gap: 32px; background: rgba(3,4,6,.96); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .3s ease; }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { font-size: 16px; text-align: center; }
  .section-grid { grid-template-columns: 1fr; gap: 48px; }
  .ris-list { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .pathways > a { align-items: flex-start; flex-direction: column; gap: 8px; }
  .pathways small { text-align: left; }
  footer { flex-direction: column; justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 78px; }
  .tagline { line-height: 1.7; }
  .subline { font-size: 14px; }
  .discover-button { min-width: 160px; }
  .scroll-indicator span { display: none; }
  .manifesto-card, .platform-card { padding: 34px 26px; }
}
