:root {
  --forest: #132016;
  --forest-2: #243322;
  --moss: #526545;
  --paper: #f7f1e5;
  --cream: #fffaf0;
  --ink: #1b1b17;
  --muted: #665f55;
  --line: #d9cdb8;
  --gold: #a77c3b;
  --gold-2: #d5b474;
  --white: #fff;
  --shadow: 0 18px 46px rgba(38, 30, 18, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  color: #fff;
  background: linear-gradient(rgba(9, 13, 9, .84), rgba(9, 13, 9, .34) 72%, rgba(9, 13, 9, 0));
  transition: background-color .2s, padding .2s;
}

.brand {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  opacity: .94;
  transition: background-color .2s, border-color .2s, opacity .2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .12);
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 132px 6vw 84px;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .16), rgba(0, 0, 0, .6)),
    radial-gradient(circle at center, rgba(0, 0, 0, .08), rgba(0, 0, 0, .38));
}

.hero .inner {
  position: relative;
  max-width: 1080px;
}

.eyebrow,
.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
}

.eyebrow {
  color: #ead8b6;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 112px);
  line-height: .92;
  margin: 20px 0 18px;
  text-transform: uppercase;
}

.hero p {
  font-size: clamp(19px, 2.2vw, 29px);
  max-width: 880px;
  margin: 0 auto 30px;
  color: #f4ede1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  padding: 14px 22px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: rgba(11, 16, 13, .36);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  transition: background-color .2s, border-color .2s, transform .2s;
}

.button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px);
}

section {
  padding: 88px 6vw;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 56px;
  align-items: center;
}

.split.top {
  align-items: start;
}

.kicker {
  color: var(--gold);
  margin-bottom: 12px;
}

.title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.08;
  margin: 0 0 22px;
}

.lead {
  font-size: clamp(18px, 2vw, 23px);
  color: #363128;
  margin: 0 0 20px;
}

.body p {
  margin: 0 0 18px;
}

.card,
.tile,
.location-graphic,
.contact-card {
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card {
  padding: 30px;
}

.card p:first-child,
.tile h3:first-child {
  margin-top: 0;
}

.dark {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: #fff;
}

.dark .lead,
.dark p {
  color: #e9dfcf;
}

.dark .kicker {
  color: #d6b77a;
}

.dark .button {
  background: rgba(255, 255, 255, .08);
}

.image,
.wide-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.dark .caption {
  color: #bfb4a2;
}

.quote-block {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.14;
  max-width: 1050px;
  margin: 0 auto;
  color: #1e1b16;
}

.quote-source {
  margin-top: 18px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.next-chapter {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.next-chapter .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.next-chapter p {
  max-width: 760px;
  margin: 0;
  color: #3f392f;
  font-size: clamp(18px, 2vw, 23px);
}

.next-chapter .button {
  color: var(--ink);
  border-color: rgba(27, 27, 23, .28);
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
}

.next-chapter .button:hover {
  border-color: var(--gold);
  background: #fff;
}

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

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

.tile {
  padding: 28px;
}

.tile h3,
.step h3,
.map-line h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.tile h3 {
  font-size: 27px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.tile p {
  margin: 0;
  color: #3f392f;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.photo-grid img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

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

.step {
  border-left: 2px solid var(--gold);
  padding-left: 22px;
}

.step h3 {
  font-size: 28px;
  line-height: 1.16;
  margin: 0 0 8px;
}

.intro {
  padding-top: 140px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest), #1f2d1d 62%, #0b100d);
  color: #fff;
  padding: 150px 6vw 82px;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, .16);
}

.page-hero .wrap {
  max-width: 1060px;
  position: relative;
}

.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1;
  margin: 12px 0 20px;
}

.page-hero p {
  font-size: clamp(19px, 2vw, 27px);
  color: #efe4d3;
  max-width: 900px;
}

.statline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.stat {
  border-top: 1px solid rgba(255, 255, 255, .26);
  padding-top: 18px;
  color: #eadfce;
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.footer {
  background: #0b100d;
  color: #d8d0c2;
  padding: 52px 6vw 36px;
}

.footer-inner {
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: start;
}

.footer h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 8px;
}

.footer p {
  margin: 0 0 10px;
  color: #bfb5a4;
}

.footer a {
  color: #fff;
}

.footer-small {
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 1160px;
  margin: 32px auto 0;
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a89f90;
}

.location-graphic {
  padding: 34px;
}

.map-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  margin: 0 0 22px;
}

.map-line:last-child {
  margin-bottom: 0;
}

.dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  box-shadow: 0 0 0 8px rgba(167, 124, 59, .14);
}

.map-line h3 {
  margin: 0 0 3px;
  font-size: 25px;
  line-height: 1.16;
}

.map-line p {
  margin: 0;
  color: var(--muted);
}

.map-figure {
  margin: 0;
}

.annotated-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.annotated-map img {
  display: block;
  width: 100%;
}

.wilsonia-marker {
  position: absolute;
  left: 13%;
  top: 29%;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7a1111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 1px 0 #fff,
    1px 0 0 #fff,
    0 -1px 0 #fff,
    -1px 0 0 #fff;
}

.wilsonia-marker span {
  color: #b01818;
  font-size: 24px;
}

.map-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.restoration-sequence {
  display: grid;
  gap: 34px;
}

.sequence-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.sequence-card:nth-child(even) {
  direction: rtl;
}

.sequence-card:nth-child(even) > * {
  direction: ltr;
}

.subtle {
  color: var(--muted);
}

.contact-card {
  padding: 38px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.12;
  margin: 0 0 12px;
}

.contact-card p {
  margin: 0 0 12px;
}

.mobile-note {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    display: block;
    padding: 18px 5vw 12px;
    background: linear-gradient(rgba(9, 13, 9, .86), rgba(9, 13, 9, .42) 82%, rgba(9, 13, 9, 0));
  }

  .brand {
    display: inline-block;
    margin-bottom: 12px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, .1);
  }

  .split,
  .grid,
  .grid.two,
  .timeline,
  .footer-inner,
  .sequence-card,
  .next-chapter .wrap,
  .statline {
    grid-template-columns: 1fr;
  }

  .sequence-card:nth-child(even) {
    direction: ltr;
  }

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

  .photo-grid img {
    height: 220px;
  }

  section {
    padding: 66px 5vw;
  }

  .page-hero {
    padding: 138px 5vw 68px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 148px;
  }

  .footer {
    text-align: left;
  }

  .mobile-note {
    display: block;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-top: 16px;
  }

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

  .photo-grid img {
    height: 230px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 19px;
  }

  .brand {
    font-size: 12px;
  }

  .title {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .card,
  .tile,
  .location-graphic,
  .contact-card {
    padding: 24px;
  }
}
