:root {
  --paper: #f7ead2;
  --paper-light: #fff7e8;
  --paper-deep: #ead3aa;
  --ink: #332219;
  --muted: #735f4c;
  --wood: #6b3f25;
  --green: #4e6339;
  --green-dark: #26381f;
  --red: #8b3a2d;
  --mustard: #b88232;
  --blue: #3d6670;
  --footer-dark: #2a1b14;
  --line: rgba(72, 42, 24, 0.22);
  --shadow: 0 18px 44px rgba(50, 30, 18, 0.18);
  --header-paper: #fbf0dc;
  --nav-pill: #f1dfcf;
  --nav-pill-hover: #ead2bf;
  --cream-white: #fff7e8;
  --visit-panel: #737a68;
  --visit-panel-soft: #7a816f;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Source Sans 3", Lato, "Trebuchet MS", sans-serif;
  --grid-size: 42px;
  --grid-warm-x: linear-gradient(rgba(107, 63, 37, 0.16) 1px, transparent 1px);
  --grid-warm-y: linear-gradient(90deg, rgba(107, 63, 37, 0.14) 1px, transparent 1px);
  --grid-light-x: linear-gradient(rgba(255, 238, 196, 0.14) 1px, transparent 1px);
  --grid-light-y: linear-gradient(90deg, rgba(255, 238, 196, 0.12) 1px, transparent 1px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 248, 232, 0.66), rgba(255, 248, 232, 0.66)),
    var(--grid-warm-x),
    var(--grid-warm-y),
    repeating-linear-gradient(45deg, rgba(95, 58, 32, 0.035) 0 1px, transparent 1px 7px),
    var(--paper);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto, auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(80, 45, 24, 0.09) 0.8px, transparent 0.8px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(92, 57, 31, 0.05));
  background-size: 18px 18px, 100% 100%;
  mix-blend-mode: multiply;
  opacity: 0.32;
  z-index: -1;
}

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

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-dark);
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--paper-light);
  padding: 0.6rem 0.8rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    linear-gradient(rgba(42, 27, 20, 0.9), rgba(42, 27, 20, 0.9)),
    var(--grid-light-x),
    var(--grid-light-y),
    var(--footer-dark);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
  border-bottom: 1px solid rgba(255, 248, 232, 0.16);
  box-shadow: 0 8px 30px rgba(24, 15, 10, 0.2);
  backdrop-filter: blur(8px);
}

.header-inner,
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.48rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 238px;
  padding: 0.15rem 0;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 248, 232, 0.22);
  background: rgba(255, 247, 232, 0.12);
  color: var(--cream-white);
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  font: 700 0.95rem var(--sans);
}

.menu-icon {
  width: 19px;
  height: 14px;
  display: inline-block;
  font-size: 0;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 6px / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 12px / 100% 2px no-repeat;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 0.55rem 0.72rem;
  border-radius: 6px;
  color: var(--cream-white);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 247, 232, 0.92);
  color: var(--red);
}

.main-nav a:hover {
  background: var(--cream-white);
}

.main-nav .sub-nav {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 190px;
  padding: 0.63rem 0.35rem 0.35rem;
  border: 1px solid rgba(255, 247, 232, 0.22);
  border-radius: 7px;
  background: rgba(42, 27, 20, 0.96);
  box-shadow: 0 16px 32px rgba(27, 16, 10, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav .has-submenu:hover .sub-nav,
.main-nav .has-submenu:focus-within .sub-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav .sub-nav a {
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
  color: var(--paper-light);
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 16, 11, 0.78), rgba(25, 16, 11, 0.42) 52%, rgba(25, 16, 11, 0.18)),
    linear-gradient(0deg, rgba(25, 16, 11, 0.55), transparent 48%);
  z-index: -1;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grid-light-x), var(--grid-light-y);
  background-size: var(--grid-size) var(--grid-size);
  z-index: -1;
}

.home-hero {
  background: url("/images/verzamelschuur-het-winkelblik-interieur-oosterend.webp") center / cover;
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  color: var(--paper-light);
  background-position: center;
  background-size: cover;
}

.hero-content,
.page-hero-content {
  width: min(820px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.03;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2.15rem, 4.3vw, 4rem);
  color: var(--wood);
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  color: var(--green-dark);
}

.hero p,
.page-hero p {
  max-width: 690px;
  margin-top: 1rem;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: rgba(255, 248, 232, 0.94);
}

.ornament {
  width: min(280px, 54vw);
  height: 18px;
  margin: 1.25rem 0;
  color: rgba(255, 248, 232, 0.8);
  background:
    linear-gradient(currentColor, currentColor) left 50% / 42% 1px no-repeat,
    linear-gradient(currentColor, currentColor) right 50% / 42% 1px no-repeat;
  position: relative;
}

