/*
Theme Name:   Little Home Details Child
Theme URI:    https://littlehomedetails.org
Description:  Cabinet of Curiosities / Specimen Drawer child theme for Little Home Details. GeneratePress child.
Author:       Noelle Kirkbride
Template:     generatepress
Version:      1.0.0
*/

/* ==========================================================================
   LITTLE HOME DETAILS - design system
   Archetype : Cabinet of Curiosities / Specimen Drawer
   Fonts     : Cardo (display) + Fira Sans (body)
   Palette   : walnut #4B3A2F + ivory #F0E9DD + verdigris #4E7E6E
   Reference : premium DTC brand (Aesop) - brand-forward hero, zero-gutter
               split, generous section air, one uniform photo treatment,
               centred wordmark + sticky rail.
   Rules     : radius 0 everywhere. One accent (verdigris). Zero JS.
   ========================================================================== */

:root {
  /* --- house tokens --- */
  --walnut:        #4B3A2F;
  --walnut-deep:   #3A2E26;
  --walnut-dark:   #2B221C;
  --ivory:         #F0E9DD;
  --ivory-light:   #F8F4EC;
  --ivory-deep:    #E4DACA;
  --verdigris:     #4E7E6E;
  --verdigris-deep:#2E4B41;
  --verdigris-soft:#9CC3B4;
  --ink:           #241D17;
  --muted:         #7A6E62;
  --line:          #C9BCA8;
  --divider:       8px;

  /* --- theme-base compatibility tokens (header/footer/single/archive) --- */
  --color-primary:      #4E7E6E;
  --color-primary-dark: #2E4B41;
  --color-primary-soft: #DCE7E1;
  --color-bg:           #F0E9DD;
  --color-bg-deep:      #E4DACA;
  --color-accent:       #4E7E6E;
  --color-accent-soft:  #9CC3B4;
  --color-accent-deep:  #2E4B41;
  --color-charcoal:     #241D17;
  --color-ink:          #241D17;
  --color-muted:        #7A6E62;
  --color-line:         #C9BCA8;
  --color-white:        #F8F4EC;

  --font-serif: 'Cardo', Georgia, 'Times New Roman', serif;
  --font-sans:  'Fira Sans', Verdana, Geneva, sans-serif;

  --max-w: 1220px;
  --max-w-wide: 1400px;
  --max-w-narrow: 720px;
  --radius-sm: 0; --radius-md: 0; --radius-lg: 0; --radius-xl: 0;
}

*, *::before, *::after { box-sizing: border-box; }

/* ==========================================================================
   GLOBAL
   ========================================================================== */
body, .entry-content, .widget {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.72;
}
body { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin: 2.3em 0 .55em; }
h3 { font-size: 1.32rem; margin: 1.9em 0 .5em; }

a { color: var(--verdigris-deep); text-decoration: none; }
.entry-content a {
  text-decoration: underline;
  text-decoration-color: rgba(78,126,110,.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s, text-decoration-color .2s;
}
.entry-content a:hover { color: var(--verdigris); text-decoration-color: var(--verdigris); }
p { margin: 0 0 1.2em; }

/* one uniform photographic treatment across the whole site (reference: Aesop) */
img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  filter: saturate(.82) contrast(1.04) sepia(.06);
}

blockquote {
  margin: 2.2em 0;
  padding: 0 0 0 1.6rem;
  border-left: 2px solid var(--verdigris);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--ink);
  background: none;
}
hr { border: none; height: 1px; background: var(--line); margin: 3em 0; }
figure { margin: 2.2em 0; }
figcaption {
  font-size: .8rem; color: var(--muted); margin-top: .6rem;
  letter-spacing: .04em; font-style: normal;
  padding-left: 10px; border-left: 2px solid var(--verdigris);
}

/* the site uses at most one eyebrow per three sections; kept for single/archive */
.tb-eyebrow {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--verdigris);
  font-weight: 600;
}

