/* ============================================================================
   Foundry — a refined INDUSTRIAL DESIGN blog. Steel-grey panels on a concrete-cream
   canvas, corner "bolt" rivets on every panel, a safety-amber accent used sparingly
   as a warning tab (never as wallpaper), thick mechanical rules. Zero blur, zero
   gradient — depth comes from steel colour + rivets + rule weight, not shadow.
   Oswald (condensed gothic display) + Inter (body). Article wrapper = .fd-rt.
   Colours are tokens for per-site variants.
   ========================================================================== */
:root {
  --fd-bg: #f0efe9;             /* concrete cream */
  --fd-ink: #201f1d;
  --fd-ink-2: #4b4944;
  --fd-ink-3: #7d7a72;
  --fd-steel: #3c4046;
  --fd-steel-2: #2a2d31;
  --fd-amber: #d9791f;
  --fd-line: rgba(32,31,29,.18);
  --fd-line-2: rgba(32,31,29,.09);
  --fd-shadow: rgba(32,31,29,.14);
  --fd-display: "Oswald", "Arial Narrow", sans-serif;
  --fd-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fd-mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
  --fd-maxw: 1180px;
  --fd-gut: 26px;
  --fd-r: 3px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--fd-ink); background: var(--fd-bg);
  font-family: var(--fd-body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.fd-wrap { max-width: var(--fd-maxw); margin: 0 auto; padding: 0 var(--fd-gut); position: relative; z-index: 1; }

/* no floating blobs — Foundry is built from steel, not glow. */
.fd-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fd-blob { display: none; }

/* placeholder — flat steel-toned field with a hazard corner tab */
.fd-ph { display: block; width: 100%; height: 100%; background: #dedbd2; position: relative; }
.fd-ph.c1, .fd-ph.c4 { background: #dbdcd8; }
.fd-ph.c2, .fd-ph.c5 { background: #e2ddd0; }
.fd-ph.c3, .fd-ph.c6 { background: #d9dad9; }

/* mechanical panel utility (replaces "glass" — opaque, bordered, no blur) */
.fd-glass { background: #fff; border: 1px solid var(--fd-ink); border-radius: var(--fd-r); box-shadow: none; }

/* ---------- chips, buttons ---------- */
.fd-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--fd-mono); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; background: var(--fd-steel); color: #fff; }
.fd-chip.accent { background: var(--fd-amber); color: #201400; }
.fd-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--fd-display); font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; padding: 13px 26px; border-radius: var(--fd-r); border: 1px solid var(--fd-ink); background: var(--fd-ink); color: #fff; cursor: pointer; transition: background .16s ease; }
.fd-btn:hover { background: var(--fd-amber); border-color: var(--fd-amber); color: #201400; }
.fd-btn.glass { background: transparent; border: 1px solid var(--fd-ink); color: var(--fd-ink); }
.fd-btn.glass:hover { background: var(--fd-ink); color: #fff; }
.fd-btn .ar { transition: transform .2s ease; }
.fd-btn:hover .ar { transform: translateX(3px); }

/* ---------- nav ---------- */
.fd-nav-outer { position: sticky; top: 0; z-index: 50; padding: 0 var(--fd-gut); background: var(--fd-steel); border-bottom: 3px solid var(--fd-amber); }
.fd-nav { max-width: var(--fd-maxw); margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 15px 0; }
.fd-brand { display: flex; align-items: center; gap: 10px; font-family: var(--fd-display); font-weight: 600; font-size: 22px; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.fd-brand .fd-logo { width: 28px; height: 28px; }
.fd-nav-links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.fd-nav-links a { font-family: var(--fd-mono); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding: 9px 14px; color: #c7c9cc; transition: color .14s; }
.fd-nav-links a:hover { color: #fff; }
.fd-nav-links a.is-active { color: var(--fd-amber); }
.fd-nav-cta { margin-left: 6px; }
.fd-nav .fd-btn { padding: 9px 18px; font-size: 12.5px; background: var(--fd-amber); border-color: var(--fd-amber); color: #201400; }
.fd-nav .fd-btn:hover { background: #fff; border-color: #fff; }

/* ---------- shared bits ---------- */
.fd-kicker { display: inline-block; font-family: var(--fd-mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fd-amber); }
.fd-meta { font-family: var(--fd-mono); font-weight: 500; font-size: 12.5px; color: var(--fd-ink-3); }
.fd-more { font-family: var(--fd-display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 14px; color: var(--fd-ink); display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--fd-amber); padding-bottom: 2px; }
.fd-more .ar { transition: transform .2s ease; }
.fd-more:hover .ar { transform: translateX(4px); }

/* ---------- section frame ---------- */
.fd-sec { padding: 58px 0; position: relative; }
.fd-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.fd-sec-head h2 { font-family: var(--fd-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; letter-spacing: .005em; text-transform: uppercase; margin: 0; line-height: 1.05; }
.fd-sec-head h2 em { font-style: normal; color: var(--fd-amber); }
.fd-sec-head .fd-sub { color: var(--fd-ink-3); font-weight: 500; margin: 8px 0 0; }

/* ---------- hero ---------- */
.fd-hero { padding: 54px 0 40px; text-align: center; position: relative; }
.fd-hero-inner { max-width: 820px; margin: 0 auto; }
.fd-hero .fd-chip { margin-bottom: 22px; }
.fd-hero h1 { font-family: var(--fd-display); font-size: clamp(36px, 5.8vw, 66px); line-height: 1.06; letter-spacing: .005em; text-transform: uppercase; font-weight: 600; margin: 0; }
.fd-hero h1 em { font-style: normal; color: var(--fd-amber); }
.fd-hero .fd-lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--fd-ink-2); margin: 24px auto 0; max-width: 46ch; line-height: 1.5; }
.fd-hero-cta { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fd-hero-card { max-width: 940px; margin: 44px auto 0; padding: 14px; }
.fd-hero-card-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: 2px; overflow: hidden; }
.fd-hero-card-fig { aspect-ratio: 16/11; overflow: hidden; border-right: 1px solid var(--fd-ink); }
.fd-hero-card-fig .fd-ph, .fd-hero-card-fig img { width: 100%; height: 100%; object-fit: cover; }
.fd-hero-card-body { padding: 26px 26px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.fd-hero-card-body .fd-chip { align-self: flex-start; margin-bottom: 14px; }
.fd-hero-card-body h3 { font-family: var(--fd-display); font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; line-height: 1.16; text-transform: uppercase; margin: 0 0 12px; }
.fd-hero-card-body p { color: var(--fd-ink-2); font-size: 14.5px; margin: 0 0 16px; }
.fd-hero-card-body .fd-meta { margin-top: auto; }
@media (max-width: 760px) { .fd-hero-card-in { grid-template-columns: 1fr; } .fd-hero-card-fig { aspect-ratio: 16/9; border-right: 0; border-bottom: 1px solid var(--fd-ink); } .fd-hero-card-body { text-align: center; } .fd-hero-card-body .fd-chip { align-self: center; } }

/* ---------- featured grid ---------- */
.fd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fd-card { display: flex; flex-direction: column; overflow: hidden; position: relative; transition: transform .18s ease; }
.fd-card:hover { transform: translateY(-4px); }
.fd-card-fig { position: relative; aspect-ratio: 16/11; overflow: hidden; border-bottom: 1px solid var(--fd-ink); }
.fd-card-fig .fd-ph, .fd-card-fig img { width: 100%; height: 100%; object-fit: cover; }
.fd-card-fig .fd-chip { position: absolute; top: 0; left: 0; border-radius: 0; }
.fd-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.fd-card h3 { font-family: var(--fd-display); font-size: 19px; line-height: 1.2; font-weight: 600; text-transform: uppercase; margin: 0; }
.fd-card:hover h3 { color: var(--fd-amber); }
.fd-card .fd-meta { margin-top: auto; }
@media (max-width: 900px) { .fd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fd-grid { grid-template-columns: 1fr; } }

/* ---------- collections ---------- */
.fd-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fd-coll { display: flex; align-items: center; gap: 16px; padding: 18px 20px; transition: transform .18s ease; }
.fd-coll:hover { transform: translateY(-3px); }
.fd-coll-ic { width: 42px; height: 42px; border-radius: 3px; flex: none; display: grid; place-items: center; background: var(--fd-steel); color: var(--fd-amber); font-family: var(--fd-mono); font-weight: 700; font-size: 13px; }
.fd-coll h4 { font-family: var(--fd-display); font-size: 17px; font-weight: 600; text-transform: uppercase; margin: 0; }
.fd-coll > span:last-child { font-family: var(--fd-mono); font-size: 12.5px; color: var(--fd-ink-3); font-weight: 500; margin-left: auto; }
@media (max-width: 820px) { .fd-collections { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fd-collections { grid-template-columns: 1fr; } }

/* ---------- map ---------- */
.fd-mapwrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.fd-mapwrap .fd-intro h2 { font-family: var(--fd-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; text-transform: uppercase; margin: 14px 0 0; line-height: 1.08; }
.fd-mapwrap .fd-intro h2 em { font-style: normal; color: var(--fd-amber); }
.fd-mapwrap .fd-intro p { color: var(--fd-ink-2); margin: 16px 0 0; max-width: 34ch; }
@media (max-width: 860px) { .fd-mapwrap { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- CTA ---------- */
.fd-cta-box { padding: 54px 40px; text-align: center; position: relative; overflow: hidden; background: var(--fd-steel-2); border-radius: var(--fd-r); border-top: 3px solid var(--fd-amber); }
.fd-cta-box h2 { font-family: var(--fd-display); font-size: clamp(28px, 4vw, 44px); font-weight: 600; text-transform: uppercase; margin: 0; line-height: 1.08; color: #fff; }
.fd-cta-box h2 em { font-style: normal; color: var(--fd-amber); }
.fd-cta-box p { color: #b7bcc1; margin: 14px auto 0; max-width: 42ch; font-weight: 500; }
.fd-cta-form { margin: 26px auto 0; display: flex; gap: 12px; max-width: 460px; flex-wrap: wrap; justify-content: center; }
.fd-cta-form input { flex: 1; min-width: 200px; font-family: var(--fd-body); font-size: 15px; padding: 14px 18px; border-radius: 2px; border: 1px solid #565b62; background: #4a4e55; color: #fff; outline: none; }
.fd-cta-form input:focus { border-color: var(--fd-amber); }
.fd-cta-form .fd-btn { background: var(--fd-amber); border-color: var(--fd-amber); color: #201400; }
.fd-cta-form .fd-btn:hover { background: #fff; border-color: #fff; }

/* ---------- footer ---------- */
.fd-foot { margin-top: 40px; padding: 0 var(--fd-gut) 40px; position: relative; z-index: 1; }
.fd-foot-in { max-width: var(--fd-maxw); margin: 0 auto; padding: 44px 0 0; border-top: 3px solid var(--fd-ink); }
.fd-foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.fd-foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--fd-display); font-weight: 600; font-size: 22px; text-transform: uppercase; color: var(--fd-ink); }
.fd-foot-brand + p { color: var(--fd-ink-3); font-size: 14px; margin: 14px 0 0; max-width: 30ch; font-weight: 500; }
.fd-foot h5 { font-family: var(--fd-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fd-ink-3); margin: 0 0 14px; }
.fd-foot a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--fd-ink-2); font-weight: 600; transition: color .14s; }
.fd-foot a:hover { color: var(--fd-amber); }
.fd-foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--fd-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--fd-mono); font-size: 12.5px; color: var(--fd-ink-3); font-weight: 500; }
@media (max-width: 820px) { .fd-foot-top { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* ============================================================
   Single post — universal post layout: TOC (mandatory) + readable panel
   ============================================================ */
.fd-article { padding-top: 34px; }
.fd-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--fd-mono); font-weight: 500; font-size: 12.5px; color: var(--fd-ink-3); text-transform: uppercase; }
.fd-crumb a:hover { color: var(--fd-amber); }
.fd-art-head { max-width: 820px; margin: 20px auto 0; text-align: center; }
.fd-art-head h1 { font-family: var(--fd-display); font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; text-transform: uppercase; font-weight: 600; margin: 16px 0 0; }
.fd-art-head h1 em { font-style: normal; color: var(--fd-amber); }
.fd-art-head .fd-standfirst { font-size: clamp(17px, 1.8vw, 19px); line-height: 1.5; color: var(--fd-ink-2); margin: 20px auto 0; max-width: 56ch; }
.fd-art-meta { margin: 22px 0 0; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.fd-art-meta .who { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.fd-art-meta .fd-ava { width: 30px; height: 30px; border-radius: 3px; background: var(--fd-steel); }
.fd-art-meta .sep { color: var(--fd-ink-3); }
.fd-art-fig { margin: 30px 0 0; padding: 0; }
.fd-art-fig .fd-ph, .fd-art-fig img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }

.fd-art-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 46px; margin: 44px 0 0; align-items: start; }

/* Table of contents — REQUIRED */
.fd-toc { position: sticky; top: 96px; align-self: start; padding: 20px 20px; }
.fd-toc-h { font-family: var(--fd-mono); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fd-ink-3); margin-bottom: 12px; }
.fd-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.fd-toc li { counter-increment: toc; }
.fd-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 10px; margin: 2px 0; font-weight: 600; font-size: 13.5px; line-height: 1.3; color: var(--fd-ink-2); transition: color .14s, background .14s; }
.fd-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--fd-mono); font-size: 11px; color: var(--fd-ink-3); font-weight: 700; }
.fd-toc a:hover { color: var(--fd-ink); background: var(--fd-line-2); }
.fd-toc a.is-active { color: #fff; background: var(--fd-amber); }
.fd-toc a.is-active::before { color: #201400; }

/* article richtext (.fd-rt) */
.fd-rt { background: #fff; border: 1px solid var(--fd-ink); border-radius: var(--fd-r); padding: 34px 40px; font-size: 18px; line-height: 1.78; color: var(--fd-ink); }
.fd-rt > *:first-child { margin-top: 0; }
.fd-rt p { margin: 0 0 1.25em; color: #262420; }
.fd-rt > p:first-of-type { font-size: 20px; color: var(--fd-ink); }
.fd-rt h2 { font-family: var(--fd-display); font-size: 25px; font-weight: 600; text-transform: uppercase; line-height: 1.24; margin: 1.6em 0 .5em; }
.fd-rt h3 { font-family: var(--fd-display); font-size: 19px; font-weight: 600; text-transform: uppercase; margin: 1.5em 0 .4em; }
.fd-rt a { color: var(--fd-amber); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.fd-rt ul, .fd-rt ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; }
.fd-rt ul li, .fd-rt ol li { margin: .5em 0; padding-left: 1.8em; position: relative; color: #262420; }
.fd-rt ul li::before { content: ""; position: absolute; left: 0; top: .58em; width: 9px; height: 9px; background: var(--fd-amber); }
.fd-rt ol { counter-reset: li; }
.fd-rt ol li { counter-increment: li; }
.fd-rt ol li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 1.4em; height: 1.4em; display: grid; place-items: center; font-family: var(--fd-mono); font-weight: 800; font-size: .7em; color: #fff; background: var(--fd-steel); }
.fd-rt blockquote { margin: 1.7em 0; padding: 22px 26px; background: var(--fd-bg); border-left: 4px solid var(--fd-amber); font-family: var(--fd-display); font-size: 20px; line-height: 1.32; font-weight: 600; text-transform: uppercase; color: var(--fd-ink); }
.fd-rt blockquote p { margin: 0; }
.fd-rt img { margin: 1.7em 0; border: 1px solid var(--fd-ink); }
.fd-rt figure { margin: 1.7em 0; }
.fd-rt figcaption { font-family: var(--fd-mono); font-weight: 500; font-size: 12.5px; color: var(--fd-ink-3); margin-top: 10px; text-align: center; }
.fd-rt code { font-family: var(--fd-mono); font-size: .85em; background: var(--fd-line-2); padding: 2px 7px; }
.fd-rt hr { border: 0; height: 2px; background: var(--fd-ink); margin: 2.2em 0; }

.fd-endmark { max-width: 820px; margin: 34px auto 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fd-share { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.fd-share .lbl { font-family: var(--fd-mono); font-weight: 700; font-size: 12.5px; color: var(--fd-ink-3); text-transform: uppercase; }
.fd-share a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--fd-ink); font-weight: 700; font-size: 13px; transition: background .16s ease, color .16s; }
.fd-share a:hover { background: var(--fd-ink); color: #fff; }

.fd-art-body.no-toc { grid-template-columns: minmax(0, 780px); justify-content: center; }
@media (max-width: 880px) { .fd-art-body { grid-template-columns: 1fr; gap: 22px; } .fd-toc { position: static; } .fd-rt { padding: 26px 22px; } }

.fd-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .fd-related { grid-template-columns: 1fr; } }

/* ---------- archive / blog — spec-sheet index ---------- */
.fd-arch-head { padding: 46px 0 0; text-align: center; }
.fd-arch-head .fd-chip { margin-bottom: 16px; }
.fd-arch-head h1 { font-family: var(--fd-display); font-size: clamp(36px, 5.6vw, 66px); text-transform: uppercase; line-height: 1.02; font-weight: 600; margin: 0; }
.fd-arch-head h1 em { font-style: normal; color: var(--fd-amber); }
.fd-arch-head p { color: var(--fd-ink-2); max-width: 50ch; margin: 18px auto 0; font-size: 18px; }
.fd-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 30px 0 4px; }
.fd-filter a { font-family: var(--fd-mono); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; padding: 9px 16px; border: 1px solid var(--fd-ink); color: var(--fd-ink-2); transition: color .14s, background .14s; }
.fd-filter a:hover { color: var(--fd-ink); background: var(--fd-line-2); }
.fd-filter a.on { background: var(--fd-ink); color: #fff; }

.fd-spec { display: flex; flex-direction: column; margin-top: 34px; border-top: 2px solid var(--fd-ink); }
.fd-srow { display: flex; align-items: center; gap: 18px; padding: 16px 6px; border-bottom: 1px solid var(--fd-line); transition: background .16s ease; }
.fd-srow:hover { background: #fff; }
.fd-srow-code { font-family: var(--fd-mono); font-weight: 700; font-size: 12.5px; color: var(--fd-amber); width: 64px; flex: none; }
.fd-srow-fig { width: 84px; height: 64px; flex: none; border: 1px solid var(--fd-ink); overflow: hidden; }
.fd-srow-fig .fd-ph, .fd-srow-fig img { width: 100%; height: 100%; object-fit: cover; }
.fd-srow-body { flex: 1; min-width: 0; }
.fd-srow-cat { display: block; font-family: var(--fd-mono); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fd-ink-3); margin-bottom: 4px; }
.fd-srow-body h3 { font-family: var(--fd-display); font-size: 18px; font-weight: 600; text-transform: uppercase; margin: 0; line-height: 1.24; }
.fd-srow:hover .fd-srow-body h3 { color: var(--fd-amber); }
.fd-srow-meta { flex: none; font-family: var(--fd-mono); font-weight: 500; font-size: 12.5px; color: var(--fd-ink-3); white-space: nowrap; }
@media (max-width: 640px) { .fd-srow { gap: 12px; padding: 14px 4px; } .fd-srow-code { display: none; } .fd-srow-fig { width: 62px; height: 50px; } .fd-srow-meta { display: none; } }

.fd-pagination { display: flex; gap: 8px; justify-content: center; margin: 46px 0 0; flex-wrap: wrap; }
.fd-pagination .page-numbers { min-width: 40px; text-align: center; padding: 10px 14px; border: 1px solid var(--fd-ink); font-family: var(--fd-mono); font-weight: 700; font-size: 13px; color: var(--fd-ink-2); }
.fd-pagination .page-numbers.current { background: var(--fd-ink); color: #fff; }
.fd-pagination a.page-numbers:hover { background: var(--fd-line-2); }
.fd-empty { padding: 60px 0; text-align: center; color: var(--fd-ink-3); font-weight: 600; }

/* ---------- pages ---------- */
.fd-page { padding: 44px 0 20px; }
.fd-page-lead { max-width: 780px; margin: 0 auto; text-align: center; }
.fd-page-lead .fd-chip { margin-bottom: 14px; }
.fd-page-lead h1 { font-family: var(--fd-display); font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; text-transform: uppercase; font-weight: 600; margin: 0; }
.fd-page-body { max-width: 780px; margin: 30px auto 0; padding: 34px 40px; font-size: 18px; line-height: 1.78; }
.fd-page-body .blj-lead, .fd-page-body > p:first-child { font-size: 20px; color: var(--fd-ink-2); }
.fd-page-body p { color: #262420; margin: 0 0 1.1em; }
.fd-page-body h2 { font-family: var(--fd-display); font-size: 23px; font-weight: 600; text-transform: uppercase; margin: 1.6em 0 .5em; }
.fd-page-body h3 { font-family: var(--fd-display); font-size: 18px; font-weight: 600; text-transform: uppercase; margin: 1.4em 0 .4em; }
.fd-page-body ul { padding-left: 0; list-style: none; }
.fd-page-body li { margin: .5em 0; padding-left: 1.7em; position: relative; color: #262420; }
.fd-page-body ul li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; background: var(--fd-amber); }
.fd-page-body a { color: var(--fd-amber); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fd-page-body strong { font-weight: 700; }
.blj-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 6px 0 1.4em; }
.blj-chips span { font-family: var(--fd-mono); font-weight: 700; font-size: 11.5px; text-transform: uppercase; padding: 8px 15px; background: var(--fd-steel); color: #fff; }
.blj-info-card { margin: 1.6em 0; padding: 24px; background: #fff; border: 1px solid var(--fd-amber); border-left: 4px solid var(--fd-amber); }
.blj-info-card h3 { margin: 0 0 6px; }
.blj-info-card a { font-weight: 700; font-size: 17px; }
.blj-note { color: var(--fd-ink-3); }

/* ---------- The Map ---------- */
.blj-map { padding: 24px; background: #fff; border: 1px solid var(--fd-ink); border-radius: var(--fd-r); }
.blj-map-title { font-family: var(--fd-display); font-size: 17px; font-weight: 600; text-transform: uppercase; margin: 0 0 14px; }
.blj-map-search { position: relative; margin: 0 0 14px; }
.blj-map-search input { width: 100%; padding: 12px 42px 12px 16px; border: 1px solid var(--fd-ink); background: var(--fd-bg); font-family: var(--fd-body); font-size: 14px; color: var(--fd-ink); outline: none; border-radius: 0; }
.blj-map-search input:focus { border-color: var(--fd-amber); }
.blj-map-search svg { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--fd-ink-3); }
.blj-map-list { display: flex; flex-direction: column; gap: 8px; max-height: 440px; overflow: auto; }
.blj-map-dir { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: var(--fd-steel); color: #fff; font-weight: 700; font-size: 14px; }
.blj-map-entry { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--fd-line); transition: background .16s ease; }
.blj-map-entry:hover { background: var(--fd-line-2); }
.blj-map-anchor { font-family: var(--fd-display); font-weight: 600; font-size: 15px; text-transform: uppercase; color: var(--fd-ink); }
.blj-map-anchor:hover { color: var(--fd-amber); }
.blj-map-host { display: inline-flex; align-items: center; gap: 4px; font-family: var(--fd-mono); font-weight: 700; font-size: 12px; color: var(--fd-amber); }
.blj-map-src { font-size: 12.5px; color: var(--fd-ink-3); font-weight: 500; }
.blj-map-src:hover { color: var(--fd-ink); }
.blj-map-empty { color: var(--fd-ink-3); padding: 16px 4px; font-weight: 600; }

/* ============================================================
   Motion — quiet reveal only. Gated on reduced-motion + ?noanim.
   ============================================================ */
.js-reveal .fd-reveal, .js-reveal .fd-sec-head, .js-reveal .fd-card, .js-reveal .fd-coll,
.js-reveal .fd-mapwrap > *, .js-reveal .fd-cta-box, .js-reveal .fd-hero-card,
.js-reveal .fd-arch-head, .js-reveal .fd-filter, .js-reveal .fd-art-head, .js-reveal .fd-art-fig, .js-reveal .fd-srow {
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js-reveal .is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .fd-reveal, .js-reveal .fd-sec-head, .js-reveal .fd-card, .js-reveal .fd-coll,
  .js-reveal .fd-mapwrap > *, .js-reveal .fd-cta-box, .js-reveal .fd-hero-card,
  .js-reveal .fd-arch-head, .js-reveal .fd-filter, .js-reveal .fd-art-head, .js-reveal .fd-art-fig, .js-reveal .fd-srow { opacity: 1; transform: none; transition: none; }
  .fd-card:hover, .fd-coll:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  :root { --fd-gut: 16px; }
  .fd-nav-links { display: none; }
  .fd-sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
