/* ============================================================
   SINCERELY SHREYA — Ghost Theme
   Fonts: Butler (self-hosted) + Poppins (Google Fonts)
   Palette: Clara Marketing exact values
   ============================================================ */

/* ── BUTLER FONT-FACE ─────────────────────────────────────── */
@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler-Free-Lgt.woff2') format('woff2'),
       url('../fonts/Butler-Free-Lgt.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler-Free-Rmn.woff2') format('woff2'),
       url('../fonts/Butler-Free-Rmn.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler-Free-Med.woff2') format('woff2'),
       url('../fonts/Butler-Free-Med.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler-Free-SBd.woff2') format('woff2'),
       url('../fonts/Butler-Free-SBd.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler-Free-Bd.woff2') format('woff2'),
       url('../fonts/Butler-Free-Bd.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Raffishly — handwritten cursive script used for the letter sign-off
   ("Shreya"). Licensed font file lives in /assets/fonts/. */
@font-face {
  font-family: 'Raffishly';
  src: url('../fonts/Raffishly-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --cream:        #FFFDF9;   /* page background */
  --cream-mid:    #F2EFE8;   /* section backgrounds */
  --cream-border: #E5E1D6;   /* borders, dividers */
  --taupe:        #8B6F4D;   /* brand accent — warm caramel; AA Body on cream */
  --taupe-text:   #7A6350;   /* darker taupe — readable on cream, AA compliant */
  --taupe-light:  #DECEB8;   /* soft accent — for dark backgrounds; AA Body on dark-warm */
  --taupe-soft:   #A88B65;   /* lighter sandy accent — italic em in headlines (AA Large); softer Clara-mood feel */
  --dark:         #313330;   /* primary text */
  --dark-warm:    #474036;   /* dark sections */
  --mid:          #6B6762;   /* secondary text — kept lighter for visual hierarchy (sidebar bio, hero intros, meta). Letter cards specifically override to --dark + heavier weight for readability (1.9.20 revert). */
  --white:        #FFFFFF;

  --font-heading: 'Butler', Georgia, serif;
  --font-body:    'Poppins', sans-serif;

  --container:    1140px;
  --container-narrow: 720px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── CANONICAL TYPOGRAPHY (1.0.86 — Clara Marketing kit-2938 scale) ──
     Root html font-size = 17px, so 1rem = 17px.
     Use var(--fs-h2) etc. across all page templates instead of bespoke clamp() values.
     Responsive overrides defined in @media blocks at the bottom of :root section. */

  /* Body — scaled 1.7.14 from 17px to ~15.5px for a more refined editorial feel.
     Headings stay at canonical Clara kit-2938 sizes. */
  --fs-body:        0.91rem;     /* ~15.5px (was 1rem / 17px) */
  --lh-body:        1.6;          /* tighter (was 1.625) */

  /* Eyebrow / Label (Clara: Poppins 400, uppercase, tracked) */
  --fs-label:       0.824rem;    /* 14px */
  --ls-label:       0.32rem;     /* ≈5.5px */

  /* Headlines (DESKTOP ≥1440px — Butler family, line-height 1em)
     RESTORED 1.7.14 — original Clara kit-2938 scale. User preferred these.
     Body text is the only thing that came down. */
  --fs-h1:          3.76rem;     /* 64px — Butler 400, ls -2.1px */
  --fs-h2:          3.94rem;     /* 67px — Butler 200, ls -2.5px */
  --fs-h3:          2.59rem;     /* 44px — Butler 300, line-height 1em */
  --fs-h4:          1.88rem;     /* 32px — Butler 400, line-height 1em */
  --fs-h5:          1.41rem;     /* 24px — Butler 400, line-height 1.1em */
  --fs-h6:          1.18rem;     /* 20px — Butler 400, line-height 1.1em */

  /* Hero display variants — used for oversized editorial moments (about hero, parallax) */
  --fs-hero:        4.5rem;      /* ~76px — slightly conservative vs Clara's 5.5em */

  /* UI / Form */
  --fs-form:        0.824rem;    /* 14px — Poppins 300, line-height 1.2em */
  --fs-btn:         0.824rem;    /* 14px buttons */
  --ls-btn:         0.082rem;    /* ≈1.4px */
}

/* ── Canonical type — RESPONSIVE STEPS (RESTORED 1.7.14, original Clara kit-2938) ── */
@media (max-width: 1200px) {
  :root {
    --fs-h1: 3.53rem;   /* 60px */
    --fs-h2: 3.53rem;   /* 60px */
    --fs-h3: 2.35rem;   /* 40px */
    --fs-h4: 1.65rem;   /* 28px */
    --fs-h5: 1.29rem;   /* 22px */
    --fs-hero: 3.94rem; /* 67px */
  }
}
@media (max-width: 1024px) {
  :root {
    --fs-h1: 2.82rem;   /* 48px */
    --fs-h2: 3.65rem;   /* 62px */
    --fs-h3: 1.65rem;   /* 28px */
    --fs-h4: 1.18rem;   /* 20px */
    --fs-hero: 3.5rem;  /* 59.5px */
  }
}
@media (max-width: 767px) {
  :root {
    --fs-h1: 2.65rem;   /* 45px */
    --fs-h2: 2.41rem;   /* 41px */
    --fs-label: 0.71rem;   /* 12px */
    --ls-label: 0.18rem;   /* ≈3px */
    --fs-form: 0.882rem;   /* 15px */
    --fs-hero: 2.82rem;    /* 48px */
  }
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1em;
  color: var(--dark);
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; font-weight: 400; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.04em; font-weight: 200; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.025em; font-weight: 300; }
h4 { font-size: var(--fs-h4); font-weight: 400; }
h5 { font-size: var(--fs-h5); font-weight: 400; line-height: 1.1em; }
h6 { font-size: var(--fs-h6); font-weight: 400; line-height: 1.1em; }

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }

/* label / eyebrow — uppercase small caps. DESIGN TOKEN: visual props use
   !important so section-level p cascades (e.g. .about-prose-text p, .about-closing-card p)
   can never override the label's appearance. Margin stays overrideable per context. */
.label {
  font-family: var(--font-body) !important;
  font-size: var(--fs-label) !important;
  font-weight: 400 !important;
  letter-spacing: var(--ls-label) !important;
  text-transform: uppercase !important;
  color: var(--taupe-text) !important;
  line-height: 1.1 !important;
  display: block;
  margin-bottom: 0.75rem;
  max-width: none;
}

/* ── LAYOUT HELPERS ───────────────────────────────────────── */
.container        { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }
.site-wrapper     { min-height: 100vh; display: flex; flex-direction: column; }
.site-main        { flex: 1; }

/* ── DIVIDER ──────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--taupe);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-btn); /* canonical 14px — Clara button */
  font-weight: 400;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  color: var(--taupe);
  border: 1px solid var(--taupe);
  /* Pill-rounded site-wide (1.0.83) — softer voice for personal letters brand. */
  padding: 0.85rem 2rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  border-radius: 999px;
  line-height: 1.1em;
}
.btn:hover {
  background: var(--taupe);
  border-color: var(--taupe);
  color: var(--white);
}

.btn-dark {
  color: var(--dark);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--taupe);
  border-color: var(--taupe);
  color: var(--white);
}

.btn-white {
  color: var(--white);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--taupe);
  border-color: var(--taupe);
  color: var(--white);
}

/* ── READING PROGRESS ─────────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 9999;
}
.reading-progress-bar {
  height: 100%;
  width: 0;
  background: var(--taupe);
  transition: width 0.1s linear;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(49,51,48,0.08); }

.site-header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: var(--dark);
  justify-self: start;
}
.site-logo img { height: 28px; width: auto; display: block; }

/* Dual-logo system: when both dark and light versions are uploaded, swap based on header state.
   Default state (cream bg, scrolled, sub-pages, footer): show DARK logo.
   Over-hero state (homepage top): show LIGHT (white) logo. */
.site-logo.has-dual .site-logo-light { display: none; }
.site-logo.has-dual .site-logo-dark { display: block; }
body.home-template .site-header.is-on-hero .site-logo.has-dual .site-logo-dark { display: none; }
body.home-template .site-header.is-on-hero .site-logo.has-dual .site-logo-light { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-self: center;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s;
  white-space: nowrap;
  padding: 0 0.25rem;
}
.nav-link:hover, .nav-link.active { color: var(--taupe-text); }

/* Work With Me CTA in mobile menu only — desktop reverted to plain nav link.
   Mobile keeps the small arrow as a tap affordance. */
.mobile-nav-link--cta .mobile-nav-link-arrow {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.25s var(--ease);
}
.mobile-nav-link--cta:hover .mobile-nav-link-arrow { transform: translateX(3px); }

.site-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  justify-self: end;
}

.search-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.search-trigger:hover { color: var(--taupe); }
.search-trigger svg { width: 18px; height: 18px; display: block; }

/* Search icon over hero (homepage top) — flip to white with shadow like nav links */
body.home-template .site-header.is-on-hero .search-trigger {
  color: #FFFDF9;
}
body.home-template .site-header.is-on-hero .search-trigger:hover {
  color: var(--taupe-light);
}

.btn-subscribe {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe);
  border: 1px solid var(--taupe);
  padding: 0.55rem 1.25rem;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  border-radius: 999px;
}
.btn-subscribe:hover { background: var(--taupe); color: var(--white); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 1px;
  background: var(--dark);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--cream-border);
  padding: 1.5rem 2rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s;
  pointer-events: none;
}
.mobile-menu.is-open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: var(--dark);
}

/* Social row inside mobile menu — compact circle outlines like footer */
.mobile-menu-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-border);
}
.mobile-menu-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe-text);
  border: 1px solid var(--taupe-text);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.mobile-menu-social a:hover {
  color: var(--cream);
  background: var(--dark);
  border-color: var(--dark);
}
.mobile-menu-social svg {
  width: 13px;
  height: 13px;
  display: block;
}

/* page offset for fixed header */
.site-main { padding-top: 76px; }

/* ============================================================
   HERO — full-bleed slider, Clara-style
   ============================================================ */
.hero {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--dark-warm);
}

/* on home, pull hero up under the transparent header */
body.home-template .site-main { padding-top: 0; }

/* slider stage */
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  /* Transition only applies AFTER page is ready (.hero-ready class added by JS post-load).
     Without this guard, the transition fired on initial paint and caused the flash. */
  transition: none;
  pointer-events: none;
}
.hero.hero-ready .hero-slide {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* placeholder backgrounds for slides without an uploaded image */
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--dark-warm);
}
.hero-bg-placeholder-1 {
  background:
    radial-gradient(circle at 30% 35%, rgba(199, 185, 169, 0.25), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(179, 160, 131, 0.30), transparent 60%),
    linear-gradient(135deg, var(--taupe) 0%, var(--dark-warm) 100%);
}
.hero-bg-placeholder-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 253, 249, 0.28), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(122, 99, 80, 0.45), transparent 60%),
    linear-gradient(180deg, #c7b9a9 0%, var(--dark-warm) 100%);
}

/* legibility gradient over the photo — bigger / darker bottom-left vignette */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* localized strong dark at bottom-left — bigger ellipse so eyebrow zone is covered */
    radial-gradient(ellipse 100% 90% at 0% 100%,
      rgba(20, 22, 20, 0.92) 0%,
      rgba(20, 22, 20, 0.78) 22%,
      rgba(20, 22, 20, 0.55) 42%,
      rgba(20, 22, 20, 0.30) 62%,
      rgba(20, 22, 20, 0.10) 80%,
      transparent 95%),
    /* full-bottom band — also stronger at the top so nav reads cleanly */
    linear-gradient(180deg,
      rgba(20, 22, 20, 0.55) 0%,
      rgba(20, 22, 20, 0.38) 6%,
      rgba(20, 22, 20, 0.15) 14%,
      transparent 26%,
      rgba(20, 22, 20, 0.10) 50%,
      rgba(20, 22, 20, 0.50) 72%,
      rgba(20, 22, 20, 0.85) 100%);
}

/* hero typography legibility — strong drop shadow to lift text off any photo */
.hero-content h1,
.hero-title {
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.75),
               0 0 2px rgba(0, 0, 0, 0.55);
}
.hero-eyebrow {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.95),
               0 0 2px rgba(0, 0, 0, 0.6);
  color: #FFFDF9;
}
.hero-sub {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9),
               0 0 2px rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 7rem 4rem 5rem;
  max-width: none;
  margin: 0;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.85);
  margin: 0 0 1.5rem;
}

.hero-content h1,
.hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(3.4rem, 11vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #FFFDF9;
  margin: 0 0 2rem;
  max-width: 14ch;
}

.hero-content h1 em,
.hero-title em {
  font-style: italic;
  color: var(--taupe-light);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55),
               0 0 1px rgba(0, 0, 0, 0.45);
}

/* both slides share the same .hero-title sizing — no slide-specific override */

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 253, 249, 0.88);
  margin: 0 0 2rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* light button variant — white outline + white text on hero photo, hovers to unified taupe fill */
.btn-light {
  color: #FFFDF9;
  background: transparent;
  border-color: rgba(255, 253, 249, 0.85);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.btn-light:hover {
  background: var(--taupe);
  color: var(--white);
  border-color: var(--taupe);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* slider counter — small bordered boxes on the right edge */
.hero-slider-counter {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-slider-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 253, 249, 0.55);
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  color: rgba(255, 253, 249, 0.75);
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}
.hero-slider-num:hover {
  border-color: #FFFDF9;
  color: #FFFDF9;
}
.hero-slider-num.is-active {
  background: rgba(255, 253, 249, 0.15);
  border-color: #FFFDF9;
  color: #FFFDF9;
}
/* legacy line kept hidden in case any cached markup still references it */
.hero-slider-line { display: none; }

/* scroll indicator removed from hero — keep rules around but inert */
.hero-scroll-indicator { display: none; }
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 64px;
  background: rgba(255, 253, 249, 0.45);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 28%;
  background: #FFFDF9;
  animation: heroScrollMove 1.9s ease-in-out infinite;
}
@keyframes heroScrollMove {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(360%); }
}
.hero-scroll-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.85);
}

