/* ========== Reset & Variables ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
pre {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

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

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

main {
  display: block;
}

:root {
  --color-primary: #0A2463;
  --color-primary-light: #1E3A8A;
  --color-accent: #FF6B35;
  --color-accent-light: #FF9E71;
  --color-accent-ink: #C2410C;
  --color-bg: #F3F4F6;
  --color-surface: #FFFFFF;
  --color-text: #1F2937;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;
  --font-headline: Impact, "Arial Black", "Noto Sans SC", sans-serif;
  --font-body: Inter, "Noto Sans SC", "PingFang SC", sans-serif;
  --container-max: 1200px;
  --header-height: 72px;
  --section-pad: clamp(2.5rem, 6vw, 5rem);
}

/* ========== Base Typography ========== */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--font-headline);
  font-weight: 900;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

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

/* ========== Utilities ========== */
.container {
  width: min(calc(100% - 3rem), var(--container-max));
  margin-inline: auto;
}

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

.divider {
  height: 3px;
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  border: 0;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 60%, transparent 100%);
}

.no-scroll {
  overflow: hidden;
}

#main-content {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

.btn--accent {
  background: var(--color-accent);
  color: var(--color-primary);
}

.btn--accent:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
}

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

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

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--sm {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: linear-gradient(180deg, rgba(10, 36, 99, 0.72) 0%, rgba(10, 36, 99, 0.28) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: var(--color-primary);
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 6px 24px rgba(10, 36, 99, 0.24);
}

.site-header :focus-visible {
  outline-color: var(--color-accent-light);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__logo::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 26px;
  background: var(--color-accent);
  transform: skewX(-15deg);
}

.site-header__logo:hover {
  color: #fff;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav__link {
  display: block;
  padding: 0.55rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-accent-light);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -3px 0 var(--color-accent);
}

.site-nav__item--cta {
  margin-left: 0.75rem;
}

.site-nav__item--cta .btn {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(10, 36, 99, 0.25);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(10, 36, 99, 0.5);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.skip-link {
  position: fixed;
  top: -72px;
  left: 1rem;
  z-index: 2000;
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.25s ease;
}

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

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  z-index: 2;
}

/* ========== Mobile Nav ========== */
@media (max-width: 64em) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    height: calc(100vh - var(--header-height));
    width: min(84vw, 380px);
    padding: 2rem 1.5rem 2.5rem;
    background: var(--color-primary);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    box-shadow: -16px 0 32px rgba(10, 36, 99, 0.3);
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .site-nav__link {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-left: 3px solid transparent;
    border-radius: 0;
  }

  .site-nav__link:hover {
    border-left-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.07);
  }

  .site-nav__link[aria-current="page"] {
    border-left-color: var(--color-accent);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-nav__item--cta {
    margin: 1.5rem 0 0;
  }

  .site-nav__item--cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== Footer ========== */
.site-footer {
  position: relative;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 4rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--color-accent) 0 44px, transparent 44px 72px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.site-footer__logo::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 28px;
  background: var(--color-accent);
  transform: skewX(-15deg);
}

.site-footer__logo:hover {
  color: #fff;
}

