:root {
  --bg: #06050d;
  --bg-soft: #110d1d;
  --panel: rgba(19, 15, 30, 0.62);
  --panel-strong: rgba(24, 19, 38, 0.84);
  --line: rgba(210, 198, 255, 0.12);
  --line-strong: rgba(231, 224, 255, 0.3);
  --text: #f8f5ff;
  --muted: #b4abc8;
  --accent: #f0c6e4;
  --accent-strong: #fff3fb;
  --blue-accent: #c7d9ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shell-width: min(1120px, calc(100% - 2rem));
  --site-wallpaper-url: url("https://uconn.edu/wp-content/uploads/2022/08/Spring_fog_20220520_0009-crop.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 16%, rgba(248, 194, 229, 0.18), transparent 22%),
    radial-gradient(circle at 82% 8%, rgba(136, 138, 255, 0.14), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(119, 150, 255, 0.12), transparent 35%),
    linear-gradient(180deg, #080710 0%, #05040b 45%, #030308 100%);
}

body:not([data-page="home"]) {
  background: linear-gradient(180deg, #08111a 0%, #050912 50%, #02050b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 223, 239, 0.14), transparent 18%),
    radial-gradient(circle at 78% 14%, rgba(197, 211, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 34%);
  filter: blur(18px);
}

body:not([data-page="home"])::before {
  background:
    linear-gradient(180deg, rgba(4, 10, 18, 0.2), rgba(3, 8, 15, 0.64)),
    radial-gradient(circle at 20% 24%, rgba(255, 238, 231, 0.14), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(210, 230, 255, 0.14), transparent 20%);
  filter: none;
}

.wallpaper-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.1), rgba(6, 11, 18, 0.42)),
    var(--site-wallpaper-url) center center / cover no-repeat;
}

body:not([data-page="home"]) .wallpaper-layer {
  opacity: 1;
}

a {
  color: inherit;
}

.particles,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.particles {
  z-index: 0;
}

body:not([data-page="home"]) .particles {
  opacity: 0;
}

.noise {
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 20%, white 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, white 0 1px, transparent 1px),
    radial-gradient(circle at 45% 70%, white 0 1px, transparent 1px);
  background-size: 190px 190px;
}

body:not([data-page="home"]) .noise {
  opacity: 0.035;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: var(--shell-width);
  margin: 0 auto;
  padding-bottom: 3rem;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.22;
  z-index: -1;
}

.page-shell::before {
  top: 4rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(255, 206, 230, 0.6), transparent 65%);
}

.page-shell::after {
  right: -12rem;
  bottom: 2rem;
  background: radial-gradient(circle, rgba(160, 176, 255, 0.58), transparent 65%);
}

body:not([data-page="home"]) .page-shell::before,
body:not([data-page="home"]) .page-shell::after {
  opacity: 0.12;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 10;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  height: 5.05rem;
  min-height: 5.05rem;
  margin: 1rem auto 2rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 28%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(24, 34, 56, 0.26), rgba(10, 14, 24, 0.18)),
    rgba(12, 18, 30, 0.22);
  backdrop-filter: blur(30px) saturate(170%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.2),
    0 0 36px rgba(205, 221, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: clip;
  transform-origin: center top;
  transition:
    width 760ms cubic-bezier(0.16, 1, 0.3, 1),
    min-height 760ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 680ms cubic-bezier(0.16, 1, 0.3, 1),
    gap 680ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 720ms cubic-bezier(0.16, 1, 0.3, 1),
    background 420ms ease,
    box-shadow 480ms ease,
    transform 420ms ease;
}

.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.topbar::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 34%, transparent 72%),
    radial-gradient(circle at 14% 18%, rgba(255, 248, 252, 0.14), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(202, 223, 255, 0.16), transparent 30%);
  opacity: 0.95;
}

.topbar::after {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(240, 198, 228, 0.14),
    var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  min-width: 0;
  flex: 0 1 auto;
  transition:
    gap 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-photo {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 227, 241, 0.95), rgba(186, 206, 255, 0.85));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 30px rgba(248, 194, 229, 0.18);
  transition:
    width 700ms cubic-bezier(0.16, 1, 0.3, 1),
    height 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 460ms ease;
}

