/* A small garden, and quieter things passing through the sky. */
.introduction h1,.introduction h1 .surname{font-style:italic}
.work-and-notes .intro-copy p{font-size:16px;line-height:1.95}.work-and-notes .intro-copy .lead{font-size:29px;line-height:1.55}
:root:not([data-theme="dark"]) .theme-toggle{border-color:var(--orange);color:#a9582c}
:root:not([data-theme="dark"]) .theme-toggle:hover{background:#edaf7d33;border-color:#c66f3e;color:#a9582c}
:root:not([data-theme="dark"]) .theme-toggle:focus-visible{outline:2px solid #c66f3e;outline-offset:4px}
:root:not([data-theme="dark"]) .shore-scene .coast-star,:root:not([data-theme="dark"]) .shore-scene .wish-star{display:none!important}
.shore-scene .coast-star{z-index:0}.companion{z-index:50}
.day-gulls{display:none!important}.day-flock{position:absolute;inset:0;overflow:hidden;display:block}[data-theme="dark"] .day-flock{display:none}
.flying-gull{position:absolute;left:-80px;top:var(--gull-y);width:38px;height:22px;overflow:visible;animation:gull-passage 29s var(--gull-delay) linear infinite;opacity:.55}
.flying-gull:nth-child(2){width:25px;animation-duration:35s}.flying-gull:nth-child(3){width:31px;animation-duration:32s}.gull-wings{fill:none;stroke:#327a79;stroke-width:2;stroke-linecap:round;transform-origin:40px 22px;animation:gull-beat 1.4s ease-in-out infinite}
@keyframes gull-passage{0%{left:-80px;translate:0 6px}100%{left:calc(100% + 80px);translate:0 -14px}}
@keyframes gull-beat{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.18)}}
.motion-off .day-flock{display:none}@media(prefers-reduced-motion:reduce){.day-flock{display:none}}
.shore-grass{position:absolute;left:0;bottom:0;width:100%;height:90px;pointer-events:none;z-index:4;color:#286762}[data-theme="dark"] .shore-grass{color:#19474e}
.wind-note{position:absolute;left:50%;bottom:10px;translate:-50% 0;z-index:6;font:9px/1.4 var(--sans);color:var(--muted);opacity:.7;text-decoration:none;white-space:nowrap}.wind-note:hover{opacity:1;text-decoration:underline}
.nyx-garden{position:relative;width:220px;height:250px;margin:28px auto 15px;isolation:isolate}.nyx-tree{display:block;width:100%;height:100%;overflow:visible}.tree-trunk{fill:#387775}.tree-crown{fill:#78aaa0;transform-origin:110px 145px;animation:tree-wind 9s ease-in-out infinite alternate}.tree-cut{fill:none;stroke:var(--paper);stroke-width:2;stroke-linecap:round;opacity:.4}.tree-ground,.tree-stem{fill:none;stroke:#638f81;stroke-width:1.5;stroke-linecap:round}[data-theme="dark"] .tree-crown{fill:#326469}[data-theme="dark"] .tree-trunk{fill:#629491}
@keyframes tree-wind{from{transform:rotate(-.7deg)}to{transform:rotate(.9deg)}}
.nyx-house{position:absolute;left:130px;top:90px;width:62px;height:75px;padding:0;border:0;background:none;cursor:pointer;z-index:2;overflow:visible}.nyx-house svg{display:block;width:100%;height:100%;overflow:visible}.house-hanger,.house-perch{fill:none;stroke:#387775;stroke-width:2;stroke-linecap:round}.house-body{fill:#d39a6e}.house-roof{fill:#286764}.house-door{fill:#244d4c}.house-eyes{fill:#fff1bd;display:none;transform-origin:31px 47px;animation:nyx-blink 7s ease-in-out infinite}.nyx-house[data-occupied="true"] .house-eyes{display:block}[data-theme="dark"] .house-body{fill:#639599}[data-theme="dark"] .house-roof{fill:#477e82}[data-theme="dark"] .house-door{fill:#12383d}[data-theme="dark"] .house-eyes{fill:#c1f7ff;filter:drop-shadow(0 0 3px #8edce9)}
@keyframes nyx-blink{0%,43%,47%,72%,76%,100%{transform:scaleY(1)}45%,74%{transform:scaleY(.08)}}
.house-knock{animation:house-knock .45s ease-out}@keyframes house-knock{20%,60%{rotate:-3deg}40%,80%{rotate:3deg}100%{rotate:0deg}}
.companion:after,.nyx-house:after,.bird-message{font:15px/1.45 var(--serif);color:var(--ink);background:var(--paper);border:1px solid color-mix(in srgb,var(--accent) 55%,var(--paper));border-radius:15px 15px 15px 4px;padding:9px 13px;box-shadow:0 4px 15px #12383d0c}
.nyx-house:after{content:attr(data-name);position:absolute;bottom:100%;left:50%;translate:-50% -5px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}.nyx-house:hover:after,.nyx-house:focus-visible:after{opacity:1}.nyx-house:focus-visible{outline:1px solid var(--orange);outline-offset:4px;border-radius:10px}
.bird-message{position:absolute;bottom:calc(100% + 12px);left:clamp(calc(105px - var(--bird-x)),50%,calc(100vw - 105px - var(--bird-x)));translate:-50% 0;width:200px;text-align:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s}.has-message .bird-message{opacity:1;visibility:visible}.companion.has-message:after{display:none}.companion.is-away{display:none!important}
.companion.is-fluttering .bird-flight-wing{display:block;animation:nyx-flap .16s ease-in-out infinite alternate}
.wish-leaf{position:absolute;left:107px;top:43px;width:27px;height:27px;padding:0;background:none;border:0;color:#ce8d56;z-index:3;cursor:pointer;will-change:transform}.wish-leaf:disabled{cursor:default;opacity:1}.wish-leaf svg{width:100%;height:100%;overflow:visible;fill:currentColor}.wish-leaf .leaf-vein{fill:none;stroke:var(--paper);stroke-width:1.5;stroke-linecap:round}.wish-leaf:focus-visible{outline:1px solid var(--orange);outline-offset:5px;border-radius:50%}.wish-leaf[data-grounded="true"]:hover{color:#b86c38}[data-theme="dark"] .wish-leaf{color:#8cc7c8}
.wish-star{width:150px;height:42px;padding:10px 8px;background:none;animation:none!important;visibility:visible;opacity:1;filter:none!important;z-index:5;touch-action:manipulation}.wish-star[hidden]{display:none!important}.wish-star span{display:block;position:relative;left:auto;top:auto;right:auto;width:120px;height:2px;font:inherit;background:linear-gradient(90deg,transparent,#a8e5f3);animation:none!important;translate:none!important;box-shadow:0 0 4px #9ee7fa40;rotate:12deg}.wish-star span:before{display:none}.wish-star span:after{content:"";position:absolute;right:0;top:-1px;width:4px;height:4px;border-radius:50%;background:#d4f4ff}.wish-star:focus-visible{outline:1px solid var(--glow);outline-offset:2px;border-radius:4px}
.wish-dialog textarea:focus{outline:2px solid #c66f3e;outline-offset:3px;box-shadow:none;border-color:#c66f3e}.wish-dialog textarea{caret-color:#c66f3e}.wish-dialog ::selection{background:#e8ab8077;color:var(--ink)}.wish-dialog .wish-send:hover,.wish-dialog .wish-send:focus-visible{background:#c66f3e;color:var(--paper);border-color:#c66f3e}.wish-dialog button:focus-visible{outline:2px solid #c66f3e;outline-offset:3px}.wish-close:hover{color:#c66f3e}
.cursor-light{z-index:2147483647!important}.wish-dialog>.cursor-light{position:fixed!important;pointer-events:none!important}
.wish-spark{width:48px;height:38px}.wish-spark svg,.wish-token svg,.carried-wish svg{display:block;width:100%;height:100%}.letter-paper{fill:currentColor}.letter-folds{fill:none;stroke:var(--paper);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.wish-token{display:block;width:40px;height:32px;border:0;border-radius:0;background:none;color:var(--star);padding:0}.carried-wish{width:30px;height:24px;left:9%;top:31%;color:var(--star)}
@media(max-width:760px){.work-and-notes .intro-copy p{font-size:16px}.work-and-notes .intro-copy .lead{font-size:27px}.nyx-garden{margin-top:18px}.flying-gull{width:28px}.wind-note{font-size:8px}.companion:after,.nyx-house:after,.bird-message{font-size:14px}}
@media(prefers-reduced-motion:reduce){.tree-crown,.house-eyes{animation:none}}
/* Small, unnamed, with one continuous flight path. */
.companion{width:60px;height:74px}.companion .bird-standing{rotate:var(--flight-tilt,0deg);transform-origin:50% 65%}.companion .bird-frame{transform:scale(var(--roost-scale,1));transform-origin:50% 55%}.companion.is-emerging .bird-frame{animation:shelter-exit .55s ease-out}.companion.on-wave .bird-legs{display:none}.companion[data-state="fly"] .bird-flight-wing{animation-duration:.27s}.companion.wish-carrier{pointer-events:auto;cursor:grab}.companion.wish-carrier.is-dragging{cursor:grabbing}.companion .carried-wish{color:var(--star);pointer-events:visiblePainted}.companion .carried-wish .letter-folds{stroke-width:1.8}
@keyframes shelter-exit{from{transform:scale(.4);opacity:.4}to{transform:scale(1);opacity:1}}
.companion:after,.nyx-house:after{display:none!important}.bird-message,.house-prompt{position:absolute;left:calc(100% + 5px);right:auto;top:46%;bottom:auto;translate:0 -50%;width:max-content;max-width:max(24px,min(190px,calc(100vw - var(--bird-x,0px) - 76px)));display:flex;align-items:center;gap:6px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-align:left;font:italic 700 12px/1.5 var(--serif);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s}
.note-dot{font:700 10px/1 var(--serif);color:var(--muted);opacity:.7;flex:none}.note-copy{font:inherit;font-style:italic;font-weight:700;color:var(--ink);background:color-mix(in srgb,var(--paper) 82%,transparent);border-radius:6px;padding:5px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;opacity:.85;backdrop-filter:blur(5px)}.companion:hover .bird-message,.companion:focus-visible .bird-message,.companion.has-message .bird-message,.nyx-house:hover .house-prompt,.nyx-house:focus-visible .house-prompt{visibility:visible;opacity:1}.companion[data-state="held"] .bird-message{visibility:hidden;opacity:0}.has-message .note-copy{white-space:normal;max-width:175px}.house-prompt{max-width:150px;top:62%}.house-prompt .note-copy{white-space:normal;width:max-content}
.nyx-garden{width:240px;height:270px}.nyx-house{left:133px;top:99px;width:84px;height:102px}.tree-trunk{fill:#4a7972}.tree-branches{fill:none;stroke:#4a7972;stroke-linecap:round;stroke-linejoin:round;transform-origin:115px 180px;animation:tree-wind 12s ease-in-out infinite alternate}.tree-bough{stroke-width:5}.tree-twig{stroke-width:2.7}[data-theme="dark"] .tree-trunk{fill:#629491}[data-theme="dark"] .tree-branches{stroke:#629491}.tree-ground{stroke:#638f81}.wish-leaf{left:70px;top:41px;width:27px;height:27px}.wish-leaf[data-grounded="true"]:hover svg,.wish-leaf[data-grounded="true"]:focus-visible svg{animation:leaf-whisper 2s ease-in-out infinite;filter:drop-shadow(0 0 2px color-mix(in srgb,currentColor 35%,transparent))}
@keyframes leaf-whisper{0%,100%{scale:1;filter:drop-shadow(0 0 1px color-mix(in srgb,currentColor 20%,transparent))}50%{scale:1.045;filter:drop-shadow(0 0 3px color-mix(in srgb,currentColor 38%,transparent))}}
.landscape-meta{position:absolute;left:clamp(16px,3vw,40px);bottom:14px;z-index:7;display:flex;align-items:center;gap:9px;max-width:calc(100% - 32px);padding:4px 7px;border-radius:5px;background:color-mix(in srgb,var(--paper) 45%,transparent);color:var(--muted);font:9px/1.5 var(--sans);opacity:.9}.landscape-meta .moon-caption,.landscape-meta .wind-note{position:static!important;display:block!important;inset:auto!important;translate:none!important;margin:0;padding:0;font:inherit;white-space:nowrap;color:inherit;opacity:1}.landscape-meta .wind-note:before{content:"·";margin-right:9px}.landscape-meta .wind-note:hover{opacity:1}
@media(max-width:560px){.landscape-meta{font-size:8px;gap:6px;left:12px}.landscape-meta .wind-note:before{margin-right:6px}.bird-message,.house-prompt{font-size:11px}.house-prompt{max-width:120px}}
@media(prefers-reduced-motion:reduce){.tree-branches,.companion.is-emerging .bird-frame{animation:none}.wish-leaf:hover svg{animation:none}}
.companion[data-state="fly"]:before{content:"";position:absolute;inset:-14px;background:transparent;pointer-events:auto;z-index:-1}
/* One quiet line against the landscape itself. */
.landscape-meta{gap:4px;padding:0;border-radius:0;background:none}
.landscape-meta .wind-note:before{content:"•";margin-right:4px}
.landscape-meta .moon-caption{text-align:left}
.companion .bird-frame{opacity:var(--roost-opacity,1)}
/* Keep the feet folded for the entire flight, including wish deliveries. */
.companion[data-state="fly"] .bird-leg-a{animation:none;transform:rotate(-72deg) scaleY(.6)}
.companion[data-state="fly"] .bird-leg-b{animation:none;transform:rotate(65deg) scaleY(.6)}
.intro-location{max-width:520px;line-height:1.7}
@media(max-width:560px){.landscape-meta{gap:4px}.landscape-meta .wind-note:before{margin-right:4px}}
/* The hero already has a continuous glow spanning the name and sky. A second,
   clipped scene overlay left a hard horizontal edge at the name's baseline. */
.shore-hero .shore-scene.wonder-graphic:after{display:none}
.footer-landscape.wonder-graphic:after{mask-image:linear-gradient(transparent,#000 24%,#000 80%,transparent)}
.companion[data-state="throw"] .bird-leg-a{animation:none;transform:rotate(-72deg) scaleY(.6)}
.companion[data-state="throw"] .bird-leg-b{animation:none;transform:rotate(65deg) scaleY(.6)}
.companion[data-state="throw"] .bird-flight-wing{display:block;animation:nyx-flap .28s ease-in-out infinite alternate}
