:root {
  --paper: #f1e4c4;
  --paper-2: #e8d6ab;
  --paper-3: #f7edd4;
  --rule: rgba(48, 36, 18, 0.14);
  --ink: #1b1914;
  --iron: #26231d;
  --soot: #12110e;
  --brass: #b0893a;
  --brass-bright: #d4b05c;
  --brass-dark: #6d5220;
  --postal: #b51c1c;
  --postal-dark: #7c1212;
  --tile: #c9b894;
  --muted: #5b5346;
  --cream: #f6ecd6;
  --line: rgba(176, 137, 58, 0.45);
  --shadow: 0 18px 40px rgba(18, 17, 14, 0.18);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --body: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --cond: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 59px, rgba(181, 28, 28, 0.07) 60px, rgba(181, 28, 28, 0.07) 61px, transparent 62px),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(48, 36, 18, 0.05) 28px
    ),
    radial-gradient(1200px 420px at 100% -10%, rgba(176, 137, 58, 0.16), transparent 55%),
    linear-gradient(180deg, #efe0b8 0%, var(--paper) 18%, #ead9ad 100%);
  font-family: var(--body);
  font-size: 1.08rem;
  line-height: 1.62;
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--postal-dark);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--postal);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--postal);
  color: #fff8e8;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem 0.55rem 1.05rem;
  background: linear-gradient(180deg, #1d1a15 0%, var(--soot) 100%);
  border-bottom: 3px solid var(--brass);
  box-shadow: 0 8px 24px rgba(12, 10, 6, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.brand svg {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-text small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--cond);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-bright);
}

.tld {
  color: var(--postal);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--brass);
  color: var(--cream);
  border-radius: 0;
  padding: 0.4rem 0.75rem;
  font-family: var(--cond);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.05rem 0.05rem;
  max-width: 78%;
}

.site-nav a {
  color: #efe3c6;
  text-decoration: none;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.38rem 0.5rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff6dc;
  border-bottom-color: var(--postal);
}

.masthead {
  padding: 2.2rem 0 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-family: var(--cond);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 0.35rem 0;
  margin-bottom: 1rem;
}

.masthead h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 0.7rem;
  max-width: 16ch;
}

.lede {
  font-size: clamp(1.12rem, 2.1vw, 1.38rem);
  max-width: 44rem;
  color: #2c281f;
  margin: 0;
}

.kicker {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--postal);
  margin: 0 0 0.55rem;
}

.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 8px solid var(--iron);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.18) contrast(1.08) saturate(0.92);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 14, 0.12) 0%, rgba(18, 17, 14, 0.18) 38%, rgba(18, 17, 14, 0.88) 100%),
    linear-gradient(90deg, rgba(18, 17, 14, 0.35), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 4.2rem 0 2.4rem;
  color: var(--cream);
}

.hero .kicker {
  color: var(--brass-bright);
}

.hero h1 {
  color: #fff6dc;
  font-size: clamp(2.8rem, 7.4vw, 5.8rem);
  max-width: 15ch;
  margin: 0 0 0.85rem;
  line-height: 0.94;
}

