/* Round 69 (round 4's sheet; round 29 added the flower from the cover and the author photo's new arrival, round 30 the new author photo, at the foot). Loads over core.css, v1.css, hybrid.css and garnet.css.
   One page, garnet-led. Garnet, petal white and a deeper garnet where round 3 used black.
   Orange only where attention is wanted. Gilda for display, Courier for small labels,
   Newsreader for reading. No Bodoni anywhere.
   Everything Jonathan is still choosing is an attribute on <html>, set by the preview panel:
   data-top, data-rim, data-q, data-book, data-photo, data-brand, data-film, data-tw (typewriter feed: all, lists, off), data-pal, data-labels. */
:root{--deep:#4A1120;--petal:#F3EFE5;--paper:#FBF9F3;--rose:#e3c9c2}
.dark{background:var(--garnet);color:var(--petal)}
.dark .eyebrow{color:var(--rose)}
.dark .btn.solid{background:var(--petal);color:var(--garnet);border-color:var(--petal)}
.dark .btn.solid::before{background:#3A0F18}
.dark .btn.solid:hover{color:var(--petal);border-color:#3A0F18}
.dark ::selection{background:var(--petal);color:var(--garnet)}

/* ---------- 1. header: the Edition's bones in the family fonts */
.brand-mark{font-family:var(--display);font-size:.95rem;letter-spacing:.16em;text-transform:uppercase;line-height:1.25}
.brand-sub{display:block;font-family:var(--text);font-style:italic;font-size:.86rem;line-height:1.2;opacity:.82}
.brand{transition:opacity .6s var(--ease)}
.hd-nav a,.menu-btn span{font-family:var(--display);font-size:.76rem;letter-spacing:.16em;text-transform:uppercase}
.hd .btn.cta{border:0;background:none;padding:.35em .2em;font-family:var(--display);font-size:.76rem;letter-spacing:.16em;text-transform:uppercase}
.hd .btn.cta::before{display:none}
.hd .btn.cta .btn-c{display:flex;gap:.5em}
.hd .btn.cta .btn-c::before{content:"("}
.hd .btn.cta .btn-c::after{content:")"}
.hd .btn.cta:hover,.hd .btn.cta:focus-visible{color:var(--orange)}
html[data-brand="after"] body:not(.past-hero):not(.menu-open) .brand,
html[data-brand="menu"] body:not(.menu-open) .brand{opacity:0;pointer-events:none}

.menu-big a{font-size:clamp(2.2rem,4.7vw,4.6rem)}

/* ---------- 2. title: garnet or white */
html[data-top="white"] .hero{background:var(--bg);color:var(--ink)}
html[data-top="white"] .hd:not(.scrolled) .brand,html[data-top="white"] .hd:not(.scrolled) .menu-btn{color:var(--ink)}
html[data-top="white"] body.menu-open .hd.hd .brand,html[data-top="white"] body.menu-open .hd.hd .menu-btn{color:var(--petal)}

/* title outline: the letters keep their weight; a thin rim in a second colour sits just outside them */
html[data-rim="rose"] .hero-title{-webkit-text-stroke:.024em #c98f96;paint-order:stroke fill;text-shadow:0 0 .05em rgba(243,239,229,.22)}
html[data-rim="gold"] .hero-title{-webkit-text-stroke:.024em #c9a04e;paint-order:stroke fill;text-shadow:0 0 .05em rgba(217,178,95,.3)}
html[data-top="white"][data-rim="rose"] .hero-title{-webkit-text-stroke-color:#b98088;text-shadow:none}
html[data-top="white"][data-rim="gold"] .hero-title{text-shadow:none}

/* ---------- 3. the question and the sign-up: three layouts */
.question{background:var(--bg);color:var(--ink);padding:clamp(4.5rem,12vh,8.5rem) var(--pad)}
.q-head h2{max-width:none;margin:0}
.hl,.hl2{-webkit-box-decoration-break:clone;box-decoration-break:clone}
.q-head .follow{max-width:34rem;margin:clamp(1.8rem,4vh,2.8rem) auto 0;font-family:var(--text);font-size:clamp(1.25rem,1.9vw,1.65rem);line-height:1.35}
.follow .f1{display:block;font-style:italic}
.follow .f2{display:block;margin-top:1.1rem}
.hl2{padding:.14em .45em;background:var(--garnet);color:var(--petal)}
.q-head .lede{max-width:31rem;margin:clamp(1.6rem,4vh,2.4rem) auto 0;color:var(--soft)}
.contents{max-width:none;margin:0;border-bottom:0}
.contents li:nth-child(2){margin-left:0}
.contents a{display:grid;grid-template-columns:1fr auto;gap:.3rem 1.5rem;align-items:start;padding:1.5rem 0;border-top:1px solid color-mix(in srgb,currentColor 45%,transparent)}
.contents a:hover{padding-left:0}
.contents .name{grid-column:1;font-size:clamp(1.9rem,2.8vw,2.6rem)}
.contents .num{grid-column:1;grid-row:auto;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:inherit;opacity:.75}
.contents .tease{grid-column:1;font-family:var(--text);font-style:italic;font-size:1.04rem;line-height:1.5;margin-top:.35rem;max-width:30rem}
.contents .go{grid-row:1;grid-column:2;align-self:center}
.q-form .gate-h{font-family:var(--display);font-weight:400;font-size:clamp(1.5rem,2.2vw,1.95rem);line-height:1.15;margin-bottom:1rem}
.q-form form{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1.4rem}
.q-form input{border:0;border-bottom:1px solid currentColor;background:transparent;padding:.55rem 0;width:100%;outline:none;font-family:var(--text);font-size:1.12rem;color:inherit}
.q-form input:focus{border-bottom-width:2px;padding-bottom:calc(.55rem - 1px)}
.q-form input::placeholder{color:currentColor;opacity:.62}
.q-form .err{grid-column:1/-1;font-size:.75rem}
.q-form .err:empty{display:none}
.q-form .btn{grid-column:1/-1;justify-self:start;margin-top:.6rem}
.q-thanks{display:none;font-family:var(--text);font-size:1.15rem}
body.unlocked .q-form form{display:none}
body.unlocked .q-thanks{display:block}

/* A. split: the question on the left with room around it, the chapters and the form in a garnet box */
html[data-q="a"] .question{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2.5rem,6vw,7rem);align-items:center}
html[data-q="a"] .q-head{text-align:left;padding-left:clamp(0rem,5vw,6.5rem)}
html[data-q="a"] .q-head h2{font-size:clamp(2.6rem,5vw,5rem);line-height:1.05;max-width:11ch;text-align:left}
html[data-q="a"] .q-head .follow,html[data-q="a"] .q-head .lede{margin-left:0}
/* layout A, two more choices: the text left or centred, and the block of words to the left or in the middle of its half */
html[data-q="a"] .q-head{width:fit-content;max-width:100%;justify-self:start}
html[data-q="a"][data-qc="center"] .q-head{justify-self:center;padding-left:0}
html[data-q="a"][data-qt="center"] .q-head,html[data-q="a"][data-qt="center"] .q-head h2{text-align:center}
html[data-q="a"][data-qt="center"] .q-head h2,html[data-q="a"][data-qt="center"] .q-head .follow,html[data-q="a"][data-qt="center"] .q-head .lede{margin-left:auto;margin-right:auto}
html[data-q="a"] .q-panel{background:var(--garnet);color:var(--petal);padding:clamp(1.6rem,3.6vw,3.6rem) clamp(1.5rem,3.6vw,3.6rem) clamp(2rem,3.6vw,3.4rem)}
html[data-q="a"] .contents li:first-child a{border-top:0;padding-top:.4rem}
html[data-q="a"] .q-form{border-top:1px solid rgba(243,239,229,.45);padding-top:1.8rem}
html[data-q="a"] .q-panel .btn.solid,html[data-q="c"] .question .btn.solid{background:var(--petal);color:var(--garnet);border-color:var(--petal)}
html[data-q="a"] .q-panel .btn.solid::before,html[data-q="c"] .question .btn.solid::before{background:#3A0F18}
html[data-q="a"] .q-panel .btn.solid:hover,html[data-q="c"] .question .btn.solid:hover{color:var(--petal);border-color:#3A0F18}
html[data-q="a"] .q-panel ::selection,html[data-q="c"] .question ::selection{background:var(--petal);color:var(--garnet)}

/* B. highlighted: the question set on garnet bars, like a marker pulled across it */
html[data-q="b"] .q-head h2{font-size:clamp(2.5rem,6vw,5.8rem);line-height:1.26;max-width:15ch;margin:0 auto}
html[data-q="b"] .hl{padding:.03em .2em;background:var(--garnet);color:var(--petal)}
html[data-q="b"] .hl2{background:var(--orange);color:#fff}
html[data-q="b"] .q-panel{max-width:74rem;margin:clamp(3rem,7vh,5rem) auto 0;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);background:var(--paper);border:1px solid var(--ink)}
html[data-q="b"] .contents{padding:.4rem clamp(1.5rem,3vw,3rem)}
html[data-q="b"] .contents li:first-child a{border-top:0}
html[data-q="b"] .q-form{border-left:1px solid var(--ink);padding:clamp(2rem,3vw,3rem);display:flex;flex-direction:column;justify-content:center}
html[data-q="b"] .q-form form{grid-template-columns:1fr}

/* C. band: round 3's dark band, in deep garnet instead of black */
html[data-q="c"] .question{background:var(--deep);color:var(--petal)}
html[data-q="c"] .q-head h2{font-size:clamp(2.6rem,7vw,6.6rem);line-height:1.04;max-width:13ch;margin:0 auto}
html[data-q="c"] .hl2{background:var(--petal);color:var(--garnet)}
html[data-q="c"] .q-head .lede{color:var(--rose)}
html[data-q="c"] .q-panel{max-width:68rem;margin:clamp(3rem,8vh,5.5rem) auto 0}
html[data-q="c"] .q-form{display:grid;grid-template-columns:minmax(0,16rem) minmax(0,1fr);gap:1rem 3rem;align-items:end;border-top:1px solid rgba(243,239,229,.45);padding-top:2rem}
html[data-q="c"] .q-form .gate-h{margin:0}
html[data-q="c"] .q-form form{grid-template-columns:1fr 1fr auto;align-items:end}
html[data-q="c"] .q-form .btn{grid-column:auto;margin:0}
@media (min-width:861px){
  html[data-q="c"] .contents a{grid-template-columns:minmax(0,15rem) 11rem minmax(0,1fr) 2rem;gap:1.5rem;align-items:baseline}
  html[data-q="c"] .contents a > *{grid-column:auto;grid-row:auto;margin-top:0}
}
@media (max-width:860px){
  html[data-q="a"] .question,html[data-q="b"] .q-panel,html[data-q="c"] .q-form,html[data-q="c"] .q-form form{grid-template-columns:1fr}
  html[data-q="a"] .q-head{padding-left:0}
  html[data-q="b"] .q-form{border-left:0;border-top:1px solid var(--ink)}
  .q-form form{grid-template-columns:1fr}
}

/* ---------- 4 to 6. the chapters */
.gate .small{max-width:22rem;margin:1rem auto 0}
.gate form .btn{margin-top:1rem}

/* the last chapter page on show runs straight into Marcia's line */
body:not(.unlocked) #hartziliki .chapter-body,body.unlocked #love-notes .chapter-body{border-bottom:0;padding-bottom:.5rem}

/* the heart: lifts off the word "Dad", floats up past the title, bursts into gold and silver coins (set in core.js) */
.hz-layer{position:absolute;inset:0;pointer-events:none;z-index:4}
.hz-float,.hz-bit{position:absolute;left:0;top:0;will-change:transform,opacity}
.hz-float{width:1.9rem}
.hz-float svg{display:block;width:100%;overflow:visible;filter:drop-shadow(0 .35rem .4rem rgba(58,15,24,.22))}
.hz-bit{width:.5rem;height:.5rem;border-radius:50%}
.hz-ring{position:absolute;left:0;top:0;width:2.2rem;height:2.2rem;border-radius:50%;border:1.5px solid #E59AA7}
.hz-bit.gold{background:radial-gradient(circle at 35% 30%,#fff3c9,#dcb659 55%,#b88a2c);box-shadow:0 0 .5rem rgba(220,182,89,.55)}
.hz-bit.silver{background:radial-gradient(circle at 35% 30%,#fff,#cfd3d8 55%,#9aa0a8);box-shadow:0 0 .5rem rgba(207,211,216,.6)}
.hz-bit.big{width:.72rem;height:.72rem}

/* the typewriter feed, the way leoniekebaerwaldt.com does it: tied to the scroll, each row
   starts four-fifths wide and clear, and is full width and solid by mid-screen (set in core.js) */
.tw{transform-origin:50% 50%;will-change:transform,opacity}

/* the fade over the last lines before the sign-up: a wash of the page's own colour instead of a mask,
   because a mask also hid anything sitting out in the margin */
body.veiled .veil{-webkit-mask-image:none;mask-image:none;position:relative}
body.veiled .veil::after{content:"";position:absolute;left:0;right:0;bottom:0;height:38%;pointer-events:none;background:linear-gradient(to bottom,rgba(251,249,243,0),var(--paper) 96%)}

/* chapter margins: photographs from her albums where the handwritten notes were (or the notes, or nothing) */
.mphoto{display:none}
html[data-margin="photos"] .mphoto{display:block}
html[data-margin="photos"] .mnote,html[data-margin="none"] .mnote{display:none!important}
.mp{display:block;background:#fff;padding:.45rem .45rem .5rem;box-shadow:0 0 0 1px rgba(58,15,24,.12),0 1.3rem 2rem -1.3rem rgba(58,15,24,.55);transform:rotate(1.8deg)}
.mphoto.left .mp{transform:rotate(-2.2deg)}
.mp img{display:block;width:100%;height:auto}
.mp-cap{display:block;font-family:var(--mono);font-size:.62rem;letter-spacing:.04em;line-height:1.4;color:var(--soft);padding:.5rem .1rem 0;text-align:center}
@media (min-width:1240px){
  .mphoto{float:right;clear:right;width:13rem;margin:.3rem calc(-1*(var(--note-off) - var(--note-w) + 13rem)) 1rem 0}
  .mphoto.left{float:left;clear:left;margin:.3rem 0 1rem calc(-1*(var(--note-off) - var(--note-w) + 13rem))}
}
@media (max-width:1239px){.mphoto{max-width:15rem;margin:2.2rem auto}}

/* round 10: the prints carry no words; a wide print for the garden; the toddler print has two versions on a switch */
.mp{padding:.45rem}
.mphoto .k-gardener{display:none}
html[data-kid="gardener"] .mphoto .k-gardener{display:block}
html[data-kid="gardener"] .mphoto .k-father{display:none}
@media (min-width:1240px){
  .mphoto.wide{width:16rem;margin-right:calc(-1*(var(--note-off) - var(--note-w) + 16rem))}
  .mphoto.wide.left{margin-right:0;margin-left:calc(-1*(var(--note-off) - var(--note-w) + 16rem))}
}
@media (max-width:1239px){.mphoto.wide{max-width:21rem}}

/* round 10: words after sign-up. .new shows in the moment after signing up, .back to a reader who returns */
.q-thanks p + p{margin-top:.8rem}
.q-thanks .new{display:none}
body.just-joined .q-thanks .new{display:block}
body.just-joined .q-thanks .back{display:none}
.q-thanks a{text-decoration:underline;text-underline-offset:.2em}
.gate-thanks{display:none}
body.just-joined .gate-thanks{display:block;max-width:30rem;margin:2.6rem auto 2.2rem;padding-top:2rem;border-top:1px solid var(--garnet);text-align:center;font-family:var(--text);font-style:italic;font-size:1.2rem;line-height:1.5}
.thanks p + p{margin-top:.7rem}
.thanks .ty-follow{font-style:normal;font-size:1.05rem}
.thanks a{text-decoration:underline;text-underline-offset:.2em}

/* the light on the garden: once, as the paragraph about the light reaches the middle of the screen */
.prose p.lit{position:relative}
.prose p.lit::before{content:"";position:absolute;inset:-3.2rem -4.5rem;pointer-events:none;opacity:0;mix-blend-mode:multiply;
  background:radial-gradient(ellipse at 50% 42%,rgba(250,214,120,.75),rgba(250,214,120,.28) 42%,rgba(250,214,120,0) 70%)}
html[data-lit="on"] .prose p.lit.on::before{animation:lit 7s ease-in-out both}
@keyframes lit{0%{opacity:0}28%{opacity:1}62%{opacity:1}100%{opacity:0}}

/* the daily note that flies off as a heart when someone signs up */
.fly-heart{position:fixed;left:0;top:0;width:3.6rem;z-index:70;pointer-events:none;will-change:transform,opacity}
.fly-heart svg{display:block;width:100%;overflow:visible;filter:drop-shadow(0 .5rem .5rem rgba(58,15,24,.25))}
html.js .daily .daily-note.folding{transform:scale(.12) rotate(9deg);opacity:0;transition:transform .7s var(--ease),opacity .6s var(--ease)}

/* ---------- 8. Marcia: her line closes the page, the photo sits across its edge, Dezi's note follows */
.maya-tail{position:relative;padding:0 var(--pad) clamp(4.5rem,11vh,7.5rem);text-align:center}
.mt-page{max-width:46rem;margin:0 auto;background:var(--paper);border:1px solid var(--ink);border-top:0;padding:2.4rem clamp(1.5rem,5vw,5rem) 7.6rem}
.mt-page::before{content:"";display:block;width:3rem;height:1px;background:var(--garnet);margin:0 auto 2.2rem}
body:not(.unlocked) .mt-page::before{display:none}
body:not(.unlocked) .mt-page{padding-top:1.2rem}
.mt-q{font-family:var(--text);font-style:italic;font-size:clamp(1.25rem,1.9vw,1.6rem);line-height:1.4;max-width:30rem;margin:0 auto;text-wrap:balance}
.mt-cite{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--soft);max-width:26rem;margin:1.2rem auto 0;line-height:1.7}
.mt-photo{display:block;width:10.5rem;height:10.5rem;border-radius:50%;object-fit:cover;margin:-5.25rem auto 0;border:.4rem solid var(--paper);box-shadow:0 0 0 1px var(--ink),0 1.4rem 2.2rem -1.4rem rgba(58,15,24,.6);position:relative}
.mt-note{font-family:var(--text);font-size:1.16rem;line-height:1.6;max-width:31rem;margin:1.8rem auto 0}
.mt-sign{font-family:var(--hand);font-size:1.5rem;margin-top:.9rem}

/* ---------- 7. the book: ten ways to show it */
.book{background:var(--bg)}
.bk{display:none}
html[data-book="2"] .bk-2,html[data-book="3"] .bk-3,html[data-book="5"] .bk-5,html[data-book="6"] .bk-6,html[data-book="7"] .bk-7,
html[data-book="8"] .bk-8,html[data-book="9"] .bk-9,html[data-book="10"] .bk-10{display:block}
html[data-book="1"] .bk-1,html[data-book="4"] .bk-4{display:grid;grid-template-columns:1fr 1fr}
.bk .eyebrow{margin-bottom:.9rem}
.bk-title{font-family:var(--display);font-weight:400;text-transform:uppercase;font-size:clamp(2rem,3.6vw,3.4rem);line-height:1.06}
.bk-sub{font-family:var(--text);font-style:italic;font-size:1.25rem;margin:.7rem 0 1.8rem}
.bk-desc{font-family:var(--text);font-size:1.14rem;line-height:1.6;max-width:36rem}
.bk-desc p + p,.bk-desc details p{margin-top:.95em}
.more summary{list-style:none;cursor:pointer;margin-top:1.1rem;font-family:var(--mono);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase}
.more summary::-webkit-details-marker{display:none}
.more-l::before{content:"( "}
.more-l::after{content:" )"}
.more[open] summary{display:none}
.bk-cover img{width:100%;box-shadow:0 0 0 1px rgba(58,15,24,.12),0 2rem 3.2rem -2rem rgba(40,8,14,.7)}
.fmt{display:grid;grid-template-columns:repeat(3,1fr);max-width:28rem;margin:2.2rem 0 1.8rem;border:1px solid color-mix(in srgb,currentColor 42%,transparent)}
.fmt div{padding:.85rem .8rem;text-align:center}
.fmt div + div{border-left:1px solid color-mix(in srgb,currentColor 42%,transparent)}
.fmt dt{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;opacity:.78}
.fmt dd{font-family:var(--display);font-size:1.45rem;margin-top:.15rem}
.fmt-line{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.4rem 0;font-size:.8rem;margin:1.8rem 0}
.fmt-line i{width:1px;height:1em;background:currentColor;opacity:.4;margin:0 1.1rem;align-self:center}
.fmt-line b{font-family:var(--display);font-weight:400;font-size:1.3rem;margin-left:.35rem}
.fmt-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.2rem;max-width:42rem}
.fmt-cards div{border:1px solid color-mix(in srgb,currentColor 42%,transparent);padding:1.2rem .9rem 1.3rem;display:flex;flex-direction:column;align-items:center;gap:.3rem;text-align:center}
.fmt-n{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;opacity:.8}
.fmt-p{font-family:var(--display);font-size:1.75rem;margin-bottom:.7rem}
.fmt-cards .btn{font-size:.7rem;padding:.75em .9em}
.bk-line{font-family:var(--display);font-size:clamp(2.2rem,5.6vw,5.4rem);line-height:1.06;text-align:center;max-width:16ch;margin:clamp(2rem,5vh,3.5rem) auto clamp(3rem,8vh,5.5rem);text-wrap:balance}
.bk-row{display:grid;grid-template-columns:minmax(0,18rem) minmax(0,38rem);gap:clamp(2rem,6vw,6rem);justify-content:center;align-items:start}
.bk-2,.bk-6,.bk-8,.bk-10{padding:clamp(4.5rem,12vh,8rem) var(--pad)}
.bk-3,.bk-5,.bk-7,.bk-9{padding:clamp(.5rem,2vh,1.5rem) var(--pad) clamp(4.5rem,12vh,8rem)}
/* 1 open book */
.bk1-l{display:grid;place-items:center;padding:clamp(3rem,8vh,6rem) var(--pad)}
.bk1-l .bk-cover{width:min(62%,23rem)}
.bk1-r{background:var(--paper);padding:clamp(3.5rem,9vh,7rem) clamp(1.5rem,6vw,7rem);display:flex;flex-direction:column;justify-content:center;box-shadow:inset 2.4rem 0 2.6rem -2.4rem rgba(58,15,24,.3)}
/* 2 the sentence */
.bk2-pre{font-family:var(--text);font-style:italic;font-size:clamp(1.15rem,1.6vw,1.4rem);line-height:1.5;max-width:40rem;margin:0 auto;text-align:center;color:#ecd9d3}
/* 3 front and back */
.bk-3{text-align:center}
.bk3-pair{display:flex;justify-content:center;align-items:stretch;gap:clamp(1rem,2.5vw,2.5rem)}
.bk3-face{width:min(26rem,42vw);aspect-ratio:2/3;box-shadow:0 0 0 1px rgba(58,15,24,.12),0 2rem 3.2rem -2rem rgba(40,8,14,.7)}
.bk3-front img{width:100%;height:100%;object-fit:cover}
.bk3-back{padding:clamp(1.2rem,2.8vw,2.6rem);text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:1rem;overflow:hidden}
.bk3-back .bk-desc{font-size:clamp(.7rem,.9vw,.9rem);line-height:1.47;max-width:none}
.bk3-back .bk-desc p + p{margin-top:.8em}
.bk3-back .eyebrow{margin:0;text-align:center;font-size:.62rem}
.bk3-foot{margin-top:clamp(2.2rem,5vh,3.5rem)}
.bk3-foot .bk-sub{margin-bottom:0}
.bk-3 .bk-act,.bk-5 .bk-act,.bk-10 .bk-act{display:flex;justify-content:center}
/* 4 Dezi with her book */
.bk4-media{position:relative;min-height:min(92vh,56rem)}
.bk4-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.bk4-media .bk-cover{position:absolute;z-index:2;right:-5.5rem;bottom:clamp(2rem,7vh,5rem);width:clamp(9.5rem,13vw,13.5rem);transform:rotate(3deg)}
.bk4-body{background:var(--paper);display:flex;flex-direction:column;justify-content:center;padding:clamp(3.5rem,9vh,7rem) clamp(1.5rem,6vw,7rem) clamp(3.5rem,9vh,7rem) clamp(8rem,10vw,11rem)}
/* 5 short and quiet */
.bk-5{max-width:calc(36rem + 2*var(--pad));margin:0 auto;text-align:center}
.bk-5 .bk-cover{width:11rem;margin:0 auto 2.2rem}
.bk-5 .bk-desc{text-align:left}
/* 6 three generations */
.bk6-q{font-family:var(--display);font-size:clamp(2.4rem,6.4vw,6rem);line-height:1.05;text-align:center}
.bk6-three{display:grid;grid-template-columns:repeat(3,1fr);max-width:60rem;margin:clamp(2rem,5vh,3.5rem) auto 0;border-top:1px solid rgba(243,239,229,.45);border-bottom:1px solid rgba(243,239,229,.45)}
.bk6-three li{padding:1.3rem 1rem;text-align:center}
.bk6-three li + li{border-left:1px solid rgba(243,239,229,.45)}
.bk6-three b{display:block;font-family:var(--display);font-weight:400;font-size:clamp(1.3rem,2.2vw,1.9rem)}
.bk6-three li > span{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;opacity:.82}
html[data-book="6"] .bk-6 .bk-row,.bk-6 .bk-row{grid-template-columns:minmax(0,23rem) minmax(0,38rem);align-items:center}
/* 7 Marcia opens */
.bk7-q{font-family:var(--text);font-style:italic;font-size:clamp(1.5rem,2.8vw,2.5rem);line-height:1.3;max-width:52rem;margin:0 auto clamp(3rem,7vh,5rem);padding-bottom:clamp(2.5rem,6vh,4rem);text-align:center;border-bottom:1px solid var(--line);text-wrap:balance}
.bk7-q cite{display:block;font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;margin-top:1.4rem;color:var(--soft)}
/* 8 formats first */
.bk-8 .bk-row{grid-template-columns:minmax(0,22rem) minmax(0,42rem);align-items:center}
/* 9 magazine */
.bk9-top{text-align:center;margin-bottom:clamp(2.5rem,6vh,4rem)}
.bk9-top .bk-title{font-size:clamp(2.6rem,7vw,6.4rem)}
.bk9-top .bk-sub{margin-bottom:0}
.bk9-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,20rem) minmax(0,1fr);gap:clamp(1.5rem,4vw,4rem);max-width:80rem;margin:0 auto;align-items:start}
.bk9-grid .bk-desc{font-size:1.06rem}
.bk9-a .bk-desc{margin-left:auto}
/* 10 round 3 band */
.bk-10{text-align:center}
.bk-10 .bk-cover{width:16rem;margin:0 auto 2.6rem}
.bk-10 .bk-desc{text-align:left;margin:0 auto}
.bk-10 .fmt{margin-inline:auto}
@media (max-width:860px){
  html[data-book="1"] .bk-1,html[data-book="4"] .bk-4,.bk-row,.bk-8 .bk-row,.bk9-grid,.fmt-cards{grid-template-columns:1fr}
  .bk-row .bk-cover,.bk9-grid .bk-cover{max-width:14rem;margin:0 auto}
  .bk9-grid .bk-cover{order:-1}
  .bk3-pair{flex-direction:column;align-items:center}
  .bk3-face{width:min(22rem,100%)}
  .bk3-back{aspect-ratio:auto}
  .bk3-back .bk-desc{font-size:.95rem}
  .bk4-media{min-height:0;aspect-ratio:4/5}
  .bk4-media .bk-cover{right:1rem;bottom:-3.5rem;width:8rem}
  .bk4-body{padding:5.5rem var(--pad) 3.5rem}
  .bk1-r{box-shadow:none}
  .bk6-three{grid-template-columns:1fr}
  .bk6-three li + li{border-left:0;border-top:1px solid rgba(243,239,229,.45)}
}

/* ---------- 9. the collection: cover, title, read more. Nothing else until asked */
.family{padding-top:clamp(4.5rem,12vh,8rem)}
.family-intro h2{font-size:clamp(2.3rem,5.4vw,4.8rem)}
.family-intro .family-sub{font-family:var(--text);font-style:italic;font-size:clamp(1.2rem,1.8vw,1.5rem);margin-top:1rem;max-width:none}
.is-grid .kin-memoir{box-shadow:none}
.is-grid .kin-memoir .kin-title{color:inherit}
.is-grid .kin-body .kin-open{font-size:1.14rem;max-width:none}
/* smaller cards: cover, title, Read more */
.is-grid .kin-list{max-width:62rem}
.is-grid .kin{padding:1.9rem clamp(1rem,2vw,1.8rem) 1.6rem}
.is-grid .kin-sum{gap:.5rem}
.is-grid .kin .cover{width:6.6rem;margin-bottom:.8rem}
.is-grid .kin-title{font-size:1.2rem}
.is-grid .kin-more{margin-top:.2rem}
.is-grid .kin-body{margin-top:1.2rem;font-size:.98rem}

/* ---------- 10. daily love notes: a little smaller than the author section that follows */
.daily-note,.daily-body{padding-block:clamp(2.5rem,6vh,4.5rem)}

/* ---------- 11. the film: off unless switched on */
.film{display:none}
html[data-film="on"] .film{display:grid}
html[data-film="off"] .dock a[href="#film"]{display:none}

/* ---------- 12. meet the author: the big half-and-half */
.dezi{padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0;justify-content:stretch;align-items:stretch;border-bottom:1px solid var(--ink)}
.dezi-media{position:relative;overflow:hidden;min-height:min(92vh,56rem)}
.dezi-media .ph{position:absolute;inset:0;width:100%;height:100%}
.dezi-media img.ph{aspect-ratio:auto;object-fit:cover;object-position:50% 18%}
.dezi-media img.ph{display:none}
.dezi-media img.ph-b{object-position:50% 46%}
.dezi-media img.ph-c{object-position:50% 30%}
.dezi-media img.ph-d{object-position:50% 12%}
.dezi-media img.ph-e{object-position:50% 30%}
.dezi-media img.ph-f{object-position:44% 30%}
.dezi-media img.ph-g{object-position:66% 50%}
.dezi-media img.ph-h{object-position:50% 58%}
.dezi-media img.ph-i{object-position:50% 42%}
.dezi-media img.ph-j{object-position:47% 60%}
html[data-photo="a"] .ph-a,html[data-photo="b"] .ph-b,html[data-photo="c"] .ph-c,html[data-photo="d"] .ph-d,html[data-photo="e"] .ph-e,html[data-photo="f"] .ph-f,html[data-photo="g"] .ph-g,html[data-photo="h"] .ph-h,html[data-photo="i"] .ph-i,html[data-photo="j"] .ph-j{display:block!important}
.dezi-body{background:var(--paper);display:flex;flex-direction:column;justify-content:center;padding:clamp(3.5rem,9vh,7rem) clamp(1.5rem,6vw,7rem)}
.dezi h2{font-size:clamp(2.6rem,4.6vw,4.4rem);text-transform:uppercase;line-height:1.04}
.dezi-body p:not(.eyebrow){font-family:var(--text);font-size:1.14rem;line-height:1.62;max-width:32rem}
.dezi-body .dezi-links{display:flex;flex-wrap:wrap;gap:.9rem 2.2rem;margin-top:1.8rem;font-family:var(--mono);font-size:.8rem}
@media (max-width:860px){.dezi{grid-template-columns:1fr}.dezi-media{min-height:0;aspect-ratio:4/5;max-width:none}}
/* round 10: the Belize photo is cut to the framing Dezi wants, and its panel keeps that shape at every width so the framing holds */
html[data-photo="b"] .dezi-media{min-height:0;min-width:0;aspect-ratio:auto}
html[data-photo="b"] .dezi-media::before{content:"";display:block;padding-top:79.43%}
html[data-photo="b"] .dezi-media img.ph-b{object-position:50% 50%}
html[data-photo="b"] .dezi{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
html[data-photo="b"] .dezi-body{padding-left:clamp(1.5rem,4.5vw,5rem);padding-right:clamp(1.5rem,4.5vw,5rem)}
@media (max-width:1180px){html[data-photo="b"] .dezi{grid-template-columns:1fr}}

/* ---------- 13. footer: the Edition's, in deep garnet */
.ft{background:var(--deep);color:var(--petal);padding:clamp(3.5rem,9vh,6rem) var(--pad) 5.5rem}
.ft-top{display:block;max-width:76rem;margin:0 auto;padding:0;border-top:0;text-align:center}
.ft-mark{display:inline-block;font-family:var(--display);text-transform:uppercase;letter-spacing:.02em;font-size:clamp(1.9rem,3.6vw,3.2rem);line-height:1.1}
.ft-mark span{display:inline}
.ft-cols{text-align:left;gap:2rem;margin-top:clamp(2.5rem,6vh,3.5rem);padding-top:2.5rem;border-top:1px solid rgba(243,239,229,.3)}
.ft-cols h3,.ft-base{color:var(--rose)}
.ft-base{max-width:76rem;margin:3rem auto 0;padding-top:0;border-top:0}
.ft ::selection{background:var(--petal);color:var(--garnet)}

/* ---------- the travelling love note (a try-out; off unless switched on) */
.pal{position:fixed;right:clamp(1rem,2.4vw,2.6rem);bottom:5.2rem;width:3.4rem;z-index:45;pointer-events:none;opacity:0;transition:opacity .8s var(--ease);will-change:transform}
html[data-pal="on"] body.past-hero:not(.at-end):not(.menu-open) .pal{opacity:1}
.pal svg{display:block;width:100%;overflow:visible;filter:drop-shadow(0 .5rem .45rem rgba(58,15,24,.28))}
.pal-s{display:none}
.pal-f{fill:#F6C9CF;stroke:#E59AA7;stroke-width:1}
.pal-c{fill:none;stroke:#E59AA7;stroke-width:1;stroke-dasharray:2 3}
.pal-w{fill:none;stroke:var(--garnet);stroke-width:1;stroke-linecap:round;opacity:.5}
@media (max-width:900px){.pal{width:2.5rem;right:.8rem;bottom:4.4rem}}   /* was hidden here, which is why it never showed in the narrow preview panel */

/* ---------- section labels (preview only, not part of the site) */
[data-sec]{position:relative}
.sec-tag{position:absolute;left:.7rem;top:.7rem;z-index:6;font:600 11px/1 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-style:normal;letter-spacing:.02em;text-transform:none;
  background:#1478c8;color:#fff!important;padding:.42rem .6rem;border-radius:6px;white-space:nowrap;pointer-events:none;opacity:1!important;transform:none!important}
html[data-labels="off"] .sec-tag{display:none}
.hero > .sec-tag{top:5.4rem}
.hd .sec-tag{top:100%;left:auto;right:.7rem;margin-top:.35rem}
body:not(.past-hero) .dock .sec-tag,body.at-end .dock .sec-tag{display:none}
.dock .sec-tag{top:auto;bottom:100%;left:50%;transform:translateX(-50%)!important;margin-bottom:.4rem}
.menu-in{position:relative}
.menu-in .sec-tag{top:5.4rem;left:clamp(1.25rem,5vw,5rem)}
.gate .sec-tag{left:0;top:.7rem}
.maya-tail > .sec-tag{top:1.2rem}

/* ---------- preview panel (not part of the site) */
.rv-body{display:flex;flex-direction:column;gap:.1rem}
.rv-g{display:flex;flex-direction:column}
.review .rv-row button{font-size:10.5px;padding:.4rem .2rem}
.review .rv-row button[aria-pressed="true"]{background:#f3efe6;color:#141210;opacity:1}
.rv-wrap .rv-row{flex-wrap:wrap}
.rv-wrap .rv-row button{flex:0 0 calc(20% - .15rem)}
.rv-small .rv-row button{font-size:9.5px}
.rv-handle{display:none!important}
@media (min-width:1101px){
  .review{width:12.4rem;max-height:96vh;overflow-y:auto;scrollbar-width:none}
}
@media (max-width:1100px){
  .review{left:8px;right:auto;bottom:8px;top:auto;transform:none;width:auto;flex-direction:column;align-items:stretch;flex-wrap:nowrap;border-radius:12px;padding:.3rem}
  .rv-handle{display:block!important;padding:.6rem .8rem!important;opacity:1!important}
  .rv-body{display:none;width:15rem;max-width:calc(100vw - 2rem);max-height:66vh;overflow:auto}
  .review.open .rv-body{display:flex}
  .review .rv-l{display:block}
  .review button span{display:inline}
  .review .rv-row{padding:0 .3rem}
}

/* round 10: a link in the preview panel to the draft /secret page */
.review a.rv-link i{width:.6rem;height:.6rem;border-radius:50%;background:var(--draft);display:block}

/* round 11: Dezi's bio runs longer than the photo is tall, so the photo no longer stretches to match it (that cut her framing).
   It keeps its shape, sits at the top of its column and stays in view while the bio scrolls past. */
@media (min-width:1181px){
  html[data-photo="b"] .dezi{align-items:start;background:var(--paper)}
  html[data-photo="b"] .dezi-media{position:sticky;top:3rem}
}

/* round 12: on phones the book in option 6 stayed two columns (round 7's wider-cover rule outranked the phone rule) and squeezed
   the description into a sliver. Stack it: cover, then words. */
@media (max-width:860px){
  html[data-book="6"] .bk-6 .bk-row,.bk-6 .bk-row{grid-template-columns:1fr}
}

/* round 13: Dezi's note under Maya's line, and her signature, are orange by design (her choice, 17 November).
   This is its own colour, not the draft marker, so it holds with drafts off and on the live site. */
:root{--note-orange:#E8590C}
.mt-note,.mt-sign{color:var(--note-orange)}

/* round 14: in Meet the author, the coaching paragraph and the two links under it are orange by design (Dezi, 17 November):
   the colour changes at that paragraph and carries into the links. Same rule as the note under Maya's line: this holds with
   drafts off and on the live site. */
.dezi-body .dezi-coach,.dezi-body .dezi-links a{color:var(--note-orange)}

/* round 15: the top of the book section, layout 6. Dezi keeps the quote and the three places orange (17 November), so the
   orange is their own colour, not the draft marker, and holds on the live site. The small captions under the places are
   bold, a touch larger and at full strength so they read on a phone. */
.bk6-q,.bk6-three{color:var(--note-orange)}
.bk6-three li > span{font-weight:700;opacity:1;font-size:.76rem}

/* round 19: the chapter numbers, now numerals and so much shorter lines, a little larger (Dezi, 17 November).
   Above each chapter title, and in the two contents cards. */
.chapter-num{font-size:.95rem;letter-spacing:.16em}
.contents .num{font-size:.82rem}

/* round 21: Meet the author is split down the middle again (it was 1.3 to 1 since round 10), so the photo's edge sits on the
   same line as the divider in the daily notes section above. The photo keeps its shape and so Dezi's framing; it is a
   little smaller. Below 1181 wide the section still stacks. */
@media (min-width:1181px){
  html[data-photo="b"] .dezi{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* round 22: Dezi's real signature under her note to Maya. An inline SVG that takes the note's orange. */
.mt-sign{margin-top:1.3rem;line-height:0;font-size:0}
.mt-sign .sig{display:inline-block;width:clamp(8.5rem,13vw,10.5rem);height:auto;transform:translateX(-.4rem)}

/* round 24: Dezi's signature 15 percent smaller at every width (her choice, 18 November). */
.mt-sign .sig{width:clamp(7.2rem,11vw,8.9rem)}

/* round 25: the line under Maya's quote is two lines: her name, then her role (Dezi, 18 November). The role stays on one
   line wherever it fits; on a narrow phone it has to fold once, and balance keeps the fold even. */
.mt-cite .mt-name,.mt-cite .mt-role{display:block}
.mt-cite .mt-role{text-wrap:balance}
.mt-cite{max-width:30rem}

/* round 26: the thank-you line inside the chapter is Dezi's wording now and orange by design (18 November). */
.gate-thanks{color:var(--note-orange)}


/* ================= round 29 =================
   1. The flower from the cover. One image (the cover photograph with the lettering lifted off, cut square around the centre
      of the flower), opened by a soft round mask that grows from the middle outward while the flower turns and settles.
      Built from Jonathan's description only; his reference clip could not be opened from here. Each place has a switch. */
@property --bl{syntax:'<percentage>';inherits:false;initial-value:0%}
.bloom{--peak:1;position:absolute;display:block;aspect-ratio:1;border-radius:50%;pointer-events:none;opacity:0;font-size:0;
  background:url(../img/flower.jpg) 50% 50%/cover no-repeat;
  -webkit-mask-image:radial-gradient(circle closest-side,#000 calc(var(--bl) - 58%),transparent var(--bl));
          mask-image:radial-gradient(circle closest-side,#000 calc(var(--bl) - 58%),transparent var(--bl))}
.bloom.go{animation:bloom-open var(--bt,2.4s) cubic-bezier(.22,.7,.2,1) both}
@keyframes bloom-open{0%{--bl:0%;opacity:0;transform:scale(.6) rotate(-20deg)}18%{opacity:var(--peak)}100%{--bl:100%;opacity:var(--peak);transform:none}}
@keyframes bloom-dim{to{opacity:var(--rest,.16)}}
@keyframes bloom-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.bloom{--bl:100%;opacity:var(--rest,var(--peak))}}
html.editing .bloom{--bl:100%;opacity:var(--rest,var(--peak));animation:none}

/* 2 · on the title page */
.hero{overflow:clip}
.bloom-hero{display:none;left:50%;top:47%;width:min(104vh,108vw);translate:-50% -50%;z-index:0;--rest:.17}
.hero-title,.hero-cue{z-index:1}
.hero-sub{position:relative;z-index:1}
html[data-flh="reveal"] .bloom-hero,html[data-flh="behind"] .bloom-hero{display:block}
html[data-flh="behind"] .bloom-hero{--peak:.2;--rest:.2;--bt:3.2s}
html[data-flh="reveal"] .bloom-hero.go{animation:bloom-open 2s cubic-bezier(.22,.7,.2,1) both,bloom-dim 1.7s ease 1.25s forwards}
html[data-flh="reveal"] .hero.t3 .l{animation-delay:calc(var(--i)*.03s + 1.75s)}
html[data-flh="reveal"] .hero-sub{animation:bloom-in 1.4s ease 2.4s both}
html[data-top="white"] .bloom-hero{--rest:.5}
html[data-top="white"][data-flh="behind"] .bloom-hero{--peak:.5}

/* 3, 5, 10 · above the thank-you words after a sign-up */
.bloom-ty{display:none;position:relative;width:6.6rem;margin:0 0 .9rem -.6rem;background-image:url(../img/flower-sm.jpg);--bt:2.2s}
html[data-flj="on"] .bloom-ty{display:block}
.gate-thanks .bloom-ty{margin:0 auto 1rem}

/* 7 · behind the cover in the book section */
.bk-cover.has-bloom{position:relative;isolation:isolate}
.bloom-book{display:none;left:50%;top:50%;width:205%;translate:-50% -50%;z-index:-1;--peak:.3;--bt:3.2s}
html[data-flb="glow"] .bloom-book,html[data-flb="both"] .bloom-book{display:block}
html[data-flb="glow"] .bk-6,html[data-flb="both"] .bk-6{overflow:clip}

/* 9 · behind the collection heading */
.family-intro{position:relative;isolation:isolate}
.bloom-coll{display:none;left:50%;top:50%;width:min(23rem,84vw);translate:-50% -50%;z-index:-1;--peak:.6;--bt:3.2s}
html[data-flc="soft"] .bloom-coll{display:block}
html[data-flc="soft"] .family,html[data-flc="film"] .family{overflow:clip}

/* 2. The author photo (section 12). It no longer follows the reader down the page (round 11's sticky rule made it slide and
      tucked its top under the header). "Fills its side": the photo runs the full height of the section beside her words, never
      narrower than 1 wide to 1.3 tall, so her arms are not cut. "Whole photo": the whole photograph, centred beside her words. */
@media (min-width:1181px){
  html[data-photo="b"]:not([data-pfit="slide"]) .dezi-media{position:relative;top:auto}
  html[data-photo="b"][data-pfit="frame"] .dezi{align-items:center}
  html[data-photo="b"][data-pfit="fill"] .dezi{align-items:stretch}
  html[data-photo="b"][data-pfit="fill"] .dezi-media{align-self:center;height:100%;max-height:82vw}
  html[data-photo="b"][data-pfit="fill"] .dezi-media::before{display:none}
  html[data-photo="b"][data-pfit="fill"] .dezi-media img.ph-b{object-position:58% 45%}
}
/* its arrival: a small box in the middle that opens outward, once, when half the photo is on screen */
html.js[data-parr="grow"] .dezi-media[data-rv]{opacity:1;transform:none}
html.js[data-parr="grow"] .dezi-media[data-rv] img.ph{clip-path:inset(46% 46% 46% 46%);transform:scale(1.14);transition:clip-path 1.7s cubic-bezier(.3,.6,.1,1),transform 2.4s cubic-bezier(.2,.7,.2,1)}
html.js[data-parr="grow"] .dezi-media[data-rv].open img.ph{clip-path:inset(0 0 0 0);transform:none}
html.js[data-parr="fade"] .dezi-media[data-rv]{transform:none;transition:opacity 1.8s ease}
html.js[data-parr="still"] .dezi-media[data-rv]{opacity:1;transform:none;transition:none}
html.editing .dezi-media img.ph{clip-path:none!important;transform:none!important}
@media (prefers-reduced-motion:reduce){html.js .dezi-media[data-rv]{opacity:1!important}html.js .dezi-media[data-rv] img.ph{clip-path:none!important;transform:none!important}}


/* ================= round 30 =================
   Dezi's new author photo (the natural retouch), cut to the frame she approved: 1536 wide by 1623 tall, so its frame is
   taller than round 10's cut. One column (phones and tablets): never taller than 86% of the screen. */
html[data-photo="b"] .dezi-media::before{padding-top:105.66%}
html[data-photo="b"] .dezi-media img.ph-b{object-position:50% 42%}
@media (max-width:1180px){html[data-photo="b"] .dezi-media{max-height:86svh}}


/* ================= rounds 31 and 34 =================
   The child print in chapter 34. Round 31 put Dezi in the gardener hat here; in round 34 Dezi replaced it with herself on
   the garden path (a portrait print, so the ordinary print width). "On his knee" and "Gardener" stay on the switch. */
.mphoto .k-path,.mphoto .k-father,.mphoto .k-gardener{display:none}
html[data-kid="path"] .mphoto .k-path,html[data-kid="knee"] .mphoto .k-father,html[data-kid="gardener"] .mphoto .k-gardener{display:block}
html[data-kid="path"] .mphoto .k-father,html[data-kid="path"] .mphoto .k-gardener,html[data-kid="knee"] .mphoto .k-gardener,html[data-kid="gardener"] .mphoto .k-father{display:none}

/* round 31 fix: on phones the soft light over the garden paragraph (section 6) reached 25px past the right edge once the chapters were open, which let the page slide sideways. An old fault, from the round that added the light. */
@media (max-width:1239px){.prose p.lit::before{inset:-3.2rem -.9rem}}


/* ================= rounds 32 and 33 =================
   The real bloom: the cover flower opening from a bud, petal by petal, made on Jonathan's Lab. Round 32 showed it as a
   video; round 33 draws it frame by frame on a canvas (60 frames in four sheets, assets/img/bloom/s0 to s3.jpg), so it
   plays the same on every phone. The canvas sits in a soft round frame. "go" = showing and playing; "rest" = settled.
   If the frames cannot be loaded, or the reader asked for less motion, the open flower (the canvas's own background
   picture) fades in instead. */
.bloomc{position:absolute;display:none;aspect-ratio:1;height:auto;border-radius:50%;pointer-events:none;opacity:0;
  background:url(../img/flower-open-end.jpg) 50% 50%/cover no-repeat;
  -webkit-mask-image:radial-gradient(circle closest-side,#000 42%,transparent 100%);
          mask-image:radial-gradient(circle closest-side,#000 42%,transparent 100%);
  transition:opacity 1.1s ease}
.bloomc.go{opacity:var(--peak,.6)}
.bloomc.rest{opacity:var(--rest,var(--peak,.6))}
html.editing .bloomc{opacity:var(--rest,var(--peak,.6))}

/* 9 · behind the collection heading */
.bloomc-coll{left:50%;top:50%;width:min(25rem,88vw);translate:-50% -50%;z-index:-1;--peak:.62}
html[data-flc="film"] .bloomc-coll{display:block}

/* 2 · on the title page: opens at full strength, the title rises out of it, and it sinks back to a ghost */
.bloomc-hero{left:50%;top:47%;width:min(104vh,108vw);translate:-50% -50%;z-index:0;--peak:1;--rest:.17}
.bloomc-hero.go{transition:opacity .6s ease}
.bloomc-hero.rest{transition:opacity 1.7s ease}
html[data-flh="film"] .bloomc-hero{display:block}
html[data-flh="film"] .hero.t3 .l{animation-delay:calc(var(--i)*.03s + 2.1s)}
html[data-flh="film"] .hero-sub{animation:bloom-in 1.4s ease 2.8s both}
html[data-top="white"] .bloomc-hero{--rest:.5}

/* 7 · on the book cover itself. The canvas lies exactly over the flower on the cover (the clip's last frame is that
   part of the cover), masked to a soft circle that stops short of the lettering. It waits as a bud, opens when the
   cover is well on screen, then fades away to leave the real cover. */
.bk-cover.has-bloom img{display:block}
.bloomc-book{left:0;top:28.333%;width:100%;z-index:1;background:none;--peak:1;--rest:0;
  -webkit-mask-image:radial-gradient(circle closest-side,#000 44%,transparent 60%);
          mask-image:radial-gradient(circle closest-side,#000 44%,transparent 60%);
  transition:opacity .5s ease}
.bloomc-book.rest{transition:opacity 1.3s ease}
html[data-flb="film"] .bloomc-book,html[data-flb="both"] .bloomc-book{display:block}

/* 15 · in the menu: opens in the lower right corner when the menu opens, then settles to a ghost behind the links */
.bloomc-menu{position:fixed;right:-12vh;bottom:-16vh;width:min(92vh,112vw);z-index:0;--peak:.55;--rest:.2}
.bloomc-menu.rest{transition:opacity 1.8s ease}
.menu-in{z-index:1}
html[data-flm="film"] .bloomc-menu{display:block}
@media (max-width:900px){.bloomc-menu{right:-28vw;bottom:-12vh;width:120vw;--rest:.16}}


/* ================= round 48 =================
   Section 9 on laptops (three covers in a row): an opened description spreads across the whole row under the covers
   instead of staying in its own narrow column. The panel is the book's own .kin-body, pulled left by the number of
   columns before it (--c) and made three columns wide; it has the card's paper behind it so the dividing lines of the
   neighbouring cards do not run through the words, and a small pointer sits under the book it belongs to.
   Switch "kinw": wide (this) or column (as before). Phones and tablets are untouched. */
@media (min-width:981px){
  html[data-kinw="wide"] .is-grid .kin{--kp:clamp(1rem,2vw,1.8rem);--c:0}
  html[data-kinw="wide"] .is-grid .kin:nth-child(3n+2){--c:1}
  html[data-kinw="wide"] .is-grid .kin:nth-child(3n){--c:2}
  /* every title keeps room for two lines, so the three cards in a row end at the same height and the panel
     never lies over a neighbour's "Read more" (365 Love Notes wraps to two lines) */
  html[data-kinw="wide"] .is-grid .kin-title{min-height:2.3em}
  html[data-kinw="wide"] .is-grid details.kin[open]{position:relative;z-index:3}
  html[data-kinw="wide"] .is-grid details.kin[open] .kin-body{position:relative;display:grid;grid-template-columns:minmax(0,40rem);justify-content:center;
    width:calc(300% + 4*var(--kp));margin-left:calc(var(--c)*(-100% - 2*var(--kp)));margin-bottom:-1.6rem;padding:1.9rem 0 2.2rem;
    background:#FBF9F3;font-size:1.06rem;line-height:1.66}
  html[data-kinw="wide"] .is-grid details.kin[open] .kin-body .kin-open{font-size:1.28rem}
  html[data-kinw="wide"] .is-grid details.kin[open] .kin-body .link{justify-self:start}
  html[data-kinw="wide"] .is-grid details.kin[open] .kin-body::before{content:"";position:absolute;top:-7px;
    left:calc((var(--c) + .5)*(100% + 2*var(--kp))/3 - var(--kp));width:12px;height:12px;background:#FBF9F3;
    border-left:1px solid var(--garnet);border-top:1px solid var(--garnet);transform:translateX(-50%) rotate(45deg)}
}


/* ================= round 51 =================
   The big links on the left of the menu. They used to turn garnet when pointed at, which on the garnet menu made the
   word disappear. Now the link under the pointer (or the keyboard) turns the soft rose of the title's heart and the
   other links dim back, so the reader always sees which one they are about to choose. Phones have no pointer and are
   unchanged. The opening slide keeps its own stagger; the colour and dimming answer at once. */
.menu .menu-big a{transition:transform .9s var(--ease) calc(var(--i)*.06s),color .35s ease 0s,opacity .35s ease 0s}
@media (hover:hover){
  .menu .menu-big:hover a{opacity:.42}
  .menu .menu-big a:hover{opacity:1;color:#f0b9a8}
}
.menu .menu-big:focus-within a{opacity:.42}
.menu .menu-big a:focus-visible{opacity:1;color:#f0b9a8;outline:none}

/* Round 58: the story link waits for its page; "Ask about working with Dezi" opens a short form under her bio */
html:not([data-story="on"]) .dezi-story{display:none}
.dezi-links .ask-open{background:none;border:0;padding:0;font:inherit;color:var(--note-orange);cursor:pointer;text-align:left}
.ask-pop form{display:grid;gap:.75rem}
.ask-pop input,.ask-pop select,.ask-pop textarea{border:0;border-bottom:1px solid currentColor;border-radius:0;background:transparent;padding:.55rem 0;width:100%;outline:none;font-family:var(--text);font-size:1.1rem;color:var(--ink)}
.ask-pop textarea{resize:vertical;min-height:5.5rem;line-height:1.45}
.ask-pop select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:1.6rem;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - .7rem) 55%,calc(100% - .35rem) 55%;background-size:.35rem .35rem;background-repeat:no-repeat}
.ask-pop select:invalid{color:rgba(58,15,24,.55)}
.ask-pop option{color:var(--ink)}
.ask-pop input:focus,.ask-pop select:focus,.ask-pop textarea:focus{border-bottom-width:2px;padding-bottom:calc(.55rem - 1px)}
.ask-pop .err{font-family:var(--mono);font-size:.78rem;color:#b3261e;min-height:1em;margin:0}
.ask-pop .btn{justify-self:start;margin-top:.4rem}
.ask-pop .thanks p{font-family:var(--mono);font-size:.9rem;line-height:1.6}

/* Round 59: the form is a pop-up (Dezi) */
.ask-pop{border:0;padding:clamp(2rem,5vw,3rem) clamp(1.4rem,5vw,3rem) clamp(1.8rem,4vw,2.6rem);width:min(32rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;background:var(--paper);color:var(--ink);box-shadow:0 30px 80px rgba(42,8,16,.35);overscroll-behavior:contain}
.ask-pop::backdrop{background:rgba(58,15,24,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.ask-pop[open]{animation:askIn .45s cubic-bezier(.2,.7,.2,1)}
.ask-pop[open]::backdrop{animation:askFade .45s ease}
@keyframes askIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@keyframes askFade{from{opacity:0}to{opacity:1}}
.ask-pop h2{font-family:var(--display);font-weight:400;font-size:clamp(1.7rem,3.2vw,2.2rem);line-height:1.12;margin:0 2rem 1.4rem 0;text-transform:none}
.ask-x{position:absolute;top:.7rem;right:.9rem;background:none;border:0;font-size:2rem;line-height:1;color:var(--ink);cursor:pointer;padding:.2rem .45rem;opacity:.7}
.ask-x:hover,.ask-x:focus-visible{opacity:1}
@media (prefers-reduced-motion:reduce){.ask-pop[open],.ask-pop[open]::backdrop{animation:none}}

/* Round 60: first and last name (Dezi) */
.ask-names{display:grid;grid-template-columns:1fr 1fr;gap:.75rem 1.4rem}
@media (max-width:520px){.ask-names{grid-template-columns:1fr}}

/* round 70: the preview panel is put away unless the preview tools are on */
html:not(.review-on) .review{display:none!important}

/* round 71: one quiet line under the collection, for readers who came from the back of a book */
.journey{max-width:62rem;margin:clamp(2rem,5vh,3rem) auto 0;font-family:var(--mono);font-size:.8rem;line-height:1.6;text-align:center}
.journey a{text-decoration:underline;text-underline-offset:.3em;text-decoration-thickness:1px}
.journey a:hover{color:var(--orange)}

/* round 72: the "also send me" tick box on every form, the field nobody sees that catches robots, and a form while it sends */
form label.also{display:flex;align-items:flex-start;gap:.65rem;margin:.55rem 0 0;font-family:var(--mono);font-size:.76rem;line-height:1.5;letter-spacing:0;text-transform:none;text-align:left;cursor:pointer;grid-column:1/-1;position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal}
form label.also input{appearance:none;-webkit-appearance:none;flex:none;position:relative;width:1.05rem!important;height:1.05rem;margin:.1rem 0 0;padding:0!important;border:1px solid currentColor!important;border-radius:0;background:transparent;cursor:pointer}
form label.also input:checked::after{content:"";position:absolute;left:.32rem;top:.08rem;width:.3rem;height:.6rem;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
form label.also input:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
form .hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
form.sending button[type=submit]{opacity:.55;pointer-events:none}
.daily form .err{font-family:var(--mono);font-size:.75rem;line-height:1.5;color:#b3261e;margin:0}
.daily form .err:empty{display:none}

/* round 73: a little orange in the footer. Dezi liked it there in the preview, where it was only the draft colour.
   The four small headings, and the one thing the footer asks you to do. */
.ft .ft-cols h3{color:var(--orange)}
.ft .ft-join .link{color:var(--orange)}
.ft .ft-join .link:hover{color:var(--petal)}

/* round 76 (Dezi, 22 November) */
/* header: the small capitals a little thicker, the links a little larger, so they do not look pale and wispy.
   Gilda Display has one weight, so the thickening is a hairline drawn around each letter in its own colour. */
.brand-mark,.hd-nav a,.menu-btn span,.hd .btn.cta,.s-brand{-webkit-text-stroke:.35px currentColor}
.hd-nav a,.menu-btn span,.hd .btn.cta{font-size:.82rem}
.brand-sub{font-weight:500;opacity:1}
.s-brand span{-webkit-text-stroke:0;font-weight:500}
/* on the cream bar the name is garnet, not ink */
.hd.scrolled .brand{color:var(--garnet)}
/* 3: "It's time to remember who you are." as plain words again, no band behind it */
html[data-q="a"] .hl2{padding:0;background:none;color:inherit}
/* 3: the button under the two chapters is orange, not white */
html[data-q="a"] .q-panel .btn.solid{background:var(--orange);border-color:var(--orange);color:#fff}
html[data-q="a"] .q-panel .btn.solid::before{background:#b84300}
html[data-q="a"] .q-panel .btn.solid:hover{color:#fff;border-color:#b84300}

/* ---------- round 77: Continue your journey, easier to find and still quiet */
/* 9 · under the six books, Dezi's line */
.journey{max-width:62rem;margin:clamp(2.6rem,6vh,4rem) auto 0;text-align:center;font-family:var(--text);font-size:clamp(1.25rem,1.9vw,1.55rem);line-height:1.5}
.journey .jq{font-style:italic}
.journey a{display:inline-flex;align-items:center;gap:.6em;margin-left:.3em;color:var(--orange);text-decoration:none;white-space:nowrap;transition:color .4s var(--ease)}
.journey a .arr{width:1.5em;height:auto;transition:transform .4s var(--ease)}
.journey a:hover,.journey a:focus-visible{color:var(--garnet)}
.journey a:hover .arr{transform:translateX(.3em)}
/* 13 · footer, under the name */
.ft-journey{margin:1.6rem 0 0}
.ft-journey a{display:inline-flex;align-items:center;gap:.8em;font-family:var(--display);text-transform:uppercase;letter-spacing:.16em;font-size:.9rem;color:var(--orange);text-decoration:none;-webkit-text-stroke:.35px currentColor;transition:color .4s var(--ease)}
.ft-journey .arr{width:1.7em;height:auto;transition:transform .4s var(--ease)}
.ft .ft-journey a:hover,.ft .ft-journey a:focus-visible{color:var(--petal)}
.ft-journey a:hover .arr{transform:translateX(.3em)}
html[data-page="more"] .ft-journey,html[data-page="gift"] .ft-journey{display:none}   /* already there */

/* ---------- round 79: the line under the six books is quieter (it had been larger than the books' names) */
.journey{font-size:clamp(1rem,1.2vw,1.1rem);margin-top:clamp(2.4rem,5.5vh,3.4rem)}
.journey a{gap:.55em}
.journey a .arr{width:1.4em}

/* ---------- round 81: 16 · readers' words. Hidden until there are real ones; the preview's Sample switch shows the layout */
.readers{display:none;position:relative;padding:clamp(4rem,10vh,7rem) var(--pad);text-align:center;background:var(--paper)}
html[data-testi="on"] .readers{display:block}
.readers h2{font-family:var(--display);font-weight:400;font-size:clamp(1.9rem,3.4vw,3rem);line-height:1.1;margin:0 0 clamp(2.2rem,5vh,3.4rem)}
.rd-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.6rem,3vw,3rem);max-width:68rem;margin:0 auto;text-align:left}
.rd-list figure{margin:0;padding-top:1.3rem;border-top:1px solid rgba(58,15,24,.35)}
.rd-q{margin:0;font-family:var(--text);font-style:italic;font-size:clamp(1.15rem,1.5vw,1.35rem);line-height:1.5}
.rd-n{margin-top:1rem;font-family:var(--mono);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}
@media (max-width:860px){.rd-list{grid-template-columns:1fr;max-width:34rem}}
/* the footer's Write to Dezi is a link that opens the ask pop-up */