/* ── transparent header while sitting over the hero (home only) ── */
body.home-template .site-header {
  transition: background 0.35s var(--ease),
              border-color 0.35s var(--ease),
              transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
body.home-template .site-header.is-on-hero {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.home-template .site-header.is-on-hero .site-logo,
body.home-template .site-header.is-on-hero .nav-link {
  color: #FFFDF9;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7),
               0 0 1px rgba(0, 0, 0, 0.5);
}
body.home-template .site-header.is-on-hero .btn-subscribe {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
body.home-template .site-header.is-on-hero .nav-link:hover,
body.home-template .site-header.is-on-hero .nav-link.active {
  color: var(--taupe-light);
}
body.home-template .site-header.is-on-hero .btn-subscribe {
  color: #FFFDF9;
  border-color: rgba(255, 253, 249, 0.7);
}
body.home-template .site-header.is-on-hero .btn-subscribe:hover {
  background: var(--taupe);
  color: var(--white);
  border-color: var(--taupe);
}
body.home-template .site-header.is-on-hero .hamburger span {
  background: #FFFDF9;
}

/* hero responsive — collapse padding on smaller screens */
@media (max-width: 900px) {
  .hero-content { padding: 6rem 2rem 4rem; }
  .hero-content h1, .hero-title { font-size: clamp(2.8rem, 12vw, 5.5rem); max-width: 16ch; }
  .hero-scroll-indicator { right: 1rem; bottom: 2rem; }
  .hero-scroll-label { display: none; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.scroll-reveal.is-visible { opacity: 1; transform: none; }
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }
.scroll-reveal-delay-4 { transition-delay: 0.45s; }
.scroll-reveal-delay-5 { transition-delay: 0.6s; }

/* ============================================================
   HOME — PILLARS (inline-image editorial headline)
   ============================================================ */
.home-pillars {
  padding: 9rem 2rem;
  background: var(--cream);
  text-align: center;
}
.home-pillars-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.home-pillars-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 1.5rem auto 2.5rem;
  /* allow inline-flex children to wrap naturally */
  display: block;
}
.home-pillars-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
  margin: 0 0.1em;
}
.home-pillars-title .pillar-word {
  display: inline;
}

/* inline circular thumbnails embedded in headline */
.pillar-thumb {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  vertical-align: -0.18em;
  margin: 0 0.18em;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 18px rgba(49, 51, 48, 0.16);
}
.pillar-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* gradient placeholders — three distinct tones that map to the three pillars */
/* pillar 1 — founders: warm tan/gold */
.pillar-thumb-1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 249, 0.55), transparent 60%),
    linear-gradient(135deg, #d6bf9c 0%, #b3a083 100%);
}
/* pillar 2 — AI builders: cooler taupe-grey */
.pillar-thumb-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 253, 249, 0.55), transparent 60%),
    linear-gradient(135deg, #c0bdb6 0%, #8a857c 100%);
}
/* pillar 3 — women: deep warm taupe-to-dark */
.pillar-thumb-3 {
  background:
    radial-gradient(circle at 30% 70%, rgba(199, 185, 169, 0.4), transparent 60%),
    linear-gradient(135deg, #7a6350 0%, #3a342c 100%);
}

.home-pillars-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.75;
}
.home-pillars-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

/* btn-pill kept for backward-compat but now SQUARE — site-wide all buttons are square outlined.
   The class still bumps padding for editorial sections that need a more substantial button. */
.btn-pill {
  border-radius: 999px;
  padding: 0.95rem 2.25rem;
}

/* ============================================================
   HOME — MEET (Clara-structure 3-col: text + tall main + stacked side)
   ============================================================ */
.home-meet {
  background: var(--cream-mid);
  padding: 8rem 2rem;
}
.home-meet-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.1fr;
  column-gap: 3rem;
  align-items: center;
}

/* Col 1 — text */
.home-meet-text {
  align-self: center;
  max-width: 380px;
}
.home-meet-text .label {
  margin-bottom: 1rem;
}
.home-meet-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1rem;
}
.home-meet-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.home-meet-tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--taupe-text);
  margin: 0 0 1.75rem;
}
.home-meet-text p {
  color: var(--mid);
  margin-bottom: 1rem;
  font-size: var(--fs-body);
  line-height: 1.7;
}
.home-meet-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* shared button-arrow nudge */
/* Practice page Background section — credentials / lineage / schools.
   Sits between The Practice tiles and the From-the-practice letters surface. */
.practice-background {
  background: var(--cream);
  padding: 4.5rem 2rem 4rem;
}
.practice-background-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.practice-background-body {
  margin-top: 1.5rem;
}
.practice-background-body p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--mid);
  margin: 0 0 1.25rem;
}
.practice-background-body p:last-child { margin-bottom: 0; }
.practice-background-body code {
  font-family: monospace;
  font-size: 0.85em;
  color: var(--taupe-text);
  background: var(--cream-mid);
  padding: 0.1rem 0.35rem;
}
@media (max-width: 768px) {
  .practice-background { padding: 3rem 1.5rem 2.5rem; }
}

/* Arrows removed site-wide (1.9.21). Shreya doesn't want arrow icons after
   any CTA or button text. .btn-arrow spans + inline aria-hidden arrows are
   hidden globally. If specific arrows ever need to return, override per element. */
.btn-arrow,
.btn span[aria-hidden="true"],
.btn-pill span[aria-hidden="true"],
.btn-subscribe span[aria-hidden="true"],
.shreyai-pillar-cta span[aria-hidden="true"],
.shreyai-resource-card-cta span[aria-hidden="true"],
.shreyai-build-card .btn span[aria-hidden="true"],
.letter-post-thread-cta span[aria-hidden="true"],
.letter-post-reply span[aria-hidden="true"],
.letters-collection-foot span[aria-hidden="true"],
.shreyai-section-foot .btn span[aria-hidden="true"],
.showcase-card-cta span[aria-hidden="true"],
.write-card-cta span[aria-hidden="true"],
.error-page-actions .btn span[aria-hidden="true"],
.letters-sidebar-btn span[aria-hidden="true"],
.scratchpad-empty-state .btn span[aria-hidden="true"],
.wwm-offer-cta span[aria-hidden="true"] {
  display: none !important;
}

/* Col 2 — tall main photo (Clara aspect ~9/13). Natural aspect-ratio height,
   overflow: visible so the badge can overhang the top edge. The image stays
   clipped to the box because of aspect-ratio + object-fit: cover. */
.home-meet-main {
  position: relative;
  aspect-ratio: 9 / 13;
  width: 100%;
}
.home-meet-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.home-meet-main .home-meet-placeholder { overflow: hidden; }

/* Col 3 — secondary card. Natural sizing, sits centered against the main
   photo's height. */
.home-meet-side {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.home-meet-secondary {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  width: 100%;
}
.home-meet-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholders (used until Ghost feature_image is set) */
.home-meet-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(179, 160, 131, 0.55) 0%, rgba(231, 222, 207, 0.85) 100%),
    radial-gradient(circle at 30% 30%, rgba(255, 253, 249, 0.6), transparent 60%);
  background-color: var(--cream-mid);
  position: relative;
  overflow: hidden;
}
.home-meet-placeholder-side {
  background:
    linear-gradient(135deg, rgba(199, 185, 169, 0.5) 0%, rgba(122, 99, 80, 0.35) 100%),
    radial-gradient(circle at 70% 70%, rgba(255, 253, 249, 0.5), transparent 60%);
}
.home-meet-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(122, 99, 80, 0.35);
}
.home-meet-placeholder-text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 2.2rem;
  font-style: italic;
  text-align: center;
  color: var(--taupe-text);
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}
.home-meet-placeholder-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  font-style: normal;
  color: var(--taupe);
  margin-top: 0.85rem;
}

/* Rotating "READ MY STORY" badge — center aligned with the top-right corner
   of the main photo. Badge is 160px, so half-width (80px / 5rem) of overhang
   on both top and right puts the badge's center exactly on the corner. */
.home-meet-badge {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 160px;
  height: 160px;
  z-index: 4;
  text-decoration: none;
  color: var(--dark);
  display: block;
  cursor: pointer;
}
.home-meet-badge-svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: meetBadgeSpin 14s linear infinite;
}
.home-meet-badge:hover .home-meet-badge-svg {
  animation-duration: 7s;
}
@keyframes meetBadgeSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   HOME — STATS + ONE STRONG QUOTE (Clara-style: watermark + word-reveal)
   ============================================================ */
.home-stats {
  background: var(--cream-border);
  padding: 10rem 2rem 9rem;
  position: relative;
  overflow: hidden;
}

/* Editorial opening-quote watermark — sits behind the first line of the quote.
   Butler italic " has its visible curls in the upper-LEFT of its bounding box.
   At huge sizes (~670px on desktop), large negative `top` values send the glyph
   above the section's overflow:hidden boundary and clip it entirely. Keeping
   `top` near 0 keeps the visible curls in the line of "The hardest...". */
.home-stats-quote-mark {
  position: absolute;
  top: -0.05em;
  left: -0.02em;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18rem, 42vw, 36rem);
  line-height: 1;
  color: rgba(122, 99, 80, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: block;
}

.home-stats-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Quote — Clara-style: regular Butler serif (not italic), large, centered, word-by-word reveal */
.home-stats-quote {
  position: relative;
  margin: 0 auto 6rem;
  max-width: 1000px;
  padding: 0 1rem;
  text-align: center;
}
.home-stats-quote-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-style: normal !important;
  font-synthesis: none;
  font-weight: 300;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--dark-warm);
  margin: 0;
  text-align: center;
}
.home-stats-quote-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Neutralize em explicitly (the global "em { font-style: italic }" otherwise wins via cascade) */
.home-stats-quote-text .word em {
  font-style: normal !important;
  font-weight: 300;
  color: var(--dark-warm);
}
/* Add small spacing because inline-block can swallow whitespace */
.home-stats-quote-text .word + .word { margin-left: 0.08em; }

/* Reveal trigger */
.home-stats-quote.is-revealed .word { opacity: 1; transform: translateY(0); }
.home-stats-quote.is-revealed .word:nth-child(1)  { transition-delay: 0.00s; }
.home-stats-quote.is-revealed .word:nth-child(2)  { transition-delay: 0.07s; }
.home-stats-quote.is-revealed .word:nth-child(3)  { transition-delay: 0.14s; }
.home-stats-quote.is-revealed .word:nth-child(4)  { transition-delay: 0.21s; }
.home-stats-quote.is-revealed .word:nth-child(5)  { transition-delay: 0.28s; }
.home-stats-quote.is-revealed .word:nth-child(6)  { transition-delay: 0.35s; }
.home-stats-quote.is-revealed .word:nth-child(7)  { transition-delay: 0.42s; }
.home-stats-quote.is-revealed .word:nth-child(8)  { transition-delay: 0.55s; } /* small breath after first sentence */
.home-stats-quote.is-revealed .word:nth-child(9)  { transition-delay: 0.62s; }
.home-stats-quote.is-revealed .word:nth-child(10) { transition-delay: 0.72s; }
.home-stats-quote.is-revealed .word:nth-child(11) { transition-delay: 0.82s; }

.home-stats-quote-cite {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin: 2.5rem 0 0;
  display: block;
  font-style: normal;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.0s;
}
.home-stats-quote.is-revealed .home-stats-quote-cite { opacity: 1; }

/* Stats */
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
  padding-top: 3.25rem;
  border-top: 1px solid rgba(122, 99, 80, 0.22);
}
.home-stat { text-align: center; }
.home-stat-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4.8rem, 9.5vw, 8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--taupe-soft);
  margin-bottom: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.home-stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.55;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================================
   HOME — WHAT I WRITE ABOUT (pillar cards + faint scrolling banner)
   ============================================================ */
.home-write {
  position: relative;
  background: var(--cream);
  padding: 9rem 2rem;
  overflow: hidden;
}

/* Faint horizontal scrolling banner behind the cards */
.home-write-banner {
  position: absolute;
  top: 50%;
  left: -5%;
  right: -5%;
  transform: translateY(-50%) rotate(-2deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 110%;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.home-write-banner-track {
  display: flex;
  white-space: nowrap;
  animation: writeBannerScroll 80s linear infinite;
  width: max-content;
}
.home-write-banner-track span {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(5rem, 11vw, 10rem);
  color: rgba(122, 99, 80, 0.08);
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
  padding-right: 0.5em;
}
@keyframes writeBannerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Content layer */
.home-write-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}
.home-write-header {
  text-align: center;
  margin: 0 auto 4.5rem;
  max-width: 720px;
}
.home-write-header .label {
  margin-bottom: 1rem;
}
.home-write-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1rem;
}
.home-write-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.home-write-sub {
  color: var(--mid);
  font-size: var(--fs-body);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

/* Card grid */
.home-write-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.75rem;
}

/* Card */
.write-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.4s var(--ease);
}
.write-card:hover {
  transform: translateY(-6px);
}

/* Card image with overlay number */
.write-card-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-border);
}
.write-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.write-card:hover .write-card-image img {
  transform: scale(1.04);
}

/* Overlay 01/02/03 — large italic numeral */
.write-card-num {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(4.5rem, 7vw, 7rem);
  line-height: 0.85;
  color: var(--cream);
  text-shadow: 0 4px 18px rgba(49, 51, 48, 0.45);
  letter-spacing: -0.05em;
  z-index: 2;
  pointer-events: none;
}

/* Placeholder gradients (when feature image not uploaded) */
.write-card-placeholder {
  width: 100%; height: 100%;
}
.write-card-placeholder-1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 249, 0.55), transparent 60%),
    linear-gradient(135deg, #d6bf9c 0%, #b3a083 100%);
}
.write-card-placeholder-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 253, 249, 0.55), transparent 60%),
    linear-gradient(135deg, #c0bdb6 0%, #8a857c 100%);
}
.write-card-placeholder-3 {
  background:
    radial-gradient(circle at 30% 70%, rgba(199, 185, 169, 0.4), transparent 60%),
    linear-gradient(135deg, #7a6350 0%, #3a342c 100%);
}

/* Card body */
.write-card-body {
  padding: 1.85rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.write-card-body .label {
  margin-bottom: 0.85rem;
}
.write-card-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 0.95rem;
}
.write-card-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.write-card-desc {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.write-card-cta {
  margin-top: auto;
}

/* ============================================================
   HOME — LETTERS SLIDER
   ============================================================ */
.home-letters-slider {
  padding: 8rem 0;
  background: var(--cream-mid);
}
.letters-slider-header {
  max-width: var(--container);
  margin: 0 auto 3.5rem;
  padding: 0 2rem;
}
.letters-slider-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 1rem 0 0.5rem;
}
.letters-slider-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.letters-slider-sub {
  color: var(--mid);
  font-size: var(--fs-body);
  margin: 0;
  max-width: 520px;
}

.letters-slider-viewport {
  overflow: hidden;
  padding: 0.5rem 0;
}
.letters-slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 2rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.letters-slider-track::-webkit-scrollbar { display: none; }
.letters-slider-track.is-dragging { cursor: grabbing; }

.letter-card {
  flex: 0 0 370px;
  scroll-snap-align: start;
  padding: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.letter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px -22px rgba(49, 51, 48, 0.22);
}

.letter-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--cream-mid);
}
.letter-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.letter-card:hover .letter-card-image img {
  transform: scale(1.04);
}
.letter-card-placeholder {
  width: 100%;
  height: 100%;
}
/* Rotating placeholder tones — 3 variants cycled across cards */
.letter-card:nth-child(3n+1) .letter-card-placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 249, 0.55), transparent 60%),
    linear-gradient(135deg, #d6bf9c 0%, #b3a083 100%);
}
.letter-card:nth-child(3n+2) .letter-card-placeholder {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 253, 249, 0.55), transparent 60%),
    linear-gradient(135deg, #c0bdb6 0%, #8a857c 100%);
}
.letter-card:nth-child(3n+3) .letter-card-placeholder {
  background:
    radial-gradient(circle at 30% 70%, rgba(199, 185, 169, 0.4), transparent 60%),
    linear-gradient(135deg, #7a6350 0%, #3a342c 100%);
}

.letter-card-body {
  padding: 1.85rem 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  border-top: 1px solid var(--taupe);
}
.letter-card-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.letter-card-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--taupe);
  display: inline-block;
}
.letter-card h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 400; /* Heavier than 300 to render with more presence — Butler serif at 300 reads thin/light (1.9.20 fix). */
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 0;
}
.letter-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark); /* Explicit --dark for card punchlines — overrides --mid which is reserved for true sidebar/meta secondary text (1.9.20 fix). */
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.letter-card-read {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s, gap 0.25s var(--ease);
}
.letter-card:hover .letter-card-read {
  color: var(--dark);
  gap: 0.7rem;
}

