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

:root {
  --gold: #D4AF37;
  --gold-light: #F0D68A;
  --dark-red: #8B0000;
  --red-light: #B22222;
  --bg-black: #0A0A0A;
  --surface-dark: #1A1A1A;
  --text-white: #F5F5F5;
  --muted-gray: #666666;
  --font-heading: Impact, 'Helvetica Neue', Arial, sans-serif;
  --font-body: Georgia, 'Times New Roman', serif;
  --h1-size: 4rem;
  --h2-size: 2.8rem;
  --h3-size: 2rem;
  --body-size: 1rem;
  --small-size: 0.8rem;
  --max-width: 1200px;
  --nav-height: 64px;
  --radius-capsule: 50px;
  --radius-card: 12px;
  --transition-base: 0.25s ease;
  --gold-border: 1px solid var(--gold);
  --shadow-float: 0 8px 32px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.7;
  color: var(--text-white);
  background-color: var(--bg-black);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--bg-black);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  border-radius: 6px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 8px;
  outline: none;
}

/* Scroll Progress */
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 10;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.1s linear;
  will-change: width;
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

/* Nav Capsule */
.nav-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  height: 52px;
  padding: 0 12px 0 24px;
  background: rgba(10, 10, 10, 0.88);
  border: var(--gold-border);
  border-radius: var(--radius-capsule);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition-base);
  margin-top: 6px;
}

.nav-capsule:hover {
  border-color: var(--gold-light);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-slogan {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-white);
  letter-spacing: 0.04em;
  opacity: 0.75;
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  transition: background var(--transition-base), border-color var(--transition-base);
}

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

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list li a {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.04em;
  border-radius: 24px;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-list li a:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  transform: scale(1.04);
}

.nav-list li a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-list li a[aria-current="page"] {
  background: var(--dark-red);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(139, 0, 0, 0.4);
}

.nav-list li a[aria-current="page"]:hover {
  background: var(--red-light);
}

/* Footer */
.site-footer {
  background: var(--bg-black);
  border-top: 1px solid var(--gold);
  padding: 48px 16px 24px;
  color: var(--text-white);
  font-family: var(--font-body);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: var(--muted-gray);
  letter-spacing: 0.04em;
}

.footer-trust {
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-top: 8px;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

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

.footer-contact-item {
  font-size: 0.85rem;
  color: var(--text-white);
  opacity: 0.8;
  line-height: 1.6;
}

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

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition-base), padding-left var(--transition-base);
  padding-left: 0;
}

.footer-link:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

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

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: var(--small-size);
  color: var(--muted-gray);
}

.footer-icp {
  font-family: var(--font-body);
}

.footer-copy {
  font-family: var(--font-body);
}

/* Shared Components */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  text-align: center;
}

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

.btn-primary {
  background: var(--dark-red);
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--red-light);
  color: var(--gold-light);
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 16px 0;
  font-size: var(--small-size);
  color: var(--muted-gray);
}

.breadcrumb a {
  color: var(--muted-gray);
  position: relative;
}

.breadcrumb a::after {
  content: '/';
  margin-left: 8px;
  color: var(--muted-gray);
  opacity: 0.4;
}

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

.breadcrumb span,
.breadcrumb [aria-current="page"] {
  color: var(--gold);
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 32px;
}

.card {
  background: var(--surface-dark);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.12);
}

.card:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --h1-size: 2.4rem;
    --h2-size: 1.8rem;
    --h3-size: 1.4rem;
    --nav-height: 60px;
  }

  .site-header {
    padding: 0 12px;
  }

  .nav-capsule {
    height: 48px;
    padding: 0 8px 0 16px;
    border-radius: 28px;
    margin-top: 4px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-slogan {
    font-size: 0.55rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.96);
    border: var(--gold-border);
    border-radius: 16px;
    box-shadow: var(--shadow-float);
    padding: 12px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .main-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .nav-list li a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 10px;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-trust {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--gold);
    padding-top: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .breadcrumb {
    font-size: 0.7rem;
  }

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

@media (min-width: 769px) and (max-width: 1024px) {
  .nav-list li a {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .nav-list li a:hover {
    transform: none;
  }

  .card:hover {
    transform: none;
  }

  .btn-primary:hover {
    transform: none;
  }

  .main-nav {
    transition: none;
  }

  .scroll-progress-bar {
    transition: none;
  }
}

/* Focus visible polyfill */
:focus:not(:focus-visible) {
  outline: none;
}