/* ==========================================================================
   MASTHEAD + STICKY RAIL  (reference: centred wordmark, slim sticky nav)
   ========================================================================== */
.lhd-masthead {
  padding: 44px 24px 22px;
  text-align: center;
  background: var(--ivory);
}
.lhd-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(1.72rem, 7vw, 3.15rem);
  color: var(--ink);
  display: inline-block;
  line-height: 1.1;
}
.lhd-wordmark em { font-style: italic; color: var(--verdigris); }
.lhd-tagline {
  font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-top: 14px; font-weight: 500;
}
.lhd-rail {
  position: sticky; top: 0; z-index: 30;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lhd-rail .lhd-rail-menu {
  max-width: var(--max-w-wide); margin: 0 auto; padding: 0 20px;
  list-style: none; display: flex; justify-content: center; flex-wrap: nowrap;
  gap: 0 16px; height: 56px; align-items: center;
  overflow-x: auto; scrollbar-width: none;
}
.lhd-rail .lhd-rail-menu::-webkit-scrollbar { display: none; }
.lhd-rail li { white-space: nowrap; margin: 0; padding: 0; list-style: none; }
.lhd-rail a {
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 500; color: var(--ink); padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.lhd-rail a:hover,
.lhd-rail .current-menu-item > a { color: var(--verdigris); border-bottom-color: var(--verdigris); }

.tb-main { width: 100%; }
.tb-main > * { width: 100%; }   /* never add display:block here */

/* ==========================================================================
   THE COMPARTMENT  (signature 1 + 2: carcass cell + specimen label)
   ========================================================================== */
.lhd-cell {
  background: var(--ivory);
  padding: 8px;
  display: flex; flex-direction: column;
  position: relative; min-width: 0;
  color: var(--ink);
}
.lhd-cell::after {                      /* verdigris lining bead */
  content: ""; position: absolute; inset: 3px;
  border: 1px solid rgba(78,126,110,.34);
  pointer-events: none;
}
.lhd-cell.lining-deep { background: var(--ivory-deep); }
.lhd-cell-img { flex: 1 1 auto; overflow: hidden; min-height: 0; background: var(--ivory-deep); }
.lhd-cell-img img,
.lhd-cell-img .lhd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.lhd-cell-label {
  flex: 0 0 auto; padding: 10px 4px 2px;
  display: flex; align-items: baseline; gap: 10px;
}
.lhd-no {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  color: var(--verdigris); white-space: nowrap;
  padding-right: 10px; border-right: 1px solid rgba(78,126,110,.45);
}
.lhd-cell-name { font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.25; }
.lhd-cell-count {
  font-size: .68rem; color: var(--muted); letter-spacing: .06em;
  margin-left: auto; white-space: nowrap;
}

/* image placeholder when a post has no featured image */
.lhd-ph {
  background:
    repeating-linear-gradient(135deg, rgba(78,126,110,.10) 0 8px, rgba(78,126,110,0) 8px 16px),
    var(--ivory-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.5rem; color: rgba(78,126,110,.55);
  letter-spacing: .12em; min-height: 100%;
}

/* ==========================================================================
   1. HERO - the display case (full-bleed walnut)
   ========================================================================== */
.lhd-case { background: var(--walnut); padding: 40px 24px 60px; }
.lhd-case-brand { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.lhd-kicker {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--verdigris-soft); font-weight: 600;
}
.lhd-case-brand h1 {
  color: var(--ivory-light);
  font-size: clamp(1.6rem, 5.6vw, 2.85rem);
  margin: 14px 0 16px;
}
.lhd-case-brand p {
  color: rgba(240,233,221,.72); font-size: 1.02rem;
  margin: 0 auto; max-width: 52ch;
}
.lhd-case-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2.05fr 1fr; gap: var(--divider);
  background: var(--walnut-deep); padding: var(--divider);
  box-shadow: inset 0 2px 0 rgba(0,0,0,.28);
}
.lhd-case-side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--divider); }
.lhd-case-feature .lhd-cell-img { aspect-ratio: 16/7; }
.lhd-case-side .lhd-cell-img { aspect-ratio: 16/10; }
.lhd-case-side .lhd-cell-name { font-size: .95rem; }
.lhd-feature-body { padding: 16px 6px 4px; }
.lhd-feature-kick { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.lhd-feature-kick .lhd-no { border-right: none; padding-right: 0; }
.lhd-feature-cat {
  font-size: .7rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.lhd-feature-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.05rem); margin: 0 0 10px;
}
.lhd-feature-body h2 a { color: inherit; }
.lhd-feature-body h2 a:hover { color: var(--verdigris-deep); }
.lhd-feature-body p { margin: 0 0 16px; font-size: .98rem; color: #544A40; max-width: 58ch; }

.lhd-ghost {
  display: inline-block;
  font-size: .72rem; letter-spacing: .19em; text-transform: uppercase; font-weight: 600;
  color: var(--verdigris-deep); border: 1px solid var(--verdigris);
  padding: 11px 22px; background: none;
  transition: background .2s, color .2s;
}
.lhd-ghost:hover { background: var(--verdigris); color: var(--ivory-light); }

/* ==========================================================================
   SECTION SHELL - centred title + one descriptor line (reference: Aesop)
   ========================================================================== */
.lhd-sec { max-width: var(--max-w); margin: 0 auto; padding: 86px 24px; }
.lhd-sec-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.lhd-sec-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 0; }
.lhd-sec-head p { color: var(--muted); font-size: .98rem; margin: 14px 0 0; }
.lhd-sec-foot { text-align: center; margin-top: 42px; }

