:root {
  --black: #0e0c08;
  --black-soft: #17130d;
  --cream: #f8f2e9;
  --cream-deep: #eee3d3;
  --white: #ffffff;
  --ink: #1c1914;
  --muted: #6f685f;
  --gold: #c9a45c;
  --gold-light: #e3c880;
  --red: #8f2f2a;
  --line: rgba(30, 24, 16, 0.14);
  --shadow: 0 18px 50px rgba(22, 16, 8, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Barlow", Arial, sans-serif;
  --header-height: 76px;
  --content-width: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  letter-spacing: -0.035em;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 9999;
  padding: 12px 18px;
  color: var(--black);
  background: var(--gold-light);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.section-shell {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 23px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--gold {
  color: var(--black);
  background: var(--gold);
}

.button--gold:hover,
.button--gold:focus-visible {
  background: var(--gold-light);
}

.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--black);
  background: var(--white);
}

.button--dark {
  color: var(--white);
  background: var(--black);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--black);
  background: var(--gold);
}

.button--full {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 10px clamp(22px, 4vw, 64px);
  color: var(--white);
  background: rgba(14, 12, 8, 0.97);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-seal {
  position: relative;
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-seal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

.brand-name {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.7vw, 28px);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.primary-nav > a,
.nav-group-toggle {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.86);
}

.primary-nav > a::after,
.nav-group-toggle::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after,
.nav-group-toggle:hover::after,
.nav-group-toggle:focus-visible::after,
.nav-group-toggle.is-current::after {
  transform: scaleX(1);
}

.nav-group {
  position: relative;
}

.nav-group-toggle {
  border: 0;
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
  background: transparent;
}

.nav-group-toggle span {
  margin-left: 4px;
  color: var(--gold);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  display: grid;
  width: 220px;
  padding: 9px;
  border: 1px solid rgba(201, 164, 92, 0.35);
  opacity: 0;
  visibility: hidden;
  background: #17130e;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown a {
  padding: 12px 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.35;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown a.is-current {
  color: var(--black);
  background: var(--gold);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--white);
}

/* Hero */
.history-hero {
  display: grid;
  min-height: min(720px, calc(100vh - var(--header-height)));
  grid-template-columns: minmax(0, 0.87fr) minmax(520px, 1.13fr);
  color: var(--white);
  background: var(--black);
}

.history-hero__content {
  display: flex;
  max-width: 650px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 120px) clamp(36px, 6vw, 100px);
}

.history-hero h1 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 6.4vw, 7rem);
  letter-spacing: -0.045em;
}

.history-hero__intro {
  max-width: 570px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero-facts {
  display: grid;
  max-width: 600px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  padding: 20px 16px 0 0;
}

.hero-facts strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
}

.history-hero__visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.history-hero__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, rgba(14, 12, 8, 0.12) 20%, rgba(14, 12, 8, 0.12) 70%, rgba(14, 12, 8, 0.48) 100%);
  content: "";
}

.history-hero__visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.12;
  background-image: linear-gradient(rgba(201, 164, 92, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 164, 92, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
}

.history-hero__visual > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05) brightness(0.77) sepia(0.13);
}

.hero-photo-card {
  position: absolute;
  z-index: 2;
  right: clamp(26px, 5vw, 74px);
  bottom: clamp(26px, 5vw, 70px);
  display: flex;
  width: min(380px, calc(100% - 52px));
  flex-direction: column;
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  background: rgba(14, 12, 8, 0.9);
  box-shadow: var(--shadow);
}

.hero-photo-card span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-photo-card strong {
  margin: 5px 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.05;
}

.hero-photo-card small {
  color: rgba(255, 255, 255, 0.62);
}

/* Purpose */
.history-purpose {
  padding-block: clamp(76px, 9vw, 126px);
}

.section-heading--center {
  max-width: 800px;
  margin: 0 auto 66px;
  text-align: center;
}

.section-heading--center > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.purpose-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.purpose-line::before {
  position: absolute;
  top: 30px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  content: "";
}

.purpose-line article {
  position: relative;
  z-index: 1;
  padding: 0 30px;
  text-align: center;
}

.purpose-number {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--black);
  background: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
}

