/* ==========================================================================
   Gina Handerhan — Farmhouse Journal
   Warm cream · antique white · sage · dusty rose · natural brown · burgundy
   ========================================================================== */
:root {
  --cream: #f5eedf;
  --antique: #fbf8f1;
  --paper: #efe5d1;
  --sage: #8c9c7e;
  --sage-deep: #5d6d52;
  --sage-soft: #dfe3d3;
  --rose: #c49690;
  --rose-soft: #efdcd5;
  --brown: #8a6a4f;
  --brown-deep: #5a4332;
  --ink: #3a2e26;
  --muted: #7a6a5c;
  --burgundy: #7a2e3b;
  --burgundy-deep: #5f2230;
  --line: rgba(90, 67, 50, .2);
  --line-soft: rgba(90, 67, 50, .12);
  --line-strong: rgba(90, 67, 50, .4);
  --rose-wash: rgba(196, 150, 144, .18);
  --btn-bg: #5d6d52;
  --btn-text: #fbf8f1;
  --btn-hover: #5a4332;
  --footer-bg: #5a4332;
  --footer-text: #e4dcd2;
  --footer-line: rgba(251, 248, 241, .2);
  --shadow-rgb: 58, 46, 38;
  --shadow: 0 1px 2px rgba(var(--shadow-rgb), .06), 0 8px 24px -12px rgba(var(--shadow-rgb), .25);
  --display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --body: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --script: 'Homemade Apple', 'Segoe Script', cursive;
  --wrap: 1180px;
  --radius: 4px;
  --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream) var(--paper-tex);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--burgundy-deep); }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; color: var(--brown-deep); margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--paper); padding: .1em .35em; border-radius: 3px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }

/* ---------- Type accents ---------- */
.kicker {
  font-family: var(--body); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: .8rem;
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { color: var(--burgundy); }
.script { font-family: var(--script); color: var(--rose); font-size: 1.15rem; line-height: 1.6; margin-bottom: .4rem; transform: rotate(-2deg); display: inline-block; }
.lede { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.lede p:last-child { margin-bottom: 0; }

.flourish { color: var(--rose); display: flex; justify-content: center; margin: .2rem auto 1.1rem; }
.flourish-svg { width: 200px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--body); font-size: .95rem; font-weight: 600; letter-spacing: .04em;
  background: var(--btn-bg); color: var(--btn-text); border: 1px solid var(--btn-bg);
  padding: .8em 1.5em; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-text); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--brown-deep); border-color: var(--brown); }
.btn-ghost:hover { background: var(--brown-deep); color: var(--antique); }
.btn-amazon { background: var(--burgundy); border-color: var(--burgundy); color: var(--antique); }
.btn-amazon:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); color: var(--antique); }
.btn-lg { font-size: 1.08rem; padding: 1em 2em; }
.btn-sm { font-size: .82rem; padding: .55em 1.1em; }
.btn-block { width: 100%; }
.btn.is-disabled, .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.4rem 0 0; }
.btn-row.center { justify-content: center; }
.card-media, .printable-thumb, .book-promo-cover, .hero-art a { text-decoration: none; }
.btn-row .ph-inline { order: 99; margin-top: 0; }
.btn-row + .small { margin-top: 1.4rem; }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- Placeholders ---------- */
.ph {
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background: var(--antique) var(--paper-tex); border: 1px dashed var(--line-strong); color: var(--sage);
  border-radius: var(--radius); overflow: hidden; text-align: center; padding: 1rem;
}
.ph::after { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line-soft); border-radius: 2px; pointer-events: none; }
.ph-sprig { width: 38px; height: 52px; opacity: .8; }
.ph-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 22ch; }
.ph-note {
  display: flex; gap: .7rem; align-items: flex-start; border: 1px dashed var(--rose); background: var(--rose-wash);
  padding: 1rem 1.2rem; border-radius: var(--radius); color: var(--brown-deep); font-size: .95rem; font-style: italic;
}
.ph-note .icon { color: var(--rose); margin-top: .2em; }
.ph-inline { display: block; width: 100%; font-size: .8rem; font-style: italic; color: var(--muted); margin-top: .45rem; }
.badges { margin: .6rem 0 0; display: flex; gap: .4rem; flex-wrap: wrap; justify-content: inherit; }
.article-head .badges { justify-content: center; }
.badge { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px; border: 1px solid; font-weight: 600; }
.badge-example { color: var(--brown); border-color: var(--line-strong); background: var(--antique); }
.badge-draft { color: var(--burgundy); border-color: var(--rose); background: var(--rose-soft); }
.preview-bar { background: var(--burgundy); color: var(--antique); text-align: center; font-size: .85rem; padding: .4rem; letter-spacing: .05em; }

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.arch, .arch .ph, .photo.arch { border-radius: 999px 999px var(--radius) var(--radius); }
.ph.arch::after { border-radius: 999px 999px 2px 2px; }
.arch-soft { border-radius: 160px 160px var(--radius) var(--radius); }
.round { border-radius: 50% !important; }
.ph.round::after { border-radius: 50%; }
.captioned { margin: 0; }
figcaption { font-size: .88rem; font-style: italic; color: var(--muted); text-align: center; margin-top: .6rem; }
.deco { position: absolute; color: var(--sage); opacity: .75; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: relative; background: var(--antique) var(--paper-tex); border-bottom: 1px solid var(--line); }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; border-bottom: 1px solid var(--line); }
.masthead { display: flex; justify-content: center; align-items: center; padding: 1.7rem 0 1.1rem; position: relative; }
.brand { text-decoration: none; text-align: center; display: inline-flex; flex-direction: column; align-items: center; color: var(--brown-deep); }
.brand:hover { color: var(--brown-deep); }
.brand-kicker { font-family: var(--script); font-size: .9rem; color: var(--rose); line-height: 1.4; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1; letter-spacing: .02em; }
.brand-tag { margin-top: .55rem; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sage-deep); }
.brand.small .brand-name { font-size: 2rem; }
.menu-toggle { display: none; }