/* ==========================================================================
   2. EDITOR'S NOTE - zero-gutter split (reference: Aesop)
   ========================================================================== */
.lhd-note { display: grid; grid-template-columns: .92fr 1.08fr; background: var(--ivory); }
.lhd-note-img { min-height: 520px; overflow: hidden; background: var(--ivory-deep); }
.lhd-note-img img, .lhd-note-img .lhd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.lhd-note-text {
  padding: 92px clamp(30px,5vw,72px) 92px clamp(34px,6.5vw,104px);
  display: flex; flex-direction: column; justify-content: center; max-width: 700px;
}
.lhd-note-text h2 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); margin: 0 0 22px; }
.lhd-note-text p { margin: 0 0 18px; font-size: 1.02rem; }
.lhd-note-rule { width: 54px; height: 1px; background: var(--verdigris); margin: 8px 0 26px; }
.lhd-sign {
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem;
  line-height: 1.3; padding-bottom: 4px; color: var(--verdigris-deep);
}
.lhd-sign span {
  display: block; font-family: var(--font-sans); font-style: normal;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-top: 10px; font-weight: 500;
}

/* ==========================================================================
   3. THE DRAWER - eight interlocking compartments (signature 3)
   ========================================================================== */
.lhd-drawer-wrap { background: var(--ivory-deep); }
.lhd-drawer {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px 130px 210px;
  gap: var(--divider);
  background: var(--walnut); padding: 12px;
  box-shadow: inset 0 3px 0 rgba(0,0,0,.30), inset 0 -3px 0 rgba(0,0,0,.16);
}
.lhd-drawer .d1 { grid-column: 1; grid-row: 1 / span 2; }
.lhd-drawer .d2 { grid-column: 2; grid-row: 1; }
.lhd-drawer .d3 { grid-column: 3; grid-row: 1 / span 2; }
.lhd-drawer .d4 { grid-column: 4; grid-row: 1; }
.lhd-drawer .d5 { grid-column: 2; grid-row: 2 / span 2; }
.lhd-drawer .d6 { grid-column: 4; grid-row: 2 / span 2; }
.lhd-drawer .d7 { grid-column: 1; grid-row: 3; }
.lhd-drawer .d8 { grid-column: 3; grid-row: 3; }
/* graceful fallback when the site does not have exactly eight sections */
.lhd-drawer.flow { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); grid-auto-rows: 230px; }
.lhd-drawer.flow .lhd-cell { grid-column: auto !important; grid-row: auto !important; }
.lhd-drawer .lhd-cell-img img { transition: opacity .25s; }
.lhd-drawer .lhd-cell:hover .lhd-cell-img img { opacity: .86; }