.hero .lede {
  color: #efe3c8;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 0;
  padding: 0.68rem 1.05rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.btn-red {
  background: var(--postal);
  color: #fff8e8;
}

.btn-red:hover {
  background: var(--postal-dark);
  color: #fff8e8;
}

.btn-ghost {
  border-color: var(--brass);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(176, 137, 58, 0.16);
  color: #fff6dc;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: #000;
  color: var(--cream);
}

.btn-brass {
  background: var(--brass);
  color: var(--soot);
}

.btn-brass:hover {
  background: var(--brass-bright);
  color: var(--soot);
}

.section {
  padding: 3.6rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 1.3rem 2.4rem;
  margin-bottom: 1.8rem;
  align-items: end;
}

.section-head p {
  margin: 0;
  color: #3a3428;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  margin: 0;
}

h3 {
  font-size: 1.38rem;
  margin: 0 0 0.4rem;
}

.rule {
  height: 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 3px double var(--brass);
  margin: 0 0 1.3rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

.card,
.figure,
.paper,
.ticket {
  background: var(--paper-3);
  border: 1px solid rgba(38, 35, 29, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.paper {
  background:
    linear-gradient(180deg, #fbf3dc, #f3e6c4);
  color: var(--ink);
}

.card-body,
.paper-body,
.ticket-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.meta {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--postal);
  margin: 0 0 0.4rem;
}

.figure {
  margin: 0;
  background: var(--iron);
}

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

.figure.portrait img { aspect-ratio: 3 / 4; }
.figure.wide img { aspect-ratio: 16 / 8; }
.figure.tall img { aspect-ratio: 3 / 5; object-fit: contain; background: #efe3c4; }

figcaption,
.caption {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.45;
  color: #efe3c8;
  padding: 0.65rem 0.85rem 0.85rem;
}

.paper figcaption,
.paper .caption {
  color: var(--muted);
}

.teaser {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
  border-top: 4px solid var(--brass);
}

.teaser:hover {
  transform: translateY(-3px);
  border-color: var(--postal);
  color: inherit;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat {
  padding: 1rem 0.9rem;
  border: 1px solid var(--ink);
  background: rgba(255, 248, 232, 0.55);
  position: relative;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--postal);
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--postal);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stat span {
  font-family: var(--cond);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose {
  max-width: 46rem;
}

.prose p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.35rem;
  line-height: 0.78;
  padding: 0.16rem 0.45rem 0 0;
  color: var(--postal);
}

.callout {
  border-left: 4px solid var(--postal);
  padding: 0.15rem 0 0.15rem 1rem;
  margin: 1.2rem 0;
  color: #2f2a22;
}

.cite {
  font-size: 0.92rem;
  color: var(--muted);
}

.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.sources-list a {
  display: block;
  text-decoration: none;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(38, 35, 29, 0.2);
  background: #fbf3dc;
  color: var(--ink);
}

.sources-list a:hover {
  border-color: var(--postal);
}

.sources-list small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.7rem;
}

.gallery .figure:nth-child(1) { grid-column: span 7; }
.gallery .figure:nth-child(2) { grid-column: span 5; }
.gallery .figure:nth-child(3),
.gallery .figure:nth-child(4),
.gallery .figure:nth-child(5) { grid-column: span 4; }
.gallery .figure:nth-child(n+6) { grid-column: span 3; }

.product {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.price {
  font-family: var(--mono);
  color: var(--postal);
}

.soon {
  justify-self: start;
  background: rgba(181, 28, 28, 0.08);
  color: var(--postal-dark);
  border: 1px solid rgba(181, 28, 28, 0.28);
  padding: 0.2rem 0.55rem;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.digest {
  padding: 1.3rem;
}

.digest header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid rgba(27, 25, 20, 0.18);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(38, 35, 29, 0.18);
  background: #fbf3dc;
}

.timeline time {
  font-family: var(--cond);
  font-weight: 700;
  color: var(--postal);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.page-hero {
  padding: 2.6rem 0 1.2rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5.8vw, 4.2rem);
  margin: 0 0 0.65rem;
  max-width: 18ch;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.7rem;
}

.mosaic .figure:first-child {
  grid-row: span 2;
}

.mosaic .figure:first-child img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 420px;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 2.3rem 0 2.6rem;
  border-top: 8px solid var(--iron);
  background: var(--soot);
  color: #efe3c8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  color: var(--brass-bright);
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  color: #efe3c8;
}

.site-footer p,
.site-footer li {
  color: #d7cbae;
}

.tiny {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--brass-bright);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.62rem 0.5rem;
  border-bottom: 1px solid rgba(27, 25, 20, 0.16);
  vertical-align: top;
}

th {
  font-family: var(--cond);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--postal);
}

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.split-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  filter: sepia(0.12) contrast(1.05);
}

.split-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f7edd4;
}

.checklist {
  padding-left: 1.1rem;
}

.checklist li {
  margin: 0.32rem 0;
}

.ticket {
  border: 1px dashed var(--brass-dark);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(176, 137, 58, 0.05) 10px,
      rgba(176, 137, 58, 0.05) 11px
    ),
    #fbf3dc;
}

.route-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.route-list a,
.route-list span.line {
  display: grid;
  grid-template-columns: 2.1rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--rule);
}

.dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--brass);
  display: grid;
  place-items: center;
  font-family: var(--cond);
  font-size: 0.72rem;
  font-weight: 700;
}

.tag {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 0.12rem 0.45rem;
  font-family: var(--cond);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.warn {
  background: #f4e0c0;
  border: 1px solid var(--brass-dark);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.toc {
  columns: 2;
  gap: 1.4rem;
  padding-left: 1.1rem;
}

.toc li {
  break-inside: avoid;
  margin: 0.25rem 0;
}

.num-label {
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-dark);
  font-size: 0.82rem;
}

.map-frame {
  background: #efe3c4;
  border: 8px solid var(--iron);
  padding: 0;
}

.map-frame img {
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #f7edd4;
  width: 100%;
}

.site-footer .foot-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff6dc;
  margin: 0 0 0.4rem;
}

@media (max-width: 1080px) {
  .site-nav {
    max-width: 70%;
  }
}

@media (max-width: 980px) {
  .section-head,
  .split-band,
  .footer-grid,
  .grid-3,
  .grid-4,
  .stat-row,
  .mosaic {
    grid-template-columns: 1fr;
  }
  .gallery .figure,
  .gallery .figure:nth-child(n) {
    grid-column: span 12;
  }
  .mosaic .figure:first-child img {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
  .toc { columns: 1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    max-width: none;
    background: var(--soot);
    border-bottom: 3px solid var(--brass);
    padding: 0.7rem;
    flex-direction: column;
  }
  .site-nav.is-open { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 1fr; }
  .hero { min-height: 68vh; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { width: min(1180px, calc(100% - 1.15rem)); }
  .hero-copy { padding-top: 3rem; }
}
