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

:root {
  --color-red: #E63946;
  --color-orange: #F4A261;
  --color-navy: #1D3557;
  --color-charcoal: #121212;
  --color-fluo: #06D6A0;
  --color-gold: #FFD700;
  --color-cream: #F1FAEE;
  --color-gray: #8D99AE;

  --text-heading: #F1FAEE;
  --text-body: rgba(241, 250, 238, 0.92);
  --text-muted: #A7B3C7;
  --text-faint: #8D99AE;
  --text-dark: #1D3557;
  --text-dark-muted: #4A5B73;
  --line-dark: rgba(241, 250, 238, 0.12);
  --line-light: rgba(29, 53, 87, 0.14);

  --bg-panel: rgba(241, 250, 238, 0.06);
  --bg-panel-strong: rgba(18, 18, 18, 0.55);

  --font-head: "Oswald", Impact, "Arial Black", sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --header-width: 248px;
  --header-mobile-h: 72px;
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3.5rem, 8vw, 6.5rem);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 300ms;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--color-orange) rgba(29, 53, 87, 0.9);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 215, 0, 0.08), transparent 32%),
    linear-gradient(160deg, #1D3557 0%, #123050 54%, #0E1B2E 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--color-cream);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.3rem;
}

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

.site-main {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  margin-left: var(--header-width);
}

.page-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.25rem, 5vw, 4rem);
}

.page-hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0.03em;
}

.page-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(6, 214, 160, 0.32);
  background: rgba(6, 214, 160, 0.1);
  color: var(--color-fluo);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.page-content {
  padding-block: var(--section-space);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.section-tight {
  padding-block: calc(var(--section-space) * 0.55);
}

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

.section-cream h1,
.section-cream h2,
.section-cream h3,
.section-cream h4 {
  color: var(--text-dark);
}

.section-cream a {
  color: var(--color-red);
}

.section-cream a:hover {
  color: #8F1D2A;
}

.section-deep {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(12, 18, 30, 0.98));
}

.section-head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

.chapter-no {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--color-red);
}

.chapter-no::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.14em;
  background: linear-gradient(90deg, var(--color-orange), var(--color-gold));
  transform: skewX(-18deg);
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.section-subtitle {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.section-head-meta {
  margin-left: auto;
}

.grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
}

.grid-tight {
  gap: 1rem;
}

.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));
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.card {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg-panel);
  border: 1px solid var(--line-dark);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 250, 238, 0.22);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-red), var(--color-orange));
}

.card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, transparent 50%, rgba(18, 18, 18, 0.6) 50%);
}

.card-accent-orange::before {
  background: linear-gradient(180deg, var(--color-orange), var(--color-gold));
}

.card-accent-fluo::before {
  background: linear-gradient(180deg, var(--color-fluo), var(--color-red));
}

.card-cream {
  background: var(--color-cream);
  color: var(--text-dark);
  border-color: transparent;
}

.card-cream h1,
.card-cream h2,
.card-cream h3,
.card-cream h4 {
  color: var(--text-dark);
}

.card-cream::after {
  background: linear-gradient(135deg, transparent 50%, rgba(29, 53, 87, 0.14) 50%);
}

.card-flat {
  background: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(244, 162, 97, 0.42);
  background: rgba(244, 162, 97, 0.13);
  color: var(--color-orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tag-live {
  border-color: rgba(6, 214, 160, 0.45);
  background: rgba(6, 214, 160, 0.13);
  color: var(--color-fluo);
}

.tag-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.5);
  animation: live-pulse 1.8s infinite;
}

.tag-hot {
  border-color: rgba(255, 215, 0, 0.45);
  background: rgba(255, 215, 0, 0.12);
  color: var(--color-gold);
}

.tag-primary {
  border-color: rgba(230, 57, 70, 0.45);
  background: rgba(230, 57, 70, 0.16);
  color: #FF8A93;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  background: rgba(241, 250, 238, 0.1);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, transparent 50%, rgba(18, 18, 18, 0.55) 50%);
  pointer-events: none;
}

.btn:hover {
  background: rgba(241, 250, 238, 0.16);
  color: #fff;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--color-red);
  color: #fff;
}

.btn-primary:hover {
  background: #CE2B39;
  color: #fff;
}

.btn-primary::after {
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.22) 50%);
}

.btn-secondary {
  background: var(--color-orange);
  color: #121212;
}

.btn-secondary:hover {
  background: #E58E4A;
  color: #121212;
}

.btn-secondary::after {
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.35) 50%);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(241, 250, 238, 0.3);
}

.btn-ghost:hover {
  background: rgba(241, 250, 238, 0.08);
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.05rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--text-faint);
}

