@charset "UTF-8";
/* ==========================================================================
   DeLano Bound — site stylesheet
   A modern, responsive, dependency-free stylesheet for a static archive site.
   Structure: 1 tokens · 2 reset · 3 layout · 4 header/nav · 5 typography
              6 components · 7 gallery · 8 footer · 9 print · 10 motion
   ========================================================================== */

/* 1 · Design tokens ------------------------------------------------------- */
:root {
  --paper:        #faf7f2;
  --paper-alt:    #f3ede4;
  --surface:      #ffffff;
  --surface-alt:  #f7f2ea;
  --ink:          #1d1a17;
  --ink-soft:     #443c35;
  --muted:        #6d635a;
  --line:         #e5dccf;
  --line-strong:  #d3c6b4;
  --accent:       #8b1e2d;
  --accent-dark:  #6d1622;
  --accent-soft:  #f3e2e4;
  --brass:        #a8834a;
  --focus:        #1f6feb;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
                "Times New Roman", "Songti SC", "SimSun", serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.32rem);
  --step-2:  clamp(1.38rem, 1.24rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.7rem, 1.42rem + 1.35vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(29, 26, 23, .06), 0 2px 6px rgba(29, 26, 23, .05);
  --shadow-md: 0 4px 12px rgba(29, 26, 23, .08), 0 12px 28px rgba(29, 26, 23, .07);
  --shadow-lg: 0 18px 48px rgba(29, 26, 23, .22);
  --gap: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  --pad-section: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:       #16130f;
    --paper-alt:   #1d1913;
    --surface:     #201b15;
    --surface-alt: #262019;
    --ink:         #f2ece2;
    --ink-soft:    #d9d0c2;
    --muted:       #a89c8c;
    --line:        #352d24;
    --line-strong: #4a3f33;
    --accent:      #e0798a;
    --accent-dark: #f0a0ad;
    --accent-soft: #2e1d21;
    --brass:       #d0ab72;
    --focus:       #7cb0ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, .5);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, .7);
  }
}

/* 2 · Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; height: auto; }
img { border-style: none; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--accent-soft); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 3 · Layout -------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.7rem + 1.6vw, 2rem);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

main { display: block; }

.section { padding-block: var(--pad-section); }
.section--tight { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section--alt { background: var(--paper-alt); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 62rem) {
  .split--aside  { grid-template-columns: minmax(0, 1fr) 20rem; }
  .split--hero   { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
}

/* 4 · Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(2px)) {
  .site-header { background: var(--paper); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: .55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
}
.brand__name, .brand__tag { white-space: nowrap; }

@media (max-width: 26rem) {
  .brand__tag { display: none; }
  .brand__mark { width: 34px; height: 34px; font-size: 1rem; }
  .brand__name { font-size: 1.05rem; }
  .site-header__inner { gap: .5rem; }
  .nav-toggle { padding: .45rem .6rem; }
}
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  flex: 0 0 auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand__tag {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
}
.nav-toggle__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.site-nav { display: none; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
}
.site-nav a {
  display: block;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--surface-alt); color: var(--accent); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

@media (max-width: 61.99rem) {
  .site-nav {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem clamp(1rem, 0.7rem + 1.6vw, 2rem) 1rem;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .28s ease, visibility .28s;
  }
  .site-nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .8rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
}
@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
}

.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; position: static; max-height: none; visibility: visible; box-shadow: none; border: 0; padding: 0; }
.no-js .site-nav ul { flex-direction: row; }

/* 5 · Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -.015em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5 { font-size: var(--step-0); }
h6 { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .75rem;
}

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.75em 0;
  padding: .25em 0 .25em 1.25em;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: var(--step-1);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .35em;
}
.prose hr { margin: 2.5em 0; }
.prose > p:first-of-type { font-size: var(--step-1); color: var(--ink-soft); }

.dropcap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.6em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--accent);
  font-weight: 700;
}

/* 6 · Components ---------------------------------------------------------- */
.breadcrumb {
  font-size: var(--step--1);
  color: var(--muted);
  padding-block: 1rem;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); margin-right: .4rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); }