/* ==========================================================================
   4. RECENT NOTES - depth mosaic, every cell filled
   ========================================================================== */
.lhd-mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 250px 215px 262px 262px; gap: 22px;
}
.lhd-mos {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--ivory-light); border: 1px solid var(--line);
  transition: border-color .2s; color: var(--ink);
}
.lhd-mos:hover { border-color: var(--verdigris); }
.lhd-mos.deep { background: var(--ivory-deep); }
.lhd-mos-img { flex: 1 1 auto; min-height: 96px; overflow: hidden; background: var(--ivory-deep); }
.lhd-mos-img img, .lhd-mos-img .lhd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.lhd-mos-body { flex: 0 0 auto; padding: 13px 16px 15px; display: flex; flex-direction: column; gap: 6px; }
.lhd-mos-cat {
  font-size: .64rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--verdigris); font-weight: 600;
}
.lhd-mos h3 { font-size: 1.05rem; margin: 0; }
.lhd-mos p { margin: 2px 0 0; font-size: .91rem; color: #544A40; }
.lhd-mos-date { font-size: .68rem; letter-spacing: .09em; color: var(--muted); margin-top: 2px; }
.m-a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.m-a h3 { font-size: 1.62rem; }
.m-b { grid-column: 3; grid-row: 1 / span 2; }
.m-c { grid-column: 4; grid-row: 1; }
.m-d { grid-column: 4; grid-row: 2; }
.m-e { grid-column: 1 / span 2; grid-row: 3; }
.m-e h3 { font-size: 1.3rem; }
.m-f { grid-column: 3; grid-row: 3 / span 2; }
.m-g { grid-column: 4; grid-row: 3; }
.m-h { grid-column: 1 / span 2; grid-row: 4; }
.m-h h3 { font-size: 1.3rem; }
.m-i { grid-column: 4; grid-row: 4; }
.lhd-mosaic.flow { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-template-rows: none; grid-auto-rows: 260px; }
.lhd-mosaic.flow .lhd-mos { grid-column: auto !important; grid-row: auto !important; }

/* ==========================================================================
   5. MARGIN NOTE - deep verdigris band (dark rhythm)
   ========================================================================== */
.lhd-quote { background: var(--verdigris-deep); padding: 92px 24px; }
.lhd-quote-in { max-width: 800px; margin: 0 auto; text-align: center; }
.lhd-quote blockquote {
  margin: 0; padding: 0 0 6px; border: none; background: none;
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.42; color: var(--ivory-light);
}
.lhd-quote-src {
  margin-top: 26px; font-size: .74rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--verdigris-soft); font-weight: 500;
}
.lhd-quote-src a { color: var(--verdigris-soft); border-bottom: 1px solid rgba(156,195,180,.5); }

/* ==========================================================================
   6. FROM EVERY COMPARTMENT
   ========================================================================== */
.lhd-index-wrap { background: var(--ivory-deep); }
.lhd-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.lhd-index h3 {
  font-size: 1.22rem; margin: 0 0 6px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.lhd-index h3 a { color: inherit; }
.lhd-index h3 a:hover { color: var(--verdigris-deep); }
.lhd-index h3 span {
  font-size: .68rem; font-family: var(--font-sans); color: var(--verdigris);
  letter-spacing: .1em; font-weight: 600; margin-right: 9px;
}
.lhd-index ul { list-style: none; margin: 0; padding: 0; }
.lhd-index li {
  display: flex; gap: 14px; padding: 15px 0; align-items: flex-start;
  border-bottom: 1px solid rgba(201,188,168,.5); margin: 0;
}
.lhd-index li:last-child { border-bottom: none; }
.lhd-index-thumb { flex: 0 0 62px; height: 62px; overflow: hidden; background: var(--ivory); }
.lhd-index-thumb img, .lhd-index-thumb .lhd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.lhd-index-t { font-family: var(--font-serif); font-size: 1rem; line-height: 1.32; display: block; color: var(--ink); }
.lhd-index-t:hover { color: var(--verdigris-deep); }
.lhd-index-d { font-size: .68rem; letter-spacing: .08em; color: var(--muted); margin-top: 5px; display: block; }
.lhd-index-more {
  display: inline-block; margin-top: 14px; font-size: .7rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--verdigris); font-weight: 600;
}