.letters-slider-nav {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.letters-slider-arrows { display: flex; gap: 0.75rem; }
.letters-slider-prev,
.letters-slider-next {
  width: 40px; height: 40px;
  border: 1px solid var(--cream-border);
  background: var(--cream);
  color: var(--dark);
  cursor: pointer;
  font-size: var(--fs-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.letters-slider-prev:hover,
.letters-slider-next:hover {
  border-color: var(--taupe);
  background: var(--taupe);
  color: var(--white);
}

/* ============================================================
   HOME — SHOWCASE / ECOSYSTEM (3 equal cards: brand, system, series)
   ============================================================ */
.home-showcase {
  padding: 8rem 0;
  background: var(--cream);
}
.showcase-header {
  max-width: var(--container);
  margin: 0 auto 4rem;
  padding: 0 2rem;
}
.showcase-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 1rem 0 0;
}
.showcase-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}

.showcase-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.showcase-card {
  background: var(--cream-mid);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -25px rgba(49, 51, 48, 0.28);
}

.showcase-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--cream-border);
}
.showcase-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.showcase-card:hover .showcase-card-image img {
  transform: scale(1.04);
}

.showcase-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.showcase-card-placeholder::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(255, 253, 249, 0.35);
  pointer-events: none;
}
.showcase-card-placeholder-1 {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 249, 0.55), transparent 60%),
    linear-gradient(135deg, #d6bf9c 0%, #b3a083 100%);
}
.showcase-card-placeholder-2 {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 253, 249, 0.5), transparent 60%),
    linear-gradient(135deg, #6e6962 0%, #3a342c 100%);
}
.showcase-card-placeholder-3 {
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 253, 249, 0.5), transparent 60%),
    linear-gradient(135deg, #c0bdb6 0%, #8a857c 100%);
}
.showcase-card-mark {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 5rem);
  color: rgba(255, 253, 249, 0.85);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.showcase-card-placeholder-2 .showcase-card-mark {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.showcase-card-body {
  padding: 1.85rem 1.85rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
  border-top: 1px solid var(--taupe);
}
.showcase-card-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.showcase-card-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--taupe);
  display: inline-block;
}
.showcase-card h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 0;
}
.showcase-card-cta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s, gap 0.25s var(--ease);
}
.showcase-card:hover .showcase-card-cta {
  color: var(--dark);
  gap: 0.7rem;
}

/* ============================================================
   HOME — shreyAI SECTION
   ============================================================ */
.home-shreya-ai {
  background: var(--cream-border);
  padding: 9rem 2rem;
}
.home-shreya-ai-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 6rem;
  align-items: center;
}
.home-shreya-ai-eyebrow {
  color: var(--taupe-text);
  margin-bottom: 1.25rem;
}
.home-shreya-ai-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1.75rem;
}
.home-shreya-ai-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.home-shreya-ai-inner p {
  color: var(--mid);
  font-size: var(--fs-body);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.ai-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 2.75rem;
  margin: 3rem 0;
}
.ai-stat {
  border-top: 1px solid rgba(199, 185, 169, 0.32);
  padding-top: 1rem;
}
.ai-stat-number {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  font-weight: 300;
  color: #FFFDF9;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ai-stat-number span {
  font-style: normal;
  color: var(--taupe-light);
  margin-left: 0.05em;
}
.ai-stat-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: rgba(199, 185, 169, 0.78);
  margin-top: 0.6rem;
}
.home-shreya-ai-stat {
  font-family: var(--font-heading) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  letter-spacing: -0.01em !important;
  color: var(--taupe-text) !important;
  margin: 1.5rem 0 2rem !important;
  line-height: 1.2 !important;
}
.home-shreya-ai-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* image side */
.home-shreya-ai-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.home-shreya-ai-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.home-shreya-ai-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 253, 249, 0.45), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(122, 99, 80, 0.22), transparent 65%),
    linear-gradient(135deg, rgba(199, 185, 169, 0.55) 0%, rgba(122, 99, 80, 0.25) 100%);
  background-color: var(--taupe-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dark-warm);
  overflow: hidden;
  border: 1px solid rgba(71, 64, 54, 0.18);
}
.home-shreya-ai-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(71, 64, 54, 0.22);
}
.home-shreya-ai-placeholder-mark {
  font-family: 'Courier New', monospace;
  font-size: var(--fs-body);
  letter-spacing: 0.3rem;
  color: var(--dark-warm);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.home-shreya-ai-placeholder-text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--dark-warm);
  position: relative;
  z-index: 1;
  text-align: center;
}
.home-shreya-ai-placeholder-text small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-top: 0.85rem;
}

/* ============================================================
   HOME — FREE RESOURCE (split: full-bleed image left, content right)
   ============================================================ */
.home-resource {
  background: var(--cream-mid);
  padding: 0;
  overflow: hidden;
}
.home-resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 620px;
}

/* Left col — image, full-bleed to viewport edge */
.home-resource-image {
  position: relative;
  overflow: hidden;
}
.home-resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-resource-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(122, 99, 80, 0.55) 0%, rgba(179, 160, 131, 0.85) 100%),
    radial-gradient(circle at 30% 25%, rgba(255, 253, 249, 0.45), transparent 60%);
  background-color: var(--taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.home-resource-placeholder::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 253, 249, 0.4);
}
.home-resource-placeholder-mark {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  color: rgba(255, 253, 249, 0.85);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* Right col — content. Right padding reduced (5rem → 2rem) so more headline + paragraph fits per line.
   Max-width bumped from 600 → 680 for the same reason. */
.home-resource-content {
  align-self: center;
  padding: 6rem 2rem 6rem 5rem;
  max-width: 680px;
}
.home-resource-content .label {
  margin-bottom: 1.25rem;
}
.home-resource-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1.5rem;
}
.home-resource-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.home-resource-content p {
  color: var(--mid);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.home-resource-quote {
  font-family: var(--font-heading) !important;
  font-size: 1.05rem !important;
  font-style: italic !important;
  font-weight: 300 !important;
  color: var(--taupe-text) !important;
  line-height: 1.5 !important;
  border-left: 2px solid var(--taupe) !important;
  padding-left: 1rem !important;
  margin: 0 0 1.75rem !important;
}
.home-resource-quote em {
  font-style: italic;
}
.home-resource-stats {
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--taupe-text) !important;
  margin: 0 0 2.25rem !important;
}
.home-resource-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   HOME — WORK WITH ME (full-bleed photo via img element + dark scrim + centered copy)
   ============================================================ */
.home-workwithme {
  position: relative;
  padding: 10rem 2rem;
  background-color: var(--cream);
  overflow: hidden;
  min-height: 540px;
}
.workwithme-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}
.home-workwithme.has-image .workwithme-scrim {
  position: absolute;
  inset: 0;
  /* Lightened (1.7.12): was 0.65/0.75. More photo shows through. Text-shadow added on copy below. */
  background:
    linear-gradient(135deg, rgba(49, 51, 48, 0.42) 0%, rgba(71, 64, 54, 0.52) 100%);
  pointer-events: none;
  z-index: 1;
}
.home-workwithme:not(.has-image) .workwithme-scrim {
  display: none;
}
/* Scaled to absorb the JS-driven translate without revealing edges. Bumped to 1.30
   (1.7.12) to match the more dramatic ±90px shift. */
.workwithme-bg {
  transform: translate3d(0, 0, 0) scale(1.30);
  will-change: transform;
  transition: transform 0.05s linear;
}
/* Text-shadow on the copy so it stays readable against the lighter scrim */
.home-workwithme.has-image .workwithme-eyebrow,
.home-workwithme.has-image .workwithme-title,
.home-workwithme.has-image .workwithme-sub {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.workwithme-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* When a photo is uploaded, flip text colors to white for readability over dark scrim.
   !important needed to beat the .label design token's own !important on color. */
.home-workwithme.has-image .workwithme-inner .label {
  color: var(--taupe-light) !important;
}
.home-workwithme.has-image .workwithme-title {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.home-workwithme.has-image .workwithme-title em {
  color: var(--taupe-light);
}
.home-workwithme.has-image .workwithme-sub {
  color: rgba(255, 253, 249, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.home-workwithme.has-image .workwithme-cta {
  color: var(--white);
  border-color: rgba(255, 253, 249, 0.85);
  background: transparent;
}
.home-workwithme.has-image .workwithme-cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* iOS Safari fallback no longer needed — using img element + position: fixed only on desktop */
.workwithme-inner .label {
  margin-bottom: 1.5rem;
}
.workwithme-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1.5rem;
}
.workwithme-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.workwithme-sub {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--mid);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.workwithme-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   FOOTER NEWSLETTER COL (3rd column inside main footer grid)
   ============================================================ */
.footer-newsletter-col h4 { color: var(--dark); }
.footer-newsletter-blurb {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 320px;
}
.footer-newsletter-fineprint {
  margin: 1rem 0 0;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
}
.footer-newsletter-col .newsletter-form {
  max-width: 100%;
  margin: 0;
  background: transparent;
  border-color: rgba(49, 51, 48, 0.18);
}
.footer-newsletter-col .newsletter-form:focus-within {
  border-color: var(--taupe);
}
.footer-newsletter-col .newsletter-form input[type="email"] {
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
}
.footer-newsletter-col .newsletter-form input[type="email"]::placeholder {
  color: var(--mid);
  opacity: 0.55;
}
.footer-newsletter-col .newsletter-form button {
  font-size: 0.65rem;
  letter-spacing: 0.18rem;
  padding: 0.7rem 1.15rem;
  border-left-color: rgba(49, 51, 48, 0.18);
}
.footer-newsletter-col .newsletter-form button:hover {
  background: var(--taupe);
  color: var(--white);
  border-left-color: var(--taupe);
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  border: 1px solid var(--taupe);
  background: var(--white);
  transition: border-color 0.2s;
  border-radius: 999px;
  overflow: hidden;
}
.newsletter-form:focus-within { border-color: var(--dark); }
.newsletter-form input[type="email"] {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--dark);
  outline: none;
  border-radius: 0;
}
/* Subscribe button: matches site-wide .btn outline style. Quiet on light backgrounds.
   Dark-context override below (.letters-newsletter-strip) flips to taupe-light for
   readability against --dark-warm bg. (1.7.10) */
.newsletter-form button {
  font-family: var(--font-body);
  font-size: var(--fs-btn);
  font-weight: 400;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  padding: 1rem 1.85rem;
  background: transparent;
  color: var(--taupe);
  border: none;
  border-left: 1px solid var(--taupe);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  border-radius: 0;
}
.newsletter-form button:hover {
  background: var(--taupe);
  color: var(--white);
}

/* ============================================================
   LETTERS LISTING PAGE (page-letters.hbs)
   Clara-mirror EXACT:
     1. 3-up featured row (one per content tag: Business / AI / Lifestyle)
     2. Stacked wordmark
     3. 2-col main: 2-up grid + sticky sidebar (bio block + categories tiles)
     4. Newsletter strip (dark bg)
   ============================================================ */

/* — 3-up Featured row (FULL-BLEED, edge-to-edge, no padding, no gap) — */
.letters-featured-row {
  background: var(--cream);
  padding: 0;
}
.letters-featured-row-inner {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.letters-featured-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  text-decoration: none;
  background: var(--cream-mid);
  transition: transform 0.3s var(--ease);
}
.letters-featured-card:hover { transform: translateY(-3px); }
.letters-featured-card-image {
  position: absolute;
  inset: 0;
}
.letters-featured-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.letters-featured-card:hover .letters-featured-card-image img {
  transform: scale(1.04);
}
.letters-featured-card-placeholder {
  width: 100%; height: 100%;
}
.letters-featured-card:nth-child(3n+1) .letters-featured-card-placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 249, 0.45), transparent 60%),
    linear-gradient(135deg, #d6bf9c 0%, #8b6f4d 100%);
}
.letters-featured-card:nth-child(3n+2) .letters-featured-card-placeholder {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 253, 249, 0.45), transparent 60%),
    linear-gradient(135deg, #c0bdb6 0%, #6b6762 100%);
}
.letters-featured-card:nth-child(3n+3) .letters-featured-card-placeholder {
  background:
    radial-gradient(circle at 30% 70%, rgba(199, 185, 169, 0.4), transparent 60%),
    linear-gradient(135deg, #7a6350 0%, #3a342c 100%);
}
.letters-featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(49, 51, 48, 0) 30%,
    rgba(49, 51, 48, 0.45) 65%,
    rgba(49, 51, 48, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem;
  color: var(--white);
  z-index: 1;
}
.letters-featured-card-tags {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.32rem;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  opacity: 0.95;
  color: var(--white);
}
.letters-featured-card-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h5);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 0.55rem;
}
.letters-featured-card-date {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.82;
  color: var(--white);
}
/* Empty-tag placeholder card (when a tag has no posts yet, or doesn't exist) */
.letters-featured-card--empty .letters-featured-card-overlay {
  background: linear-gradient(180deg,
    rgba(49, 51, 48, 0.15) 30%,
    rgba(49, 51, 48, 0.55) 100%);
}
.letters-featured-card--empty .letters-featured-card-title {
  font-style: italic;
  color: rgba(255, 253, 249, 0.85);
}
/* Slot — each tag gets one grid cell. Placeholder + real card stack absolutely inside. */
.letters-featured-slot {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.letters-featured-slot .letters-featured-card {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
/* When a real post card is present in the slot, hide the placeholder.
   Using :has() (Baseline 2023, supported across all evergreen browsers in 2026). */
.letters-featured-slot:has(.letters-featured-card:not(.letters-featured-card--empty)) .letters-featured-card--empty {
  display: none;
}

/* — Letters head: eyebrow "The Latest" + single-line H1 "From the Letters"
     Same bg as .letters-main below, so they read as one section — */
.letters-head {
  background: var(--cream-mid);
  padding: 4rem 2rem 0;
  text-align: center;
  margin: 0;
}
.letters-head .label {
  margin: 0 0 1.25rem;
}
.letters-head-title {
  font-family: var(--font-heading);
  font-weight: 400; /* Canonical Clara H1 weight — matches /about/ and /shreya-ai/. */
  font-size: var(--fs-h1); /* Canonical Clara H1 size, matches other pages (1.9.18 fix). Was --fs-h2. */
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0;
}
.letters-head-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}

/* Tag archive header (alternative to wordmark for /tag/X/) */
.letters-tag-header {
  background: var(--cream);
  padding: 6rem 2rem 4rem;
  text-align: center;
}
.letters-tag-header .label { margin-bottom: 1.25rem; }
.letters-tag-header h1 {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1rem;
}
.letters-tag-header p {
  color: var(--mid);
  font-size: var(--fs-body);
  max-width: 520px;
  margin: 0 auto;
}

/* — 2-col main area: grid (left) + sticky sidebar (right).
     Same --cream-mid as .letters-head above so the two read as one zone. — */
.letters-main {
  background: var(--cream-mid);
  padding: 0.25rem 2rem 4rem;
}
.letters-main-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.letters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.25rem;
  margin: 0;
}