.main-nav { border-top: 1px solid var(--line); }
.main-nav > ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: .85rem .95rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-deep); text-decoration: none; transition: color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--burgundy); }
.main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rose); }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: .2rem; }
.sub-toggle { background: none; border: 0; color: var(--brown); cursor: pointer; padding: .4rem .5rem .4rem 0; display: flex; }
.sub-toggle .icon { width: .95em; height: .95em; }
.sub {
  list-style: none; margin: 0; padding: .6rem 0; position: absolute; top: 100%; left: 0; min-width: 250px; z-index: 30;
  background: var(--antique); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.sub a { text-transform: none; letter-spacing: .02em; font-size: .98rem; font-weight: 400; padding: .45rem 1.2rem; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.tight { padding-top: 2rem; }
.tinted { background: var(--paper) var(--paper-tex); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2.6rem; }
.section-head.center { text-align: center; }
.section-head h2 { margin-bottom: .2rem; }
.section-intro { max-width: 60ch; margin: 0 auto; color: var(--muted); }
.more { margin-top: 2.6rem; }
.empty { text-align: center; font-style: italic; color: var(--muted); padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--antique); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); margin-bottom: .35em; }
.hero .lede { font-size: 1.3rem; max-width: 40ch; }
.hero-art { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero-art > .photo, .hero-art > .ph { box-shadow: 0 0 0 10px var(--antique), 0 0 0 11px var(--line), var(--shadow); }
.hero-art .deco-1 { width: 90px; height: 120px; left: -60px; bottom: 30px; transform: rotate(-18deg); }
.hero-art .deco-2 { width: 60px; height: 60px; right: -28px; top: 40px; color: var(--rose); }

/* ---------- Welcome ---------- */
.welcome { padding-bottom: clamp(3rem, 6vw, 5rem); }
.welcome-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 980px; }
.polaroid { background: var(--antique); padding: 14px 14px 46px; box-shadow: var(--shadow); transform: rotate(-3deg); border: 1px solid var(--line); }
.signature { font-family: var(--script); font-size: 1.6rem; color: var(--burgundy); margin: .2rem 0 1rem; }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--antique); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card:hover .photo img { transform: scale(1.03); }
.card-media { display: block; padding: 10px 10px 0; }
.card-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: .5em; flex-wrap: wrap; margin-bottom: .6rem; }
.cat-link { color: var(--sage-deep); font-weight: 600; text-decoration: none; }
.card-title { font-size: 1.55rem; margin-bottom: .45rem; }
.card-title a { color: var(--brown-deep); text-decoration: none; background: linear-gradient(var(--rose), var(--rose)) 0 100% / 0 1px no-repeat; transition: background-size .35s; }
.card-title a:hover { background-size: 100% 1px; }
.card-excerpt { color: var(--muted); font-size: .98rem; margin: 0; }
.card-lg .card-title { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.card-sm { flex-direction: row; }
.card-sm .card-media { width: 42%; flex: none; padding: 10px 0 10px 10px; }
.card-sm .card-media .photo, .card-sm .card-media .ph { height: 100%; aspect-ratio: auto !important; min-height: 150px; }
.card-sm .card-title { font-size: 1.3rem; }
.card-sm .card-excerpt { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.6rem; }
.featured-side { display: grid; gap: 1.6rem; align-content: start; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem; }
.lead-post { margin-bottom: 2rem; }
.lead-post .card-lg { display: grid; grid-template-columns: 1.3fr 1fr; }
.lead-post .card-lg .card-media { padding: 10px; }
.lead-post .card-lg .card-body { justify-content: center; padding: 2rem 2.4rem; }

/* ---------- Category tiles & chips ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.4rem 1.8rem; text-decoration: none;
  background: var(--antique); border: 1px solid var(--line); border-radius: var(--radius); position: relative; transition: transform .3s, box-shadow .3s; }
.cat-tile::before { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line-soft); pointer-events: none; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); margin-bottom: 1rem; }
.cat-icon .icon { width: 28px; height: 28px; }
.cat-img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 1rem; border: 3px solid var(--antique); box-shadow: 0 0 0 1px var(--line); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--brown-deep); line-height: 1.15; }
.cat-tag { font-size: .95rem; font-style: italic; color: var(--muted); margin-top: .3rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; padding-bottom: 1rem; }
.chips a { font-size: .85rem; padding: .45em 1.05em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--brown-deep); background: var(--antique); transition: all .2s; }
.chips a:hover { border-color: var(--sage-deep); color: var(--sage-deep); }
.chips a[aria-current="page"] { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--antique); }

/* ---------- Book band ---------- */
.book-band { background: var(--rose-soft) var(--paper-tex); border-block: 1px solid var(--line); position: relative; }
.book-band-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 1000px; }
.book-cover { box-shadow: 0 2px 4px rgba(var(--shadow-rgb), .12), 0 22px 40px -18px rgba(var(--shadow-rgb), .55); border-radius: 2px 6px 6px 2px; }
.ph.book-cover { background-color: var(--antique); }
.book-sub { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--burgundy); margin-top: -.3rem; }
.book-meta { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; }

