/* ==========================================================================
   Philip Thomae Photographer — site stylesheet
   Pure static CSS. No build step, no external font or script requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --bg:            #f7f5f2;
  --bg-alt:        #efeae3;
  --surface:       #ffffff;
  --ink:           #1b1d21;
  --ink-soft:      #55595f;
  --ink-faint:     #7d838b;
  --line:          #e2ddd5;
  --accent:        #96361f;
  --accent-dark:   #7a2a16;
  --accent-soft:   #f2e3dd;
  --focus:         #1f5fbf;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
                Georgia, "Times New Roman", serif;

  --wrap:      68rem;
  --wrap-narrow: 46rem;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 29, 33, .06), 0 2px 8px rgba(27, 29, 33, .05);
  --shadow-md: 0 4px 12px rgba(27, 29, 33, .08), 0 12px 32px rgba(27, 29, 33, .07);
  --space:     clamp(1rem, 0.6rem + 1.6vw, 1.75rem);
  --section-y: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
img { border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; }

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

a {
  color: var(--accent);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
a:hover { color: var(--accent-dark); }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
li:last-child { margin-bottom: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--section-y) 0;
}

strong { font-weight: 700; }
small { font-size: .875rem; }

address { font-style: normal; }

blockquote {
  margin: 0;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 1.1em;
}

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

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}
.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 helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); }

.section { padding-block: var(--section-y); }
.section--alt   { background: var(--bg-alt); }
.section--paper { background: var(--surface); border-block: 1px solid var(--line); }

.section__head { max-width: 44rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.section__head p { color: var(--ink-soft); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.lede { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--ink-soft); }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

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

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}
.brand__tag {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  padding: .5rem .8rem;
  cursor: pointer;
}
.nav-toggle__bars { display: inline-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 ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.site-nav a[aria-current="page"] { color: var(--accent-dark); font-weight: 700; }
.site-nav a[aria-current="page"]:hover { background: var(--accent-soft); }

@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    padding: .5rem 1.25rem 1rem;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: .7rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav li:last-child a { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: .96rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0ece7; color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: .5rem; }
.hero__kicker {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1rem + .4vw, 1.35rem);
  color: var(--accent-dark);
  margin-bottom: .75rem;
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero__media figcaption {
  font-size: .82rem;
  color: var(--ink-faint);
  margin-top: .6rem;
  text-align: right;
}

/* Collage of archive photographs used in the home hero */
.hero__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.hero__collage figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.hero__collage figure:first-child {
  grid-column: span 2;
}
.hero__collage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--bg-alt);
}
.hero__collage figcaption {
  font-size: .72rem;
  line-height: 1.4;
  color: var(--ink-faint);
  padding: .4rem .6rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 52rem) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media, .hero__collage { order: -1; }
}

/* Two-column content + media layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
}
.split--top { align-items: start; }
.split--media-first > :first-child { order: -1; }
@media (max-width: 54rem) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--media-first > :first-child { order: 0; }
}
/* Grid and flex children must be allowed to shrink below their min-content
   width, otherwise a long unbreakable token can push a track past the
   viewport and create horizontal scrolling on small screens. */
