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

:root {
  --color-primary: #E53935;
  --color-primary-dark: #C62828;
  --color-accent: #FF7043;
  --color-deep: #1A237E;
  --color-gold: #FFD54F;
  --color-dark: #0D0D0D;
  --color-light: #F5F5F5;
  --color-glass: rgba(255, 255, 255, 0.85);
  --color-bg-soft: #FFEBEE;
  --color-text: #212121;
  --color-text-muted: #5f6368;
  --color-line: rgba(13, 13, 13, 0.1);
  --font-heading: "Archivo Black", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --header-h: 76px;
  --container-max: 1200px;
  --radius: 6px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --z-header: 100;
  --z-skip: 200;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.15;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: clamp(28px, 5vw, 48px);
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
}

h3 {
  font-size: clamp(18px, 2.4vw, 24px);
}

p {
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

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

#main-content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  min-height: 60vh;
  scroll-margin-top: var(--header-h);
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.3);
}

.btn-ghost {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--color-bg-soft);
  border-color: var(--color-primary-dark);
}

/* ===== Skip Link ===== */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: var(--z-skip);
  transform: translateY(-200%);
  transition: transform 0.2s ease, opacity 0.2s ease;
  background: #fff;
  color: var(--color-primary);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.68) 0%, rgba(13, 13, 13, 0.3) 100%);
  color: #fff;
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: var(--color-glass);
  color: var(--color-text);
  text-shadow: none;
  box-shadow: 0 1px 0 rgba(13, 13, 13, 0.06), 0 8px 24px rgba(13, 13, 13, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.header-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-gold) 100%);
}

.header-coord {
  position: absolute;
  left: 24px;
  z-index: 2;
  padding: 3px 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  border-radius: 2px;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(13, 13, 13, 0.3);
}

.site-header.is-scrolled .header-coord {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 3;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header a {
  color: inherit;
}

/* ===== Brand ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  line-height: 1;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  background: var(--color-gold);
  border-radius: 50%;
}

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

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-text small {
  font-size: 11px;
  opacity: 0.65;
  letter-spacing: 0.06em;
}

/* ===== Nav ===== */
.site-header:not(.is-scrolled) .nav-link:hover {
  color: var(--color-gold);
}

.site-header.is-scrolled .nav-link:hover {
  color: var(--color-primary);
}

@media (min-width: 901px) {
  .site-nav {
    margin-left: auto;
    color: inherit;
  }

  .nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
  }

  .nav-link {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 10px 12px;
    color: inherit;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }

  .nav-prefix {
    font-size: 10px;
    font-weight: 700;
    opacity: 0.55;
    letter-spacing: 0.08em;
  }

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

  .site-header.is-scrolled .nav-link[aria-current="page"]::after {
    background: var(--color-primary);
  }
}

/* ===== Header CTA ===== */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header .header-cta {
  color: #fff;
}

.header-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-gold);
}

.header-cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.35);
}

.header-cta-arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.header-cta:hover .header-cta-arrow {
  transform: translateX(4px);
}

/* ===== Nav Toggle ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header[data-open] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Scroll Progress ===== */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-gold) 100%);
  transition: width 0.1s linear;
}

/* ===== Mobile Nav ===== */
@media (max-width: 900px) {
  .header-inner {
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .header-coord {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--color-glass);
    color: var(--color-text);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--color-primary);
    box-shadow: 0 16px 32px rgba(13, 13, 13, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

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

  .nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px 20px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
  }

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

  .nav-prefix {
    min-width: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    opacity: 0.8;
  }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 0 0 18px;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text);
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* ===== Page Head ===== */
.page-head {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 48px) 0 48px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 215, 79, 0.25);
  border-radius: 50%;
  transform: rotate(30deg);
  pointer-events: none;
}

.page-head .container {
  position: relative;
  z-index: 2;
}

.page-head .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  padding-top: 0;
}

.page-head .breadcrumb a {
  color: var(--color-gold);
}

.page-head .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.85);
}

.page-title {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
}

.page-lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
}

/* ===== Hero ===== */
.hero {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 72px) 0 88px;
  background-color: var(--color-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(140deg, var(--color-dark) 0%, var(--color-deep) 80%);
  background-size: 40px 40px, 40px 40px, auto;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-primary);
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-side {
  position: relative;
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}

.section-index {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.15;
  color: var(--color-dark);
  margin: 0;
}

.section-note {
  margin-left: auto;
  max-width: 300px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: right;
  align-self: flex-end;
}

@media (max-width: 700px) {
  .section-head {
    flex-wrap: wrap;
    gap: 12px;
  }

  .section-note {
    margin-left: 0;
    text-align: left;
    max-width: 100%;
  }
}

/* ===== Grid ===== */
.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));
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== Card ===== */
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(13, 13, 13, 0.12);
  border-color: var(--color-primary);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.card-score {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

/* ===== Tag ===== */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.tag-gold {
  background: rgba(255, 213, 79, 0.2);
  color: var(--color-deep);
}

/* ===== Legend ===== */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot-red {
  background: var(--color-primary);
}

.legend-dot-orange {
  background: var(--color-accent);
}

.legend-dot-gold {
  background: var(--color-gold);
}

.legend-dot-blue {
  background: var(--color-deep);
}

/* ===== Media ===== */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-deep) 0%, #1a1a1a 100%);
}

.media::before {
  content: "";
  display: block;
}

.media img,
.media picture,
.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-16-9::before {
  padding-bottom: 56.25%;
}

.media-4-3::before {
  padding-bottom: 75%;
}

.media-1-1::before {
  padding-bottom: 100%;
}

.media-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(13, 13, 13, 0.6);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-deep);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.footer-topline {
  position: relative;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-accent) 30%, var(--color-primary) 60%, var(--color-deep) 100%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px 40px;
  padding: 56px 0 48px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-text small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-trust {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 18px;
  max-width: 56ch;
  line-height: 1.7;
}

.footer-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-index,
.footer-contact {
  min-width: 0;
}

.footer-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.footer-links a:hover {
  color: #fff;
  border-bottom-color: var(--color-gold);
}

.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.footer-contact-list li {
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact-key {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.8;
  margin-bottom: 2px;
}

.footer-contact-value {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

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

/* ===== Reveal Motion ===== */
html.js-wx [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.js-wx [data-reveal="1"] {
  transition-delay: 0.08s;
}

html.js-wx [data-reveal="2"] {
  transition-delay: 0.16s;
}

html.js-wx [data-reveal="3"] {
  transition-delay: 0.24s;
}

html.js-wx [data-reveal="4"] {
  transition-delay: 0.32s;
}

html.js-wx [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===== 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;
  }

  html.js-wx [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-progress {
    transition: none;
  }
}
