:root {
  --red: #E63946;
  --black: #0A0A0A;
  --gold: #F4A623;
  --blue: #2A9DF4;
  --gray: #CCCCCC;
  --white: #FFFFFF;
  --dark: #1F1F1F;
  --gradient: linear-gradient(135deg, #E63946, #2A9DF4);
  --font-display: Impact, Anton, "Arial Narrow", "Noto Sans SC", sans-serif;
  --font-body: Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rail-w: 88px;
  --header-h: 64px;
  --radius: 4px;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  --maxw: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

#main-content {
  flex: 1;
}

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

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

ul,
ol {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: var(--white);
}

@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;
  }
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 600;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-300%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--rail-w);
  height: 100vh;
  background: var(--black);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
}

.header-inner {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 52px;
}

.brand-shield {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--dark), var(--black));
  border: 2px solid var(--red);
  transform: skewX(-8deg);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.brand-bolt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 26px;
  background: var(--red);
  transform: translate(-50%, -50%) skewX(-8deg);
  clip-path: polygon(58% 0, 8% 56%, 42% 56%, 35% 100%, 92% 40%, 52% 40%);
}

.brand-text {
  text-align: center;
  line-height: 1;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-text small {
  display: block;
  margin-top: 0.2rem;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  padding: 0 0.4rem;
}

.nav-list a {
  display: block;
  padding: 0.65rem 0.2rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gray);
  border-left: 3px solid transparent;
  letter-spacing: 0.12em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-list a:hover {
  color: var(--white);
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(230, 57, 70, 0.18), transparent 70%);
}

.nav-list a[aria-current="page"] {
  color: var(--white);
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(244, 166, 35, 0.16), transparent 70%);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 899px) {
  body {
    padding-top: var(--header-h);
    padding-left: 0;
  }

  .site-header {
    width: 100%;
    height: var(--header-h);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    align-items: center;
    padding: 0 1rem;
  }

  .header-inner {
    flex-direction: row;
    padding: 0;
  }

  .brand {
    flex-direction: row;
  }

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

  .brand-text strong {
    font-size: 1.3rem;
  }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    background: var(--black);
    border-top: 1px solid var(--red);
    transform: translateX(-105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
  }

  .site-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s ease;
  }

  .nav-list {
    width: 100%;
    gap: 0.75rem;
  }

  .nav-list a {
    padding: 1rem 0.5rem;
    text-align: left;
    border-left: 4px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
  }

  .nav-list a:hover {
    border-left-color: var(--red);
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.25), transparent 80%);
  }

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

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

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

@media (min-width: 900px) {
  body {
    padding-left: var(--rail-w);
  }
}

.site-footer {
  flex-shrink: 0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-figure {
  height: 8px;
  overflow: hidden;
  background: var(--gradient);
}

.footer-runway {
  display: block;
  height: 100%;
  width: 100%;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.35) 0 6px, transparent 6px 12px);
}

.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .brand--footer {
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
}

.brand--footer .brand-mark {
  width: 34px;
  height: 42px;
}

.brand--footer .brand-text strong {
  font-size: 1.2rem;
}

.brand--footer .brand-text small {
  font-size: 0.6rem;
}

.footer-slogan {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--gray);
  font-size: 0.95rem;
}

.footer-contact {
  margin-top: 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-heading {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.footer-links ul,
.footer-legal ul {
  display: grid;
  gap: 0.6rem;
}

.footer-links a,
.footer-legal a {
  color: var(--gray);
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--white);
  padding-left: 0.35rem;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--gray);
  font-size: 0.85rem;
}

@media (max-width: 899px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-meta {
    justify-content: center;
    text-align: center;
  }
}

.container {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section--dark {
  background: var(--dark);
}

.section--red {
  background: linear-gradient(135deg, var(--red), #b5232e);
}

.section--blue {
  background: linear-gradient(135deg, rgba(42, 157, 244, 0.18), rgba(42, 157, 244, 0.04));
}

.section--diagonal {
  padding-block: clamp(5rem, 10vw, 8rem);
  clip-path: polygon(0 3rem, 100% 0, 100% calc(100% - 3rem), 0 100%);
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--red);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.title-display {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.title-section {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.lead {
  max-width: 70ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--gray);
}

.prose {
  max-width: 75ch;
  font-size: 1rem;
  color: var(--gray);
}

.prose p {
  margin-bottom: 1rem;
}

.prose strong {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

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

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: transparent;
  color: var(--red);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.btn--gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

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

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

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent rgba(230, 57, 70, 0.55) transparent transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.card:hover::after {
  opacity: 1;
}

.card--accent {
  border-top: 4px solid var(--red);
}

.card--gold {
  border-top: 4px solid var(--gold);
}

.card--blue {
  border-top: 4px solid var(--blue);
}

.card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.card-text {
  color: var(--gray);
  font-size: 0.95rem;
}

.card-body {
  margin-top: 1rem;
}

.metric-card {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(42, 157, 244, 0.14), rgba(230, 57, 70, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.metric-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--white);
}

.metric-value .unit {
  color: var(--gold);
  font-size: 0.5em;
}

.metric-label {
  margin-top: 0.5rem;
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-trend {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
}

.data-panel {
  padding: 1.25rem;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.data-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.data-row:last-child {
  border-bottom: 0;
}

.data-key {
  color: var(--gray);
  font-size: 0.9rem;
}

.data-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0 12px, transparent 12px 24px), linear-gradient(135deg, #1f1f1f, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.media-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gradient);
}

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

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

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

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

.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--red {
  background: rgba(230, 57, 70, 0.18);
  border-color: rgba(230, 57, 70, 0.4);
  color: var(--red);
}

.tag--gold {
  background: rgba(244, 166, 35, 0.18);
  border-color: rgba(244, 166, 35, 0.4);
  color: var(--gold);
}

.tag--blue {
  background: rgba(42, 157, 244, 0.18);
  border-color: rgba(42, 157, 244, 0.4);
  color: var(--blue);
}

.list-stack {
  display: grid;
  gap: 0.75rem;
}

.list-stack a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 700;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.list-stack a:hover {
  color: var(--gold);
  padding-left: 0.35rem;
}

.list-stack a span {
  color: var(--gray);
  font-weight: 400;
  font-size: 0.85rem;
}

.divider {
  height: 2px;
  margin: 2rem 0;
  background: linear-gradient(90deg, var(--red), transparent);
  border: 0;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 4rem 0;
}

.hero--full {
  min-height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.diagonal-band {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(230, 57, 70, 0.75) 0 24%, transparent 24.5% 68%, rgba(42, 157, 244, 0.45) 68.5% 100%);
}

.print-border {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 6px;
}

.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.breadcrumbs-item + .breadcrumbs-item::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--red);
}

.breadcrumbs a {
  color: var(--gray);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs-current,
.breadcrumbs [aria-current] {
  color: var(--white);
  font-weight: 700;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.8);
  pointer-events: none;
}
