:root {
  color-scheme: dark;
  --bg-primary: #05070b;
  --bg-secondary: #0b1220;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --text: #ffffff;
  --muted: #a7b0c0;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(10, 18, 32, 0.58);
  --glass-soft: rgba(255, 255, 255, 0.045);
  --shadow-blue: rgba(59, 130, 246, 0.28);
  --mx: 0px;
  --my: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-primary);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at calc(22% + var(--mx)) calc(18% + var(--my)), rgba(59, 130, 246, 0.18), transparent 34rem),
    radial-gradient(circle at calc(84% - var(--mx)) calc(74% - var(--my)), rgba(6, 182, 212, 0.13), transparent 30rem),
    linear-gradient(135deg, #05070b 0%, #07101d 42%, #05070b 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.is-locking {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

::selection {
  background: rgba(59, 130, 246, 0.55);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 50% 44%, rgba(59, 130, 246, 0.18), transparent 22rem),
    var(--bg-primary);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader-mark {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 36px rgba(59, 130, 246, 0.22);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.loader-line {
  width: 8rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.loader-line::before {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-cyan), transparent);
  animation: loaderSweep 1.2s ease-in-out infinite;
}

body.is-loaded .loading-screen {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.cursor {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.46);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: width 0.22s ease, height 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-hovering {
  width: 3rem;
  height: 3rem;
  border-color: rgba(6, 182, 212, 0.58);
  background: rgba(6, 182, 212, 0.12);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(11, 18, 32, 0.72), rgba(5, 7, 11, 0.38) 42%, rgba(5, 7, 11, 0.86)),
    var(--bg-primary);
  opacity: 0;
  animation: backgroundReveal 1s ease 0.1s forwards;
}

.grid-layer {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(circle at 48% 42%, black 0%, transparent 72%);
  mask-image: radial-gradient(circle at 48% 42%, black 0%, transparent 72%);
  opacity: 0.22;
  animation: gridDrift 24s linear infinite;
}

.glow-field {
  position: absolute;
  width: 44rem;
  height: 26rem;
  filter: blur(58px);
  opacity: 0.42;
  transform: translate3d(0, 0, 0) rotate(-12deg);
  border-radius: 48% 52% 44% 56%;
  will-change: transform;
}

.glow-field-one {
  top: 8%;
  left: -12%;
  background: rgba(59, 130, 246, 0.32);
  animation: fieldFloatOne 18s ease-in-out infinite alternate;
}

.glow-field-two {
  right: -14%;
  bottom: 6%;
  background: rgba(6, 182, 212, 0.22);
  animation: fieldFloatTwo 22s ease-in-out infinite alternate;
}

.glow-field-three {
  top: 56%;
  left: 34%;
  width: 32rem;
  height: 16rem;
  background: rgba(59, 130, 246, 0.13);
  animation: fieldFloatThree 26s ease-in-out infinite alternate;
}

.particle-canvas,
.noise-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.particle-canvas {
  opacity: 0.68;
}

.noise-layer {
  opacity: 0.05;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 65%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
  background-size: 13px 17px, 19px 23px;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(1rem, 1.55vw, 1.65rem) clamp(1.25rem, 4vw, 4rem);
}

.brand,
.status-pill {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand {
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.brand:hover {
  color: var(--text);
  text-shadow: 0 0 22px rgba(59, 130, 246, 0.44);
}

.status-pill {
  padding: 0.55rem 0.72rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5.5rem);
  width: min(100%, 1440px);
  min-height: calc(100svh - 7.5rem);
  margin: 0 auto;
  padding: clamp(0.5rem, 1.8vw, 2rem) clamp(1.25rem, 4vw, 4rem) clamp(3.6rem, 4vw, 5rem);
}

.hero-copy,
.hero-visual {
  will-change: transform;
}

.hero-copy {
  max-width: 45rem;
}

.eyebrow {
  margin: 0 0 clamp(1rem, 1.8vw, 1.45rem);
  color: rgba(167, 176, 192, 0.86);
  font-size: clamp(0.74rem, 0.9vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
  animation: copyReveal 0.8s ease 0.35s forwards;
}

.headline-wrap {
  position: relative;
  display: inline-grid;
  margin-bottom: clamp(1rem, 1.8vw, 1.4rem);
}

.headline-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -8% 6% -10%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(6, 182, 212, 0.18), transparent 64%),
    radial-gradient(circle at 28% 50%, rgba(59, 130, 246, 0.3), transparent 52%);
  filter: blur(36px);
  opacity: 0.75;
  transform: translate3d(calc(var(--mx) * 0.08), calc(var(--my) * 0.08), 0);
  animation: headingGlow 7s ease-in-out infinite alternate;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(4.05rem, min(10.3vw, 14.4vh), 10.2rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(34px);
  animation: headingReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: clamp(0.75rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: copyReveal 0.86s ease 0.72s forwards;
}

.intro {
  max-width: 37rem;
  margin-bottom: clamp(1rem, 1.7vh, 1.55rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.62;
  opacity: 0;
  transform: translateY(20px);
  animation: copyReveal 0.86s ease 0.86s forwards;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(5.6rem, 1fr));
  gap: 0.75rem;
  max-width: 39rem;
  margin-bottom: clamp(1rem, 1.7vw, 1.45rem);
  opacity: 0;
  transform: translateY(18px);
  animation: copyReveal 0.86s ease 1.02s forwards;
}

.time-card {
  position: relative;
  min-height: 5.1rem;
  padding: 0.82rem 0.78rem 0.72rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(11, 18, 32, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.time-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(59, 130, 246, 0.14), transparent);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.time-card:hover,
.time-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 52px rgba(0, 0, 0, 0.24), 0 0 28px rgba(59, 130, 246, 0.12);
}

.time-card:hover::before,
.time-card.is-changing::before {
  opacity: 1;
  transform: translateX(40%);
}

.time-card strong {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 2.3rem;
  color: var(--text);
  font-size: clamp(1.65rem, 2.6vw, 2.36rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.time-card.is-changing strong {
  opacity: 0.72;
  transform: translateY(-2px);
}

.time-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.55rem;
  color: rgba(167, 176, 192, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notify-form {
  max-width: 39rem;
  opacity: 0;
  transform: translateY(18px);
  animation: copyReveal 0.86s ease 1.14s forwards;
}

.input-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(5, 7, 11, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 56px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.input-shell:focus-within {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 4px rgba(6, 182, 212, 0.08), 0 0 34px rgba(59, 130, 246, 0.18);
  transform: translateY(-2px);
}

input {
  width: 100%;
  min-width: 0;
  height: 3.18rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  padding: 0 1rem;
  font-size: 1rem;
  outline: none;
}

input::placeholder {
  color: rgba(167, 176, 192, 0.62);
}

input[aria-invalid="true"] {
  color: #ffd8d8;
}

.notify-button {
  position: relative;
  min-width: 9.4rem;
  height: 3.18rem;
  overflow: hidden;
  border-radius: 6px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transform: translateZ(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.notify-button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.34), 0 0 20px rgba(6, 182, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.notify-button:active {
  transform: translateY(0) scale(0.99);
}

.notify-button span:not(.ripple) {
  position: relative;
  z-index: 1;
}

.ripple {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.68s ease-out forwards;
}

.form-message {
  min-height: 1.2rem;
  margin: 0.5rem 0 0;
  color: rgba(167, 176, 192, 0.9);
  font-size: 0.95rem;
  transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.form-message.is-success {
  color: #9ee8ff;
  text-shadow: 0 0 18px rgba(6, 182, 212, 0.3);
  animation: successLift 0.52s ease;
}

.form-message.is-error {
  color: #ffb4b4;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(0.8rem, 1.6vw, 1.35rem);
  opacity: 0;
  transform: translateY(16px);
  animation: copyReveal 0.86s ease 1.24s forwards;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 2.4rem;
  padding: 0 0.78rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(167, 176, 192, 0.9);
  font-size: 0.87rem;
  font-weight: 700;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.social-links svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(59, 130, 246, 0.07);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.14);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: clamp(30rem, 72vh, 50rem);
  opacity: 0;
  transform: translateY(28px);
  animation: portraitReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.62s forwards;
}

.portrait-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 39rem);
  min-height: clamp(30rem, 72vh, 50rem);
  margin-left: auto;
  perspective: 1200px;
}

.portrait-ambient {
  position: absolute;
  inset: 5% -8% 2% -10%;
  z-index: -1;
  border-radius: 44% 56% 42% 58%;
  background:
    radial-gradient(circle at 52% 36%, rgba(6, 182, 212, 0.3), transparent 32%),
    radial-gradient(circle at 38% 58%, rgba(59, 130, 246, 0.24), transparent 44%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.14), transparent 68%);
  filter: blur(46px);
  opacity: 0.86;
  animation: ambientPulse 7s ease-in-out infinite alternate;
}

.portrait-frame {
  position: relative;
  width: min(74vw, 31rem);
  height: clamp(34rem, 76vh, 50rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: rgba(11, 18, 32, 0.4);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45), 0 0 56px rgba(59, 130, 246, 0.12);
  transform: rotateY(-3deg) rotateX(2deg);
  animation: portraitFloat 6.5s ease-in-out infinite;
}

.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.portrait-frame::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.84) 0%, transparent 20%, transparent 77%, rgba(5, 7, 11, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.05) 0%, transparent 42%, rgba(5, 7, 11, 0.82) 100%);
}

.portrait-frame::after {
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.12) 38%, transparent 43%),
    radial-gradient(circle at 38% 35%, rgba(6, 182, 212, 0.13), transparent 30%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.96) contrast(1.06) brightness(0.88);
  transform: scale(1.04);
}

.reflection-band {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: min(28rem, 76%);
  height: 5.8rem;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0.36;
  filter: blur(0.2px);
  transform: rotate(-7deg) translateY(54%);
  pointer-events: none;
}

.portrait-caption {
  position: relative;
  z-index: 3;
  margin: 1.05rem 0 0;
  padding: 0.56rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 26px rgba(59, 130, 246, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.72rem, 0.95vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  backdrop-filter: blur(18px);
}

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: min(100%, 1440px);
  min-height: 4rem;
  margin: -4.5rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 4rem) 1.4rem;
  color: rgba(167, 176, 192, 0.74);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.2rem);
  width: 1px;
  height: 3.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}

