:root {
  --navy: #173642;
  --teal: #2b7775;
  --mist: #dceae7;
  --paper: #fffdfa;
  --rust: #b55c3e;
  --ink: #203740;
  --muted: #61767c;
  --line: #cfddda;
  --shadow: 0 14px 40px rgba(16, 50, 60, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--mist);
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 8% 10%, rgba(255,255,255,.88), transparent 25rem), linear-gradient(180deg, #dceae8 0, #f4f0e7 35rem, #edf3f1 100%);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #e5ae55; outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 9px 13px;
  color: white;
  background: var(--navy);
  border-radius: 7px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }
.shell { width: min(1120px, calc(100% - 28px)); margin-inline: auto; }

.site-header {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  color: white;
  background-color: var(--navy);
  background-image: var(--hero-image), linear-gradient(125deg, #173642, #226b72);
  background-position: center;
  background-size: cover;
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,35,43,.95), rgba(10,35,43,.7) 54%, rgba(10,35,43,.2)), linear-gradient(0deg, rgba(10,35,43,.46), transparent 56%);
}

.topbar, .hero-copy { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
}

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

.nav-link, .back-button {
  padding: 6px 11px;
  color: white;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover, .back-button:hover { background: rgba(255,255,255,.23); }
.hero-copy { max-width: 780px; padding: 57px 42px 61px; }

.eyebrow, .note-label {
  margin: 0 0 10px;
  color: #b7dfda;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5.6vw, 4.45rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.hero-deck { max-width: 640px; margin: 17px 0 0; color: #e8f2f0; font-size: 1rem; }
main { padding: 38px 0 58px; }

.context-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  margin-bottom: 32px;
  padding: 25px 28px;
  background: rgba(255,253,250,.94);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(16,50,60,.06);
}

.context-card .note-label { color: var(--rust); margin-bottom: 0; }
.note-title { display: block; margin-top: 6px; color: var(--navy); font: 1.3rem/1.18 Georgia, "Times New Roman", serif; }
.note-copy { align-self: center; color: #455b63; font-size: .92rem; }
.note-copy p { margin: 0 0 10px; }
.note-copy p:last-child { margin-bottom: 0; }

.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 2px 17px; }
h2 { margin: 0; font: 400 clamp(1.7rem,4vw,2.55rem)/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.photo-count { margin: 0 0 4px; color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }

.photo-card {
  overflow: hidden;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 7px 22px rgba(16,50,60,.08);
}

.photo-card img { display: block; width: 100%; height: 410px; object-fit: contain; background: #e3ece9; }
.photo-card figcaption { padding: 12px 15px 14px; color: #455b63; font-size: .84rem; }
.map-gallery { grid-template-columns: 1fr; }
.map-gallery .photo-card img { height: auto; }

.feature-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.feature-card img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; background: #e3ece9; }
.feature-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; }
.primary-link { display: inline-block; padding: 9px 15px; color: white; background: var(--teal); border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.primary-link:hover { background: var(--navy); }

.report-card { max-width: 850px; margin-inline: auto; padding: 30px 34px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.report-card h2 { margin-bottom: 18px; }
.report-card p { color: #455b63; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 2px 28px; color: var(--muted); border-top: 1px solid #bfd1cf; font-size: .82rem; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--teal); font-weight: 600; }
#googlePageCounter { min-width: 76px; text-align: right; }

@media (max-width: 760px) {
  .site-header { min-height: 390px; }
  .topbar { padding: 13px 16px; }
  .brand { font-size: 1.3rem; }
  .back-button { display: none; }
  .hero-copy { padding: 58px 22px 44px; }
  main { padding-top: 28px; }
  .context-card { grid-template-columns: 1fr; gap: 12px; padding: 21px 19px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .gallery { grid-template-columns: 1fr; }
  .photo-card img { height: auto; max-height: 640px; }
  .feature-actions { align-items: flex-start; flex-direction: column; }
  .report-card { padding: 23px 20px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  #googlePageCounter { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
