:root {
  color-scheme: dark;
  --ink: #fffaf2;
  --muted: rgba(255, 250, 242, 0.72);
  --faint: rgba(255, 250, 242, 0.52);
  --line: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.105);
  --glass-strong: rgba(255, 255, 255, 0.16);
  --night: #05070b;
  --champagne: #f7d997;
  --pearl: #fff5dd;
  --aqua: #96f0df;
  --rose: #f49a9a;
  --charcoal: #151515;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 24px clamp(16px, 4vw, 70px) 24px;
  isolation: isolate;
}

.motion-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #07090d;
}

.city-photo {
  position: absolute;
  inset: -3%;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.95) 0%, rgba(5, 7, 11, 0.74) 39%, rgba(5, 7, 11, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.15), rgba(5, 7, 11, 0.72)),
    url("https://images.unsplash.com/photo-1518391846015-55a9cc003b25?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  filter: saturate(1.1) contrast(1.08);
  transform: scale(1.02);
  animation: cityMove 22s ease-in-out infinite alternate;
}

.glass-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 21%, rgba(247, 217, 151, 0.28), transparent 24%),
    radial-gradient(circle at 86% 66%, rgba(150, 240, 223, 0.2), transparent 26%),
    radial-gradient(circle at 34% 82%, rgba(244, 154, 154, 0.13), transparent 28%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 42%);
  backdrop-filter: blur(1.5px);
}

.glass-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, transparent 0%, black 48%, black 100%);
}

.light-ribbon {
  position: absolute;
  width: 58vw;
  height: 20vh;
  border-radius: 999px;
  opacity: 0.46;
  filter: blur(24px);
  mix-blend-mode: screen;
}

.ribbon-one {
  right: -12vw;
  top: 15vh;
  background: linear-gradient(90deg, transparent, rgba(247, 217, 151, 0.55), rgba(150, 240, 223, 0.25), transparent);
  animation: ribbonDrift 12s ease-in-out infinite alternate;
}

.ribbon-two {
  right: 8vw;
  bottom: 12vh;
  background: linear-gradient(90deg, transparent, rgba(244, 154, 154, 0.3), rgba(247, 217, 151, 0.38), transparent);
  animation: ribbonDrift 16s ease-in-out infinite alternate-reverse;
}

.particle-field {
  position: absolute;
  inset: -20%;
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(247, 217, 151, 0.7) 0 1px, transparent 1.2px);
  background-size: 31px 37px, 67px 73px;
  animation: particleMove 18s linear infinite;
}

.clinical-card {
  position: absolute;
  right: clamp(-18px, 1.6vw, 34px);
  bottom: 23vh;
  width: min(32vw, 420px);
  min-width: 330px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.21), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 32px 100px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(26px) saturate(1.25);
  transform: rotate(10deg);
  animation: clinicalFloat 9s ease-in-out infinite;
}

.clinical-photo {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.02), rgba(5, 7, 11, 0.32)),
    url("https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=900&q=85");
  background-position: center;
  background-size: cover;
}

.clinical-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 8px 4px;
}

.clinical-caption span,
.clinical-caption strong {
  display: block;
}

.clinical-caption span {
  color: var(--champagne);
  font-family: Allura, cursive;
  font-size: 2rem;
  line-height: 0.9;
  white-space: nowrap;
}

.clinical-caption strong {
  max-width: 150px;
  color: var(--pearl);
  font-size: 0.76rem;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(1.35);
}

.brand,
.nav-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 217, 151, 0.46);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: var(--champagne);
  font-family: Newsreader, Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.brand-text {
  color: var(--pearl);
  font-family: Allura, cursive;
  font-size: 2.25rem;
  line-height: 1;
  text-shadow: 0 0 34px rgba(247, 217, 151, 0.3);
}

.nav-actions {
  gap: clamp(10px, 2vw, 28px);
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-actions a {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-actions a:hover {
  color: var(--pearl);
}

.nav-button {
  padding: 11px 16px;
  border: 1px solid rgba(247, 217, 151, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 445px);
  gap: clamp(32px, 5vw, 92px);
  align-items: center;
  max-width: 1260px;
  min-height: calc(100svh - 168px);
  margin: 0 auto;
  padding-top: 42px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.panel-label {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Newsreader, Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--pearl);
  font-size: clamp(5.2rem, 11vw, 10.4rem);
  font-weight: 600;
  line-height: 0.78;
  text-wrap: balance;
  text-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

h1 span {
  display: block;
  margin-bottom: -0.23em;
  color: var(--champagne);
  font-family: Allura, cursive;
  font-size: 0.86em;
  font-weight: 400;
  text-shadow: 0 0 36px rgba(247, 217, 151, 0.46);
}

.lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.68;
}

.hero-actions,
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 26px;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.86rem;
}

.hero-note span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(14px);
}