/* Category filters — inconspicuous, right-aligned inline text links with
   dot separators. Sits above the card grid spanning both columns.
   Less prominent than chip-pills; reads as a quiet editorial control.
   JS handler in main.js toggles .is-active + filters cards by data-thread. */
.letters-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.5rem;
  padding: 0;
  border: none;
}
.letters-filter {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  padding: 0.25rem 0;
  background: transparent;
  color: var(--taupe-light);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.25s var(--ease);
  position: relative;
}
.letters-filter + .letters-filter::before {
  content: "·";
  position: absolute;
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--taupe-light);
  pointer-events: none;
}
.letters-filter:hover {
  color: var(--dark);
}
.letters-filter.is-active {
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
}

/* Hidden state when a card is filtered out — JS toggles .is-hidden */
.letter-card.is-hidden {
  display: none;
}

@media (max-width: 480px) {
  .letters-filters { justify-content: flex-start; }
}

/* Override homepage slider's flex/scroll-snap properties for grid context */
.letters-grid .letter-card,
.letter-post-related-grid .letter-card {
  flex: initial;
  width: 100%;
  scroll-snap-align: none;
}
/* Clara-pure portrait 3:4 aspect on listing cards.
   Related-letters cards at the bottom of each post use 4:5 instead —
   less tall, more proportional to the card's smaller footprint. */
.letters-grid .letter-card-image {
  aspect-ratio: 3 / 4;
}
.letter-post-related-grid .letter-card-image {
  aspect-ratio: 4 / 5;
}

/* Center-aligned card variant (Clara) for listing/grid + related */
.letters-grid .letter-card-body,
.letter-post-related-grid .letter-card-body {
  text-align: center;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.25rem 1.5rem;
}
.letters-grid .letter-card-label,
.letter-post-related-grid .letter-card-label {
  justify-content: center;
}
.letters-grid .letter-card-label::before,
.letter-post-related-grid .letter-card-label::before {
  display: none;
}
/* Card label + read link match the homepage Section 7 card pattern (locked).
   Smaller than the canonical eyebrow because cards live at a smaller scale. */
.letters-grid .letter-card-label,
.letter-post-related-grid .letter-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.32rem;
}
.letters-grid .letter-card h3 {
  font-size: var(--fs-h5);
  line-height: 1.2;
}
/* Excerpt with HUGE faded first letter LEFT-ALIGNED behind the excerpt
   (Clara "bigletter" — sits at the left edge of the excerpt block, NOT centered behind the title above).
   data-bigletter is set via JS on page load (assets/js/main.js init). */
.letters-grid .letter-card-excerpt,
.letter-post-related-grid .letter-card-excerpt {
  position: relative;
  text-align: center;
  font-size: var(--fs-body);
  line-height: 1.65;
  z-index: 1;
  margin: 0;
  padding-top: 0.5rem;
}
.letters-grid .letter-card-excerpt::before,
.letter-post-related-grid .letter-card-excerpt::before {
  content: attr(data-bigletter);
  position: absolute;
  top: 0.05em;
  left: 0;
  transform: none;
  font-family: var(--font-heading);
  font-weight: 200;
  font-style: italic;
  font-size: 5em;
  line-height: 0.85;
  color: rgba(168, 139, 101, 0.16);
  z-index: -1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}
/* Read More — plain text, no border, no arrow.
   Matches homepage Section 7 letter-card-read sizing exactly. */
.letters-grid .letter-card-read,
.letter-post-related-grid .letter-card-read {
  margin: 0.5rem auto 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--taupe-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  display: inline-block;
  transition: color 0.2s;
}
.letters-grid .letter-card:hover .letter-card-read,
.letter-post-related-grid .letter-card:hover .letter-card-read {
  color: var(--dark);
  background: transparent;
}

/* — Sticky sidebar — */
.letters-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.letters-sidebar-block {
  background: var(--cream);
  padding: 2rem 1.75rem;
  border-top: 1px solid var(--taupe);
}
.letters-sidebar-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--taupe-text);
  margin: 0 0 1.5rem;
  display: block;
  text-align: center;
}

/* Threads tiles inside sidebar */
.threads-tiles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.thread-tile {
  display: block;
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  text-decoration: none;
  background: var(--cream-mid);
  transition: transform 0.3s var(--ease);
}
.thread-tile:hover {
  transform: translateY(-2px);
}
.thread-tile-image {
  position: absolute;
  inset: 0;
}
.thread-tile-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.thread-tile:hover .thread-tile-image img {
  transform: scale(1.05);
}
.thread-tile-placeholder { width: 100%; height: 100%; }
.thread-tile:nth-child(3n+1) .thread-tile-placeholder {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 253, 249, 0.45), transparent 60%),
    linear-gradient(135deg, #d6bf9c 0%, #b3a083 100%);
}
.thread-tile:nth-child(3n+2) .thread-tile-placeholder {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 253, 249, 0.45), transparent 60%),
    linear-gradient(135deg, #c0bdb6 0%, #8a857c 100%);
}
.thread-tile:nth-child(3n+3) .thread-tile-placeholder {
  background:
    radial-gradient(circle at 30% 70%, rgba(199, 185, 169, 0.4), transparent 60%),
    linear-gradient(135deg, #7a6350 0%, #3a342c 100%);
}
.thread-tile-overlay {
  position: absolute;
  inset: 0;
  /* Light diagonal scrim — text-shadow on the label carries readability,
     so the scrim stays subtle and lets the photo come through. */
  background: linear-gradient(135deg, rgba(49, 51, 48, 0.28) 0%, rgba(49, 51, 48, 0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: 1;
  transition: background 0.25s var(--ease);
}
.thread-tile:hover .thread-tile-overlay {
  background: linear-gradient(135deg, rgba(49, 51, 48, 0.18) 0%, rgba(49, 51, 48, 0.4) 100%);
}
.thread-tile-label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: var(--fs-h4);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.thread-tile.is-active .thread-tile-overlay {
  background: linear-gradient(135deg, rgba(139, 111, 77, 0.82) 0%, rgba(139, 111, 77, 0.92) 100%);
}

/* — Sidebar bio block (Clara mirror: photo + I'm Shreya + bio + button) — */
.letters-sidebar-bio {
  text-align: center;
}
.letters-sidebar-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  max-width: 220px;
  background: var(--cream-mid);
}
.letters-sidebar-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.letters-sidebar-photo-placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 253, 249, 0.4), transparent 60%),
    linear-gradient(135deg, var(--taupe-light) 0%, var(--taupe) 100%);
}
.letters-sidebar-bio-text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--mid);
  margin: 0 0 1.4rem;
}
.letters-sidebar-btn {
  margin: 0 auto;
  /* Canonical .btn font-size + letter-spacing (matches all site buttons).
     Tighter padding because the sidebar block is narrow — full canonical
     padding (0.85rem 1.85rem) reads chunky in this context. */
  padding: 0.6rem 1.35rem;
}

/* Fancy heading (Clara: italic Butler with hairline rules on either side) */
.letters-sidebar-fancy {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-h5);
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 0 0 1.25rem;
  text-transform: none;
}
.letters-sidebar-fancy::before,
.letters-sidebar-fancy::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cream-border);
}

/* ============================================================
   ERROR PAGE (404, 500) — branded fallback (1.8.9)
   ============================================================ */
.error-page {
  background: var(--cream);
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.error-page-inner {
  max-width: 720px;
  margin: 0 auto;
}
.error-page-code {
  font-size: 0.75rem;
  letter-spacing: 0.25rem;
  color: var(--taupe-text);
  margin-bottom: 1.5rem;
}
.error-page-headline {
  font-family: var(--font-heading);
  font-weight: 400; /* Canonical Clara H1 weight (1.9.17 fix). */
  font-size: var(--fs-h1); /* Canonical Clara H1 size (1.9.18 fix). Was --fs-h2. */
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1.5rem;
}
.error-page-headline em {
  font-style: italic;
  color: var(--taupe-soft);
}
.error-page-message {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--mid);
  margin: 0 auto 2.5rem;
  max-width: 520px;
}
.error-page-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}
.error-page-threads {
  border-top: 1px solid var(--cream-border);
  padding-top: 3rem;
}
.error-page-threads-label {
  margin-bottom: 1.5rem;
}
.error-page-threads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}
.error-page-thread {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--cream-border);
  background: var(--cream);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.error-page-thread:hover {
  border-color: var(--taupe-soft);
  transform: translateY(-3px);
}
.error-page-thread .label { margin-bottom: 0.5rem; }
.error-page-thread-desc {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--mid);
  margin: 0;
}

@media (max-width: 768px) {
  .error-page { padding: 3.5rem 1.5rem 3rem; }
  .error-page-headline { font-size: var(--fs-h3); }
  .error-page-actions { margin-bottom: 2.5rem; }
  .error-page-threads { padding-top: 2rem; }
  .error-page-threads-grid { grid-template-columns: 1fr; gap: 0.85rem; }
}

/* ============================================================
   LETTER POST — EXPLORE OTHER THREADS (1.9.0)
   Cross-thread discovery surface at the bottom of each letter post.
   Renders the 2 threads that AREN'T the current letter's primary tag,
   so readers always have somewhere to go next outside their current thread.
   Sits below the "More from {Thread}" continuation strip.
   ============================================================ */
.letter-post-threads {
  background: var(--cream);
  padding: 4rem 2rem 5rem;
  border-top: 1px solid var(--cream-border);
}
.letter-post-threads-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.letter-post-threads-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.letter-post-threads-header .label { margin-bottom: 1rem; }
.letter-post-threads-header h2 {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 0;
}
.letter-post-threads-header h2 em {
  font-style: italic;
  color: var(--taupe-soft);
}
.letter-post-threads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.letter-post-thread {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.85rem 1.85rem;
  background: var(--cream-mid);
  border: 1px solid var(--cream-border);
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.letter-post-thread:hover {
  transform: translateY(-4px);
  border-color: var(--taupe-soft);
  box-shadow: 0 14px 32px rgba(139, 111, 77, 0.08);
}
.letter-post-thread-label {
  margin-bottom: 1rem;
}
.letter-post-thread-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h5);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 0 0 0.85rem;
}
.letter-post-thread-title em {
  font-style: italic;
  color: var(--taupe-soft);
}
.letter-post-thread-desc {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--mid);
  margin: 0 0 1.5rem;
  flex: 1;
}
.letter-post-thread-cta {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-top: auto;
  transition: color 0.3s var(--ease);
}
.letter-post-thread:hover .letter-post-thread-cta { color: var(--dark); }

/* Fallback: if the letter has no primary tag matching business/ai/lifestyle,
   all 3 threads render. Switch grid to 3 cols in that case. */
.letter-post-threads-grid:has(> :nth-child(3)) {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .letter-post-threads { padding: 2.5rem 1.5rem 3rem; }
  .letter-post-threads-header { margin-bottom: 1.85rem; }
  .letter-post-threads-grid,
  .letter-post-threads-grid:has(> :nth-child(3)) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .letter-post-thread { padding: 1.65rem 1.4rem 1.5rem; }
}

/* — Newsletter strip below main area (Clara dark-bg "Get on the List").
     With image: parallax photo bg via <img class="letters-newsletter-bg"> + scrim.
     Without image: solid --dark-warm bg. JS in main.js translates the bg img on scroll. — */
.letters-newsletter-strip {
  background: var(--dark-warm);
  color: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.letters-newsletter-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* JS sets transform on scroll for parallax; baked scale to absorb the shift */
  will-change: transform;
}
.letters-newsletter-scrim {
  position: absolute;
  inset: 0;
  /* Lightened (1.7.12): was 0.78/0.86. Text gets text-shadow for backup readability. */
  background: linear-gradient(135deg, rgba(49, 51, 48, 0.52) 0%, rgba(71, 64, 54, 0.62) 100%);
  z-index: 1;
  pointer-events: none;
}
.letters-newsletter-strip-inner {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.letters-newsletter-strip .label {
  color: var(--taupe-light) !important;
  margin-bottom: 1.25rem;
  /* Text-shadow added (1.7.12) as readability backup against the lightened scrim */
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.letters-newsletter-strip h2 {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cream);
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.letters-newsletter-strip h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-light);
}
.letters-newsletter-strip p {
  color: var(--taupe-light);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0 0 1.75rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.letters-newsletter-strip .newsletter-form {
  background: rgba(255, 253, 249, 0.08);
  border: 1px solid rgba(255, 253, 249, 0.2);
}
.letters-newsletter-strip .newsletter-form input {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 253, 249, 0.15);
}
.letters-newsletter-strip .newsletter-form input::placeholder {
  color: rgba(255, 253, 249, 0.55);
}
/* Subscribe button inside the dark-warm strip: flip to light-on-dark variant
   so the new outline-style button remains readable. Same shape, lighter color. */
.letters-newsletter-strip .newsletter-form button {
  color: var(--taupe-light);
  border-left-color: rgba(255, 253, 249, 0.2);
}
.letters-newsletter-strip .newsletter-form button:hover {
  background: var(--taupe-light);
  color: var(--dark-warm);
}

/* ============================================================
   POST GRID (tag pages, standard listing)
   ============================================================ */
.post-listing-header {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: var(--cream);
}
.post-listing-header h1 { margin: 0.5rem 0; }

.post-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
}
.post-card {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  transition: border-color 0.25s;
}
.post-card:hover { border-color: var(--taupe); }
.post-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 3/2;
}
.post-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card > div:not(.post-card-image):not(.post-card-meta) { padding: 1.5rem; }
.post-card-meta {
  padding: 1.5rem 1.5rem 0;
  font-size: 0.68rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
}
.post-card h2 { font-size: 1.15rem; font-weight: 400; margin: 0.5rem 1.5rem; line-height: 1.3; }
.post-card-excerpt { padding: 0 1.5rem 1.5rem; color: var(--mid); font-size: 0.9rem; }

/* ============================================================
   SINGLE POST / LETTER
   ============================================================ */
.post-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  max-height: 520px;
}
.post-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.post-header {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: center;
}
.post-tags {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.post-tag {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: var(--taupe-text);
}
.post-header h1 {
  font-size: var(--fs-h2);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}
.post-header .post-excerpt {
  font-size: 1.1rem;
  color: var(--mid);
  line-height: 1.6;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}
.post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: var(--taupe-light);
}

