/*
Theme Name:   Living Beautifully Daily Child
Theme URI:    https://livingbeautifullydaily.org
Description:  Terrazzo / chip-inlay editorial child theme for a craft and process blog. Slab serif masthead, irregular chip image cells set in a poured bone slab, one coral accent.
Author:       Juliette Vandermeer
Template:     generatepress
Version:      1.0.0
*/

/* ============================================================
   LIVING BEAUTIFULLY DAILY - DESIGN SYSTEM
   Archetype: Terrazzo / Chip-Inlay.
   Terrazzo is fragments of stone set in a binder, ground flat and
   polished. Every image cell here is a "chip": an irregular soft
   silhouette with a hairline inset at its edge. Everything that is
   not a photograph is a square slab. That is the whole shape rule.
   Motion is deliberately near zero for Core Web Vitals.
   ============================================================ */

:root {
  /* -------- graphite / bone / coral -------- */
  --ink:            #3C4046;
  --ink-deep:       #2A2E33;
  --ink-soft:       #6C7076;
  --ink-faint:      #9A9DA2;

  --bone:           #F2EFE9;
  --poured:         #E9E5DC;
  --poured-deep:    #DDD8CC;

  --coral:          #D0725F;
  --coral-deep:     #B25A47;
  --coral-pale:     #F0D4CB;

  --line:           #CFCABD;
  --white:          #FBFAF7;

  /* aliases for the inherited token names, so parent rules keep working */
  --color-primary:      var(--ink);
  --color-primary-dark: var(--ink-deep);
  --color-primary-soft: var(--poured-deep);
  --color-bg:           var(--bone);
  --color-bg-deep:      var(--poured);
  --color-accent:       var(--coral);
  --color-accent-soft:  var(--coral-pale);
  --color-accent-deep:  var(--coral-deep);
  --color-charcoal:     var(--ink);
  --color-ink:          var(--ink);
  --color-muted:        var(--ink-soft);
  --color-line:         var(--line);
  --color-white:        var(--white);

  --font-serif: 'Sanchez', Rockwell, Georgia, 'Times New Roman', serif;
  --font-sans:  'Gantari', 'Segoe UI', sans-serif;

  --max-w:        1240px;
  --max-w-wide:   1400px;
  --max-w-narrow: 720px;

  /* -------- the four chip silhouettes --------
     No uniform radius anywhere. Cells cycle a..d so that no two
     neighbouring chips share an outline. This is the signature. */
  --chip-a: 58px 10px 44px 12px;
  --chip-b: 12px 52px 10px 46px;
  --chip-c: 46px 46px 10px 10px;
  --chip-d: 10px 10px 54px 40px;

  --rule:      3px solid var(--ink);
  --hairline:  1px solid var(--line);
}

/* the grinding grit: a very faint dot field, applied only to
   pseudo-elements on non-scrolling panels (perf) */
@supports (background-image: radial-gradient(red, red)) {
  .lbd-grit::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(var(--line) 0.5px, transparent 0.5px);
    background-size: 7px 7px;
    opacity: 0.5;
  }
}

/* ============================================================
   GLOBAL
   ============================================================ */

body,
.entry-content,
.widget {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bone);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); margin: 2.3em 0 0.6em; }
h3 { font-size: 1.3rem; margin: 1.9em 0 0.5em; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--coral-pale);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}
a:hover { color: var(--coral-deep); text-decoration-color: var(--coral); }
p { margin: 0 0 1.25em; }

img { max-width: 100%; height: auto; display: block; }

blockquote {
  margin: 2.2em 0;
  padding: 0 0 0 1.5rem;
  border-left: 4px solid var(--coral);
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--ink);
}
blockquote p:last-child { margin-bottom: 0; }

/* the small caps marker, borrowed from the reference's group labels.
   Deliberately tight tracking on the masthead, wide only here. */
.lbd-marker,
.tb-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.lbd-marker::before,
.tb-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--coral);
  flex: none;
}

/* the section rule: the reference's plain horizontal divider,
   made structural. Also reads as the edge of a poured slab. */
.lbd-rule {
  border: 0;
  border-top: var(--rule);
  margin: 0;
}

/* ============================================================
   MASTHEAD + NAV
   ============================================================ */

