:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --black: #0a0a0a;
  --ivory: #f5f0e8;
  --stone: #8c8478;
  --charcoal: #2a2a2a;
  --gold: #b8965a;
  --burgundy: #4a1020;
  --border: rgba(10, 10, 10, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(184, 150, 90, 0.08), transparent 28%);
  z-index: -1;
}

.site-shell {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
}

.site-main {
  padding-top: 0;
}

.container-wide {
  width: min(1600px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--foreground);
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 1.8s ease;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.25rem 3rem;
}

.hero-topbar,
.hero-bottombar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.hero-tag {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.9;
  margin: 0;
}

.hero-subline {
  max-width: 42rem;
  margin: 1rem auto 0;
  font-size: 0.82rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.hero-button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
  color: #000;
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background: var(--gold);
  color: #fff;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-line {
  width: 1px;
  height: 3rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.scroll-line::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scroll-down 2s ease-in-out infinite;
}

.section-pad {
  padding: 6rem 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0;
}

.section-kicker {
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.panel {
  border: 1px solid var(--border);
  background: var(--ivory);
}

.panel-dark {
  background: var(--foreground);
  color: #fff;
}

.card-article {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(10, 10, 10, 0.08);
}

.image-frame {
  position: relative;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.image-frame:hover img {
  transform: scale(1.06);
}

.page-hero {
  padding: 10rem 0 5rem;
  background: var(--background);
}

.page-card {
  border: 1px solid var(--border);
  background: var(--ivory);
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.page-card:hover,
.page-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(10, 10, 10, 0.08);
  border-color: rgba(184, 150, 90, 0.35);
}

.page-card h2,
.page-card h3 {
  font-family: 'Playfair Display', serif;
}

.section-surface {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.section-surface:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.12);
  border-color: rgba(184, 150, 90, 0.3);
}

.metric-card,
.timeline-card,
.resource-card,
.info-card {
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.4rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.metric-card:hover,
.timeline-card:hover,
.resource-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(10, 10, 10, 0.08);
  border-color: rgba(184, 150, 90, 0.3);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 150, 90, 0.08);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.list-check li {
  display: flex;
  gap: 0.7rem;
  align-items: start;
}

.list-check li::before {
  content: '•';
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.2;
}

.navbar-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s ease;
}

.navbar-shell.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(10, 10, 10, 0.06);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.navbar-shell.scrolled .nav-link,
.navbar-shell.scrolled .brand {
  color: var(--foreground);
}

.navbar-shell .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: #fff;
}

.navbar-shell .nav-link {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navbar-shell .nav-link:hover,
.navbar-shell .nav-link.active {
  color: var(--gold);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--foreground);
  color: var(--background);
  padding: 5rem 1.5rem 2rem;
  z-index: 90;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.45s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.footer-grid {
  background: #000;
  color: #fff;
}

.footer-grid img {
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.footer-grid img:hover {
  filter: grayscale(0);
}

.footer-links {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links:hover {
  color: #fff;
}

.site-loader {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 300;
  transition: opacity 0.8s ease;
}

.site-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.site-loader .loader-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.3em;
  font-style: italic;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.fine-copy {
  color: rgba(10, 10, 10, 0.7);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.9s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scroll-down {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}