.breadcrumbs a {
  color: var(--text-muted);
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--text-heading);
  font-weight: 600;
}

.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 215, 0, 0.12), transparent 40%),
    linear-gradient(135deg, rgba(230, 57, 70, 0.14), rgba(244, 162, 97, 0.05) 55%, rgba(6, 214, 160, 0.12));
}

.media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(125deg, rgba(241, 250, 238, 0.028) 0 2px, transparent 2px 14px);
  pointer-events: none;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

.media-auto {
  aspect-ratio: auto;
}

.media-figcap {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  margin: 0;
  padding: 0.32rem 0.65rem;
  background: rgba(18, 18, 18, 0.75);
  color: var(--color-cream);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.data-panel {
  border: 1px solid var(--line-dark);
  background: var(--bg-panel-strong);
  backdrop-filter: blur(3px);
}

.data-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--line-dark);
}

.data-panel-body {
  padding: 1.25rem;
}

.panel-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--color-fluo);
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.num {
  font-family: var(--font-head);
  font-variant-numeric: tabular-nums;
}

.skew-strip {
  display: inline-block;
  transform: skewX(-12deg);
  padding: 0.28rem 0.85rem 0.28rem 0.6rem;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.skew-strip > span {
  display: inline-block;
  transform: skewX(12deg);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 80ms);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.7rem 1.15rem;
  background: var(--color-orange);
  color: #121212;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 3px;
  transform: translateY(-220%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  width: var(--header-width);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 215, 0, 0.1), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(230, 57, 70, 0.13), transparent 30%),
    linear-gradient(160deg, #1D3557 0%, #14283F 60%, #0C1D30 100%);
  border-right: 1px solid var(--line-dark);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(125deg, rgba(241, 250, 238, 0.02) 0 2px, transparent 2px 15px);
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.35rem, 3vh, 2.1rem) 1.25rem 1.2rem;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-heading);
}

.brand:hover {
  color: var(--text-heading);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 42px;
  height: 50px;
  background: linear-gradient(150deg, var(--color-red) 6%, #8F1D2A 92%);
  clip-path: polygon(50% 0%, 100% 13%, 88% 66%, 50% 100%, 12% 66%, 0% 13%);
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: rgba(241, 250, 238, 0.07);
  clip-path: polygon(50% 0%, 100% 13%, 88% 66%, 50% 100%, 12% 66%, 0% 13%);
}

.brand-progress {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 5px;
  height: 34%;
  border-radius: 99px;
  background: rgba(241, 250, 238, 0.22);
  overflow: hidden;
}

.brand-progress::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  width: 100%;
  height: 75%;
  background: linear-gradient(180deg, var(--color-fluo), var(--color-gold));
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-tagline {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--color-gray);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: rgba(241, 250, 238, 0.08);
  border: 1px solid rgba(241, 250, 238, 0.14);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(241, 250, 238, 0.13);
  color: #fff;
}

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

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-cream);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

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

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(230, 57, 70, 0.5);
}

.site-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: clamp(1.6rem, 4vh, 3rem);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 0.85rem;
  border-left: 3px solid transparent;
  color: rgba(241, 250, 238, 0.72);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--text-heading);
  background: rgba(241, 250, 238, 0.055);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--text-heading);
  background: linear-gradient(90deg, rgba(230, 57, 70, 0.3), rgba(230, 57, 70, 0.08) 80%);
  border-left-color: var(--color-red);
}

.nav-link[aria-current="page"]::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: auto;
  background: var(--color-fluo);
  transform: rotate(45deg);
}

.nav-index {
  flex: none;
  min-width: 1.8em;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-orange);
  opacity: 0.75;
  letter-spacing: 0.05em;
}

.nav-link:hover .nav-index {
  opacity: 1;
  color: var(--color-gold);
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--color-fluo);
  opacity: 1;
}

.nav-text {
  display: inline-block;
}

.header-quick {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.4rem;
}

.quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.9rem;
  background: rgba(241, 250, 238, 0.07);
  border: 1px solid rgba(241, 250, 238, 0.14);
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.quick-btn::after {
  content: "→";
  margin-left: 0.3rem;
  font-size: 1em;
  transition: transform var(--dur) var(--ease);
}

.quick-btn:hover {
  color: #fff;
  background: rgba(244, 162, 97, 0.12);
  border-color: rgba(244, 162, 97, 0.5);
  text-decoration: none;
}

.quick-btn:hover::after {
  transform: translateX(3px);
}

.quick-btn-primary {
  background: var(--color-red);
  border-color: transparent;
  color: #fff;
}