.tb-masthead {
  background: var(--bone);
  border-bottom: var(--rule);
  padding: 2.1rem 1.5rem 1.5rem;
}
.tb-masthead-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1.5rem;
}
.tb-masthead-meta {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 0.5rem;
}
.tb-masthead-meta.right { text-align: right; }
.tb-masthead-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  /* tight, not spread: the wide-tracked wordmark belongs to another site */
  letter-spacing: -0.025em;
  font-size: clamp(1.9rem, 4.1vw, 3rem);
  line-height: 1;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}
.tb-masthead-title:hover { color: var(--coral-deep); }
.tb-masthead-tagline {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 760px) {
  .tb-masthead-inner { grid-template-columns: 1fr; text-align: center; }
  .tb-masthead-meta, .tb-masthead-meta.right { text-align: center; padding-bottom: 0; }
}

.tb-nav {
  background: var(--poured);
  border-bottom: var(--hairline);
}
.tb-nav-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.tb-nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* eight benches must hold one line at desktop */
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tb-nav-menu li { list-style: none; margin: 0; padding: 0; }
.tb-nav-menu li a {
  display: block;
  padding: 0.85rem 0.72rem;
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.tb-nav-menu li a:hover,
.tb-nav-menu li.current-menu-item > a {
  color: var(--coral-deep);
  border-bottom-color: var(--coral);
}
@media (max-width: 1120px) {
  .tb-nav-menu li a { padding: 0.8rem 0.55rem; font-size: 0.67rem; letter-spacing: 0.03em; }
}
@media (max-width: 900px) {
  .tb-nav-menu li a { white-space: normal; }
}

.tb-main { display: block; }
.tb-main > * { width: 100%; }

/* progress bar from the base is not used at motion 1 */
.tb-progress { display: none; }

/* ============================================================
   THE CHIP - the archetype's core object
   ============================================================ */

.lbd-chip {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--poured-deep);
  text-decoration: none;
}
.lbd-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the binder hairline: where a stone meets its matrix */
.lbd-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(60, 64, 70, 0.28);
  border-radius: inherit;
  pointer-events: none;
}
.lbd-chip:hover::after { border-color: var(--coral); }

.chip-a { border-radius: var(--chip-a); }
.chip-b { border-radius: var(--chip-b); }
.chip-c { border-radius: var(--chip-c); }
.chip-d { border-radius: var(--chip-d); }

/* a post with no thumbnail still fills its cell */
.lbd-chip-blank {
  background:
    radial-gradient(var(--line) 0.5px, transparent 0.5px) 0 0 / 7px 7px,
    var(--poured-deep);
}

/* ============================================================
   ZONE 1 - POURED HERO
   ============================================================ */

.lbd-hero {
  background: var(--bone);
  padding: 3rem 1.5rem 3.4rem;
}
.lbd-hero-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.lbd-hero-lead {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 2.6rem;
  align-items: center;
}
.lbd-hero-figure {
  aspect-ratio: 16 / 11;
}
.lbd-hero-body .lbd-marker { margin-bottom: 1.1rem; }
.lbd-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.95rem);
  margin: 0 0 0.85rem;
  line-height: 1.1;
}
.lbd-hero-title a { color: inherit; text-decoration: none; }
.lbd-hero-title a:hover { color: var(--coral-deep); }
/* the one-line dek, borrowed from the reference */
.lbd-dek {
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 1.3rem;
  max-width: 46ch;
}
.lbd-read {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--coral-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 3px;
  white-space: nowrap;
}
.lbd-read:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* three satellite chips sitting under the lead, offset */
.lbd-hero-sat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.6rem;
  padding-top: 2.4rem;
  border-top: var(--hairline);
}
.lbd-sat-figure { aspect-ratio: 4 / 3; margin-bottom: 0.85rem; }
.lbd-sat:nth-child(2) { transform: translateY(1.5rem); }
.lbd-sat-cat {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-deep);
  display: block;
  margin-bottom: 0.4rem;
}
.lbd-sat-title {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  line-height: 1.32;
  margin: 0;
}
.lbd-sat-title a { color: var(--ink); text-decoration: none; }
.lbd-sat-title a:hover { color: var(--coral-deep); }

@media (max-width: 900px) {
  .lbd-hero-lead { grid-template-columns: 1fr; gap: 1.7rem; }
  .lbd-hero-sat { grid-template-columns: 1fr; gap: 1.9rem; }
  .lbd-sat:nth-child(2) { transform: none; }
}

