/*
Theme Name:   Little Everyday Luxuries Child
Theme URI:    https://littleeverydayluxuries.org
Description:  Vitreous enamel sign child theme for Little Everyday Luxuries. GeneratePress child.
Author:       Blythe Ferraro
Template:     generatepress
Version:      1.0.0
*/

/* ============================================================
   LITTLE EVERYDAY LUXURIES - DESIGN SYSTEM
   Archetype : Enamel Sign / Vitreous Plaque
   Fonts     : Bree Serif (slab display) + Red Hat Text (body)
   Palette   : enamel emerald + warm cream + white bevel,
               chipped-rust as the single chroma accent.
   Motion    : 1 (hover only). No JS anywhere in this theme.
   ============================================================ */

:root {
  --color-primary: #1F4A3D;
  --color-primary-dark: #143A30;
  --color-primary-soft: #D8CFC0;
  --color-bg: #F2EBDD;
  --color-bg-deep: #E6DCC9;
  --color-accent: #8E4B32;
  --color-accent-soft: #C8A48F;
  --color-accent-deep: #6E3722;
  --color-enamel: #FFFFFF;
  --color-charcoal: #2C332F;
  --color-ink: #143A30;
  --color-muted: #6B7570;
  --color-line: #D8CFC0;
  --color-white: #FFFFFF;

  --font-serif: 'Bree Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Red Hat Text', 'Segoe UI', sans-serif;

  --max-w: 1240px;
  --max-w-wide: 1440px;
  --max-w-narrow: 760px;

  /* enamel sign geometry - ONE radius system across the whole site */
  --sign-radius: 10px;
  --bevel: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 10px;
}

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

/* Do not depend on the parent theme for these: a missing reset shows up as a
   horizontally scrolling page, and full-bleed bands stop reaching the edge. */
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

body, .entry-content, .widget {
  font-family: var(--font-sans);
  color: var(--color-charcoal);
  background: var(--color-bg);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.16;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); margin-top: 2.2em; margin-bottom: 0.55em; }
h3 { font-size: 1.3rem; margin-top: 1.9em; margin-bottom: 0.45em; }

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent-soft); }
p { margin: 0 0 1.15em; }

blockquote {
  border: none;
  border-left: var(--bevel) solid var(--color-primary);
  background: var(--color-bg-deep);
  border-radius: 0 var(--sign-radius) var(--sign-radius) 0;
  padding: 1.4rem 1.6rem;
  margin: 2.1em 0;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--color-ink);
}

hr { border: none; height: 2px; background: var(--color-line); margin: 2.8em 0; }
img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
figure { margin: 2em 0; }
figcaption { font-size: 0.9rem; color: var(--color-muted); margin-top: 0.5rem; text-align: center; }

.lel-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
}

/* ============================================================
   THE ENAMEL SIGN CONSTRUCT (site signature, reused everywhere)
   bevel + specular gloss + four screw holes
   ============================================================ */

.lel-sign {
  position: relative;
  background: var(--color-primary);
  border: var(--bevel) solid var(--color-enamel);
  border-radius: var(--sign-radius);
  outline: 1px solid rgba(20, 58, 48, 0.30);
  box-shadow: 0 2px 0 rgba(20, 58, 48, 0.18), 0 10px 22px rgba(20, 58, 48, 0.13);
  overflow: hidden;
  transition: border-color 0.25s;
}
/* specular gloss strip across the glaze */
.lel-sign::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
  background: linear-gradient(105deg, transparent 34%, rgba(255,255,255,0.20) 43%, rgba(255,255,255,0.05) 50%, transparent 58%);
}
/* four screw holes - the site's object signature */
.lel-sign::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 3;
  background:
    radial-gradient(circle at 15px 15px, rgba(10,30,24,0.55) 0 2.5px, rgba(255,255,255,0.30) 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 15px) 15px, rgba(10,30,24,0.55) 0 2.5px, rgba(255,255,255,0.30) 3px 4px, transparent 4.5px),
    radial-gradient(circle at 15px calc(100% - 15px), rgba(10,30,24,0.55) 0 2.5px, rgba(255,255,255,0.30) 3px 4px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), rgba(10,30,24,0.55) 0 2.5px, rgba(255,255,255,0.30) 3px 4px, transparent 4.5px);
}
/* chipped enamel: hover exposes the rust underneath the white bevel */
.lel-sign:hover { border-color: var(--color-accent-soft); }

