:root {
  color-scheme: light;
  --ink: #173e32;
  --ink-soft: #456057;
  --paper: #f8f2e3;
  --paper-deep: #eee2c6;
  --gold: #b8954c;
  --rule: rgba(23, 62, 50, 0.24);
  --shadow: 0 20px 55px rgba(33, 43, 32, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.9), transparent 34rem),
    linear-gradient(180deg, #f9f5e9 0%, #f2ead8 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

a { color: inherit; }

.masthead {
  position: relative;
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 68px 28px 54px;
  text-align: center;
  border: 1px solid var(--gold);
  outline: 5px double rgba(23, 62, 50, .62);
  outline-offset: -12px;
  background: rgba(250, 246, 235, .82);
}

.masthead::before,
.masthead::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.masthead::before { left: 5%; }
.masthead::after { right: 5%; transform: scaleX(-1); }

.eyebrow,
.section-kicker,
.map-number {
  margin: 0 0 8px;
  color: #846b34;
  font: 700 .78rem/1.2 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.address {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  padding: 12px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: 700 .92rem/1 ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--ink); }
.button.secondary { color: var(--ink); background: transparent; }
.button.secondary:hover { color: #fff; background: var(--ink); }
.button:focus-visible, a:focus-visible { outline: 3px solid #d6a73f; outline-offset: 3px; }
.copy-status { min-height: 1.4em; margin: 10px 0 -24px; font: 600 .85rem/1.4 ui-sans-serif, system-ui, sans-serif; }

main { max-width: 1180px; margin: 0 auto; padding: 78px 22px 90px; }
.intro { max-width: 690px; margin-bottom: 34px; }
.intro h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.intro > p:last-child { max-width: 620px; margin: 18px 0 0; color: var(--ink-soft); font-size: 1.08rem; }

.map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.map-card {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: rgba(255, 253, 247, .78);
  box-shadow: var(--shadow);
}
.card-heading { display: grid; grid-template-columns: 1fr minmax(160px, 230px); gap: 22px; align-items: end; padding: 24px 25px 20px; border-bottom: 1px solid var(--rule); }
.card-heading h3 { margin: 0; font-size: 1.65rem; font-weight: 500; }
.card-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.map-frame { position: relative; display: block; padding: 12px; background: var(--paper-deep); }
.map-frame img { display: block; width: 100%; height: auto; border: 1px solid rgba(23, 62, 50, .32); }
.qr-hotspot {
  position: absolute;
  z-index: 2;
  border-radius: 2px;
}
.qr-hotspot:hover { outline: 3px solid rgba(214, 167, 63, .95); outline-offset: 2px; }
.qr-hotspot:focus-visible { outline: 4px solid #d6a73f; outline-offset: 3px; }
.qr-overview .qr-hotspot { left: 84.7%; top: 89.2%; width: 8.6%; height: 4.45%; }
.qr-main .qr-hotspot { left: 85.9%; top: 89.1%; width: 7%; height: 5.35%; }
.card-actions { display: flex; justify-content: space-between; gap: 16px; padding: 18px 25px 20px; font: 700 .92rem/1.2 ui-sans-serif, system-ui, sans-serif; }
.card-actions a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

footer { display: flex; justify-content: space-between; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 25px 22px 50px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: .92rem; }

@media (max-width: 820px) {
  .masthead { margin: 10px 10px 0; padding: 55px 18px 42px; }
  main { padding-top: 58px; }
  .map-grid { grid-template-columns: 1fr; }
  .card-heading { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 520px) {
  .actions { display: grid; }
  .button { width: 100%; }
  .card-actions { flex-direction: column; }
  footer { flex-direction: column; }
}

@media print {
  body { background: white; }
  .masthead, .intro, footer, .card-heading, .card-actions { display: none; }
  main { max-width: none; padding: 0; }
  .map-grid { display: block; }
  .map-card { margin: 0 0 20px; border: 0; box-shadow: none; break-after: page; }
  .map-frame { padding: 0; background: white; }
  .map-frame img { max-height: 96vh; width: auto; max-width: 100%; margin: auto; border: 0; }
}