/* ============================================================
   ZONE 2 - BENCH NOTE (the editor)
   ============================================================ */

.lbd-note {
  position: relative;
  background: var(--poured);
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: 3.2rem 1.5rem;
}
.lbd-note-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 2.6rem;
  align-items: start;
}
.lbd-note-portrait { aspect-ratio: 4 / 5; }
.lbd-note h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.lbd-note p {
  font-size: 1.01rem;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: 62ch;
}
.lbd-sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--coral-deep);
  margin-top: 1.3rem;
}
@media (max-width: 780px) {
  .lbd-note-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .lbd-note-portrait { max-width: 240px; }
}

/* ============================================================
   ZONE 3 - THE EIGHT BENCHES (irregular terrazzo mosaic)
   ============================================================ */

.lbd-zone {
  padding: 3.4rem 1.5rem;
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.lbd-zone-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: var(--rule);
  margin-bottom: 2.2rem;
}
.lbd-zone-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lbd-zone-head .lbd-marker { margin-bottom: 0.7rem; }
.lbd-zone-all {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 0.35rem;
}
.lbd-zone-all:hover { color: var(--coral-deep); }

/* 6 columns, chips take irregular spans so the field reads as
   ground stone rather than a card grid */
.lbd-benches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}
.lbd-bench { text-decoration: none; display: block; }
.lbd-bench-figure { margin-bottom: 0.75rem; }
.lbd-bench:nth-child(1) { grid-column: span 3; }
.lbd-bench:nth-child(1) .lbd-bench-figure { aspect-ratio: 16 / 9; }
.lbd-bench:nth-child(2) { grid-column: span 3; }
.lbd-bench:nth-child(2) .lbd-bench-figure { aspect-ratio: 16 / 9; }
.lbd-bench:nth-child(3) { grid-column: span 2; }
.lbd-bench:nth-child(4) { grid-column: span 2; }
.lbd-bench:nth-child(5) { grid-column: span 2; }
.lbd-bench:nth-child(6) { grid-column: span 2; }
.lbd-bench:nth-child(7) { grid-column: span 2; }
.lbd-bench:nth-child(8) { grid-column: span 2; }
.lbd-bench:nth-child(n+3) .lbd-bench-figure { aspect-ratio: 5 / 4; }
.lbd-bench-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--ink);
  margin: 0 0 0.2rem;
  line-height: 1.24;
}
.lbd-bench:hover .lbd-bench-name { color: var(--coral-deep); }
/* the reference's carousel numeral, transformed into a real count */
.lbd-bench-count {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
@media (max-width: 980px) {
  .lbd-benches { grid-template-columns: repeat(4, 1fr); }
  .lbd-bench:nth-child(1),
  .lbd-bench:nth-child(2) { grid-column: span 4; }
  .lbd-bench:nth-child(n+3) { grid-column: span 2; }
}
@media (max-width: 620px) {
  .lbd-benches { grid-template-columns: repeat(2, 1fr); }
  .lbd-bench:nth-child(1),
  .lbd-bench:nth-child(2) { grid-column: span 2; }
  .lbd-bench:nth-child(n+3) { grid-column: span 1; }
}

/* ============================================================
   ZONE 4 - CORAL BAND + PULL QUOTE (the pause, no images)
   ============================================================ */

.lbd-band {
  background: var(--coral-pale);
  border-top: 8px solid var(--coral);
  border-bottom: var(--rule);
  padding: 2.5rem 1.5rem 2.2rem;
  text-align: center;
}
.lbd-band-inner { max-width: 760px; margin: 0 auto; }
.lbd-band blockquote {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.38;
  color: var(--ink-deep);
}
.lbd-band-src {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lbd-band-src a { color: var(--ink-deep); text-decoration-color: var(--coral); }

/* ============================================================
   ZONE 5 - RECENTLY FINISHED (true terrazzo scatter)
   ============================================================ */

.lbd-scatter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.4rem;
}
.lbd-frag { display: block; text-decoration: none; }
.lbd-frag-figure { margin-bottom: 0.7rem; }
/* Four size classes. The cycle in front-page.php is eight long and each
   consecutive run of four sums to exactly 12 columns, so every row closes
   flush and the field never trails off with a hole at the end.
     lg 6 + md 3 + tall 3 = 12
     wide 4 + md 4 + md 4 = 12   (md widens to 4 in the second half of the
                                  cycle via .frag-md4, keeping the sum exact) */
.frag-lg   { grid-column: span 6; }
.frag-lg   .lbd-frag-figure { aspect-ratio: 16 / 10; }
.frag-md   { grid-column: span 3; }
.frag-md   .lbd-frag-figure { aspect-ratio: 1 / 1; }
.frag-md4  { grid-column: span 4; }
.frag-md4  .lbd-frag-figure { aspect-ratio: 4 / 3; }
.frag-tall { grid-column: span 3; }
.frag-tall .lbd-frag-figure { aspect-ratio: 3 / 4; }
.frag-wide { grid-column: span 4; }
.frag-wide .lbd-frag-figure { aspect-ratio: 3 / 2; }

.lbd-frag-cat {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-deep);
  display: block;
  margin-bottom: 0.32rem;
}
.lbd-frag-title {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 0.3rem;
}
.lbd-frag:hover .lbd-frag-title { color: var(--coral-deep); }
.lbd-frag-dek {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.lbd-frag-date {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-top: 0.35rem;
}
@media (max-width: 980px) {
  .lbd-scatter { grid-template-columns: repeat(6, 1fr); }
  .frag-lg, .frag-wide { grid-column: span 6; }
  .frag-md, .frag-md4, .frag-tall { grid-column: span 3; }
}
@media (max-width: 600px) {
  .lbd-scatter { grid-template-columns: 1fr; }
  .frag-lg, .frag-md, .frag-md4, .frag-tall, .frag-wide { grid-column: span 1; }
  .frag-tall .lbd-frag-figure { aspect-ratio: 4 / 3; }
}

/* ============================================================
   ZONE 6 - FROM EVERY BENCH (the dark band)
   ============================================================ */

.lbd-dark {
  background: var(--ink-deep);
  color: var(--bone);
  border-top: 8px solid var(--coral);
  padding: 3.6rem 1.5rem;
}
.lbd-dark-inner { max-width: var(--max-w-wide); margin: 0 auto; }
.lbd-dark .lbd-zone-head {
  border-bottom-color: rgba(242, 239, 233, 0.28);
}
.lbd-dark h2 { color: var(--bone); }
.lbd-dark .lbd-marker { color: var(--coral-pale); }
.lbd-dark .lbd-zone-all { color: var(--coral-pale); }
.lbd-dark .lbd-zone-all:hover { color: var(--white); }

.lbd-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.9rem;
}
.lbd-col h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  margin: 0 0 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(242, 239, 233, 0.22);
}
.lbd-col h3 a { color: var(--bone); text-decoration: none; }
.lbd-col h3 a:hover { color: var(--coral-pale); }
.lbd-col ul { list-style: none; margin: 0; padding: 0; }
.lbd-col li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.85rem;
}
.lbd-col .lbd-chip {
  aspect-ratio: 1 / 1;
  background: #3A3F45;
}
.lbd-col .lbd-chip::after { border-color: rgba(242, 239, 233, 0.3); }
.lbd-col-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.4;
}
.lbd-col-title a { color: var(--bone); text-decoration: none; }
.lbd-col-title a:hover { color: var(--coral-pale); }
.lbd-col-date {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(242, 239, 233, 0.5);
  margin-top: 0.18rem;
}
@media (max-width: 1000px) { .lbd-columns { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lbd-columns { grid-template-columns: 1fr; } }

/* ============================================================
   ZONE 7 - THE NOTE (sign-up)
   ============================================================ */

.tb-newsletter,
.lbd-signup {
  position: relative;
  background: var(--poured);
  border-top: var(--rule);
  padding: 3.4rem 1.5rem;
  text-align: center;
}
.tb-newsletter-inner,
.lbd-signup-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.lbd-signup h2,
.tb-newsletter h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.lbd-signup p,
.tb-newsletter p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0 auto 1.5rem;
  max-width: 50ch;
}
.tb-newsletter-form,
.lbd-signup-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.tb-newsletter-form input,
.lbd-signup-form input {
  flex: 1 1 250px;
  max-width: 320px;
  padding: 0.82rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.94rem;
}
.tb-newsletter-form input::placeholder,
.lbd-signup-form input::placeholder { color: var(--ink-soft); }
.tb-newsletter-form input:focus,
.lbd-signup-form input:focus {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}
.tb-newsletter-form button,
.lbd-signup-form button {
  padding: 0.82rem 1.7rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.tb-newsletter-form button:hover,
.lbd-signup-form button:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.tb-newsletter-form button:active,
.lbd-signup-form button:active { transform: translateY(1px); }
.tb-newsletter-note,
.lbd-signup-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

/* ============================================================
   SINGLE POST
   ============================================================ */

.tb-post-header {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 3rem 1.5rem 1.6rem;
}
.tb-breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.3rem;
}
.tb-breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.tb-breadcrumb a:hover { color: var(--coral-deep); }
.tb-post-cat {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--coral-deep);
  padding: 0.3rem 0.7rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.tb-post-title { margin: 0 0 1rem; line-height: 1.1; }