/* ---------- Panels ---------- */
.two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.panel { background: var(--antique); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.panel-body { padding: 1.6rem 1.4rem 1.2rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 4 220px; column-gap: 1.2rem; }
.gallery.small { columns: 2 200px; margin: 2rem 0; }
.g-item { break-inside: avoid; margin: 0 0 1.2rem; background: var(--antique); padding: 8px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .05); }
.g-item:nth-child(3n+1) { transform: rotate(-.6deg); }
.g-item:nth-child(3n+2) { transform: rotate(.5deg); }

/* ---------- Newsletter ---------- */
.newsletter { padding: clamp(3.5rem, 7vw, 5rem) 0; background: var(--sage-soft) var(--paper-tex); border-top: 1px solid var(--line); }
.nl-icon { width: 64px; height: 48px; color: var(--sage-deep); margin: 0 auto .4rem; display: block; }
.nl-form { display: flex; gap: .6rem; max-width: 480px; margin: 1.4rem auto 0; }
.nl-form input { flex: 1; }
input, textarea { font: inherit; color: var(--ink); background: var(--antique); border: 1px solid var(--line-strong); border-radius: 999px; padding: .75em 1.2em; width: 100%; }
textarea { border-radius: 12px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
label { display: block; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-deep); font-weight: 600; margin-bottom: .35rem; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.cat-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.cat-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.cat-hero-grid.no-image { grid-template-columns: 1fr; text-align: center; max-width: 760px; }
.cat-hero .kicker .icon { margin-right: .3em; }

/* ---------- Article ---------- */
.article { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.article-head h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.article-meta { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article-feature { max-width: 1060px; margin-block: 2rem 2.6rem; }
.article-feature > .photo, .article-feature .ph { box-shadow: var(--shadow); }
.prose { font-size: 1.12rem; line-height: 1.8; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: 2.1rem; margin: 2.2em 0 .5em; }
.prose h3 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--rose); }
.prose ol li::marker { color: var(--sage-deep); font-weight: 600; }
.prose blockquote { margin: 2em 0; padding: 1.2em 1.6em; border-left: 3px solid var(--rose); background: var(--rose-wash); font-family: var(--display); font-size: 1.35rem; font-style: italic; line-height: 1.5; color: var(--brown-deep); }
.prose blockquote p:last-child { margin: 0; }
.prose blockquote strong { font-style: normal; }
.prose hr { border: 0; height: 24px; margin: 2.5em auto; background: var(--rose); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M10 12h55M95 12h55'/%3E%3Ccircle cx='80' cy='12' r='4'/%3E%3Ccircle cx='70' cy='12' r='1.5'/%3E%3Ccircle cx='90' cy='12' r='1.5'/%3E%3C/g%3E%3C/svg%3E") center / 160px 24px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath d='M10 12h55M95 12h55'/%3E%3Ccircle cx='80' cy='12' r='4'/%3E%3Ccircle cx='70' cy='12' r='1.5'/%3E%3Ccircle cx='90' cy='12' r='1.5'/%3E%3C/g%3E%3C/svg%3E") center / 160px 24px no-repeat; }
.prose img { border-radius: var(--radius); }
.article-figure { margin: 2.2em -2rem; }
.article-figure .ph { aspect-ratio: 4/3; }
.article-body > p:first-of-type::first-letter { font-family: var(--display); float: left; font-size: 4.4em; line-height: .85; padding: .06em .12em 0 0; color: var(--burgundy); font-weight: 600; }
.article-body > blockquote:first-child + p::first-letter { font-family: var(--display); float: left; font-size: 4.4em; line-height: .85; padding: .06em .12em 0 0; color: var(--burgundy); font-weight: 600; }
.article-body > blockquote:first-child { font-family: var(--body); font-size: .98rem; font-style: normal; border: 1px dashed var(--rose); border-left: 3px solid var(--rose); }

/* Share, author, prev/next */
.share { display: flex; align-items: center; gap: .5rem; padding: 1.4rem 0; margin-top: 2.5rem; border-block: 1px solid var(--line); flex-wrap: wrap; }
.share-label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--sage-deep); margin-right: .4rem; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--brown-deep); background: var(--antique); cursor: pointer; position: relative; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--sage-deep); color: var(--antique); border-color: var(--sage-deep); }
.copied { position: absolute; top: -2rem; font-size: .75rem; background: var(--ink); color: #fff; padding: .2rem .5rem; border-radius: 3px; white-space: nowrap; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 1.4rem; align-items: center; margin: 2.5rem 0; padding: 1.6rem; background: var(--antique); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box h2 { font-size: 1.6rem; margin-bottom: .2rem; }
.author-box p { margin-bottom: .4rem; color: var(--muted); }
.author-box .kicker { margin-bottom: .2rem; }
.author-box .ph-label { display: none; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.pn { display: flex; flex-direction: column; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--antique); transition: border-color .2s, transform .2s; }
.pn:hover { border-color: var(--rose); transform: translateY(-2px); }
.pn-next { text-align: right; }
.pn-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; }
.pn-title { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--brown-deep); line-height: 1.25; margin-top: .2rem; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; font-size: .95rem; color: var(--muted); }
.pagination a { font-weight: 600; text-decoration: none; }

