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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

/* ============ VARIABLES ============ */
:root {
  --color-bg: #0a1128;
  --color-bg-2: #1a2340;
  --color-bg-3: #131d38;
  --color-accent: #ff6b35;
  --color-volt: #c8f542;
  --color-text: #d0d7e5;
  --color-muted: #5a6b8c;
  --color-link: #00e5ff;
  --color-white: #f8fafc;
  --color-accent-raw: #ff6b35;
  --color-volt-raw: #c8f542;
  --font-display: 'Barlow Condensed', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  --container-w: 1240px;
  --gutter: max(24px, calc((100vw - var(--container-w)) / 2));
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ BASE ============ */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(0, 229, 255, 0.1), transparent 60%),
    radial-gradient(760px 420px at -8% 18%, rgba(255, 107, 53, 0.07), transparent 55%),
    var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

#main-content {
  flex: 1 0 auto;
  width: 100%;
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(38px, 5.6vw, 64px);
}

h2 {
  font-size: clamp(26px, 3.6vw, 40px);
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

h1,
h2 {
  font-style: oblique;
  font-style: oblique 2deg;
}

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--color-volt);
}

:focus-visible {
  outline: 2px solid var(--color-volt);
  outline-offset: 3px;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: #26335a;
  border-radius: 8px;
  border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

[hidden] {
  display: none !important;
}

/* ============ CONTAINER & GRID ============ */
.container {
  width: min(var(--container-w), calc(100% - 48px));
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.28);
}

.btn--primary:hover {
  background: var(--color-volt);
  color: var(--color-bg);
  box-shadow: 0 6px 20px rgba(200, 245, 66, 0.3);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(208, 215, 229, 0.28);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-link);
  color: var(--color-white);
}

.btn--sm {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 17, 40, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(208, 215, 229, 0.12);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9999;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 0;
  outline: none;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-volt));
  z-index: 10;
  pointer-events: none;
}

.header-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 5;
}

.header-bracket--tl {
  top: 0;
  left: 0;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
  border-top-left-radius: 6px;
}

.header-bracket--tr {
  top: 0;
  right: 0;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  border-top-right-radius: 6px;
}

.header-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 26px;
  padding: 4px var(--gutter);
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.16), rgba(200, 245, 66, 0.08) 60%, transparent);
  border-bottom: 1px solid rgba(208, 215, 229, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-volt);
  animation: ticker-pulse 2.2s infinite ease-out;
}

.ticker-phrase {
  text-transform: uppercase;
}

.ticker-sep {
  width: 3px;
  height: 3px;
  flex-shrink: 0;
  background: var(--color-accent);
  transform: rotate(45deg);
}

.ticker-idx {
  margin-left: auto;
  color: var(--color-accent);
  letter-spacing: 0.12em;
}

@keyframes ticker-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 245, 66, 0.45);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(200, 245, 66, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 245, 66, 0);
  }
}

.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 8px var(--gutter);
}

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

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--color-accent);
  overflow: hidden;
  transform: perspective(260px) rotateY(-8deg) rotateZ(-5deg) skewX(-6deg);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.32);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.brand-link:hover .brand-mark {
  transform: perspective(260px) rotateY(-4deg) rotateZ(-2deg) skewX(-3deg);
}

.brand-mark::before,
.brand-mark::after {
  content: '';
  position: absolute;
  left: 7px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-volt);
  transform: skewX(-18deg);
}

.brand-mark::before {
  top: 12px;
  width: 24px;
}

.brand-mark::after {
  bottom: 10px;
  width: 15px;
  background: rgba(10, 17, 40, 0.85);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--color-white);
  background: rgba(208, 215, 229, 0.08);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 4px;
  padding: 1px 4px;
  line-height: 1.3;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-link[aria-current="page"] {
  color: var(--color-white);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.16), rgba(255, 107, 53, 0.05));
}

.nav-link[aria-current="page"] .nav-idx {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-volt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(208, 215, 229, 0.16);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.icon-btn:hover {
  color: var(--color-volt);
  border-color: rgba(200, 245, 66, 0.35);
  background: rgba(200, 245, 66, 0.06);
}

.icon-btn[aria-pressed="true"] {
  color: var(--color-accent);
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.25);
}

.nav-cta {
  position: relative;
}

.nav-cta::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-bg);
  opacity: 0.7;
  margin-left: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(208, 215, 229, 0.18);
  background: rgba(26, 35, 64, 0.4);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(200, 245, 66, 0.4);
}

.nav-toggle-box {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bar {
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

/* ============ MOBILE NAV ============ */
@media (max-width: 1100px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: var(--gutter);
    width: min(360px, calc(100vw - 48px));
    margin-left: 0;
    background: rgba(19, 29, 56, 0.97);
    border: 1px solid rgba(208, 215, 229, 0.14);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 24px 48px rgba(3, 6, 16, 0.55);
    padding: 10px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s;
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav[data-open="true"]::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(5, 9, 22, 0.65);
  }

  .nav-list {
    flex-direction: column;
    gap: 2px;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 13px 12px;
    font-size: 16px;
    border-radius: 8px;
  }

  .nav-link[aria-current="page"]::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  margin-top: 72px;
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(255, 107, 53, 0.06), transparent 60%),
    linear-gradient(180deg, #0c1530, #080e20);
  border-top: 1px solid rgba(208, 215, 229, 0.1);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-volt) 34%, rgba(0, 229, 255, 0.4) 68%, transparent);
}

