/* The Healer's Journey — draft 2
   Parchment base; the elements colour the map; night only where the story calls for it. */

:root {
  --paper: #f2e7cc;
  --paper-deep: #e2cfa6;
  --ink: #2e281f;
  --ink-soft: #5f5545;
  --sepia: #8a5a2b;
  --line: rgba(46, 40, 31, .18);
  --night: #0f1b2b;

  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Palatino Linotype", Palatino, "Book Antiqua", Baskerville, Georgia, serif;
  --caps: "Cinzel", "Trajan Pro", "Palatino Linotype", Palatino, Georgia, serif;
  --measure: 36rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; line-height: 1.65;
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sepia); }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem clamp(1rem, 4vw, 3rem); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #f1ead9; }
.brand img { width: 36px; }
.brand span { font-family: var(--caps); letter-spacing: .14em; font-size: .85rem; }
.site-nav { display: flex; gap: 1.8rem; }
.site-nav a { font-family: var(--caps); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #f1ead9; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: .2rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* ---------- Hero / banners ---------- */
.hero, .banner { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #f1ead9; background-size: cover; background-position: center; padding: 7rem 1.5rem 5rem; }
.hero { min-height: 92vh; background-image: url("../images/hero-forest.jpg"); background-position: 60% center; }
.banner { min-height: 52vh; }
.hero::before, .banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,30,.55), rgba(10,18,30,.25) 50%, rgba(10,18,30,.6)); }
.hero::after, .banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: linear-gradient(180deg, transparent, var(--paper)); }
.hero > *, .banner > * { position: relative; z-index: 1; }
.banner--journeys { background-image: url("../images/banner-waterfall.jpg"); background-position: 70% 55%; }
.banner--reflections { background-image: url("../images/banner-moon.jpg"); background-position: 70% 30%; }
.title { font-family: var(--caps); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: .06em; line-height: 1.1; margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.banner .title { font-size: clamp(2rem, 5.5vw, 3.6rem); }
.subtitle { font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.7rem); margin: 1rem auto 0; max-width: 34rem; line-height: 1.35; }
.author { font-family: var(--caps); letter-spacing: .2em; margin-top: 2rem; }
.eyebrow { font-family: var(--caps); letter-spacing: .25em; font-size: .78rem; text-transform: uppercase; color: var(--sepia); margin: 0 0 .7rem; }
.hero .eyebrow, .banner .eyebrow { color: #e8d6ad; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.btn { display: inline-block; font-family: var(--caps); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: .95rem 1.6rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--light { background: #f1ead9; color: var(--ink); border-color: #f1ead9; }
.btn--light:hover { background: transparent; color: #f1ead9; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.hero .btn--ghost { color: #f1ead9; border-color: #f1ead9; }

/* ---------- Text sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 1.5rem; }
.prose { max-width: var(--measure); margin: 0 auto; }
.prose p { margin: 0 0 1.2rem; }
.lead { font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.35; text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-title { font-family: var(--caps); font-weight: 400; text-align: center; letter-spacing: .1em; text-transform: uppercase; font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 .8rem; }
.section-intro { text-align: center; color: var(--ink-soft); max-width: 34rem; margin: 0 auto 2.5rem; font-style: italic; }
.divider { width: 60px; height: 1px; background: var(--sepia); margin: 2.2rem auto; border: 0; }
.placeholder { color: var(--ink-soft); font-style: italic; opacity: .75; }
.placeholder::before { content: "[ "; } .placeholder::after { content: " ]"; }

/* Buy pause — separate from the journey */
.pause { text-align: center; padding: 3rem 1.5rem; }
.pause p { font-style: italic; color: var(--ink-soft); margin: 0 0 1.2rem; }
.pause .btn { margin: 0; }

/* ---------- The map ---------- */
.map { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); max-width: 78rem; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2.5rem); }
.map-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.map-sticky svg { width: 100%; height: auto; max-height: 94vh; overflow: visible; }
.map-steps { padding: 30vh 0 30vh; }