/* Book promo box */
.book-promo { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; padding: 2rem; background: var(--rose-soft) var(--paper-tex); border: 1px solid var(--line); border-radius: var(--radius); margin: 2.5rem 0; }
.book-promo h3 { font-size: 2rem; margin-bottom: 0; }
.book-promo h3 a { color: var(--brown-deep); text-decoration: none; }
.book-promo .book-sub { font-size: 1.3rem; margin-bottom: .6rem; }
.book-promo.compact { grid-template-columns: 130px 1fr; padding: 1.5rem; }
.book-promo .ph-label { font-size: .62rem; }

/* ---------- About ---------- */
.about-hero { padding: clamp(3rem, 7vw, 5rem) 0; }
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { position: relative; }
.about-photo > .photo, .about-photo > .ph { box-shadow: 0 0 0 10px var(--antique), 0 0 0 11px var(--line), var(--shadow); }
.about-photo .deco-1 { width: 80px; height: 110px; right: -40px; bottom: -10px; transform: rotate(16deg); z-index: 2; }
.about-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1040px; }
.about-section.flip > :first-child { order: 2; }

/* ---------- Book page ---------- */
.book-hero { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--rose-soft) var(--paper-tex); border-bottom: 1px solid var(--line); }
.book-hero-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 1060px; }
.book-hero h1 { margin-bottom: .1em; }
.book-hero .book-sub { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.byline { font-family: var(--script); color: var(--brown); font-size: 1.1rem; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.2rem; }
.pill-list li { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--sage-deep); border: 1px solid var(--sage); padding: .35em .9em; border-radius: 999px; background: var(--antique); }
.btn-row.big { margin-top: 1.8rem; }
.book-about { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: 1080px; }
.details-card { background: var(--antique); border: 1px solid var(--line); padding: 1.8rem; border-radius: var(--radius); position: sticky; top: 1.5rem; }
.details-card h3 { font-size: 1.6rem; }
.details-card dl { margin: 0 0 1.4rem; }
.details-card dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; margin-top: .8rem; }
.details-card dd { margin: .1rem 0 0; }
.details-card .ph-inline { text-align: center; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.theme { background: var(--antique); border: 1px solid var(--line); padding: 1.8rem 1.5rem; text-align: center; border-radius: var(--radius); }
.theme-icon { width: 30px; height: 40px; color: var(--sage); margin: 0 auto .6rem; }
.theme h3 { margin-bottom: .3rem; }
.theme p { margin: 0; color: var(--muted); font-size: .98rem; }
.inspiration .prose { font-family: var(--display); font-size: 1.5rem; line-height: 1.55; font-style: italic; color: var(--brown-deep); }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 2.4rem; border: 1px solid var(--line); background: var(--antique); border-radius: var(--radius); outline: 1px solid var(--line); outline-offset: 5px; }
.cta-band h2 { margin-bottom: .2rem; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-band .btn-row { margin: 0; }

/* ---------- Series ---------- */
.series-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.series-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.series-hero-grid > .photo, .series-hero-grid > .ph { max-width: 380px; justify-self: center; box-shadow: 0 0 0 10px var(--antique), 0 0 0 11px var(--line), var(--shadow); }
.days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.day > a, .day > div { height: 100%; min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .4rem; padding: 1.1rem .8rem; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--antique); position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; }
.day > a::before, .day > div::before { content: ''; position: absolute; inset: 5px; border: 1px solid var(--line-soft); pointer-events: none; }
.day.is-open > a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rose); }
.day.is-locked > div { background: transparent; border-style: dashed; color: var(--muted); }
.day-num { font-family: var(--display); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--burgundy); display: flex; flex-direction: column; }
.day-num small { font-family: var(--body); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; margin-bottom: .2rem; }
.day.is-locked .day-num { color: var(--rose); opacity: .7; }
.day-title { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--brown-deep); line-height: 1.2; }
.day.is-locked .day-title { font-family: var(--body); font-style: italic; font-weight: 400; font-size: .85rem; color: var(--muted); }
.day-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 2px; }
.day-img img { width: 100%; height: 100%; object-fit: cover; }
.day-badge { display: inline-flex; flex-direction: column; align-items: center; font-family: var(--display); font-size: 3.4rem; font-weight: 600; line-height: 1; color: var(--burgundy); border: 1px solid var(--rose); border-radius: 50%; width: 120px; height: 120px; justify-content: center; margin: 0 auto 1rem; background: var(--antique); outline: 1px solid var(--line); outline-offset: 4px; }
.day-badge small { font-family: var(--body); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); font-weight: 600; }

