/* ═══════════════════════════════════════════════════════════
   EMMpress Three · main.css  v1.0
   Palette (overridable via Customizer inline CSS):
     --emm-teal   #4a9a96
     --emm-red    #d63b1f
     --emm-navy   #1a2535
     --emm-ochre  #b8962a
     --emm-sage   #5a6b58
     --emm-paper  #f5f2ec
     --emm-sand   #e8d9a8
═══════════════════════════════════════════════════════════ */

:root {
  /* Set in Customizer; these are the structural defaults */
  --emm-teal:       #4a9a96;
  --emm-teal-dark:  #357470;
  --emm-red:        #d63b1f;
  --emm-navy:       #1a2535;
  --emm-navy-light: #253548;
  --emm-ochre:      #b8962a;
  --emm-sage:       #5a6b58;
  --emm-paper:      #f5f2ec;
  --emm-sand:       #e8d9a8;

  /* Derived surfaces */
  --emm-warm:      #ece7db;
  --emm-pale:      #e4d9c0;

  /* Type */
  --emm-ink:       #1a2535;
  --emm-charcoal:  #2d3a4a;
  --emm-muted:     #7a7f7e;
  --emm-subtle:    #a0a5a4;

  /* Chrome */
  --emm-line:      rgba(26,37,53,.09);
  --emm-shadow:    0 16px 56px rgba(26,37,53,.08);

  /* Layout */
  --emm-site:    1200px;
  --emm-wide:    1440px;
  --emm-narrow:  760px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--emm-paper);
  color: var(--emm-ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px; line-height: 1.68;
}
/* Grain texture */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
a { color: var(--emm-ink); text-decoration-thickness: 1px; text-underline-offset: .14em; transition: color .18s; }
a:hover, a:focus { color: var(--emm-teal); }
a:focus-visible { outline: 2px solid var(--emm-teal); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── SCREEN READER ──────────────────────────────────────── */
.screen-reader-text, .skip-link {
  clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; overflow: hidden; position: absolute !important;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
  background: #fff; clip: auto !important; clip-path: none;
  color: #000; display: block; height: auto; left: 8px;
  line-height: normal; padding: .8rem 1rem; text-decoration: none;
  top: 8px; width: auto; z-index: 100000;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.site-width      { width: min(calc(100% - 2.5rem), var(--emm-site));  margin-inline: auto; }
.site-width-wide { width: min(calc(100% - 2.5rem), var(--emm-wide));  margin-inline: auto; }
.narrow          { width: min(calc(100% - 2.5rem), var(--emm-narrow)); margin-inline: auto; }
.alignfull       { width: 100%; }
.alignwide       { width: min(calc(100% - 2.5rem), var(--emm-site));  margin-inline: auto; }

/* ── MONO / LABEL TYPE ──────────────────────────────────── */
.primary-menu a, .footer-menu a, .nav-subscribe, .menu-toggle,
.section-label, .section-link, .post-card__meta, .archive-card__meta,
.manifesto-band__label, .widget-title, .search-submit, .posted-on,
.reading-time, .byline, .entry-badge, .tag-marquee__track,
.essay-list__meta, .comments-title, .comment-metadata, .form-submit input {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase; letter-spacing: .16em;
}

/* ══════════════════════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: rgba(245,242,236,.94);
  border-bottom: 1px solid var(--emm-line);
}
.site-header::before {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg, var(--emm-teal) 0%, var(--emm-ochre) 50%, var(--emm-red) 100%);
}
.site-nav {
  min-height: 80px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; position: relative;
}
.site-branding { display: flex; align-items: center; gap: 1rem; }
.site-logo img { max-height: 52px; width: auto; }

/* ── SITE TITLE — two-tone: prefix red/caps, suffix navy/italic/larger ───── */
.site-title, .footer-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif; /* overridden by Customizer via CSS var */
  font-weight: 900; line-height: 1;
}
/* First 3 chars: red, uppercase, normal weight, tighter tracking */
.site-title__prefix, .footer-title__prefix {
  font-size: 1.4rem;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #d63b1f;
}
/* Remaining chars: navy, italic, ~20% larger than prefix */
.site-title__suffix, .footer-title__suffix {
  font-size: 1.68rem;        /* 1.4rem × 1.2 */
  font-weight: 400;
  font-style: italic;
  letter-spacing: .02em;
  color: #1a2535;
  text-transform: none;
}
.site-title a { color: inherit; text-decoration: none; }
.site-title a:hover .site-title__prefix { color: var(--emm-teal); }
.site-title a:hover .site-title__suffix { color: var(--emm-teal); }
.site-description { margin: .25rem 0 0; color: var(--emm-muted); font-size: .82rem; font-style: italic; }

/* Nav panel */
.nav-panel { display: flex; align-items: center; gap: 1rem 1.2rem; }

/* ── PRIMARY MENU & DROPDOWN ─────────────────────────────── */
.primary-menu { display: flex; flex-wrap: wrap; gap: 0; align-items: center; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
  display: block; padding: .5rem .85rem;
  font-size: .66rem; color: var(--emm-muted);
  text-decoration: none; white-space: nowrap; transition: color .18s;
}
.primary-menu > li > a:hover,
.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a { color: var(--emm-navy); }
.primary-menu > li.menu-item-has-children > a::after {
  content: ' ▾'; font-size: .55em; vertical-align: middle; opacity: .5;
}
/* Dropdown */
.primary-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px; z-index: 500;
  margin: 0; padding: .4rem 0;
  background: var(--emm-paper);
  border: 1px solid var(--emm-line); border-top: 2px solid var(--emm-teal);
  box-shadow: 0 10px 36px rgba(26,37,53,.12);
  opacity: 0; visibility: hidden; transform: translateY(5px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.primary-menu .sub-menu li { display: block; }
.primary-menu .sub-menu a {
  display: block; padding: .6rem 1.1rem;
  font-family: 'DM Mono', monospace; font-size: .58rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--emm-muted); text-decoration: none;
  border-bottom: 1px solid var(--emm-line); transition: background .15s, color .15s;
}
.primary-menu .sub-menu li:last-child a { border-bottom: none; }
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu a:focus { background: var(--emm-warm); color: var(--emm-teal); }
.primary-menu .sub-menu .current-menu-item > a { color: var(--emm-teal); border-left: 2px solid var(--emm-teal); padding-left: calc(1.1rem - 2px); }

/* Buttons — unified style matching nav-subscribe: teal fill, paper text, mono */
.nav-subscribe, .button, .button-primary, .search-submit, .form-submit input,
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: .8rem 1.4rem;
  border: 1.5px solid var(--emm-teal);
  background: var(--emm-teal);
  color: var(--emm-paper);
  font-family: 'DM Mono', monospace;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .06em;         /* normal, not all-caps tight */
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s, border-color .2s, color .2s, transform .14s;
}
.nav-subscribe:hover, .button:hover, .button-primary:hover,
.search-submit:hover, .form-submit input:hover,
.wp-block-button__link:hover {
  background: var(--emm-navy);
  border-color: var(--emm-navy);
  color: var(--emm-paper);
  transform: translateY(-1px);
}
/* Secondary variant — outlined, transparent fill */
.button-secondary {
  background: transparent;
  border-color: var(--emm-teal);
  color: var(--emm-teal);
}
.button-secondary:hover {
  background: var(--emm-teal);
  border-color: var(--emm-teal);
  color: var(--emm-paper);
}
.menu-toggle { display: none; border: 1px solid var(--emm-line); background: transparent; color: var(--emm-ink); padding: .55rem .75rem; font-size: .64rem; }