.ornament::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.route-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.route-copy,
.map-frame {
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.route-copy {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.route-copy p {
  color: var(--muted);
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.map-frame {
  min-height: 390px;
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  border: 1px solid rgba(76, 45, 26, 0.22);
  border-radius: 6px;
  background: var(--red);
  color: var(--paper-light);
  padding: 0.62rem 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(69, 36, 22, 0.2);
}

.button::after {
  content: ">";
  font-weight: 900;
}

.button:hover {
  background: var(--green-dark);
  color: var(--paper-light);
}

.button.secondary {
  background: rgba(255, 247, 232, 0.92);
  color: var(--wood);
}

.button.secondary:hover {
  background: var(--green);
  color: var(--paper-light);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.answer-panel {
  margin: clamp(1.2rem, 3vw, 2rem) 0 0;
}

.answer-panel .wrap {
  padding: clamp(1rem, 2.4vw, 1.4rem) clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 247, 232, 0.82), rgba(255, 247, 232, 0.82)),
    var(--grid-warm-x),
    var(--grid-warm-y),
    var(--paper-light);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
  box-shadow: 0 12px 28px rgba(50, 30, 18, 0.08);
}

.answer-panel p {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
}

.section.alt {
  background:
    linear-gradient(rgba(255, 247, 232, 0.68), rgba(255, 247, 232, 0.68)),
    var(--grid-warm-x),
    var(--grid-warm-y),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(86, 55, 31, 0.04) 18px 19px),
    var(--paper-light);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto, auto;
  border-block: 1px solid var(--line);
}

.section.deep {
  background:
    linear-gradient(rgba(38, 56, 31, 0.88), rgba(38, 56, 31, 0.88)),
    var(--grid-light-x),
    var(--grid-light-y),
    var(--green-dark);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
  color: var(--paper-light);
}

.section.deep h2,
.section.deep h3,
.section.deep a {
  color: var(--paper-light);
}

.section.deep .button.secondary {
  background: rgba(255, 247, 232, 0.96);
  color: var(--wood);
}

.section.deep .button.secondary:hover {
  background: var(--red);
  color: var(--paper-light);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.section.deep .section-heading p {
  color: rgba(255, 248, 232, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split.reverse .image-frame {
  order: 2;
}

.image-frame {
  position: relative;
  border: 10px solid rgba(255, 247, 232, 0.82);
  outline: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper-light);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(107, 63, 37, 0.18);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.text-block .lead,
.lead {
  color: var(--wood);
  font-size: 1.22rem;
}

.quote {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--mustard);
  background: rgba(255, 248, 232, 0.7);
  color: var(--wood);
  font-family: var(--serif);
  font-size: 1.38rem;
  line-height: 1.35;
}

.section.deep .quote {
  background: rgba(255, 248, 232, 0.08);
  color: var(--paper-light);
}

.small-note {
  color: var(--muted);
  font-size: 1rem;
}

.feature-list,
.link-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.3rem 0 0;
  list-style: none;
}

.feature-list li,
.link-list a {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.feature-list strong {
  color: var(--wood);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.link-list a::after {
  content: ">";
  color: var(--red);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  background:
    linear-gradient(rgba(255, 247, 232, 0.72), rgba(255, 247, 232, 0.72)),
    var(--grid-warm-x),
    var(--grid-warm-y);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size);
  padding: 1.3rem;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--red);
}

.stat span {
  display: block;
  margin-bottom: 0.45rem;
}

.person-note {
  display: grid;
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 247, 232, 0.78), rgba(255, 247, 232, 0.78)),
    var(--grid-warm-x),
    var(--grid-warm-y),
    var(--paper-light);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
}

.person-note img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.person-note h3 {
  margin-bottom: 0.35rem;
}

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

.card {
  background:
    linear-gradient(rgba(255, 247, 232, 0.66), rgba(255, 247, 232, 0.66)),
    var(--grid-warm-x),
    var(--grid-warm-y);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

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

.object-card {
  display: grid;
  background:
    linear-gradient(rgba(255, 247, 232, 0.74), rgba(255, 247, 232, 0.74)),
    var(--grid-warm-x),
    var(--grid-warm-y),
    var(--paper-light);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.object-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(0, 0, 0, 0.76);
}

.lightbox.is-open {
  display: flex;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 820px);
  max-height: 92vh;
  text-align: center;
}

.lightbox-image {
  width: auto;
  max-width: min(92vw, 820px);
  max-height: calc(92vh - 4.5rem);
  margin-inline: auto;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
}

.lightbox-title {
  margin-top: 0.8rem;
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 248, 232, 0.28);
  border-radius: 999px;
  background: rgba(42, 27, 20, 0.64);
  color: var(--paper-light);
  cursor: pointer;
  font: 800 1.4rem var(--sans);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: var(--red);
  outline: none;
}

