@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Crimson+Pro:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS 变量 & 重置
   ============================================================ */
:root {
  --green: #87ff71;
  --blue: #01cdfe;
  --dark: #192617;
  --dark2: #0f1a0e;
  --dark3: #1e2f1c;
  --purple: #b967ff;
  --pink: #ff71ce;
  --glass-bg: rgba(25, 38, 23, 0.65);
  --glass-border: rgba(135, 255, 113, 0.18);
  --glass-border-blue: rgba(1, 205, 254, 0.22);
  --radius-card: 28px;
  --radius-btn: 999px;
  --font-body: 'Atkinson Hyperlegible', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-display: 'Crimson Pro', 'STSong', Georgia, serif;
  --nav-h: 64px;
  --ticker-h: 36px;
  --header-total: calc(var(--nav-h) + var(--ticker-h));
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--dark2);
  color: #d6f5d0;
}

div[id] {
  scroll-margin-top: calc(var(--header-total) + 12px);
}

body.vaporwave-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--dark2);
  color: #d6f5d0;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ============================================================
   VHS 扫描线 & 噪点
   ============================================================ */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.07) 2px,
    rgba(0, 0, 0, 0.07) 4px
  );
  animation: scanlines-drift 8s linear infinite;
}

@keyframes scanlines-drift {
  0% { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ============================================================
   顶部公告栏
   ============================================================ */
.header-ticker {
  height: var(--ticker-h);
  background: linear-gradient(90deg, var(--dark2) 0%, #0d2b0a 50%, var(--dark2) 100%);
  border-bottom: 1px solid rgba(135, 255, 113, 0.25);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-text {
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--green);
  text-shadow: 0 0 8px rgba(135, 255, 113, 0.6);
  padding: 0 1rem;
  animation: ticker-scroll 30s linear infinite;
  display: inline-block;
}

@keyframes ticker-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   Header / 导航
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 20, 9, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(1, 205, 254, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 12px rgba(135, 255, 113, 0.7), 0 0 24px rgba(135, 255, 113, 0.3);
  letter-spacing: 0.05em;
}

/* details/summary 导航 */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-details {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.nav-details[open] > .nav-menu {
  display: flex;
}

/* 桌面端：details 始终"展开"外观 */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .nav-details > .nav-menu {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0;
    flex-direction: row;
    align-items: center;
  }
  .nav-details {
    display: flex;
    align-items: center;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  color: var(--blue);
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  min-height: 40px;
  border: 1px solid var(--glass-border-blue);
  border-radius: var(--radius-btn);
  user-select: none;
  transition: background var(--transition);
}

.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle::marker { display: none; }

.nav-toggle:hover {
  background: rgba(1, 205, 254, 0.1);
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: calc(var(--nav-h) - 8px);
  right: 0;
  background: rgba(10, 20, 9, 0.97);
  border: 1px solid rgba(1, 205, 254, 0.25);
  border-radius: 16px;
  padding: 0.75rem;
  min-width: 200px;
  backdrop-filter: blur(20px);
  z-index: 200;
}

@media (min-width: 768px) {
  .nav-menu {
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: unset;
    gap: 0;
    backdrop-filter: none;
  }
}

.nav-link {
  display: block;
  text-decoration: none;
  color: #b8e8b0;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition), background var(--transition), text-shadow var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--green);
  background: rgba(135, 255, 113, 0.08);
  text-shadow: 0 0 8px rgba(135, 255, 113, 0.5);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1a08 0%, #0d1f2d 50%, #1a0a25 100%);
}

/* 斜切分割 */
.hero-slash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 48%,
    rgba(1, 205, 254, 0.06) 48%,
    rgba(1, 205, 254, 0.03) 52%,
    transparent 52%
  );
}

/* 图形区 左侧 */
.hero-figure {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
}

/* Retro grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(135, 255, 113, 0.08) 100%),
    linear-gradient(rgba(135, 255, 113, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 255, 113, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 50px 50px, 50px 50px;
  transform: perspective(400px) rotateX(25deg);
  transform-origin: bottom center;
  animation: grid-pulse 6s ease-in-out infinite alternate;
}

@keyframes grid-pulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(135, 255, 113, 0.35) 0%, transparent 70%);
  top: 20%; left: 10%;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(1, 205, 254, 0.3) 0%, transparent 70%);
  top: 55%; left: 40%;
  animation-delay: -3s;
}

.hero-glow-3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(185, 103, 255, 0.3) 0%, transparent 70%);
  top: 10%; left: 55%;
  animation-delay: -6s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.08); }
}

.hero-retro-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(1, 205, 254, 0.04) 60px,
    rgba(1, 205, 254, 0.04) 61px
  );
}

/* Hero aside（左侧装饰文字） */
.hero-aside {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.aside-badge {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--green);
  text-shadow:
    0 0 20px rgba(135, 255, 113, 0.8),
    0 0 40px rgba(135, 255, 113, 0.4),
    0 0 80px rgba(135, 255, 113, 0.2);
  line-height: 1;
  letter-spacing: -0.02em;
}

.aside-tagline {
  font-size: 0.85rem;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-shadow: 0 0 10px rgba(1, 205, 254, 0.6);
  line-height: 1.8;
}

/* Glitch effect */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: 700;
}

.glitch-text::before {
  color: var(--pink);
  animation: glitch-a 4s infinite steps(1);
  clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
}

.glitch-text::after {
  color: var(--blue);
  animation: glitch-b 4s infinite steps(1);
  clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
}

@keyframes glitch-a {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  91% { transform: translate(-3px, 1px); opacity: 1; }
  93% { transform: translate(3px, -1px); opacity: 1; }
  95% { transform: translate(0); opacity: 0; }
}

@keyframes glitch-b {
  0%, 88%, 100% { transform: translate(0); opacity: 0; }
  89% { transform: translate(3px, 2px); opacity: 1; }
  92% { transform: translate(-3px, -1px); opacity: 1; }
  94% { transform: translate(0); opacity: 0; }
}

/* Hero 右侧文案 */
.hero-content {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 4;
  padding: 2rem 3rem 2rem 2rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: flex-end;
  font-size: 0.78rem;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(1, 205, 254, 0.5);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
  display: inline-block;
  animation: dot-pulse 2s ease-in-out infinite;
}

.eyebrow-dot:last-child {
  animation-delay: -1s;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-shadow:
    0 0 20px rgba(135, 255, 113, 0.5),
    0 2px 40px rgba(0, 0, 0, 0.5);
  max-width: 560px;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(214, 245, 208, 0.75);
  max-width: 420px;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.8rem;
  min-height: 48px;
  border-radius: var(--radius-btn);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, #5fd94a 100%);
  color: var(--dark2);
  box-shadow: 0 0 24px rgba(135, 255, 113, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(135, 255, 113, 0.8), 0 8px 24px rgba(0, 0, 0, 0.4);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  box-shadow: 0 0 16px rgba(1, 205, 254, 0.25), inset 0 0 16px rgba(1, 205, 254, 0.05);
}

.btn-outline:hover {
  background: rgba(1, 205, 254, 0.1);
  box-shadow: 0 0 30px rgba(1, 205, 254, 0.5);
}

.btn-lg {
  font-size: 1.1rem;
  padding: 0.9rem 2.4rem;
  min-height: 56px;
}

/* ============================================================
   内容区 main > section > aside/figure
   ============================================================ */
.site-main {
  position: relative;
  z-index: 2;
}

.content-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  align-items: start;
}

/* 侧边栏在左 */
.content-aside {
  position: sticky;
  top: calc(var(--header-total) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* 玻璃拟态卡片 */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
  border-color: rgba(135, 255, 113, 0.35);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(135, 255, 113, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.aside-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-shadow: 0 0 6px rgba(1, 205, 254, 0.5);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.aside-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aside-nav-link {
  display: block;
  text-decoration: none;
  color: rgba(214, 245, 208, 0.75);
  font-size: 0.88rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color var(--transition), background var(--transition);
  border-left: 2px solid transparent;
}

.aside-nav-link:hover {
  color: var(--green);
  background: rgba(135, 255, 113, 0.06);
  border-left-color: var(--green);
  text-shadow: 0 0 6px rgba(135, 255, 113, 0.4);
}

/* 统计卡片 */
.stat-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(135, 255, 113, 0.08);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.neon-green {
  color: var(--green);
  text-shadow: 0 0 12px rgba(135, 255, 113, 0.7);
}

.neon-blue {
  color: var(--blue);
  text-shadow: 0 0 12px rgba(1, 205, 254, 0.7);
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(214, 245, 208, 0.55);
}

/* 内容区装饰 */
.content-body {
  position: relative;
  min-width: 0;
}

.content-decoration {
  position: absolute;
  top: -2rem;
  right: -1rem;
  width: 6px;
  height: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  pointer-events: none;
}

.deco-bar {
  flex: 1;
  border-radius: 3px;
}

.deco-bar-1 {
  background: linear-gradient(180deg, var(--green), transparent);
  box-shadow: 0 0 8px rgba(135, 255, 113, 0.5);
}

.deco-bar-2 {
  background: linear-gradient(180deg, var(--blue), transparent);
  box-shadow: 0 0 8px rgba(1, 205, 254, 0.5);
}

/* ============================================================
   page.content 内部样式（正文 HTML）
   ============================================================ */
.page-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(214, 245, 208, 0.88);
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 16px rgba(135, 255, 113, 0.4);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(135, 255, 113, 0.2);
  letter-spacing: 0.02em;
}

.page-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
  text-shadow: 0 0 10px rgba(1, 205, 254, 0.35);
  margin: 2rem 0 0.75rem;
}

.page-content p {
  margin-bottom: 1.2rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition), text-shadow var(--transition);
}

.page-content a:hover {
  color: var(--green);
  text-shadow: 0 0 8px rgba(135, 255, 113, 0.5);
}

.page-content strong {
  color: var(--green);
  font-weight: 700;
}

.page-content em {
  color: var(--blue);
  font-style: italic;
}

.page-content blockquote {
  border-left: 3px solid var(--purple);
  padding-left: 1.2rem;
  color: rgba(214, 245, 208, 0.65);
  font-style: italic;
  margin: 1.5rem 0;
}

/* section 内容区块样式 */
.page-content section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(135, 255, 113, 0.08);
  position: relative;
}