.tb-post-meta {
  font-family: var(--font-sans);
  font-size: 0.83rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: 1rem;
  border-top: var(--hairline);
}
.tb-post-meta a { color: var(--ink); }

.tb-post-cover {
  max-width: var(--max-w);
  margin: 0 auto 2.4rem;
  padding: 0 1.5rem;
}
.tb-post-cover img {
  width: 100%;
  border-radius: var(--chip-a);
  border: 1px solid rgba(60, 64, 70, 0.28);
}

.entry-content {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  font-size: 1.05rem;
}
.entry-content h2 {
  position: relative;
  padding-left: 1.6rem;
}
/* a coral chip inlaid into the heading's left margin */
.entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  background: var(--coral);
  border-radius: var(--chip-c);
}
.entry-content img { border-radius: var(--chip-b); }
.entry-content ul, .entry-content ol { margin: 0 0 1.3em 1.2em; }
.entry-content li { margin-bottom: 0.45em; }

.ftc-disclosure {
  max-width: var(--max-w-narrow);
  margin: 0 auto 2rem;
  padding: 0.95rem 1.15rem;
  background: var(--poured);
  border-left: 4px solid var(--coral);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.ftc-disclosure p { margin: 0; }

.tb-author-bio {
  max-width: var(--max-w-narrow);
  margin: 2.5rem auto;
  padding: 1.7rem;
  background: var(--poured);
  border-top: var(--rule);
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1.2rem;
  align-items: start;
}
.tb-author-avatar {
  width: 62px;
  height: 62px;
  border-radius: var(--chip-a);
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}
.tb-author-bio h4 { font-size: 1.16rem; margin: 0.25rem 0 0.5rem; }
.tb-author-bio p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 0.7rem; }
.tb-author-bio a {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
}
@media (max-width: 560px) {
  .tb-author-bio { grid-template-columns: 1fr; }
}

