:root {
  --bg: #f4ead8;
  --bg-soft: #fff6ea;
  --panel: rgba(255, 250, 242, 0.88);
  --line: rgba(78, 54, 33, 0.12);
  --text: #2b2118;
  --muted: #655546;
  --teal: #1d9a8a;
  --terracotta: #c95f3f;
  --gold: #e2a950;
  --forest: #35624c;
  --shadow: 0 24px 70px rgba(74, 48, 28, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Archivo", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(29, 154, 138, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(201, 95, 63, 0.14), transparent 24%),
    linear-gradient(145deg, #f4ead8 0%, #fbf2e5 55%, #f0e2cf 100%);
}

.texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(61, 43, 29, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 43, 29, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.96), transparent 98%);
}

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

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

.site-shell {
  position: relative;
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.topbar,
.hero,
.wide-photo,
.panel,
.content-band,
.cards-band,
.timeline-band,
.footer {
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand,
h1,
h2,
h3,
.timeline-step {
  font-family: "Clash Display", "Archivo", sans-serif;
  letter-spacing: 0.01em;
}

.brand {
  font-size: 1.55rem;
  color: var(--terracotta);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff9f2;
  background: linear-gradient(135deg, var(--terracotta), #de8b64);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
  padding: 38px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(247, 236, 219, 0.88)),
    linear-gradient(90deg, rgba(29, 154, 138, 0.08), transparent 40%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero.alt {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(249, 232, 221, 0.88)),
    linear-gradient(90deg, rgba(201, 95, 63, 0.08), transparent 40%);
}

.hero.focus {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.94), rgba(243, 238, 222, 0.9)),
    linear-gradient(90deg, rgba(226, 169, 80, 0.08), transparent 40%);
}

.hero-media img,
.photo-card img {
  border-radius: 26px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  font-size: 1.04rem;
  max-width: 66ch;
}

.cta-row,
.panel-grid,
.photo-grid,
.cards,
.timeline,
.mosaic,
.footer-links {
  display: grid;
  gap: 18px;
}

.cta-row {
  grid-template-columns: repeat(2, max-content);
  gap: 14px;
  margin: 24px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  color: #fff9f2;
  background: linear-gradient(135deg, var(--terracotta), #dd8a63);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(78, 54, 33, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.wide-photo,
.content-band,
.cards-band,
.timeline-band {
  padding: 32px;
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 242, 0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel-grid,
.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

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

.panel,
.info-card,
.timeline-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.accent {
  background:
    linear-gradient(145deg, rgba(29, 154, 138, 0.09), rgba(255, 250, 242, 0.95)),
    var(--panel);
}

.span-two {
  grid-column: span 2;
}

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

.photo-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(78, 54, 33, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.photo-card img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.banner img {
  aspect-ratio: 21 / 9;
}

.photo-card figcaption {
  padding: 18px;
  font-size: 0.96rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.info-card {
  padding: 24px;
}

.timeline {
  grid-template-columns: 1fr;
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  color: #fff9f2;
  background: linear-gradient(135deg, var(--teal), #45b8aa);
  font-size: 1.75rem;
}

.mosaic {
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 24px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 248, 238, 0.88);
  border: 1px solid var(--line);
}

.footer-links {
  grid-auto-flow: column;
  gap: 16px;
}

@media (max-width: 1080px) {
  .hero,
  .panel-grid,
  .photo-grid,
  .cards,
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-two,
  .cards article:last-child,
  .mosaic article:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 12px;
  }

  .topbar,
  .hero,
  .panel-grid,
  .photo-grid,
  .cards,
  .mosaic,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .wide-photo,
  .content-band,
  .cards-band,
  .timeline-band,
  .hero {
    padding: 24px;
  }

  .cta-row,
  .footer-links {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .span-two,
  .cards article:last-child,
  .mosaic article:first-child {
    grid-column: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }
}
