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

:root {
  --night: #0B1E3B;
  --deep: #142B4F;
  --orange: #FF6B35;
  --gold: #F5B700;
  --desert: #C73E1D;
  --oasis: #1B9AAA;
  --cream: #F7F3E8;
  --dark: #241F1A;
  --slate: #6B7B8C;
  --font-display: 'Impact', 'Anton', 'Arial Black', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-data: 'Roboto Mono', 'Consolas', monospace;
  --content-width: 1440px;
  --border-subtle: rgba(247, 243, 232, 0.14);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --radius: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main, #main-content {
  flex: 1;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  color: var(--cream);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--orange);
  text-decoration: none;
}

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

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

::selection {
  background: var(--orange);
  color: var(--night);
}

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

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

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

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--night);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--night);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 232, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--orange);
  color: var(--gold);
  transform: none;
  box-shadow: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.breadcrumb li + li::before {
  content: "//";
  margin: 0 0.5rem;
  color: var(--slate);
  opacity: 0.5;
}

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

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

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

.card {
  background: linear-gradient(180deg, var(--deep), rgba(20, 43, 79, 0.7));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.card--border-accent {
  border-left: 4px solid var(--orange);
}

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--deep);
  border-radius: 1rem;
}

.media::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

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

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

.media--portrait::before {
  padding-bottom: 125%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(11, 30, 59, 0.96) 0%, rgba(20, 43, 79, 0.9) 100%);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--gold);
  color: var(--night);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
  width: auto;
  height: auto;
  clip: unset;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  z-index: 5;
  pointer-events: none;
}

.announcement-bar {
  background: linear-gradient(90deg, var(--desert), var(--orange), var(--gold));
  color: var(--night);
  font-size: 0.75rem;
  line-height: 1.2;
  padding: 0.4rem 1rem;
  text-align: center;
}

.announcement-text {
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0;
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1;
  color: var(--night);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  padding: 0.375rem 0.625rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: filter 0.2s ease;
}

.brand:hover .brand-mark {
  filter: brightness(1.1);
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.1em;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  padding: 0.3125rem;
  border-radius: 999px;
  background: rgba(11, 30, 59, 0.55);
  border: 1px solid var(--border-subtle);
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover {
  background-color: rgba(255, 107, 53, 0.18);
  color: var(--gold);
}

.nav-link[aria-current="page"] {
  background-color: var(--orange);
  color: var(--night);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 1rem;
  background: var(--deep);
  color: var(--cream);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--orange);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--orange);
  color: var(--night);
  border-color: var(--orange);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--deep), var(--night));
  border-top: 3px solid var(--orange);
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245, 183, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--orange) 0, var(--orange) 12px, transparent 12px, transparent 24px);
  opacity: 0.35;
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

.brand--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-tagline {
  color: var(--slate);
  font-size: 0.875rem;
  max-width: 34rem;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.7;
}

.footer-contact {
  font-style: normal;
  display: grid;
  gap: 0.35rem;
  color: var(--cream);
  font-size: 0.875rem;
}

.footer-contact-item {
  display: block;
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0 0 1rem;
  position: relative;
  padding-left: 0.875rem;
}

.footer-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 4px;
  height: 1em;
  background: var(--orange);
  transform: skewX(-20deg);
}

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

.footer-link {
  color: rgba(247, 243, 232, 0.78);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease, margin-left 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--orange);
  margin-left: 0.25rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(247, 243, 232, 0.12);
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  color: var(--slate);
}

.copyright,
.icp {
  margin: 0;
  color: inherit;
}

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

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

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.625rem 1rem;
  }

  .brand {
    margin-right: auto;
  }

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

  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-top: 0.5rem;
  }

  .site-nav:not([data-open]) {
    display: none;
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.25rem;
    border-radius: 18px;
    padding: 0.5rem;
    background: rgba(20, 43, 79, 0.98);
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .grid,
  .grid--2col,
  .grid--3col {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

  .nav-link,
  .btn,
  .footer-link,
  .brand-mark {
    transition: none;
  }
}