.tb-related {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  border-top: var(--rule);
}
.tb-related h3 { margin: 0 0 1.5rem; font-size: 1.4rem; }
.tb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.tb-related-card { text-decoration: none; display: block; }
.tb-related-cover { margin-bottom: 0.7rem; }
.tb-related-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.tb-related-card:hover .tb-related-title { color: var(--coral-deep); }
@media (max-width: 760px) { .tb-related-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ARCHIVE
   ============================================================ */

.tb-archive-hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  border-bottom: var(--rule);
}
.tb-archive-hero h1 { margin: 0.7rem 0 0.7rem; }
.tb-archive-hero p { color: var(--ink-soft); max-width: 62ch; }
.tb-archive-count {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 0.9rem;
}

.tb-archive-feature { max-width: var(--max-w); margin: 0 auto; padding: 2.4rem 1.5rem 0; }
.tb-spread {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.2rem;
  align-items: center;
  padding-bottom: 2.4rem;
  border-bottom: var(--hairline);
}
.tb-spread-image { aspect-ratio: 16 / 11; }
.tb-spread-text h3 { margin: 0.6rem 0 0.7rem; font-size: 1.6rem; line-height: 1.2; }
.tb-spread-text h3 a { color: var(--ink); text-decoration: none; }
.tb-spread-text h3 a:hover { color: var(--coral-deep); }
.tb-spread-excerpt { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 820px) { .tb-spread { grid-template-columns: 1fr; } }