/* ==========================================================================
   NEWSLETTER BAND (front page + single) - walnut
   ========================================================================== */
.tb-newsletter { background: var(--walnut); padding: 76px 24px; text-align: center; }
.tb-newsletter-inner { max-width: 620px; margin: 0 auto; }
.tb-newsletter .tb-eyebrow { color: var(--verdigris-soft); }
.tb-newsletter h3 { color: var(--ivory-light); font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 12px 0 0; }
.tb-newsletter p { color: rgba(240,233,221,.7); max-width: 48ch; margin: 16px auto 26px; font-size: .98rem; }
.tb-newsletter-form { display: flex; justify-content: center; gap: 0; max-width: 460px; margin: 0 auto; }
.tb-newsletter-form input {
  flex: 1; padding: 14px 16px;
  border: 1px solid rgba(240,233,221,.42); border-right: none; border-radius: 0;
  background: rgba(240,233,221,.07); color: var(--ivory-light);
  font-family: var(--font-sans); font-size: .92rem;
}
.tb-newsletter-form input::placeholder { color: rgba(240,233,221,.62); }
.tb-newsletter-form button {
  padding: 14px 24px; border: 1px solid var(--verdigris-soft); border-radius: 0;
  background: var(--verdigris-soft); color: var(--walnut-dark);
  font-family: var(--font-sans); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
}
.tb-newsletter-form button:hover { background: var(--ivory-light); border-color: var(--ivory-light); }
.tb-newsletter-note { margin-top: 16px; font-size: .74rem; color: rgba(240,233,221,.5); }
.tb-newsletter-note a { color: rgba(240,233,221,.8); }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.tb-post-header { max-width: 760px; margin: 0 auto; padding: 64px 24px 0; }
.tb-breadcrumb { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.tb-breadcrumb a { color: var(--muted); }
.tb-breadcrumb a:hover { color: var(--verdigris); }
.tb-post-cat {
  display: inline-block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--verdigris); border: 1px solid rgba(78,126,110,.4);
  padding: 6px 12px; margin-bottom: 18px;
}
.tb-post-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 20px; }
.tb-post-meta { font-size: .78rem; letter-spacing: .06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.tb-post-meta strong { font-weight: 500; color: var(--ink); }
.tb-post-meta a { color: var(--verdigris-deep); }
.tb-post-cover {
  max-width: 1020px; margin: 40px auto 0; padding: 0 24px;
}
.tb-post-cover img { width: 100%; height: auto; display: block; }
/* the cover sits in the carcass like a mounted specimen, with a typed tag */
.lhd-plate {
  margin: 0; background: var(--walnut); padding: 10px;
  box-shadow: inset 0 2px 0 rgba(0,0,0,.26);
}
.lhd-plate-in { position: relative; overflow: hidden; background: var(--ivory-deep); }
.lhd-plate-in::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(156,195,180,.42); pointer-events: none;
}
.lhd-plate-cap {
  margin: 10px 0 0; padding: 11px 13px; border: none;
  background: var(--ivory);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: .72rem; letter-spacing: .06em;
  color: var(--muted); font-style: normal;
}
.lhd-plate-cap .lhd-no {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
}
.lhd-plate-cap-name {
  font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.25;
  letter-spacing: 0; color: var(--ink);
}
.lhd-plate-cap-date { margin-left: auto; white-space: nowrap; }
.entry-content { max-width: 720px; margin: 0 auto; padding: 44px 24px 0; }
.entry-content:not(.lhd-sheet-body) > p:first-of-type::first-letter {
  font-family: var(--font-serif); font-size: 3.6rem; line-height: .8;
  float: left; margin: .12em .12em 0 0; color: var(--verdigris-deep);
}
.entry-content h2 { font-size: 1.62rem; }
.entry-content ul, .entry-content ol { padding-left: 1.2rem; }
.entry-content li { margin-bottom: .5em; }
.ftc-disclosure {
  max-width: 720px; margin: 0 auto 2rem; padding: 14px 18px;
  background: var(--ivory-deep); border-left: 3px solid var(--verdigris);
  font-size: .85rem; color: #55493E;
}
.ftc-disclosure p { margin: 0; }
.tb-author-bio {
  max-width: 720px; margin: 60px auto 0; padding: 26px 24px;
  display: flex; gap: 20px; align-items: flex-start;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tb-author-avatar {
  flex: 0 0 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  background: var(--walnut); color: var(--ivory-light);
  font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: .06em;
}
.tb-author-bio h4 { margin: 6px 0 8px; font-size: 1.25rem; }
.tb-author-bio p { font-size: .95rem; margin: 0 0 10px; }
.tb-author-bio a { color: var(--verdigris-deep); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.tb-related { max-width: var(--max-w); margin: 72px auto 0; padding: 0 24px; }
.tb-related h3 { text-align: center; font-size: 1.7rem; margin: 0 0 30px; }
.tb-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--divider); background: var(--walnut); padding: var(--divider); }
.tb-related-card { background: var(--ivory); padding: 8px; display: block; position: relative; }
.tb-related-card::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(78,126,110,.34); pointer-events: none; }
.tb-related-cover { aspect-ratio: 4/3; overflow: hidden; background: var(--ivory-deep); }
.tb-related-cover img,
.tb-related-cover .lhd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-related-title { font-size: 1rem; margin: 12px 4px 4px; line-height: 1.3; color: var(--ink); }