/* ══════════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════════ */
.tag-marquee { overflow: hidden; background: var(--emm-navy); }
.tag-marquee__track {
  display: inline-flex; gap: 1.8rem; white-space: nowrap;
  padding: .75rem 0; font-size: .62rem;
  animation: marquee 38s linear infinite;
}
/* Items are now <a> tags (or <span> fallbacks) */
.tag-marquee__item {
  font-family: 'DM Mono', monospace;
  text-transform: uppercase; letter-spacing: .16em;
  color: rgba(232,217,168,.7);    /* sand at 70% opacity — readable on navy */
  text-decoration: none;
  transition: color .18s;
}
a.tag-marquee__item:hover,
a.tag-marquee__item:focus { color: var(--emm-sand); outline: none; }
.tag-marquee__item::after { content: '≋'; color: var(--emm-ochre); margin-left: 1.8rem; }
.tag-marquee__track > :last-child::after { content: ''; margin: 0; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.front-hero {
  display: grid; grid-template-columns: 1.02fr .98fr;
  min-height: calc(100vh - 83px); border-bottom: 1px solid var(--emm-line);
}
.hero-copy {
  padding: 5rem 2.5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow { color: var(--emm-teal); font-size: .64rem; font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .18em; }
/* Hero title — same two-tone treatment as site-title, just much larger */
.hero-title {
  margin: .6rem 0 0;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: .93; max-width: 8ch;
}
.hero-title .site-title__prefix {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}
.hero-title .site-title__suffix {
  display: block;
  font-size: clamp(2.9rem, 7.4vw, 5.3rem); /* ~20% larger than prefix */
}
.hero-rule { width: 3rem; height: 2px; background: var(--emm-ochre); margin: 1.8rem 0; }
.hero-description { margin: 0; max-width: 34ch; font-size: 1.28rem; font-style: italic; color: var(--emm-charcoal); }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-art {
  position: relative; overflow: hidden; min-height: 560px;
}
/* The collage-canvas itself carries the background (set via inline style from Customizer).
   Default when no inline style is present: */
.collage-canvas {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 68% 28%, rgba(184,150,42,.18) 0%, transparent 58%),
              radial-gradient(ellipse at 22% 78%, rgba(214,59,31,.10) 0%, transparent 48%),
              var(--emm-warm);
}
/* When an inline background is set (via Customizer), add the radial glows on top via ::after */
.collage-canvas[style] {
  background: unset; /* let the inline style win */
}
.collage-canvas[style]::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 68% 28%, rgba(184,150,42,.14) 0%, transparent 55%),
              radial-gradient(ellipse at 22% 78%, rgba(214,59,31,.08) 0%, transparent 45%);
}
.shape, .word { position: absolute; animation: collageIn .95s ease both; }
/* Shapes A and B need overflow:hidden so photo fills clip to the shape */
.shape-a, .shape-b, .shape-f { overflow: hidden; }
.shape-a { width: 220px; height: 250px; background: var(--emm-teal);  opacity: .12; top: 14%; left: 16%; transform: rotate(-8deg); }
.shape-b { width: 132px; height: 132px; border-radius: 50%; background: var(--emm-ochre); opacity: .22; top: 39%; left: 56%; animation-delay: .12s; }
.shape-c { width: 220px; height: 2px; background: var(--emm-navy); opacity: .28; top: 62%; left: 10%; transform: rotate(-4deg); animation-delay: .2s; }
.shape-d { width: 88px; height: 88px; border: 2px solid var(--emm-red); opacity: .28; top: 24%; left: 63%; transform: rotate(17deg); animation-delay: .26s; }
.shape-e { width: 320px; height: 320px; border-radius: 50%; border: 1px solid var(--emm-teal); opacity: .14; top: 28%; left: 18%; animation-delay: .18s; }
.shape-f { width: 62px; height: 190px; background: var(--emm-sage); opacity: .18; top: 56%; left: 72%; transform: rotate(-14deg); animation-delay: .3s; }
/* When a shape has a custom inline style the default opacity should lift to 1 */
.shape-a[style], .shape-b[style], .shape-f[style] { opacity: 1; }
/* Word elements — shared base (span or a) */
.word-a { top: 18%; left: 30%; font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; color: var(--emm-red); }
.word-b { top: 38%; left: 18%; font-family: 'Playfair Display', Georgia, serif; font-size: 3.8rem; font-weight: 900; letter-spacing: -.05em; color: var(--emm-navy); opacity: .06; animation-delay: .4s; }
.word-c { top: 72%; left: 54%; font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .28em; font-size: .58rem; color: var(--emm-muted); }
.word-d { top: 54%; left: 29%; font-family: 'Playfair Display', Georgia, serif; font-size: 2.7rem; color: var(--emm-ochre); opacity: .2; animation-delay: .25s; }
/* When words are rendered as <a> links — subtle underline on hover, no default link styling */
a.word-a, a.word-b, a.word-c, a.word-d { text-decoration: none; cursor: pointer; }
a.word-a:hover { text-decoration: underline; text-underline-offset: .2em; }
a.word-b:hover { opacity: .15; }
a.word-c:hover { text-decoration: underline; text-underline-offset: .2em; }
a.word-d:hover { opacity: .35; }

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════════════════ */
.homepage-intro, .intro-statement { padding: 5rem 0; }
.intro-statement blockquote {
  margin: 0; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.5; font-style: italic; color: var(--emm-charcoal);
}
.section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-label { display: inline-flex; gap: .8rem; align-items: center; color: var(--emm-teal); font-size: .62rem; }
.section-label::before { content: ''; display: inline-block; width: 2rem; height: 1px; background: var(--emm-teal); }
.section-link { color: var(--emm-teal); text-decoration: none; font-size: .62rem; font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .16em; }
.section-link:hover { color: var(--emm-red); }