.purpose-line h3 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.purpose-line p {
  max-width: 270px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Archive */
.archive-section {
  padding-block: clamp(78px, 9vw, 128px);
  background: #efe5d6;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 50px;
}

.section-heading--split h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading--split > p {
  margin-bottom: 6px;
  color: var(--muted);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.archive-card {
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(30, 24, 16, 0.14);
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 32px rgba(22, 16, 8, 0.08);
  font: inherit;
  text-align: left;
  appearance: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.archive-card:hover,
.archive-card:focus-visible {
  border-color: rgba(201, 164, 92, 0.8);
  outline: 0;
  box-shadow: 0 20px 42px rgba(22, 16, 8, 0.15);
  transform: translateY(-6px);
}

.archive-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.35), 0 20px 42px rgba(22, 16, 8, 0.15);
}

.archive-card__media {
  position: relative;
  display: grid;
  min-height: 184px;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #282118;
}

.archive-card__media::after {
  position: absolute;
  z-index: 2;
  inset: 9px;
  border: 1px solid rgba(227, 200, 128, 0.46);
  pointer-events: none;
  content: "";
}

.archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.archive-card--published:hover .archive-card__media img,
.archive-card--published:focus-visible .archive-card__media img {
  transform: scale(1.045);
}

.archive-card__media--placeholder {
  color: var(--gold-light);
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.14), transparent 52%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.035) 34px 35px),
    #18140f;
}