.page-content section:last-of-type {
  border-bottom: none;
}

.page-content section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1.5rem;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--blue), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.page-content div:hover::before {
  opacity: 0.4;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(1, 205, 254, 0.15);
  margin-top: 2rem;
}

/* CTA 块 */
.footer-cta {
  background: linear-gradient(135deg, rgba(135, 255, 113, 0.06) 0%, rgba(1, 205, 254, 0.06) 100%);
  border-bottom: 1px solid rgba(135, 255, 113, 0.12);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-shadow: 0 0 6px rgba(1, 205, 254, 0.5);
  text-transform: uppercase;
}

.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 24px rgba(135, 255, 113, 0.3);
}

/* 版权栏 */
.footer-bottom {
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.3);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  font-size: 0.9rem;
  text-shadow: 0 0 8px rgba(135, 255, 113, 0.4);
}

.footer-sep {
  color: rgba(214, 245, 208, 0.3);
}

.footer-copy,
.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(214, 245, 208, 0.45);
}

/* ============================================================
   Scroll Reveal 动效
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scanlines { animation: none; }
  .ticker-text { animation: none; }
  .hero-glow-orb { animation: none; }
  .hero-grid-bg { animation: none; }
  .glitch-text::before,
  .glitch-text::after { animation: none; opacity: 0; }
  .eyebrow-dot { animation: none; }
}

/* ============================================================
   移动端
   ============================================================ */