.post-divider {
  width: 48px;
  height: 1px;
  background: var(--cream-border);
  margin: 3rem auto;
}

.post-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem 6rem;
}
.post-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.post-content h2, .post-content h3 {
  margin: 2.5rem 0 1rem;
}
.post-content blockquote {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--taupe);
  background: var(--cream-mid);
}
.post-content blockquote p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--dark);
  margin: 0;
}
.post-content a { color: var(--taupe-text); text-decoration: underline; }
.post-content ul, .post-content ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
}
.post-content li { margin-bottom: 0.5rem; }

/* letter sign-off */
.post-signoff {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  border-top: 1px solid var(--cream-border);
  padding-top: 2.5rem;
}
.post-signoff p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--mid);
}

/* ============================================================
   LETTER POST (post-letter.hbs)
   Clara-style editorial: top nav, big title block, drop-cap body, sign-off, related letters
   Distinct from .post-* (used by generic post.hbs) so we can iterate independently.
   ============================================================ */
.letter-post { background: var(--cream); }

.letter-post-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.75rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.letter-post-back,
.letter-post-readtime {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, gap 0.25s var(--ease);
}
.letter-post-back:hover {
  color: var(--dark);
  gap: 0.6rem;
}

.letter-post-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  text-align: center;
}
.letter-post-header .label { margin-bottom: 1.5rem; }
.letter-post-header h1 {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0 0 1.5rem;
}
.letter-post-header h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.letter-post-standfirst {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--taupe-text);
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto 2rem;
}
.letter-post-meta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
}
.letter-post-meta .dot {
  margin: 0 0.6rem;
  color: var(--cream-border);
}

.letter-post-feature {
  max-width: var(--container);
  margin: 1.5rem auto 0;
  padding: 0 2rem;
}
.letter-post-feature img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  display: block;
}

.letter-post-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem 4rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--dark);
}
.letter-post-body > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: 4.5em;
  color: var(--taupe-soft);
  float: left;
  line-height: 0.85;
  margin: 0.25rem 0.65rem 0 0;
  padding-top: 0.05em;
}
.letter-post-body p { margin: 0 0 1.5rem; }
.letter-post-body h2 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 3rem 0 1.25rem;
}
.letter-post-body h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h4);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
}
.letter-post-body blockquote {
  position: relative;
  margin: 3rem -1rem;
  padding: 2rem 1rem;
  border: none;
  background: transparent;
}
.letter-post-body blockquote::before {
  content: "\201C";
  position: absolute;
  top: -2.5rem;
  left: -2rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(8rem, 14vw, 13rem);
  line-height: 1;
  color: var(--cream-border);
  z-index: 0;
  pointer-events: none;
}
.letter-post-body blockquote p {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--taupe-soft);
  margin: 0;
}
.letter-post-body a {
  color: var(--taupe-text);
  text-decoration: underline;
  text-decoration-color: var(--cream-border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.letter-post-body a:hover { text-decoration-color: var(--taupe); }
.letter-post-body strong { font-weight: 500; }
.letter-post-body ul, .letter-post-body ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
  padding: 0;
}
.letter-post-body li { margin-bottom: 0.5rem; }
.letter-post-body img {
  width: 100%;
  height: auto;
  margin: 2.5rem 0 0.85rem;
  display: block;
}
.letter-post-body figcaption,
.letter-post-body .kg-card-caption {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--mid);
  text-align: center;
  margin: 0 0 2.5rem;
  padding: 0 1rem;
}
.letter-post-body figure {
  margin: 0 0 2.5rem;
}
.letter-post-body figure img { margin: 2.5rem 0 0.85rem; }
.letter-post-body figure:has(figcaption) img,
.letter-post-body figure:has(.kg-card-caption) img { margin-bottom: 0.5rem; }
/* Breakout images — wide and full bleed via Ghost native classes */
.letter-post-body .kg-width-wide {
  margin: 3rem -3rem;
  max-width: calc(100% + 6rem);
}
.letter-post-body .kg-width-full {
  margin: 3rem -50vw 3rem -50vw;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
@media (max-width: 768px) {
  .letter-post-body .kg-width-wide { margin: 2rem -1.25rem; max-width: calc(100% + 2.5rem); }
}

/* Editorial horizontal rule — for section breaks inside letters.
   Centered taupe dots, not the default 1px line. */
.letter-post-body hr {
  border: none;
  height: 1.25rem;
  margin: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  text-align: center;
  position: relative;
}
.letter-post-body hr::after {
  content: "· · ·";
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.65rem;
  color: var(--taupe-soft);
  line-height: 1;
}

/* Reading progress bar — fixed at top of viewport, fills as reader scrolls
   the article. Subtle taupe accent line. JS updates the width on scroll. */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0;
  background: var(--taupe);
  transition: width 0.05s linear;
}

/* Share + Reply engagement row — sits between sign-off and subscribe strip.
   Centered, restrained, icon-only share buttons + small "Leave a reply" link. */
.letter-post-engage {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.letter-post-share {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.letter-post-share-label {
  margin: 0 0.4rem 0 0;
  color: var(--taupe-text);
}
.letter-post-share-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--cream-border);
  border-radius: 50%;
  color: var(--taupe-text);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  padding: 0;
  position: relative;
}
.letter-post-share-icon:hover {
  color: var(--dark);
  border-color: var(--taupe-soft);
}
.letter-post-share-icon svg { display: block; }
.letter-post-share-copy-feedback {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.letter-post-share-copy.is-copied .letter-post-share-copy-feedback {
  opacity: 1;
}

.letter-post-reply {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: var(--taupe-text);
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--cream-border);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.letter-post-reply:hover {
  color: var(--dark);
  border-color: var(--taupe-soft);
}

/* Visited letter indicator — subtle treatment for cards in More-from
   and Explore-other-threads sections after a letter has been read.
   JS marks cards via localStorage tracking. */
.letter-card.is-visited {
  opacity: 0.65;
}
.letter-card.is-visited:hover {
  opacity: 1;
}
.letter-card.is-visited .letter-card-label::after {
  content: " · Read";
  color: var(--taupe-soft);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.25rem;
}

.letter-post-signoff {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  text-align: center;
}
.letter-post-signoff::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--taupe);
  margin: 0 auto 2.25rem;
}
.letter-post-signoff-greeting {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--mid);
  margin: 0 0 0.35rem;
  line-height: 1;
}
.letter-post-signoff-name {
  font-family: 'Raffishly', 'Brush Script MT', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 4.25rem;
  line-height: 1;
  color: var(--taupe);
  margin: 0;
  letter-spacing: 0;
}
@media (max-width: 768px) {
  .letter-post-signoff-name { font-size: 3.4rem; }
}

.letter-post-subscribe {
  background: var(--cream-mid);
  padding: 5rem 2rem;
  text-align: center;
}
.letter-post-subscribe-inner {
  max-width: 540px;
  margin: 0 auto;
}
.letter-post-subscribe .label { margin-bottom: 1rem; }
.letter-post-subscribe h2 {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 0 0 0.85rem;
}
.letter-post-subscribe h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.letter-post-subscribe p {
  font-size: 0.95rem;
  color: var(--mid);
  margin: 0 0 1.5rem;
}

.letter-post-related {
  background: var(--cream-border);
  padding: 5rem 2rem;
}
.letter-post-related-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.letter-post-related-header {
  text-align: center;
  margin-bottom: 3rem;
}
.letter-post-related-header .label { margin-bottom: 1rem; }
.letter-post-related-header h2 {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h3); /* Match other letter-post section h2s (1.9.18 fix). Was --fs-h2. */
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 0;
}
.letter-post-related-header h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.letter-post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.letter-post-related-grid .letter-card-body {
  padding: 1.5rem 1.25rem 1.5rem;
}
.letter-post-related-grid .letter-card h3 {
  font-size: 1.3rem;
}
.letter-post-related-grid .letter-card-excerpt { display: none; }

/* ============================================================
   ABOUT PAGE (page-about.hbs)
   Mirrors Clara Marketing about-page structure block-for-block.
   ============================================================ */

.about-page { background: var(--cream); }

/* Shared placeholder pattern (used wherever Ghost custom slot is empty) */
.about-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-border) 0%, var(--cream-mid) 60%, var(--cream-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe-text);
  position: relative;
}
.about-placeholder::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid var(--taupe);
  opacity: 0.5;
}
.about-placeholder-mark {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--taupe-soft);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
.about-placeholder-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--taupe-text);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.about-placeholder-1 { background: linear-gradient(135deg, #E5E1D6 0%, #DECEB8 100%); }
.about-placeholder-2 { background: linear-gradient(135deg, #DECEB8 0%, #C7B9A9 100%); }
.about-placeholder-3 { background: linear-gradient(135deg, #474036 0%, #313330 100%); }
.about-placeholder-3 .about-placeholder-mark,
.about-placeholder-3 .about-placeholder-text { color: var(--taupe-light); }
.about-placeholder-3::before { border-color: var(--taupe-light); opacity: 0.35; }
.about-placeholder-4 { background: linear-gradient(135deg, #C7B9A9 0%, #B3A083 100%); }

/* ── 1. EDITORIAL HERO — Clara-style 2-col mosaic ────────── */
.about-hero {
  background: var(--cream);
  padding: 7rem 2rem 5rem;
}
.about-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem; /* tighter columns, like Clara */
  align-items: start;
}
.about-hero-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.about-hero-left { padding-top: 0; } /* align with right col portrait top */
.about-hero-right { padding-top: 0; }

.about-hero-left .label {
  margin-bottom: 0;
}

.about-hero-greeting {
  font-family: var(--font-heading);
  font-weight: 400; /* Clara H1 weight */
  font-size: var(--fs-h1); /* canonical Clara H1 */
  line-height: 1em;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0;
}
.about-hero-greeting em {
  font-style: italic;
  color: var(--taupe-soft);
}

.about-hero-intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem; /* Match all hero intros across pages (1.9.18 fix). Was var(--fs-body). */
  line-height: 1.7;
  color: var(--mid);
  max-width: 38ch;
  margin: 0;
}

.about-hero-square {
  /* Class name retained for back-compat — actual aspect is now tall portrait per Clara */
  position: relative;
  aspect-ratio: 3 / 4; /* tall portrait, matches Clara's left photo */
  width: 100%;
  max-width: 560px;
  margin-top: 0.5rem;
  overflow: hidden;
  background: var(--cream-mid);
}
.about-hero-square img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-hero-square .about-placeholder {
  position: absolute;
  inset: 0;
}

.about-hero-portrait {
  position: relative;
  aspect-ratio: 2 / 3; /* taller like Clara */
  width: 100%;
  max-width: 580px; /* bumped */
  overflow: hidden;
  background: var(--cream-mid);
  /* margin-left: 0 (default) — flush-left so photo aligns with H2 below it */
}
.about-hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-hero-portrait .about-placeholder {
  position: absolute;
  inset: 0;
}
/* Remove the faint inner border on hero placeholders — clean photo crop look */
.about-hero-square .about-placeholder::before,
.about-hero-portrait .about-placeholder::before {
  display: none;
}

.about-hero-headline {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h3); /* canonical H3 — sub-mosaic positioning sentence */
  line-height: 1.28; /* tighter editorial wrap */
  letter-spacing: -0.022em;
  color: var(--dark);
  max-width: 36ch;
  margin: 0;
}

.about-hero-para {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body); /* canonical body */
  line-height: 1.7;
  color: var(--mid);
  max-width: 42ch;
  margin: 0;
}
.about-hero-para-italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-body); /* unified with body */
  color: var(--taupe-text);
  margin-top: 0.5rem;
}

/* Right-col copy is flush-left under the portrait photo */
.about-hero-right .about-hero-headline,
.about-hero-right .about-hero-para { margin-left: 0; }

/* ── 2-5. PROSE BLOCKS (alternating bg by reverse class) ─── */
.about-prose {
  background: var(--cream-border); /* default = darker — Operator + Builder */
  padding: 6rem 2rem;
}
.about-prose.about-prose-reverse {
  background: var(--cream); /* lighter — Founder + Practitioner */
}

.about-prose-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-prose-reverse .about-prose-inner {
  grid-template-columns: 1fr 1.1fr;
}
.about-prose-reverse .about-prose-image {
  order: 2;
}
.about-prose-reverse .about-prose-text {
  order: 1;
}

.about-prose-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-border);
}
.about-prose-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-prose-text .label {
  margin-bottom: 1.25rem;
}
.about-prose-h {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h3); /* canonical H3 */
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.about-prose-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 1.1rem;
  max-width: 56ch;
}
.about-prose-text p:last-child { margin-bottom: 0; }
.about-prose-text a {
  color: var(--taupe);
  border-bottom: 1px solid var(--taupe);
  transition: color 0.2s, border-color 0.2s;
}
.about-prose-text a:hover {
  color: var(--dark);
  border-color: var(--dark);
}

/* ── 5. CREDENTIALS / TRUST STRIP — REMOVED ──────────────── */
/* Section dropped on 1.0.68. Body prose carries the stature work. */

/* ── 6. WHAT I BELIEVE — voice rotator — REMOVED ─────────── */
/* Section dropped on 1.0.69. Body prose carries the philosophy work. */

/* ── 7. CLOSING — 3-up CTAs ──────────────────────────────── */
.about-closing {
  background: var(--cream-mid);
  padding: 6rem 2rem;
}
.about-closing-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.about-closing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.about-closing-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h2); /* canonical — Clara kit-2938 H2 */
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--dark);
}
.about-closing-title em { font-style: italic; color: var(--taupe-soft); }

.about-closing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.about-closing-cards-3up {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-closing-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem; /* tighter — was 3rem 2.5rem */
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-top: 3px solid var(--taupe);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.about-closing-card:hover {
  transform: translateY(-4px);
  border-color: var(--taupe);
  box-shadow: 0 16px 40px -28px rgba(49, 51, 48, 0.35);
}
.about-closing-card .label { margin-bottom: 0.85rem; }
.about-closing-card h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem); /* tighter — was clamp(1.6rem, 2.4vw, 2.1rem) */
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 1rem;
}
.about-closing-card p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.about-closing-cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, gap 0.2s var(--ease);
}
.about-closing-card:hover .about-closing-cta {
  color: var(--dark);
  gap: 0.7rem;
}

/* ── 8. INSTAGRAM STRIP ──────────────────────────────────── */
.about-ig {
  background: var(--cream);
  padding: 5.5rem 0 0;
}
.about-ig-inner {
  max-width: 100%;
}
.about-ig-header {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 2rem;
}
.about-ig-title {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h2);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--dark);
}
.about-ig-title em { font-style: italic; color: var(--taupe-soft); }