/* ══════════════════════════════════════════════════════════
   FEATURED GRID & CARDS
══════════════════════════════════════════════════════════ */
.featured-section { padding: 0 0 5rem; }
.featured-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1px; background: rgba(26,37,53,.08); }
.post-card, .archive-card { background: var(--emm-paper); transition: transform .25s, background .25s, box-shadow .25s; }
.post-card:hover, .archive-card:hover { background: var(--emm-warm); transform: translateY(-2px); box-shadow: var(--emm-shadow); }
.post-card-featured { grid-row: span 2; }
.post-card__link, .archive-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.post-card__media, .archive-card__media { overflow: hidden; background: linear-gradient(135deg, var(--emm-sand), var(--emm-warm)); }
.post-card__media img, .archive-card__media img, .art-grid__image { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.post-card:hover img, .archive-card:hover img, .art-grid__item:hover .art-grid__image { transform: scale(1.03); }
.post-card__media--featured { height: 100%; max-height: 620px; }
.post-card__inner, .archive-card__content { padding: 1.7rem; }
.post-card-featured .post-card__inner {
  min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(26,37,53,.82) 0%, rgba(26,37,53,.45) 30%, transparent 75%);
  margin-top: -100%; position: relative;
}
.post-card-featured .is-no-thumb, .placeholder-card .post-card__inner {
  margin-top: 0; min-height: 420px; background: linear-gradient(135deg, var(--emm-sand), var(--emm-warm)); justify-content: flex-end;
}
.entry-badge { font-size: .58rem; color: var(--emm-teal); margin-bottom: .55rem; display: inline-block; font-family: 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .16em; }
.post-card-featured .entry-badge { color: var(--emm-sand); }
.post-card-featured .post-card__title,
.post-card-featured .post-card__excerpt,
.post-card-featured .post-card__meta { color: var(--emm-paper); }
.post-card__title, .archive-card__title, .single-entry__title, .archive-title, .page-title { font-family: 'Playfair Display', Georgia, serif; color: var(--emm-ink); }
.post-card__title, .archive-card__title { margin: 0 0 .7rem; font-size: 1.45rem; line-height: 1.17; }
.post-card-featured .post-card__title { font-size: clamp(1.8rem, 3vw, 2.2rem); }

