/* ===== 1. Design Tokens ===== */
:root {
  --color-navy-900: #060F26;
  --color-navy-800: #0A1E3F;
  --color-navy-700: #122A52;
  --color-navy-600: #1B3B6F;
  --color-gold-600: #C19A2E;
  --color-gold-500: #D4AF37;
  --color-gold-300: #E8C96A;
  --color-red-700: #8B0000;
  --color-blue-400: #4A90E2;
  --color-pearl: #F5F0E6;
  --color-silver: #B0B0B0;
  --color-teal-600: #0E4D5A;

  --font-heading: 'Montserrat', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --container-w: 1200px;
  --header-offset: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --speed-fast: 0.2s;
  --speed-normal: 0.35s;
  --speed-slow: 0.6s;
}

/* ===== 2. Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-pearl);
  background-color: var(--color-navy-800);
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(212, 175, 55, 0.05), transparent 55%),
    radial-gradient(ellipse at 86% 72%, rgba(74, 144, 226, 0.04), transparent 50%),
    linear-gradient(rgba(212, 175, 55, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
  list-style: none;
}

/* ===== 3. Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-pearl);
  margin-bottom: 0.8em;
}

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

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.15rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== 4. Utilities ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

#main-content {
  display: block;
  min-height: 70vh;
  padding-top: var(--header-offset);
  scroll-margin-top: var(--header-offset);
}

[id] {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

/* ===== 5. Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s,
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-blue-400);
  outline-offset: 2px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: var(--color-navy-900);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-300), var(--color-gold-500));
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

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

.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--color-gold-300);
  color: var(--color-gold-300);
}

.btn-lg {
  padding: 0.85rem 2.25rem;
  font-size: 16px;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 13px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

/* ===== 6. Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  pointer-events: none;
}

.header-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-600), var(--color-gold-300));
  border-radius: 0 2px 2px 0;
  z-index: 1200;
  pointer-events: none;
}

.header-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--container-w);
  min-height: 64px;
  margin: 0 auto;
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(10, 30, 63, 0.92), rgba(6, 15, 38, 0.95));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.site-header.is-scrolled .header-capsule {
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1300;
  padding: 0.6rem 1.4rem;
  background: var(--color-gold-500);
  color: var(--color-navy-900);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  pointer-events: auto;
  transition: top 0.3s var(--ease-out);
  white-space: nowrap;
}

.skip-link:focus-visible {
  top: 0.75rem;
  outline: none;
}

/* ===== 7. Brand ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: var(--color-navy-900);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border-radius: 12px 12px 12px 2px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--color-pearl);
  white-space: nowrap;
}

.brand-en {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-gold-500);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-footer .brand-emblem {
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
}

.brand-footer .brand-name {
  font-size: 20px;
}

.brand-footer .brand-en {
  font-size: 10px;
}

/* ===== 8. Navigation ===== */
.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-pearl);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition:
    background-color 0.25s,
    color 0.25s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold-500);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-gold-300);
  background: rgba(212, 175, 55, 0.08);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  width: 60%;
}

.nav-link[aria-current="page"] {
  color: var(--color-gold-500);
  background: rgba(212, 175, 55, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-feature {
  padding: 0.55rem 1.1rem;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: rgba(10, 30, 63, 0.4);
  cursor: pointer;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-gold-500);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-gold-500);
  outline-offset: 2px;
}

.nav-toggle-line {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: var(--color-gold-500);
  border-radius: 2px;
  transition:
    top 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    opacity 0.2s;
}

.nav-toggle-line:nth-child(1) {
  top: 15px;
}

