@font-face{font-family:PostscriptMono;src:url("/fonts/lmmono10-regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Ink;src:url('/fonts/dawning-original.woff') format('woff'),url('/pow/assets/dawning.ttf') format('truetype');font-display:block}
@font-face{font-family:Reader;src:url('/pow/assets/dm-sans.ttf') format('truetype');font-display:swap}
*{box-sizing:border-box}html{color:#3e2a25;background:#f7eee2}body{margin:0;font:400 1rem/1.6 Reader,system-ui,sans-serif;background:#f7eee2 url('/assets/lily-of-the-valley.webp') center / cover no-repeat}
main{min-height:100svh;max-width:71rem;margin:auto;padding:clamp(2.7rem,8vw,5rem) clamp(1.2rem,4.5vw,3.7rem) 1.5rem}
header{margin:0 auto 2.6rem;text-align:center}.imprint{display:inline-flex;gap:.85rem;align-items:center;color:#684b44;letter-spacing:.14em;text-transform:uppercase;font-size:.89rem;margin-bottom:.35rem}.imprint:before,.imprint:after{content:"";width:2rem;height:1px;background:#927165}
h1{font:400 clamp(4rem,12vw,8.75rem)/.9 Ink,Georgia,serif;color:#633541;margin:.35rem 0 .85rem;letter-spacing:-.025em}
header p{margin:0;font:1.1rem/1.5 Georgia,serif;color:#654f46}
nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,2.2vw,2rem);align-items:stretch}
.door{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff8ee;border:1px solid #bda38f;border-radius:8rem 8rem .5rem .5rem;box-shadow:0 1rem 2.25rem #69453513;overflow:hidden;isolation:isolate;transition:transform .25s ease,box-shadow .25s ease}
.door{border-right-color:transparent}
.door:hover{transform:translateY(-.325rem);box-shadow:0 1.2rem 2.2rem #6144382b}.door:focus-visible{outline:3px solid #633541;outline-offset:4px}
.cover{height:auto;aspect-ratio:1 / 1.06;position:relative;overflow:hidden;background:#ebd8cc;border-bottom:1px solid #bda38f}
.cover>img{width:100%;height:100%;object-fit:cover;display:block}.earth .cover>img{object-position:center 48%}.petals .cover>img:first-child{object-position:center 57%}
.petals .cover>.petal{position:absolute;width:42%;height:42%;object-fit:contain;top:24%;left:30%;filter:drop-shadow(0 5px 7px #72374c45);transform:rotate(-11deg)}
.regret .cover{display:grid;place-items:center;background:repeating-linear-gradient(107deg,#fff3 0 1px,transparent 1px 5px),radial-gradient(ellipse at 51% 26%,#f5dfd0,#cba69e)}
.page{width:58%;height:65%;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:8%;background:linear-gradient(100deg,#e7cdb0,#fff0d3 15%,#fbedda 81%,#f2e0c0);border-radius:3% 2% 3% 5%;border:1px solid #9e755e;box-shadow:7px 12px 22px #593a3745, inset 9px 0 0 #e1c8a9;transform:rotate(-12deg);position:relative}.page:before{content:"";position:absolute;inset:8% 10%;border:1px solid #b0877966}.page i{width:57%;height:1px;background:#a3756685;transform:rotate(-1.5deg)}.page i:nth-child(2n){width:48%}.page b{font:1.4rem/1 Georgia;color:#7f514e}
.label{padding:1.15rem 1.2rem 1.3rem;flex:1;text-align:center}.label h2{font:400 clamp(1.18rem,2.05vw,1.65rem)/1.2 Georgia,serif;color:#4c302e;margin:0 0 .35rem}.label>span{font-size:.91rem;color:#6b5248}
footer{text-align:center;margin-top:2.6rem;font:1rem Georgia,serif;color:#6b5248}footer span{padding:0 .5rem;color:#795145}
@media(max-width:640px){main{padding-top:2.8rem}header{margin-bottom:2rem}nav{grid-template-columns:1fr;max-width:29rem;margin:auto;gap:1rem}.door{min-height:8.7rem;display:grid;grid-template-columns:39% 1fr;border-radius:4rem .55rem .55rem 4rem}.cover{height:100%;aspect-ratio:auto;border-bottom:0;border-right:1px solid #bda38f}.label{align-self:center;text-align:left;padding:.8rem .85rem}.label h2{font-size:1.18rem}footer{margin-top:1.8rem}}
@media(prefers-reduced-motion:reduce){.door{transition:none}}
/* Each cover uses the contents and materials of the collection it opens. */
header{margin-bottom:2rem}h1{margin-top:0;margin-bottom:0}.regret .cover{background:radial-gradient(ellipse at 50% 46%,#eeece3,#d8d3ca)}
.diary-leaf{position:absolute;inset:6% 9%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5%;padding:7% 8% 7% 13%;overflow:hidden;border:1px solid #c7beaa;border-radius:2px 6px 4px 2px;background:linear-gradient(90deg,#e9e3d4 0,transparent 12% 14%,#b5737445 14% 14.5%,transparent 14.5%),repeating-linear-gradient(#fcfaf3 0 13px,#c9d5da 13px 14px);box-shadow:4px 7px 13px #5049384a;transform:rotate(-5deg);color:#4d4c47;font-family:Ink,Georgia,serif;text-align:left}
.leaf-no{font-size:clamp(15px,2.7vw,31px);line-height:1}.leaf-ink{font-size:clamp(12px,1.62vw,21px);line-height:1.08}
.petals{background:#fff8ee}.rose-plant{position:absolute;left:50%;top:39%;width:57%;aspect-ratio:1;transform:translate(-50%,-50%);filter:drop-shadow(0 2px 2px #7042322e)}
.rose-stem{position:absolute;top:48%;left:25%;width:62%;height:115%;overflow:visible}.rose-blade{position:absolute;left:21%;top:-2.25%;width:58%;height:55%;object-fit:fill;transform-origin:50% 95%;transform:rotate(var(--angle));clip-path:polygon(50% 19%,40% 9%,29% 2%,15% 10%,5% 24%,0 39%,2% 55%,12% 72%,33% 88%,50% 98%,67% 88%,88% 72%,98% 55%,100% 39%,95% 24%,85% 10%,71% 2%,60% 9%)}
.rose-blade.ring1{transform:rotate(var(--angle)) scale(.8)}.rose-center{position:absolute;left:43%;top:42%;width:14%;height:14%;border-radius:49%;background:radial-gradient(circle,#e2b643 13%,#d9a53f 63%,#c68b2c 88%,#f2c978);box-shadow:0 0 0 2px #f7d79055}
.loose-paper{position:absolute;width:34%;aspect-ratio:1;top:var(--y);left:var(--x);transform:translate(-50%,-50%) rotate(var(--r));background:url('/tekmsots/assets/crumpled-pages.png') var(--sx) var(--sy)/400% 200% no-repeat;filter:drop-shadow(3px 5px 4px #140c08b0)}
@media(max-width:640px){main{padding-top:2.65rem}header{margin-bottom:1.8rem}.door{min-height:8.5rem;grid-template-columns:39% minmax(0,1fr)}.cover{height:auto;min-height:0}.cover>img{position:absolute;inset:0}.label{padding-block:1rem}.diary-leaf{inset:5% 7% 5% 14%;padding-left:12%}.leaf-no{font-size:16px}.leaf-ink{font-size:clamp(11px,3.1vw,14px)}.rose-plant{width:68%;top:52%}}

/* Mobile cards have symmetric corners; the diary artwork fills its frame. */
@media(max-width:640px){
 .door{border-radius:2rem}
 .label{text-align:center;padding-inline:.375rem}
 .label h2{font-size:clamp(.9rem,4.65vw,1.18rem)}
 .label>span{font-size:clamp(.78rem,3.65vw,.91rem)}
 .phone-line{display:block;white-space:nowrap}
 .regret .diary-leaf{inset:0;transform:none;border:0;border-radius:0;box-shadow:none;padding:5% 6% 5% 18%}
}

/* No fallback handwriting or half-assembled artwork during reloads. */
.hold-first-paint:not(.ink-ready) h1,
.hold-first-paint:not(.ink-ready) .diary-leaf span,
.hold-first-paint .door:not(.cover-ready):is(.petals,.earth) .cover>*{visibility:hidden}

@media(min-width:641px){
 .earth h2 .phone-line{display:block}
 .regret .diary-leaf{inset:0;transform:none;border:0;border-radius:0;box-shadow:none;padding:7% 9% 7% 18%}
}

@font-face{font-family:CollectionDisplay;src:url('/fonts/bebas-neue.ttf') format('truetype');font-style:normal;font-weight:400;font-display:block}
.label h2{font-family:CollectionDisplay,'Arial Narrow',sans-serif;letter-spacing:.035em}
.label>span{font-family:Reader,system-ui,sans-serif}

.label h2{font-size:clamp(1.45rem,2.65vw,2rem)}
.label>span{font-size:.82rem}
@media(max-width:640px){
 .label h2{font-size:clamp(1.06rem,5.4vw,1.48rem)}
 .label>span{font-size:clamp(.72rem,3.2vw,.83rem)}
}

@media(min-width:641px){.regret h2 .phone-line{display:block;white-space:nowrap}}

/* Center every title on the same two-line grid; start descriptions together. */
.label{display:flex;flex-direction:column;justify-content:flex-start}
.label h2{display:flex;flex-direction:column;align-items:center;justify-content:center;min-block-size:2.4em}
.label>span{display:block}
@media(max-width:640px){
 .label{align-self:stretch;justify-content:center}
 .label>span{min-block-size:3.2em}
}

/* The phone crop preserves the watercolor’s original proportions. */
@media(max-width:640px){
 body{background-image:url('/assets/lily-of-the-valley-mobile-crop.webp');background-position:38% 10%}
}

/* A quiet sentence under the masthead; the collection cards retain their spacing and styling. */
header .tagline{margin:.42rem auto 0;font:400 clamp(.89rem,2.6vw,1.06rem)/1.45 Reader,system-ui,sans-serif;color:#633541;text-wrap:balance}

/* A small, readable note after the collection covers. */
.postscript {
 max-inline-size: 35rem;
 margin: clamp(1rem, 3vw, 1.65rem) auto 0;
 padding: .65rem .95rem;
 color: #482632;
 text-shadow: 0 0 3px rgb(255 245 223 / .94), 0 0 8px rgb(255 245 223 / .76);
 font: 400 clamp(.95rem, 2.8vw, 1.06rem)/1.48 PostscriptMono, "Courier New", monospace;
}
.postscript p { margin: 0; text-wrap: balance; }

header .collection-kicker {
 margin: .2rem auto 0;
 color: #633541;
 font: 400 clamp(.9375rem, 1.98vw, 1.6875rem)/1.4 Reader, system-ui, sans-serif;
 letter-spacing: .103em;
}

/* Stable mobile watercolor, independent of scrolling content and browser chrome. */
@media(max-width:640px){
 body{background-image:none;isolation:isolate}
 body::before{
  content:"";position:fixed;top:0;left:0;width:100%;height:100vh;height:100lvh;
  z-index:-1;pointer-events:none;
  background:#f7eee2 url('/assets/lily-of-the-valley-mobile-crop.webp') 38% 10% / cover no-repeat;
 }
 header .collection-kicker{font-size:clamp(.9375rem,4vw,1rem)}
}
