:root {
  --bg: #12271f;
  --bg-elev: #193229;
  --bg-panel: #20392f;
  --bg-panel-2: #172c23;
  --text: #f1e8cf;
  --text-soft: #c7c0a7;
  --gold: #d9b46d;
  --gold-soft: #ead39a;
  --crimson: #a94733;
  --border: rgba(217, 180, 109, 0.22);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.22);
  --radius: 2px;
  --content: 1220px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", Arial, sans-serif;
  --hero-gradient: linear-gradient(180deg, rgba(18, 39, 31, 0.2) 0%, rgba(18, 39, 31, 0.72) 56%, #12271f 100%);
  --panel-gradient: linear-gradient(155deg, rgba(32, 57, 47, 0.96), rgba(23, 44, 35, 0.96));
  --gold-gradient: linear-gradient(100deg, #a97d31, var(--gold-soft) 45%, #a97d31);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 180, 109, 0.08), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(169, 71, 51, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: var(--gold);
  color: #123024;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--gold);
  color: #12271f;
  padding: 0.7rem 1rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container.narrow {
  width: min(calc(100% - 2rem), 1040px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 39, 31, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.brand-mark svg {
  width: 40px;
  height: 40px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 0.35rem;
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.menu-button,
.search-button,
.region-pill button,
.icon-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.menu-button:hover,
.search-button:hover,
.region-pill button:hover,
.icon-button:hover {
  border-color: rgba(217, 180, 109, 0.45);
  background: rgba(217, 180, 109, 0.08);
}

.search-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.region-pill button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--text-soft);
}

.region-pill button.is-active {
  background: var(--gold);
  color: #13271f;
  font-weight: 700;
}

.menu-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.menu-button svg,
.search-button svg,
.icon-button svg {
  width: 16px;
  height: 16px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-soft);
  padding: 0.8rem 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-more {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 16rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  background: var(--panel-gradient);
  box-shadow: var(--shadow);
  display: none;
}

.nav-more.is-open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: var(--text-soft);
}

.nav-dropdown a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--bg);
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-head {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-nav {
  height: calc(100vh - 72px);
  overflow: auto;
  padding: 1.5rem 0 2rem;
}

.mobile-menu-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(217, 180, 109, 0.14);
}

.mobile-menu-nav .region-pill {
  margin-bottom: 1rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero > img,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
}

.deco-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(217, 180, 109, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 180, 109, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-content {
  position: relative;
  padding: 5rem 0 4rem;
}

.hero-content.hero-large {
  padding: 6rem 0 5rem;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-title {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-intro {
  max-width: 44rem;
  color: rgba(241, 232, 207, 0.84);
  font-size: 1.06rem;
  line-height: 1.7;
  margin-top: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--gold);
  padding: 0.85rem 1.2rem;
  background: var(--gold);
  color: #13271f;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(217, 180, 109, 0.4);
}

.btn-outline:hover {
  background: rgba(217, 180, 109, 0.08);
}

.section {
  padding: 5rem 0;
}

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

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

.section.alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head h2,
.section-head h3 {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-intro {
  max-width: 40rem;
  color: var(--text-soft);
  margin-top: 0.95rem;
  line-height: 1.7;
}

.stack {
  display: grid;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  gap: 1rem;
}

.panel {
  background: var(--panel-gradient);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel.pad {
  padding: 1.5rem;
}

.panel-image {
  overflow: hidden;
}

.panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel h3,
.panel h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
}

.panel p {
  color: var(--text-soft);
}

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

.lift {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(217, 180, 109, 0.3), 0 18px 45px rgba(217, 180, 109, 0.16);
}

.card-link {
  display: block;
  overflow: hidden;
}

.card-link .panel-image img {
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.card-link:hover .panel-image img {
  transform: scale(1.04);
}

.hero-card {
  padding: 1.4rem;
}

.hero-card .eyebrow {
  margin-bottom: 0.35rem;
}

.hero-card .stat {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  color: var(--gold);
}

.gold-rule {
  height: 1px;
  background: var(--gold-gradient);
}

.stat-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.stat-grid > div {
  padding: 1.25rem;
  background: var(--panel-gradient);
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.stat-value {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--gold);
}

.stat-note {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.category-card {
  display: block;
  overflow: hidden;
}

.category-card .panel-image {
  aspect-ratio: 4 / 3;
}

.category-card h3 {
  font-size: 1.4rem;
  padding: 1rem 1.1rem 1.2rem;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}

.scroll-row > * {
  scroll-snap-align: start;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter-label {
  margin-right: 0.35rem;
}

.chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
}

.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #13271f;
  font-weight: 700;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tab-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.tab-button.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #13271f;
  font-weight: 700;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--panel-gradient);
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 1.2rem 1.1rem;
  color: var(--text-soft);
}

.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(217, 180, 109, 0.26);
  background: rgba(9, 18, 14, 0.25);
  color: var(--text);
  padding: 0.85rem 0.95rem;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.help-text {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.form-state {
  font-size: 0.88rem;
}

.form-state.is-error {
  color: #ff8366;
}

.form-state.is-success {
  color: var(--gold);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 65;
  width: min(100% - 2rem, 26rem);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer-pattern {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6rem;
  opacity: 0.24;
  background-image:
    linear-gradient(45deg, rgba(217, 180, 109, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(217, 180, 109, 0.08) 25%, transparent 25%);
  background-size: 28px 28px;
}

.footer-inner {
  position: relative;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer h4,
.footer .footer-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}

.footer p,
.footer a {
  color: var(--text-soft);
}

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

.footer-meta {
  border-top: 1px solid rgba(217, 180, 109, 0.18);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.article-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.article-layout {
  display: grid;
  gap: 2rem;
}

.article-content {
  min-width: 0;
}

.article-sidenote {
  display: none;
}

.article-sidenote .panel {
  position: sticky;
  top: 6rem;
}

.prose p {
  color: var(--text-soft);
  line-height: 1.8;
}

.prose h2 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.prose figure {
  margin: 1.5rem 0 0;
  border: 1px solid var(--border);
}

.prose figcaption {
  padding: 0.8rem 0.95rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.quote {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.quote p {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  font-size: clamp(1.2rem, 2.7vw, 1.75rem);
}

.inline-list {
  display: grid;
  gap: 0.6rem;
  padding-left: 0;
  list-style: none;
}

.inline-list li {
  display: flex;
  gap: 0.6rem;
}

.inline-list li::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.6rem;
  background: var(--gold);
  flex: 0 0 auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--panel-gradient);
}

th,
td {
  text-align: left;
  padding: 0.8rem 0.85rem;
  border-top: 1px solid rgba(217, 180, 109, 0.12);
  vertical-align: top;
}

th {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}

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

.small {
  font-size: 0.84rem;
}

.center {
  text-align: center;
}

.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  background:
    radial-gradient(circle at center, rgba(217, 180, 109, 0.06), transparent 35%),
    var(--panel-gradient);
}

.map-panel .marker {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(217, 180, 109, 0.45);
  background: rgba(18, 39, 31, 0.9);
  color: var(--gold);
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.map-panel .marker.is-active {
  background: var(--gold);
  color: #13271f;
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 180, 109, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 180, 109, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
}

.map-panel > * {
  position: relative;
}

.tour-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 60;
  display: none;
}

.back-to-top.is-visible {
  display: grid;
}

.back-to-top button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  .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));
  }

  .footer-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 860px) {
  .article-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .article-sidenote {
    display: block;
  }
}

@media (min-width: 1100px) {
  .desktop-nav {
    display: flex;
  }

  .menu-button {
    display: none;
  }

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

  .grid-2.hero-split {
    grid-template-columns: 1.6fr 1fr;
  }

  .grid-2.hero-split.reverse > :first-child {
    order: 2;
  }

  .grid-2.hero-split.reverse > :last-child {
    order: 1;
  }
}

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

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