/* photo mounted in an enamel white bevel (the "washed print" borrow) */
.lel-plate {
  border: var(--bevel) solid var(--color-enamel);
  border-radius: var(--sign-radius);
  outline: 1px solid rgba(31, 74, 61, 0.28);
  background: var(--color-primary-soft);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(20, 58, 48, 0.12);
}
.lel-plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.45s ease;
}

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

.lel-masthead {
  background: var(--color-primary-dark);
  padding: 1.5rem 1.5rem 1.35rem;
  border-bottom: var(--bevel) solid var(--color-enamel);
}
.lel-masthead-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.lel-masthead-title {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
}
.lel-masthead-title:hover { color: var(--color-accent-soft); }
.lel-masthead-tagline {
  font-size: 0.82rem;
  color: rgba(242, 235, 221, 0.66);
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}
.lel-masthead-meta {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 235, 221, 0.55);
  font-weight: 500;
  text-align: right;
}
@media (max-width: 700px) {
  .lel-masthead-inner { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .lel-masthead-meta { text-align: left; }
  .lel-masthead-title { font-size: 1.5rem; }
}

.lel-nav { background: var(--color-primary); border-bottom: 1px solid rgba(255,255,255,0.18); }
.lel-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0.55rem 1.5rem; }
.lel-nav-menu {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 0; padding: 0;
}
.lel-nav-menu li { list-style: none; margin: 0; padding: 0; }
.lel-nav-menu li a {
  display: block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.lel-nav-menu li a:hover,
.lel-nav-menu li.current-menu-item > a {
  background: var(--color-enamel);
  color: var(--color-primary-dark);
}

.lel-main { display: block; }
.lel-main > * { width: 100%; }  /* no display:block here: it would flatten grid children */

/* scroll progress bar inherited from base markup */
.lel-progress { height: 3px; background: var(--color-accent); width: 0; }

/* ============================================================
   1. HERO (full bleed sign over cover photo)
   ============================================================ */

.lel-hero {
  position: relative;
  min-height: min(74dvh, 620px);
  display: flex; align-items: flex-end;
  padding: 5rem 1.5rem 3.2rem;
  background: var(--color-primary-dark);
  overflow: hidden;
}
.lel-hero-bg { position: absolute; inset: 0; z-index: 0; }
.lel-hero-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.lel-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(20,58,48,0.90) 0%, rgba(20,58,48,0.66) 42%, rgba(20,58,48,0.18) 78%);
}
.lel-hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.lel-hero-card { max-width: 600px; padding: 2rem 2.1rem 2.1rem; }
.lel-hero-card h1 {
  position: relative; z-index: 4;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  margin: 0;
}
.lel-hero-card h1 a { color: inherit; text-decoration: none; }
.lel-hero-card .lead {
  position: relative; z-index: 4;
  color: rgba(242, 235, 221, 0.90);
  font-size: 1.03rem;
  margin: 0.85rem 0 1.4rem;
}
.lel-hero-read {
  position: relative; z-index: 4;
  display: inline-block;
  background: var(--color-enamel);
  color: var(--color-primary-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.lel-hero-read:hover { background: var(--color-accent); color: #fff; }
@media (max-width: 700px) {
  .lel-hero { padding: 3.2rem 1.1rem 2.4rem; min-height: auto; }
  .lel-hero-card { padding: 1.5rem 1.4rem 1.6rem; }
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */

.lel-head {
  margin-bottom: 1.9rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 2px solid var(--color-line);
  padding-bottom: 0.9rem;
}
.lel-head h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); margin: 0; }
.lel-head .lel-more {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
  text-decoration: none;
}
.lel-head .lel-more:hover { color: var(--color-accent-deep); }
@media (max-width: 560px) {
  .lel-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

/* ============================================================
   2. SIGN WALL (categories as an array of enamel plaques)
   8 signs tile exactly into 4 cols x 3 rows = 12 cells:
   lg (2x2) + 2 singles + w2 (2x1) + 4 singles = 12
   ============================================================ */

.lel-wall { max-width: var(--max-w); margin: 0 auto; padding: 4.2rem 1.5rem 3.6rem; }
.lel-wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 152px;
  gap: 1.15rem;
}
.lel-wall-sign { display: block; padding: 0; text-decoration: none; }
.lel-wall-thumb { position: absolute; inset: 0; z-index: 0; }
.lel-wall-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.45s ease; }
/* enamel scrim: opaque green under the lettering, clear over the photo */
.lel-wall-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,58,48,0.92) 0%, rgba(20,58,48,0.70) 34%, rgba(20,58,48,0.16) 72%, rgba(20,58,48,0.06) 100%);
}
.lel-wall-sign:hover .lel-wall-thumb img { transform: scale(1.05); }
.lel-wall-body {
  position: relative; z-index: 4;
  display: flex; flex-direction: column;
  height: 100%; justify-content: flex-end;
  padding: 1.05rem 1.15rem;
}
.lel-wall-name {
  font-family: var(--font-serif);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(10, 30, 24, 0.65);
}
.lel-wall-count {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 235, 221, 0.86);
  font-weight: 600;
  margin-top: 0.3rem;
}
.lel-wall-sign.lg { grid-column: span 2; grid-row: span 2; }
.lel-wall-sign.lg .lel-wall-name { font-size: 1.85rem; }
.lel-wall-sign.w2 { grid-column: span 2; }
@media (max-width: 900px) {
  .lel-wall-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .lel-wall-sign.lg { grid-column: span 2; grid-row: span 1; }
  .lel-wall-sign.lg .lel-wall-name { font-size: 1.5rem; }
}
@media (max-width: 560px) {
  .lel-wall-grid { grid-template-columns: 1fr; grid-auto-rows: 132px; }
  .lel-wall-sign.lg, .lel-wall-sign.w2 { grid-column: span 1; }
}