.site-footer__about {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__trust {
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__col {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.site-footer__contact-column {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.site-footer__heading {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 0;
  padding-bottom: 0.5rem;
  position: relative;
}

.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 3px;
  background: var(--color-accent);
  transform: skewX(-15deg);
}

.site-footer__list {
  display: grid;
  gap: 0.65rem;
}

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__list a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.site-footer__list a:hover {
  color: var(--color-accent-light);
  transform: translateX(3px);
}

.site-footer__contact-list {
  font-style: normal;
  display: grid;
  gap: 0.8rem;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__contact-item::before {
  content: "/";
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-accent);
  flex: 0 0 auto;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__icp,
.site-footer__copyright {
  margin: 0;
}

/* ========== Sections & Headings ========== */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section--tight {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.section--dark {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
}

.section--dark .section-title {
  color: #fff;
}

.section--dark .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .kicker {
  color: var(--color-accent-light);
}

.section-head {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--title-size, clamp(1.75rem, 4vw, 2.75rem));
  line-height: 1.1;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 38rem;
}

/* ========== Page Hero & Frame ========== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(10, 36, 99, 0.96) 0%, rgba(30, 58, 138, 0.92) 100%);
  color: #fff;
  padding: calc(var(--header-height) + 3.5rem) 0 4rem;
}

.page-hero::before {
  content: attr(data-hero-index);
  position: absolute;
  right: -1rem;
  bottom: -3.5rem;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(7rem, 22vw, 17rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 90px solid transparent;
  border-bottom: 90px solid var(--color-accent);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 60rem;
}

.page-hero__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.frame-hero {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
}

.frame-hero::before,
.frame-hero::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  border: 0 solid var(--color-accent);
  pointer-events: none;
}

.frame-hero::before {
  top: -1px;
  left: -1px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.frame-hero::after {
  right: -1px;
  bottom: -1px;
  border-right-width: 3px;
  border-bottom-width: 3px;
}

.frame-hero h1,
.frame-hero h2,
.frame-hero h3 {
  color: #fff;
}

.frame-hero__scale {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 1.4rem;
  padding-bottom: 3px;
  overflow: hidden;
}

.frame-hero__scale i {
  display: block;
  flex: 0 0 auto;
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
}

.frame-hero__scale i:nth-child(4n) {
  height: 11px;
  background: var(--color-accent);
}

.frame-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 1.25rem;
}

.frame-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.frame-hero__meta span::before {
  content: "→";
  color: var(--color-accent);
  font-weight: 900;
}

/* ========== Chapters ========== */
.chapter {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.9rem 1.2rem;
  margin-bottom: 2.25rem;
}

.chapter__num {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--color-primary);
  position: relative;
  padding-right: 1.2rem;
}

.chapter__num::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.25em;
  width: 0.48em;
  height: 0.12em;
  background: var(--color-accent);
  transform: rotate(-45deg);
}

.chapter__label {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: var(--color-text);
}

.chapter__en {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ========== Grid & Cards ========== */
.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

.grid--split-swap {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 8px 8px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(10, 36, 99, 0.14);
}

.stat-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(10, 36, 99, 0.06);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.85rem;
}

.stat-card__value {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.stat-card__label {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 2px;
  padding: 0.22rem 0.55rem;
}

.tag--accent {
  color: var(--color-accent-ink);
  border-color: var(--color-accent);
}

.panel-slant {
  position: relative;
  background: var(--color-surface);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: calc(clamp(1.5rem, 3vw, 2.5rem) + 26px);
  box-shadow: 0 10px 28px rgba(10, 36, 99, 0.1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.panel-slant--dark {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.88);
}

.speed-stripes {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--color-accent) 0 10px, var(--color-primary) 10px 20px);
}

/* ========== Media Frames ========== */
.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

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

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

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

.media-frame__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  background: repeating-linear-gradient(45deg, rgba(10, 36, 99, 0.05) 0 10px, rgba(10, 36, 99, 0.09) 10px 20px);
}

/* ========== Data Ticker ========== */
.data-ticker {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--color-primary);
  color: #fff;
  border-block: 3px solid var(--color-accent);
}

.data-ticker__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-accent);
}

.data-ticker__label::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: ticker-pulse 1.6s ease-in-out infinite;
}

.data-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.data-ticker:hover .data-ticker__track {
  animation-play-state: paused;
}

.data-ticker__group {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
}

.data-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.data-ticker__item strong {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--color-accent-light);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes ticker-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.72);
  }
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 2rem;
  font-size: 0.85rem;
}

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

.breadcrumb li:not(:last-child)::after {
  content: "→";
  color: var(--color-text-muted);
}

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

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

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

/* ========== Content & Forms ========== */
.content {
  max-width: 46rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

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

.content h2,
.content h3 {
  margin-top: 1.75em;
}

.content h2:first-child,
.content h3:first-child {
  margin-top: 0;
}

.content ul,
.content ol {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

.content li {
  margin-bottom: 0.45rem;
}

.content a {
  color: var(--color-primary);
  font-weight: 600;
}

.content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  color: var(--color-text);
}

.field-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text);
}

.field {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.12);
}

.field::placeholder {
  color: var(--color-text-muted);
}

textarea.field {
  min-height: 120px;
  resize: vertical;
}

/* ========== Scroll Reveal ========== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ========== Responsive ========== */
@media (max-width: 56em) {
  .grid--split,
  .grid--split-swap,
  .grid--triple {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 40em) {
  :root {
    --header-height: 64px;
  }

  .site-header__logo {
    font-size: 1.2rem;
  }

  .page-hero::after {
    border-left-width: 56px;
    border-bottom-width: 56px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

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

  .data-ticker__track,
  .data-ticker__label::after {
    animation: none;
  }

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