.nav-toggle-line:nth-child(2) {
  top: 25px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile navigation panel */
@media (max-width: 991px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    right: 0;
    z-index: 100;
    display: block;
    margin-left: 0;
    background: linear-gradient(165deg, rgba(6, 15, 38, 0.98), rgba(10, 30, 63, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.35s var(--ease-out),
      visibility 0s linear 0.35s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.3s ease,
      transform 0.35s var(--ease-out),
      visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 1.25rem;
    font-size: 15px;
    border-radius: var(--radius-sm);
    text-align: left;
  }

  .nav-link::after {
    content: none;
  }

  .nav-link[aria-current="page"] {
    background: rgba(212, 175, 55, 0.12);
  }
}

/* CTA collapses to icon on very small screens */
@media (max-width: 640px) {
  .btn-feature {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .btn-feature .btn-text {
    display: none;
  }
}

/* ===== 9. Footer ===== */
.site-footer {
  position: relative;
  margin-top: calc(var(--space-3xl) * 1.5);
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(212, 175, 55, 0.06), transparent 45%),
    linear-gradient(180deg, var(--color-navy-800), var(--color-navy-900)),
    linear-gradient(rgba(212, 175, 55, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-topline {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold-500) 20%, var(--color-gold-300) 55%, transparent 85%);
  opacity: 0.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 3rem;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.75rem;
}

.footer-col-brand .brand {
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-500);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}

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

.footer-list {
  display: grid;
  gap: 0.2rem;
}

.footer-list a {
  display: inline-block;
  padding: 0.3rem 0;
  color: rgba(245, 240, 230, 0.72);
  font-size: 14px;
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.footer-list a::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}

.footer-list a:hover {
  color: var(--color-gold-300);
  padding-left: 6px;
}

.footer-list a:hover::before {
  background: var(--color-gold-500);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.footer-contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-key {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(176, 176, 176, 0.7);
  margin-bottom: 0.2rem;
}

.contact-val {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-pearl);
  word-break: break-word;
}

.footer-trust {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--color-gold-500);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.8);
}

.trust-badge {
  color: var(--color-gold-500);
  font-size: 12px;
  line-height: 1.7;
  flex-shrink: 0;
}

.footer-coordinate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(212, 175, 55, 0.75);
}

.coord-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(176, 176, 176, 0.1);
  padding: 1.25rem 0;
  background: rgba(6, 15, 38, 0.55);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-copyright,
.footer-icp,
.footer-legal {
  font-family: var(--font-heading);
  font-size: 13px;
  color: rgba(176, 176, 176, 0.75);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal a {
  color: rgba(212, 175, 55, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-legal-divider {
  color: rgba(176, 176, 176, 0.35);
  font-size: 12px;
}

/* Footer responsive */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem 1.25rem 2rem;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 1.75rem;
  }

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

/* ===== 10. Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 30, 63, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: var(--color-gold-500);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease-out),
    visibility 0s linear 0.3s,
    background-color 0.2s,
    border-color 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease-out),
    visibility 0s;
}

.back-to-top:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--color-gold-500);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--color-gold-500);
  outline-offset: 2px;
}

.back-to-top-arrow {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

/* ===== 11. Shared Components ===== */
.section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  color: var(--color-pearl);
  margin-bottom: 0.35rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-500);
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-gold-500);
  border-radius: 2px;
}

.section-index {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(212, 175, 55, 0.6);
}

.section-body {
  margin-top: 1.5rem;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

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

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

.card {
  background: linear-gradient(160deg, var(--color-navy-600), var(--color-navy-800));
  border: 1px solid rgba(176, 176, 176, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s,
    border-color 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-navy-600), var(--color-navy-800));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
}

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

.media-frame[data-ratio="4:3"]::before {
  padding-bottom: 75%;
}

.media-frame[data-ratio="1:1"]::before {
  padding-bottom: 100%;
}

.media-frame[data-ratio="3:2"]::before {
  padding-bottom: 66.67%;
}

.media-frame::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--color-gold-500);
  border-right: 2px solid var(--color-gold-500);
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-silver);
}

.breadcrumbs a {
  color: var(--color-gold-400);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb-sep {
  color: rgba(176, 176, 176, 0.5);
  font-size: 12px;
}

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

html.js [data-reveal][data-visible] {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 12. Accessibility & Motion ===== */
:focus-visible {
  outline: 2px solid var(--color-blue-400);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline-color: var(--color-gold-500);
}

@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;
    scroll-behavior: auto !important;
  }

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

  .site-nav {
    transition: none;
  }

  .nav-toggle-line {
    transition: none;
  }

  .back-to-top {
    transition: none;
  }
}