.split > *, .grid > * { min-width: 0; }
.prose, .card, .biz, .film, .figure, .note, .faq { overflow-wrap: break-word; }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, .9rem + .6vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  height: 100%;
}
.card h3 { margin-bottom: .1em; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card__more { margin-top: auto; padding-top: .75rem; font-weight: 600; font-size: .95rem; }
.card__price { font-family: var(--font-serif); color: var(--accent-dark); font-size: 1.05rem; }

.card--link { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.card--link:hover h3 { color: var(--accent-dark); }

/* Recommended resources page (resources.html) — its own look so it is not
   mistaken for the gallery card grid */
.resource-lead { max-width: 46rem; font-size: 1.05rem; color: var(--ink-soft); }
.resource-grid { display: grid; gap: clamp(1rem, .6rem + 1.2vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.resource-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(1.1rem, .9rem + .6vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.resource-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-item h3 { margin: 0; }
.resource-item p { color: var(--ink-soft); font-size: .97rem; margin-bottom: auto; }
.resource-item__more { margin-top: .75rem; font-weight: 600; font-size: .95rem; }
.resource-note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  color: #5c2a1b;
  font-size: .95rem;
  margin: 1.5rem 0;
}
.resource-note p:last-child { margin-bottom: 0; }

/* Feature list with check marks */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .65rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: .34rem;
  top: .72em;
  width: .34rem;
  height: .17rem;
  border-left: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   8. Galleries
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: clamp(.75rem, .5rem + 1vw, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.gallery--wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.gallery__item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-alt);
  transition: transform .35s ease;
}
.gallery__item a { display: block; overflow: hidden; }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  font-size: .85rem;
  color: var(--ink-soft);
  padding: .6rem .8rem;
  border-top: 1px solid var(--line);
}

.gallery__item--portrait img { aspect-ratio: 3 / 4; }
.gallery__item--square   img { aspect-ratio: 1 / 1; }
.gallery__item--natural  img { aspect-ratio: auto; object-fit: contain; }

/* Feature image inside article pages */
.figure {
  margin: 0 0 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.figure img { width: 100%; }
.figure figcaption {
  padding: .7rem 1rem;
  font-size: .87rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.figure--plain { border: 0; box-shadow: none; background: none; }
.figure--plain figcaption { border: 0; padding-left: 0; }

/* --------------------------------------------------------------------------
   9. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1100px);
  width: auto;
}
.lightbox::backdrop { background: rgba(15, 16, 18, .86); }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  background: #fff;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #f2f2f2;
  padding: .6rem .2rem 0;
  font-size: .92rem;
}
.lightbox__close {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  border-radius: 999px;
  padding: .3rem .85rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* --------------------------------------------------------------------------
   10. Content page shell
   -------------------------------------------------------------------------- */
.page-head {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 1.4rem + 2.6vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.breadcrumb { font-size: .85rem; color: var(--ink-faint); margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: .4rem; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); text-decoration: underline; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }

.note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  color: #5c2a1b;
  font-size: .95rem;
  margin: 1.5rem 0;
}
.note p:last-child { margin-bottom: 0; }

/* Definition / info lists */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  gap: .5rem 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
@media (max-width: 26rem) {
  /* On very narrow screens stack the label above its value. */
  .info-list li { grid-template-columns: minmax(0, 1fr); gap: .1rem 0; }
}
.info-list li:last-child { border-bottom: 0; }
.info-list dt, .info-list .k { font-weight: 600; color: var(--ink); }

/* Business directory */
.biz {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, .9rem + .6vw, 1.5rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  height: 100%;
}
.biz h3 { margin: 0; }
.biz__tag { font-family: var(--font-serif); font-style: italic; color: var(--accent-dark); }
.biz address { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
.biz__meta { margin-top: auto; padding-top: .6rem; font-size: .92rem; }

/* Movie showtimes */
.showtime { width: 100%; border-collapse: collapse; font-size: .97rem; }
.showtime caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
.showtime th, .showtime td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.showtime th { font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.showtime td:last-child { text-align: right; white-space: nowrap; }
@media (max-width: 30rem) {
  /* Let narrow tables wrap instead of forcing the page to scroll sideways. */
  .showtime { font-size: .92rem; }
  .showtime th, .showtime td { white-space: normal; padding: .45rem .35rem; }
}

.film {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, .9rem + .6vw, 1.5rem);
  box-shadow: var(--shadow-sm);
}

/* FAQ */
.faq { max-width: 48rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .2rem .2rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer;
  padding: .95rem 1.1rem;
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq__body { padding: 0 1.1rem 1.1rem; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* Timeline / archive list */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 1.4rem 1.75rem;
  border-left: 2px solid var(--line);
  margin: 0;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px; top: .5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline .t-year { display: block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* Page index (TOCFrame.html) */
.toc { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; border-bottom: 1px solid var(--line); }
.toc a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1rem;
  padding: .95rem .25rem;
  text-decoration: none;
  color: var(--ink);
}
.toc a:hover { background: var(--accent-soft); }
.toc .toc__label { font-weight: 600; }
.toc .toc__desc { color: var(--ink-soft); font-size: .92rem; flex: 1 1 auto; }
.toc .toc__path { color: var(--ink-faint); font-size: .82rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* Callout / contact strip */
.callout {
  background: var(--ink);
  color: #f4f1ee;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1rem, 1rem + 1vw, 2rem);
  align-items: center;
}
.callout h2 { color: #fff; margin-bottom: .35rem; }
.callout p { color: #c9c4be; margin-bottom: 0; }
.callout a { color: #f0c9b9; }
.callout a:hover { color: #fff; }
@media (max-width: 46rem) { .callout { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #bfbab4;
  padding-block: clamp(2rem, 1.5rem + 1.5vw, 3rem) 1.5rem;
  font-size: .94rem;
  margin-top: 0;
}
.site-footer a { color: #e6e1db; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #33373d;
}
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.site-footer__brand img { width: 40px; height: 40px; }
.site-footer__brand span { font-family: var(--font-serif); font-size: 1.05rem; color: #fff; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.25rem;
  font-size: .84rem;
  color: #9b968f;
}

/* --------------------------------------------------------------------------
   12. Utilities & print
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .gallery__item a:hover img { transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap, .wrap--narrow { width: 100%; }
  a { color: #000; text-decoration: underline; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
