:root {
  --navy: #1a2332;
  --navy-soft: #243246;
  --gold: #c9a84c;
  --gold-soft: #e0c77b;
  --text: #142033;
  --muted: #556275;
  --white: #ffffff;
  --bg: #f8f9fc;
  --radius: 14px;
  --shadow: 0 20px 40px rgba(13, 25, 43, 0.12);
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 168, 76, 0.12), transparent 30%),
    radial-gradient(circle at 100% 20%, rgba(26, 35, 50, 0.08), transparent 25%),
    var(--bg);
}

a {
  color: var(--navy);
  text-decoration: none;
}

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

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

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

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

.brand {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 0.8rem 1rem 1rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.55rem 0;
}

.main-nav.open {
  display: flex;
}

.nav-toggle {
  appearance: none;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold-soft);
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
}

.hero,
.page-hero,
.article-hero {
  padding: 3.5rem 0 2rem;
}

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

.hero-copy h1,
.page-hero h1,
.article-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

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

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1.2rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #1b1b1b;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #d9b65a;
  color: #101010;
}

.btn-secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
}

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

.hero-portrait {
  display: flex;
  justify-content: center;
}

.portrait-placeholder {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(26, 35, 50, 0.98), rgba(35, 52, 74, 0.88)),
    linear-gradient(45deg, rgba(201, 168, 76, 0.25), transparent);
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: grid;
  place-content: center;
  box-shadow: var(--shadow);
}

.portrait-placeholder span {
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.03em;
}

.section {
  padding: 2.25rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(26, 35, 50, 0.03), rgba(201, 168, 76, 0.06));
}

.section-heading {
  margin-bottom: 1.2rem;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 35, 50, 0.08);
  box-shadow: 0 10px 28px rgba(17, 29, 49, 0.07);
}

.card-image-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-body {
  padding: 1rem 1rem 1.2rem;
}

.card .meta,
.article-hero .meta,
.timeline-year {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
}

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

.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid rgba(26, 35, 50, 0.09);
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline-item {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1rem 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(17, 29, 49, 0.06);
}

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

.article-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(26, 35, 50, 0.08);
}

.article-content h1 {
  font-size: 1.85rem;
}

.article-content h2 {
  margin-top: 1.4rem;
  font-size: 1.4rem;
}

.article-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 35, 50, 0.2), transparent);
  margin: 1.2rem 0;
}

.article-content ul {
  padding-left: 1.1rem;
}

.article-sidebar {
  background: linear-gradient(180deg, #1a2332, #202f44);
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.article-sidebar h2 {
  color: var(--gold-soft);
  font-size: 1.2rem;
}

.article-figure {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 0.8rem;
}

.article-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-form {
  background: var(--white);
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 12px 28px rgba(17, 29, 49, 0.07);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin: 0.65rem 0 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(26, 35, 50, 0.22);
  font: inherit;
}

.form-note {
  margin-top: 0.8rem;
  color: var(--muted);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .hero,
  .page-hero,
  .article-hero {
    padding: 4.4rem 0 2.6rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

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

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

  .article-layout {
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  }
}