.archive-card__status,
.archive-card__photo-count {
  position: absolute;
  z-index: 3;
  top: 16px;
  padding: 6px 9px;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.archive-card__status {
  left: 16px;
  color: var(--black);
  background: var(--gold-light);
}

.archive-card__photo-count {
  right: 16px;
  color: var(--white);
  background: rgba(14, 12, 8, 0.78);
}

.archive-card__placeholder-number {
  position: relative;
  z-index: 1;
  color: rgba(227, 200, 128, 0.18);
  font-family: var(--serif);
  font-size: clamp(5.2rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

.archive-card__placeholder-label {
  position: absolute;
  z-index: 3;
  bottom: 17px;
  left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.archive-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 21px 24px;
}

.archive-card__meta {
  margin-bottom: 11px;
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.archive-card__title {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.archive-card__excerpt {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
}

.archive-card__action {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.archive-card__action span {
  color: var(--red);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.story-meta span {
  padding: 6px 9px;
  color: var(--red);
  background: rgba(143, 47, 42, 0.07);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.archive-invitation {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(300px, 1fr) auto;
  align-items: center;
  gap: 42px;
  margin-top: 24px;
  border: 1px solid rgba(30, 24, 16, 0.12);
  padding: 30px 34px;
  background: rgba(255, 255, 255, 0.38);
}

.archive-invitation .eyebrow {
  margin-bottom: 7px;
  color: var(--red);
}

.archive-invitation h3 {
  margin-bottom: 0;
  font-size: 2rem;
}

.archive-invitation > p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Interactive history map */
.map-section {
  padding-block: clamp(80px, 9vw, 132px);
  color: var(--ink);
  background: #f2ecdf;
}

.map-section__heading--center {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.map-section__heading--center h2 {
  color: #123f2d;
}

.map-section__heading--center > p:last-child {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
}

.map-layout--explorer {
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(18, 63, 45, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 55px rgba(28, 40, 31, 0.1);
}

.map-canvas-wrap {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 45, 0.13);
  border-radius: 22px;
  background: #edf3ed;
}

.history-map {
  width: 100%;
  height: 100%;
  min-height: 560px;
  background-color: #edf3ed;
  background-image: radial-gradient(circle at 50% 45%, #fbfdf9 0%, #e7efe7 75%);
}

.leaflet-container {
  font-family: var(--sans);
}

.leaflet-control-zoom a {
  border-color: rgba(18, 63, 45, 0.22) !important;
  color: #123f2d !important;
  background: rgba(255, 255, 255, 0.94) !important;
}

.leaflet-control-attribution {
  color: #5c685f !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

.leaflet-control-attribution a {
  color: #123f2d !important;
}

.map-load-error {
  max-width: 280px;
  border: 1px solid rgba(143, 47, 42, 0.4);
  padding: 10px 12px;
  color: #7b1e18;
  background: rgba(255, 245, 242, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-family: var(--sans);
  font-size: 0.72rem;
  line-height: 1.45;
}

.history-marker {
  position: relative;
  width: 28px;
  height: 28px;
}

.history-marker__pin {
  position: absolute;
  z-index: 2;
  top: 1px;
  left: 1px;
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid #fff3cc;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 164, 92, 0.18), 0 0 20px rgba(130, 95, 28, 0.5);
  transform: rotate(-45deg);
  transition: width 180ms ease, height 180ms ease, box-shadow 180ms ease;
}

.history-marker__pin::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #123f2d;
  content: "";
}

.history-marker__pulse {
  position: absolute;
  z-index: 1;
  top: -2px;
  left: -2px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(223, 177, 69, 0.75);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.history-marker--active .history-marker__pin {
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  box-shadow: 0 0 0 7px rgba(201, 164, 92, 0.23), 0 0 26px rgba(130, 95, 28, 0.64);
}

.history-marker--active .history-marker__pin::after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
}

.history-marker--active .history-marker__pulse {
  animation: history-pin-pulse 1.8s ease-out infinite;
}

@keyframes history-pin-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.78);
  }

  75%,
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.leaflet-tooltip.history-tooltip {
  border: 1px solid rgba(201, 164, 92, 0.65);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(15, 29, 20, 0.95);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  font-size: 0.75rem;
}

.leaflet-tooltip.history-tooltip::before {
  border-top-color: rgba(15, 29, 20, 0.95);
}

.map-instruction {
  position: absolute;
  z-index: 500;
  bottom: 18px;
  left: 18px;
  display: flex;
  max-width: 260px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(18, 63, 45, 0.22);
  border-radius: 10px;
  padding: 11px 13px;
  color: #31453a;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(18, 63, 45, 0.12);
  font-size: 0.73rem;
}

.mini-pin {
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
}

.country-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 22px;
  padding: clamp(26px, 3vw, 40px);
  color: var(--white);
  background: #0f1d14;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.18);
}

.country-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(2.7rem, 4vw, 4.2rem);
}

.country-panel > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.65);
}

.country-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 22px;
}

.country-stats > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.country-stats span {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.country-stats strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.country-quick-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.country-chip {
  min-height: 36px;
  border: 1px solid rgba(201, 164, 92, 0.5);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 600;
}

.country-chip:hover,
.country-chip:focus-visible,
.country-chip.is-active {
  color: var(--black);
  background: var(--gold);
}

.country-panel .button {
  margin-top: auto;
}

.location-explorer {
  margin-top: 30px;
  border: 1px solid rgba(18, 63, 45, 0.13);
  border-radius: 28px;
  padding: clamp(30px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 55px rgba(28, 40, 31, 0.09);
}

.location-explorer__heading {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

.location-explorer__heading h3 {
  margin-bottom: 10px;
  color: #123f2d;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.location-explorer__heading > p:last-child {
  color: var(--muted);
}

.selection-breadcrumb {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 34px;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  background: #123f2d;
  font-size: 0.75rem;
}

.selection-breadcrumb b {
  color: var(--gold-light);
}

.selection-breadcrumb strong {
  color: var(--gold-light);
}

.location-step {
  display: grid;
  grid-template-columns: minmax(230px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(18, 63, 45, 0.12);
  padding-block: 22px;
}

.location-step__label {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 13px;
}

.location-step__label > span {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.location-step__label strong,
.location-step__label small {
  display: block;
}

.location-step__label strong {
  color: #123f2d;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
}

.location-step__label small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

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

.location-option {
  min-height: 44px;
  border: 1px solid #123f2d;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  color: var(--white);
  background: #123f2d;
  font-size: 0.78rem;
  font-weight: 700;
}

.location-option:hover,
.location-option:focus-visible,
.location-option.is-active {
  border-color: #a88131;
  color: var(--black);
  background: var(--gold);
}

.location-option:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.location-results {
  margin-top: 22px;
}

.empty-location-state {
  border: 1px dashed rgba(18, 63, 45, 0.28);
  border-radius: 20px;
  padding: 34px;
  text-align: center;
  background: #fbf7ee;
}

.empty-location-state > span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 11px;
  color: #123f2d;
  background: #efe5cf;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-location-state h4 {
  margin: 14px 0 8px;
  color: #123f2d;
  font-size: 2rem;
}

.empty-location-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.location-story-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(18, 63, 45, 0.14);
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 14px 40px rgba(18, 63, 45, 0.1);
}

.location-story-card > img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.location-story-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.location-story-card__content h4 {
  margin-bottom: 14px;
  color: #123f2d;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.location-story-card__content > p {
  color: var(--muted);
}

.location-note {
  border-left: 3px solid var(--gold);
  padding: 10px 13px;
  color: #5d554b;
  background: #f6efdf;
  font-size: 0.78rem;
}

.story-meta--compact {
  margin-bottom: 16px;
}

.map-full-link {
  display: block;
  margin-top: 28px;
  color: #123f2d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* Share form */
.share-section {
  padding-block: clamp(80px, 9vw, 132px);
  background: var(--cream);
}

.share-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(500px, 1.3fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.share-intro {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.share-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.share-steps {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.share-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.share-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
}

.share-steps strong,
.share-steps small {
  display: block;
}

.share-steps strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}

.share-steps small {
  margin-top: 4px;
  color: var(--muted);
}

.history-form {
  border-top: 5px solid var(--gold);
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.form-grid label:not(.consent) {
  display: grid;
  gap: 7px;
}

.form-grid label > span:first-child {
  color: #383229;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-span-2 {
  grid-column: 1 / -1;
}

.history-form input:not([type="checkbox"]):not([type="file"]),
.history-form select,
.history-form textarea {
  width: 100%;
  border: 1px solid #d4c9ba;
  border-radius: 0;
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
  background: #fffefa;
}

.history-form textarea {
  min-height: 160px;
  resize: vertical;
}

.history-form input:focus,
.history-form select:focus,
.history-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.15);
}

.history-form [aria-invalid="true"] {
  border-color: #a12d25 !important;
}

.upload-field {
  border: 1px dashed #bbaa91;
  padding: 18px;
  background: #fbf7f1;
}

.upload-field input {
  width: 100%;
  color: var(--muted);
  font-size: 0.84rem;
}

.upload-field small {
  color: var(--muted);
  font-size: 0.75rem;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--black);
}

.consent span {
  color: var(--muted) !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 1.45;
  text-transform: none !important;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.form-message {
  display: none;
  margin-top: 15px;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  color: var(--ink);
  background: #f6efe4;
  font-size: 0.84rem;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  border-left-color: #a12d25;
  color: #7b1e18;
  background: #fff0ee;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--black);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.6fr);
  gap: 55px;
  padding-block: 68px 54px;
}

.brand--footer {
  margin-bottom: 20px;
}

.site-footer__main > div:first-child p {
  max-width: 390px;
  font-size: 0.88rem;
}

.site-footer h3 {
  margin-bottom: 17px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__main > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__main a:not(.brand) {
  font-size: 0.82rem;
}

.site-footer__main a:not(.brand):hover,
.site-footer__main a:not(.brand):focus-visible {
  color: var(--gold-light);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  font-size: 0.7rem;
}

/* Story dialog */
.story-dialog {
  width: min(1060px, calc(100% - 32px));
  max-height: min(90vh, 920px);
  border: 1px solid rgba(201, 164, 92, 0.55);
  padding: 0;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.story-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: fixed;
  z-index: 4;
  top: max(calc(5vh + 12px), 22px);
  right: max(calc((100vw - min(1060px, calc(100% - 32px))) / 2 + 12px), 28px);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  color: var(--white);
  background: rgba(14, 12, 8, 0.86);
  font-size: 1.8rem;
  line-height: 1;
}

.story-dialog__hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.story-dialog__hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 12, 8, 0.92), rgba(14, 12, 8, 0.15) 70%);
  content: "";
}

.story-dialog__hero > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.story-dialog__hero > div {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(28px, 6vw, 74px);
  width: min(570px, calc(100% - 100px));
  transform: translateY(-50%);
}

.story-dialog__hero h2 {
  margin-bottom: 15px;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.story-dialog__hero div > p:last-child {
  color: var(--gold-light);
  font-weight: 600;
}

.story-dialog__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 46px;
  padding: clamp(34px, 6vw, 70px);
}

.story-dialog__copy h3 {
  font-size: 2.5rem;
}

.story-dialog__copy p {
  color: var(--muted);
}

.verification-note {
  border-left: 3px solid var(--gold);
  padding: 13px 16px;
  background: #efe4d5;
  font-size: 0.85rem;
}

.story-gallery {
  display: grid;
  gap: 18px;
}

.story-gallery figure {
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-gallery img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.story-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.72rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    align-items: stretch;
    padding: 16px 24px 26px;
    overflow-y: auto;
    background: #14110d;
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav > a,
  .nav-group-toggle {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 13px 0;
    text-align: left;
  }

  .primary-nav > a::after,
  .nav-group-toggle::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    display: none;
    width: 100%;
    border: 0;
    padding: 5px 0 8px 15px;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    display: none;
    transform: none;
  }

  .nav-group.is-open .nav-dropdown,
  .nav-group.is-open:hover .nav-dropdown,
  .nav-group.is-open:focus-within .nav-dropdown {
    display: grid;
  }

  .history-hero {
    grid-template-columns: 1fr 1fr;
  }

  .history-hero__content {
    padding-inline: 38px;
  }

  .history-hero h1 {
    font-size: clamp(3.8rem, 7vw, 5.4rem);
  }

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

  .map-layout--explorer {
    grid-template-columns: minmax(0, 1.25fr) 360px;
  }
}

@media (max-width: 900px) {
  .history-hero {
    grid-template-columns: 1fr;
  }

  .history-hero__content {
    max-width: none;
    padding: 82px 32px 64px;
  }

  .history-hero__visual,
  .history-hero__visual > img {
    min-height: 520px;
  }

  .section-heading--split,
  .share-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .archive-invitation {
    grid-template-columns: 1fr auto;
  }

  .archive-invitation > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .map-layout--explorer {
    grid-template-columns: 1fr;
  }

  .country-panel {
    min-height: 420px;
  }

  .location-step {
    grid-template-columns: 1fr;
  }

  .location-story-card {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  }

  .map-full-link {
    margin-top: 24px;
  }

  .share-intro {
    position: static;
  }

  .site-footer__main {
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
    gap: 28px;
  }

  .story-dialog__body {
    grid-template-columns: 1fr;
  }

  .story-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .section-shell {
    width: min(100% - 30px, var(--content-width));
  }

  .site-header {
    padding-inline: 15px;
  }

  .brand-seal {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .history-hero__content {
    padding: 68px 22px 52px;
  }

  .history-hero h1 {
    font-size: clamp(3.35rem, 15vw, 4.7rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    padding: 13px 0;
  }

  .history-hero__visual,
  .history-hero__visual > img {
    min-height: 400px;
  }

  .hero-photo-card {
    right: 15px;
    bottom: 15px;
    width: calc(100% - 30px);
  }

  .purpose-line {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .purpose-line::before {
    top: 30px;
    bottom: 30px;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--gold), var(--gold), transparent);
  }

  .purpose-line article {
    padding-inline: 15px;
  }

  .purpose-number {
    background: var(--cream);
  }

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

  .archive-card {
    min-height: 0;
  }

  .archive-card__media {
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }

  .archive-invitation {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .archive-invitation > p {
    grid-column: auto;
    grid-row: auto;
  }

  .archive-invitation .button {
    width: 100%;
  }

  .map-canvas-wrap,
  .history-map {
    min-height: 460px;
  }

  .map-layout--explorer {
    padding: 12px;
    border-radius: 20px;
  }

  .country-panel {
    min-height: 0;
    border-radius: 16px;
  }

  .location-explorer {
    border-radius: 20px;
    padding: 28px 18px;
  }

  .selection-breadcrumb {
    border-radius: 16px;
  }

  .location-story-card {
    grid-template-columns: 1fr;
  }

  .location-story-card > img {
    min-height: 280px;
    max-height: 380px;
  }

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

  .form-span-2 {
    grid-column: auto;
  }

  .history-form {
    padding: 24px 18px;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__main > div:first-child {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .story-dialog {
    width: calc(100% - 18px);
    max-height: 94vh;
  }

  .dialog-close {
    top: calc(3vh + 9px);
    right: 18px;
  }

  .story-dialog__hero > img {
    height: 370px;
  }

  .story-dialog__hero::after {
    background: linear-gradient(0deg, rgba(14, 12, 8, 0.92), rgba(14, 12, 8, 0.18));
  }

  .story-dialog__hero > div {
    top: auto;
    right: 22px;
    bottom: 25px;
    left: 22px;
    width: auto;
    transform: none;
  }

  .story-dialog__hero h2 {
    font-size: 3rem;
  }

  .story-dialog__body {
    padding: 28px 20px 36px;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Updated Big Prayer Museum logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand--footer .brand-logo {
  width: 76px;
  height: 76px;
}

@media (max-width: 700px) {
  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand--footer .brand-logo {
    width: 62px;
    height: 62px;
  }
}
/* ========================================
   UPDATED HISTORY HERO — ARCHIVE MAP
======================================== */

.history-hero {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: clamp(720px, 50vw, 900px);
  overflow: hidden;
  color: #fff;
  background-color: #0e0c08;
  background-image: url("history/history-hero-archive-map.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Additional dark fade behind the writing */
.history-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(14, 12, 8, 0.98) 0%,
    rgba(14, 12, 8, 0.91) 25%,
    rgba(14, 12, 8, 0.58) 38%,
    rgba(14, 12, 8, 0.12) 54%,
    transparent 72%
  );
  content: "";
}

.history-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 46%;
  max-width: 710px;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(68px, 7vw, 110px)
    clamp(28px, 3.5vw, 58px)
    clamp(68px, 7vw, 110px)
    clamp(36px, 6vw, 100px);
}

.history-hero h1 {
  max-width: 650px;
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(4.3rem, 6vw, 7rem);
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.history-hero__intro {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.history-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.history-hero .hero-facts {
  display: grid;
  max-width: 600px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  list-style: none;
}

.history-hero .hero-facts li {
  display: flex;
  flex-direction: column;
  padding: 20px 15px 0 0;
}

.history-hero .hero-facts strong {
  color: #e3c880;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
}

.history-hero .hero-facts span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

/* Small map card in the lower-right corner */
.hero-map-card {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(24px, 4vw, 58px);
  display: flex;
  width: min(330px, calc(100% - 48px));
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(201, 164, 92, 0.65);
  padding: 17px 20px;
  color: #fff;
  background: rgba(14, 12, 8, 0.91);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(7px);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.hero-map-card:hover,
.hero-map-card:focus-visible {
  border-color: #e3c880;
  background: rgba(14, 12, 8, 0.98);
  transform: translateY(-3px);
}

.hero-map-card__icon {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(201, 164, 92, 0.75);
  border-radius: 50%;
}

.hero-map-card__icon::before {
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 50% 0;
  background: #c9a45c;
  content: "";
  transform: rotate(-45deg);
}

.hero-map-card__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-map-card__copy strong {
  color: #e3c880;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-map-card__copy small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
}

/* Tablet */
@media (max-width: 1100px) {
  .history-hero__content {
    width: 54%;
    padding-left: 38px;
  }

  .history-hero h1 {
    font-size: clamp(3.8rem, 7vw, 5.7rem);
  }

  .hero-map-card {
    right: 24px;
    bottom: 24px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .history-hero {
    min-height: auto;
    background-position: 68% center;
  }

  .history-hero::before {
    background: rgba(14, 12, 8, 0.79);
  }

  .history-hero__content {
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 70px 22px 58px;
  }

  .history-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.7rem);
    line-height: 0.94;
  }

  .history-hero .hero-actions .button {
    width: 100%;
  }

  .history-hero .hero-facts {
    grid-template-columns: 1fr;
  }

  .history-hero .hero-facts li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 13px 0;
  }

  .hero-map-card {
    display: none;
  }
}
/* Label attached visually to the plow photograph */
.history-hero {
  position: relative;
}

.history-hero__plow-label {
  position: absolute;
  left: 35.5%;
  top: 65%;
  z-index: 6;

  display: inline-block;
  padding: 8px 20px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;

  color: #d9b25f;
  background: rgba(14, 12, 8, 0.94);
  border: 1px solid rgba(217, 178, 95, 0.75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);

  transform: rotate(-6deg);
  transform-origin: center;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .history-hero__plow-label {
    left: 34%;
    top: 68%;
    font-size: 17px;
    padding: 7px 16px;
  }
}

@media (max-width: 760px) {
  .history-hero__plow-label {
    display: none;
  }
}
