@font-face {
  font-family: DM Sans;
  src: url("/assets/sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/serif.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url("/assets/serif-italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #102f32;
  --deep: #0e3d3e;
  --cream: #f8f6ee;
  --line: #d1d8cc;
  --muted: #506660;
  --green: #2a6758;
  --orange: #ffae72;
  --display: Instrument, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 15px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a,
button,
input,
select,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ae572c;
  outline-offset: 3px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
.bound {
  width: min(1400px, calc(100% - clamp(32px, 8vw, 140px)));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 2000;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 4px;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 28px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -2.3px;
}
.brand b {
  font-weight: 450;
}
.head-inner nav {
  display: flex;
  align-items: stretch;
  min-height: 78px;
  gap: clamp(12px, 2vw, 32px);
  flex-wrap: wrap;
}
.head-inner nav a {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.head-inner nav a[aria-current="page"]:after {
  position: absolute;
  content: "";
  height: 3px;
  background: var(--green);
  bottom: 12px;
  left: 0;
  right: 0;
}
.head-inner nav a:hover,
.more:hover,
.foot-link:hover {
  color: #a14b25;
}
.hero {
  margin-top: 24px;
  min-height: 350px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--deep);
  color: #fffdf3;
  overflow: hidden;
}
.hero-text {
  padding: clamp(23px, 3.5vw, 55px);
  padding-right: 16px;
  align-self: center;
}
.eyebrow,
.type,
.small-head {
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--green);
}
.light {
  color: #b8e7ce;
}
.hero h1,
.page-head h1,
.detail h1 {
  font: normal clamp(54px, 5.7vw, 98px) / 0.94 var(--display);
  letter-spacing: -0.04em;
  margin: 16px 0;
}
.hero h1 em {
  color: #ffbe89;
  font-weight: 400;
}
.hero p {
  max-width: 34em;
  margin: 0 0 23px;
  color: #e4eee7;
  font-size: clamp(14px, 1.14vw, 18px);
}
.hero figure {
  margin: 0;
  position: relative;
  min-height: 100%;
  isolation: isolate;
}
.hero figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 60%;
}
.hero figcaption {
  position: absolute;
  bottom: 12px;
  right: 14px;
  color: white;
  font-size: 10px;
  background: #143639dd;
  padding: 4px 8px;
}
.hero figcaption a {
  margin-left: 6px;
}
.primary,
.more {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-weight: 700;
}
.primary {
  background: var(--orange);
  color: #183537;
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 14px;
}
.primary:hover {
  background: #ffd3ad;
}
.more,
.foot-link {
  font-size: 14px;
  color: var(--green);
}
.more {
  border: 0;
  background: transparent;
}
.ribbon {
  margin: 0 0 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
  background: #f0f2e8;
}
.ribbon a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  padding: 15px 23px;
  border-right: 1px solid var(--line);
}
.ribbon a:last-child {
  border: 0;
}
.ribbon strong {
  font-size: 15px;
}
.ribbon span {
  font-size: 13px;
  color: var(--muted);
}
.section {
  margin: 36px 0 48px;
}
.section-head,
.page-head,
.detail-head {
  margin-bottom: 22px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.section-head h2,
.detail h2 {
  font: normal clamp(34px, 3.2vw, 56px) / 1 var(--display);
  letter-spacing: -0.025em;
  margin: 5px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: #fffef8;
  border: 1px solid var(--line);
  border-top: 3px solid #5b8471;
  padding: clamp(17px, 2vw, 30px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card[data-category="Transport"],
.card[data-category="Road"] {
  border-top-color: #bb733e;
}
.card h2,
.card h3 {
  font: normal clamp(26px, 2.05vw, 36px) / 1.07 var(--display);
  letter-spacing: -0.015em;
  margin: 12px 0 8px;
}
.card h2 a,
.card h3 a {
  text-decoration: none;
}
.card h2 a:hover,
.card h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.card p {
  font-size: 14px;
  margin: 4px 0 14px;
}
.card .source,
.source {
  font-size: 12px;
  color: var(--muted);
}
.card-foot {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e0e4db;
  font-size: 12px;
}
.tag {
  display: inline-block;
  background: #e6eee4;
  color: #315a4d;
  font: 650 11px/1.3 var(--sans);
  padding: 4px 7px;
  border-radius: 3px;
}
.page-head,
.detail {
  padding-top: clamp(28px, 4vw, 61px);
}
.page-head h1,
.detail h1 {
  font-size: clamp(46px, 5vw, 78px);
  margin: 12px 0 14px;
}
.page-head p,
.detail .deck {
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 820px;
  margin: 0;
  color: #3e5954;
}
.filters {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  margin: 18px 0;
}
.filters label {
  display: grid;
  gap: 4px;
  font-weight: 650;
  font-size: 12px;
}
.filters label:first-child {
  flex: 1;
  min-width: min(240px, 100%);
}
.filters input,
.filters select {
  border: 1px solid #a6b3a3;
  background: #fffefa;
  padding: 9px 11px;
  font: inherit;
  font-size: 14px;
  border-radius: 3px;
  min-width: 0;
  width: 100%;
}
.result-count {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 14px;
}
.directory {
  padding-bottom: 48px;
}
.map-box {
  border: 1px solid var(--line);
  background: #e8eee6;
  border-radius: 4px;
  margin: 16px 0;
}
.map-box summary {
  font-weight: 650;
  padding: 10px 15px;
}
.map-canvas {
  height: clamp(320px, 45vh, 510px);
  background: #e2e9df;
  isolation: isolate;
}
.map-note {
  padding: 0 14px;
  font-size: 12px;
  color: var(--muted);
}
.leaflet-container {
  font-family: var(--sans);
}
.leaflet-container a {
  color: #194e43;
}
.leaflet-popup-content strong {
  display: block;
  margin-bottom: 6px;
}
.source-link,
.inline-link {
  color: var(--green);
  font-weight: 650;
}
.detail {
  max-width: 880px;
  margin: 0 auto 56px;
}
.detail p {
  font-size: 17px;
  max-width: 77ch;
}
.detail h2 {
  margin-top: 28px;
}
.detail .deck {
  margin: 20px 0;
}
.crumb {
  font-size: 13px;
  color: var(--green);
}
.meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: minmax(110px, 190px) 1fr;
  gap: 0;
  margin-top: 24px;
}
.facts dt,
.facts dd {
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  margin: 0;
}
.facts dt {
  font-size: 13px;
  color: var(--muted);
}
.brief-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.brief-links a {
  min-height: 100px;
  background: #e8eee4;
  padding: 18px;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 650;
}
.brief-links a:hover {
  background: #d9e5d9;
}
.brief-links small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  font-weight: 450;
}
.section-note {
  font-size: 13px;
  color: var(--muted);
}
.timeline {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.timeline h2,
.timeline h3 {
  margin: 0 0 4px;
  font-size: 19px;
}
.timeline p {
  margin: 4px 0;
  font-size: 14px;
}
.empty {
  border: 1px dashed #a1b2a0;
  padding: 24px;
  background: #f3f3e8;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding-block: 25px;
}
.footer-inner p,
.footer-inner > a:last-child {
  font-size: 12px;
}
.footer-inner .brand {
  font-size: 25px;
}
.footer-inner a {
  white-space: nowrap;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.loading {
  min-height: 16vh;
}
.about p {
  max-width: 80ch;
}
.source-table {
  list-style: none;
  padding: 0;
}
.source-table li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 950px) {
  .head-inner {
    display: block;
    padding-top: 15px;
  }
  .head-inner nav {
    min-height: 45px;
    gap: 18px;
  }
  .head-inner nav a[aria-current="page"]:after {
    bottom: 0;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ribbon a {
    flex-direction: column;
    align-items: start;
    gap: 0;
    padding: 10px 14px;
  }
  .brief-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .bound {
    width: calc(100% - 30px);
  }
  .head-inner nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 19px;
    min-height: 45px;
  }
  .head-inner .brand {
    font-size: 30px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-top: 15px;
    min-height: 0;
  }
  .hero-text {
    padding: 24px;
  }
  .hero h1 {
    font-size: clamp(51px, 12vw, 69px);
  }
  .hero figure {
    min-height: 136px;
    max-height: 160px;
  }
  .hero figure img {
    object-position: 50% 48%;
  }
  .hero p {
    margin-bottom: 17px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: center;
  }
  .ribbon {
    grid-template-columns: 1fr 1fr;
    margin: 0 0 22px;
  }
  .ribbon a:last-child {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    display: block;
  }
  .ribbon a:last-child span {
    margin-left: 6px;
  }
  .ribbon a:nth-child(2) {
    border-right: 0;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .facts {
    grid-template-columns: 100px 1fr;
  }
  .footer-inner {
    align-items: start;
    flex-wrap: wrap;
    gap: 8px 15px;
  }
  .footer-inner p {
    order: 3;
    flex-basis: 100%;
    margin: 0;
  }
  .filters label:not(:first-child) {
    flex: 1;
    min-width: min(115px, 100%);
  }
  .card {
    padding: 18px;
  }
  .page-head p,
  .detail p {
    font-size: 15px;
  }
  .brief-links a {
    font-size: 17px;
    min-height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.venue-pin {
  border-radius: 50%;
  border: 2px solid #fff;
  background: #b9522e;
  box-shadow: 0 0 0 1px #78351f;
}
.timeline h3 a {
  text-decoration: none;
}
.timeline h3 a:hover {
  text-decoration: underline;
}
.filters + .result-count {
  margin-top: 8px;
}
@media (min-width: 951px) and (max-width: 1180px) {
  .head-inner nav {
    gap: 12px;
  }
  .head-inner nav a {
    font-size: 13px;
  }
}

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 90px);
  align-items: center;
  padding: clamp(22px, 3.5vw, 52px);
  background: #e6ede1;
  border-top: 2px solid var(--green);
}
.spotlight h2 {
  margin: 8px 0;
  font: normal clamp(30px, 3vw, 46px) / 1.04 var(--display);
}
.spotlight h2 a {
  text-decoration: none;
}
.spotlight p {
  margin: 0 0 12px;
}
.related {
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.related li {
  margin: 6px 0;
}
.detail .source {
  font-size: 13px;
}
.detail dd {
  overflow-wrap: anywhere;
}
#save-view {
  padding: 2px 0;
  text-decoration: underline;
}
@media (max-width: 650px) {
  .spotlight {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.places-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.place-photo,
.card-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: #34534c;
  text-decoration: none;
}
.place-photo {
  height: clamp(145px, 18vw, 245px);
}
.place-photo img,
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.place-photo span {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 15px 13px;
  background: linear-gradient(transparent, rgba(5, 27, 25, 0.88));
  color: white;
  font: normal clamp(21px, 2vw, 30px) / 1.08 var(--display);
}
.place-photo small {
  display: block;
  font: 650 10px/1.8 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-photo {
  width: 100%;
  height: clamp(135px, 15vw, 225px);
  margin-bottom: 14px;
}
.card-photo span {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #102f32e6;
  color: #fff;
  padding: 4px 9px;
  font-size: 11px;
}
.scene-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.scene-pair figure,
.detail-photo {
  margin: 10px 0;
}
.scene-pair img,
.detail-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.detail-photo img {
  max-height: 430px;
  object-fit: contain;
  background: #e9ece2;
}
.scene-pair figcaption,
.detail-photo figcaption {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}
.film iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #183d3e;
}
.builder {
  margin: 24px 0;
}
.action {
  font-size: 14px;
}
.photo-credit-note {
  font-size: 12px;
}
@media (max-width: 650px) {
  .places-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .place-photo:first-child {
    grid-column: 1/-1;
    height: 165px;
  }
  .place-photo {
    height: 108px;
  }
  .place-photo span {
    padding: 22px 9px 8px;
    font-size: 19px;
  }
  .card-photo {
    height: 190px;
  }
  .scene-pair {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .scene-pair figcaption {
    font-size: 11px;
  }
}

#pass-result img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}
.job-card .job-deadline {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
}
.job-card .card-foot {
  flex-wrap: wrap;
  gap: 8px;
}