.about-ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  background: var(--cream-mid);
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--cream-border) 0%, var(--cream-mid) 50%, var(--taupe-light) 100%);
}
.ig-tile:nth-child(1) .ig-tile-placeholder { background: linear-gradient(135deg, #E5E1D6, #DECEB8); }
.ig-tile:nth-child(2) .ig-tile-placeholder { background: linear-gradient(135deg, #F2EFE8, #C7B9A9); }
.ig-tile:nth-child(3) .ig-tile-placeholder { background: linear-gradient(135deg, #DECEB8, #B3A083); }
.ig-tile:nth-child(4) .ig-tile-placeholder { background: linear-gradient(135deg, #FFFDF9, #E5E1D6); }
.ig-tile:nth-child(5) .ig-tile-placeholder { background: linear-gradient(135deg, #C7B9A9, #8B6F4D); }
.ig-tile:nth-child(6) .ig-tile-placeholder { background: linear-gradient(135deg, #E5E1D6, #C7B9A9); }
.ig-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(49, 51, 48, 0);
  transition: background 0.3s var(--ease);
}
.ig-tile:hover::after { background: rgba(49, 51, 48, 0.18); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cream-border);
  padding: 5rem 2rem 2.5rem;
  color: var(--dark);
}
.site-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.6fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand {
  text-align: left;
}
/* Override header-style typography on the fallback text logo so it aligns visually with body copy below */
.footer-brand .site-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dark);
  display: block;
  width: fit-content;
  margin: 0 0 1rem 0;
  padding: 0;
  text-indent: 0;
}
.footer-brand .site-logo img {
  display: block;
  margin: 0 0 0 -16px; /* compensate for 40px transparent padding in source PNG (scales to ~16px at 28px display height) */
  padding: 0;
}
.footer-brand .site-logo .site-logo-text {
  display: block;
  margin: 0;
  padding: 0;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--mid);
  max-width: 280px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  text-indent: 0;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--taupe-text);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--dark); }

.footer-bottom {
  border-top: 1px solid rgba(49, 51, 48, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--taupe-text);
  margin: 0;
}
.footer-bottom a {
  color: var(--taupe-text);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--dark); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe-text);
  border: 1px solid var(--taupe-text);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.footer-social a:hover {
  color: var(--cream);
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* ============================================================
   CONTACT PAGE (page-contact.hbs) — Clara 2-col layout in our palette
   ============================================================ */
.contact-page {
  background: var(--cream);
}

.contact-section {
  padding: 6rem 0 7rem;
  background: var(--cream);
}
.contact-section-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
}

/* ── LEFT COL — TEXT BLOCK ──────────────────────────────── */
.contact-textblock {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem; /* visual top-align with first form row */
}
.contact-textblock .label {
  margin-bottom: 0;
}
.contact-headline {
  font-family: var(--font-heading);
  font-weight: 400; /* Canonical H1 weight (1.9.27 lock — was 200 from earlier Clara H2 era). */
  font-size: var(--fs-h1); /* Canonical H1 size (1.9.27 lock — was --fs-h2). */
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0;
}
.contact-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.contact-intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem; /* Match canonical hero intro size (1.9.27 lock — was 0.92rem). */
  line-height: 1.75;
  color: var(--mid);
  max-width: 440px;
  margin: 0.5rem 0 0;
}

/* Direct channels (email, etc.) — Clara-style icon + link rows */
.contact-channels {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-form); /* canonical, matches form */
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.contact-channel:hover {
  color: var(--dark);
}
.contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--taupe);
  border-radius: 999px;
  color: var(--taupe);
  flex-shrink: 0;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-channel:hover .contact-channel-icon {
  color: var(--white);
  background: var(--taupe);
  border-color: var(--taupe);
}
.contact-channel-text {
  /* keep underline-free, color carries the link affordance */
}

/* ── RIGHT COL — FORM BLOCK ─────────────────────────────── */
.contact-formblock {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row {
  display: block;
}
.contact-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-field {
  position: relative;
  width: 100%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-form); /* canonical Clara form text */
  line-height: 1.4;
  color: var(--dark);
  background: transparent;
  border: 1px solid var(--taupe);
  border-radius: 999px; /* pill — Clara fidelity */
  padding: 0.9rem 1.5rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--dark);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--mid);
  opacity: 0.7;
}
.contact-form textarea {
  resize: vertical;
  min-height: 11rem;
  border-radius: 1.5rem; /* large rounded corners on the message box — Clara has soft rounding, not full pill */
  padding: 1.05rem 1.5rem;
  font-family: var(--font-body);
}
.contact-form select {
  /* custom chevron arrow — replaces native */
  background-image: linear-gradient(45deg, transparent 50%, var(--taupe) 50%),
                    linear-gradient(135deg, var(--taupe) 50%, transparent 50%);
  background-position: calc(100% - 1.4rem) calc(50% + 2px),
                       calc(100% - 1.05rem) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
  cursor: pointer;
  color: var(--mid); /* match placeholder treatment until value chosen */
}
.contact-form select:valid {
  color: var(--dark);
}
.contact-form select:focus {
  background-image: linear-gradient(45deg, transparent 50%, var(--dark) 50%),
                    linear-gradient(135deg, var(--dark) 50%, transparent 50%);
}

/* Honeypot — keep off-screen so bots see/fill it but humans don't */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ── SUBMIT BUTTON — Clara-style pill outline ───────────── */
.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-btn); /* canonical 14px — Clara button */
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
  border: 1px solid var(--taupe);
  border-radius: 999px; /* Contained override of site-wide square-button rule, scoped to .contact-submit */
  padding: 1.1rem 2.5rem;
  min-width: 220px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.contact-submit:hover {
  background: var(--taupe);
  color: var(--white);
  border-color: var(--taupe);
}
.contact-submit[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.contact-form-error {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #B33A2A; /* warm muted red — coordinates with taupe palette */
  margin: 0;
}

/* ── INLINE THANK-YOU ───────────────────────────────────── */
.contact-thanks {
  background: var(--cream-mid);
  border: 1px solid var(--cream-border);
  border-radius: 1.5rem; /* softer than the form pills, matches the message box */
  padding: 2.75rem 2.5rem;
  text-align: left;
}
.contact-thanks .label {
  margin-bottom: 1rem;
}
.contact-thanks-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin: 0 0 1.25rem;
}
.contact-thanks-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.contact-thanks-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--mid);
  margin: 0 0 1.5rem;
  max-width: 520px;
}
/* Sign-off (1.9.27): mirrors the letter post sign-off pattern — italic Butler
   greeting on one line, Raffishly cursive name on its own line. Visual
   continuity between letter posts and inline thank-you blocks. */
.contact-thanks-signoff-greeting,
.wwm-thanks-signoff-greeting {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--mid);
  margin: 0 0 0.25rem;
  line-height: 1;
}
.contact-thanks-signoff-name,
.wwm-thanks-signoff-name {
  font-family: 'Raffishly', 'Brush Script MT', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  color: var(--taupe);
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}
@media (max-width: 768px) {
  .contact-thanks-signoff-name,
  .wwm-thanks-signoff-name { font-size: 2.5rem; }
}

.contact-thanks-sig {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--dark);
  margin: 0;
}
.contact-thanks-sig em {
  font-style: italic;
  color: var(--taupe-soft);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-section-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-textblock {
    padding-top: 0;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .contact-section { padding: 4.5rem 0 5rem; }
  .contact-row-2 { grid-template-columns: 1fr; gap: 1rem; }
  .contact-form { gap: 1rem; }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form select { padding: 0.85rem 1.35rem; }
  .contact-form textarea { min-height: 9.5rem; padding: 0.95rem 1.35rem; }
  .contact-submit { width: 100%; min-width: 0; }
  .contact-submit-row { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .contact-thanks { padding: 2.25rem 1.75rem; }
}

@media (max-width: 480px) {
  .contact-section { padding: 3.5rem 0 4.5rem; }
  .contact-thanks { padding: 2rem 1.5rem; }
}

/* ============================================================
   WORK WITH ME PAGE (page-work-with-me.hbs)
   ============================================================ */
.wwm-page {
  background: var(--cream);
}

/* ── 1. HERO ────────────────────────────────────────────── */
.wwm-hero {
  background: var(--cream);
  padding: 7rem 0 4rem;
  text-align: left;
}
.wwm-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 760px;
}
.wwm-hero .label {
  margin-bottom: 0;
}
.wwm-hero-title {
  font-family: var(--font-heading);
  font-weight: 400; /* Canonical Clara H1 weight (1.9.17 fix). */
  font-size: var(--fs-h1); /* Canonical Clara H1 size (1.9.18 fix). Was --fs-h2. */
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0;
}
.wwm-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.wwm-hero-intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem; /* Match all hero intros across pages (1.9.18 fix). Was 0.92rem. */
  line-height: 1.75;
  color: var(--mid);
  max-width: 540px;
  margin: 0.5rem 0 0;
}

/* ── 2 + 3. TRACK SECTIONS (AI, JEWELRY) ────────────────── */
.wwm-track {
  padding: 5rem 0 6rem;
}
.wwm-track-ai     { background: var(--cream-mid); }
.wwm-track-jewelry { background: var(--cream); border-top: 1px solid var(--cream-border); }

.wwm-track-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.wwm-track-header {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wwm-track-header .label {
  margin-bottom: 0;
}
.wwm-track-title {
  font-family: var(--font-heading);
  font-weight: 300; /* Section H2 weight per typography-rules.md (1.9.27 lock — was 200). */
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0;
}
.wwm-track-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.wwm-track-intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mid);
  margin: 0;
}

/* Offer cards — 3-up grid */
.wwm-offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.wwm-offer {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-top: 3px solid var(--taupe);
  padding: 2.25rem 1.85rem 2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wwm-track-jewelry .wwm-offer {
  background: var(--cream-mid);
}
.wwm-offer:hover {
  transform: translateY(-4px);
  border-color: var(--taupe);
  box-shadow: 0 18px 44px -28px rgba(49, 51, 48, 0.35);
}
.wwm-offer .label {
  margin-bottom: 0.85rem;
}
.wwm-offer-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--dark);
  margin: 0 0 1rem;
}
.wwm-offer-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--mid);
  margin: 0 0 1.5rem;
}

.wwm-offer-meta {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--cream-border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wwm-offer-meta li {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--taupe-text);
}
.wwm-offer-meta li:last-child {
  font-weight: 500;
  color: var(--dark);
}

.wwm-offer-cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, gap 0.2s var(--ease);
}
.wwm-offer:hover .wwm-offer-cta {
  color: var(--dark);
  gap: 0.7rem;
}

/* Custom mention — quiet line below each track's offers */
.wwm-track-custom {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mid);
  max-width: 640px;
  margin: 0;
  font-style: italic;
}
.wwm-track-custom a {
  color: var(--taupe);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s var(--ease);
}
.wwm-track-custom a:hover {
  color: var(--dark);
}

/* ── 4. INQUIRY FORM SECTION ────────────────────────────── */
.wwm-inquire {
  padding: 6rem 0 7rem;
  background: var(--cream-mid);
  scroll-margin-top: 6rem; /* offset for sticky header when anchor-linked */
}
.wwm-inquire-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: start;
}

.wwm-inquire-textblock {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}
.wwm-inquire-textblock .label {
  margin-bottom: 0;
}
.wwm-inquire-title {
  font-family: var(--font-heading);
  font-weight: 300; /* Section H2 weight per typography-rules.md (1.9.27 lock — was 200). */
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin: 0;
}
.wwm-inquire-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--taupe-soft);
}
.wwm-inquire-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem; /* Match canonical hero intro size (1.9.27 lock — was 0.92rem). */
  line-height: 1.75;
  color: var(--mid);
  max-width: 440px;
  margin: 0;
}

.wwm-inquire-formblock { width: 100%; }

.wwm-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.wwm-row { display: block; }
.wwm-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.wwm-field {
  position: relative;
  width: 100%;
}

.wwm-form input[type="text"],
.wwm-form input[type="email"],
.wwm-form select,
.wwm-form textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-form);
  line-height: 1.4;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid var(--taupe);
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.wwm-form input:focus,
.wwm-form select:focus,
.wwm-form textarea:focus {
  border-color: var(--dark);
}
.wwm-form input::placeholder,
.wwm-form textarea::placeholder {
  color: var(--mid);
  opacity: 0.7;
}
.wwm-form textarea {
  resize: vertical;
  min-height: 9.5rem;
  border-radius: 1.5rem;
  padding: 1.05rem 1.5rem;
}
.wwm-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--taupe) 50%),
                    linear-gradient(135deg, var(--taupe) 50%, transparent 50%);
  background-position: calc(100% - 1.4rem) calc(50% + 2px),
                       calc(100% - 1.05rem) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
  cursor: pointer;
  color: var(--mid);
}
.wwm-form select:valid { color: var(--dark); }
.wwm-form select:focus {
  background-image: linear-gradient(45deg, transparent 50%, var(--dark) 50%),
                    linear-gradient(135deg, var(--dark) 50%, transparent 50%);
}

.wwm-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wwm-submit-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.wwm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-btn);
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
  border: 1px solid var(--taupe);
  border-radius: 999px;
  padding: 1.1rem 2.5rem;
  min-width: 220px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.wwm-submit:hover {
  background: var(--taupe);
  color: var(--white);
  border-color: var(--taupe);
}
.wwm-submit[disabled] { opacity: 0.55; cursor: progress; }

.wwm-form-error {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #B33A2A;
  margin: 0;
}

/* Inline thank-you */
.wwm-thanks {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: 1.5rem;
  padding: 2.75rem 2.5rem;
  text-align: left;
}
.wwm-thanks .label { margin-bottom: 1rem; }
.wwm-thanks-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin: 0 0 1.25rem;
}
.wwm-thanks-title em { font-style: italic; font-weight: 400; color: var(--taupe-soft); }
.wwm-thanks-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--mid);
  margin: 0 0 1.5rem;
  max-width: 520px;
}
.wwm-thanks-sig {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--dark);
  margin: 0;
}
.wwm-thanks-sig em { font-style: italic; color: var(--taupe-soft); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wwm-offers { grid-template-columns: repeat(2, 1fr); }
  .wwm-inquire-inner { grid-template-columns: 1fr; gap: 3rem; }
  .wwm-inquire-textblock { padding-top: 0; max-width: 600px; }
}

@media (max-width: 768px) {
  .wwm-hero { padding: 5rem 0 3rem; }
  .wwm-track { padding: 3.5rem 0 4.5rem; }
  .wwm-inquire { padding: 4rem 0 5rem; }
  .wwm-track-inner { gap: 2.25rem; }
  .wwm-offers { grid-template-columns: 1fr; gap: 1rem; }
  .wwm-offer { padding: 1.85rem 1.5rem 1.65rem; }
  .wwm-row-2 { grid-template-columns: 1fr; gap: 1rem; }
  .wwm-form { gap: 1rem; }
  .wwm-form input[type="text"],
  .wwm-form input[type="email"],
  .wwm-form select { padding: 0.85rem 1.35rem; }
  .wwm-form textarea { min-height: 8.5rem; padding: 0.95rem 1.35rem; }
  .wwm-submit { width: 100%; min-width: 0; }
  .wwm-submit-row { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .wwm-thanks { padding: 2.25rem 1.75rem; }
}

@media (max-width: 480px) {
  .wwm-hero { padding: 4rem 0 2.5rem; }
  .wwm-thanks { padding: 2rem 1.5rem; }
}

/* ============================================================
   /shreya-ai/ — CANONICAL THREAD PAGE (1.7.0)
   6 sections, 3-tone color cycling, reuses .letter-card / .label / .btn / .letters-newsletter-strip.
   This template will be copied + adapted for /business/ and /lifestyle/.
   ============================================================ */

/* ── Shared: section heads + foot ───────────────────────────── */
.shreyai-section-head {
  max-width: 720px;
  margin: 0 auto 2.25rem;
  text-align: center;
}
.shreyai-section-head .label { margin-bottom: 1rem; }
.shreyai-section-head h2 {
  margin-bottom: 1.15rem;
  color: var(--dark);
}
.shreyai-section-head h2 em {
  font-style: italic;
  color: var(--taupe-soft);
}
.shreyai-section-sub {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--mid);
  max-width: 540px;
  margin: 0 auto;
}
.shreyai-section-foot {
  margin-top: 3rem;
  text-align: center;
}

