/* Aether Labs — home */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #05060a;
}

#aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.04);
}

.sky-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.74) 0%, rgba(5, 6, 10, 0.38) 46%, rgba(5, 6, 10, 0.06) 74%),
    radial-gradient(120% 80% at 68% 28%, rgba(5, 6, 10, 0) 0%, rgba(5, 6, 10, 0.25) 45%, rgba(5, 6, 10, 0.86) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.55) 0%, rgba(5, 6, 10, 0.1) 32%, rgba(5, 6, 10, 0.88) 100%);
}

.sky-grain {
  position: absolute;
  inset: 0;
  opacity: 0.30;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 122px 0 0;
}

.hero-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 46px);
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(8, 10, 16, 0.4);
  backdrop-filter: blur(8px);
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(123, 247, 207, 0.7);
  animation: dot-pulse 2.6s infinite;
}

@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(123, 247, 207, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(123, 247, 207, 0); }
  100% { box-shadow: 0 0 0 0 rgba(123, 247, 207, 0); }
}

.hero h1 {
  max-width: 19ch;
  font-size: clamp(2.7rem, 6.1vw, 5.15rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.hero h1 .line { display: block; }
.hero h1 .line > span {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: line-up 1.15s var(--ease) forwards;
  animation-delay: var(--ld, 0ms);
}
@keyframes line-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  background: linear-gradient(96deg, #eafff8 0%, var(--mint) 34%, var(--violet) 72%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 21px;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  color: #b9c0cf;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

/* countdown */
.countdown {
  margin-top: clamp(26px, 4vw, 42px);
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 2.6vw, 34px);
  flex-wrap: wrap;
}

.count-lead {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  padding-bottom: 14px;
  white-space: nowrap;
}

.count {
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 1.6vw, 18px);
}

.count-unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 58px;
}

.count-num {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: block;
}

.count-num.is-tick { animation: tick 0.55s var(--ease); }

@keyframes tick {
  0% { opacity: 0.35; transform: translateY(-7px); filter: blur(2px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

.count-lab {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.count-sep {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--dim);
  line-height: 1.25;
  animation: sep 2s ease-in-out infinite;
}

@keyframes sep { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.8; } }

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, transparent, var(--mint));
  animation: cue 2.2s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- bands ---------- */
.band {
  position: relative;
  background: var(--bg);
}

.band::before {
  content: "";
  position: absolute;
  inset: -140px 0 auto 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0), var(--bg));
  pointer-events: none;
}

/* marquee */
.marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 20px 0;
  background: rgba(8, 10, 16, 0.6);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 0 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-item::after {
  content: "✳";
  color: var(--mint);
  font-size: 10px;
  opacity: 0.7;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* section shell */
.section { padding: clamp(64px, 9vw, 130px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px 60px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 16ch;
}

.section-head h2 em { font-family: var(--serif); font-style: italic; color: var(--mint); }

.section-head .lede { margin-left: auto; }

/* what */
.what-list { border-top: 1px solid var(--line); }

.what-row {
  display: grid;
  grid-template-columns: 64px 1fr 1fr 180px;
  gap: 24px 34px;
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}

.what-row:hover { background: rgba(255, 255, 255, 0.017); }

.what-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--dim);
  padding-top: 6px;
}

.what-row h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.what-row p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 46ch; }

.what-vis {
  justify-self: end;
  align-self: center;
  width: 150px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: radial-gradient(120% 120% at 20% 10%, rgba(123, 247, 207, 0.1), rgba(10, 12, 18, 0.5));
  overflow: hidden;
  position: relative;
}

/* visual 1: capsules */
.capsules { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 34px; }
.capsules i {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid rgba(123, 247, 207, 0.7);
  background: radial-gradient(circle at 35% 30%, rgba(123, 247, 207, 0.9), rgba(123, 247, 207, 0.12));
  animation: cap 3.4s ease-in-out infinite;
}
.capsules i:last-child { animation-delay: -1.7s; }
.capsules::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(123,247,207,0.6), rgba(165,139,255,0.6));
}
@keyframes cap { 0%, 100% { transform: translateY(-5px) scale(0.9); opacity: 0.7; } 50% { transform: translateY(5px) scale(1.05); opacity: 1; } }

