/* Self-hosted Google Fonts (SIL Open Font License), latin subset. Made by tools/get_fonts.mjs */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/cinzel-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("/fonts/eb-garamond-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/eb-garamond-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/source-serif-4-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* The Abundance Studio - warm black + gold, lamp-lit walnut (user reference: dark library, walnut table, espresso,
   cream + gold two-line serif titles). */
:root {
  --night: #0b0a09;
  --night-2: #110f0c;
  --espresso: #15110d;
  --espresso-2: #1b1611;
  --navy: #16130f;
  --glow: #2a2118;
  --footer: #070605;
  --display: "Source Serif 4", "EB Garamond", Georgia, serif;
  --gold-grad: linear-gradient(180deg, #f7e4ad 0%, #e2bb6c 48%, #b8893d 100%);
  --line-n: rgba(238, 208, 145, 0.22);
  --gold: #eed091;
  --gold-2: #d0ae6e;
  --cream: #f3ecdf;
  --cream-2: #ebe1cf;
  --copper: #a9663a;
  --ink: #1d1a16;
  --ink-2: #4a443b;
  --line-p: rgba(29, 26, 22, 0.16);
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --wrap: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 1.125rem/1.6 var(--serif); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 450; font-optical-sizing: auto; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.012em; text-wrap: balance; }
.display { font-weight: 500; line-height: 1.06; color: var(--cream); filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55)); }
.gold-line { display: block; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead, .short, .hook { text-wrap: pretty; }
[tabindex="-1"]:focus { outline: none; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--night); padding: 0.5em 1em; z-index: 99; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); position: relative; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mt { margin-top: 2.5rem; }
.kicker { font: 500 0.78rem/1.4 var(--caps); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.5; max-width: 40em; }
.fine-print { font-size: 0.9rem; opacity: 0.72; margin-top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* sections */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; overflow: hidden; }
.night { background: var(--night); color: var(--cream); }
.night-2 { background: var(--night-2); color: var(--cream); }
/* "paper" sections are now dark espresso; the variables they use are re-pointed so every nested rule follows */
.paper, .paper-2 { --ink: var(--cream); --ink-2: rgba(243, 236, 223, 0.74); --line-p: rgba(238, 208, 145, 0.16); --copper: #d9ae6a; color: var(--cream); }
.paper { background: var(--espresso); }
.paper-2 { background: var(--espresso-2); }
.paper .kicker, .paper-2 .kicker { color: var(--copper); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); pointer-events: none; }
/* lamp-lit photo bands: the walnut table photo, dimmed */
.ambience { background: linear-gradient(rgba(9, 7, 5, 0.66), rgba(9, 7, 5, 0.84)), var(--bg) center / cover no-repeat, var(--night); color: var(--cream); }
.lamp { background: radial-gradient(ellipse 55% 75% at 50% 0%, rgba(214, 160, 86, 0.16), transparent 70%), var(--night); }
.section-head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; border-bottom: 1px solid var(--line-n); padding-bottom: 1rem; margin-bottom: 1rem; }
.paper .section-head { border-color: var(--line-p); }
.section-head h2 { margin: 0; }
.count { font: 500 0.78rem var(--caps); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.paper .count { color: var(--copper); }

/* header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem clamp(1.25rem, 4vw, 2.5rem); max-width: calc(var(--wrap) + 5rem); margin: 0 auto; }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font: 500 0.95rem var(--caps); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.sparkle { width: 14px; height: 14px; color: var(--gold); flex: none; }
.site-nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { text-decoration: none; font-size: 1.02rem; color: var(--cream); opacity: 0.85; }
.site-nav a:hover { opacity: 1; color: var(--gold); }
body.text-page .site-header { position: relative; top: 0; background: var(--night); }
/* mobile menu button (shown under 900 px, see the media query) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 2.75rem; height: 2.75rem; padding: 0 0.6rem; background: rgba(10, 8, 6, 0.45); border: 1px solid var(--line-n); border-radius: 2px; cursor: pointer; }
.nav-toggle span { display: block; height: 1px; background: var(--gold); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* home hero: the small line is part of the h1 (Google reads "Neville Goddard" in the main heading) */
.hero-copy h1 .kicker { display: block; filter: none; margin-bottom: 1.1rem; }
.hero-avail { margin: 1.3rem 0 0; font-size: 1.05rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
.hero-avail span { font: 500 0.7rem var(--caps); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); margin-right: 0.7rem; }
.hero-avail a { color: var(--cream); text-decoration-color: rgba(238, 208, 145, 0.5); text-underline-offset: 4px; }
.hero-avail a:hover { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.1rem; min-height: 3.2rem; padding: 0.65rem 1.35rem; border-radius: 2px; text-decoration: none; font: 500 0.82rem/1.2 var(--caps); letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.btn small { font: italic 400 0.92rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; opacity: 0.8; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #f6dfaa; }
.btn-ghost { border-color: var(--line-n); color: var(--gold); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-ink { background: transparent; border-color: var(--line-n); color: var(--gold); }
.btn-ink:hover { border-color: var(--gold); }
.is-soon { opacity: 0.55; cursor: default; }
.paper .btn-ghost { color: var(--ink); border-color: var(--line-p); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(8rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 7rem); background: radial-gradient(ellipse 70% 60% at 70% 45%, var(--glow) 0%, var(--night) 70%); }
/* home (user 2026-12-02): text group on top, the books (cut-out with baked shadows) below it, buttons at the
   bottom - all in normal flow over the walnut table, so nothing can overlap at any screen size */
.hero-photo { padding: clamp(5.4rem, 7vw, 6.4rem) 0 clamp(2.6rem, 4vw, 3.6rem);
  background: linear-gradient(180deg, rgba(8, 6, 4, 0.80) 0%, rgba(8, 6, 4, 0.50) 38%, rgba(8, 6, 4, 0.30) 70%, rgba(11, 10, 9, 0.92) 100%),
    var(--bg) center 60% / cover no-repeat, var(--night); }
.hero-copy { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-text-group { max-width: 54rem; }
.hero-copy h1 { font-size: clamp(2.6rem, 4.9vw, 4.3rem); margin-bottom: 0.3em; }
.hero-copy .lead { text-wrap: balance; font-size: clamp(1.05rem, 1.45vw, 1.22rem); margin: 0 auto; max-width: 46em; opacity: 0.9; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
/* books: as wide as the layout allows, but small enough on short screens that the buttons stay close */
.hero-books { width: clamp(420px, min(70vw, calc((100svh - 27rem) * 1.99)), 980px); height: auto; margin: clamp(0.6rem, 1.6vw, 1.4rem) auto clamp(0.8rem, 1.8vw, 1.5rem); }
.hero-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { align-items: center; }
.hero-photo .btn-ghost { background: rgba(10, 8, 6, 0.45); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: var(--cream); }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lead { opacity: 0.88; margin-bottom: 2rem; }
.hero-art { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.sunburst { position: absolute; inset: -6%; width: 112%; height: 112%; color: var(--gold); opacity: 0.32; animation: turn 240s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.hero-book { position: absolute; width: 46%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 6px 14px rgba(0, 0, 0, 0.4); }
.hb0 { left: 10%; top: 16%; transform: rotate(-5deg); }
.hb1 { right: 8%; top: 22%; transform: rotate(4deg); }
.hero-art.single .hero-book { position: relative; width: 62%; transform: none; }

/* book list */
.books .lead { margin-top: 1.5rem; opacity: 0.85; }
.book { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line-n); }
.book.flip { grid-template-columns: 1fr minmax(220px, 360px); }
.book.flip .book-art { order: 2; }
.cover-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.cover-btn[disabled] { cursor: default; }
.cover { width: 100%; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); transition: transform 0.8s var(--ease); }
.cover-btn:hover .cover { transform: translateY(-6px); }
/* below the book, never over it (user: it covered the 3D mockup) */
.cover-btn { display: flex; flex-direction: column; align-items: center; }
.see-inside { position: static; margin-top: 1.1rem; transition: border-color 0.4s var(--ease), color 0.4s var(--ease); background: var(--night); border: 1px solid var(--line-n); color: var(--gold); font: 500 0.72rem var(--caps); letter-spacing: 0.2em; text-transform: uppercase; padding: 0.55rem 1rem; white-space: nowrap; }
.hook { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--cream); }
.book-title { font: 500 0.9rem/1.5 var(--caps); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.book-title a { text-decoration: none; }
.book-title span { display: block; font: italic 400 1.05rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--cream); opacity: 0.75; }
.short { opacity: 0.9; max-width: 34em; }
.facts { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin: 1.4rem 0; }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { font: 500 0.68rem var(--caps); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.65; }
.facts dd { margin: 0; font-size: 1.7rem; line-height: 1.1; color: var(--gold); }
.paper .facts dd { color: var(--copper); }
.buy { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0 1rem; }
.more { font-style: italic; color: var(--gold-2); text-decoration: none; }
.more:hover { color: var(--gold); }
.soon-head { margin-top: 4rem; }

/* ChatGPT 3D mockups (transparent PNG with their own shadow): no CSS shadow, no frame */
img.is-mockup { box-shadow: none !important; background: none !important; border: 0 !important; }
.book-hero .hero-book.is-mockup { width: 74%; }

/* planner band */
.planner-band { background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(214, 160, 86, 0.10), transparent 70%), var(--night-2); border-top: 1px solid var(--line-n); }
.planner-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.planner-shot { margin: 0; }
.planner-shot img { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.planner-shot figcaption, .gallery-note { margin-top: 0.8rem; font-style: italic; font-size: 0.98rem; opacity: 0.62; }
.planner-text h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.planner-text .lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); opacity: 0.88; }

/* "a moment for yourself" (library photo) */
.moment { padding: clamp(6rem, 12vw, 10rem) 0; }
.moment h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin-bottom: 1.2rem; }
.moment p { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.65; max-width: 34em; opacity: 0.92; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }

/* find your next read */
.find .lead { opacity: 0.85; }
.find-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); margin-top: 2.5rem; }
/* "which path" tabs (user ref: thediary.com): pill tabs, text left, the book on a white tile right */
.center-head { text-align: center; max-width: 46rem; margin: 0 auto; }
.center-head .lead { margin: 0 auto; }
.path-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.3rem; width: fit-content; max-width: 100%; margin: 2.2rem auto 2.6rem; padding: 0.35rem; border: 1px solid var(--line-n); border-radius: 999px; }
.find:not(.tabs-on) .path-tabs { display: none; }
.path-tab { font: 500 0.74rem/1.2 var(--caps); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); background: none; border: 0; padding: 0.8rem 1.25rem; border-radius: 999px; cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.path-tab:hover { color: var(--gold); }
.path-tab.is-on { background: var(--cream); color: #17120c; }
.path-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.find:not(.tabs-on) .path-panel + .path-panel { margin-top: 4rem; }
.tabs-on .path-panel:not(.is-on) { display: none; }
.tabs-on .path-panel.is-on { animation: fade 0.6s var(--ease); }
.find-q { font: 500 clamp(1.7rem, 2.6vw, 2.2rem)/1.2 var(--display); color: var(--cream); text-wrap: balance; margin-bottom: 0.6rem; }
.find-body { color: rgba(243, 236, 223, 0.8); font-size: 1.12rem; }
.path-points { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; }
.path-points li { position: relative; padding: 0.45rem 0 0.45rem 1.6rem; color: rgba(243, 236, 223, 0.9); }
.path-points li::before { content: "\2726"; position: absolute; left: 0; top: 0.55rem; font-size: 0.8rem; color: var(--gold); }
.find-title { font: 500 0.76rem/1.4 var(--caps); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1rem; }
.path-visual { display: flex; align-items: center; justify-content: center; min-height: 440px; padding: 2.5rem; background: #fbfaf7; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); transition: transform 0.6s var(--ease); }
.path-visual:hover { transform: translateY(-4px); }
.path-visual img { height: 370px; width: auto; }

/* announcement bar (above the header on every page) */
:root { --bar-h: 0px; }
.has-bar { --bar-h: 2.4rem; }
.announce { height: var(--bar-h); display: flex; align-items: center; justify-content: center; padding: 0 1rem; background: var(--gold); color: #17120c; text-align: center; font: 500 0.72rem/1.25 var(--caps); letter-spacing: 0.12em; text-transform: uppercase; }
.announce p { margin: 0; }
.announce a { color: inherit; font-weight: 600; margin-left: 0.6rem; white-space: nowrap; text-underline-offset: 3px; }
.has-bar .site-header { top: var(--bar-h); }

/* scrolling text band */
.marquee { overflow: hidden; background: var(--night); border-block: 1px solid var(--line-n); padding: 1.05rem 0; }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; padding-right: 2.2rem; white-space: nowrap; font: 400 clamp(1.3rem, 2.4vw, 2rem)/1 var(--display); color: var(--cream); animation: marquee 70s linear infinite; }
.marquee-track i { font-style: normal; font-size: 0.6em; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* white product card with callouts (planner) */
.callout-card { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2.5vw, 2.2rem); background: #fbfaf7; color: #1c1814; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.callout-book { height: clamp(250px, 28vw, 380px); width: auto; }
.callouts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(1.1rem, 2vw, 1.8rem); }
.callouts li { position: relative; display: flex; flex-direction: column; }
.callouts strong { font: 500 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--display); color: #8a6a2e; }
.callouts span { margin-top: 0.35rem; font: 500 0.64rem/1.45 var(--caps); letter-spacing: 0.1em; text-transform: uppercase; color: #5c544a; }
.callouts.left { text-align: right; }
.callouts.left li { align-items: flex-end; }
.callouts li::after { content: ""; position: absolute; top: 0.85rem; width: clamp(0.6rem, 1.6vw, 1.4rem); height: 1px; background: rgba(28, 24, 20, 0.35); }
.callouts.left li::after { left: calc(100% + 0.5rem); }
.callouts.right li::after { right: calc(100% + 0.5rem); }
/* home planner band: the book about as large as in the hero (user) */
.planner-grid:has(.callout-card) { grid-template-columns: 2fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.planner-grid .callout-card { grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr); gap: clamp(0.8rem, 1.8vw, 1.6rem); padding: clamp(1.2rem, 2vw, 1.6rem) clamp(1rem, 2vw, 1.8rem); }
.planner-grid .callout-book { height: clamp(320px, 31vw, 460px); }
.callout-book { height: clamp(320px, 34vw, 480px); }
.callout-band { background: var(--night-2); padding: clamp(3rem, 6vw, 5rem) 0; }
.callout-band .callout-card { max-width: 980px; margin: 0 auto; }

/* our editions: several short paragraphs */
.lead-paras p { font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.6; max-width: 40em; color: var(--ink-2); }

/* final call + book page closing */
.final-cta, .closing { text-align: center; }
.final-cta h2, .closing h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.closing .lead { margin: 0 auto 1.5rem; opacity: 0.88; }
.center-buy { justify-content: center; }

/* book page */
.hero-question { font: italic 400 clamp(1.25rem, 1.9vw, 1.5rem)/1.45 var(--serif); color: var(--gold); max-width: 30em; margin-bottom: 0.8rem; text-wrap: pretty; }
.page-headline { font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--cream); margin-bottom: 1.2rem; }
.prose-head { font-size: clamp(1.4rem, 2vw, 1.7rem); color: var(--cream); margin: 2.2rem 0 0.8rem; }
.prose .prose-head + p::first-letter { all: unset; }
.format-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2.5rem; margin: 1.8rem 0 0.5rem; }
.format-item { border-top: 1px solid var(--line-p); padding-top: 1.1rem; }
.format-item h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.format-item p { color: var(--ink-2); margin: 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 3.5rem; }
.feature img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; margin-bottom: 1.2rem; background: #fff; }
.feature h3 { font-size: 1.45rem; }
.feature p { color: var(--ink-2); font-size: 1.05rem; }

/* quotes */
.quotes { text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; }
.quotes .wrap { max-width: 900px; display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.quote.is-on { opacity: 1; transform: none; }
.quote blockquote { margin: 0 0 1.5rem; font: italic 400 clamp(1.6rem, 3vw, 2.4rem)/1.35 var(--serif); color: var(--cream); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--gold); margin-bottom: 1rem; }
.quote figcaption { font: 500 0.75rem var(--caps); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); }
.quote cite { font-style: normal; }