/* ── 1. HERO ────────────────────────────────────────────────── */
.shreyai-hero {
  background: var(--cream);
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--cream-border);
}
.shreyai-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.shreyai-hero-content .label { margin-bottom: 1.5rem; }
.shreyai-hero-headline {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  color: var(--dark);
}
.shreyai-hero-headline em {
  font-style: italic;
  color: var(--taupe-soft);
}
.shreyai-hero-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--mid);
  margin-bottom: 2.25rem;
  max-width: 30rem;
}
.shreyai-hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ── 1b. HERO DIAGRAM (inline SVG) ──────────────────────────── */
.shreyai-hero-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: 100%;
  max-width: 480px;
}
.shreyai-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 35px rgba(139, 111, 77, 0.08));
}

/* Concentric decorative rings */
.shreyai-svg-ring {
  fill: none;
  stroke: var(--cream-border);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  opacity: 0.85;
}

/* Connector lines (operator → chiefs, chiefs → subs) */
.shreyai-svg-line {
  stroke: var(--taupe-soft);
  stroke-width: 1.25;
  opacity: 0.7;
}
.shreyai-svg-line--sub {
  stroke: var(--taupe-light);
  stroke-width: 1;
  opacity: 0.55;
}

/* Sub-agent dots */
.shreyai-svg-sub {
  fill: var(--taupe);
  opacity: 0.85;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  transform-origin: center;
  transform-box: fill-box;
}
.shreyai-svg-sub:hover { opacity: 1; transform: scale(1.25); }

/* Chief nodes */
.shreyai-svg-chief {
  fill: var(--taupe-soft);
  stroke: var(--cream);
  stroke-width: 3;
  filter: drop-shadow(0 3px 6px rgba(139, 111, 77, 0.3));
}

/* Operator center */
.shreyai-svg-operator {
  fill: var(--dark-warm);
  stroke: var(--cream);
  stroke-width: 3;
}
.shreyai-svg-operator-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18rem;
  fill: var(--cream);
  text-transform: uppercase;
}

/* Chief labels */
.shreyai-svg-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22rem;
  fill: var(--taupe-text);
  text-transform: uppercase;
}

/* Caption under diagram */
.shreyai-hero-diagram-caption {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18rem;
  color: var(--taupe-text);
  text-transform: uppercase;
}
.shreyai-hero-diagram-caption strong {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--taupe-soft);
  letter-spacing: 0;
  margin-right: 0.25rem;
  vertical-align: -2px;
}
.shreyai-hero-diagram-dot {
  color: var(--taupe-light);
  font-size: var(--fs-body);
}

/* ── 2. THE THINKING (cream-mid) ────────────────────────────── */
.shreyai-thinking {
  background: var(--cream-mid);
  padding: 4.5rem 0;
}
.shreyai-thinking-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.shreyai-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.shreyai-pillar {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  padding: 2.5rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.shreyai-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--taupe-soft);
  box-shadow: 0 12px 30px rgba(139, 111, 77, 0.07);
}
.shreyai-pillar-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
  color: var(--taupe-soft);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.shreyai-pillar-label {
  margin: 0 !important;
}
.shreyai-pillar-text {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h5);
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.shreyai-pillar-text em {
  font-style: italic;
  color: var(--taupe-soft);
}
.shreyai-pillar-cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  color: var(--taupe-text);
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.shreyai-pillar:hover .shreyai-pillar-cta { color: var(--taupe); }

/* ── 3. SCRATCHPAD (cream-border) ───────────────────────────── */
.shreyai-scratchpad {
  background: var(--cream-border);
  padding: 4.5rem 0;
}
.shreyai-scratchpad-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.shreyai-scratchpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.shreyai-scratchpad-grid .scratchpad-card {
  background: var(--cream);
}
.shreyai-scratchpad-grid .scratchpad-card .letter-card-image { aspect-ratio: 4/5; }
.shreyai-scratchpad-grid .scratchpad-card .letter-card-body { padding: 1.5rem 1.4rem 1.65rem; }
.shreyai-scratchpad-grid .scratchpad-card .letter-card-label {
  background: var(--taupe-soft);
  color: var(--cream);
  padding: 0.25rem 0.65rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22rem;
}
.shreyai-scratchpad-grid .scratchpad-card .letter-card-label::before { display: none; }
.shreyai-scratchpad-grid .scratchpad-card h3 {
  font-size: var(--fs-h5);
  margin-top: 0.85rem;
}

/* Scratchpad placeholder gradients (rotate across 3 tones for visual interest) */
.shreyai-scratchpad-grid .scratchpad-card:nth-child(3n+1) .letter-card-placeholder {
  background: linear-gradient(135deg, #E5DDD0 0%, #C7B9A9 100%);
}
.shreyai-scratchpad-grid .scratchpad-card:nth-child(3n+2) .letter-card-placeholder {
  background: linear-gradient(135deg, #DECEB8 0%, #A88B65 100%);
}
.shreyai-scratchpad-grid .scratchpad-card:nth-child(3n+3) .letter-card-placeholder {
  background: linear-gradient(135deg, #B89F7E 0%, #7A6350 100%);
}

/* Empty state when 0 scratchpad posts published */
.scratchpad-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--cream);
  border: 1px dashed var(--cream-border);
}
.scratchpad-empty-state-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-h4);
  color: var(--dark);
  margin-bottom: 0.85rem;
}
.scratchpad-empty-state-sub {
  font-size: var(--fs-body);
  color: var(--mid);
  max-width: 480px;
  margin: 0 auto 1.85rem;
  line-height: 1.65;
}

/* ── 4. FREE RESOURCES (cream-mid) ──────────────────────────── */
.shreyai-resources {
  background: var(--cream-mid);
  padding: 4.5rem 0;
}
.shreyai-resources-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.shreyai-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.shreyai-resource-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.shreyai-resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(139, 111, 77, 0.09);
}
.shreyai-resource-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--cream-mid);
}
.shreyai-resource-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  position: relative;
}
.shreyai-resource-card-placeholder-1 {
  background: linear-gradient(135deg, #B89F7E 0%, #8B6F4D 100%);
}
.shreyai-resource-card-placeholder-2 {
  background: linear-gradient(135deg, #A88B65 0%, #7A6350 100%);
}
.shreyai-resource-card-placeholder-3 {
  background: linear-gradient(135deg, #DECEB8 0%, #A88B65 100%);
}
.shreyai-resource-mark {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 4rem;
  color: var(--cream);
  opacity: 0.92;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.shreyai-resource-card-body {
  padding: 1.85rem 1.65rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  border-top: 1px solid var(--cream-border);
}
.shreyai-resource-card-body .label { margin: 0 !important; }
.shreyai-resource-card-body h3 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--fs-h5);
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.shreyai-resource-card-body h3 em {
  font-style: italic;
  color: var(--taupe-soft);
}
.shreyai-resource-card-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--mid);
  margin-bottom: 0.5rem;
}
.shreyai-resource-card-cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22rem;
  color: var(--taupe-text);
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.shreyai-resource-card:hover .shreyai-resource-card-cta { color: var(--taupe); }

/* ── 5. BUILD WITH ME (cream) ───────────────────────────────── */
.shreyai-build {
  background: var(--cream);
  padding: 4.5rem 0 5rem;
}
.shreyai-build-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.shreyai-section-head--center { text-align: center; }
.shreyai-build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.shreyai-build-card {
  background: var(--cream-mid);
  padding: 3rem 2.5rem 2.85rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cream-border);
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.shreyai-build-card:hover {
  transform: translateY(-3px);
  border-color: var(--taupe-soft);
}
.shreyai-build-card--accent {
  background: var(--cream);
  border-color: var(--cream-border);
}
.shreyai-build-card--accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--taupe-soft);
}
.shreyai-build-card-label {
  margin-bottom: 1.1rem !important;
}
.shreyai-build-card--accent .shreyai-build-card-label {
  color: var(--taupe) !important;
}
.shreyai-build-card-title {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: var(--fs-h3);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 1rem;
}
.shreyai-build-card-title em {
  font-style: italic;
  color: var(--taupe-soft);
}
.shreyai-build-card-desc {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--mid);
  margin-bottom: 1.5rem;
}
.shreyai-build-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.shreyai-build-card-list li {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--mid);
  padding-left: 1.1rem;
  position: relative;
}
.shreyai-build-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5rem;
  height: 1px;
  background: var(--taupe-soft);
}
.shreyai-build-card .btn { margin-top: auto; align-self: flex-start; }

/* ── JEWELRY-FOUNDER MODIFIERS ──────────────────────────────────
   Two modifier classes added in 1.8.0 to support /jewelry-founder/.
   Reuses shreyAI's canonical .shreyai-* class system; only the deltas
   from shreyAI (single-col hero, 4-pillar grid, inline cross-link) need
   new CSS. Everything else inherits unchanged. */

/* Text-led hero: drops the right-column SVG, centers content in a single col.
   Used on /jewelry-founder/ where no diagram earns its place. */
.shreyai-hero--text-only .shreyai-hero-inner {
  grid-template-columns: 1fr;
  max-width: 760px;
  gap: 0;
}
.shreyai-hero--text-only .shreyai-hero-content { text-align: left; }
.shreyai-hero--text-only .shreyai-hero-intro { max-width: none; }

/* 4-pillar grid: 2x2 on desktop, centered for visual focus.
   shreyAI uses 3x2 for 6 pillars. KEPT as a modifier for future thread pages
   that may need fewer pillars, but /jewelry-founder/ moved back to 3x2 grid
   when Section 2 was reframed as the Decisions Framework (6 cards). */
.shreyai-pillar-grid--four {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin: 0 auto;
  gap: 1.25rem;
}

/* Static pillar modifier — for non-clickable framework cards.
   Used on /jewelry-founder/ Section 2 where each card is a self-contained
   tactical decision answer (no link-out). Neutralizes the hover lift that
   the clickable shreyAI pillars use. */
.shreyai-pillar--static {
  cursor: default;
}
.shreyai-pillar--static:hover {
  transform: none;
  border-color: var(--cream-border);
  box-shadow: none;
}

/* Pillar answer paragraph — the 2-3 sentence tactical answer on each
   Decisions Framework card. Subtler than .shreyai-pillar-text (which
   holds the decision question with italic punch). */