/* ---------- Printables ---------- */
.printable-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.8rem; }
.printable-card { background: var(--antique); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 1.3rem; display: flex; flex-direction: column; gap: 1rem; transition: transform .3s, box-shadow .3s; }
.printable-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.printable-card h3 { font-size: 1.35rem; margin-bottom: 0; }
.printable-card h3 a { color: var(--brown-deep); text-decoration: none; }
.printable-card > div { padding: 0 .4rem; }
.printable-card .kicker { margin-bottom: .3rem; font-size: .7rem; }
.printable-card .btn-row { margin-top: 1rem; }
.printable-thumb .photo { background: #fff; border: 1px solid var(--line); }
.printable-thumb .photo img { object-fit: contain; }
.printable-detail { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.print-sheet .photo { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.print-sheet .photo img { object-fit: contain; }
.tips-card { margin-top: 3rem; padding: 1.8rem 2rem; background: var(--antique); border: 1px dashed var(--line); border-radius: var(--radius); font-size: 1rem; }
.tips-card h3 { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-form { background: var(--antique); border: 1px solid var(--line); padding: 2rem; border-radius: var(--radius); margin-bottom: 2rem; }
.contact-card { text-align: center; }
.contact-email a { font-family: var(--display); font-size: 1.8rem; text-decoration: none; }
.admin-steps { text-align: left; max-width: 520px; margin: 2.5rem auto 1.5rem; padding: 1.5rem 1.5rem 1.5rem 3rem; background: var(--antique); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-steps li { margin-bottom: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 3rem 0 1.5rem; font-size: .95rem; }
.site-footer .flourish { color: var(--rose); opacity: .8; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: var(--antique); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding: 1rem 0 2rem; }
.site-footer h3 { color: var(--antique); font-size: 1.3rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .brand-name { color: var(--antique); }
.footer-brand p { margin: .6rem 0 1rem; font-style: italic; }
.social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--footer-line); border-radius: 50%; transition: background .2s; }
.social a:hover { background: var(--footer-line); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--footer-line); padding-top: 1.3rem; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* ---------- Gentle reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .days { grid-template-columns: repeat(4, 1fr); }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .book-about { grid-template-columns: 1fr; }
  .details-card { position: static; }
}
@media (max-width: 880px) {
  .masthead { justify-content: space-between; padding: 1rem 0; }
  .brand { align-items: flex-start; text-align: left; }
  .brand-kicker { font-size: .72rem; }
  .brand-name { font-size: 2rem; }
  .brand-tag { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font: inherit; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-deep); cursor: pointer; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; padding: .5rem 0 1rem; }
  .main-nav a { padding: .75rem 1.25rem; font-size: .85rem; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { padding: .75rem 1.25rem; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--paper); width: 100%; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .hero-grid, .welcome-grid, .featured-grid, .two-panels, .book-band-grid, .cat-hero-grid, .about-grid, .about-section, .book-hero-grid, .series-hero-grid, .printable-detail, .lead-post .card-lg { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-art { max-width: 340px; }
  .hero-art .deco-1 { left: -30px; }
  .welcome-grid { text-align: center; }
  .polaroid { max-width: 260px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .book-band-cover, .book-hero-cover { max-width: 260px; margin: 0 auto; width: 100%; }
  .about-section.flip > :first-child { order: 0; }
  .about-photo { max-width: 360px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-figure { margin-inline: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .days { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .cat-tile { padding: 1.4rem .8rem; }
  .cat-name { font-size: 1.3rem; }
  .cat-tag { font-size: .85rem; }
  .themes { grid-template-columns: 1fr; }
  .card-sm { flex-direction: column; }
  .card-sm .card-media { width: auto; padding: 10px 10px 0; }
  .card-sm .card-media .photo, .card-sm .card-media .ph { aspect-ratio: 4/3 !important; min-height: 0; }
  .book-promo, .book-promo.compact { grid-template-columns: 1fr; text-align: center; }
  .book-promo-cover { max-width: 160px; margin: 0 auto; }
  .book-promo .btn-row { justify-content: center; }
  .prev-next { grid-template-columns: 1fr; }
  .pn-next { text-align: left; }
  .nl-form { flex-direction: column; }
  .author-box { grid-template-columns: 72px 1fr; padding: 1.2rem; }
  .cta-band { padding: 1.6rem; }
  .prose { font-size: 1.06rem; }
}

/* ---------- Print ---------- */
@media print {
  @page { margin: .4in; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .newsletter, .share, .prev-next, .author-box, .chips, .btn, .btn-row, .no-print, .preview-bar, .book-promo, .skip { display: none !important; }
  a { color: #000; text-decoration: none; }
  .section, .article, .page-head { padding: 0 !important; }
  .printable-detail { display: block; }
  .print-sheet .photo { border: 0; box-shadow: none; aspect-ratio: auto !important; height: 100vh; }
  .print-sheet .photo img { width: 100%; height: 100%; object-fit: contain; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