/* visual 2: dial */
.dial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.dial-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  animation: dial-turn 12s steps(4) infinite;
}
.dial-ring::before {
  content: "";
  width: 2px;
  height: 20px;
  background: var(--mint);
  border-radius: 2px;
  transform: translateY(-10px);
  box-shadow: 0 0 10px rgba(123,247,207,0.8);
}
.dial-ticks { position: absolute; inset: 0; }
.dial-ticks span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.28); }
.dial-ticks span:nth-child(1) { top: 12px; left: 50%; transform: translateX(-50%); }
.dial-ticks span:nth-child(2) { right: 16px; top: 50%; transform: translateY(-50%); }
.dial-ticks span:nth-child(3) { bottom: 12px; left: 50%; transform: translateX(-50%); }
.dial-ticks span:nth-child(4) { left: 16px; top: 50%; transform: translateY(-50%); }
@keyframes dial-turn { to { transform: rotate(360deg); } }

/* visual 3: files */
.files { position: absolute; inset: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.files i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  animation: file-in 4.2s ease-in-out infinite;
}
.files i:nth-child(1) { width: 72%; background: rgba(123, 247, 207, 0.5); }
.files i:nth-child(2) { width: 92%; animation-delay: 0.25s; }
.files i:nth-child(3) { width: 56%; animation-delay: 0.5s; }
.files i:nth-child(4) { width: 84%; animation-delay: 0.75s; }
@keyframes file-in { 0%, 100% { opacity: 0.45; transform: translateX(0); } 45% { opacity: 1; transform: translateX(3px); } }

/* specs */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: background 0.4s;
}

.spec:hover { background: rgba(255, 255, 255, 0.02); }

.spec dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.spec dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.spec dd small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* log */
.log { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.log-entry {
  background: var(--bg);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background 0.4s;
}

.log-entry:hover { background: #090c13; }

.log-date {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
  text-transform: uppercase;
}

.log-entry h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.log-entry p { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }

.log-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.log-link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.log-link:hover svg { transform: translate(3px, -3px); }

/* notify band */
.notify-band {
  position: relative;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 4vw, 56px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 82% 8%, rgba(165, 139, 255, 0.22), transparent 60%),
    radial-gradient(80% 120% at 12% 92%, rgba(123, 247, 207, 0.16), transparent 55%),
    #0a0d15;
}

.notify-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  pointer-events: none;
}

.notify-band > * { position: relative; z-index: 1; }

.notify-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.notify-band h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.notify-band h2 em { font-family: var(--serif); font-style: italic; color: var(--mint); }
.notify-band p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 42ch; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 220px; margin: 0; }
.inline-form .btn { flex: none; }
.inline-form.is-off { display: none; }
.inline-note { margin-top: 12px; font-size: 12px; color: var(--dim); }

.notify-band .form-success { text-align: left; padding: 0; }
.notify-band .form-success p strong { color: var(--ink); font-weight: 500; }

@media (max-width: 1000px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head .lede { margin-left: 0; }
  .what-row { grid-template-columns: 44px 1fr; }
  .what-row p { grid-column: 2; }
  .what-vis { grid-column: 2; justify-self: start; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .log { grid-template-columns: 1fr; }
  .notify-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { padding-top: 108px; }
  .hero-inner { padding-bottom: 30px; }
  .countdown { gap: 14px; }
  .count-lead { width: 100%; padding-bottom: 0; }
  .count-unit { min-width: 48px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .what-row { gap: 14px 16px; }
  .specs { grid-template-columns: 1fr; }
  .spec { min-height: 0; }
  .notify-band { border-radius: 16px; }
  .inline-form .btn { width: 100%; }
}