.primary-action,
.secondary-action,
.notify-form button {
  min-height: 52px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
}

.primary-action {
  background: linear-gradient(135deg, #fff7df, var(--champagne));
  color: #15100a;
  box-shadow: 0 18px 54px rgba(247, 217, 151, 0.26);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.095);
  color: var(--pearl);
  backdrop-filter: blur(16px);
}

.signup-panel {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08) 46%, rgba(255, 255, 255, 0.14)),
    rgba(10, 12, 16, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 34px 100px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(30px) saturate(1.45);
}

.signup-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
}

.signup-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.script-label {
  display: block;
  margin-bottom: 2px;
  color: var(--champagne);
  font-family: Allura, cursive;
  font-size: 3.45rem;
  line-height: 0.9;
  text-shadow: 0 0 26px rgba(247, 217, 151, 0.34);
}

.signup-panel h2 {
  margin-bottom: 28px;
  color: var(--pearl);
  font-size: clamp(1.84rem, 3vw, 2.62rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.notify-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.notify-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.notify-form input::placeholder {
  color: rgba(255, 250, 242, 0.44);
}

.notify-form input:focus {
  border-color: rgba(247, 217, 151, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 4px rgba(247, 217, 151, 0.14);
}

.notify-form button {
  border: 0;
  padding: 0 24px;
  background: linear-gradient(135deg, #fff7df, var(--champagne));
  color: #15100a;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(247, 217, 151, 0.2);
}

.notify-form button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--champagne);
  font-size: 0.9rem;
  line-height: 1.45;
}

.panel-footnote {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.5;
}

.glass-dock {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1260px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(26px) saturate(1.35);
}

.glass-dock div {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.08);
}

.glass-dock span,
.glass-dock strong {
  display: block;
}

.glass-dock span {
  margin-bottom: 7px;
  color: var(--champagne);
  font-family: Newsreader, Georgia, serif;
  font-size: 1rem;
}

.glass-dock strong {
  color: var(--pearl);
  font-size: 0.92rem;
}

.content-band,
.network-band {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 8vw, 118px) clamp(18px, 4vw, 72px);
}

.content-band {
  background:
    radial-gradient(circle at 16% 10%, rgba(247, 217, 151, 0.26), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(150, 240, 223, 0.16), transparent 27%),
    radial-gradient(circle at 52% 92%, rgba(244, 154, 154, 0.13), transparent 24%),
    linear-gradient(180deg, #07090d 0%, #111720 46%, #161018 100%);
  color: var(--ink);
}

.content-band::before,
.network-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
}

.content-band::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1120px, calc(100% - 36px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 217, 151, 0.54), transparent);
  transform: translateX(-50%);
}

.network-band::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 16%;
  z-index: -1;
  width: min(420px, 48vw);
  aspect-ratio: 1;
  border: 1px solid rgba(247, 217, 151, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 217, 151, 0.1), transparent 58%),
    conic-gradient(from 140deg, transparent, rgba(255, 255, 255, 0.12), transparent, rgba(150, 240, 223, 0.12), transparent);
  filter: blur(0.2px);
  opacity: 0.72;
}

.section-heading,
.network-copy,
.programming-board,
.stat-strip {
  max-width: 1260px;
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 28px 86px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(1.2);
}

.section-heading .eyebrow {
  color: var(--champagne);
}

.section-heading h2,
.network-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.96;
  text-wrap: balance;
}

.programming-board {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.feed-panel,
.event-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06) 58%, rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(24px) saturate(1.25);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feed-panel {
  min-height: 420px;
  padding: 28px;
}

.event-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 128px;
  padding: 24px;
}

.feed-panel::before,
.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24px 24px, rgba(247, 217, 151, 0.22), transparent 18%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 38%);
  opacity: 0.7;
  pointer-events: none;
}

.feed-panel::after,
.event-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 217, 151, 0.62), transparent);
}

.feed-panel:hover,
.event-card:hover {
  border-color: rgba(247, 217, 151, 0.34);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.21), rgba(255, 255, 255, 0.08) 58%, rgba(247, 217, 151, 0.13));
  transform: translateY(-4px);
}

.feed-header,
.feed-item,
.event-card > * {
  position: relative;
  z-index: 1;
}