.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step .part-label { font-family: var(--caps); letter-spacing: .28em; font-size: .72rem; text-transform: uppercase; color: var(--sepia); margin: 0 0 .4rem; }
.step h3 { font-family: var(--caps); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin: 0 0 .2rem; }
.step .story { font-style: italic; color: var(--ink-soft); margin: 0 0 1rem; }
.step-body { display: flex; gap: 1.3rem; align-items: center; }
.medallion { flex: 0 0 auto; width: 118px; height: 118px; border-radius: 50%; overflow: hidden; border: 2px solid var(--ink); box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--line); cursor: zoom-in; padding: 0; background: var(--paper); }
.medallion img { width: 100%; height: 100%; object-fit: cover; }
.step--part h3 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.step--part { min-height: 48vh; }
.step--centre h3, .step--single h3 { color: var(--sepia); }

/* map drawing */
.m-path-base { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.m-path { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 1.2s ease; }
.m-dot { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; transition: r .4s, fill .4s; }
.m-dot.is-on { fill: var(--ink); }
.m-dot.is-here { fill: var(--sepia); r: 11; }
.m-label { font-family: var(--caps); font-size: 19px; letter-spacing: .08em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; opacity: .45; transition: opacity .4s; }
.m-label.is-on { opacity: 1; }
.m-compass { font-family: var(--caps); font-size: 24px; fill: var(--sepia); letter-spacing: .1em; }
.m-wheel { fill: none; stroke: var(--sepia); stroke-opacity: .35; stroke-width: 1.2; }
.m-wash { opacity: .0; transition: opacity 1.2s; }
.m-wash.is-on { opacity: .55; }
.m-light { fill: #fff6dc; stroke: var(--sepia); stroke-width: 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(30, 24, 16, .82); display: none; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; background: var(--paper); padding: 1.2rem; max-width: min(90vw, 640px); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox figcaption { text-align: center; font-style: italic; margin-top: .6rem; color: var(--ink-soft); }

/* ---------- Author ---------- */
.author-block { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; max-width: 46rem; margin: 0 auto; }
.author-block img { width: 110px; filter: invert(1) sepia(.5); opacity: .8; }

/* ---------- Journeys page ---------- */
.journey-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 0 auto 4rem; }
.journey-nav a { font-family: var(--caps); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); text-decoration: none; border: 1px solid var(--line); padding: .7rem 1.1rem; }
.journey-nav a:hover { border-color: var(--ink); }
.journey { max-width: 46rem; margin: 0 auto 5rem; scroll-margin-top: 2rem; }
.journey-head { text-align: center; margin-bottom: 2rem; }
.part-number { font-family: var(--caps); letter-spacing: .3em; font-size: .8rem; color: var(--sepia); text-transform: uppercase; }
.part-title { font-family: var(--caps); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: .4rem 0 0; }
.journey-meta { color: var(--ink-soft); font-style: italic; margin-top: .5rem; }
.audio-box { background: rgba(255,255,255,.35); border: 1px solid var(--line); padding: 1.5rem; margin: 0 0 1.5rem; text-align: center; }
.audio-box audio { width: 100%; }
.journey-text { max-width: var(--measure); margin: 0 auto; }
.journey-text summary { cursor: pointer; font-family: var(--caps); letter-spacing: .15em; font-size: .8rem; text-transform: uppercase; color: var(--sepia); text-align: center; list-style: none; padding: .6rem; }
.journey-text summary::-webkit-details-marker { display: none; }