/* ============================================================
   3. THIS WEEK (three mounted prints)
   ============================================================ */

.lel-week {
  background: var(--color-bg-deep);
  padding: 3.6rem 1.5rem;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.lel-week-inner { max-width: var(--max-w); margin: 0 auto; }
.lel-week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.lel-week-card { display: block; text-decoration: none; }
.lel-week-card .lel-plate { aspect-ratio: 5 / 4; margin-bottom: 0.85rem; }
.lel-week-card:hover .lel-plate img { transform: scale(1.04); }
.lel-week-cat {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--color-accent);
}
.lel-week-title { font-size: 1.16rem; margin: 0.35rem 0 0.3rem; color: var(--color-ink); }
.lel-week-card:hover .lel-week-title { color: var(--color-accent); }
.lel-week-date { font-size: 0.78rem; color: var(--color-muted); }
@media (max-width: 820px) { .lel-week-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lel-week-grid { grid-template-columns: 1fr; } }

/* ============================================================
   4. EDITOR PLAQUE (dark band, one big wall-mounted sign)
   ============================================================ */

.lel-plaque { background: var(--color-primary-dark); padding: 4rem 1.5rem; }
.lel-plaque-sign {
  max-width: 900px; margin: 0 auto;
  padding: 2.4rem 2.4rem 2.2rem;
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.9rem; align-items: start;
}
.lel-plaque-badge {
  position: relative; z-index: 4;
  width: 78px; height: 78px; flex: none;
  border-radius: var(--sign-radius);
  background: var(--color-bg);
  border: 3px solid var(--color-enamel);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
.lel-plaque-text { position: relative; z-index: 4; }
.lel-plaque-text h3 {
  color: #fff; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  margin: 0 0 0.8rem;
}
.lel-plaque-text p { color: rgba(242, 235, 221, 0.86); font-size: 1rem; }
/* italic signature: descender clearance reserved */
.lel-sig {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.35;
  padding-bottom: 0.25rem;
  color: var(--color-enamel);
  margin-top: 1rem;
}
@media (max-width: 640px) {
  .lel-plaque-sign { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.7rem 1.5rem; }
}

/* ============================================================
   5. MOSAIC (asymmetric photo wall)
   dense flow + fixed row unit so spans tile without dead columns
   ============================================================ */

.lel-mosaic-wrap { max-width: var(--max-w); margin: 0 auto; padding: 4.2rem 1.5rem 3.6rem; }
.lel-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 132px;
  grid-auto-flow: dense;
  gap: 1.15rem;
}
.lel-mosaic-item {
  display: flex; flex-direction: column;
  text-decoration: none;
  grid-row: span 3;
  min-width: 0;
}
.lel-mosaic-item .lel-plate { flex: 1; margin-bottom: 0.7rem; min-height: 0; }
.lel-mosaic-item.wide { grid-column: span 2; grid-row: span 3; }
.lel-mosaic-item.big  { grid-column: span 2; grid-row: span 4; }
.lel-mosaic-item.tall { grid-row: span 4; }
.lel-mosaic-item:hover .lel-plate img { transform: scale(1.04); }
.lel-mosaic-meta {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700; color: var(--color-accent);
}
.lel-mosaic-title { font-size: 1.04rem; margin: 0.24rem 0 0; color: var(--color-ink); }
.lel-mosaic-item.big .lel-mosaic-title { font-size: 1.5rem; }
.lel-mosaic-item:hover .lel-mosaic-title { color: var(--color-accent); }
.lel-mosaic-excerpt { font-size: 0.92rem; color: var(--color-muted); margin: 0.4rem 0 0; }
@media (max-width: 950px) {
  .lel-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
}
@media (max-width: 560px) {
  .lel-mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; grid-auto-flow: row; }
  .lel-mosaic-item,
  .lel-mosaic-item.wide,
  .lel-mosaic-item.big,
  .lel-mosaic-item.tall { grid-column: span 1; grid-row: auto; }
  .lel-mosaic-item .lel-plate { flex: none; aspect-ratio: 4 / 3; }
}

