:root {
  --bg-deep: #0B1A3A;
  --bg-nebula: #102A4C;
  --bg-night: #2D1B4E;
  --gold: #F5B700;
  --gold-dark: #B8860B;
  --ice: #E8F0FE;
  --cyan: #00C2C7;
  --data-blue: #1A4B8C;
  --snow: #C0C8D4;
  --alert: #FF4D4F;

  --font-title: Futura, "Arial Black", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --fs-hero: clamp(40px, 7vw, 64px);
  --fs-h1: clamp(32px, 5vw, 48px);
  --fs-h2: clamp(24px, 3.5vw, 32px);
  --fs-h3: clamp(20px, 2vw, 24px);
  --fs-body: 18px;
  --fs-caption: 14px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 0.35s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--ice);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(232, 240, 254, 0.55), transparent 100%),
    radial-gradient(1px 1px at 35% 55%, rgba(232, 240, 254, 0.4), transparent 100%),
    radial-gradient(1px 1px at 65% 25%, rgba(232, 240, 254, 0.4), transparent 100%),
    radial-gradient(1px 1px at 85% 70%, rgba(232, 240, 254, 0.5), transparent 100%),
    radial-gradient(1px 1px at 48% 88%, rgba(232, 240, 254, 0.35), transparent 100%),
    radial-gradient(1000px 600px at 110% -5%, rgba(26, 75, 140, 0.3), transparent 60%),
    radial-gradient(800px 500px at -10% 60%, rgba(45, 27, 78, 0.28), transparent 60%);
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ice);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { text-wrap: pretty; }

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

ul, ol {
  list-style: none;
}

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

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

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(245, 183, 0, 0.35);
  color: var(--ice);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #071226;
}

::-webkit-scrollbar-thumb {
  background: rgba(245, 183, 0, 0.35);
  border-radius: 8px;
  border: 2px solid #071226;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #071226;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(245, 183, 0, 0.4);
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

#main-content {
  scroll-margin-top: 24px;
  outline: none;
}

.page-main {
  min-height: 60vh;
  padding: 8px 0 72px;
}

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

.container-narrow {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding-block: 56px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.section-kicker {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: var(--fs-h2);
}

.section-desc {
  color: var(--snow);
  max-width: 660px;
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid-side {
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #071226;
  box-shadow: 0 10px 30px rgba(245, 183, 0, 0.28);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(245, 183, 0, 0.45);
}

.btn-ghost {
  border: 1px solid rgba(232, 240, 254, 0.35);
  background: rgba(232, 240, 254, 0.05);
  color: var(--ice);
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 4px 28px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--snow);
  border: 1px solid rgba(232, 240, 254, 0.22);
  background: rgba(232, 240, 254, 0.04);
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #071226;
  box-shadow: 0 6px 16px rgba(245, 183, 0, 0.3);
}

.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(0, 194, 199, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(0, 194, 199, 0.25);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 8px;
  font-size: 14px;
  color: var(--snow);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(232, 240, 254, 0.3);
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--gold);
}

.site-header {
  position: relative;
  z-index: 100;
  background:
    radial-gradient(900px 320px at 50% -100px, rgba(26, 75, 140, 0.5), transparent 70%),
    linear-gradient(180deg, var(--bg-nebula) 0%, var(--bg-deep) 100%);
  color: var(--ice);
  box-shadow: 0 12px 40px rgba(3, 8, 22, 0.5);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 183, 0, 0.6), rgba(0, 194, 199, 0.4), transparent);
}

.header-utility {
  border-bottom: 1px solid rgba(232, 240, 254, 0.08);
  background: rgba(5, 12, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-utility-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--snow);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 194, 199, 0.15), 0 0 12px rgba(0, 194, 199, 0.7);
  animation: live-pulse 2.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0, 194, 199, 0.15), 0 0 12px rgba(0, 194, 199, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 194, 199, 0.06), 0 0 18px rgba(0, 194, 199, 0.9);
  }
}