/* ---------- Reflections page ---------- */
.reflections-list { max-width: var(--measure); margin: 0 auto; }
.reflection { border-left: 2px solid var(--sepia); padding: .3rem 0 .3rem 1.6rem; margin: 0 0 3rem; }
.reflection p { margin: 0 0 .8rem; }
.reflection footer { font-family: var(--caps); letter-spacing: .12em; font-size: .8rem; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form { max-width: var(--measure); margin: 0 auto; }
.form label { display: block; font-family: var(--caps); letter-spacing: .12em; font-size: .78rem; text-transform: uppercase; color: var(--ink-soft); margin: 1.4rem 0 .5rem; }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; font: inherit; color: var(--ink); background: rgba(255,255,255,.5); border: 1px solid var(--line); padding: .8rem 1rem; }
.form textarea { min-height: 14rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.check { display: flex; gap: .7rem; align-items: flex-start; margin: 1.4rem 0; font-size: 1rem; color: var(--ink-soft); }
.check input { margin-top: .4rem; accent-color: var(--ink); }
.check span { font-family: var(--serif); }
.word-count { text-align: right; font-size: .95rem; color: var(--ink-soft); margin-top: .4rem; }
.word-count.over { color: #a33a22; }
.form-message { margin-top: 1.5rem; font-style: italic; color: var(--sepia); text-align: center; }
.error { color: #a33a22; font-size: 1rem; margin-top: .6rem; }

/* ---------- Email gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(30, 24, 16, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
html.gated .gate { display: flex; }
html.gated body { overflow: hidden; }
.gate-card { background: var(--paper); border: 1px solid var(--line); max-width: 30rem; width: 100%; padding: clamp(1.8rem, 5vw, 3rem); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.gate-card img { width: 56px; margin: 0 auto 1.2rem; filter: invert(1) sepia(.5); }
.gate-card h2 { font-family: var(--caps); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; font-size: 1.4rem; margin: 0 0 1rem; }
.gate-card p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.gate-card .form { text-align: left; }
.gate-card .btn { width: 100%; margin-top: .4rem; }
.gate-back { display: inline-block; margin-top: 1.2rem; font-size: 1rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-deep); text-align: center; padding: 3.5rem 1.5rem; color: var(--ink-soft); font-size: 1rem; }
.site-footer img { width: 60px; margin: 0 auto 1rem; filter: invert(1) sepia(.5); opacity: .75; }
.site-footer a { color: var(--ink-soft); }
.draft-tools { margin-top: 1.5rem; font-size: .85rem; opacity: .75; }

/* ---------- Small screens: map pinned at top, steps scroll beneath ---------- */
@media (max-width: 820px) {
  .site-header { flex-direction: column; gap: .6rem; }
  .map { grid-template-columns: 1fr; }
  .map-sticky { height: 46vh; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
  .map-sticky svg { max-height: 44vh; }
  .map-steps { padding: 8vh 0 30vh; }
  .step { min-height: 55vh; }
  .medallion { width: 92px; height: 92px; }
  .author-block { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* Draft 3: the still map */
.journey-map { margin: 0 auto; max-width: 980px; padding: 0 .5rem; }
.journey-map img { width: 100%; height: auto; box-shadow: 0 18px 50px rgba(60, 40, 15, .28); }

/* ---------- Draft 4: the medicine stories ---------- */
.stories { max-width: 70rem; margin: 0 auto; }
.part-head { text-align: center; margin: 5rem auto 3rem; }
.part-head::before { content: ""; display: block; width: 60px; height: 1px; background: var(--sepia); margin: 0 auto 2rem; }
.part-head h3 { font-family: var(--caps); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; margin: 0 auto clamp(3.5rem, 8vw, 6rem); }
.story:nth-of-type(even) .story-image { order: 2; }
.story-image { padding: 0; border: 0; background: var(--paper); cursor: zoom-in; justify-self: center; box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--paper), 0 0 0 11px var(--line), 0 20px 45px rgba(60, 40, 15, .22); max-width: 26rem; width: 100%; transition: transform .4s; }
.story-image:hover { transform: translateY(-3px); }
.story-image img { width: 100%; height: auto; }
.story-num { font-family: var(--caps); letter-spacing: .28em; font-size: .72rem; text-transform: uppercase; color: var(--sepia); margin: 0 0 .5rem; }
.story-text h4 { font-family: var(--caps); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.2; margin: 0 0 .3rem; }
.story-name { font-style: italic; color: var(--ink-soft); margin: 0 0 1.3rem; }
.snippet { margin: 0; max-width: 32rem; }
.snippet::first-letter { font-family: var(--caps); font-size: 3.1em; float: left; line-height: .85; margin: .08em .1em 0 0; color: var(--sepia); }
.story--quote .snippet { font-style: italic; border-left: 2px solid var(--sepia); padding-left: 1.4rem; }
.story--quote .snippet::first-letter { font-family: var(--serif); font-size: inherit; float: none; margin: 0; color: inherit; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story:nth-of-type(even) .story-image { order: 0; }
  .story-image { max-width: 20rem; }
}

/* ---------- Draft 5: pale book-paper cream; plates framed by a hairline ---------- */
.story-image { box-shadow: none; border: 1px solid rgba(46, 40, 31, .22); padding: 10px; background: transparent; }
.story-image:hover { transform: none; border-color: rgba(46, 40, 31, .45); }

/* ---------- Draft 6: white in the paintings blends into the cream, as ink on paper ---------- */
.story-image img { mix-blend-mode: multiply; }
.story-image--free { border: 0; padding: 0; }
.story-image--free:hover { border: 0; }

/* ---------- Draft 8: no frames; edge-to-edge paintings keep their own colours; midnight footer ---------- */
.story-image, .story-image:hover { border: 0; padding: 0; box-shadow: none; background: transparent; }
.story-image--edge img { mix-blend-mode: normal; }
.site-footer { background: #14213d; color: #fff; }
.site-footer a, .site-footer .placeholder { color: #fff; }
.site-footer img { filter: none; opacity: 1; }

/* ---------- Draft 9: the sepia rule beside every snippet ---------- */
.snippet { border-left: 2px solid var(--sepia); padding-left: 1.4rem; }

/* ---------- Draft 10: the book itself ---------- */
.buy-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 60rem; margin: 0 auto; }
.buy-cover { justify-self: end; width: 100%; max-width: 20rem; }
.buy-cover img { width: 100%; height: auto; border-radius: 2px 4px 4px 2px; box-shadow: -1px 0 0 rgba(0,0,0,.25) inset, 0 2px 4px rgba(40, 28, 10, .2), 0 22px 45px rgba(40, 28, 10, .35); transition: transform .4s; }
.buy-cover:hover img { transform: translateY(-4px); }
.buy-text .section-title { text-align: left; margin-bottom: .6rem; }
.buy-subtitle { font-style: italic; font-size: 1.25rem; line-height: 1.4; margin: 0 0 1rem; }
.buy-meta { font-family: var(--caps); letter-spacing: .14em; font-size: .85rem; color: var(--ink-soft); margin: 0 0 1.6rem; }
.buy-avail { margin: 0 0 1.6rem; color: var(--sepia); }
@media (max-width: 820px) {
  .buy-inner { grid-template-columns: 1fr; text-align: center; }
  .buy-cover { justify-self: center; max-width: 15rem; }
  .buy-text .section-title { text-align: center; }
}

/* ---------- Draft 11 ---------- */
.buy-cover img, .buy-cover:hover img { box-shadow: none; border-radius: 0; transform: none; }
.buy-author { font-family: var(--caps); font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 1.4rem; }
.buy-title { font-size: 1.6rem; margin: 0 0 .3rem; }
.buy-block--compact { padding: 2rem 1.5rem 3.5rem; }
.buy-block--compact .buy-inner { max-width: 42rem; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); }
.buy-block--compact .buy-cover { max-width: 12rem; }
.press-mark { display: inline-flex; flex-direction: column; align-items: center; gap: .45rem; margin-top: 2.2rem; }
.press-mark img { width: 42px; filter: invert(1) sepia(.5); opacity: .8; }
.press-mark span { font-family: var(--caps); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.site-footer .press-mark { margin: 0 auto 1.4rem; display: flex; }
.site-footer .press-mark img { width: 60px; filter: none; opacity: 1; margin: 0; }
.site-footer .press-mark span { color: #fff; font-size: .75rem; }
.prose p, .snippet { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 820px) {
  .buy-block--compact .buy-inner { grid-template-columns: 1fr; }
}
.buy-text > .press-mark { display: flex; width: max-content; }
@media (max-width: 820px) { .buy-text > .press-mark { margin-left: auto; margin-right: auto; } }

/* ---------- Draft 12: the compact book block is the main one, scaled ---------- */
.buy-block--compact .buy-inner { max-width: 48rem; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(1.5rem, 4.5vw, 3.5rem); }
.buy-block--compact .buy-cover { max-width: 14rem; }
.buy-block--compact .section-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.buy-block--compact .buy-subtitle { font-size: 1.05rem; margin-bottom: .8rem; }
.buy-block--compact .buy-author { font-size: clamp(1rem, 1.8vw, 1.2rem); margin-bottom: 1.1rem; }
.buy-block--compact .buy-avail { font-size: 1.05rem; margin-bottom: 1.2rem; }
.buy-block--compact .press-mark { margin-top: 1.6rem; }
.buy-block--compact .press-mark img { width: 34px; }

/* Draft 13 */
.section-intro em { font-style: normal; }

/* ---------- Draft 14: the Journeys page, by night ---------- */
.page-night { background: #0c1420 url("../images/hero-forest.jpg") center / cover fixed; color: #fff; }
.journeys-night { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 8rem clamp(1rem, 4vw, 3rem) 5rem; background: linear-gradient(180deg, rgba(8,14,24,.72), rgba(8,14,24,.5) 45%, rgba(8,14,24,.78)); }
.journeys-night .title { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.jgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); max-width: 62rem; margin: 0 auto; width: 100%; }
.jcard { background: rgba(8, 14, 24, .55); border: 1px solid rgba(255,255,255,.22); padding: clamp(1.5rem, 3.5vw, 2.4rem); text-align: center; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.jcard-num { font-family: var(--caps); letter-spacing: .24em; text-transform: uppercase; font-size: clamp(1rem, 1.8vw, 1.2rem); color: #e8d6ad; margin: 0 0 .5rem; }
.jcard-title { font-family: var(--caps); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.2; margin: 0 0 1.4rem; color: #fff; }
.jcard-audio audio { width: 100%; }
.page-night .placeholder { color: rgba(255,255,255,.75); }
@media (max-width: 760px) { .jgrid { grid-template-columns: 1fr; } }
.page-night .gate { background: rgba(6, 10, 18, .7); }
.page-night .gate-card { background: #14213d; color: #fff; border-color: rgba(255,255,255,.2); }
.page-night .gate-card img { filter: none; }
.page-night .gate-card p, .page-night .gate-card .form label, .page-night .check, .page-night .gate-back { color: rgba(255,255,255,.85); }
.page-night .gate-card input[type="email"] { background: rgba(255,255,255,.95); }
.page-night .gate-card .btn { background: #f1ead9; color: var(--ink); border-color: #f1ead9; }
.page-night .gate-card .btn:hover { background: transparent; color: #f1ead9; }
.page-night .error { color: #f2a48c; }

/* ---------- Draft 15: Reflections as a conversation ---------- */
.jnote { text-align: center; font-style: italic; color: rgba(255,255,255,.85); max-width: 34rem; margin: 3rem auto 0; }
.jnote a { font-family: var(--caps); font-style: normal; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; color: #e8d6ad; display: inline-block; margin-top: .8rem; }
.story-strip { list-style: none; margin: 0 auto 3rem; padding: .5rem 0 1rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; max-width: 70rem; justify-content: safe center; }
.story-strip li { flex: 0 0 88px; scroll-snap-align: start; text-align: center; }
.story-strip .strip-item { width: 88px; height: 88px; display: block; }
.story-strip .strip-item img { width: 100%; height: 100%; object-fit: cover; }
.story-strip li:last-child .strip-item img { object-fit: contain; }
.story-strip span { display: block; font-size: .8rem; line-height: 1.25; color: var(--ink-soft); margin-top: .45rem; }
.small-print { font-size: .95rem; color: var(--ink-soft); font-style: italic; text-align: center; margin-top: 1.6rem; }
.reflection { border-left: 2px solid var(--sepia); padding: .3rem 0 .3rem 1.6rem; margin: 0 0 3.5rem; }
.replies { margin-top: 1.3rem; }
.reply { margin: 0 0 1.1rem 1.2rem; padding: .9rem 1.2rem; border-left: 1px solid var(--line); }
.reply p { margin: 0 0 .5rem; }
.reply footer { font-family: var(--caps); letter-spacing: .12em; font-size: .75rem; color: var(--ink-soft); }
.reply--author { background: rgba(138, 90, 43, .08); border-left-color: var(--sepia); }
.reply-by { font-family: var(--caps); letter-spacing: .14em; font-size: .75rem; text-transform: uppercase; color: var(--sepia); }
.reply-toggle { background: none; border: 0; padding: 0; margin-left: 1.2rem; font-family: var(--caps); letter-spacing: .16em; font-size: .75rem; text-transform: uppercase; color: var(--sepia); cursor: pointer; }
.reply-form { margin: 1rem 0 0 1.2rem; max-width: none; }
.reply-form textarea { min-height: 7rem; }
.reply-form .btn { margin-top: 1rem; }
.story-strip { gap: .8rem; }
.story-strip li { flex-basis: 80px; }
.story-strip .strip-item { width: 80px; height: 80px; }
.story-strip { max-width: none; }
.story-strip .strip-item, .story-strip .strip-item img { border-radius: 50%; }
.page-night { background-attachment: scroll; }

/* ---------- Draft 16: Reflections page on white, with a framed reflection box ---------- */
.page-white { background: #fff; }
.page-white .banner::after { background: linear-gradient(180deg, transparent, #fff); }
.reflection-box { max-width: 40rem; margin: 0 auto; background: #f4efe4; border: 1px solid #d8ccb4; padding: clamp(1.5rem, 4vw, 2.8rem); }
.reflection-box .form { max-width: none; }
.reflection-box .form label:first-child { margin-top: 0; }
.reflection-box input[type="text"], .reflection-box textarea { background: #fff; border-color: #d8ccb4; }
.page-white .reply--author { background: #f4efe4; }
.page-white .reply-form input, .page-white .reply-form textarea { background: #fff; }

/* ---------- Draft 17 ---------- */
.jnote a { font-family: inherit; font-style: inherit; letter-spacing: 0; text-transform: none; font-size: inherit; display: inline; margin: 0; color: #e8d6ad; }
.section-intro--justified { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.reflection-box { background: #14213d; border: 3px solid #0a1324; box-shadow: 0 0 0 1px #14213d; }
.reflection-box .form label { color: #fff; }
.reflection-box input[type="text"], .reflection-box textarea { background: #fff; color: #111; border: 1px solid #fff; }
.reflection-box input:focus, .reflection-box textarea:focus { border-color: #e8d6ad; }
.reflection-box .btn { background: #0a1324; color: #fff; border-color: #fff; }
.reflection-box .btn:hover { background: #fff; color: #14213d; }
.reflection-box .small-print { color: rgba(255,255,255,.85); }
.reflection-box .error { color: #f2a48c; }
.reflection-box .form-message { color: #e8d6ad; }
.reflections-empty { text-align: center; font-style: italic; color: var(--ink-soft); }
.reflection-text { white-space: pre-line; margin: 0 0 .8rem; }

/* ---------- Draft 18: readers' words in a plain, friendly font, a size smaller ---------- */
:root { --friendly: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.reflection-text { font-family: var(--friendly); font-size: 1rem; line-height: 1.6; color: #2b2b2b; }
.reflection .reply .reflection-text { font-size: .95rem; }
.reflection-box input[type="text"], .reflection-box textarea, .reply-form input, .reply-form textarea { font-family: var(--friendly); font-size: 1rem; }

/* ---------- Draft 19: one reply, from the author ---------- */
.reflection .reply--author { margin-top: 1.2rem; }
.draft-reply-toggle { background: none; border: 1px dashed var(--line); padding: .4rem .8rem; margin: .4rem 0 0 1.2rem; font-family: var(--friendly); font-size: .8rem; color: var(--ink-soft); cursor: pointer; }

/* ---------- Draft 20: your reply is signed AGC, in the same style as the reader's name line ---------- */
.reply--author .reply-by { font-family: var(--caps); letter-spacing: .12em; font-size: .8rem; text-transform: none; color: var(--ink-soft); margin: 0 0 .5rem; }

/* ---------- Live reflections ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.reflection-box .btn[disabled] { opacity: .6; cursor: wait; }
.reflection > .reflection-text:last-of-type { margin-bottom: .8rem; }

/* ---------- Go-live: "Coming soon" buttons, privacy page ---------- */
.buy-link.is-soon { cursor: default; pointer-events: none; }
.btn.is-soon { opacity: .85; }
.jcard-soon { font-style: italic; color: rgba(255,255,255,.8); margin: 0; }
.banner--privacy { min-height: 38vh; background-image: url("../images/hero-forest.jpg"); background-position: 60% center; }
.privacy h2 { font-family: var(--caps); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: 1.15rem; margin: 2.4rem 0 .8rem; }
.privacy ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.privacy li { margin-bottom: .5rem; }
.privacy .updated { font-style: italic; color: var(--ink-soft); }
.small-print a { color: inherit; }

/* ---------- Opening question: set line breaks on wider screens ---------- */
.lead--opening { max-width: 48rem; text-wrap: balance; }
@media (max-width: 820px) { .br-wide { display: none; } }

/* ---------- v37: no hyphenation; justified on computers, left-aligned on phones ---------- */
.prose p, .snippet, .section-intro--justified { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 700px) {
  .prose p, .snippet, .section-intro--justified { text-align: left; }
}

/* ---------- v37: book panels centred (both) ---------- */
.buy-text { text-align: center; }
.buy-text .section-title { text-align: center; }
.buy-text > .press-mark { margin-left: auto; margin-right: auto; }

/* GG 18 Nov: dark colour behind hero/banner photos while they load (no flash of pale page) */
.hero, .banner { background-color: #0c1420; }