/* ============================================================
   6. PULL QUOTE BAND (dark)
   ============================================================ */

.lel-quote {
  background: var(--color-primary);
  padding: 3.8rem 1.5rem;
  border-top: var(--bevel) solid var(--color-enamel);
  border-bottom: var(--bevel) solid var(--color-enamel);
}
.lel-quote-inner { max-width: var(--max-w-narrow); margin: 0 auto; text-align: center; }
.lel-quote blockquote {
  margin: 0; padding: 0;
  border: none; background: none; border-radius: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 2.5vw, 1.85rem);
  line-height: 1.4;
  color: #fff;
}
.lel-quote-source {
  margin-top: 1.1rem;
  font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(242, 235, 221, 0.72); font-weight: 600;
}
.lel-quote-source a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   7. BY SECTION (three columns, thumbnails on every row)
   ============================================================ */

.lel-bysection-wrap { max-width: var(--max-w); margin: 0 auto; padding: 4rem 1.5rem 4.4rem; }
.lel-bysection { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.3rem; }
.lel-bysection-block h3 {
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--color-primary);
  margin: 0 0 1rem;
}
.lel-bysection-block h3 a { color: var(--color-ink); text-decoration: none; }
.lel-bysection-block h3 a:hover { color: var(--color-accent); }
.lel-bysection-list { list-style: none; margin: 0; padding: 0; }
.lel-bysection-list li { display: flex; gap: 0.8rem; margin-bottom: 0.95rem; align-items: flex-start; }
.lel-bysection-thumb {
  flex: none; width: 66px; height: 66px;
  border: 3px solid var(--color-enamel);
  border-radius: var(--radius-sm);
  outline: 1px solid rgba(31, 74, 61, 0.25);
  overflow: hidden;
  background: var(--color-primary-soft);
}
.lel-bysection-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.lel-bysection-title { font-size: 0.98rem; line-height: 1.3; margin: 0; }
.lel-bysection-title a { color: var(--color-ink); text-decoration: none; }
.lel-bysection-title a:hover { color: var(--color-accent); }
.lel-bysection-date { font-size: 0.74rem; color: var(--color-muted); margin-top: 0.2rem; }
.lel-bysection-more {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-accent); text-decoration: none;
}
@media (max-width: 900px) { .lel-bysection { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lel-bysection { grid-template-columns: 1fr; } }

/* ============================================================
   NEWSLETTER
   ============================================================ */

.lel-newsletter {
  background: var(--color-bg-deep);
  padding: 3.4rem 1.5rem;
  border-top: 1px solid var(--color-line);
}
.lel-newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.lel-newsletter h3 { font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.02em; margin: 0; }
.lel-newsletter p { color: var(--color-muted); margin: 0.7rem 0 1.3rem; }
.lel-newsletter-form { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.lel-newsletter-form input {
  flex: 1; min-width: 220px;
  padding: 0.68rem 0.95rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-charcoal);
}
/* WCAG AA against #fff */
.lel-newsletter-form input::placeholder { color: #6B7570; opacity: 1; }
.lel-newsletter-form input:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 1px;
}
.lel-newsletter-form button {
  padding: 0.68rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}
.lel-newsletter-form button:hover { background: var(--color-accent); }
.lel-newsletter-form button:active { transform: translateY(1px); }
.lel-newsletter-note { font-size: 0.78rem; color: var(--color-muted); margin-top: 0.9rem; }

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

.site-footer {
  background: var(--color-primary-dark);
  padding: 3.4rem 1.5rem 2rem;
  border-top: var(--bevel) solid var(--color-enamel);
}
.lel-foot-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem;
}
.lel-foot-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem; color: #fff;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.lel-foot-grid p { font-size: 0.9rem; color: rgba(242, 235, 221, 0.68); line-height: 1.6; }
.lel-foot-grid h5 {
  font-family: var(--font-sans);
  font-size: 0.74rem; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--color-accent-soft); font-weight: 700; margin: 0 0 0.9rem;
}
.lel-foot-grid ul { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; line-height: 2; }
.site-footer ul li a { color: rgba(242, 235, 221, 0.9) !important; text-decoration: none !important; }
.site-footer ul li a:hover { color: var(--color-accent-soft) !important; }
@media (max-width: 760px) { .lel-foot-grid { grid-template-columns: 1fr; gap: 1.9rem; } }

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