/* ==========================================================================
   ARCHIVE
   ========================================================================== */
.tb-archive-hero { max-width: 760px; margin: 0 auto; padding: 70px 24px 0; text-align: center; }
.tb-archive-hero h1 { margin: 14px 0 12px; }
.tb-archive-hero p { color: var(--muted); font-size: 1rem; }
.tb-archive-feature { max-width: var(--max-w); margin: 46px auto 0; padding: 0 24px; }
.tb-spread { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--walnut); padding: var(--divider); }
.tb-spread-image { overflow: hidden; background: var(--ivory-deep); }
.tb-spread-image img,
.tb-spread-image .lhd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-spread-text { background: var(--ivory); padding: 40px clamp(22px,3vw,44px); display: flex; flex-direction: column; justify-content: center; }
.tb-spread-text h3 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); margin: 12px 0 12px; }
.tb-spread-text h3 a { color: inherit; }
.tb-spread-excerpt { font-size: .97rem; color: #544A40; }
.tb-spread-read { font-size: .72rem; letter-spacing: .19em; text-transform: uppercase; font-weight: 600; color: var(--verdigris-deep); }
.tb-archive-grid { max-width: var(--max-w); margin: var(--divider) auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--divider); }
.tb-archive-card { background: var(--ivory-light); border: 1px solid var(--line); padding: 8px 8px 16px; display: block; transition: border-color .2s; }
.tb-archive-card:hover { border-color: var(--verdigris); }
.tb-archive-cover { aspect-ratio: 4/3; overflow: hidden; background: var(--ivory-deep); margin-bottom: 12px; }
.tb-archive-cover img,
.tb-archive-cover .lhd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-archive-meta { font-size: .64rem; letter-spacing: .19em; text-transform: uppercase; color: var(--verdigris); font-weight: 600; padding: 0 6px; }
.tb-archive-title { font-size: 1.12rem; margin: 8px 6px 6px; color: var(--ink); }
.tb-archive-excerpt { font-size: .9rem; color: #544A40; margin: 0; padding: 0 6px; }
.navigation.pagination { margin-top: 10px; }
.page-numbers {
  display: inline-block; padding: 9px 14px; margin: 0 3px;
  border: 1px solid var(--line); color: var(--ink);
  font-size: .78rem; letter-spacing: .1em;
}
.page-numbers.current, .page-numbers:hover { background: var(--verdigris); border-color: var(--verdigris); color: var(--ivory-light); }

/* ==========================================================================
   TRUST PAGES - "specimen sheet" (page.php)
   ========================================================================== */
.lhd-sheet { background: var(--ivory); padding-bottom: 10px; }
.lhd-sheet-head {
  max-width: 900px; margin: 46px auto 0; padding: 0 24px;
}
.lhd-sheet-plate {
  background: var(--walnut); padding: 12px; text-align: center;
  box-shadow: inset 0 2px 0 rgba(0,0,0,.26);
}
.lhd-sheet-plate-inner {
  border: 1px solid rgba(156,195,180,.5);
  padding: 42px 26px 34px;
}
.lhd-sheet-plate h1 { color: var(--ivory-light); margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
.lhd-sheet-stamp {
  margin-top: 16px; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--verdigris-soft); font-weight: 600;
}
/* horizontal drawer-cell table of contents */
.lhd-sheet-toc {
  max-width: 900px; margin: 30px auto 0; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.lhd-toc-cell {
  flex: 1 1 150px; min-width: 132px;
  background: var(--ivory-light); border: 1px solid rgba(78,126,110,.38);
  padding: 11px 13px; display: block; transition: background .2s, border-color .2s;
}
.lhd-toc-cell:hover { background: var(--ivory-deep); border-color: var(--verdigris); }
.lhd-toc-no { display: block; font-size: .64rem; letter-spacing: .16em; color: var(--verdigris); font-weight: 600; }
.lhd-toc-name { display: block; font-family: var(--font-serif); font-size: .98rem; line-height: 1.25; margin-top: 4px; color: var(--ink); }

.lhd-sheet-body { max-width: 780px; margin: 0 auto; padding: 46px 24px 0; counter-reset: lhdsec; }
.lhd-sheet-body h2 {
  position: relative; counter-increment: lhdsec;
  font-size: 1.45rem; margin: 2.6em 0 .7em; padding-left: 62px;
  scroll-margin-top: 80px;
}
.lhd-sheet-body h2::before {            /* small specimen tag pinned to the heading */
  content: "\2116 " counter(lhdsec, decimal-leading-zero);
  position: absolute; left: 0; top: .18em;
  font-family: var(--font-sans); font-size: .6rem; font-weight: 600; letter-spacing: .08em;
  color: var(--verdigris); background: var(--ivory-light);
  border: 1px solid rgba(78,126,110,.45);
  padding: 4px 7px; line-height: 1;
}
.lhd-sheet-body h2:first-of-type { margin-top: 0; }
.lhd-sheet-body h3 { font-size: 1.16rem; padding-left: 62px; }
.lhd-sheet-body p, .lhd-sheet-body ul, .lhd-sheet-body ol { font-size: 1rem; }
.lhd-sheet-body ul, .lhd-sheet-body ol { padding-left: 1.3rem; }
.lhd-sheet-body li { margin-bottom: .45em; }
.lhd-sheet-body a { text-decoration: underline; text-decoration-color: rgba(78,126,110,.45); text-underline-offset: 3px; }
.lhd-sheet-body a:hover { color: var(--verdigris); }
/* identity / contact blocks become ivory label plates */
.lhd-sheet-body > p:has(> strong:first-child) {
  background: var(--ivory-light);
  border-left: 3px solid var(--verdigris);
  padding: 14px 18px; margin: 1.4em 0;
  font-size: .96rem;
}
.lhd-sheet-body > p:has(> strong:first-child) strong { color: var(--verdigris-deep); font-weight: 600; }

/* footer cross-links as a four compartment drawer */
.lhd-sheet-links { max-width: 900px; margin: 66px auto 0; padding: 0 24px 20px; }
.lhd-sheet-links h2 { font-size: 1.05rem; text-align: center; margin: 0 0 18px; font-family: var(--font-sans); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lhd-sheet-links-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  gap: var(--divider);
  background: var(--walnut); padding: var(--divider);
}
.lhd-sheet-link {
  background: var(--ivory); padding: 16px 14px 18px; position: relative; display: block;
  min-height: 92px;
}
.lhd-sheet-link::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(78,126,110,.34); pointer-events: none; }
.lhd-sheet-link .lhd-toc-no { margin-bottom: 6px; }
.lhd-sheet-link span.lhd-sheet-link-name { font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.28; color: var(--ink); display: block; }
.lhd-sheet-link:hover .lhd-sheet-link-name { color: var(--verdigris-deep); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--walnut-dark); }
.site-footer h5 { font-family: var(--font-sans); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .lhd-case-grid { grid-template-columns: 1fr; }
  .lhd-case-side { grid-template-rows: auto auto; }
  .lhd-note { grid-template-columns: 1fr; }
  .lhd-note-img { min-height: 300px; }
  .lhd-note-text { padding: 52px 26px; max-width: none; }
  .lhd-drawer { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .lhd-drawer .lhd-cell { grid-column: auto !important; grid-row: auto !important; }
  .lhd-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 250px; gap: 16px; }
  .lhd-mosaic .lhd-mos { grid-column: auto; grid-row: auto; }
  .m-a, .m-e, .m-h { grid-column: span 2; }
  .lhd-index { grid-template-columns: 1fr; gap: 34px; }
  .lhd-sec { padding: 60px 20px; }
  .lhd-rail .lhd-rail-menu { justify-content: flex-start; gap: 0 20px; height: auto; padding: 12px 20px; }
  .tb-related-grid { grid-template-columns: 1fr; }
  .tb-spread { grid-template-columns: 1fr; }
  .tb-spread-image { min-height: 260px; }
  .tb-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .lhd-sheet-links-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (max-width: 520px) {
  .lhd-plate-cap-date { margin-left: 0; flex-basis: 100%; }
  .lhd-drawer { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .lhd-mosaic { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .m-a, .m-e, .m-h { grid-column: auto; }
  .tb-archive-grid { grid-template-columns: 1fr; }
  .tb-newsletter-form { flex-direction: column; }
  .tb-newsletter-form input { border-right: 1px solid rgba(240,233,221,.42); }
  .lhd-sheet-links-grid { grid-template-columns: repeat(2, 1fr); }
  .lhd-sheet-body h2 { padding-left: 0; padding-top: 30px; }
  .lhd-sheet-body h2::before { top: 0; }
  .lhd-sheet-body h3 { padding-left: 0; }
  .entry-content:not(.lhd-sheet-body) > p:first-of-type::first-letter { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   AFFILIATE CREATIVE - opt out of the house photographic treatment
   The global `img { filter: ... }` above is the site's design signature (one
   uniform cool cast across every photograph, reference: Aesop). It must NOT
   reach affiliate banner creative, network pixels or partner logos: those are
   supplied artwork and tinting them misrepresents the advertiser's brand.
   Escape hatches, in order of preference:
     .adbanner img / [data-affiliate] img  - factory AdBanner markup
     .affiliate-creative img               - hand placed creative in a post
     img.no-filter                         - generic per image opt out
   ========================================================================== */
.adbanner img,
.ad-banner img,
.affiliate-creative img,
.affiliate-banner img,
[data-affiliate] img,
[data-affiliate-creative] img,
.wp-block-affiliate img,
a[href*="track."] img,
a[href*="tracking."] img,
img.no-filter,
img.affiliate-img {
  filter: none !important;
}

/* The site logo / wordmark is artwork too, not a photograph. */
.site-logo img,
.custom-logo,
img.site-logo,
img.brand-mark {
  filter: none !important;
}