/* Larger excerpt — slightly bigger than original */
.post-card__excerpt, .archive-card__excerpt { margin: 0; font-style: italic; color: var(--emm-charcoal); font-size: 1.1rem; /* was 1.02rem */ }
.post-card__meta, .archive-card__meta, .essay-list__meta, .single-entry__meta { margin-top: 1rem; font-size: .56rem; color: var(--emm-muted); }

/* ══════════════════════════════════════════════════════════
   SPLIT PANEL
══════════════════════════════════════════════════════════ */
.split-panel { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--emm-line); border-bottom: 1px solid var(--emm-line); margin-bottom: 5rem; }
.split-panel__column { padding: 4rem min(4vw, 3rem); }
.split-panel__column--words { border-right: 1px solid var(--emm-line); }
.split-panel__column--art { background: var(--emm-warm); }
.essay-list__item { display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(26,37,53,.08); }
.essay-list__number { font-family: 'DM Mono', monospace; color: var(--emm-teal); font-size: .64rem; letter-spacing: .1em; padding-top: .2rem; }
.essay-list__title { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.14rem; line-height: 1.25; }
.essay-list__title a { text-decoration: none; }
.essay-list__title a:hover { color: var(--emm-teal); }
.art-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.art-grid__item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--emm-paper); }
.art-grid__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--emm-sand), var(--emm-sage)); }

