:root {
  color-scheme: light;
  --ink: #241c15;
  --muted: #695e52;
  --paper: #fffaf0;
  --surface: #ffffff;
  --saffron: #bf5b20;
  --marigold: #efb342;
  --teal: #23625d;
  --rose: #8f3854;
  --line: #e8dcc8;
  --shadow: 0 20px 50px rgba(41, 29, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 240, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 18px rgba(46, 34, 22, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-family: Georgia, serif;
  font-size: 22px;
}

.is-scrolled .brand-mark,
.is-open .brand-mark {
  border-color: var(--line);
  background: #fff;
  color: var(--saffron);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.is-scrolled .nav-links a:hover,
.is-open .nav-links a:hover {
  background: #f1e5d1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(31, 22, 13, 0.82), rgba(31, 22, 13, 0.42) 46%, rgba(31, 22, 13, 0.14)),
    linear-gradient(0deg, rgba(31, 22, 13, 0.55), transparent 40%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  padding: 136px 0 72px;
  margin-left: clamp(18px, 6vw, 80px);
  color: #fff;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--marigold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 9vw, 92px);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.6vw, 54px);
}

h3 {
  font-size: 18px;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--marigold);
  color: #211408;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.info-block {
  min-height: 132px;
  padding: 26px clamp(18px, 3vw, 34px);
  background: var(--surface);
}

.info-block span,
.timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-block strong {
  display: block;
  max-width: 420px;
  font-size: 19px;
  line-height: 1.25;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.visit-grid {
  display: grid;
  gap: 16px;
}

.visit-grid article {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.visit-grid p,
.card p,
.history-inner p,
.sources li {
  color: var(--muted);
  font-size: 17px;
}

.history-inner code,
.sources code {
  border-radius: 4px;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 0.92em;
}

.history-band {
  background: #1f4f4b;
  color: #fff;
}

.history-inner {
  width: min(1030px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 110px) 0;
}

.history-inner p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.22);
}

.timeline div {
  min-height: 150px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline span {
  color: var(--marigold);
}

.timeline strong {
  font-size: 18px;
  line-height: 1.28;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.archive {
  width: min(1220px, calc(100% - 36px));
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.archive-card {
  display: grid;
  grid-template-rows: minmax(220px, 34vw) auto auto;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(41, 29, 17, 0.06);
}

.archive-card img {
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
  background: #f3eadb;
}

.archive-card span {
  display: block;
  margin: 18px 18px 7px;
  color: var(--saffron);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-card strong {
  display: block;
  margin: 0 18px 20px;
  font-size: 17px;
  line-height: 1.25;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(41, 29, 17, 0.06);
}

.sources {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.sources ul {
  margin: 0;
  padding-left: 22px;
}

.sources li + li {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  color: var(--marigold);
  font-weight: 800;
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(31, 22, 13, 0.82), rgba(31, 22, 13, 0.42)),
      linear-gradient(90deg, rgba(31, 22, 13, 0.72), transparent);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-bottom: 54px;
  }

  .quick-info,
  .split,
  .timeline,
  .cards,
  .archive-grid,
  .sources {
    grid-template-columns: 1fr;
  }

  .archive-card {
    grid-template-rows: 260px auto auto;
  }

  .info-block {
    min-height: auto;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .button {
    width: 100%;
  }
}