.scroll-indicator span {
  display: block;
  width: 100%;
  height: 42%;
  background: linear-gradient(180deg, transparent, var(--accent-cyan), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes loaderSweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(300%);
  }
}

@keyframes backgroundReveal {
  to {
    opacity: 1;
  }
}

@keyframes gridDrift {
  to {
    background-position: 74px 74px;
  }
}

@keyframes fieldFloatOne {
  to {
    transform: translate3d(8%, 12%, 0) rotate(-4deg) scale(1.08);
  }
}

@keyframes fieldFloatTwo {
  to {
    transform: translate3d(-10%, -8%, 0) rotate(9deg) scale(1.05);
  }
}

@keyframes fieldFloatThree {
  to {
    transform: translate3d(6%, -18%, 0) rotate(7deg) scale(0.92);
  }
}

@keyframes headingGlow {
  to {
    opacity: 0.94;
    filter: blur(42px);
  }
}

@keyframes headingReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes copyReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portraitReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateY(-3deg) rotateX(2deg);
  }
  50% {
    transform: translate3d(0, -1.1rem, 0) rotateY(0deg) rotateX(1deg);
  }
}

@keyframes ambientPulse {
  to {
    opacity: 1;
    transform: scale(1.05) translate3d(-1%, -1%, 0);
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@keyframes successLift {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(260%);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  h1 {
    font-size: clamp(4rem, 10vw, 7.8rem);
  }

  .portrait-frame {
    width: min(38vw, 26rem);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0.4rem;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    min-height: auto;
  }

  .portrait-stage {
    width: 100%;
    min-height: auto;
    margin: 0 auto;
  }

  .portrait-frame {
    width: min(82vw, 25rem);
    height: clamp(24rem, 54vh, 35rem);
    border-radius: 22px;
  }

  .reflection-band {
    right: 16%;
    bottom: 2%;
  }

  .hero-copy {
    max-width: 42rem;
    margin: 0 auto;
  }

  .headline-wrap {
    margin-inline: auto;
  }

  .intro,
  .countdown,
  .notify-form {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

  .site-footer {
    margin-top: 0;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand,
  .status-pill {
    font-size: 0.67rem;
    letter-spacing: 0.12em;
  }

  .status-pill {
    padding: 0.48rem 0.58rem;
  }

  .hero {
    padding: 0.2rem 1rem 3.8rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 4.65rem);
  }

  h2 {
    font-size: clamp(1.18rem, 5vw, 1.55rem);
  }

  .intro {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .time-card {
    min-height: 5.45rem;
  }

  .input-shell {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  input,
  .notify-button {
    height: 3.45rem;
  }

  .notify-button {
    width: 100%;
    min-width: 0;
  }

  .social-links a {
    padding-inline: 0.7rem;
  }
}

@media (max-width: 400px) {
  .brand,
  .status-pill {
    font-size: 0.6rem;
  }

  .portrait-frame {
    width: min(86vw, 20rem);
    height: 23rem;
  }

  .social-links {
    gap: 0.45rem;
  }

  .social-links a {
    font-size: 0.78rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .cursor,
  .particle-canvas {
    display: none;
  }

  .hero-copy,
  .hero-visual {
    transform: none !important;
  }
}