.period {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.65rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(139, 58, 45, 0.24);
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
  align-items: stretch;
}

.gallery-grid figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 247, 232, 0.74), rgba(255, 247, 232, 0.74)),
    var(--grid-warm-x),
    var(--grid-warm-y),
    var(--paper-light);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  flex: 1;
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.visit-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  border: 1px solid rgba(255, 248, 232, 0.24);
  background: rgba(255, 248, 232, 0.26);
  box-shadow: 0 18px 44px rgba(15, 24, 13, 0.22);
}

.visit-panel > div {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--visit-panel);
}

.visit-panel > div:nth-child(2) {
  background: var(--visit-panel-soft);
}

.visit-photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
}

.visit-photo-frame {
  position: relative;
  border: 10px solid rgba(255, 247, 232, 0.82);
  outline: 1px solid rgba(255, 248, 232, 0.28);
  box-shadow: 0 18px 38px rgba(15, 24, 13, 0.24);
  background: var(--paper-light);
}

.visit-photo-frame::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255, 248, 232, 0.22);
  pointer-events: none;
}

.visit-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.visit-photo-action .button {
  width: 100%;
}

.info-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 0.9rem;
  border-top: 1px solid rgba(255, 248, 232, 0.2);
  padding-top: 0.8rem;
}

.info-list strong {
  color: var(--paper-light);
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-light);
}

.faq summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  color: var(--wood);
  font-weight: 800;
}

.faq details p {
  padding: 0 1rem 1rem;
}

.page-lead {
  max-width: 790px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.page-lead p {
  color: var(--muted);
  font-size: 1.16rem;
}

.two-column-text {
  columns: 2 300px;
  column-gap: clamp(2rem, 5vw, 4rem);
}

.two-column-text h2,
.two-column-text h3 {
  break-after: avoid;
}

.tin-pattern {
  background:
    linear-gradient(rgba(255, 247, 232, 0.68), rgba(255, 247, 232, 0.68)),
    var(--grid-warm-x),
    var(--grid-warm-y),
    var(--paper-light);
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
}

.site-footer {
  background:
    linear-gradient(rgba(42, 27, 20, 0.9), rgba(42, 27, 20, 0.9)),
    var(--grid-light-x),
    var(--grid-light-y),
    #2a1b14;
  background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
  color: var(--cream-white);
  padding: 3rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--cream-white);
  font-size: 1.5rem;
}

.footer-logo {
  display: block;
  width: min(300px, 100%);
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.site-footer ul {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}

.site-footer a {
  color: var(--cream-white);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 248, 232, 0.18);
  margin-top: 2rem;
  padding-top: 1rem;
  color: rgba(255, 247, 232, 0.78);
  font-size: 0.96rem;
}

.footer-bottom a {
  color: var(--cream-white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

@media (max-width: 940px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 76px;
    padding: 0.55rem 0;
  }

  .brand {
    max-width: 189px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
    padding-top: 0.8rem;
  }

  .main-nav a {
    background: rgba(255, 247, 232, 0.1);
    color: var(--cream-white);
  }

  .main-nav .sub-nav {
    position: static;
    min-width: 0;
    display: block;
    margin-top: 0.25rem;
    padding: 0 0 0 0.85rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav .sub-nav li {
    position: relative;
  }

  .main-nav .sub-nav li::before {
    content: "";
    position: absolute;
    left: -0.55rem;
    top: 50%;
    width: 0.42rem;
    height: 1px;
    background: rgba(255, 247, 232, 0.42);
  }

  .main-nav .sub-nav a {
    padding: 0.56rem 0.7rem;
    border: 1px solid rgba(255, 247, 232, 0.14);
    background: rgba(255, 247, 232, 0.13);
    color: var(--cream-white);
    font-size: 0.94rem;
    white-space: normal;
  }

  .main-nav .sub-nav a:hover,
  .main-nav .sub-nav a:focus {
    background: rgba(255, 247, 232, 0.92);
    color: var(--red);
  }

  .split,
  .route-panel,
  .visit-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .image-frame {
    order: 0;
  }

  .card-grid,
  .object-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .person-note {
    grid-template-columns: 1fr;
  }

  .person-note img {
    max-width: 220px;
  }

  .hero {
    min-height: 72vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 4rem);
  }

  .lightbox-next {
    right: calc(50% - 4rem);
  }

  .lightbox-image {
    max-height: calc(92vh - 7rem);
  }
}

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

  .header-inner,
  .wrap {
    width: min(100% - 1rem, 1120px);
  }

  .main-nav ul {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-inline: 0;
  }

  .button {
    width: 100%;
  }

  .info-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .image-frame {
    border-width: 6px;
  }
}