.quick-btn-primary::after {
  content: "↓";
  transform: translateY(1px);
}

.quick-btn-primary:hover {
  background: #CE2B39;
  color: #fff;
  border-color: transparent;
}

.quick-btn-primary:hover::after {
  transform: translateY(3px);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(241, 250, 238, 0.09);
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-fluo);
  box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.5);
  animation: live-pulse 2s infinite;
}

.status-text {
  display: inline-block;
}

.scroll-progress {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 4px;
  height: 100%;
  background: rgba(241, 250, 238, 0.05);
  pointer-events: none;
}

.scroll-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--scroll, 0) * 100%);
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-red) 55%, var(--color-fluo) 100%);
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.45);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(6, 214, 160, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(6, 214, 160, 0);
  }
}

.site-footer {
  margin-left: var(--header-width);
  color: rgba(241, 250, 238, 0.78);
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 215, 0, 0.05), transparent 40%),
    repeating-linear-gradient(93deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #171310, #0E0C0B);
  border-top: 1px solid rgba(241, 250, 238, 0.08);
}

.footer-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: clamp(2.8rem, 6vw, 4.6rem) var(--gutter) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.35fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.2rem, 5vw, 3.6rem);
}

.footer-brand .brand {
  margin-bottom: 1.2rem;
}

.footer-trust {
  margin: 1.5rem 0 0;
  padding-left: 0.8rem;
  border-left: 3px solid var(--color-red);
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  max-width: 32ch;
}

.footer-heading {
  margin: 0 0 1.2rem;
  padding-bottom: 0.6rem;
  position: relative;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-cream);
  text-transform: uppercase;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red), var(--color-orange));
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.footer-nav li {
  margin-bottom: 0.55rem;
  break-inside: avoid;
}

.footer-nav a {
  color: rgba(241, 250, 238, 0.72);
  font-size: 0.92rem;
}

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

.footer-contact {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-label {
  flex: none;
  align-self: flex-start;
  min-width: 2.6em;
  margin-top: 0.16rem;
  padding: 0.1rem 0.4rem;
  background: rgba(244, 162, 97, 0.13);
  border-left: 2px solid var(--color-orange);
  color: var(--color-orange);
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
}

.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}

.footer-legal a {
  color: rgba(241, 250, 238, 0.62);
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(241, 250, 238, 0.25);
}

.footer-legal a:hover {
  color: var(--color-fluo);
  border-bottom-color: var(--color-fluo);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.5rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(241, 250, 238, 0.1);
  font-size: 0.85rem;
  color: rgba(241, 250, 238, 0.6);
}

.footer-copy {
  margin: 0;
}

.footer-note {
  margin: 0;
}

.section-cream .breadcrumbs a {
  color: var(--text-dark-muted);
}

.section-cream .breadcrumbs a:hover {
  color: #8F1D2A;
}

.section-cream .breadcrumbs [aria-current="page"] {
  color: var(--text-dark);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  .site-header {
    width: 100%;
    height: var(--header-mobile-h);
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }

  .header-inner {
    height: 100%;
    padding: 0.85rem 1rem;
    flex-direction: row;
    align-items: center;
  }

  .header-top {
    flex: 1;
    align-items: center;
  }

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

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

  .brand-tagline {
    font-size: 0.68rem;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-mobile-h));
    overflow-y: auto;
    margin-top: 0;
    padding: 1.5rem var(--gutter) 2rem;
    background: linear-gradient(180deg, #15263F 0%, #0D1B2D 100%);
    border-top: 1px solid rgba(241, 250, 238, 0.09);
    transform: translateX(-102%);
    transition: transform 320ms var(--ease);
    -webkit-overflow-scrolling: touch;
  }

  .site-nav[data-open] {
    transform: translateX(0);
  }

  .header-quick {
    margin-top: 1.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(241, 250, 238, 0.12);
  }

  .header-status {
    margin-top: 1.2rem;
  }

  .site-main {
    margin-left: 0;
    padding-top: var(--header-mobile-h);
  }

  .site-footer {
    margin-left: 0;
  }

  .scroll-progress {
    top: auto;
    right: auto;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
  }

  .scroll-progress::before {
    top: 0;
    left: 0;
    width: calc(var(--scroll, 0) * 100%);
    height: 100%;
    background: linear-gradient(90deg, var(--color-fluo) 0%, var(--color-gold) 45%, var(--color-red) 100%);
  }

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

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

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

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

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

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

  .footer-nav {
    columns: 1;
  }

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

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.quick-btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

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

  .card:hover {
    transform: none;
  }

  .status-dot,
  .tag-live::before {
    box-shadow: none;
  }
}
