@font-face{font-family:Bricolage;src:url("assets/fonts/bricolage.woff2") format("woff2");font-style:normal;font-weight:400 800;font-display:swap}
@font-face{font-family:"DM Sans";src:url("assets/fonts/dm-sans.woff2") format("woff2");font-style:normal;font-weight:400 750;font-display:swap}
:root{--ink:#183f44;--teal:#126365;--paper:#fffbef;--cream:#faf5e7;--edge:#8d9e8a;--display:Bricolage,"Arial Rounded MT Bold",sans-serif;--body:"DM Sans",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.55 var(--body)}
a{color:inherit;text-decoration:none}
a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid #80274d;outline-offset:4px}
img{max-width:100%;display:block}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3,.brand{font-family:var(--display);font-weight:720;font-optical-sizing:auto}
.wrap{width:min(1192px,calc(100% - 112px));margin-inline:auto}
.skip{position:absolute;left:12px;top:8px;z-index:8;transform:translateY(-150%);background:white;padding:10px}
.skip:focus{transform:none}
.masthead{background:var(--paper);border-bottom:1px solid #afc7bb;position:relative;z-index:3}
.header-inner,nav,.brand,.book-link,.button{display:flex;align-items:center}
.header-inner{min-height:82px;justify-content:space-between;gap:25px}
.brand{gap:12px;font-size:27px;line-height:1;letter-spacing:-1.25px;min-height:44px}
nav{gap:32px;font-size:14px;font-weight:650}
nav a{display:inline-flex;align-items:center;min-height:44px}
.nav-link:hover,.text-link:hover{text-decoration:underline;text-underline-offset:4px}
.book-link{gap:9px;border:1.5px solid var(--ink);padding:9px 19px;border-radius:100px}
.book-link svg{fill:none;stroke:currentColor;stroke-width:1.7;width:17px;height:17px;stroke-linejoin:round}
.book-link:hover{background:#e0e9df}
.sky{position:relative;isolation:isolate;background:linear-gradient(110deg,#d0e9df 5%,#c6e6df 49%,#a9d8d8 100%);overflow:hidden}
.sky::before,.sky::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1}
.sky::before{background:url("assets/illustrations/cloud-banks.svg") bottom center / cover no-repeat}
.sky::after,.birthday-card::after{background-image:url("assets/illustrations/grain.png");opacity:.084;mix-blend-mode:multiply}
.hero{position:relative;display:grid;grid-template-columns:1.02fr 1fr;align-items:center;min-height:612px;padding-block:54px 66px;gap:3%}
.kicker{display:flex;align-items:center;gap:10px;font:750 11px/1.5 var(--body);text-transform:uppercase;letter-spacing:2.1px}
.rule{width:29px;height:2px;background:currentColor;flex:none}
h1{font-size:clamp(66px,7.2vw,109px);line-height:.93;letter-spacing:-.041em;margin:22px 0 22px}
h1 em{font-style:normal;color:var(--teal);white-space:nowrap}
.bang{display:inline-block;transform:rotate(8deg);transform-origin:50% 80%}
.lead{font-size:clamp(17px,1.45vw,21px);line-height:1.52;max-width:430px}
.button{display:inline-flex;gap:19px;background:var(--ink);color:var(--paper);font-weight:700;font-size:15px;line-height:1.3;border-radius:50px;min-height:49px;padding:14px 23px;margin-top:26px}
.button:hover{background:#0c5b5f}
.button:active,.book-link:active,summary:active{transform:translateY(1px)}
.button span{font-size:21px;line-height:.85}
.cover-scene{position:relative;display:grid;place-items:center;isolation:isolate;padding-bottom:37px}
.cover-mount{width:min(72%,385px);transform:rotate(5deg);background:var(--paper);border-radius:3px;box-shadow:1px 3px 0 #9d9984,3px 5px 0 #efe4c8,4px 6px 0 #718d84,6px 8px 0 #e9dfc7,8px 10px 0 #587d74,10px 24px 26px #264e523d}
.cover-main{width:100%;height:auto;border-radius:3px}
.sun{position:absolute;width:89%;aspect-ratio:1;max-width:472px;background:#f7e6ad;border-radius:50%;inset:45% auto auto 50%;transform:translate(-50%,-50%);z-index:-1;box-shadow:inset 0 0 45px #ffebbe}
.plane{position:absolute;width:29%;height:auto;right:-2%;top:-13%;z-index:1;transform:rotate(-9deg)}
.spark{position:absolute;color:#92611c;font:normal 31px/1 Georgia,serif}
.s1{left:0;top:38%;transform:rotate(-14deg)}
.s2{right:1%;bottom:26%;font-size:20px}
figcaption{position:absolute;bottom:-6px;right:14%;font:italic 17px/1.3 Georgia,serif;transform:rotate(3deg)}
figcaption::before{content:"";position:absolute;width:36px;height:20px;left:-46px;top:-10px;border:1.6px solid currentColor;border-top:0;border-right:0;border-radius:0 0 0 100%}
.birthday{display:grid;grid-template-columns:1fr .9fr;gap:11%;align-items:center;padding-block:78px 88px}
h2{font-size:clamp(42px,4.6vw,71px);line-height:.99;letter-spacing:-.036em;margin:18px 0 22px}
.story-intro>p:last-child{max-width:505px}
.birthday-card{position:relative;isolation:isolate;background:#f8dfa3;padding:25px 31px 30px;box-shadow:3px 4px 0 #d2c6a7;transform:rotate(-1.2deg);border:1px solid #aa976f;border-radius:3px}
.birthday-card::after{position:absolute;inset:0;content:"";pointer-events:none;z-index:-1}
.card-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px dashed #927d50;padding-bottom:9px;color:#544b30}
.card-top span{font:italic 19px Georgia,serif}
.postmark{width:76px;height:31px;stroke:currentColor;fill:none;stroke-width:1.6}
h3{font-size:clamp(34px,3.2vw,47px);letter-spacing:-.033em;line-height:1.02;margin:18px 0 12px}
.flap summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;cursor:pointer;font-weight:700;font-size:15px}
summary::-webkit-details-marker{display:none}
.flap summary:hover .closed,.flap summary:hover .opened{text-decoration:underline}
.flap-sign{width:28px;height:28px;border:1.5px solid currentColor;border-radius:50%;position:relative;flex:none}
.flap-sign::before,.flap-sign::after{content:"";position:absolute;background:currentColor;inset:12px 6px auto;height:2px}
.flap-sign::after{transform:rotate(90deg)}
.flap[open] .flap-sign::after,.opened,.flap[open] .closed{display:none}
.flap[open] .opened{display:inline}
.secret{border-top:1px dashed #927d50;padding-top:13px}
.secret p+p{margin-top:7px;font-style:italic}
@media(max-width:1000px){.wrap{width:calc(100% - 80px)}.hero{min-height:510px}.birthday{gap:6%}nav{gap:19px}}
@media(max-width:700px){
.wrap{width:calc(100% - 42px)}.header-inner{min-height:64px;gap:8px}.brand{gap:7px;font-size:21px;letter-spacing:-1px}.brand img{width:31px;height:31px}
nav{gap:0}.nav-link{display:none}.book-link{padding:6px 12px;font-size:13px}.book-link svg{width:15px;height:15px}
.hero{display:flex;flex-direction:column;gap:33px;padding:34px 0 39px;min-height:0}.hero-text{width:100%}
.kicker{font-size:10px;letter-spacing:1.6px;gap:8px}.rule{width:22px}
h1{font-size:clamp(58px,13.5vw,80px);margin:13px 0 12px;line-height:.93}
.lead{font-size:16px;line-height:1.47;max-width:400px}.button{margin-top:16px;min-height:44px;padding:11px 18px;font-size:14px}
.cover-scene{width:min(90%,400px);padding:0 0 23px;margin:6px 0 7px}
.cover-mount{width:65%}.sun{width:82%}.plane{width:31%;right:-1%;top:-5%}.s1{left:1%}.s2{right:3%}figcaption{font-size:14px;right:11%;bottom:-10px}
.sky::before{background-size:auto 64%;background-position:66% bottom}
.birthday{display:block;padding-block:47px 54px}.birthday-card{margin:32px 4px 0;padding:19px 23px 18px}
h2{margin:13px 0 17px;font-size:45px}.story-intro>p:last-child{font-size:16px}.card-top span{font-size:17px}
}
@media(max-width:354px){.wrap{width:calc(100% - 32px)}.brand{font-size:19px}.book-link{padding-inline:10px;white-space:nowrap}.brand{white-space:nowrap}.header-inner{gap:5px}.book-link svg{display:none}.hero{padding-top:25px;gap:24px}h1{font-size:50px}.lead{font-size:15px}.cover-scene{width:87%}}
.warm{background:#f5d6bf url("assets/illustrations/evening-wind.svg") center / cover no-repeat;border-block:1px solid #cfb9a2}
.second-spread{display:grid;grid-template-columns:1fr 1fr;gap:5%;align-items:center;padding-block:62px}
.second-cover{display:flex;justify-content:center}
.second-cover img{width:clamp(185px,18vw,247px);height:auto;transform:rotate(-4deg);box-shadow:2px 3px 0 #f5eacb,4px 5px 0 #926d58,7px 18px 18px #684c4036}
.second-text{max-width:485px}
.credit{font-size:14px;margin-top:15px}
.text-link{display:inline-flex;gap:14px;align-items:center;min-height:44px;font-weight:700;font-size:15px;text-decoration:underline;text-underline-offset:4px}
.second-text .text-link{margin-top:10px}
.other{display:flex;gap:clamp(32px,5vw,84px);align-items:center;padding-block:64px;max-width:905px}
.other>img{width:clamp(136px,17vw,214px);height:auto;box-shadow:1px 3px 9px #57462221;border:1px solid #ddd7c8}
.other h2{font-size:clamp(40px,4vw,59px)}
.other p{max-width:490px}
.books{background:var(--ink);color:#fffbef}
.shelf{display:grid;grid-template-columns:.85fr 1.15fr;align-items:start;gap:9%;padding-block:63px}
.shelf h2{font-size:clamp(46px,4.25vw,66px)}
.editions{list-style:none;margin:0;padding:0;border-top:1px solid #85aaa3}
.editions li{border-bottom:1px solid #85aaa3}
.editions a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 4px}
.editions a:hover strong{text-decoration:underline;text-underline-offset:4px}
.editions a:active .out{background:#ffe7a8;color:var(--ink)}
.editions strong{display:block;font:650 23px/1.2 var(--display);letter-spacing:-.02em}
.editions small{font-size:13px;color:#d0e4d9}
.out{display:grid;place-items:center;width:32px;height:32px;border:1px solid #a6c0b5;border-radius:50%;font:22px/1 var(--body);flex:none}
.books :focus-visible{outline-color:#ffc65a}
.foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:12px;font-size:13px}
.foot a{font-weight:700;display:inline-flex;align-items:center;gap:8px;min-height:44px}
.foot a:hover{text-decoration:underline}
@media(max-width:700px){
.second-spread{display:flex;flex-direction:column;gap:29px;padding-block:38px}
.second-cover img{width:150px}.second-text{max-width:100%}.warm{background-size:auto 295px;background-position:13% top}
.other{display:grid;grid-template-columns:96px 1fr;gap:18px;padding-block:44px}
.other>img{width:96px}.other h2{font-size:36px;margin:9px 0 12px}.other .kicker{font-size:9px;letter-spacing:1px;display:block}
.other .rule{display:none}.other p:not(.kicker):not(.credit){font-size:15px;line-height:1.5}
.shelf{display:block;padding-block:38px}.shelf h2{font-size:44px;margin-bottom:25px}
.editions strong{font-size:20px}.foot{font-size:12px}.foot a{white-space:nowrap}
}
@media(max-width:354px){
.other{grid-template-columns:79px 1fr;gap:13px}.other>img{width:79px}.other h2{font-size:32px}.foot span:first-child{max-width:160px}
}