.lel-post-header { max-width: var(--max-w-narrow); margin: 0 auto; padding: 3rem 1.5rem 1.4rem; }
.lel-breadcrumb {
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-muted); margin-bottom: 1.1rem; font-weight: 600;
}
.lel-breadcrumb a { color: var(--color-primary); text-decoration: none; }
.lel-breadcrumb a:hover { color: var(--color-accent); }
.lel-post-cat {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border: 3px solid var(--color-enamel);
  outline: 1px solid rgba(20, 58, 48, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.lel-post-cat:hover { background: var(--color-accent); color: #fff; }
.lel-post-title { font-size: clamp(1.9rem, 4vw, 2.85rem); margin: 0.4rem 0 0.9rem; }
.lel-post-meta {
  font-size: 0.84rem; color: var(--color-muted);
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
}
.lel-post-meta a { color: var(--color-primary); }
.lel-post-cover { max-width: var(--max-w); margin: 1.6rem auto 2.2rem; padding: 0 1.5rem; }
.lel-post-cover img {
  width: 100%;
  border: var(--bevel) solid var(--color-enamel);
  border-radius: var(--sign-radius);
  outline: 1px solid rgba(31, 74, 61, 0.28);
  box-shadow: 0 6px 16px rgba(20, 58, 48, 0.12);
}
.entry-content { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 1.5rem 2rem; }
.entry-content h2 { border-bottom: 2px solid var(--color-line); padding-bottom: 0.35rem; }

.ftc-disclosure {
  background: var(--color-bg-deep);
  border: 3px solid var(--color-enamel);
  outline: 1px solid rgba(31, 74, 61, 0.25);
  border-radius: var(--sign-radius);
  padding: 0.9rem 1.15rem;
  margin: 0 0 2rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}
.ftc-disclosure p { margin: 0; }
.ftc-disclosure a { color: var(--color-primary); }

.lel-author-bio {
  max-width: var(--max-w-narrow);
  margin: 2.6rem auto 0;
  padding: 1.8rem 1.9rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
}
.lel-author-avatar {
  position: relative; z-index: 4;
  width: 64px; height: 64px; flex: none;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 3px solid var(--color-enamel);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.4rem; color: var(--color-primary);
}
.lel-author-bio > div:last-child { position: relative; z-index: 4; }
.lel-author-bio h4 { color: #fff; font-size: 1.24rem; margin: 0.3rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.lel-author-bio p { color: rgba(242, 235, 221, 0.86); font-size: 0.95rem; }
.lel-author-bio .lel-eyebrow { color: var(--color-accent-soft); }
.lel-author-bio a { color: var(--color-enamel); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .lel-author-bio { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 1.4rem; } }

.lel-related { max-width: var(--max-w); margin: 3.4rem auto 0; padding: 0 1.5rem; }
.lel-related h3 {
  font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 2px solid var(--color-line); padding-bottom: 0.6rem; margin: 0 0 1.4rem;
}
.lel-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lel-related-card { display: block; text-decoration: none; }
.lel-related-card .lel-plate { aspect-ratio: 5 / 4; margin-bottom: 0.75rem; }
.lel-related-card:hover .lel-plate img { transform: scale(1.04); }
.lel-related-title { font-size: 1.04rem; color: var(--color-ink); margin: 0; }
.lel-related-card:hover .lel-related-title { color: var(--color-accent); }
@media (max-width: 780px) { .lel-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lel-related-grid { grid-template-columns: 1fr; } }

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

.lel-archive-hero {
  background: var(--color-primary-dark);
  padding: 3.2rem 1.5rem;
  border-bottom: var(--bevel) solid var(--color-enamel);
}
.lel-archive-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.lel-archive-hero h1 { color: #fff; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 0.7rem; }
.lel-archive-count {
  font-family: var(--font-sans); font-size: 0.76rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent-soft); font-weight: 700;
}
.lel-archive-hero p.lel-archive-desc {
  color: rgba(242, 235, 221, 0.82);
  max-width: 62ch; margin: 0.8rem 0 0;
}
.lel-archive-feature { max-width: var(--max-w); margin: 0 auto; padding: 3rem 1.5rem 0; }
.lel-spread { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.2rem; align-items: center; }
.lel-spread-image { display: block; }
.lel-spread-image .lel-plate { aspect-ratio: 4 / 3; }
.lel-spread-image:hover .lel-plate img { transform: scale(1.03); }
.lel-spread-text h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 0.7rem; }
.lel-spread-text h3 a { color: var(--color-ink); text-decoration: none; }
.lel-spread-text h3 a:hover { color: var(--color-accent); }
.lel-spread-excerpt { color: var(--color-muted); }
.lel-spread-read {
  display: inline-block;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent); text-decoration: none;
}
@media (max-width: 800px) { .lel-spread { grid-template-columns: 1fr; gap: 1.4rem; } }

.lel-archive-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem;
}
.lel-archive-card { display: block; text-decoration: none; }
.lel-archive-card .lel-plate { aspect-ratio: 5 / 4; margin-bottom: 0.8rem; }
.lel-archive-card:hover .lel-plate img { transform: scale(1.04); }
.lel-archive-meta {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700; color: var(--color-accent);
}
.lel-archive-title { font-size: 1.1rem; margin: 0.28rem 0 0.35rem; color: var(--color-ink); }
.lel-archive-card:hover .lel-archive-title { color: var(--color-accent); }
.lel-archive-excerpt { font-size: 0.92rem; color: var(--color-muted); margin: 0; }
@media (max-width: 900px) { .lel-archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lel-archive-grid { grid-template-columns: 1fr; } }

.lel-pagination { max-width: var(--max-w); margin: 1.5rem auto 4rem; padding: 0 1.5rem; text-align: center; }
.lel-pagination .page-numbers {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  margin: 0 0.15rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem;
  text-decoration: none;
}
.lel-pagination .page-numbers.current,
.lel-pagination .page-numbers:hover { background: var(--color-primary); color: #fff; }

.lel-empty { max-width: 700px; margin: 4rem auto; text-align: center; padding: 0 1.5rem; color: var(--color-muted); }

/* ============================================================
   TRUST PAGES - "The Wall Plaque" (page.php)
   centred floating enamel plaque header, numbered mini-signs on
   every h2, white glaze identity cards, plaque row of cross links
   ============================================================ */

.lel-page { max-width: 880px; margin: 0 auto; padding: 3.2rem 1.5rem 4rem; }

/* centred plaque header, floating on the cream wall */
.lel-page-plaque {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.1rem 2rem 1.9rem;
  text-align: center;
}
.lel-page-plaque h1 {
  position: relative; z-index: 4;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 0;
}
.lel-page-updated {
  text-align: center;
  margin: 1.05rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted);
}

/* table of contents: a row of small enamel tabs */
.lel-page-toc {
  margin: 2.4rem 0 2.6rem;
  padding: 1.3rem 1.4rem;
  background: var(--color-bg-deep);
  border: 3px solid var(--color-enamel);
  outline: 1px solid rgba(31, 74, 61, 0.22);
  border-radius: var(--sign-radius);
}
.lel-page-toc-label {
  font-family: var(--font-sans);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--color-accent);
  margin-bottom: 0.85rem;
}
.lel-page-toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.4rem; }
.lel-page-toc li { display: flex; align-items: baseline; gap: 0.6rem; }
.lel-page-toc-num {
  flex: none;
  display: inline-block;
  min-width: 26px;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-enamel);
  outline: 1px solid rgba(20, 58, 48, 0.28);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.68rem; font-weight: 700;
  padding: 0.1rem 0.3rem;
}
.lel-page-toc a { color: var(--color-ink); text-decoration: none; font-size: 0.94rem; }
.lel-page-toc a:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .lel-page-toc ol { grid-template-columns: 1fr; } }

