/* Project 3 is a separate drawing treatment; all scene geometry stays shared. */
:root[data-project="3"]{--frame-bg:#eeece2;--frame-fg:#292927;--study-ink:#292927;--edge:#292927;--paper:#fffdf7;--p3-blue:#526b78;--p3-purple:#718074;--p3-orange:#a76742;--p3-green:#455b4b;--p3-yellow:#d1ac5f;--p3-sky:#c5d0ca;--p3-cream:#f4eddf;--p3-rafa:#af633d;--p3-coffee:#422a20;--p3-crema:#c3915b;--p3-desk:#526b78;--p3-chair:#a76742;--p3-rug:#718074;--p3-journal-forest:#455b4b;--p3-journal-brown:#76503c;--p3-journal-ochre:#a58b5b;--p3-ball-facebook:#b19a68;--p3-ball-instagram:#b98268}
:root[data-project="3"][data-mode="night"]{--frame-bg:#202a37;--frame-fg:#eee8da;--study-ink:#eee8da;--edge:#718074;--p3-blue:#637e8b;--p3-purple:#859183;--p3-orange:#b87b52;--p3-green:#58705c;--p3-yellow:#d8b86a;--p3-sky:#354347;--p3-cream:#f2e8d4;--p3-rafa:#b97148;--p3-coffee:#493025;--p3-crema:#c89a65;--p3-desk:#637e8b;--p3-chair:#b87b52;--p3-rug:#859183;--p3-journal-forest:#58705c;--p3-journal-brown:#93684d;--p3-journal-ochre:#b9a06a;--p3-ball-facebook:#c2aa78;--p3-ball-instagram:#c89076}
[data-project="3"] body{transition:color .4s ease}
[data-project="3"] .room-controls{color:var(--study-ink)}
[data-project="3"] .room-menu-toggle svg path{stroke-width:1.9}
[data-project="3"] .room-menu-panel{border-width:2px;box-shadow:5px 6px 0 var(--p3-purple);border-radius:2px 5px 1px 4px}
[data-project="3"] .room-menu-panel a:hover{color:var(--p3-blue);text-decoration-color:var(--p3-orange)}
[data-project="3"] .room-signature{position:relative}
[data-project="3"] .study-architecture>g{opacity:.55}
[data-project="3"] .study-architecture>g>path{stroke-width:1.6}
[data-project="3"] .window-casing>path{stroke-width:2.7}
[data-project="3"] .window-hinges path{stroke-width:1.5}
[data-project="3"] .window-sash-outline{stroke-width:3.1}
[data-project="3"] .window-sash-rails{stroke-width:2.1}
[data-project="3"] .window-handle{stroke-width:2.2}
[data-project="3"] .window-sash-wood{fill:var(--p3-purple)}
[data-project="3"] .window-sash-rails-bg{stroke:var(--p3-purple)}
[data-project="3"] .window-landscape>path{stroke-width:1.35}
[data-project="3"] .window-church>path{stroke-width:1.7}
[data-project="3"] .window-moon-drawing>path:first-child{fill:var(--p3-purple);stroke:var(--study-ink);stroke-width:1.2}
[data-project="3"] .window-sun-drawing>circle{fill:var(--p3-yellow);stroke:var(--study-ink);stroke-width:1}
[data-project="3"] .window-sky-cut{stroke:var(--study-ink)}
[data-project="3"] .study-water-glass>path:not(.glass-rosemary-underlay){stroke-width:1.5}
[data-project="3"] .study-water-glass .glass-lemon{stroke:var(--p3-orange);stroke-width:2.4}
[data-project="3"] .study-water-glass .glass-rosemary{stroke:var(--p3-green);stroke-width:1.8}
[data-project="3"] .study-journal-key{color:var(--study-ink)}
[data-project="3"] .study-journal-key .key-metal-ink{filter:none}
[data-project="3"] .study-journal-key .key-main-line{stroke-width:7.5}
[data-project="3"] .poodle-occlusion{fill:var(--p3-rafa);stroke:var(--study-ink);stroke-width:11;stroke-linejoin:round}
[data-project="3"] .poodle-tail .poodle-occlusion{fill:var(--p3-rafa)}
[data-project="3"] .study-poodle.is-alert .poodle-eye{color:var(--study-ink)}
[data-project="3"] .poodle-ball-shell{fill:var(--p3-ball-facebook);stroke-width:2}
[data-project="3"] [data-ball="1"] .poodle-ball-shell{fill:var(--p3-ball-instagram)}
[data-project="3"] .poodle-social-link .poodle-ball-ink{color:var(--study-ink)}
[data-project="3"] .poodle-social-link:hover .poodle-ball-ink{color:var(--study-ink)}
[data-project="3"] .candle-invite,[data-project="3"] .poodle-name{color:var(--study-ink)}
[data-project="3"] .foot .rule{color:var(--study-ink)}
[data-project="3"] .walk-page{--walk-text:var(--study-ink);--walk-muted:var(--study-ink)}
[data-project="3"] .walk-landscape>svg>g[mask]>path{stroke-width:1.65}
[data-project="3"] .walk-landscape>svg>path{stroke-width:3}
[data-project="3"] .walk-landscape .window-church path{stroke-width:1.8}
[data-project="3"] .walk-landscape .p3-walk-tree>path:first-child{fill:var(--p3-green);stroke-width:2}
[data-project="3"] .walk-copy .walk-prayer{border-left:3px solid var(--p3-purple)}
[data-project="3"] .walk-begin,[data-project="3"] .walk-return{text-decoration-color:var(--p3-orange);text-decoration-thickness:2px}
.p3-color-art{pointer-events:none}
.p3-paint{transform-box:fill-box;transform-origin:center;animation:p3-paint-drift 7s ease-in-out infinite;animation-delay:var(--paint-delay,0s);animation-play-state:paused}
.p3-paint:nth-child(2n){animation-name:p3-paint-drift-back;animation-duration:8.7s}
.p3-paint:nth-child(3n){animation-delay:-3.5s}
.p3-paint-running .p3-paint{animation-play-state:running}
@keyframes p3-paint-drift{0%,100%{transform:translate(-1px,.5px) rotate(-.08deg)}42%{transform:translate(2px,-1px) rotate(.14deg)}74%{transform:translate(.5px,1px) rotate(-.06deg)}}
@keyframes p3-paint-drift-back{0%,100%{transform:translate(1px,-.5px)}50%{transform:translate(-1.5px,1.5px) rotate(-.12deg)}}
@media(prefers-reduced-motion:reduce){.p3-paint{animation:none!important}}

[data-project="3"] .study-devotional-icon>rect{fill:var(--p3-yellow);stroke:var(--study-ink);stroke-width:2}
[data-project="3"] .study-architecture>g>path{stroke-width:2.2}
[data-project="3"] .study-architecture>g>g>path{stroke-width:1.55}
@media(max-width:700px){[data-project="3"] .study-journal-key .key-main-line{stroke-width:.65px}[data-project="3"] .study-journal-key .key-pressure-line{stroke-width:.7px}}
[data-project="3"] .study-poodle,[data-project="3"] .study-poodle.is-alert .poodle-eye{color:#292927}
[data-project="3"] .poodle-occlusion{stroke:#292927}
[data-project="3"] .study-devotional-icon{color:#292927}

/* Current entrance interactions use Project 3's own printed colours and edges. */
[data-project="3"] .study-lemon-tree .lemon-ink-edge{filter:url(#lemon-bold-edge)}
:root[data-project="3"][data-mode] .room-home .study-candle-flame{color:var(--p3-yellow);filter:none}
:root[data-project="3"][data-mode] .room-home .study-candle-sparks{color:var(--p3-orange)}
:root[data-project="3"][data-mode] .podcast-screen{color:var(--p3-cream)}
[data-project="3"] .podcast-cover>path:first-child{fill:var(--p3-purple);stroke:var(--study-ink);stroke-width:1.2}
[data-project="3"] .podcast-cover>path:not(:first-child){stroke:#292927;stroke-width:.9}
:root[data-project="3"][data-mode] .podcast-link:is(:hover,:focus-visible,.is-inviting) .podcast-screen{color:var(--p3-yellow)}
[data-project="3"] .podcast-wave-bar{stroke-width:1}
[data-project="3"] .scene-object-link:is(:hover,:focus-visible,.is-inviting) .diary-drawing,
[data-project="3"] .scene-object-link:is(:hover,:focus-visible,.is-inviting) .pen-drawing{color:var(--study-ink)}
[data-project="3"] .diary-link:is(:hover,:focus-visible,.is-inviting) .study-journal-key{color:var(--p3-yellow);filter:drop-shadow(0 0 1.2px var(--p3-orange))}
[data-project="3"] .scene-object-label{color:var(--study-ink)}
[data-project="3"] .writing-page{--writing-accent:var(--study-ink)}
[data-project="3"] .writing-back,[data-project="3"] .writing-index a{ text-decoration-color:var(--p3-orange)}
[data-project="3"] .poodle-tail-root>path:first-child{fill:var(--p3-rafa)}
:root[data-project="3"][data-mode] .scene-object-link:is(:hover,:focus-visible,.is-inviting) .diary-drawing,
:root[data-project="3"][data-mode] .scene-object-link:is(:hover,:focus-visible,.is-inviting) .pen-drawing{color:var(--study-ink)}
:root[data-project="3"][data-mode] .diary-link:is(:hover,:focus-visible,.is-inviting) .study-journal-key{color:var(--p3-yellow);filter:drop-shadow(0 0 1.2px var(--p3-orange))}
[data-project="3"] .p3-lemon-colors .p3-paint{filter:url(#lemon-color-spread)}
:root[data-project="3"][data-mode] .diary-drawing>g>path{fill:var(--p3-journal-ochre)}
:root[data-project="3"][data-mode] .study-journal-key{color:var(--study-ink)}

:root[data-project="3"] .study-coffee .coffee-liquid{stroke:#b28b62;opacity:.65}
:root[data-project="3"] .study-coffee .coffee-crema{fill:var(--p3-crema);stroke:#93673f;opacity:1}
:root[data-project="3"] .study-coffee .coffee-crema-edge{stroke:#e3bb88;opacity:.9}
:root[data-project="3"][data-mode] .study-poodle.is-alert .poodle-eye{color:#292927}

:root[data-project="3"] .poodle-social-link .poodle-ball-ink,
:root[data-project="3"] .poodle-social-link:is(:hover,:focus-visible) .poodle-ball-ink{color:#292927}