.brand-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  max-width: 20rem;
  overflow: hidden;
  text-decoration: none;
  transform-origin: left center;
  transition:
    max-width 600ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 440ms ease,
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 440ms ease;
}

.brand-text,
.nav a,
.button,
.typing-title,
.page-hero-card h1,
.feature-card h2,
.info-card h2,
.interest-copy h2,
.compact-card h2 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-subtext {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  --nav-collapsed-width: 6.8rem;
  --nav-expanded-width: 23rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 3.15rem;
  width: min(var(--nav-collapsed-width), 100%);
  max-width: min(100%, calc(100vw - 8rem));
  padding: 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(31, 41, 66, 0.24), rgba(10, 14, 24, 0.18)),
    rgba(10, 14, 24, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(205, 221, 255, 0.06);
  backdrop-filter: blur(24px) saturate(165%);
  overflow: clip;
  isolation: isolate;
  transform-origin: left center;
  transition:
    width 640ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms ease,
    padding 580ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 360ms ease,
    box-shadow 420ms ease,
    background 420ms ease,
    transform 420ms ease,
    filter 420ms ease;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 44%),
    radial-gradient(circle at 18% 50%, rgba(240, 198, 228, 0.12), transparent 42%),
    radial-gradient(circle at 82% 38%, rgba(199, 217, 255, 0.12), transparent 34%);
  opacity: 0.8;
  transition: opacity 320ms ease;
}

.nav.nav--expanded {
  width: min(var(--nav-expanded-width), calc(100vw - 8rem));
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(34, 45, 72, 0.26), rgba(11, 15, 26, 0.2)),
    rgba(10, 14, 24, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 48px rgba(0, 0, 0, 0.2),
    0 0 28px rgba(214, 196, 255, 0.08),
    0 0 22px rgba(205, 221, 255, 0.08);
  transform: translateY(-1px);
}

.nav.nav--expanded::before {
  opacity: 1;
}

.nav-home,
.nav-more {
  position: relative;
  z-index: 1;
}

.nav-more {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: max-content;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 3.25rem;
  padding: 0.55rem 0.85rem 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(33, 43, 70, 0.24), rgba(11, 16, 27, 0.18)),
    rgba(10, 14, 24, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.18);
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(240, 198, 228, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.18);
}

.nav-toggle__label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-toggle__icon {
  position: relative;
  display: inline-grid;
  gap: 0.23rem;
  width: 2.2rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms ease, opacity 180ms ease;
}

.topbar--mobile-open .nav-toggle__icon span:nth-child(1) {
  transform: translateY(4.7px) rotate(45deg);
}

.topbar--mobile-open .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.topbar--mobile-open .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-4.7px) rotate(-45deg);
}

.nav a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.96rem;
  white-space: nowrap;
  transition:
    color 180ms ease,
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 300ms ease,
    box-shadow 300ms ease;
}