.page-hero {
  padding-block: clamp(2rem, 1.4rem + 3vw, 3.75rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 100% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--paper);
}
.page-hero__meta { color: var(--muted); font-size: var(--step--1); margin-top: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1 1 auto; }
.card__title { font-size: var(--step-1); margin: 0; }
.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--accent); }
.card__text { margin: 0; color: var(--muted); font-size: var(--step--1); line-height: 1.6; }
.card__meta { margin-top: auto; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); font-weight: 700; }

.card--plain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.card--plain h3 { margin-top: 0; }

.note {
  border-left: 4px solid var(--brass);
  background: var(--surface-alt);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  font-size: var(--step--1);
}
.note--alert { border-left-color: var(--accent); background: var(--accent-soft); }
.note strong { color: var(--ink); }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .84rem;
  color: var(--ink-soft);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1rem;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.25rem .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat__num {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  color: var(--accent);
  line-height: 1;
}
.stat__label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700;
}
.stat__note { font-size: var(--step--1); color: var(--muted); }

details.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  margin-bottom: .75rem;
  overflow: hidden;
}
details.faq > summary {
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  list-style: none;
  position: relative;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  font-family: var(--font-sans);
  font-weight: 400;
}
details.faq[open] > summary::after { content: "\2212"; }
details.faq > summary:hover { color: var(--accent); }
details.faq .faq__body { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); }
details.faq .faq__body > *:first-child { margin-top: 0; }

.data-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.data-table caption { text-align: left; color: var(--muted); padding-bottom: .6rem; font-size: .85rem; }
.data-table th, .data-table td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--surface-alt); color: var(--ink); font-weight: 700; }
.data-table tbody tr:hover { background: var(--surface-alt); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 1.5rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.85rem; top: .5rem;
  width: .7rem; height: .7rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
}
.timeline__year { font-weight: 700; color: var(--brass); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }

.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.pager a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  max-width: 48%;
}
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager small { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.pager .pager__next { margin-left: auto; text-align: right; }

/* 7 · Galleries ----------------------------------------------------------- */
/* Masonry columns keep each photograph at its own aspect ratio: nothing on
   this site is cropped to fit a template. */
.gallery {
  columns: 4 11rem;
  column-gap: clamp(.55rem, .35rem + .8vw, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery--wide { columns: 3 14rem; }

@media (max-width: 40rem) {
  .gallery { columns: 2 9rem; }
  .gallery--wide { columns: 2 10rem; }
}

.gallery__item { margin: 0 0 clamp(.55rem, .35rem + .8vw, 1rem); break-inside: avoid; }
.gallery__link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gallery__link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1), filter .3s ease;
}
.gallery__link:hover img,
.gallery__link:focus-visible img { transform: scale(1.05); }
.gallery__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 14, .35), transparent 45%);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery__link:hover::after { opacity: 1; }
.gallery__caption { font-size: .78rem; color: var(--muted); margin-top: .45rem; text-align: center; }

.gallery-block { margin-top: 2.75rem; }
.gallery-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: .6rem;
  margin-bottom: 1.25rem;
}
.gallery-block__head h2, .gallery-block__head h3 { margin: 0; font-size: var(--step-2); }
.gallery-block__head p { margin: 0; color: var(--muted); font-size: var(--step--1); }

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  background: rgba(16, 13, 11, .94);
  padding: clamp(1rem, 3vw, 3rem);
}
.lightbox[open], .lightbox.is-open { display: grid; place-items: center; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: .75rem; justify-items: center; }
.lightbox__img {
  max-width: min(100%, 1200px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.lightbox__cap { color: #f0e9df; font-size: .9rem; text-align: center; max-width: 60ch; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__count {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ded5c8;
  font-size: .82rem;
  letter-spacing: .08em;
}
body.lb-open { overflow: hidden; }

/* 8 · Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem) 1.5rem;
  font-size: var(--step--1);
  color: var(--muted);
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer-grid h2, .footer-grid h3 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink);
  font-family: var(--font-sans);
  margin-bottom: .75rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-brand p { max-width: 34ch; line-height: 1.65; }
.footer-legal {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .75rem;
  line-height: 1.6;
}
.footer-legal p { margin: 0; font-size: .8rem; max-width: 90ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; align-items: center; }

/* 9 · Print --------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .lightbox, .pager, .btn-row { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .page-hero { background: none; border: 0; padding-block: 0 1rem; }
  .card { break-inside: avoid; }
}

/* 10 · Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .gallery__link:hover img { transform: none; }
}