.tb-archive-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.4rem 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}
.tb-archive-card { text-decoration: none; display: block; }
.tb-archive-cover { aspect-ratio: 4 / 3; margin-bottom: 0.8rem; }
.tb-archive-meta {
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 0.3rem;
}
.tb-archive-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.28;
  color: var(--ink);
  margin: 0 0 0.35rem;
}
.tb-archive-card:hover .tb-archive-title { color: var(--coral-deep); }
.tb-archive-excerpt { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .tb-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .tb-archive-grid { grid-template-columns: 1fr; } }

.pagination, .nav-links {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-links .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  margin: 0 0.15rem;
}
.nav-links .page-numbers.current { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* ============================================================
   TRUST PAGES - "The Bench Slab"
   ============================================================ */

.lbd-slab-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.6rem 1.5rem 3.5rem;
}

/* head: an inset poured panel with a coral chip in its top-left.
   Not full-bleed, not inverted, no arch. */
.lbd-slab-head {
  position: relative;
  background: var(--poured);
  border: var(--rule);
  padding: 2.4rem 2rem 2rem 2.6rem;
}
.lbd-slab-head::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 52px;
  height: 52px;
  background: var(--coral);
  border-radius: var(--chip-c);
  border: 3px solid var(--bone);
}
.lbd-slab-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
}
.lbd-slab-updated {
  margin: 1.1rem 0 0;
  padding-top: 0.9rem;
  border-top: var(--hairline);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* TOC: a run-in row of square outlined chip tiles */
.lbd-slab-toc { margin: 1.8rem 0 2.2rem; }
.lbd-slab-toc-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.8rem;
}
.lbd-slab-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.lbd-slab-toc li { margin: 0; }
.lbd-slab-toc a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: var(--bone);
}
.lbd-slab-toc a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--coral);
  flex: none;
}
.lbd-slab-toc a:hover { background: var(--coral-pale); border-color: var(--coral-deep); }

.lbd-slab-body { font-size: 1.02rem; }
.lbd-slab-body h2 {
  position: relative;
  margin: 2.3em 0 0.6em;
  padding-left: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}
/* a coral chip inlaid into the left margin of every heading */
.lbd-slab-body h2::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.38em;
  width: 15px;
  height: 15px;
  background: var(--coral);
  border-radius: var(--chip-d);
}
@media (max-width: 700px) {
  .lbd-slab-body h2 { padding-left: 1.5rem; }
  .lbd-slab-body h2::before { left: 0; }
}
.lbd-slab-body h3 { font-size: 1.14rem; }
.lbd-slab-body ul, .lbd-slab-body ol { margin: 0 0 1.3em 1.2em; }
.lbd-slab-body li { margin-bottom: 0.45em; }

/* identity block: a bone tile inset in the poured ground,
   coral edge on the left only */
.lbd-slab-body > p:has(> strong:first-child) {
  background: var(--white);
  border: var(--hairline);
  border-left: 4px solid var(--coral);
  padding: 0.9rem 1.15rem;
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}
.lbd-slab-body > p:has(> strong:first-child) strong {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink-deep);
}

/* footer: a terrazzo scatter of chip tiles */
.lbd-slab-foot {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: var(--rule);
}
.lbd-slab-foot h2 {
  margin: 0 0 1.3rem;
  font-size: 1.24rem;
}
.lbd-slab-foot h2::before { display: none; }
.lbd-slab-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}
@media (max-width: 860px) { .lbd-slab-links { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .lbd-slab-links { grid-template-columns: repeat(2, 1fr); } }
.lbd-slab-link {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--poured);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.28;
}
.lbd-slab-link:nth-child(4n+1) { border-radius: var(--chip-a); }
.lbd-slab-link:nth-child(4n+2) { border-radius: var(--chip-b); }
.lbd-slab-link:nth-child(4n+3) { border-radius: var(--chip-c); }
.lbd-slab-link:nth-child(4n+4) { border-radius: var(--chip-d); }
.lbd-slab-link:hover {
  background: var(--coral-pale);
  border-color: var(--coral-deep);
  color: var(--ink-deep);
}
.lbd-slab-note {
  margin-top: 1.8rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--ink-deep);
  color: var(--bone);
  border-top: 8px solid var(--coral);
}
.site-footer h5 { color: var(--coral-pale); }
.site-footer a { color: var(--bone); text-decoration: none; }
.site-footer a:hover { color: var(--coral-pale); }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