.shreyai-pillar-answer {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--mid);
  margin-top: 0.5rem;
}
.shreyai-pillar-answer a {
  color: var(--taupe-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.3s var(--ease);
}
.shreyai-pillar-answer a:hover { color: var(--taupe); }

/* Inline link inside .shreyai-section-sub — used for the cross-link
   from /jewelry-founder/ → /shreya-ai/ in Section 2 sub-line. */
.shreyai-inline-link {
  color: var(--taupe-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.shreyai-inline-link:hover { color: var(--taupe); }

/* Section 6 newsletter on /shreya-ai/ AND /jewelry-founder/ reuses the
   .letters-newsletter-strip pattern from /letters/ — same dark-warm bg, same
   parallax JS, same form button styling — but each thread pulls its photo
   from its own Ghost Page (`shreyai-newsletter-bg`, `jewelry-founder-newsletter-bg`)
   so each thread page can have its own photo. */

/* ── RESPONSIVE: shreyAI (compressed 1.7.13) ─────────────── */
@media (max-width: 1024px) {
  .shreyai-hero { padding: 3.5rem 0 3rem; }
  .shreyai-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .shreyai-hero-diagram { max-width: 420px; }
  .shreyai-hero-content { text-align: left; }

  .shreyai-thinking,
  .shreyai-scratchpad,
  .shreyai-resources,
  .shreyai-build { padding: 3.25rem 0; }
  .shreyai-section-head { margin-bottom: 1.85rem; }

  .shreyai-pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .shreyai-resources-grid { grid-template-columns: repeat(2, 1fr); }
  .shreyai-scratchpad-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .shreyai-hero { padding: 2.5rem 0 2.25rem; }
  .shreyai-hero-headline { font-size: var(--fs-h2); }
  .shreyai-hero-intro { font-size: 0.95rem; max-width: none; }
  .shreyai-hero-diagram { max-width: 320px; }
  .shreyai-hero-actions { gap: 0.55rem; }

  .shreyai-section-head { margin-bottom: 1.5rem; }
  .shreyai-thinking,
  .shreyai-scratchpad,
  .shreyai-resources,
  .shreyai-build { padding: 2.25rem 0; }

  .shreyai-pillar-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .shreyai-pillar { padding: 1.65rem 1.4rem 1.5rem; }

  .shreyai-scratchpad-grid { grid-template-columns: 1fr; gap: 1rem; }
  .shreyai-resources-grid { grid-template-columns: 1fr; gap: 1rem; }

  .shreyai-build-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .shreyai-build-card { padding: 1.85rem 1.65rem 1.75rem; }
}

@media (max-width: 480px) {
  .shreyai-hero { padding: 2rem 0 1.75rem; }
  .shreyai-hero-inner { padding: 0 1.25rem; }
  .shreyai-hero-diagram-caption {
    font-size: 0.65rem;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .shreyai-hero-diagram-caption strong { font-size: 1.1rem; }

  .shreyai-thinking-inner,
  .shreyai-scratchpad-inner,
  .shreyai-resources-inner,
  .shreyai-build-inner { padding: 0 1.25rem; }

  .shreyai-thinking,
  .shreyai-scratchpad,
  .shreyai-resources,
  .shreyai-build { padding: 1.85rem 0; }

  .shreyai-pillar { padding: 1.5rem 1.25rem 1.4rem; }
}

/* ============================================================
   GHOST NATIVE CARDS
   ============================================================ */
.kg-width-wide { margin: 2rem -2rem; }
.kg-width-full { margin: 2rem -9999px; padding: 0 9999px; }

.kg-image-card img { width: 100%; border-radius: 0; }

.kg-gallery-container { display: flex; flex-direction: column; gap: 0.5rem; }
.kg-gallery-row { display: flex; gap: 0.5rem; }
.kg-gallery-image { flex: 1; overflow: hidden; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }

.kg-toggle-card {
  border: 1px solid var(--cream-border);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.kg-toggle-heading {
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kg-toggle-content { display: none; padding-top: 1rem; color: var(--mid); }
.kg-toggle-card[open] .kg-toggle-content { display: block; }

.kg-callout-card {
  padding: 1.5rem;
  background: var(--cream-mid);
  border-left: 3px solid var(--taupe);
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
}
.pagination a, .pagination span {
  font-size: 0.75rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--cream-border);
  color: var(--dark);
  transition: border-color 0.2s, background 0.2s;
  border-radius: 999px;
}
.pagination a:hover { border-color: var(--taupe); background: var(--taupe); color: var(--white); }
.pagination .page-number { border: none; color: var(--mid); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  /* Mobile-style nav from tablet-down (6 items don't fit cleanly under 1024) */
  .site-nav { display: none; }
  .btn-subscribe { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content {
    max-width: 100%;
    margin: 0;
    padding: 5rem 2rem 3rem;
    text-align: center;
    align-items: center;
  }
  .hero-image { height: 60vw; min-height: 320px; }
  .hero-image img { mask-image: none; -webkit-mask-image: none; height: 100%; }

  .home-meet-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .home-meet-text {
    grid-column: 1 / -1;
    max-width: 640px;
    margin: 0 auto 1rem;
    text-align: left;
  }
  .home-meet-main { aspect-ratio: 4/5; }
  .home-meet-secondary { aspect-ratio: 1/1; }
  .home-meet-badge {
    width: 130px; height: 130px;
    top: -4rem; right: -4rem;
  }

  .home-shreya-ai-inner { grid-template-columns: 1fr; gap: 3rem; }
  .home-resource-grid { grid-template-columns: 1fr; min-height: auto; }
  .home-resource-image { aspect-ratio: 4/3; }
  .home-resource-content { padding: 4rem 2rem; max-width: 100%; }
  .home-shreya-ai-image { aspect-ratio: 4/3; }

  .home-write-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .home-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .showcase-grid .showcase-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }

  .letters-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── LETTERS LISTING — tablet (≤1024) ─────────────────────── */
  .letters-featured-row { padding: 0; }
  .letters-featured-row-inner { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .letters-featured-card-overlay { padding: 1.25rem 1rem; }
  .letters-head { padding: 3.5rem 1.5rem 0; }
  .letters-main { padding: 0.25rem 1.5rem 3rem; }
  .letters-main-inner { grid-template-columns: 1fr; gap: 3rem; }
  .letters-sidebar { position: static; flex-direction: row; gap: 1.5rem; }
  .letters-sidebar-block { flex: 1; }
  .letters-newsletter-strip { padding: 4rem 1.5rem; }

  /* ── LETTER POST — tablet (≤1024) ─────────────────────────── */
  .letter-post-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .letter-post-related-grid .letter-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  /* ── ABOUT PAGE — tablet (≤1024) ─────────────────────────── */
  .about-hero { padding: 6rem 2rem 3rem; }
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-hero-left,
  .about-hero-right { padding-top: 0; }
  .about-hero-square {
    max-width: 480px;
    margin-left: 0;
  }
  .about-hero-portrait {
    max-width: 480px;
    margin-left: 0;
  }
  .about-hero-headline,
  .about-hero-para { margin-left: 0; max-width: 56ch; }

  .about-prose { padding: 4.5rem 2rem; }
  .about-prose-inner,
  .about-prose-reverse .about-prose-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-prose-reverse .about-prose-image { order: 1; }
  .about-prose-reverse .about-prose-text { order: 2; }
  .about-prose-image { aspect-ratio: 16 / 9; max-height: 60vh; }

  .about-closing { padding: 4.5rem 2rem; }
  .about-closing-cards-3up { grid-template-columns: 1fr; gap: 1rem; }

  .about-ig-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer 5-col → 3-col at 1024: brand spans full, link cols in row, newsletter spans full below */
  .site-footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  .footer-newsletter-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Header: simplify to logo + hamburger only — hide search and subscribe button on mobile (still in mobile menu) */
  .site-header-inner {
    grid-template-columns: 1fr auto;
    padding: 0 1.25rem;
    gap: 1rem;
  }
  .search-trigger { display: none; }

  /* H1/H2 sizing handled by clamp() in base styles — don't override here */

  .home-write-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-grid { grid-template-columns: 1fr; }
  .ai-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Compress section padding on mobile — tight vertical, modest horizontal */
  .home-welcome, .home-meet, .home-pillars, .home-write, .home-stats,
  .home-letters-slider, .home-showcase, .home-shreya-ai, .home-resource,
  .home-workwithme { padding: 2.75rem 1.25rem; }
  .footer-newsletter { padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
  .footer-bottom { justify-content: center; text-align: center; }

  /* Showcase: 1-col on mobile, tighter card images */
  .showcase-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .showcase-grid .showcase-card:nth-child(3) { grid-column: auto; max-width: 100%; margin: 0; }
  .showcase-card-image { aspect-ratio: 4/3; }
  .showcase-header { margin-bottom: 2rem; }

  /* Three Threads: tighter card images so cards aren't ridiculously tall */
  .home-write-grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-write-header { margin-bottom: 2rem; }
  .write-card-image { aspect-ratio: 4/3; }

  /* Stats: tighter spacing */
  .home-stats-quote { margin-bottom: 2rem; }

  /* Meet section: badge peeks slightly outside top-right corner of photo */
  .home-meet-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-meet-main { aspect-ratio: 4/5; overflow: visible; position: relative; }
  .home-meet-main img,
  .home-meet-main .home-meet-placeholder { border-radius: 0; }
  /* Wrap image in clipping container so the photo stays clipped while badge can overhang */
  .home-meet-secondary { aspect-ratio: 4/3; max-width: 75%; margin-left: auto; }
  .home-meet-badge {
    width: 84px; height: 84px;
    top: -1rem; right: -0.75rem;
    z-index: 5;
  }

  /* Resource section: tighter image + content */
  .home-resource-image { aspect-ratio: 4/3; }
  .home-resource-content { padding: 2.5rem 1.25rem; }

  /* shreyAI section: tighter image */
  .home-shreya-ai-image { aspect-ratio: 4/3; }

  /* Hero on mobile: exactly viewport-tall, content anchored at bottom-left, all left-aligned */
  .hero {
    height: 100dvh;
    min-height: 580px;
  }
  .hero-content {
    padding: 6rem 1.5rem 3.5rem;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
  }
  .hero-content h1, .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
    line-height: 1.02;
    max-width: 18ch;
    text-align: left;
  }
  .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.28rem; margin: 0 0 1rem; text-align: left; }
  .hero-sub { font-size: 0.95rem; line-height: 1.55; max-width: 30ch; margin: 0 0 1.5rem; text-align: left; }
  .hero-actions { gap: 0.65rem; justify-content: flex-start; }
  .hero-actions .btn { padding: 0.7rem 1rem; font-size: 0.7rem; }
  .hero-scroll-indicator { display: none; }
  /* Counter middle-right edge — vertically centered, vertical pills */
  .hero-slider-counter {
    flex-direction: column;
    top: 50%;
    left: auto;
    right: 1rem;
    bottom: auto;
    transform: translateY(-50%);
    gap: 0.4rem;
    z-index: 4;
  }
  .hero-slider-num { width: 28px; height: 28px; font-size: 0.7rem; }

  /* Disable scroll-reveal transitions on hero content — eliminates the lag when slides change */
  .hero-content .scroll-reveal,
  .hero-content .scroll-reveal-delay-1,
  .hero-content .scroll-reveal-delay-2,
  .hero-content .scroll-reveal-delay-3 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Near-instant slide cross-fade on mobile — eliminates the perceived lag */
  .hero.hero-ready .hero-slide {
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  /* Section 10: img element + JS parallax. Scrim lightened so photo reads through. */
  .home-workwithme.has-image {
    min-height: 70vh;
    min-height: 70dvh;
    padding: 5rem 1.5rem;
  }
  .home-workwithme.has-image .workwithme-scrim {
    background:
      linear-gradient(135deg, rgba(49, 51, 48, 0.42) 0%, rgba(71, 64, 54, 0.52) 100%);
  }
  .workwithme-bg {
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
  }

  /* Hero buttons: scroll-reveal opacity glitches on mobile when slides change.
     Force visible on whichever slide is active. */
  .hero-slide.is-active .hero-actions,
  .hero-slide.is-active .hero-eyebrow,
  .hero-slide.is-active .hero-title,
  .hero-slide.is-active .hero-sub {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Letters slider: 2 cards per view on mobile, smaller text/padding so they fit */
  .letters-slider-track { gap: 1rem; padding-left: 1.25rem; padding-right: 1.25rem; }
  .letter-card { flex: 0 0 calc(50% - 0.5rem); min-width: 0; }
  .letter-card-body { padding: 1.1rem 1rem 1.1rem; gap: 0.6rem; }
  .letter-card h3 { font-size: 1.05rem; line-height: 1.2; }
  .letter-card-excerpt { font-size: 0.82rem; line-height: 1.5; }
  .letter-card-label { font-size: 0.6rem; letter-spacing: 0.24rem; }
  .letter-card-read { font-size: 0.62rem; letter-spacing: 0.18rem; }

  /* Slider nav: keep "All Letters" button and arrows on one line */
  .letters-slider-nav {
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .letters-slider-nav .btn {
    white-space: nowrap;
    padding: 0.65rem 1rem;
    font-size: 0.65rem;
  }
  .letters-slider-arrows { gap: 0.5rem; }
  .letters-slider-prev,
  .letters-slider-next { width: 36px; height: 36px; }

  .newsletter-form { flex-direction: column; border-radius: 1.5rem; }
  .newsletter-form input[type="email"] { border-right: 1px solid var(--cream-border); border-bottom: none; }
  .newsletter-form button { width: 100%; }

  .site-footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .post-header { padding: 3rem 1.5rem 1.5rem; }
  .post-content { padding: 0 1.5rem 4rem; }

  /* ── LETTERS LISTING — mobile (≤768) ──────────────────────── */
  .letters-featured-row {
    padding: 0;
    overflow: hidden;
  }
  .letters-featured-row-inner {
    grid-template-columns: none;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .letters-featured-row-inner::-webkit-scrollbar { display: none; }
  .letters-featured-slot {
    flex: 0 0 88%;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
  }
  .letters-featured-card-overlay { padding: 1.25rem 1rem; }
  .letters-head { padding: 2.75rem 1.25rem 0; }
  .letters-main { padding: 0.25rem 1.25rem 3rem; }
  .letters-main-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .letters-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .letters-sidebar { flex-direction: column; gap: 1.5rem; }
  .letters-sidebar-block { padding: 1.5rem 1.25rem; }
  .letters-newsletter-strip { padding: 3rem 1.25rem; }

  /* Override the 1-card-wide listing card from inheriting tight slider styles above */
  .letters-grid .letter-card-body { padding: 1.6rem 1.25rem 1.6rem; gap: 0.85rem; }
  .letters-grid .letter-card-excerpt { display: block; }

  /* ── LETTER POST — mobile (≤768) ─────────────────────────── */
  .letter-post-nav { padding: 1.25rem 1.5rem 0; }
  .letter-post-header { padding: 2.5rem 1.5rem 2rem; }
  .letter-post-standfirst { font-size: 1.05rem; }
  .letter-post-feature { padding: 0 1.5rem; }
  .letter-post-body { padding: 2.5rem 1.5rem; font-size: 16px; }
  .letter-post-body > p:first-of-type::first-letter { font-size: 3.8em; }
  .letter-post-body blockquote { margin: 2rem -0.5rem; }
  .letter-post-body blockquote p { font-size: 1.3rem; }
  .letter-post-body blockquote::before { font-size: clamp(6rem, 22vw, 9rem); top: -1.5rem; left: -1rem; }
  .letter-post-signoff { padding: 1rem 1.5rem 4rem; }
  .letter-post-subscribe { padding: 3.5rem 1.5rem; }
  .letter-post-related { padding: 3.5rem 1.25rem; }
  .letter-post-related-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .letter-post-related-grid .letter-card:nth-child(3) {
    max-width: none;
    margin: 0;
  }

  /* ── ABOUT PAGE — mobile (≤768) ──────────────────────────── */
  .about-hero { padding: 5rem 1.25rem 2.5rem; }
  .about-hero-inner { gap: 2rem; }
  .about-hero-col { gap: 1.25rem; }
  .about-hero-greeting { font-size: clamp(2rem, 9vw, 2.6rem); }
  .about-hero-headline {
    font-size: clamp(1.2rem, 4.6vw, 1.55rem);
    line-height: 1.4;
  }
  .about-hero-intro,
  .about-hero-para { font-size: 0.95rem; line-height: 1.65; }
  .about-hero-square { max-width: 360px; }
  .about-hero-portrait { max-width: 320px; }

  .about-prose { padding: 3.5rem 1.25rem; }
  .about-prose-image { aspect-ratio: 4 / 3; }
  .about-prose-h { font-size: clamp(1.4rem, 5vw, 1.75rem); }
  .about-prose-text p { font-size: 0.95rem; line-height: 1.7; }

  .about-closing { padding: 4rem 1.25rem; }
  .about-closing-cards { grid-template-columns: 1fr; gap: 1rem; }
  .about-closing-card { padding: 2rem 1.5rem; }
  .about-closing-header { margin-bottom: 2.5rem; }

  .about-ig { padding-top: 4rem; }
  .about-ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .quote-rotator-text { font-size: 1.25rem; }

  /* Letter cards already 2-up via 768px breakpoint — keep that, just slightly tighten body */
  .letter-card-body { padding: 1rem 0.85rem 1rem; gap: 0.5rem; }
  .letter-card h3 { font-size: 0.95rem; }
  .letter-card-excerpt { display: none; }  /* hide excerpt at smallest sizes for breathing room */

  /* Listing-grid cards: tighter padding on smallest phones, keep canonical type */
  .letters-grid .letter-card-body { padding: 1.4rem 1.1rem 1.5rem; }
  .letters-grid .letter-card-excerpt::before { font-size: 4.5em; }

  /* Showcase cards body padding */
  .showcase-card-body { padding: 1.6rem 1.4rem 1.7rem; }
  .showcase-card h3 { font-size: 1.35rem; }

  /* Section 9 image mark scaling */
  .home-shreya-ai-image { aspect-ratio: 1/1; }

  /* Section 10 reduce parallax padding */
  .home-workwithme { padding: 6rem 1.5rem; }

  /* Footer column padding tighter */
  .site-footer { padding: 4rem 1.5rem 2rem; }
  .footer-newsletter-col h4 { margin-top: 0.5rem; }

  /* About — smallest phones */
  .about-ig-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 360px) {
  /* Ultra-narrow: 320-360px viewports */
  .letter-card { flex: 0 0 240px; }
  .showcase-card h3, .letter-card h3 { font-size: 1.25rem; }
  .home-pillars, .home-meet, .home-write, .home-stats,
  .home-letters-slider, .home-showcase, .home-shreya-ai, .home-resource,
  .home-workwithme { padding: 4rem 1.25rem; }
}
