/* 1915dc.com -- archival, image-first. System serif only; no web fonts. */
:root {
  --paper: #f3eee4;
  --paper-2: #ebe3d4;
  --card: #fbf8f2;
  --ink: #241e17;
  --ink-2: #4a4033;
  --muted: #74685a;
  --rule: #d6cab5;
  --accent: #8a4f24;
  --accent-2: #a8743f;
  --plate: #1d1914;
  --plate-ink: #efe6d6;
  --water: #c3cdc9;
  --land: #f7f1e5;
  --park: #dcdcc2;
  --road: #cbbd9f;
  --road-major: #a9946c;
  --pin: #8a4f24;
  --focus: #b0651f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, Cambria, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15120f;
    --paper-2: #1d1914;
    --card: #211c17;
    --ink: #ece3d3;
    --ink-2: #d2c6b2;
    --muted: #a69885;
    --rule: #3a3229;
    --accent: #d39b62;
    --accent-2: #e2b47f;
    --plate: #0d0b09;
    --plate-ink: #efe6d6;
    --water: #2a3a3c;
    --land: #1f1b16;
    --park: #283022;
    --road: #3d352b;
    --road-major: #6c5c45;
    --pin: #e0a466;
    --focus: #e2b47f;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.6 var(--serif); font-variant-numeric: oldstyle-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: .005em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: .2em 0 .3em; font-weight: 500; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 1.8em 0 .5em; font-weight: 500; }
h3 { font-size: 1.15rem; margin: 1.2em 0 .3em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 42rem; }
.prose p, .prose li { color: var(--ink-2); }
.smallcaps, .eyebrow { font-variant: small-caps; letter-spacing: .08em; text-transform: lowercase; }
.eyebrow { color: var(--accent); font-size: 1.05rem; margin: 0; }
.muted { color: var(--muted); }
.lede { font-size: 1.22rem; line-height: 1.55; color: var(--ink-2); max-width: 40rem; }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 5; }
.bar { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand b { font-weight: 600; font-size: 1.3rem; letter-spacing: .02em; }
.brand span { font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; color: var(--muted); font-size: .95rem; }
.top nav { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; font-variant: small-caps; text-transform: lowercase; letter-spacing: .07em; }
.top nav a { color: var(--ink-2); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 760px) {
  .bar { padding-top: 10px; padding-bottom: 8px; gap: 6px; }
  .brand span { display: none; }
  .top nav { margin-left: 0; width: 100%; gap: 2px 14px; font-size: .98rem; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { white-space: nowrap; }
}

/* breadcrumbs */
.crumbs { font-size: .9rem; color: var(--muted); margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--rule); }
.crumbs a { color: var(--muted); }

/* hero */
.hero { position: relative; background: var(--plate); color: var(--plate-ink); overflow: hidden; }
.hero img { width: 100%; height: min(78vh, 760px); object-fit: cover; opacity: .9; filter: sepia(.18) contrast(1.04); }
.hero .over { position: absolute; inset: auto 0 0 0; padding: 120px 0 40px; background: linear-gradient(to top, rgba(18,14,10,.92), rgba(18,14,10,.55) 55%, rgba(18,14,10,0)); }
.hero h1 { color: #f6eedf; margin: 0 0 .2em; font-size: clamp(2.3rem, 6vw, 4.4rem); }
.hero .lede { color: #e2d6c2; }
.hero .eyebrow { color: #d9b07f; }
.hero .credit { position: absolute; right: 12px; top: 10px; font: 12px/1.3 var(--sans); color: rgba(240,230,214,.75); background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 3px; text-decoration: none; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.btn { display: inline-block; padding: 9px 18px; border: 1px solid currentColor; border-radius: 2px; text-decoration: none; font-variant: small-caps; text-transform: lowercase; letter-spacing: .08em; background: none; color: inherit; font: inherit; cursor: pointer; }
.hero .btn { color: #f3e6cf; }
.hero .btn.solid { background: #d9b07f; color: #1d1610; border-color: #d9b07f; }
.btn.solid { background: var(--accent); color: var(--card); border-color: var(--accent); }
@media (max-width: 760px) { .hero img { height: min(62vh, 540px); } .hero .over { padding-top: 80px; } }

.pagehead { padding: 8px 0 10px; }
.pagehead .lede { margin-bottom: 0; }
.placehero { margin: 18px 0 8px; background: var(--plate); }
.placehero img { width: 100%; max-height: 640px; object-fit: contain; }
.placehero figcaption, figure.plate figcaption { font-size: .95rem; color: var(--muted); padding: 8px 0 0; background: var(--paper); }

/* cards grid */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; margin: 18px 0 8px; }  /* fixed columns, short last row centred (PARK-56) */
.grid > * { flex: 0 1 calc((100% - 3 * 22px) / 4); min-width: 0; }
@media (max-width: 1000px) { .grid > * { flex-basis: calc((100% - 22px) / 2); } }
.card { text-decoration: none; color: var(--ink); display: block; }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border: 1px solid var(--rule); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: sepia(.12); }
.card:hover .ph img { transform: scale(1.035); }
.card h3 { margin: .55em 0 .1em; font-weight: 500; font-size: 1.22rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.card .n { font: 13px var(--sans); color: var(--muted); }
.grid.wide > * { flex-basis: calc((100% - 2 * 22px) / 3); }
@media (max-width: 1000px) { .grid.wide > * { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 420px) { .grid, .grid.wide { gap: 18px 12px; } .grid > * { flex-basis: calc((100% - 12px) / 2); } .grid.wide > * { flex-basis: 100%; } .card h3 { font-size: 1.02rem; } .card p { display: none; } .grid.wide .card p { display: block; } }

/* photo of the day / feature */
.feature { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: center; margin: 36px 0; }
.feature .ph { background: var(--plate); }
.feature .ph img { width: 100%; max-height: 560px; object-fit: contain; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; gap: 12px; } }

/* galleries: CSS columns keep each photo at its own shape */
.gallery { columns: 3 300px; column-gap: 18px; margin: 16px 0; }
.gallery figure { break-inside: avoid; margin: 0 0 22px; }
.gallery a.zoom { display: block; background: var(--paper-2); border: 1px solid var(--rule); cursor: zoom-in; }
.gallery img { width: 100%; }
figcaption { font-size: .93rem; line-height: 1.45; color: var(--ink-2); padding-top: 7px; }
figcaption .date { font-variant: small-caps; text-transform: lowercase; letter-spacing: .06em; color: var(--accent); margin-right: 4px; }
figcaption .credit, .credit { display: block; font: 12.5px/1.45 var(--sans); color: var(--muted); margin-top: 3px; }
figcaption .credit a { color: var(--muted); }
.tag-uncertain { font: 11.5px var(--sans); background: var(--paper-2); border: 1px dashed var(--accent-2); color: var(--accent); padding: 0 5px; border-radius: 2px; white-space: nowrap; }
@media (max-width: 520px) { .gallery { columns: 2 150px; column-gap: 12px; } .gallery figcaption .credit { display: none; } figcaption { font-size: .86rem; } }

/* sections in place page */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.aside { font-size: .95rem; }
.aside .box { border: 1px solid var(--rule); background: var(--card); padding: 16px 18px; margin-bottom: 18px; }
.aside h3 { margin-top: 0; font-size: 1rem; font-variant: small-caps; text-transform: lowercase; letter-spacing: .08em; color: var(--accent); font-weight: 600; }
.aside dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.aside dt { color: var(--muted); }
.aside dd { margin: 0; }
.aside svg { width: 100%; height: auto; display: block; }
.thennow-note { border-left: 3px solid var(--accent-2); padding: 4px 0 4px 18px; margin: 18px 0; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 8px; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 14px 0 18px; font-size: .95rem; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.filters legend { float: left; margin-right: 8px; color: var(--muted); font-variant: small-caps; text-transform: lowercase; letter-spacing: .07em; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 3px 11px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: .9rem; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--card); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.filters select { font: inherit; font-size: .95rem; padding: 4px 8px; background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 2px; max-width: 100%; }
.count { font: 13px var(--sans); color: var(--muted); margin-left: auto; }
.js-only { display: none; }
html.js .js-only { display: revert; }
html.js .no-js-only { display: none; }

/* map */
.mapwrap { position: relative; border: 1px solid var(--rule); background: var(--paper-2); overflow: hidden; touch-action: none; }
.mapwrap svg { display: block; width: 100%; height: auto; max-height: 82vh; cursor: grab; user-select: none; }
.mapwrap svg.drag { cursor: grabbing; }
.map-land { fill: var(--land); stroke: var(--road-major); stroke-width: 1.6; }
.map-water { fill: var(--water); }
.map-park { fill: var(--park); }
.map-minor { fill: none; stroke: var(--road); stroke-width: .55; }
.map-major { fill: none; stroke: var(--road-major); stroke-width: 1.3; }
.map-label { font: italic 15px var(--serif); fill: var(--muted); pointer-events: none; }
.pin circle { fill: var(--pin); fill-opacity: .82; stroke: var(--card); stroke-width: 1.6; cursor: pointer; transition: fill-opacity .2s; }
.pin:hover circle, .pin:focus circle, .pin.on circle { fill-opacity: 1; stroke: var(--ink); }
.pin text { font: 600 12px var(--sans); fill: #fff; text-anchor: middle; pointer-events: none; }
.pin.empty { opacity: .25; }
.pin-label { font: 13px var(--serif); fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 3px; pointer-events: none; }
.mapctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.mapctl button { width: 36px; height: 36px; font: 20px/1 var(--sans); background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; }
.mappanel { margin-top: 16px; }
.maplayout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .maplayout { grid-template-columns: 1fr; } }
.mini-map { border: 1px solid var(--rule); background: var(--paper-2); }
.mini-map .pin circle { cursor: default; }
.placelist { columns: 2 220px; padding: 0; list-style: none; font-size: .98rem; }
.placelist li { break-inside: avoid; padding: 3px 0; }
.placelist .n { font: 12.5px var(--sans); color: var(--muted); }

/* viewer */
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(12,10,8,.96); color: #eee3d0; display: grid; grid-template-rows: 1fr auto; }
.viewer .stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; }
.viewer .stage img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.viewer .cap { padding: 12px 20px 16px; max-width: 980px; margin: 0 auto; width: 100%; font-size: .98rem; line-height: 1.45; }
.viewer .cap .credit { color: #b8ab96; }
.viewer .cap a { color: #e2b47f; }
.viewer .tools { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 2; }
.viewer button { min-width: 42px; height: 42px; background: rgba(40,33,26,.85); color: #f0e4cf; border: 1px solid #5a4c3b; border-radius: 2px; font: 18px var(--sans); cursor: pointer; }
.viewer .prev, .viewer .next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.viewer .prev { left: 10px; } .viewer .next { right: 10px; }
.viewer .hint { position: absolute; left: 12px; top: 14px; font: 12px var(--sans); color: #9c8f7b; z-index: 2; }
@media (max-width: 600px) { .viewer .cap { font-size: .88rem; padding: 8px 14px 12px; } .viewer .hint { display: none; } }

/* compare (then vs then) */
.compare { margin: 22px 0 40px; }
.compare .stack, .compare .ctl, .compare .pair { max-width: 920px; }
html.js .compare .ctl { display: flex; }
.compare .stack { position: relative; background: var(--plate); }
.compare .stack img { width: 100%; }
.compare .stack img.top { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.compare .stack.contain img.top { object-fit: contain; }
.compare .ctl { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; font-size: .95rem; flex-wrap: wrap; }
.compare input[type=range] { flex: 1; min-width: 160px; accent-color: var(--accent); }
.compare .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
html.js .compare .pair { display: none; }
@media (max-width: 600px) { .compare .pair { grid-template-columns: 1fr; } }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 20px 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 76px; top: 0; bottom: 0; border-left: 1px solid var(--rule); }
.timeline > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; padding: 14px 0; position: relative; }
.timeline > li::before { content: ""; position: absolute; left: 72px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline .yr { font-size: 1.35rem; text-align: right; color: var(--accent); font-variant-numeric: lining-nums; }
.timeline h3 { margin: .1em 0 .2em; font-weight: 500; font-size: 1.2rem; }
.timeline p { margin: 0 0 .4em; color: var(--ink-2); max-width: 46rem; }
.timeline .when { font-variant: small-caps; text-transform: lowercase; letter-spacing: .06em; color: var(--muted); font-size: .95rem; }
.timeline figure { margin: 10px 0 0; max-width: 420px; }
.timeline .src { font: 12.5px var(--sans); color: var(--muted); }
.decade { margin: 34px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); }
@media (max-width: 600px) { .timeline::before { left: 50px; } .timeline > li { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; } .timeline > li::before { left: 46px; } .timeline .yr { font-size: 1.05rem; } }

/* tables */
.tablewrap { overflow-x: auto; margin: 14px 0 24px; }
table.data { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 640px; }
table.data th, table.data td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data th { font-variant: small-caps; text-transform: lowercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.ok { color: #4f7a3a; } .fix { color: var(--accent); }
@media (prefers-color-scheme: dark) { .ok { color: #9cc58a; } }

/* footer */
.foot { border-top: 1px solid var(--rule); margin-top: 60px; padding: 26px 0 40px; font-size: .9rem; color: var(--muted); background: var(--paper-2); }
.foot p { max-width: 60rem; }
.foot a { color: var(--ink-2); }
.foot .links { display: flex; gap: 6px 18px; flex-wrap: wrap; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.section-head a { font-variant: small-caps; text-transform: lowercase; letter-spacing: .07em; }
.potd-date { font-variant: small-caps; text-transform: lowercase; letter-spacing: .08em; color: var(--muted); }
.notice { background: var(--card); border: 1px solid var(--rule); padding: 12px 16px; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .top nav, .filters, .mapctl, .foot { display: none; } }
