/* Shared styles for the pages beyond the map: /photos, /archive and archive articles.
   Same system as the homepage: Familjen Grotesk, paper, ink, one accent. */
:root {
  --paper: #F4F1EA; --ink: #141414; --muted: #4A463F; --soft: #6A655C; --rule: #D9D3C7; --card: #FFFFFF; --accent: #FF4D1D;
  --pad: 32px; --gap: 12px; --max: 1280px; --read: 680px;
  --font: 'Familjen Grotesk', system-ui, sans-serif;
}
@media (max-width: 719px) { :root { --pad: 16px; --gap: 8px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 999px; }
.skip:focus { left: 8px; }

/* nav, as on the homepage */
.nav { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding: 12px var(--pad); background: rgba(244,241,234,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #E2DDD3; }
.nav__name { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.nav__name b { font-size: 18px; letter-spacing: -0.02em; }
.nav__mark { display: block; flex: none; width: 32px; height: 32px; }
.nav__name span { font-size: 13px; color: var(--soft); }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; font-size: 15px; font-weight: 500; }
.nav__links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.nav__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav__cta { padding: 0 18px; min-height: 44px !important; border-radius: 999px; background: var(--ink); color: var(--paper) !important; font-weight: 700; }
@media (max-width: 560px) { .nav__name span, .nav__cta { display: none !important; } .nav__links { gap: 0 16px; } }

/* page head */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.head { padding: 72px 0 32px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 719px) { .head { padding: 40px 0 24px; } }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.display { margin: 0; font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; max-width: 21ch; }
.display span { color: #8C877E; }
.lede { margin: 4px 0 0; max-width: 600px; font-size: 17px; line-height: 1.5; color: var(--muted); }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
@media (max-width: 719px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scrollbar-width: none; } .filters::-webkit-scrollbar { display: none; } .filters li { flex: none; } }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); font: 700 14px/1 var(--font); cursor: pointer; white-space: nowrap; }
.chip small { font-size: 13px; font-weight: 400; color: var(--soft); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] small { color: #C9C3B8; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { color: var(--paper); background: #2A2724; }

/* footer */
.foot { margin-top: 96px; background: var(--ink); color: var(--paper); }
.foot .wrap { padding-top: 48px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: 15px; }
.foot a { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot span { color: #A39E94; display: inline-flex; align-items: center; min-height: 44px; }

.foot__sign { gap: 10px; }
.foot__sign img { width: 28px; height: 28px; }