.header-utility-text {
  color: rgba(232, 240, 254, 0.55);
  letter-spacing: 0.18em;
  font-size: 12px;
}

.header-link {
  color: var(--snow);
  white-space: nowrap;
  transition: color 0.3s;
}

.header-link:hover {
  color: var(--gold);
}

.masthead {
  position: relative;
}

.masthead::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 183, 0, 0.25), transparent);
}

.masthead-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 26px 24px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.masthead-side {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--snow);
}

.masthead-side-left {
  justify-self: start;
}

.masthead-side-right {
  justify-self: end;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.masthead-side-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.masthead-side-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(232, 240, 254, 0.45);
}

.masthead-side-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
}

.masthead-side-value::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(245, 183, 0, 0.8);
}

.crown-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 44px;
  height: 32px;
  flex-shrink: 0;
}

.crown-gem {
  width: 0;
  height: 0;
  border-style: solid;
  position: relative;
  z-index: 1;
}

.crown-gem-l,
.crown-gem-r {
  border-width: 0 7px 13px 7px;
  border-color: transparent transparent var(--gold-dark) transparent;
  filter: drop-shadow(0 0 4px rgba(245, 183, 0, 0.35));
}

.crown-gem-c {
  border-width: 0 10px 20px 10px;
  border-color: transparent transparent var(--gold) transparent;
  filter: drop-shadow(0 0 8px rgba(245, 183, 0, 0.7));
}

.crown-band {
  position: absolute;
  bottom: 1px;
  left: 2px;
  right: 2px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  z-index: 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  text-align: center;
  line-height: 1;
}

.brand-kicker {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(0, 194, 199, 0.8);
  margin-bottom: 7px;
}

.brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 56px);
  letter-spacing: 0.02em;
  color: var(--ice);
  text-shadow: 0 0 22px rgba(245, 183, 0, 0.22);
  white-space: nowrap;
}

.brand-dot {
  color: var(--gold);
  margin-inline: 2px;
}

.brand-tagline {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--snow);
}

.site-nav {
  border-top: 1px solid rgba(232, 240, 254, 0.08);
  background: rgba(4, 10, 24, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-list {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 0 24px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 15px 22px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(232, 240, 254, 0.82);
  transition: color 0.3s;
}

@media (min-width: 861px) {
  .nav-list .nav-link + .nav-link {
    border-left: 1px solid rgba(232, 240, 254, 0.08);
  }
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 10px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ice);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 120;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(232, 240, 254, 0.06);
  border: 1px solid rgba(232, 240, 254, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--ice);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 260;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--cyan));
  box-shadow: 0 0 12px rgba(245, 183, 0, 0.5);
  pointer-events: none;
}

.top-btn {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 180;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #071226;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(245, 183, 0, 0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 183, 0, 0.5);
}

.top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-footer {
  position: relative;
  margin-top: 72px;
  background:
    radial-gradient(900px 360px at 15% 100%, rgba(45, 27, 78, 0.5), transparent 70%),
    radial-gradient(700px 300px at 85% 100%, rgba(26, 75, 140, 0.4), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, #071126 100%);
  border-top: 1px solid rgba(245, 183, 0, 0.22);
  color: var(--ice);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 199, 0.6), rgba(245, 183, 0, 0.8), transparent);
}

.footer-frost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(232, 240, 254, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 254, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(600px 300px at 50% 0%, transparent 20%, black 100%);
  mask-image: radial-gradient(600px 300px at 50% 0%, transparent 20%, black 100%);
}

.footer-inner {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  padding: 56px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-crown {
  width: 40px;
  height: 30px;
  filter: drop-shadow(0 0 6px rgba(245, 183, 0, 0.3));
}

.footer-brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--ice);
}

.footer-slogan {
  font-size: 15px;
  line-height: 1.8;
  color: var(--snow);
  max-width: 34ch;
}

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