.feed-header {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  margin-bottom: 28px;
}

.feed-header h3,
.event-card h3 {
  margin-bottom: 0;
  color: var(--pearl);
}

.feed-header h3 {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  font-weight: 500;
  line-height: 0.94;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(150, 240, 223, 0.28);
  border-radius: 999px;
  background: rgba(150, 240, 223, 0.1);
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(150, 240, 223, 0.9);
  animation: livePulse 1.5s ease-in-out infinite;
}

.feed-window {
  position: relative;
  min-height: 292px;
}

.feed-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 80% 10%, rgba(247, 217, 151, 0.18), transparent 32%);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.feed-item.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.feed-item span,
.event-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feed-item span {
  width: fit-content;
  margin-bottom: 18px;
  font-size: 0.78rem;
}

.feed-item strong {
  display: block;
  max-width: 100%;
  margin-bottom: 12px;
  color: var(--pearl);
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  font-weight: 500;
  line-height: 0.94;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.feed-item p,
.event-card p,
.network-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.event-stack {
  display: grid;
  gap: 14px;
}

.event-date {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(247, 217, 151, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-family: Newsreader, Georgia, serif;
  font-size: 0.9rem;
  backdrop-filter: blur(14px);
}

.event-card h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.network-band {
  background:
    radial-gradient(circle at 74% 18%, rgba(150, 240, 223, 0.14), transparent 24%),
    radial-gradient(circle at 18% 70%, rgba(247, 217, 151, 0.13), transparent 25%),
    linear-gradient(180deg, #161018 0%, #090b10 100%);
}

.network-copy {
  display: grid;
  grid-template-columns: 0.55fr 1fr 0.85fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(22px) saturate(1.18);
}

.network-copy p:last-child {
  color: var(--muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.065));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 34px 100px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(28px) saturate(1.3);
}

.stat-strip div {
  position: relative;
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.045);
  transition: background 220ms ease;
}

.stat-strip div::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 217, 151, 0.62), transparent);
  opacity: 0.55;
}

.stat-strip div:hover {
  background: rgba(247, 217, 151, 0.09);
}

.stat-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  color: var(--pearl);
  font-family: Allura, cursive;
  font-size: clamp(3.5rem, 6vw, 5.9rem);
  font-weight: 400;
  line-height: 0.85;
}

.stat-strip span {
  color: var(--champagne);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.975);
  filter: blur(8px);
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 800ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.site-footer {
  position: relative;
  isolation: isolate;
  padding: 44px clamp(18px, 4vw, 72px);
  background:
    radial-gradient(circle at 20% 0%, rgba(247, 217, 151, 0.13), transparent 28%),
    #05070b;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1120px, calc(100% - 36px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-50%);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(1.25);
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

@keyframes cityMove {
  from { transform: scale(1.02) translate3d(-0.8%, -0.4%, 0); }
  to { transform: scale(1.08) translate3d(1.2%, 0.8%, 0); }
}

@keyframes ribbonDrift {
  from { transform: translate3d(-4%, -8%, 0) rotate(-8deg); }
  to { transform: translate3d(7%, 8%, 0) rotate(7deg); }
}

@keyframes particleMove {
  to { transform: translate3d(8%, -6%, 0); }
}

@keyframes clinicalFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

@keyframes livePulse {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

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

  .reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .feed-item {
    position: relative;
    display: none;
    opacity: 1;
    transform: none;
  }

  .feed-item.is-active {
    display: flex;
  }
}

@media (max-width: 1000px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .network-copy {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 42px;
  }

  .signup-panel {
    max-width: 600px;
  }

  .clinical-card {
    right: -118px;
    bottom: 18vh;
    opacity: 0.46;
    transform: scale(0.9) rotate(12deg);
  }

  .programming-board,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 14px 14px 18px;
  }

  .topbar {
    padding: 10px;
    border-radius: 20px;
  }

  .nav-actions a:not(.nav-button) {
    display: none;
  }

  .nav-button {
    padding-inline: 13px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 1.85rem;
  }

  h1 {
    font-size: clamp(4.6rem, 23vw, 6.3rem);
  }

  .lede {
    font-size: 1.02rem;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .signup-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .clinical-card {
    display: none;
  }

  .input-row,
  .glass-dock,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .programming-board {
    grid-template-columns: 1fr;
  }

  .feed-panel {
    min-height: 380px;
    padding: 22px;
  }

  .feed-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .notify-form button {
    width: 100%;
  }

  .glass-dock {
    border-radius: 22px;
  }

  .stat-strip div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