/* body: every h2 carries a small numbered enamel tag */
.lel-page-body { counter-reset: lelsec; }
.lel-page-body h2 {
  counter-increment: lelsec;
  display: flex; align-items: center; gap: 0.7rem;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  border: none;
  padding: 0;
  margin: 2.6em 0 0.7em;
  scroll-margin-top: 1.5rem;
}
.lel-page-body h2::before {
  content: counter(lelsec, decimal-leading-zero);
  flex: none;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-enamel);
  outline: 1px solid rgba(20, 58, 48, 0.28);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.42rem;
}
.lel-page-body h3 { font-size: 1.18rem; }
.lel-page-body ul, .lel-page-body ol { padding-left: 1.3rem; }
.lel-page-body li { margin-bottom: 0.4rem; }

/* identity block: white glaze card, one per "<strong>Label:</strong> value" paragraph */
.lel-page-body > p:has(> strong:first-child) {
  position: relative;
  background: #fff;
  border: var(--bevel) solid var(--color-enamel);
  outline: 1px solid rgba(31, 74, 61, 0.30);
  border-radius: var(--sign-radius);
  box-shadow: 0 4px 12px rgba(20, 58, 48, 0.10);
  padding: 0.95rem 1.2rem;
  margin: 0 0 0.75rem;
  overflow: hidden;
}
.lel-page-body > p:has(> strong:first-child)::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(31,74,61,0.05) 47%, transparent 55%);
}
.lel-page-body > p:has(> strong:first-child) > strong:first-child {
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 0.15rem;
}

/* footer cross links: a rail of small enamel plaques */
.lel-page-links { margin-top: 3.4rem; padding-top: 1.8rem; border-top: 2px solid var(--color-line); }
.lel-page-links-label {
  font-family: var(--font-sans);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--color-accent);
  margin-bottom: 1rem;
}
.lel-page-links-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
}
.lel-page-link {
  display: flex; align-items: center;
  min-height: 62px;
  padding: 0.8rem 0.95rem;
  text-decoration: none;
}
.lel-page-link span {
  position: relative; z-index: 4;
  font-family: var(--font-serif);
  font-size: 0.94rem;
  line-height: 1.25;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
