/* R5: one scoped cascade. Shared colours and original HERO coordinate system. */
@font-face{font-family:"Noto Sans JP";src:url('./fonts/NotoSansJP-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--paper:#faf8f0;--ink:#222;--orange:#ff5a36;--teal:#27a9a1;--yellow:#ffd84d;--cta-bg:#c63d21;--teal-ink:#13756f;font-family:"Noto Sans JP",sans-serif;font-synthesis:none;color:var(--ink);background:#eadfcd}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;line-height:1.65}h1,h2,h3,p,figure{margin:0}button{font:inherit}[hidden]{display:none!important}
.lp{max-width:1440px;margin:auto;display:grid;gap:18px;container-type:inline-size;min-width:0}
.lp-scene{min-width:0;position:relative;--scene-min-height:960px;--scene-gutter:80px;--scene-title-size:clamp(44px,4.4cqw,64px);--scene-body-size:clamp(18px,1.53cqw,22px)}
section{min-width:0;scroll-margin-top:24px}h2{font-size:var(--scene-title-size);line-height:1.28;letter-spacing:-.035em;font-weight:900}h3{line-height:1.4}
.tag{display:inline-block;background:var(--yellow);padding:.12em .5em;font-size:24px;font-weight:900;line-height:1.4;transform:rotate(-1deg)}
.cta{display:inline-flex;align-items:center;justify-content:center;gap:.6em;min-height:52px;padding:.8em 1.4em;border-radius:999px;background:var(--cta-bg);color:white;font-size:18px;font-weight:800;text-decoration:none;box-shadow:0 4px #932913;transition:transform .2s}
.cta:hover{transform:translateY(-2px)}:focus-visible{outline:3px solid #075e62;outline-offset:5px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* HERO values scale together with the main container, not viewport width. */
.hero-scene{position:relative;isolation:isolate;min-height:35.15625cqw;background:var(--paper) url('./images/hero-desk.png') center top/100% auto no-repeat;overflow:clip}
.hero-copy{position:relative;z-index:3;width:31%;margin-left:6.3%;padding:3.32cqw 0 2.93cqw}
.site-name{font-size:1.953cqw;font-weight:900;white-space:nowrap}.online{display:inline-block;background:var(--teal-ink);color:white;font-size:.62em;padding:.1em .55em;transform:rotate(-4deg)}
.hero h1{width:27.344cqw;font-size:3.90625cqw;line-height:1.32;letter-spacing:-.06em;margin:1.17cqw 0 1.465cqw;font-weight:900}
.hero h1 span{display:block;position:relative;width:max-content;max-width:100%}.hero h1 span:after{content:"";position:absolute;left:0;right:3%;height:.11em;bottom:-.1em;background:var(--orange);transform:rotate(-2deg);z-index:-1}
.hero-subcopy{font-size:1.172cqw;font-weight:700;line-height:1.8;margin-bottom:1.27cqw}
.hero-copy .cta{font-size:max(12px,1.367cqw);min-height:max(44px,4.6875cqw);width:max(220px,24.414cqw);padding:.7em 1.2em;white-space:nowrap}
.hero-host{position:absolute;top:4.3945cqw;margin:0;z-index:2;text-align:center;pointer-events:none}.hero-host--hana{left:32.6%;width:23%}.hero-host--ryu{right:1%;width:24%}
.hero-host img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.hero-host figcaption{display:inline-block;position:relative;background:var(--yellow);font-size:1.465cqw;font-weight:900;padding:.1em .5em;margin-top:-10%;transform:rotate(-3deg)}.hero-host--ryu figcaption{left:1.953cqw}
.hero-desk-layer{position:absolute;left:0;right:0;bottom:0;height:13.281cqw;z-index:1;background:url('./images/hero-desk.png') center calc(100% + 7.422cqw)/100% auto no-repeat;mask-image:linear-gradient(transparent,#000 1.465cqw);pointer-events:none}
.hero-screens{position:absolute;left:52%;right:18%;top:17.285cqw;height:14.648cqw;z-index:4}
.screen{position:absolute;border:4px solid #e4e7e3;box-shadow:3px 5px 8px #342b2245;overflow:hidden;background:#e4e7e3}.screen--code{width:64%;left:-1%;top:0;transform:rotate(-3deg)}.screen--idea{width:66%;right:-8%;top:3.027cqw;transform:rotate(3deg)}
.hero .window-title{height:1.953cqw;font-size:.78cqw;padding-inline:4px;gap:4px}.hero .window-title:before{font-size:.58cqw}.hero .prototype{aspect-ratio:1.8}.hero .cube{scale:.65}.hero .prototype--danmaku span{font-size:.88cqw}
.window-title{height:28px;color:#253b46;font-size:10px;font-weight:700;display:flex;align-items:center;gap:8px;padding-inline:9px;background:linear-gradient(#fafcfd,#dce5e8);border-radius:3px 3px 0 0;white-space:nowrap}
.window-title:before{content:"● ● ●";font-size:8px;letter-spacing:1px;color:#d75331}
.prototype{position:relative;aspect-ratio:16/9;overflow:hidden;border:3px solid #dae0e2;background:#142730}
.prototype--cube{display:grid;place-items:center;background:repeating-linear-gradient(155deg,transparent 0 25px,#79929928 26px 27px),repeating-linear-gradient(25deg,transparent 0 25px,#79929928 26px 27px),#142730}
.cube{position:relative;width:51px;height:51px;background:linear-gradient(135deg,#d1d0c6,#a4a6a1);transform:skewY(25deg);box-shadow:15px 27px 20px #0007}
.cube:before{content:"";position:absolute;width:51px;height:26px;left:0;top:-26px;transform-origin:bottom;transform:skewX(-45deg);background:linear-gradient(90deg,#f5f2e7,#d7d4c9)}
.cube:after{content:"";position:absolute;width:26px;height:51px;top:0;right:-26px;transform-origin:left;transform:skewY(-45deg);background:linear-gradient(130deg,#929e9e,#647578)}
.prototype--danmaku{background:radial-gradient(circle at 20% 35%,#e45173 0 3px,transparent 4px),radial-gradient(circle at 70% 60%,#1eabb0 0 4px,transparent 5px),radial-gradient(circle at 38% 70%,#f4b441 0 3px,transparent 4px),radial-gradient(circle at 88% 25%,#8271c1 0 3px,transparent 4px),#142330;background-size:39px 43px,55px 38px,63px 47px,47px 57px,auto;padding:12px}
.prototype--danmaku span{position:absolute;font-size:12px;color:#fff;text-shadow:1px 2px #08161e;transform:rotate(-4deg)}
.prototype--danmaku span:nth-child(1){top:20%;left:8%}.prototype--danmaku span:nth-child(2){top:48%;right:8%}.prototype--danmaku span:nth-child(3){bottom:12%;left:15%}
.prototype--battle{display:flex;align-items:center;justify-content:space-evenly;color:white;background:linear-gradient(0deg,#426776 0 14%,transparent 14%),radial-gradient(ellipse at center,#2f4c58,#11232e)}
.pixel-cat{position:relative;width:40px;height:43px;background:#ebae55;clip-path:polygon(0 0,25% 0,25% 16%,75% 16%,75% 0,100% 0,100% 100%,65% 100%,65% 85%,35% 85%,35% 100%,0 100%);box-shadow:3px 3px #0006}
.pixel-cat:before{content:"";position:absolute;width:5px;height:7px;background:#203442;left:9px;top:19px;box-shadow:17px 0 #203442}
.pixel-cat:after{content:"";position:absolute;width:6px;height:4px;background:#8d4838;left:17px;top:30px}
.cat-white{background:#e7e4d9}.health{position:absolute;bottom:7%;height:6px;width:29%;background:linear-gradient(90deg,#f07847 70%,#728c95 70%);border:1px solid white}.health--one{left:7%}.health--two{right:7%;background:linear-gradient(90deg,#27a9a1 85%,#728c95 85%)}

/* Large independent wood work surfaces. No raster text, no card grid. */
.scene-notebook,.scene-log,.scene-invitation{min-height:var(--scene-min-height);padding:70px var(--scene-gutter);background:repeating-linear-gradient(2deg,#9e724626 0 1px,transparent 2px 18px),repeating-linear-gradient(0deg,#ca9e6f 0 119px,#996b40 120px,#d3ad80 123px 242px);display:flex;align-items:center}
.notebook,.worklog,.invitation-note{position:relative;width:100%;background:var(--paper);border:1px solid #c6bba4;box-shadow:0 4px #e9dfc9,0 8px #bcab8b,5px 18px 22px #5139144d}
.notebook{min-height:760px;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(90deg,transparent 48%,#8a77552b 49.7%,#fffdf8 50.2%,transparent 52%),var(--paper);border-radius:12px 18px 20px 12px}
.notebook>section{padding:62px 44px}.notebook h2{text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:5px;text-underline-offset:12px;margin:24px 0 32px}
.scene-copy{font-size:var(--scene-body-size);line-height:1.9}.hand-note{font-size:var(--scene-body-size);font-weight:700;transform:rotate(-2deg);margin-top:36px}
.stuck-lines{display:grid;gap:35px}.stuck-lines>div{display:grid;grid-template-columns:90px 1fr;column-gap:16px;align-items:center}.stuck-lines h3{font-size:clamp(24px,2cqw,30px);text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:8px}.stuck-lines p{grid-column:2;font-size:18px;margin-top:10px}.line-art{width:90px;height:90px;color:#253d47}
.worklog{padding:36px 48px;min-height:800px;transform:rotate(-.65deg)}.worklog h2{margin-top:18px;text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:10px;text-decoration-thickness:5px}
.step-path{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:26px;padding:24px 0 0;margin:20px 0 45px}.step-path li{position:relative}.step-path li:not(:last-child):after{content:"→";position:absolute;right:-24px;top:85px;color:var(--cta-bg);font-size:44px}.step-number{font-size:20px;color:var(--teal-ink);display:block}.step-path .line-art{display:block;width:120px;height:110px;margin:12px auto}.step-path h3{font-size:28px;white-space:nowrap}.step-path p{font-size:18px;margin-top:12px}
#flow{border-top:2px dashed #c8bda6;padding-top:22px}#flow>p{font-size:18px;margin:12px 0}.flow-list{list-style:none;padding:0;display:flex;gap:16px;flex-wrap:wrap;font-size:18px;font-weight:700}.flow-list li:not(:last-child):after{content:" →";color:var(--teal-ink);margin-left:16px}
/* C exhibition: one native scroll rail, independent equal-width list items. */
.scene-wall{min-height:var(--scene-min-height);padding:32px var(--scene-gutter) 24px;background:radial-gradient(ellipse,#6d4a2429 1px,transparent 2px) 0 0/7px 9px,radial-gradient(ellipse,#f7d6a04d 1px,transparent 3px) 3px 4px/11px 13px,#bf9867;border-top:12px solid #e0bf91;border-bottom:26px solid #795635;box-shadow:inset 0 -12px #bd9060,inset 0 4px 10px #51381555}
[data-gallery]{min-width:0;--gallery-item-width:62cqw;--gallery-gap:24px;--gallery-side-scale:.88}
.gallery-heading{max-width:960px;margin:0 auto 10px}.gallery-heading h2{display:table;background:var(--paper);padding:8px 20px 14px;text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:5px;text-underline-offset:9px;margin:8px 0 12px;box-shadow:3px 4px #805b3030}
.gallery-heading>p:last-child{font-size:18px;font-weight:600}.gallery-viewport{position:relative;container-type:inline-size;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-color:#13756f #e1c297;scrollbar-width:auto;padding:0}
.gallery-track{display:flex;gap:var(--gallery-gap);list-style:none;width:max-content;min-width:100%;margin:0;padding:28px calc((100cqw - var(--gallery-item-width))/2) 36px}
.gallery-item{flex:0 0 var(--gallery-item-width);width:var(--gallery-item-width);min-width:0;scroll-snap-align:center;display:flex}
.gallery-artwork{width:100%;transform:scale(var(--gallery-side-scale)) rotate(var(--pin-angle,0deg));transition:transform .25s;transform-origin:center}
.gallery-item.is-active .gallery-artwork{transform:scale(1) rotate(0)}.gallery-artwork figure{height:100%;margin:0;padding:18px;background:var(--paper);box-shadow:6px 9px 0 #64482d55;position:relative}
.gallery-artwork figure:before{content:"";position:absolute;top:-14px;left:32%;width:35%;height:28px;background:#27a9a1c9;transform:rotate(-3deg);pointer-events:none;z-index:1}
#gallery .window-title{font-size:16px;height:34px}#gallery .prototype{height:clamp(180px,27.1cqw,390px);aspect-ratio:auto}#gallery .cube{scale:2.3}#gallery .prototype--danmaku span{font-size:24px}#gallery .pixel-cat{scale:2}#gallery .prototype--battle b{font-size:32px}
#gallery figcaption{padding:14px 2px 0;color:var(--ink)}#gallery h3{font-size:26px;overflow-wrap:anywhere}#gallery figcaption p{font-size:18px;margin:6px 0 0}
.gallery-controls{display:flex;gap:25px;align-items:center;justify-content:center;margin:10px 0}.gallery-controls button{width:52px;height:52px;border:2px solid #222;background:var(--yellow);color:#222;border-radius:50%;font-size:24px;cursor:pointer}.gallery-controls button[aria-disabled="true"]{border-style:dashed;background:#e8d4b2;color:#645342;cursor:default}.gallery-controls p{font-size:20px;min-width:5ch;text-align:center}.gallery-disclaimer br{display:none}.gallery-disclaimer{text-align:center;font-size:16px;margin:16px auto 0}.gallery-empty{font-size:22px;text-align:center;margin:35px 0}
[data-gallery]:has(.gallery-track:empty) .gallery-viewport{display:none}[data-gallery]:has(.gallery-track:empty) .gallery-empty{display:block!important}.scene-wall:has(.gallery-track:empty){min-height:0}
/* Invitation: one notebook, separate transparent host assets at its edges. */
.scene-invitation{padding-block:55px}.invitation-note{width:min(860px,72%);min-height:820px;margin:auto;padding:42px 48px;z-index:0;background:linear-gradient(90deg,transparent 49.7%,#ae9d7424 50%,transparent 50.6%),var(--paper);border-radius:12px}
#hosts h2{font-size:clamp(34px,3.25cqw,48px);text-align:center;margin-bottom:20px}
.host-grid article{position:absolute;top:290px;width:clamp(160px,17cqw,245px);text-align:center;left:calc(-17cqw + 20px)}.host-grid article+article{left:auto;right:calc(-17cqw + 20px)}.host-grid img{width:100%;height:220px;object-fit:contain;display:block}.host-grid h3{display:inline-block;background:var(--yellow);padding:4px 12px;font-size:22px;transform:rotate(-3deg)}.host-grid p{font-size:16px;max-width:16ch;margin:10px auto;background:#faf8f0dd}
#expectations p{font-size:18px;line-height:1.8;margin:16px 0 24px}#event .tag{font-size:clamp(24px,2.3cqw,34px)}#event>p{font-size:18px;margin:12px 0 16px}
#faq details{padding:6px 0;border-bottom:1px dashed #b8ab93}#faq summary{cursor:pointer;font-size:18px;font-weight:700;padding:10px 0;min-height:48px}#faq details p{font-size:17px;margin:3px 0 12px}
.invitation-cta{text-align:center;margin-top:26px}.site-footer{max-width:1440px;margin:auto;padding:10px 16px;font-size:12px;text-align:center}
@media(min-width:768px) and (max-width:1199px){
.lp-scene{--scene-min-height:800px;--scene-gutter:48px}.scene-notebook,.scene-log{padding-block:55px}.notebook{min-height:680px}.notebook>section{padding:42px 28px}.notebook h2{font-size:42px}.stuck-lines>div{grid-template-columns:65px 1fr;gap:10px}.stuck-lines .line-art{width:65px;height:75px}.stuck-lines h3{font-size:24px}.stuck-lines p{font-size:18px}.worklog{min-height:690px;padding:28px}.step-path{gap:22px}.step-path h3{font-size:22px}.step-path p{font-size:18px}.step-path .line-art{width:80px;height:70px}.step-path{margin-bottom:24px}.flow-list{margin-bottom:0}#flow{padding-top:16px}
[data-gallery]{--gallery-item-width:66cqw}.scene-wall{padding:36px 64px}.scene-invitation{min-height:900px;padding:42px 32px}.invitation-note{padding:36px;width:72%;min-height:810px}.host-grid article{width:17cqw;left:-16cqw}.host-grid article+article{right:-16cqw}.host-grid img{height:180px}.host-grid h3{font-size:18px}.host-grid p{font-size:16px}
}
@media(max-width:767px){
.lp{gap:16px}.lp-scene{--scene-gutter:16px;--scene-title-size:32px;--scene-body-size:16px;--scene-min-height:780px}
.hero-scene{min-height:690px;background-size:750px auto;background-position:58% bottom}
.hero-scene:before{content:"";position:absolute;inset:0 0 275px;background:linear-gradient(180deg,#faf8f0 84%,#faf8f000);z-index:0;pointer-events:none}
.hero-copy{width:auto;margin:0;padding:46px 18px 0;text-align:center}.hero-copy .site-name{font-size:19px}.hero h1{width:auto;font-size:clamp(42px,11.8vw,49px);line-height:1.22;letter-spacing:-.055em;margin:23px 0 18px}.hero h1 span{margin:auto}.hero-subcopy{font-size:13px;line-height:1.65;max-width:270px;margin:0 auto 14px}.hero-subcopy span{display:block;white-space:nowrap}.hero-copy .cta{width:260px;max-width:100%;min-height:49px;font-size:13px;padding-inline:12px}
.hero-host{top:303px;bottom:auto;width:37%;z-index:2}.hero-host--hana{left:max(-1%,calc(50% - 215px));width:min(40%,172px)}.hero-host--ryu{right:max(0px,calc(50% - 215px));width:min(38%,164px)}.hero-host figcaption{font-size:12px;margin-top:-12px;position:absolute;bottom:14px;left:27%;z-index:5}
.hero-desk-layer{display:none}.hero-screens{left:8%;right:8%;top:448px;height:166px}.hero .screen{border:3px solid #e7e8e3}.screen--code{width:62%;left:-3%;top:0;transform:rotate(-5deg)}.screen--idea{width:63%;right:-3%;top:34px;transform:rotate(4deg)}.hero .window-title{font-size:7px;height:20px;gap:3px}.hero .window-title:before{font-size:5px}.hero .prototype{aspect-ratio:1.6}.hero .cube{scale:.6}.hero .prototype--danmaku span{font-size:9px}
.scene-notebook,.scene-log,.scene-invitation{padding:28px 16px}.notebook{display:block;min-height:0;background:linear-gradient(#6d9d9810 1px,transparent 1px) 0 0/100% 28px,var(--paper)}.notebook>section{padding:24px}.notebook h2{font-size:32px;text-decoration-thickness:3px;text-underline-offset:7px;margin:18px 0 22px}.notebook #stuck{padding-top:4px}.tag{font-size:20px}.hand-note{font-size:16px;margin-top:22px}.stuck-lines{gap:22px}.stuck-lines>div{grid-template-columns:58px 1fr;gap:6px 10px}.stuck-lines .line-art{width:58px;height:60px;grid-row:1/3}.stuck-lines h3{font-size:20px;text-underline-offset:5px}.stuck-lines p{font-size:16px;margin:3px 0}.scene-copy{font-size:16px}.scene-log{min-height:900px}.worklog{min-height:840px;padding:24px 20px;transform:none}.worklog h2{font-size:30px;text-underline-offset:7px;text-decoration-thickness:3px}.step-path{grid-template-columns:1fr 1fr;gap:20px 15px;padding:0;margin:22px 0}.step-path li:after{display:none}.step-path .line-art{width:80px;height:76px;margin:8px auto}.step-path h3{font-size:20px;white-space:normal}.step-path p{font-size:16px;margin-top:8px}.step-number{font-size:16px}#flow>p{font-size:16px}.flow-list{font-size:16px;gap:8px}.flow-list li:not(:last-child):after{margin-left:8px}
.scene-wall{min-height:630px;padding:30px 16px;border-top-width:8px;border-bottom-width:20px}[data-gallery]{--gallery-item-width:82cqw;--gallery-gap:14px;--gallery-side-scale:.94}.gallery-heading h2{font-size:32px;padding:6px 8px 12px;text-decoration-thickness:3px}.gallery-heading>p:last-child{font-size:16px}.gallery-track{padding-block:22px 28px}.gallery-artwork figure{padding:10px}.gallery-artwork figure:before{height:20px;top:-10px}#gallery .window-title{font-size:11px;height:26px}#gallery .cube{scale:1}#gallery .prototype--danmaku span{font-size:14px}#gallery .pixel-cat{scale:1}#gallery .prototype--battle b{font-size:20px}#gallery h3{font-size:22px}#gallery figcaption p{font-size:16px}.gallery-controls{margin-top:8px}.gallery-disclaimer{font-size:14px;line-height:1.7}.gallery-disclaimer br{display:block}
.scene-invitation{min-height:1100px}.invitation-note{width:100%;padding:26px 20px;min-height:0}#hosts h2{font-size:30px}.host-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.host-grid article,.host-grid article+article{position:static;width:auto}.host-grid img{height:135px}.host-grid h3{font-size:18px;padding:2px 7px}.host-grid p{font-size:14px;margin:8px auto;max-width:12ch;background:transparent}#expectations p{font-size:16px;margin:14px 0 20px}#event .tag{font-size:23px}#event>p{font-size:16px}#faq summary{font-size:16px}#faq details p{font-size:16px}.invitation-cta{margin-top:24px}.invitation-cta .cta{font-size:13px;padding:12px 10px;width:100%;white-space:nowrap}
}
@media(min-width:431px) and (max-width:767px){.hero-screens{left:50%;right:auto;width:361px;transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){html,.gallery-viewport{scroll-behavior:auto}.gallery-artwork,.cta,.gallery-controls button{transition:none}}

/* Round 06 first-look: generated, textless physical scenes; all copy stays in HTML.
   HERO above is intentionally unchanged. Scene assets are native 1536 × 1024. */
.scene-notebook,.scene-log,.scene-invitation,.scene-wall{display:block;padding:0;border:0;box-shadow:none;background-position:center;background-size:cover;background-repeat:no-repeat;min-height:960px}
.scene-notebook{background-image:url('./images/r6-notebook.png')}
.scene-log{background-image:url('./images/r6-worklog-v2.png')}
.scene-wall{background-image:url('./images/r6-gallery-wall.png')}
.scene-invitation{background-image:url('./images/r6-invitation.png')}
.notebook,.worklog,.invitation-note{width:100%;margin:0;border:0;border-radius:0;box-shadow:none;background:none;transform:none}
.notebook{min-height:960px;grid-template-columns:1fr 1fr;gap:12%;padding:196px 14% 145px}
.notebook>section{padding:0}.notebook h2{font-size:clamp(40px,4.3cqw,62px);margin:24px 0 35px;line-height:1.4}
.scene-copy{font-size:21px}.hand-note{font-size:22px;margin-top:32px}
.stuck-lines{gap:35px;padding-top:18px}.stuck-lines>div{display:block;position:relative;padding-left:45px}
.issue-number{position:absolute;left:0;top:3px;font-size:19px;color:var(--teal-ink);border-bottom:3px solid var(--teal)}
.stuck-lines h3{font-size:27px}.stuck-lines p{font-size:19px;margin-top:14px;line-height:1.8}
.worklog{min-height:960px;padding:167px 9% 100px}
.worklog h2{font-size:54px;margin-top:18px;line-height:1.3}
.step-path{gap:26px;margin:226px 0 14px;padding:0}.step-path h3{font-size:27px}.step-path p{font-size:17px;line-height:1.65;margin-top:9px}.step-number{font-size:17px}
.step-path li:not(:last-child):after{top:20px;right:-20px;font-size:30px}
.log-person{position:absolute;object-fit:contain;height:210px;width:165px;top:429px;pointer-events:none}
.log-person--think{left:16%}.log-person--share{left:57%}
#flow{padding-top:20px;border-color:#927b574a}#flow .tag{font-size:20px}#flow>p{font-size:16px;margin:8px 0}.flow-list{font-size:15px;gap:8px;margin:10px 0 0}.flow-list li:not(:last-child):after{margin-left:8px}
.scene-wall{min-height:1040px;padding:65px 0 152px}
[data-gallery]{--gallery-item-width:56cqw;--gallery-gap:12px;--gallery-side-scale:.86}
.gallery-heading{text-align:center;min-height:166px;margin:0 auto 16px;max-width:65%}
.gallery-heading .tag{font-size:19px;background:none;padding:0;transform:none}
.gallery-heading h2{display:block;font-size:55px;background:none;box-shadow:none;padding:0;margin:8px 0 13px}
.gallery-heading>p:last-child{font-size:16px}.gallery-enhanced-help{display:block}
.gallery-track{padding-block:25px 35px}.gallery-artwork figure{padding:17px 17px 20px;box-shadow:5px 12px 20px #3d281b66}
.gallery-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
#gallery figcaption{padding:15px 4px 0}#gallery h3{font-size:25px}#gallery figcaption p{font-size:17px}
.gallery-controls{margin-top:10px}.gallery-controls button{width:48px;height:48px}.gallery-disclaimer{font-size:14px;margin-top:15px;width:fit-content;max-width:92%;padding:3px 10px;background:#faf8f0e8}
.invitation-note{min-height:1010px;padding:76px 0 60px}
#hosts h2{font-size:49px;line-height:1.35;margin:0 auto;max-width:56%}
.host-grid article{top:330px;width:23%;left:0}.host-grid article+article{right:0}
.host-grid img{height:290px}.host-grid h3{font-size:24px}.host-grid p{font-size:17px;max-width:15ch;background:transparent}
.invitation-content{width:42%;margin:112px auto 0}
#expectations p{font-size:17px;margin:0 0 20px;line-height:1.9}
#event .tag{font-size:29px}#event>p{font-size:17px;margin:15px 0}
#faq summary{font-size:17px;min-height:46px;padding:10px 0}#faq details p{font-size:16px}
.invitation-cta{margin-top:100px}.invitation-cta .cta{font-size:20px;min-height:62px;background:var(--orange);box-shadow:0 5px #ac3e25;color:#1f1d18}
@media(min-width:768px){
 #flow{padding-top:10px}#flow .tag{font-size:17px;margin-right:12px}#flow>p{display:inline;font-size:14px}.flow-list{font-size:13px;gap:6px;line-height:1.6}.flow-list li:not(:last-child):after{margin-left:6px}
}
@media(min-width:768px) and (max-width:1199px){
 .scene-notebook,.scene-log{min-height:860px}.notebook{min-height:860px;padding:166px 10% 120px;gap:13%}.notebook h2{font-size:40px}.scene-copy{font-size:17px}.hand-note{font-size:18px}.stuck-lines h3{font-size:23px}.stuck-lines p{font-size:17px}.stuck-lines>div{padding-left:35px}.stuck-lines{gap:25px}
 .step-path h3{position:relative;background:#faf8f0ed;width:fit-content;padding-inline:3px}.scene-log #flow{text-shadow:0 1px 2px #fff,1px 0 2px #fff,-1px 0 2px #fff}
 .worklog{min-height:860px;padding:148px 8% 105px}.worklog h2{font-size:43px}.step-path{margin-top:202px;gap:22px}.step-path h3{font-size:22px}.step-path p{font-size:15px}.log-person{top:375px;height:175px;width:145px}.log-person--think{left:13%}.log-person--share{left:56%}.flow-list{font-size:14px}
 .scene-wall{min-height:900px;padding:50px 0 160px}.gallery-heading{min-height:150px;margin-bottom:10px}.gallery-heading h2{font-size:45px}[data-gallery]{--gallery-item-width:63cqw}.gallery-heading>p:last-child{font-size:14px}
 .scene-invitation{min-height:980px}.invitation-note{min-height:980px;padding-top:78px}#hosts h2{font-size:40px;max-width:63%}.invitation-content{width:47%;margin-top:110px}#expectations p{font-size:16px}#event .tag{font-size:24px}#event>p{font-size:16px}#faq summary{font-size:15px}.host-grid article{top:350px;width:23%;left:0}.host-grid article+article{right:0}.host-grid img{height:235px}.host-grid h3{font-size:20px}.host-grid p{font-size:15px}.invitation-cta{margin-top:105px}
}
@media(max-width:767px){
 .scene-notebook,.scene-log,.scene-invitation{background-size:auto 100%;background-position:center;min-height:0}
 .scene-notebook{background-size:auto 112%;background-position:26% 48%}
 .notebook{display:block;min-height:1050px;padding:90px 39px 88px}
 .notebook>section{padding:0}.notebook h2{font-size:35px;line-height:1.35;margin:20px 0 27px;text-decoration-thickness:3px;text-underline-offset:8px}
 .scene-copy{font-size:16px}.hand-note{font-size:17px;margin-top:24px}.notebook #stuck{padding-top:44px}
 .stuck-lines{gap:26px;padding:0}.stuck-lines>div{padding-left:33px}.issue-number{font-size:15px}.stuck-lines h3{font-size:21px}.stuck-lines p{font-size:15px;margin-top:10px}
 .scene-log{background-image:url('./images/r6-worklog-mobile.png');background-position:center;background-size:cover}
 .worklog{min-height:1100px;padding:120px 36px 135px}.worklog h2{font-size:32px;line-height:1.4;margin-top:20px}
 .step-path{display:grid;grid-template-columns:1fr;gap:24px;margin:47px 0 34px;padding:0}
 .step-path li{padding-left:38px;min-height:82px}.step-number{position:absolute;left:0;top:4px;font-size:16px}
 .step-path h3{font-size:23px}.step-path p{font-size:16px;margin-top:8px}
 .log-people{display:none}#flow{padding-top:23px;background:none}.flow-list{display:block;font-size:15px;line-height:1.9}.flow-list li:not(:last-child):after{content:" ↓";float:right;margin-right:12px}#flow>p{font-size:15px}
 .scene-wall{min-height:780px;padding:65px 0 185px;background-position:center;background-size:auto 100%}
 .gallery-heading{max-width:92%;min-height:157px;margin:0 auto 12px}.gallery-heading .tag{font-size:16px}.gallery-heading h2{font-size:31px;margin:6px 0 15px}.gallery-heading>p:last-child{font-size:13px}
 [data-gallery]{--gallery-item-width:82cqw;--gallery-gap:8px;--gallery-side-scale:.91}.gallery-artwork figure{padding:11px 11px 18px}.gallery-track{padding-block:18px 26px}
 #gallery h3{font-size:22px}#gallery figcaption p{font-size:15px}.gallery-controls button{width:46px;height:46px}.gallery-disclaimer{font-size:12px;margin-top:13px}
 .scene-invitation{background-size:auto 100%;background-position:50% center}
 .invitation-note{min-height:1320px;padding:56px 31px 85px}#hosts h2{font-size:30px;max-width:100%;margin-bottom:26px}
 .host-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:0 -16px 0}.host-grid article,.host-grid article+article{position:static;width:auto}.host-grid img{height:155px}.host-grid h3{font-size:18px}.host-grid p{font-size:12px;max-width:12ch}
 .invitation-content{width:100%;margin-top:55px}#expectations p{font-size:15px;line-height:1.9;margin-bottom:24px}#event .tag{font-size:22px}#event>p{font-size:15px;line-height:1.8}
 #faq summary{font-size:15px;line-height:1.6;padding:15px 0}#faq details p{font-size:14px}.invitation-cta{margin-top:45px}.invitation-cta .cta{width:100%;font-size:13px;min-height:53px;padding-inline:9px}
}

/* Round 07: one bounded polish pass; source images, HERO and copy are locked. */
:root{--paper-warm:#faf8f0;--wood-ink:#493727;--tape-blue:#27a9a1;--label-yellow:#ffd84d;--mark-red:#ff5a36}
.scene-notebook{margin-top:-18px}
.scene-notebook:before{content:"";position:absolute;inset:0 0 auto;height:9px;background:linear-gradient(#7453354a,transparent);pointer-events:none}
.lp-scene:not(.scene-hero) .tag,.host-grid h3{background:var(--label-yellow)}
.lp-scene:not(.scene-hero) h2,.lp-scene:not(.scene-hero) h3{text-decoration-color:var(--mark-red)}
.notebook{padding:204px 12.5% 155px;grid-template-columns:1fr 1fr;gap:16%}
.notebook h2{font-size:clamp(42px,4.15cqw,60px);line-height:1.42;margin:22px 0 32px}
.scene-copy{font-size:22px;line-height:1.95;max-width:23em}
.notebook .hand-note{font-size:22px;line-height:1.85;max-width:19em}
.stuck-lines{gap:32px;padding-top:22px}.stuck-lines h3{font-size:29px;line-height:1.55}
.stuck-lines p{font-size:20px;line-height:1.85;margin-top:12px;max-width:18em;text-wrap:pretty}.issue-number{font-size:22px;top:8px}
.notebook #stuck .hand-note{margin-top:24px}
.worklog{min-height:1000px;padding:155px 8% 120px}.worklog h2{font-size:58px;line-height:1.35}
.step-path{gap:30px;margin:242px 0 24px}.step-path h3{position:relative;z-index:1;width:fit-content;background:#faf8f0ed;font-size:31px;line-height:1.5;letter-spacing:-.04em}
.step-path p{font-size:19px;line-height:1.8;margin-top:10px}
.step-number{position:absolute;top:-183px;left:0;font-size:35px;font-weight:900;line-height:1.1;letter-spacing:.04em;border-bottom:4px solid var(--tape-blue);padding-bottom:7px}
.step-path li:not(:last-child):after{font-size:38px;top:3px;right:-29px;color:var(--mark-red)}
.log-person{top:422px;height:230px;width:190px}.log-person--think{left:15%}.log-person--share{left:55%}
#flow .tag{font-size:19px}#flow>p{font-size:16px}.flow-list{font-size:16px;gap:8px;line-height:1.8}
.scene-wall{min-height:1150px;padding-bottom:180px}
[data-gallery]{--gallery-item-width:50cqw;--gallery-gap:18px;--gallery-side-scale:.94}
.gallery-heading .tag{background:transparent!important}
.gallery-heading>p:last-child{font-size:18px;line-height:1.65}.gallery-enhanced-help{display:inline}
.gallery-controls{gap:22px;margin:22px auto 0;width:fit-content;padding:8px 16px;background:var(--paper-warm);box-shadow:2px 4px 8px #49372724;transform:rotate(-1deg)}
.gallery-controls button{width:52px;height:52px;border-color:var(--wood-ink)}
.gallery-controls p{font-size:23px;font-weight:800;color:var(--wood-ink);min-width:9ch}
.gallery-disclaimer{font-size:15px;line-height:1.7}
.invitation-note{min-height:1060px}.host-grid article{top:335px;width:25%}.host-grid img{height:325px}
.host-grid p{font-size:18px;line-height:1.7;max-width:13em;padding:5px 12px;text-shadow:0 1px 3px var(--paper-warm),1px 0 3px var(--paper-warm)}
.invitation-content{width:43%;margin-top:120px}
#expectations p{font-size:18px;line-height:1.85;margin-bottom:25px}#event .tag{font-size:31px}
#event>p{font-size:18px;line-height:1.8;margin:17px 0 22px}#faq summary{font-size:18px;line-height:1.75;padding:13px 0}#faq details p{font-size:17px;line-height:1.8}
.invitation-cta{margin-top:50px}.invitation-cta .cta{font-size:21px;min-height:66px;padding-inline:1.8em}
@media(min-width:768px) and (max-width:1199px){
 .notebook{padding:175px 10.5% 140px;gap:15%}.notebook h2{font-size:42px}.scene-copy,.notebook .hand-note{font-size:19px;line-height:1.9}.stuck-lines{gap:30px}.stuck-lines h3{font-size:24px}.stuck-lines p{font-size:18px;line-height:1.85}.issue-number{font-size:18px;top:5px}
 .worklog{min-height:940px;padding:153px 7% 120px}.worklog h2{font-size:45px}.step-path{margin-top:247px;gap:22px}.step-path h3{font-size:25px;background:none;padding:0;text-shadow:0 1px 3px var(--paper-warm)}.step-path p{font-size:17px}.step-number{font-size:29px;top:-172px}.step-path li:not(:last-child):after{font-size:29px;right:-23px;top:3px}.log-person{top:413px;height:190px;width:158px}.log-person--think{left:12%}.log-person--share{left:54%}
 #flow .tag{font-size:18px}#flow>p,.flow-list{font-size:16px}
 .scene-wall{min-height:1000px;padding:65px 0 180px}[data-gallery]{--gallery-item-width:54cqw}.gallery-heading{max-width:70%;min-height:172px}.gallery-heading>p:last-child{font-size:16px}
 .invitation-note{min-height:1080px}.invitation-content{width:47%;margin-top:113px}.host-grid article{top:380px;width:25%}.host-grid img{height:267px}.host-grid p{font-size:16px;padding-inline:10px}#event .tag{font-size:26px}#expectations p,#event>p{font-size:17px}#faq summary{font-size:17px}#faq details p{font-size:16px}.invitation-cta{margin-top:75px}
}
@media(max-width:767px){
 .scene-notebook{margin-top:-16px;background-size:auto 110%;background-position:25% 50%}
 .notebook{min-height:1120px;padding:100px 30px 105px}.notebook h2{font-size:36px;line-height:1.4;margin-bottom:28px}.scene-copy{font-size:17px;line-height:1.95}.notebook .hand-note{font-size:18px;line-height:1.8}
 .notebook #stuck{padding-top:47px}.stuck-lines{gap:30px;padding:0}.stuck-lines>div{padding-left:32px}.stuck-lines h3{font-size:22px;line-height:1.55}.stuck-lines p{font-size:16px;line-height:1.8}.issue-number{font-size:17px;top:6px}
 .scene-log{background-position:51% center}
 .worklog{min-height:1210px;padding:133px 30px 145px}.worklog h2{font-size:34px;line-height:1.4}
 .step-path{margin:46px 0 34px;gap:31px}.step-path li{padding-left:43px;min-height:95px}.step-path h3{font-size:25px;line-height:1.45}.step-path p{font-size:17px;line-height:1.8}
 .step-number{top:5px;font-size:23px;padding-bottom:5px;border-bottom-width:3px}
 .step-path li:not(:last-child):before{content:"";position:absolute;left:13px;top:48px;bottom:-20px;border-left:2px dotted var(--tape-blue)}
 #flow .tag{font-size:20px}#flow>p,.flow-list{font-size:16px;line-height:1.85}
 .scene-wall{min-height:880px;padding:67px 0 170px;background-position:50% center}
 [data-gallery]{--gallery-item-width:86cqw;--gallery-gap:8px;--gallery-side-scale:.96}
 .gallery-heading{max-width:94%;min-height:178px;margin-bottom:15px}.gallery-heading .tag{font-size:17px}.gallery-heading h2{font-size:32px}.gallery-heading>p:last-child{font-size:15px;line-height:1.8}.gallery-enhanced-help{display:block}
 #gallery figcaption p{font-size:16px;line-height:1.8}.gallery-controls{margin-top:14px;padding:7px 13px;gap:17px}.gallery-controls p{font-size:19px;min-width:8ch}.gallery-controls button{width:48px;height:48px}.gallery-disclaimer{font-size:14px;margin-top:15px}
 .scene-invitation{background-position:51% center}
 .invitation-note{min-height:1480px;padding:65px 26px 105px}#hosts h2{font-size:31px}
 .host-grid{margin:0 -14px}.host-grid article{width:auto}.host-grid img{height:175px}.host-grid h3{font-size:19px}.host-grid p{font-size:15px;line-height:1.8;max-width:12em;padding:0 4px}
 .invitation-content{width:100%;margin-top:54px}#expectations p,#event>p{font-size:17px;line-height:1.85}#event .tag{font-size:24px}#faq summary{font-size:17px;line-height:1.75;padding:17px 0}#faq details p{font-size:16px}
 .invitation-cta{margin-top:43px}.invitation-cta .cta{font-size:15px;min-height:59px;padding-inline:8px}
}

/* R8: canonical independent cutouts, real app screenshots and physical scene joins. */
.hero-host img{aspect-ratio:1;object-fit:contain;object-position:center}
.hero-app-image{display:block;width:100%;height:auto;aspect-ratio:1.8;object-fit:contain;background:#f6f0e4}
.screen--idea .hero-app-image{background:#16141c}
.gallery-image{height:clamp(330px,35cqw,500px);aspect-ratio:auto;object-fit:contain;background:#eee8dc}
.gallery-item[data-id="central-dogma"] .gallery-image{background:#070715}
#gallery h3{font-size:clamp(21px,1.85cqw,26px);line-height:1.5;overflow-wrap:anywhere}
#gallery figcaption p{line-height:1.75}
@media(min-width:768px){
 .lp{gap:0;background:#bc9160}
 .scene-notebook{margin-top:0}
 .scene-notebook,.scene-log,.scene-wall,.scene-invitation{isolation:isolate;background:none}
 .scene-notebook{--scene-image:url('./images/r6-notebook.png')}
 .scene-log{--scene-image:url('./images/r6-worklog-v2.png')}
 .scene-wall{--scene-image:url('./images/r6-gallery-wall.png')}
 .scene-invitation{--scene-image:url('./images/r6-invitation.png')}
 .scene-notebook:before,.scene-log:before,.scene-wall:before,.scene-invitation:before{
  content:"";position:absolute;inset:-72px 0 0;height:auto;z-index:-1;pointer-events:none;
  background-image:var(--scene-image);background-size:cover;background-position:center;
  mask-image:linear-gradient(to bottom,transparent,#000 74px);
 }
 .scene-notebook:after,.scene-log:after,.scene-invitation:after{
  content:"";position:absolute;top:-19px;left:9%;width:104px;height:32px;pointer-events:none;
  background:linear-gradient(97deg,#279c93b8,#69c1afa6 48%,#269f9ac9);
  box-shadow:1px 3px 5px #4636212b;transform:rotate(-12deg);z-index:1;
  clip-path:polygon(1% 7%,98% 0,96% 30%,100% 61%,98% 97%,3% 100%,5% 74%,0 39%);
 }
 .scene-log:after{left:auto;right:13%;transform:rotate(11deg)}
 .scene-invitation:after{left:20%;background:linear-gradient(105deg,#fbd76dd9,#ffe692e8);transform:rotate(-8deg)}
 .hero-host--hana{left:32.4%;width:23.5%}.hero-host--ryu{right:1%;width:24.5%}
 .hero-host figcaption{margin-top:-6%}
}
@media(max-width:767px){
 .hero-app-image{aspect-ratio:1.6}
 .hero-host img{object-fit:contain}
 .hero-host figcaption{bottom:6px}
 .gallery-image{height:350px;object-fit:contain}
 #gallery h3{font-size:22px;line-height:1.5}
 .host-grid img{height:190px;object-fit:contain}
}

/* R9: official square portraits only; HERO stays frameless and the host intro owns the paper-card treatment. */
.hero-host img{
 width:100%;height:auto;aspect-ratio:1;object-fit:contain;
 filter:drop-shadow(0 8px 8px #342b2238)
}
.hero-host--ryu img,.host-grid article+article img{transform:scaleX(-1)}
.hero-host figcaption{display:none}
.host-grid article{isolation:isolate}
.host-grid article:before{
 content:"";position:absolute;z-index:2;top:-10px;left:50%;width:36%;height:20px;
 background:#27a9a1c9;box-shadow:1px 2px 4px #49372724;transform:translateX(-50%) rotate(-4deg)
}
.host-grid article+article:before{background:#ffd84dd9;transform:translateX(-50%) rotate(4deg)}
.scene-invitation{overflow:clip}
.host-grid img{
 width:100%;height:auto;aspect-ratio:1;object-fit:contain;padding:12px;
 background:#fffdf7;border:1px solid #d8cdb7;box-shadow:5px 8px 12px #49372735
}
.host-grid article:first-child img{transform:rotate(-1.5deg)}
.host-grid article+article img{transform:rotate(1.5deg) scaleX(-1)}
@media(min-width:768px){
 .hero-host--hana{top:6.2cqw;left:35.5%;width:17.5%}
 .hero-host--ryu{top:5.1cqw;right:2.3%;width:18.2%}
 .host-grid article{width:21%;top:350px}
}
@media(min-width:768px) and (max-width:1199px){
 .host-grid article{width:22%;top:365px}
}
@media(max-width:767px){
 .hero-host{top:312px}
 .hero-host--hana{left:max(-1%,calc(50% - 205px));width:min(40%,166px)}
 .hero-host--ryu{right:max(0px,calc(50% - 205px));width:min(38%,158px)}
 .host-grid article,.host-grid article+article{position:relative}
 .host-grid article:before{top:-6px;height:16px}
 .host-grid img{height:auto;padding:8px}
}

/* R10: hosts belong to the illustrated workshop; copy and actual app screens stay editable. */
.hero-scene{
 min-height:36.5cqw;
 background:var(--paper) url('./images/r10-hero-desktop.webp') center top/cover no-repeat;
}
@media(min-width:768px){
 .hero-copy{padding-top:3cqw}
 .hero-screens{top:19.4cqw;left:53%;right:19%;height:12.5cqw}
 .hero .screen{box-shadow:4px 10px 13px #342b2255}
 .scene-notebook:before{inset:-28px 0 0;mask-image:linear-gradient(to bottom,transparent,#000 30px)}
}
@media(max-width:767px){
 .hero-scene{min-height:max(720px,150cqw);background-image:url('./images/r10-hero-mobile.webp');background-position:center bottom;background-size:100% auto}
 .hero-scene:before{display:block;inset:0 0 auto;height:calc(max(720px,150cqw) - 150cqw + 95px);background:linear-gradient(to bottom,var(--paper) calc(100% - 95px),transparent);z-index:0}
 .hero-screens{left:42%;right:auto;top:auto;bottom:18px;width:51%;height:132px;transform:none}
 .hero .screen--code{width:64%;left:-3%;top:0}
 .hero .screen--idea{width:67%;right:-2%;top:22px}
 .hero .window-title{font-size:6px;height:15px}
 .hero .window-title:before{font-size:4px}
}

/* R11: keep live copy inside the paper and give the rail room to loop. */
@media(min-width:768px){
 .scene-log .step-path{margin-bottom:0}
 .scene-log #flow{padding-top:0}
 .scene-log .flow-list{margin-top:2px}
 .scene-log .worklog{padding-bottom:165px}
 .invitation-content{margin-top:84px}
 #faq summary{padding-block:8px}
 #expectations p{margin-bottom:18px}
 #event>p{margin-bottom:16px}
 .host-grid article{left:2.5%}
 .host-grid article+article{right:2.5%}
 .scene-invitation:before{background-size:100% 100%}
 .invitation-note{padding-bottom:105px}
 .invitation-cta{margin-top:76px}
}
.gallery-loop .gallery-viewport{scroll-snap-type:none;scroll-behavior:auto}
.gallery-loop .gallery-artwork{transform:rotate(var(--pin-angle,0deg))}
.gallery-controls{flex-wrap:wrap;max-width:calc(100% - 32px)}
.gallery-controls [data-gallery-toggle]{width:auto;min-width:96px;border-radius:999px;padding:0 14px;font-size:16px}
@media(max-width:767px){
 .host-grid article,.host-grid article+article{left:auto;right:auto;top:auto}
 .gallery-controls{gap:12px}
 .gallery-controls [data-gallery-toggle]{flex-basis:100%;height:40px}
}

@media(min-width:768px) and (max-width:1199px){.invitation-content{margin-top:104px}}
@media(max-width:767px){.invitation-content{margin-top:35px}#faq summary{padding-block:11px}}

/* R12: one real right-hand page; the gutter stays at the left edge at every width. */
.scene-invitation{isolation:isolate;background:none}
.scene-invitation:before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:url('./images/r12-single-page.webp') 5.2% center/cover no-repeat;
 mask-image:linear-gradient(to bottom,transparent,#000 32px)
}
.scene-invitation:after{content:none}
.invitation-note{min-height:1100px;padding:100px 0 140px}
.invitation-content{width:46%;margin:80px auto 0}
.invitation-cta{margin-top:48px}
@media(min-width:768px){
 .host-grid article{left:6.5%;width:18%;top:335px}
 .host-grid article+article{right:4.5%;left:auto}
}
@media(min-width:768px) and (max-width:1199px){
 .invitation-content{width:48%;margin-top:72px}
 .host-grid article{left:5.5%;width:18%;top:335px}
 .host-grid article+article{right:3.5%}
}
@media(max-width:767px){
 .invitation-note{min-height:0;padding:130px 28px 150px 42px}
 .host-grid{margin:32px -8px 0;gap:10px}
 .host-grid article,.host-grid article+article{position:relative;left:auto;right:auto;top:auto;width:auto}
 .invitation-content{width:100%;margin-top:38px}
 .invitation-cta{margin-top:38px}
}

/* R13: independent motifs follow the four real layout columns, never the backdrop crop. */
@media(min-width:768px){.hero .site-name{transform:translateY(.5cqw)}}
.host-grid p{max-width:none;padding-inline:0}
.host-grid p span{display:block;white-space:nowrap}
.scene-log{isolation:isolate;background:none}
.scene-log:before{
 content:"";position:absolute;inset:-160px 0 -220px;z-index:-1;pointer-events:none;
 background:url('./images/r13-worklog-paper.webp') center/cover no-repeat;
 mask-image:linear-gradient(to bottom,transparent,#000 55px)
}
.scene-log .worklog{min-height:1060px;padding:150px 8% 160px}
.scene-log .step-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:48px 0 34px;padding:0}
.scene-log .step-path li{min-width:0;min-height:0;padding:0;text-align:center}
.scene-log .step-number{position:static;display:table;margin:0 auto;font-size:32px;line-height:1.2}
.step-motif{display:block;width:100%;max-width:230px;aspect-ratio:1;margin:8px auto 12px;background:url('./images/r13-step-motifs.webp') 0 0/200% 200% no-repeat}
.step-motif--build{background-position:100% 0}
.step-motif--share{background-position:0 100%}
.step-motif--next{background-position:100% 100%}
.scene-log .step-path h3{font-size:30px;line-height:1.5;margin:0 auto;background:none;white-space:normal;text-shadow:none}
.scene-log .step-path p{font-size:18px;line-height:1.8;margin-top:10px;text-wrap:pretty}
.scene-log .step-path li:before{content:none}
.scene-log .step-path li:not(:last-child):after{display:block;top:142px;right:-30px;font-size:30px;line-height:1}
.scene-log #flow{padding-top:18px}
@media(min-width:768px) and (max-width:1199px){
 .scene-log .worklog{padding:135px 7% 150px;min-height:980px}
 .scene-log .step-path{gap:24px;margin-top:42px}
 .scene-log .step-path h3{font-size:25px}
 .scene-log .step-path p{font-size:17px}
 .scene-log .step-path li:not(:last-child):after{top:122px;right:-25px;font-size:26px}
 .host-grid p{font-size:15px}
}
@media(max-width:767px){
 .scene-log:before{inset:-340px 0 -380px}
 .scene-log .worklog{min-height:0;padding:125px 30px 145px}
 .scene-log .step-path{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px;margin:42px 0 32px}
 .scene-log .step-number{font-size:24px}
 .step-motif{margin:6px auto 8px;max-width:180px}
 .scene-log .step-path h3{font-size:22px;line-height:1.45}
 .scene-log .step-path p{font-size:16px;line-height:1.8;margin-top:8px}
 .scene-log .step-path li:after{display:none!important}
 .host-grid p{font-size:14px;line-height:1.8}
}

/* R14: balance gallery paper spacing and keep step phrases together. */
.gallery-heading{transform:translateY(-30px)}
.scene-log .step-path p span{display:block;white-space:nowrap}
@media(max-width:767px){.gallery-heading{transform:translateY(16px)}.scene-log .step-path p{font-size:15px}.scene-log #steps>h2{font-size:clamp(24px,7.4vw,32px)}}

/* R15: approved Dela headline and physically coherent laptop staging. */
@font-face{font-family:"Dela Gothic One";src:url("./fonts/DelaGothicOne-headline.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
.hero h1{font-family:"Dela Gothic One","Noto Sans JP",sans-serif;font-weight:400;font-synthesis:none}
.hero-scene{background-image:url("./images/r15-hero-desktop.webp")}
@media(max-width:767px){.hero-scene{background-image:url("./images/r15-hero-mobile.webp")}}

/* R17: mobile scene artwork must stay inside its own section. Keep the large
   crop that places the worklog copy on paper, but never paint over its neighbours. */
@media(max-width:767px){
 .scene-log{overflow:clip}
 .scene-log .worklog{padding-bottom:64px}
 .scene-wall{padding-top:107px}
 .gallery-heading{transform:none;min-height:150px}
 .gallery-heading h2{margin-bottom:9px}
 .gallery-heading>p:last-child{line-height:1.65}
}

/* R20: one coffee cup at the hero seam; compact gallery caption/control paper. */
.scene-notebook{background-image:url('./images/r20-notebook.png');--scene-image:url('./images/r20-notebook.png')}
.gallery-control-card{width:max-content;max-width:calc(100% - 32px);margin:18px auto 0;padding:12px 18px 10px;background:var(--paper-warm);box-shadow:2px 4px 8px #49372724;transform:rotate(-1deg)}
.gallery-control-card .gallery-controls{width:auto;max-width:100%;padding:0;margin:0;box-shadow:none;background:none;transform:none}
.gallery-control-card .gallery-disclaimer{width:auto;max-width:none;padding:0;margin:8px 0 0;background:none;font-size:12px;line-height:1.6;text-align:center}
.scene-wall{min-height:0;padding-bottom:42px;overflow:clip}
#hosts h2{position:relative;isolation:isolate}
#hosts h2:before{content:"";position:absolute;inset:-14px -22px;z-index:-1;background:#fff7d9;box-shadow:2px 4px 5px #49372720;transform:rotate(-1deg);clip-path:polygon(0 3%,98% 0,100% 96%,2% 100%)}
#hosts h2:after{content:"";position:absolute;top:-23px;left:50%;width:94px;height:22px;background:#27a9a1a8;transform:translateX(-50%) rotate(-4deg)}
.host-doodle{position:absolute;top:calc(100% + 12px);left:-12%;width:124%;height:65px;overflow:visible;pointer-events:none;fill:none;stroke:#13756f;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:768px){
 .hero-scene{background-image:url('./images/r20-hero-desktop.png')}
 .scene-notebook{background-image:none}
 .scene-notebook:before{inset:-28px 0 0;mask-image:linear-gradient(to bottom,transparent,#000 30px)}
 .scene-wall:before{background-size:auto max(1150px,80cqw);background-position:center top}
}
@media(max-width:767px){
 .scene-wall{background-size:auto 1100px;background-position:center top;padding-bottom:32px}
 .gallery-control-card{padding:10px 14px}
 .gallery-control-card .gallery-controls{gap:10px}
 #hosts h2:before{inset:-12px -8px}
 #hosts h2:after{width:72px;height:18px;top:-21px}
 .host-doodle{left:2%;width:96%;height:23px;top:calc(100% + 10px)}
}

/* R21: keep illustrated object silhouettes intact across scene boundaries. */
.scene-log:before{background-image:url('./images/r21-worklog-paper.png')}
.scene-wall{--scene-image:url('./images/r21-gallery-wall.png')}
@media(min-width:768px){
 .scene-log{overflow:visible;clip-path:inset(-32px 0 0)}
 .scene-log:before{inset:-32px 0 -120px;mask-image:linear-gradient(to bottom,transparent,#000 32px)}
 .scene-log .worklog{padding-top:250px}
 .scene-wall{padding-top:144px}
 .gallery-heading{min-height:140px}
 .scene-wall:before{inset:0;mask-image:none}
}
.scene-wall:after{content:"";position:absolute;inset:0 0 auto;height:12px;pointer-events:none;background:linear-gradient(#49321c55,transparent)}
@media(max-width:767px){
 .lp{gap:0}
 .scene-wall{background-image:url('./images/r21-gallery-wall.png')}
}

/* R22: desktop entry space and page navigation; mobile geometry is untouched. */
.desktop-header{display:none}
@media(min-width:768px){
 .desktop-header{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1440px;margin:0 auto;padding:32px clamp(24px,4.8vw,90px) 28px;min-height:116px}
 .desktop-brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;white-space:nowrap;font-size:16px;font-weight:900;line-height:1.4}
 .desktop-brand img{flex:none}
 .desktop-brand small{display:block;color:var(--teal-ink);font-size:9px;letter-spacing:.14em;font-weight:800;margin-top:3px}
 .desktop-header nav{display:flex;align-items:center;gap:clamp(16px,2vw,30px)}
 .desktop-header nav a{display:inline-block;padding:10px 0;color:var(--ink);font-size:14px;font-weight:700;white-space:nowrap;text-decoration:none;text-underline-offset:7px}
 .desktop-header nav a:hover,.desktop-header nav a:focus-visible{color:var(--teal-ink);text-decoration:underline;text-decoration-thickness:2px}
 .desktop-header nav a:last-child{padding:10px 14px;background:var(--yellow);box-shadow:0 2px #cfb746}
 .desktop-header nav a:last-child span{display:inline-block;margin-left:4px}
}
@media(min-width:768px) and (max-width:999px){
 .desktop-header{padding:24px;min-height:96px;gap:16px}
 .desktop-brand{font-size:14px;gap:6px}
 .desktop-header nav{gap:16px}
 .desktop-header nav a{font-size:12px}
 .desktop-header nav a:last-child{padding-inline:10px}
}