/* ══════════════════════════════════════════════════════════
   MANIFESTO BAND with tag links
══════════════════════════════════════════════════════════ */
.manifesto-band {
  padding: 5rem 0; margin-bottom: 5rem;
  background: var(--emm-navy); color: var(--emm-paper);
  position: relative; overflow: hidden;
}
.manifesto-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,150,42,.18) 0%, transparent 60%);
}
.manifesto-band__label, .manifesto-band__text { position: relative; z-index: 1; }
.manifesto-band__label { font-family: 'DM Mono', monospace; font-size: .6rem; text-transform: uppercase; letter-spacing: .2em; color: var(--emm-ochre); margin-bottom: .6rem; }
.manifesto-band__text { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.42; font-style: italic; }
/* Live tag links */
.manifesto-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.manifesto-tag {
  font-family: 'DM Mono', monospace; font-size: .58rem;
  text-transform: uppercase; letter-spacing: .14em;
  text-decoration: none;
  /* Warm sand on dark navy — clearly readable, on-palette */
  color: var(--emm-sand);
  border: 1px solid rgba(232,217,168,.35);
  padding: .3rem .75rem; transition: background .18s, color .18s, border-color .18s;
}
.manifesto-tag:hover,
.manifesto-tag:focus { color: var(--emm-navy); background: var(--emm-sand); border-color: var(--emm-sand); outline: none; }
.manifesto-tag:focus-visible { outline: 2px solid var(--emm-sand); outline-offset: 2px; }

/* Collage photo override — fills hero-art panel like the abstract canvas */
.collage-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE BOTTOM WIDGETS
══════════════════════════════════════════════════════════ */
.homepage-bottom-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-bottom: 5rem; }
.widget, .homepage-widget { background: rgba(255,255,255,.22); border: 1px solid var(--emm-line); padding: 1.5rem; }
.widget-title { margin: 0 0 1rem; font-size: .62rem; color: var(--emm-muted); }

/* ══════════════════════════════════════════════════════════
   ARCHIVE
══════════════════════════════════════════════════════════ */
.archive-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 3rem; padding-top: 3.25rem; padding-bottom: 4rem; }
.archive-title, .page-title { margin: 0 0 1rem; font-size: clamp(2.2rem,4vw,4rem); line-height: .98; }
.archive-description { max-width: 38rem; color: var(--emm-charcoal); font-style: italic; }
.archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.sidebar-area .widget + .widget { margin-top: 1.25rem; }