/* large print + about */
.lp-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.lp-grid .lead { margin: 0; }
.lp-grid.has-image { display: grid; grid-template-columns: minmax(260px, 0.75fr) 1.25fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.lp-grid.has-image .lead { margin-bottom: 1.6rem; }
.lp-figure { margin: 0; }
.lp-figure img { box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5); }
.formats-figure { margin: 2rem 0 1.5rem; max-width: 980px; }
.lp-figure figcaption { margin-top: 0.8rem; font-style: italic; font-size: 0.98rem; opacity: 0.68; }
.about-grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.portrait { width: 100%; background: #fff; }
.about p { color: var(--ink-2); max-width: 36em; }

/* etsy */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin: 2.5rem 0; }
.product { text-decoration: none; display: flex; flex-direction: column; gap: 0.5rem; }
.product img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.product small { opacity: 0.7; }

/* signup */
.signup-band .sparkle { width: 22px; height: 22px; margin: 0 auto 1.5rem; display: block; }
.signup { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.5rem; }
.signup input { flex: 1 1 260px; max-width: 360px; min-height: 3.2rem; padding: 0 1rem; font: inherit; font-size: 1.05rem; border: 1px solid var(--line-n); background: rgba(255, 255, 255, 0.04); color: var(--cream); border-radius: 2px; }
.signup input::placeholder { color: rgba(243, 236, 223, 0.55); }
.signup button { min-height: 3.2rem; padding: 0 1.5rem; background: var(--gold); color: var(--night); border: 0; border-radius: 2px; font: 500 0.82rem var(--caps); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.page-form { margin-top: 3rem; padding-top: 0.5rem; border-top: 1px solid var(--line-p); }
.page-form .signup { justify-content: flex-start; }
.page-form .signup-msg { text-align: left; }
.signup-msg { flex-basis: 100%; text-align: center; color: var(--gold); margin: 0.5rem 0 0; }

/* faq */
.faq-list details { border-bottom: 1px solid var(--line-p); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font-size: 1.3rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0.3rem; top: 1.1rem; font-size: 1.6rem; color: var(--copper); transition: transform 0.4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details div { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 40em; }

/* book page */
.book-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.book-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 500; color: var(--cream); margin-bottom: 0.3rem; filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55)); }
.book-hero .subtitle { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.book-hero .hero-art { aspect-ratio: auto; padding: 1rem 0; }
.subtitle { font: italic 400 clamp(1.3rem, 2vw, 1.6rem) var(--serif); margin-bottom: 0.4rem; }
.byline { font: 500 0.8rem var(--caps); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; margin-bottom: 1.6rem; }
.book-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.prose p { font-size: 1.22rem; line-height: 1.65; color: var(--ink-2); }
.prose p:first-child::first-letter { float: left; font: 400 4.2rem/0.8 var(--caps); color: var(--copper); padding: 0.4rem 0.6rem 0 0; }
.small-head { font: 500 0.82rem var(--caps); letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper); }
.inside { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.inside li { padding: 0.7rem 0 0.7rem 1.6rem; border-bottom: 1px solid var(--line-p); position: relative; color: var(--ink-2); }
.inside li::before { content: "\2726"; position: absolute; left: 0; color: var(--copper); font-size: 0.8rem; top: 0.95rem; }
.plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; margin-top: 2rem; }
.spread { margin: 0; }
.spread:first-child { grid-column: 1 / -1; }
.spread figcaption { margin-top: 0.7rem; font-style: italic; opacity: 0.7; }
.plate { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plate img { width: 100%; transition: opacity 0.4s; }
.plate:hover img { opacity: 0.88; }
.lightbox img.wide { max-width: 92vw; background: none; }
.mini-books { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.mini { width: 250px; text-decoration: none; display: flex; flex-direction: column; gap: 0.4rem; }
/* each book on its own white tile (user, like thediary.com), every book the same height inside it */
.mini img, .mini img.is-mockup { width: 100%; height: 320px; object-fit: contain; padding: 1.4rem 1.2rem; background: #fbfaf7 !important; box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4) !important; margin-bottom: 0.8rem; transition: transform 0.6s var(--ease); }
.mini:hover img { transform: translateY(-4px); }
.mini small { font-style: italic; color: var(--ink-2); }

/* lightbox + popup */
dialog { border: 0; padding: 0; color: var(--cream); }
dialog::backdrop { background: rgba(0, 0, 0, 0.88); }
.lightbox { background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.lightbox img { max-height: 84vh; width: auto; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { font: 500 0.75rem var(--caps); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line-n); background: rgba(10, 10, 10, 0.8); color: var(--gold); font-size: 1.4rem; cursor: pointer; }
.lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; }
.lb-close, .popup-close { position: fixed; top: 1rem; right: 1.2rem; background: none; border: 0; color: var(--gold); font-size: 2.2rem; cursor: pointer; line-height: 1; }
.popup { background: var(--navy); width: min(520px, 92vw); padding: 3rem 2.2rem 2rem; text-align: center; border: 1px solid var(--line-n); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.popup .popup-close { position: absolute; }
.popup-img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 1rem; }
.popup h2 { font-size: 2rem; color: var(--cream); }
.popup p { opacity: 0.88; }
.popup-dismiss { margin-top: 1.2rem; background: none; border: 0; color: var(--cream); opacity: 0.6; font: italic 1rem var(--serif); cursor: pointer; text-decoration: underline; }
.popup[open] { animation: rise 0.8s var(--ease); }
.lightbox[open] { animation: fade 0.5s var(--ease); } /* no transform here: it would pin the fixed arrows to the image */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }

/* footer */
.site-footer { background: var(--footer); color: var(--cream); padding: 4rem 0 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--line-n); }
.tagline { font-style: italic; opacity: 0.75; margin-top: 1rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { text-decoration: none; opacity: 0.8; }
.footer-links a:hover { color: var(--gold); opacity: 1; }
.fine { padding-top: 1.5rem; font-size: 0.92rem; opacity: 0.6; }
.fine p { margin-bottom: 0.4rem; }
.text-page .prose h1 { color: var(--ink); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .hero-photo { padding-top: 6rem; }
  .hero-books { width: 94vw; }
}
@media (max-width: 900px) {
  .hero-grid, .book-hero-grid, .book-body, .about-grid, .planner-grid, .find-grid, .lp-grid.has-image { grid-template-columns: 1fr; }
  .path-panel { grid-template-columns: 1fr; }
  .path-visual { order: -1; min-height: 0; padding: 1.8rem; }
  .path-visual img { height: 280px; }
  .path-tabs { border-radius: 1.4rem; }
  .callout-card { grid-template-columns: 1fr 1fr; }
  .callout-book { grid-column: 1 / -1; order: -1; margin: 0 auto 0.6rem; height: 300px; }
  .callouts.left, .callouts.left li { text-align: left; align-items: flex-start; }
  .callouts li::after { display: none; }
  .has-bar { --bar-h: 3rem; }
  .announce { font-size: 0.6rem; letter-spacing: 0.07em; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
  .book, .book.flip { grid-template-columns: 1fr; }
  .book.flip .book-art { order: 0; }
  .book-art { max-width: 300px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plates { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  /* without JS the links just wrap under the wordmark; with JS they fold into the menu button */
  html:not(.js) .site-header { flex-wrap: wrap; }
  .js .site-header .wordmark { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; position: absolute; top: calc(100% - 0.4rem); left: clamp(1.25rem, 4vw, 2.5rem); right: clamp(1.25rem, 4vw, 2.5rem); flex-direction: column; gap: 0; padding: 0.6rem 1.4rem; background: var(--night); border: 1px solid var(--line-n); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6); animation: fade 0.3s var(--ease); }
  .js .nav-open .site-nav a { padding: 0.85rem 0; font-size: 1.15rem; opacity: 1; border-bottom: 1px solid var(--line-n); }
  .js .nav-open .site-nav a:last-child { border-bottom: 0; }
  html:not(.js) .nav-toggle { display: none; }
  .about-grid > div:first-child { max-width: 320px; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .wordmark { font-size: 0.8rem; letter-spacing: 0.16em; }
  .lb-btn { top: auto; bottom: 1rem; transform: none; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 0.7rem; letter-spacing: 0.1em; gap: 0.4rem; }
  .site-header { padding-left: 1rem; padding-right: 1rem; }
  .nav-toggle { width: 2.5rem; height: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.cover-btn:hover .see-inside { border-color: var(--gold); }
/* no rule between the last available book and the Coming soon heading (user) */
.book:has(+ .soon-head) { border-bottom: 0; }