.nav-home {
  flex: 0 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-more a {
  opacity: 0;
  transform: translateX(-0.85rem) scale(0.98);
  filter: blur(8px);
  pointer-events: none;
}

.nav.nav--revealed .nav-more a {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.nav.nav--revealed .nav-more a:nth-child(1) {
  transition-delay: 55ms;
}

.nav.nav--revealed .nav-more a:nth-child(2) {
  transition-delay: 105ms;
}

.nav.nav--revealed .nav-more a:nth-child(3) {
  transition-delay: 150ms;
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible,
.text-link:hover,
.contact-link:hover {
  color: var(--accent-strong);
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav a:focus-visible {
  outline: none;
}

body:not([data-page="home"]) .topbar--compact {
  width: 5.05rem;
  height: 5.05rem;
  min-height: 5.05rem;
  padding: 0.7rem;
  gap: 0;
  justify-content: center;
  border-radius: 999px;
  transform: scale(0.9802);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(28, 39, 64, 0.24), rgba(10, 14, 24, 0.18)),
    rgba(12, 18, 30, 0.22);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(199, 217, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body:not([data-page="home"]) .topbar--compact .brand {
  width: 100%;
  justify-content: center;
  gap: 0;
  transform: translateX(0);
}

body:not([data-page="home"]) .topbar--compact .brand-photo {
  width: 3.45rem;
  height: 3.45rem;
  transform: scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 36px rgba(248, 194, 229, 0.2);
  pointer-events: none;
}

body:not([data-page="home"]) .topbar--compact .brand-copy {
  max-width: 0;
  opacity: 0;
  filter: blur(10px);
  transform: translateX(1rem);
}

body:not([data-page="home"]) .topbar--compact .nav {
  width: 0;
  min-width: 0;
  padding: 0;
  opacity: 0;
  filter: blur(10px);
  transform: translateX(1rem) scale(0.96);
  border-color: transparent;
  box-shadow: none;
  pointer-events: none;
}

body:not([data-page="home"]) .topbar--compact .nav::before {
  opacity: 0;
}

body:not([data-page="home"]) .topbar--compact .nav a {
  opacity: 0;
  transform: translateX(0.9rem) scale(0.96);
  filter: blur(8px);
  pointer-events: none;
}

.nav-guide {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.nav-guide__halo,
.nav-guide__spotlight,
.nav-guide__hint {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}

.nav-guide__halo {
  border-radius: 999px;
  background: radial-gradient(
    circle at center,
    rgba(230, 238, 255, 0.18) 0%,
    rgba(240, 198, 228, 0.12) 36%,
    rgba(152, 175, 255, 0.09) 56%,
    rgba(5, 6, 12, 0) 74%
  );
  filter: blur(20px);
  transform: translateY(-0.55rem) scale(0.88);
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-guide__spotlight {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(42, 34, 60, 0.28), rgba(14, 12, 24, 0.14)),
    rgba(8, 9, 18, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 26px 62px rgba(0, 0, 0, 0.26),
    0 0 44px rgba(214, 196, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(130%);
  filter: blur(8px);
  transform: translateY(-0.35rem) scale(0.92);
  transition:
    opacity 480ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 480ms ease,
    filter 480ms ease;
}

.nav-guide__spotlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 246, 251, 0.18), transparent 46%),
    radial-gradient(circle at 78% 50%, rgba(195, 208, 255, 0.16), transparent 38%);
  opacity: 0.9;
}

.nav-guide__spotlight-label {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 1.75rem);
  overflow: hidden;
  color: rgba(255, 243, 251, 0.82);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-guide__hint {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(25, 20, 39, 0.94), rgba(12, 10, 22, 0.9)),
    rgba(8, 12, 24, 0.92);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(199, 217, 255, 0.08);
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  filter: blur(10px);
  transform: translateY(0.5rem) scale(0.96);
  transition:
    opacity 440ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 640ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 440ms ease;
}

.nav-guide__hint::before {
  content: "";
  position: absolute;
  top: -0.38rem;
  right: 1.6rem;
  width: 0.72rem;
  height: 0.72rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 18, 34, 0.95);
  transform: rotate(45deg);
}

.nav-guide.is-visible .nav-guide__halo,
.nav-guide.is-visible .nav-guide__spotlight,
.nav-guide.is-visible .nav-guide__hint {
  opacity: 1;
}

.nav-guide.is-visible .nav-guide__halo,
.nav-guide.is-visible .nav-guide__spotlight {
  transform: none;
}

.nav-guide.is-visible .nav-guide__spotlight,
.nav-guide.is-visible .nav-guide__hint {
  filter: blur(0);
}

.nav-guide.is-visible .nav-guide__hint {
  transform: translateY(0);
}

.nav-guide.is-visible .nav-guide__halo {
  animation: nav-guide-breathe 3.2s ease-in-out infinite;
}

.nav-guide.is-visible .nav-guide__hint {
  animation: nav-guide-float 3s ease-in-out infinite 180ms;
}

.nav-guide.is-dismissing .nav-guide__halo {
  opacity: 0;
  transform: scale(1.08);
}

.nav-guide.is-dismissing .nav-guide__spotlight {
  opacity: 0;
  transform: scale(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 38px rgba(0, 0, 0, 0.2),
    0 0 16px rgba(214, 196, 255, 0.05);
}

.nav-guide.is-dismissing .nav-guide__hint {
  opacity: 0;
  transform: translateY(-0.25rem) scale(0.98);
}

.section {
  padding: 2rem 0;
}

.panel {
  position: relative;
  --pointer-x: 50%;
  --pointer-y: 50%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(28, 22, 42, 0.74), rgba(14, 11, 24, 0.72)),
    rgba(19, 15, 30, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.panel::before {
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(255, 236, 246, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%);
}

.panel::after {
  border: 1px solid rgba(255, 255, 255, 0.03);
  background: linear-gradient(135deg, rgba(199, 217, 255, 0.08), transparent 48%);
}

.panel:hover {
  border-color: var(--line-strong);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.lede,
.panel p,
.section-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero {
  display: grid;
  gap: 1.3rem;
}

.hero-home {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: stretch;
  min-height: calc(100vh - 10rem);
}

.hero-home-minimal {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-items: center;
}

.hero-copy,
.page-hero-card,
.feature-card,
.info-card,
.interest-card,
.contact-card,
.compact-card {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.typing-title,
.page-hero-card h1 {
  margin: 0.45rem 0 0;
  font-size: clamp(2.9rem, 8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 40px rgba(255, 219, 239, 0.08);
}

.hero-copy-minimal {
  position: relative;
  isolation: isolate;
  min-height: min(58vh, 560px);
  display: grid;
  place-items: center;
  text-align: center;
}

body[data-page="home"] .hero-copy-minimal[data-hero-combat] {
  --hero-health: 1;
  --impact-x: 50%;
  --impact-y: 50%;
  cursor: pointer;
  overflow: visible;
  user-select: none;
}

body[data-page="home"] .hero-copy-minimal[data-hero-combat]:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(240, 198, 228, 0.16),
    var(--shadow);
}

.hero-health,
.hero-impact,
.hero-damage-particles,
.hero-fragments {
  position: absolute;
  pointer-events: none;
}

.hero-health {
  top: 1rem;
  left: 50%;
  z-index: 3;
  width: min(250px, calc(100% - 3rem));
  opacity: 0;
  transform: translate(-50%, -0.85rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-copy--engaged .hero-health {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-health__track {
  display: block;
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-health__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--hero-health));
  transform-origin: left center;
  background: linear-gradient(90deg, #ff9abf 0%, #ffd6ee 52%, #d7dcff 100%);
  box-shadow:
    0 0 18px rgba(255, 197, 224, 0.35),
    0 0 30px rgba(195, 208, 255, 0.22);
  transition: transform 180ms ease-out, filter 180ms ease-out;
}

.hero-copy--critical .hero-health__fill {
  filter: saturate(1.2) hue-rotate(-18deg);
}

.hero-copy--hit {
  border-color: rgba(255, 226, 239, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 231, 243, 0.08),
    0 0 42px rgba(255, 175, 213, 0.16),
    var(--shadow);
}

.hero-copy--hit .typing-title {
  animation: hero-text-jolt 210ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-impact {
  inset: 10% 14%;
  z-index: 2;
  opacity: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at var(--impact-x) var(--impact-y), rgba(255, 237, 247, 0.14), transparent 18%),
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.06) 48% 52%, transparent 52% 100%),
    linear-gradient(transparent 0 48%, rgba(255, 255, 255, 0.06) 48% 52%, transparent 52% 100%);
  background-size: 100% 100%, 18px 18px, 18px 18px;
  mix-blend-mode: plus-lighter;
}

.hero-copy--hit .hero-impact {
  animation: hero-impact-burst 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-damage-particles,
.hero-fragments {
  inset: 0;
  overflow: visible;
}

.hero-damage-particles {
  z-index: 4;
}

.hero-damage-particle {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size, 8px);
  height: var(--size, 8px);
  border-radius: 1px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 237, 247, 0.94), rgba(233, 200, 225, 0.86)),
    linear-gradient(180deg, rgba(31, 24, 44, 0.92), rgba(17, 13, 29, 0.94));
  box-shadow:
    inset 0 -1px 0 rgba(30, 20, 42, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translate3d(var(--origin-x, 0px), var(--origin-y, 0px), 0) scale(1);
  animation: hero-debris-fall 520ms steps(5, end) forwards;
}

.hero-fragments {
  z-index: 5;
  opacity: 0;
}

.hero-fragment {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  background:
    linear-gradient(180deg, rgba(33, 27, 49, 0.92), rgba(15, 12, 25, 0.92)),
    linear-gradient(90deg, rgba(255, 240, 248, 0.08), transparent 55%),
    rgba(19, 15, 30, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(8, 6, 15, 0.48),
    0 2px 0 rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  transform-origin: center center;
}

.hero-copy--destroying {
  pointer-events: none;
  overflow: visible;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy--destroying::before,
.hero-copy--destroying::after {
  opacity: 0;
  transition: opacity 120ms ease;
}

.hero-copy--destroying .typing-title {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-copy--destroying .hero-health {
  opacity: 0;
  transform: translate(-50%, -1rem);
}

.hero-copy--destroying .hero-fragments {
  opacity: 1;
}

.hero-copy--destroying .hero-fragment {
  opacity: 0.98;
  animation: hero-fragment-fall 680ms steps(7, end) forwards;
  animation-delay: var(--delay, 0ms);
}

body[data-page="home"] .hero-copy-minimal.hero-copy--destroying.reveal.is-visible,
body[data-page="home"] .hero-copy-minimal.hero-copy--destroyed.reveal.is-visible {
  opacity: 1;
  filter: none;
}

.hero-copy--destroyed {
  visibility: hidden;
  pointer-events: none;
}

.hero-copy--respawning {
  visibility: visible;
  pointer-events: none;
  transition: none;
  animation: hero-respawn 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-copy--respawning .typing-title {
  animation: hero-respawn-text 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.typing-target::after {
  content: "";
  display: inline-block;
  width: 0.12em;
  height: 0.95em;
  margin-left: 0.08em;
  vertical-align: -0.05em;
  background: var(--accent-strong);
  animation: blink 900ms infinite;
}

.page-hero-card h1,
.feature-card h2,
.info-card h2,
.interest-copy h2,
.compact-card h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  line-height: 1.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.online-presence-card {
  display: flex;
  flex-direction: column;
}

.online-presence-actions {
  margin-top: auto;
  padding-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #140e1d;
  background: linear-gradient(135deg, #fff2fb, #e6cbff 48%, #bfd2ff);
  box-shadow: 0 16px 40px rgba(255, 204, 233, 0.18);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.hero-side {
  display: grid;
}

.compact-card h2 {
  max-width: 14ch;
}

.stat-list,
.chip-list,
.detail-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.stat-list {
  display: grid;
  gap: 0.85rem;
}

.stat-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.stat-list strong {
  font-size: 0.98rem;
}

.section-grid,
.card-grid,
.interest-grid,
.highlight-grid,
.contact-stack,
.scoreboard-grid,
.two-column {
  display: grid;
  gap: 1.2rem;
}

.section-grid,
.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card h2,
.info-card h2 {
  max-width: 16ch;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.page-hero-card {
  max-width: 880px;
}

body[data-page="about"] .page-hero {
  display: flex;
  justify-content: center;
}

body[data-page="about"] .page-hero-card {
  width: min(100%, 880px);
  text-align: center;
}

.two-column {
  grid-template-columns: 1.15fr 0.85fr;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip-list li,
.detail-list li {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.detail-list.stacked {
  display: grid;
  gap: 0.7rem;
}

.detail-list.stacked li {
  border-radius: var(--radius-sm);
}

.interest-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interest-card {
  overflow: hidden;
}

.highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card {
  overflow: hidden;
}

.highlight-card__media {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 228, 242, 0.08), rgba(187, 207, 255, 0.06));
}

.highlight-card__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.highlight-card__body,
.highlight-card__empty {
  padding: 1.25rem;
}

.highlight-card__body {
  display: grid;
  gap: 0.75rem;
}

.highlight-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.highlight-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-card__date {
  color: var(--muted);
  font-size: 0.9rem;
}

.highlight-card__title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.highlight-card__team {
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.highlight-card__channel,
.highlight-card__fallback {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.highlight-card__scorebox {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-card__scorehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.highlight-card__scorelabel {
  color: var(--accent-strong);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-card__scoredate {
  color: var(--muted);
  font-size: 0.86rem;
}

.highlight-card__scorerows {
  display: grid;
  gap: 0.45rem;
}

.highlight-card__scorerow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.highlight-card__scorerow strong {
  font-size: 1.12rem;
}

.highlight-card__scorerow--favorite {
  color: var(--accent-strong);
}

.highlight-card__link {
  display: inline-flex;
  margin-top: 0.25rem;
  color: var(--blue-accent);
  text-decoration: none;
  font-weight: 600;
}

.highlight-card__empty {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.highlight-card__empty h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.highlight-card__empty p:last-child {
  margin: 0;
  color: var(--muted);
}

.interest-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  margin-bottom: 1rem;
}

.interest-copy h2 {
  max-width: 16ch;
}

.scoreboard-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.score-card {
  padding: 1.25rem;
}

.score-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.score-top h3 {
  margin: 0.4rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.score-date {
  color: var(--muted);
  font-size: 0.88rem;
}

.score-line {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.score-row strong {
  font-size: 1.35rem;
}

.score-row.is-favorite {
  color: var(--accent-strong);
}

.linescore {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.linescore th,
.linescore td {
  padding: 0.5rem 0.45rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.linescore th:first-child,
.linescore td:first-child {
  text-align: left;
  padding-left: 0.75rem;
}

.linescore thead {
  color: var(--muted);
}

.score-notes {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.score-source {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--blue-accent);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--accent-strong);
  text-decoration: none;
  word-break: break-word;
}

.section-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  max-width: 18ch;
}

.footer {
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 0.45rem;
}

.footer-tech {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.footer-tech__item {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.footer-tech__link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 240ms ease, opacity 240ms ease;
}

.footer-tech__link:hover {
  color: var(--text);
}

.footer-tech__link:focus-visible {
  outline: none;
  color: var(--text);
}

.footer-tech__label {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.footer-tech__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16rem;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.88;
  transform: scaleX(0);
  transform-origin: center center;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-tech__link:hover .footer-tech__label::after,
.footer-tech__link:focus-visible .footer-tech__label::after {
  transform: scaleX(1);
}

.footer-tech__logo {
  width: 0.98rem;
  height: 0.98rem;
  flex: 0 0 auto;
  display: block;
}

.reveal {
  opacity: 0.38;
  filter: blur(12px);
  transform: scale(1.02);
  transform-origin: center center;
  will-change: opacity, transform, filter;
  transition:
    opacity 1180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1180ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes hero-impact-burst {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }

  35% {
    opacity: 1;
    transform: scale(1.01);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes hero-text-jolt {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(0.985);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes hero-debris-fall {
  0% {
    opacity: 0;
    transform: translate3d(var(--origin-x, 0px), var(--origin-y, 0px), 0) scale(1);
  }

  15% {
    opacity: 1;
    transform: translate3d(
        var(--drift-x-mid, var(--origin-x, 0px)),
        var(--lift-y, var(--origin-y, 0px)),
        0
      )
      scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(
        calc(var(--origin-x, 0px) + var(--drift-x, 0px)),
        calc(var(--origin-y, 0px) + var(--fall-y, 40px)),
        0
      )
      scale(0.84);
  }
}

@keyframes hero-fragment-fall {
  0% {
    opacity: 0.96;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }

  18% {
    opacity: 1;
    transform:
      translate3d(var(--tx-mid, 0px), var(--lift, -22px), 0)
      scale(1)
      rotate(var(--rot-mid, 0deg));
  }

  100% {
    opacity: 0;
    transform:
      translate3d(var(--tx, 0px), var(--ty, 0px), 0)
      scale(0.9)
      rotate(var(--rot, 0deg));
  }
}

@keyframes hero-respawn {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: scale(1.03);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes hero-respawn-text {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes nav-guide-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

@keyframes nav-guide-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.18rem);
  }
}

@media (max-width: 980px) {
  .hero-home,
  .section-grid,
  .two-column,
  .interest-grid,
  .highlight-grid,
  .contact-stack,
  .scoreboard-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: auto;
  }

  .section-heading h2,
  .typing-title,
  .page-hero-card h1 {
    max-width: none;
  }

  .topbar {
    border-radius: 28px;
    margin-bottom: 1.6rem;
  }

  .nav {
    width: auto;
    max-width: 100%;
  }

  .nav-more a {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }

  .hero-copy,
  .page-hero-card,
  .feature-card,
  .info-card,
  .interest-card,
  .contact-card,
  .compact-card {
    padding: clamp(1.2rem, 2.8vw, 1.7rem);
  }
}

@media (max-width: 768px) {
  .nav-guide__hint {
    padding: 0.75rem 0.9rem;
    font-size: 0.8rem;
  }

  .nav-guide__hint::before {
    right: calc(50% - 0.36rem);
  }

  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-bottom: 2rem;
  }

  .page-shell::before,
  .page-shell::after {
    width: 22rem;
    height: 22rem;
    filter: blur(60px);
  }

  .topbar {
    position: static;
    height: auto;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 0.75rem auto 1.4rem;
    padding: 0.9rem;
    border-radius: 28px;
  }

  .brand {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .brand-photo {
    width: 2.85rem;
    height: 2.85rem;
  }

  .brand-copy {
    max-width: min(100%, 14rem);
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    width: min(10rem, 100%);
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 0.5rem;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
    min-height: 0;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    border-color: transparent;
    box-shadow: none;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-0.55rem);
    transition:
      max-height 320ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 220ms ease,
      transform 260ms ease,
      padding 260ms ease,
      margin-top 260ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease;
  }

  .topbar--mobile-open .nav {
    max-height: 18rem;
    margin-top: 0.1rem;
    padding: 0.4rem;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 18px 42px rgba(0, 0, 0, 0.16);
    opacity: 1;
    overflow: clip;
    pointer-events: auto;
    transform: none;
  }

  .nav-home,
  .nav-more {
    width: 100%;
  }

  .nav-more {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
  }

  .nav a {
    width: 100%;
    min-height: 3.35rem;
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-more a {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }

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

  .brand-subtext {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .section {
    padding: 1.15rem 0;
  }

  .hero-home-minimal {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .hero-copy-minimal {
    min-height: min(50vh, 420px);
    padding: 1.25rem;
  }

  .hero-copy,
  .page-hero-card,
  .feature-card,
  .info-card,
  .interest-card,
  .contact-card,
  .compact-card {
    padding: 1.15rem;
  }

  .typing-title,
  .page-hero-card h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .page-hero-card h1,
  .feature-card h2,
  .info-card h2,
  .interest-copy h2,
  .compact-card h2,
  .section-heading h2 {
    max-width: none;
  }

  body[data-page="about"] .page-hero-card {
    text-align: left;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 3.2rem;
  }

  .highlight-card__body,
  .highlight-card__empty,
  .score-card {
    padding: 1rem;
  }

  .highlight-card__top,
  .score-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-card__title {
    font-size: 1.12rem;
  }

  .stat-list li,
  .chip-list li,
  .detail-list li,
  .highlight-card__scorebox {
    padding: 0.8rem 0.9rem;
  }

  .section-heading {
    gap: 0.4rem;
    margin-bottom: 0.85rem;
  }

  .section-heading h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .contact-link {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .contact-link,
  .highlight-card__link,
  .score-source,
  .footer-tech__link {
    min-height: 2.75rem;
    align-items: center;
  }

  .footer {
    padding-top: 0.6rem;
    text-align: center;
  }

  .footer-tech {
    justify-content: center;
    gap: 0.55rem;
  }

  .reveal {
    filter: blur(7px);
    transition:
      opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
      filter 720ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-impact,
  .hero-damage-particles,
  .hero-fragments {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .nav-more a {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }

  .panel:hover {
    border-color: var(--line);
  }

  .button:hover {
    transform: none;
  }

  .footer-tech__link:hover {
    color: var(--accent-strong);
  }

  .footer-tech__link:hover .footer-tech__label::after {
    transform: scaleX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-guide__halo,
  .nav-guide__spotlight,
  .nav-guide__hint {
    animation: none;
    transition: opacity 180ms ease;
    transform: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .hero-health {
    transition: opacity 160ms ease;
    transform: translate(-50%, 0);
  }

  .hero-health__fill,
  .hero-copy--destroying .typing-title,
  .hero-copy--respawning,
  .hero-copy--respawning .typing-title {
    transition: none;
    animation: none;
  }

  .hero-impact,
  .hero-damage-particles,
  .hero-fragments {
    display: none;
  }

  body[data-page="home"] .hero-copy-minimal.hero-copy--destroying.reveal.is-visible,
  body[data-page="home"] .hero-copy-minimal.hero-copy--destroyed.reveal.is-visible {
    opacity: 0;
    filter: none;
  }

  .nav,
  .nav a,
  .nav-more a {
    transition: none;
  }
}