/* ══════════════════════════════════════════════════════════
   SINGLE POST — richly designed
══════════════════════════════════════════════════════════ */
.single-entry__header { padding-top: 3.5rem; padding-bottom: 2rem; }
.single-entry__title { margin: .3rem 0 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; }
.single-entry__media img { width: 100%; max-height: 72vh; object-fit: cover; }
.single-entry__content-wrap, .single-entry__footer, .comments-area, .post-navigation, .page-entry { padding-bottom: 2.5rem; }
.entry-content { max-width: var(--emm-narrow); margin: 0 auto; }
.entry-content > * + * { margin-top: 1.35rem; }
/* Drop cap */
.entry-content > p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif; font-size: 4em;
  font-weight: 900; line-height: .8; float: left; margin: .06em .1em 0 0; color: var(--emm-teal);
}
.entry-content h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; line-height: 1.15; color: var(--emm-navy); margin-top: 2.4rem; }
.entry-content h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.55rem; line-height: 1.2; color: var(--emm-navy); margin-top: 2rem; }
.entry-content h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; color: var(--emm-navy); }
.entry-content p, .entry-content li { font-size: 1.14rem; color: var(--emm-charcoal); }
.entry-content a { color: var(--emm-teal); }
.entry-content a:hover { color: var(--emm-red); }
.entry-content blockquote,
.wp-block-quote {
  position: relative;
  margin: 2.4rem 0;
  padding: 0 0 0 0;
  border: none;                   /* remove old left-border */
  background: var(--emm-warm);
  border-radius: 0;
}

/* The giant opening quotation mark — ochre/gold, top-left */
.entry-content blockquote::before,
.wp-block-quote::before {
  content: '\201C';               /* left double quotation mark */
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 9rem;                /* very large, matching the image proportion */
  font-weight: 900;
  line-height: .65;               /* pulls it tight to the top edge */
  color: var(--emm-ochre);
  padding: 1.6rem 0 0 1.8rem;    /* top-left breathing room */
  margin-bottom: -.5rem;         /* quote text starts just below the marks */
  pointer-events: none;
  user-select: none;
}

/* Quote body — offset right, large italic serif, matching the image */
.entry-content blockquote p,
.wp-block-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);  /* generous, like the image */
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--emm-navy);
  margin: 0;
  padding: 0 2.4rem 0 3.2rem;    /* left indent clears the quote-mark block */
}

/* Citation — small, mono, uppercase, centered-ish, below the quote body */
.entry-content blockquote cite,
.entry-content blockquote footer,
.wp-block-quote cite,
.wp-block-quote .wp-block-quote__citation {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: .62rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--emm-muted);
  padding: 1.6rem 2.4rem 2rem 3.2rem; /* mirrors body left indent */
  margin: 0;
}

/* When there's no <cite>, close off the padding */
.entry-content blockquote p:last-child:not(:has(~ cite)):not(:has(~ footer)),
.wp-block-quote p:last-child {
  padding-bottom: 2.2rem;
}
.entry-taxonomy, .entry-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.entry-taxonomy a, .entry-tags a { background: rgba(74,154,150,.08); border: 1px solid rgba(74,154,150,.18); padding: .25rem .5rem; text-decoration: none; font-size: .85rem; }
.entry-taxonomy a:hover, .entry-tags a:hover { background: var(--emm-teal); color: var(--emm-paper); border-color: var(--emm-teal); }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--emm-line); padding-top: 1.5rem; }
.post-navigation__next { text-align: right; }

/* ══════════════════════════════════════════════════════════
   STATIC PAGE
══════════════════════════════════════════════════════════ */
.page-entry { padding-top: 3.5rem; }
.page-title { border-bottom: 1px solid var(--emm-line); padding-bottom: 1.2rem; margin-bottom: 2rem; }
.page-entry .entry-content > p:first-of-type::first-letter { all: unset; }

