:root {
  --space: #0A1E2F;
  --space-2: #142A4A;
  --orange: #FF7A00;
  --teal: #00C2A8;
  --indigo: #3B2E6E;
  --wine: #6A2040;
  --deep-teal: #0E4D57;
  --offwhite: #F5F7FA;
  --gray: #A8B6C4;
  --line: rgba(255, 255, 255, 0.12);
  --font-display: "Bahnschrift", "Avenir Next", "Century Gothic", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--space);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

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

a {
  color: var(--teal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.15;
}

::selection {
  background: var(--teal);
  color: #0A1E2F;
}

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

#main-content {
  flex: 1 0 auto;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--teal);
  color: #0A1E2F;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.8rem 1rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(10, 30, 47, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
  padding-inline: max(1.5rem, calc((100% - 1180px) / 2));
}

.site-header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  box-shadow: 0 0 12px rgba(0, 194, 168, 0.55);
}

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

.site-brand:hover {
  color: var(--offwhite);
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: #0A1E2F;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
  transition: transform 0.2s ease;
}

.site-brand:hover .site-brand__mark {
  transform: rotate(-3deg) scale(1.04);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-brand__tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

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

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: var(--offwhite);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.site-nav__link:hover {
  color: var(--teal);
  background: rgba(0, 194, 168, 0.08);
  border-color: rgba(0, 194, 168, 0.3);
  opacity: 1;
}

.site-nav__link[aria-current="page"] {
  color: var(--orange);
  background: rgba(255, 122, 0, 0.1);
  border-color: rgba(255, 122, 0, 0.45);
  opacity: 1;
}

.site-nav__panel-footer {
  display: none;
}

.nav-toggle {
  display: none;
}

.site-footer {
  position: relative;
  margin-top: auto;
  background: var(--space-2);
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--teal), transparent);
}

.site-footer__inner {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3rem 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.site-footer__brand .footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--offwhite);
  text-decoration: none;
}

.site-footer__brand .footer-brand:hover {
  color: var(--orange);
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.35rem;
}

.footer-note {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 40ch;
  margin-top: 1.25rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 1rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--offwhite);
  text-decoration: none;
  font-size: 0.9375rem;
  opacity: 0.82;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal);
  opacity: 1;
}

.site-footer__contact p {
  font-size: 0.9375rem;
  color: var(--offwhite);
  opacity: 0.85;
  line-height: 1.6;
}

.site-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

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

.section--ink {
  background: var(--space-2);
}

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

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

.section--deep-teal {
  background: var(--deep-teal);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section--diag-top {
  position: relative;
}

.section--diag-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent 35%, var(--teal) 70%);
  opacity: 0.6;
}

.hero-cover {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(59, 46, 110, 0.5), transparent 55%),
    linear-gradient(120deg, transparent 0%, rgba(0, 194, 168, 0.08) 40%, transparent 75%);
}

.hero-cover__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-cover__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero-cover__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-cover__lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.hero-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--offwhite);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 58ch;
  margin-bottom: 2.25rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--offwhite);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #0A1E2F;
}

.btn--primary:hover {
  background: #ff8d29;
  border-color: #ff8d29;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.32);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--offwhite);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

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

.stat {
  position: relative;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--orange);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.panel-stack {
  display: grid;
  gap: clamp(3.5rem, 9vw, 7rem);
}

.panel {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(160deg, rgba(20, 42, 74, 0.78), rgba(10, 30, 47, 0.92));
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.panel__tag {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  padding: 0.35rem 0.75rem;
  background: var(--orange);
  color: #0A1E2F;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

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

.grid > * {
  min-width: 0;
}

.data-card {
  position: relative;
  padding: 1.75rem;
  background: linear-gradient(165deg, rgba(20, 42, 74, 0.75), rgba(10, 30, 47, 0.88));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.data-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 168, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.data-card--flat {
  background: rgba(255, 255, 255, 0.03);
  border-top: 2px solid var(--teal);
  box-shadow: none;
}

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(0, 194, 168, 0.4);
  background: rgba(0, 194, 168, 0.08);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag-label--orange {
  border-color: rgba(255, 122, 0, 0.45);
  background: rgba(255, 122, 0, 0.1);
  color: var(--orange);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--gray);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--gray);
  opacity: 0.7;
}

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

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

.media-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 20%, rgba(59, 46, 110, 0.5), transparent 60%),
    linear-gradient(135deg, rgba(0, 194, 168, 0.12), rgba(255, 122, 0, 0.05)),
    var(--space-2);
}

.media-frame::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: 28px 28px;
}

.media-frame__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

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

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

.media-frame--square {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.media-frame--tall {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

@media (min-width: 1000px) {
  .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--feature {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 1024px) {
  .site-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .site-header__inner {
    min-height: 68px;
  }

  .site-header[data-scrolled="true"] {
    background: rgba(10, 30, 47, 0.96);
  }

  .site-brand {
    position: relative;
    z-index: 6;
  }

  .site-brand__name {
    font-size: 1.05rem;
  }

  .site-brand__tagline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 6;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    background: rgba(10, 30, 47, 0.35);
    border: 1px solid var(--line);
    color: var(--offwhite);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .nav-toggle:hover {
    border-color: rgba(0, 194, 168, 0.5);
    color: var(--teal);
  }

  .nav-toggle__label {
    pointer-events: none;
  }

  .nav-toggle__lines {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 14px;
    pointer-events: none;
  }

  .nav-toggle__lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle__lines span:nth-child(1) {
    top: 0;
  }

  .nav-toggle__lines span:nth-child(2) {
    top: 6px;
  }

  .nav-toggle__lines span:nth-child(3) {
    top: 12px;
  }

  .nav-toggle[data-open="true"] .nav-toggle__lines span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
  }

  .nav-toggle[data-open="true"] .nav-toggle__lines span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[data-open="true"] .nav-toggle__lines span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    display: block;
    overflow-y: auto;
    padding: 6.5rem 1.5rem 6rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    background:
      radial-gradient(circle at 78% 12%, rgba(59, 46, 110, 0.55), transparent 40%),
      linear-gradient(180deg, rgba(20, 42, 74, 0.98), rgba(10, 30, 47, 0.99));
    border-bottom: 1px solid var(--line);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    counter-reset: navcounter;
  }

  .site-nav__item {
    counter-increment: navcounter;
  }

  .site-nav__link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.9rem 0;
    font-size: clamp(1.5rem, 6vw, 2.4rem);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    opacity: 1;
  }

  .site-nav__link::after {
    content: "0" counter(navcounter);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--gray);
  }

  .site-nav__link:hover {
    background: transparent;
    border-color: var(--line);
  }

  .site-nav__link[aria-current="page"] {
    background: transparent;
  }

  .site-nav__link[aria-current="page"]::after {
    color: var(--orange);
  }

  .site-nav__panel-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--gray);
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .site-footer__contact {
    grid-column: auto;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .hero-cover {
    padding-bottom: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .site-header,
  .site-nav,
  .nav-toggle__lines span,
  .skip-link,
  .btn,
  .data-card {
    transition: none;
  }

  .site-header[data-scrolled="true"] {
    box-shadow: none;
  }

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