.footer-heading {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 183, 0, 0.2);
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(232, 240, 254, 0.74);
  font-size: 15px;
  transition: color 0.3s, transform 0.3s;
}

.footer-list a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
  transition: opacity 0.3s, background 0.3s;
  flex-shrink: 0;
}

.footer-list a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-list a:hover::before {
  opacity: 1;
  background: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-line {
  font-size: 14px;
  color: var(--snow);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding: 20px 0 8px;
  border-top: 1px solid rgba(232, 240, 254, 0.1);
  font-size: 13px;
  color: rgba(232, 240, 254, 0.5);
}

.footer-copyright {
  color: var(--snow);
}

.footer-coordinate {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 194, 199, 0.7);
}

.card {
  position: relative;
  display: block;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(232, 240, 254, 0.1);
  background: linear-gradient(165deg, rgba(16, 42, 76, 0.6), rgba(11, 26, 58, 0.88));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 183, 0, 0.35);
  box-shadow: 0 24px 48px rgba(2, 8, 22, 0.55);
}

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

.glass {
  border-radius: var(--r-lg);
  border: 1px solid rgba(232, 240, 254, 0.12);
  background: rgba(232, 240, 254, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px;
}

.note {
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(245, 183, 0, 0.07);
  color: var(--snow);
  font-size: 15px;
}

.index-list {
  display: flex;
  flex-direction: column;
}

.index-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(232, 240, 254, 0.12);
  color: var(--ice);
  transition: color 0.3s;
}

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

.index-title {
  font-family: var(--font-title);
  font-weight: 700;
}

.index-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(232, 240, 254, 0.25);
  transform: translateY(-4px);
}

.index-num {
  font-family: var(--font-title);
  color: var(--gold);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--snow);
}

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid rgba(232, 240, 254, 0.12);
  background: linear-gradient(135deg, rgba(26, 75, 140, 0.3), rgba(45, 27, 78, 0.35));
  aspect-ratio: 16 / 9;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(232, 240, 254, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 254, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.img-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.img-frame:hover img {
  transform: scale(1.04);
}

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

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

.img-frame-wide {
  aspect-ratio: 21 / 9;
}

.prose {
  max-width: 760px;
  color: #D6DEEA;
  font-size: 17px;
  line-height: 1.9;
}

.prose h2 {
  margin-top: 40px;
  margin-bottom: 14px;
}

.prose p {
  margin-bottom: 18px;
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(0, 194, 199, 0.4);
  transition: color 0.3s, border-bottom-color 0.3s;
}

.prose a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

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

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

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 860px) {
  .header-utility-text {
    display: none;
  }

  .header-utility-inner {
    justify-content: center;
  }

  .masthead-inner {
    grid-template-columns: 1fr auto;
    padding: 44px 56px 18px 24px;
    gap: 12px;
  }

  .masthead-side-left {
    display: none;
  }

  .masthead-side-right {
    justify-self: end;
  }

  .brand {
    justify-self: start;
  }

  .brand-kicker {
    letter-spacing: 0.24em;
  }

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

  html.js .site-nav {
    display: none;
  }

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

  .site-nav {
    border-top: 1px solid rgba(232, 240, 254, 0.08);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .nav-link {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(232, 240, 254, 0.06);
  }

  .nav-link::after {
    left: 18px;
    right: auto;
    width: 26px;
    bottom: auto;
    top: 50%;
    transform: scaleX(0) translateY(50%);
    transform-origin: left;
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after,
  .nav-link[aria-current="page"]::after {
    transform: scaleX(1) translateY(50%);
  }
}

@media (max-width: 520px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 48px 24px 16px;
  }

  .masthead-side-right {
    display: none;
  }

  .brand {
    justify-self: center;
  }

  .brand-tagline {
    letter-spacing: 0.22em;
  }

  .brand-name {
    font-size: 32px;
  }

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

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

  .top-btn {
    right: 16px;
    bottom: 16px;
  }
}

@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: 0ms !important;
  }

  .live-dot {
    animation: none;
  }

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