@media (max-width: 900px) {
  .content-section {
    grid-template-columns: 1fr;
    padding: 2.5rem 1rem;
  }
  .content-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .glass-card {
    flex: 1;
    min-width: 220px;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 60px;
    --ticker-h: 32px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 100vh;
    padding-top: 2rem;
  }

  .hero-figure {
    grid-column: 1;
    grid-row: 1;
    position: absolute;
    inset: 0;
    min-height: unset;
    height: 100%;
  }

  .hero-aside {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    left: unset;
    top: unset;
    transform: none;
    z-index: 3;
    padding: 1.5rem 1rem 0;
    align-self: start;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .aside-badge {
    font-size: 2.2rem;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    align-items: flex-start;
    padding: 5rem 1.25rem 3rem;
    margin-top: auto;
    position: relative;
    z-index: 4;
    align-self: center;
    margin-top: 6rem;
  }

  .hero-eyebrow {
    justify-content: flex-start;
  }

  .hero-cta-row {
    justify-content: flex-start;
  }

  .hero-h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .content-aside {
    flex-direction: column;
  }

  .glass-card {
    min-width: unset;
  }

  .footer-cta {
    padding: 2.5rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 1rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 4rem 1rem 2.5rem;
  }

  .content-section {
    padding: 2rem 1rem;
  }
}