/* ══════════════════════════════════════════════════════════
   SEARCH & COMMENTS
══════════════════════════════════════════════════════════ */
.search-form { display: flex; gap: .6rem; align-items: stretch; }
.search-field, input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
  width: 100%; min-height: 46px; padding: .8rem .95rem; border: 1px solid rgba(26,37,53,.18); background: transparent; color: var(--emm-ink); outline: none;
}
input:focus, textarea:focus { border-color: var(--emm-teal); }
textarea { min-height: 160px; }
.comment-list > li, .children > li { padding: 1rem 0; border-top: 1px solid var(--emm-line); list-style: none; }
.comment-body { font-size: 1rem; }
.comment-author { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer { background: var(--emm-navy); color: var(--emm-paper); border-top: 1px solid rgba(26,37,53,.2); }
.site-footer::after { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--emm-teal) 0%, var(--emm-ochre) 50%, var(--emm-red) 100%); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 2rem; padding: 3rem 0; }
.footer-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0; }
/* prefix/suffix inherit from .site-title__prefix / .site-title__suffix */
.footer-title .site-title__prefix { color: #d63b1f; }
.footer-title .site-title__suffix { color: rgba(245,242,236,.85); /* light on dark footer */ }
.footer-tagline { margin: .65rem 0 0; color: rgba(245,242,236,.45); font-style: italic; }
.footer-widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer-column .widget { background: transparent; padding: 0; border: 0; }
.footer-column .widget-title { color: rgba(245,242,236,.38); }
.footer-column a { color: rgba(245,242,236,.5); text-decoration: none; }
.footer-column a:hover, .footer-menu a:hover { color: var(--emm-teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0 1.8rem; border-top: 1px solid rgba(245,242,236,.07); }
.footer-menu { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-copy { margin: 0; font-family: 'DM Mono', monospace; font-size: .56rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(245,242,236,.3); }

/* ══════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════ */
.pagination { margin-top: 2rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .5rem .75rem; border: 1px solid var(--emm-line); text-decoration: none; font-family: 'DM Mono', monospace; font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; color: var(--emm-muted); transition: .16s; }
.pagination .page-numbers:hover { background: var(--emm-teal); color: var(--emm-paper); border-color: var(--emm-teal); }
.pagination .current { background: var(--emm-navy); color: var(--emm-paper); border-color: var(--emm-navy); }

/* ══════════════════════════════════════════════════════════
   BLOCK EDITOR SUPPORT
══════════════════════════════════════════════════════════ */
.wp-block-image.alignwide, .wp-block-gallery.alignwide, .wp-block-cover.alignwide,
.wp-block-group.alignwide, .wp-block-media-text.alignwide { width: min(calc(100% - 2.5rem), var(--emm-site)); margin-inline: auto; }
.wp-block-image.alignfull, .wp-block-gallery.alignfull, .wp-block-cover.alignfull,
.wp-block-group.alignfull, .wp-block-media-text.alignfull { width: 100%; }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════ */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════ */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes collageIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .front-hero, .split-panel, .archive-layout, .footer-top, .homepage-bottom-widgets { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .post-card-featured { grid-column: 1/-1; }
  .post-card-featured .post-card__inner { min-height: 420px; margin-top: -55%; }
  .split-panel__column--words { border-right: 0; border-bottom: 1px solid var(--emm-line); }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
  body { font-size: 18px; }
  .site-nav { min-height: 72px; }
  .site-title__prefix { font-size: 1.1rem; }
  .site-title__suffix { font-size: 1.32rem; }
  .menu-toggle { display: inline-flex; }
  .nav-panel { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 1rem 1.25rem 1.3rem; background: var(--emm-paper); border-bottom: 1px solid var(--emm-line); box-shadow: var(--emm-shadow); flex-direction: column; align-items: flex-start; z-index: 400; }
  .nav-panel.is-open { display: flex; }
  .primary-menu { flex-direction: column; align-items: flex-start; width: 100%; }
  .primary-menu > li { width: 100%; border-bottom: 1px solid var(--emm-line); }
  .primary-menu > li > a { padding: .7rem 0; }
  .primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-top: 1px solid var(--emm-line); background: var(--emm-warm); display: none; }
  .primary-menu > li.is-open > .sub-menu { display: block; }
  .primary-menu > li.menu-item-has-children > a::after { content: ' +'; }
  .primary-menu > li.menu-item-has-children.is-open > a::after { content: ' −'; }
  .hero-copy { padding-left: 0; padding-right: 0; }
  .hero-art { min-height: 380px; }
  .featured-grid, .archive-grid, .art-grid, .footer-widgets, .homepage-bottom-widgets { grid-template-columns: 1fr; }
  .post-card-featured .post-card__inner { margin-top: -40%; min-height: 320px; }
  .site-width, .site-width-wide, .narrow, .alignwide, .alignnarrow { width: min(calc(100% - 1.4rem), 100%); }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation__next { text-align: left; }
  .manifesto-tags { gap: .4rem; }
}