.footer-head {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 44px;
  padding: 56px 0 40px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-trust {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 44ch;
}

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(208, 215, 229, 0.1);
}

.col-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-col ul a::before {
  content: '/';
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-accent);
  opacity: 0.6;
}

.footer-col ul a:hover {
  color: var(--color-volt);
  transform: translateX(4px);
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-line {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  width: 34px;
  padding-top: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(208, 215, 229, 0.08);
  font-size: 12px;
  color: var(--color-muted);
}

.footer-copyright {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-icp {
  font-family: var(--font-mono);
}

.footer-note {
  margin-left: auto;
  max-width: 46ch;
  text-align: right;
}

/* ============ PAGE PRIMITIVES ============ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  padding: 20px 0 0;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--color-volt);
}

.breadcrumb-sep {
  color: var(--color-accent);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--color-text);
}

.page-head {
  position: relative;
  padding: 48px 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(208, 215, 229, 0.08);
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-volt);
}

.page-title {
  font-size: clamp(36px, 5vw, 56px);
}

.page-lead {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 60ch;
  margin-top: 14px;
}

.section {
  padding: 56px 0;
}

.section--tight {
  padding: 32px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(24px, 3.4vw, 34px);
}

.section-title::before {
  content: '';
  width: 4px;
  height: 0.9em;
  background: linear-gradient(180deg, var(--color-accent), var(--color-volt));
  border-radius: 4px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 6px;
  padding: 2px 7px;
  letter-spacing: 0.08em;
}

/* ============ CARDS ============ */
.card {
  background: linear-gradient(180deg, rgba(26, 35, 64, 0.85), rgba(19, 29, 56, 0.9));
  border: 1px solid rgba(208, 215, 229, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(4, 8, 20, 0.35);
}

.card--accent {
  border-left: 3px solid var(--color-accent);
}

.card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-copy {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============ MEDIA ============ */
.media {
  position: relative;
  background: var(--color-bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(208, 215, 229, 0.1);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
}

.media--21x9 {
  aspect-ratio: 21 / 9;
}

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media--sport::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 78%, rgba(10, 17, 40, 0.5) 100%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 8px);
}

.media .media-tagline {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-white);
  background: rgba(10, 17, 40, 0.72);
  border: 1px solid rgba(200, 245, 66, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
}

/* ============ BADGES & FILTER ============ */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(208, 215, 229, 0.16);
  color: var(--color-muted);
  background: rgba(26, 35, 64, 0.6);
}

.badge--accent {
  color: var(--color-accent);
  border-color: rgba(255, 107, 53, 0.4);
}

.badge--volt {
  color: var(--color-volt);
  border-color: rgba(200, 245, 66, 0.4);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  background: transparent;
  border: 1px solid rgba(208, 215, 229, 0.18);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.filter-btn::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.5;
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease);
}

.filter-btn:hover {
  color: var(--color-text);
  border-color: rgba(208, 215, 229, 0.35);
}

.filter-btn[aria-pressed="true"],
.filter-btn.is-active {
  color: var(--color-bg);
  background: var(--color-volt);
  border-color: var(--color-volt);
}

.filter-btn[aria-pressed="true"]::before,
.filter-btn.is-active::before {
  background: var(--color-bg);
  opacity: 1;
}

/* ============ INTERACTION STATES ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

html.is-search-mode .site-header {
  border-bottom-color: rgba(200, 245, 66, 0.45);
}

html.is-search-mode .icon-btn[data-search-toggle] {
  color: var(--color-volt);
  border-color: rgba(200, 245, 66, 0.5);
  box-shadow: 0 0 14px rgba(200, 245, 66, 0.2);
}

html.is-search-mode .filter-bar {
  outline: 1px dashed rgba(200, 245, 66, 0.4);
  outline-offset: 10px;
  border-radius: 12px;
}

body[data-theme="alt"] {
  --color-accent: var(--color-volt-raw);
  --color-volt: var(--color-accent-raw);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(200, 245, 66, 0.1), transparent 60%),
    radial-gradient(760px 420px at -8% 18%, rgba(0, 229, 255, 0.08), transparent 55%),
    #0b1330;
}

body[data-theme="alt"] .site-header {
  border-bottom-color: rgba(200, 245, 66, 0.22);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-head {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-note {
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .header-ticker {
    min-height: 22px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .ticker-phrase,
  .ticker-sep {
    display: none;
  }

  .header-main {
    gap: 12px;
    min-height: 56px;
  }

  .footer-head {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .icon-btn {
    display: none;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-sub {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 13px;
  }
}

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

  h1,
  h2 {
    font-style: normal;
  }

  .brand-mark {
    transform: none;
  }

  .ticker-dot {
    animation: none;
  }
}
