:root{--orange:#E78037;--ink:#494741;--muted:#79746d;--ivory:#FFF7ED;--line:#e8e1d8;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:35px}body{margin:0;color:var(--ink);background:var(--white);font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:14px;line-height:2;letter-spacing:.045em}a{color:inherit;text-decoration:none}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--orange);outline-offset:6px}button:not(:disabled),a{cursor:pointer}::selection{background:#f8dcc3}h1,h2,h3,p{margin:0}img{max-width:100%;display:block}.wrap{max-width:1120px;margin:auto;width:calc(100% - 112px)}.header{height:113px;max-width:1320px;width:calc(100% - 96px);margin:auto;display:flex;align-items:center;justify-content:space-between}.logo{font-family:Georgia,"Times New Roman",serif;font-size:29px;letter-spacing:.015em;line-height:1.3}.logo span{display:block;font-family:sans-serif;font-size:9px;letter-spacing:.14em;margin-top:8px}.header nav{display:flex;align-items:center;gap:29px;font-size:11px;letter-spacing:.12em}.header nav a:hover{color:var(--orange)}.nav-contact{border-bottom:1px solid var(--orange);padding:9px 0}.nav-contact span{margin-left:20px;color:var(--orange)}.menu{display:none}.hero{min-height:650px;position:relative;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;padding-top:22px;padding-bottom:100px}.eyebrow{font-family:Arial,sans-serif;letter-spacing:.2em;font-size:11px;color:var(--orange);font-weight:500}.hero h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(35px,3.8vw,52px);line-height:1.85;font-weight:500;letter-spacing:.1em;margin:25px 0 22px}.hero h1 span{background:linear-gradient(transparent 83%,#fbe5d2 83%,#fbe5d2 96%,transparent 96%)}.hero-sub{font-size:15px;letter-spacing:.12em}.button{display:inline-flex;align-items:center;justify-content:space-between;min-width:243px;gap:34px;padding:16px 26px;font-size:13px;letter-spacing:.07em;border-radius:2px;border:1px solid transparent;transition:background .18s,color .18s}.button span{font-size:18px;line-height:1}.primary{background:var(--orange);color:white}.primary:hover:not(:disabled){background:#cd6d2b}.hero .button{margin-top:34px}.hero-art{height:460px;position:relative;display:grid;place-items:center}.orbit{position:absolute;width:390px;height:390px;border-radius:50%;background:#fff7ed}.art-paper{width:294px;height:351px;background:#fff;position:relative;transform:rotate(-7deg);box-shadow:0 14px 50px #63513712;padding:25px 25px;border:1px solid #eee9e0}.paper-top{font:11px Georgia,serif;border-bottom:1px solid var(--line);padding-bottom:12px}.paper-top span{float:right;color:var(--orange)}.art-message{font-family:"Yu Mincho",serif;font-size:26px;line-height:1.7;position:relative;z-index:2;margin-top:37px;letter-spacing:.13em}.art-arch{position:absolute;width:125px;height:184px;background:#f6e4ce;border-radius:80px 80px 0 0;right:20px;top:85px;color:#ad8057}.art-arch svg{width:100%;height:100%}.paper-lines{margin-top:35px;width:125px}.paper-lines i{display:block;background:#e9e4dd;height:3px;margin-bottom:8px}.paper-lines i:last-child{width:70%}.paper-pill{display:block;width:75px;height:15px;background:var(--orange);margin-top:20px}.art-note{position:absolute;right:0;bottom:14px;font-family:Georgia,serif;font-style:italic;font-size:21px;line-height:1.6;transform:rotate(-7deg);color:#a28b71}.art-spark{position:absolute;top:32px;right:25px;font-size:49px;font-weight:200;color:var(--orange)}.hero-bottom{position:absolute;bottom:25px;left:0;right:0;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.14em;color:var(--muted)}.hero-bottom a{display:flex;gap:22px;align-items:center}.hero-bottom a span{font-size:24px;color:var(--orange)}.section{padding-top:96px;padding-bottom:100px}.ivory{background:var(--ivory)}.section-title h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:28px;font-weight:500;letter-spacing:.13em;margin-top:7px}.section-intro{color:var(--muted);margin-top:20px;font-size:13px}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:38px}.service-card{background:#fff;padding:24px 28px 21px}.service-visual{height:139px;position:relative;display:grid;place-items:center}.service-visual>span{position:absolute;left:0;top:0;font:italic 14px Georgia,serif;color:#bdab95}.service-visual svg{width:145px;height:119px;stroke:#b3855f;fill:none;stroke-width:1.4}.service-card h3{font-size:16px;font-weight:500;margin:18px 0 13px;letter-spacing:.025em}.service-card p{font-size:12px;line-height:2.1;color:var(--muted);min-height:77px}.estimate{font-size:11px;border-top:1px solid var(--line);padding-top:14px;margin-top:22px;color:#8b7866}.section-row{display:flex;justify-content:space-between;align-items:center;margin-top:21px;color:var(--muted);font-size:13px;gap:20px}.small-note{font-size:10px;color:var(--muted)}.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 29px;margin:37px 0 40px}.work-art{aspect-ratio:1.34;background:#f7f2eb;display:grid;place-items:center;padding:29px 22px 25px;position:relative;overflow:hidden}.work-art.sage{background:#eff2eb}.work-art.sand{background:#f5f1e9}.monitor{position:relative;width:100%;padding-bottom:21px}.screen{background:#494943;border:6px solid #494943;border-bottom-width:12px;border-radius:5px;aspect-ratio:1.58;overflow:hidden;display:grid;place-items:center}.screen img{width:100%;height:100%;object-fit:cover;object-position:top}.monitor:before{content:"";position:absolute;bottom:4px;left:45%;width:10%;height:19px;background:#bbb9b2}.monitor:after{content:"";position:absolute;bottom:0;left:34%;width:32%;height:5px;background:#c7c4bd;border-radius:10px 10px 1px 1px}.screen-placeholder{width:100%;height:100%;background:#fffaf4;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a58c70;position:relative}.sage .screen-placeholder{background:#f8faf5;color:#819078}.screen-placeholder:before{content:"";width:45px;height:45px;border:1px solid currentColor;border-radius:50%;margin-bottom:8px;opacity:.5}.screen-placeholder span{font-family:Georgia,serif;font-size:12px;letter-spacing:.12em}.screen-placeholder small{font-size:8px;letter-spacing:.03em}.work-meta{font-size:10px;color:#9b8b7a;margin-top:17px}.work h3{font-size:14px;font-weight:500;margin-top:3px}.work[hidden]{display:none}.center{text-align:center}.outline{border-color:#c9b7a3;background:#fff}.outline:hover{background:var(--ivory)}.about-grid{display:grid;grid-template-columns:.85fr 1.2fr;gap:100px;align-items:center}.portrait{max-width:330px;width:100%;margin:auto}.portrait-frame{background:#f1e6d7;aspect-ratio:.83;border-radius:160px 160px 4px 4px;display:grid;place-items:center;position:relative;color:#b39876}.portrait-frame svg{height:85%;width:85%;opacity:.55}.portrait-frame>span{position:absolute;bottom:45px;text-align:center;font-family:Arial,sans-serif;font-size:10px;letter-spacing:.18em}.portrait-frame small{font-family:sans-serif;letter-spacing:.08em;font-size:10px}.portrait>p{font:italic 28px Georgia,serif;margin-top:20px}.portrait>p span{font:10px Arial,sans-serif;float:right;padding-top:10px;color:var(--muted);letter-spacing:.12em}.about-copy h3{font-family:"Yu Mincho",serif;font-weight:500;font-size:21px;line-height:1.9;margin:28px 0 21px}.about-copy>p{font-size:13px;line-height:2.2;margin-top:17px}.flow-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin:41px 0 0}.flow-grid li{border-top:1px solid #d7bd9f;padding-top:22px;position:relative}.flow-grid li:not(:last-child):after{content:"→";position:absolute;right:-24px;top:54px;color:#c4a584;font-size:18px}.step{font:italic 30px Georgia,serif;color:var(--orange)}.flow-grid h3{font-size:14px;font-weight:500;margin:15px 0 12px}.flow-grid p{font-size:12px;line-height:2;color:var(--muted)}.contact{text-align:center;background:var(--ivory);padding:75px 0 67px;border-top:1px solid #f2e6d6}.contact h2{font-family:"Yu Mincho",serif;font-size:29px;font-weight:500;letter-spacing:.11em;margin:18px 0}.contact>div>p:not(.eyebrow){font-size:13px}.contact .button{margin-top:27px}.contact .button:disabled{opacity:.7;cursor:not-allowed}.contact>div>.contact-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:13px}footer{max-width:1120px;width:calc(100% - 112px);margin:auto;padding:42px 0 26px;position:relative}footer .logo{font-size:23px}footer p{font-size:10px;color:var(--muted);margin-top:9px}footer small{display:block;margin-top:27px;font-size:9px;color:var(--muted)}.backtop{position:absolute;right:0;top:49px;font-size:9px;letter-spacing:.13em}.mobile-only{display:none}.works-page{padding-top:30px;padding-bottom:100px;min-height:70vh}.breadcrumb{font-size:9px;color:var(--muted);margin-bottom:45px}.works-page h2{font-size:34px}.works-page .small-note{margin-top:16px}.filters{display:flex;gap:12px;flex-wrap:wrap;margin:38px 0}.filters button{border:1px solid var(--line);background:white;border-radius:2px;padding:8px 23px;color:var(--muted);font-size:12px}.filters .active{background:var(--orange);color:white;border-color:var(--orange)}.skip{position:absolute;top:-100px;left:20px;background:white;padding:10px;z-index:100}.skip:focus{top:5px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
@media(min-width:1500px){.hero{min-height:730px}.hero-art{transform:scale(1.08)}}
@media(max-width:1000px){.header{width:calc(100% - 56px)}.header nav{gap:18px}.wrap,footer{width:calc(100% - 64px)}.hero h1{font-size:38px}.orbit{width:310px;height:310px}.art-paper{width:250px;height:320px}.art-message{font-size:23px}.art-arch{width:100px;height:161px}.art-note{font-size:17px;right:0}.service-grid{gap:18px}.service-card{padding:20px}.service-card h3{font-size:14px}.about-grid{gap:55px}.works-grid{gap:25px 20px}.work-art{padding:20px 14px}.flow-grid{gap:25px}.flow-grid li:not(:last-child):after{right:-21px}}
@media(max-width:700px){body{font-size:13px}.header{height:88px;width:calc(100% - 40px);position:relative;z-index:10}.logo{font-size:25px}.logo span{font-size:8px;margin-top:6px}.menu{display:flex;gap:12px;align-items:center;background:none;border:0;color:var(--ink);font-size:10px;padding:10px 0}.menu span{font-size:22px;color:var(--orange)}.header nav{display:none;position:absolute;top:78px;left:-20px;right:-20px;box-shadow:0 12px 20px #5147340b;background:#fff;padding:24px;flex-direction:column;gap:22px}.header nav.open{display:flex}.wrap,footer{width:calc(100% - 48px)}.hero{min-height:0;padding-top:36px;padding-bottom:67px;grid-template-columns:1fr}.hero h1{font-size:clamp(31px,7.8vw,44px);line-height:1.85;margin:20px 0}.hero .eyebrow{font-size:9px}.hero-sub{font-size:13px}.button{min-width:235px;padding:14px 22px;font-size:12px}.hero .button{margin-top:28px}.hero-art{height:310px;margin-top:23px;max-width:370px;width:100%;justify-self:center}.orbit{width:270px;height:270px}.art-paper{width:216px;height:265px;padding:17px 19px}.paper-top{font-size:9px;padding-bottom:8px}.art-message{font-size:21px;margin-top:28px}.art-arch{height:135px;width:89px;top:65px;right:14px}.paper-lines{margin-top:24px;width:97px}.paper-lines i{height:2px;margin-bottom:6px}.paper-pill{width:65px;height:10px;margin-top:14px}.art-note{font-size:16px;bottom:2px}.art-spark{font-size:37px;top:0;right:20px}.hero-bottom{bottom:14px;font-size:8px}.hero-bottom a{gap:12px}.section{padding-top:64px;padding-bottom:66px}.section-title h2{font-size:25px}.eyebrow{font-size:10px}.section-intro{font-size:12px;line-height:1.9;margin-top:16px}.service-grid{grid-template-columns:1fr;gap:20px;margin-top:29px}.service-card{padding:20px 25px 24px}.service-visual{height:115px}.service-visual svg{height:112px}.service-card h3{font-size:17px;margin-top:12px}.service-card p{font-size:13px;min-height:0}.estimate{margin-top:19px}.section-row{align-items:flex-start;flex-direction:column;gap:9px;font-size:12px;margin-top:17px}.works-grid{grid-template-columns:1fr;gap:28px;margin:27px 0 31px}.work-art{aspect-ratio:1.45;padding:25px 32px}.work h3{font-size:15px}.work-meta{margin-top:12px}.about-grid{grid-template-columns:1fr;gap:38px}.portrait{max-width:250px;order:2}.portrait-frame{aspect-ratio:.9}.portrait-frame>span{bottom:26px}.about-copy h3{font-size:20px;margin:23px 0 17px}.about-copy>p{font-size:13px;line-height:2.2}.flow-grid{grid-template-columns:1fr;gap:0;margin-top:29px}.flow-grid li{display:grid;grid-template-columns:45px 1fr;column-gap:18px;padding:21px 0}.flow-grid h3{margin:0;align-self:center;font-size:15px}.flow-grid p{grid-column:2;margin-top:7px}.step{font-size:28px;grid-row:1 / 3}.flow-grid li:not(:last-child):after{display:none}.contact{padding:59px 0 52px}.contact h2{font-size:25px;line-height:1.8}.contact>div>p:not(.eyebrow){font-size:12px}.mobile-only{display:block}footer{padding-top:33px}.backtop{top:38px;font-size:8px}.works-page{padding-top:15px;padding-bottom:65px}.breadcrumb{margin-bottom:30px}.works-page h2{font-size:28px}.filters{gap:8px;margin-top:27px}.filters button{padding:7px 15px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Readability: body copy is 18px on desktop and mobile.
   Keep the hero headline, font families, weights, and brand colors unchanged. */
body{font-size:18px;line-height:2}
.header{min-height:120px;height:auto;padding-block:24px;gap:28px}
.logo span{font-size:14px;line-height:1.7;letter-spacing:.07em}
.header nav{font-size:16px;gap:24px;flex-shrink:0}
.hero{padding-top:40px;padding-bottom:116px}
.hero-sub{font-size:20px;line-height:1.9}
.button{font-size:18px;line-height:1.7;min-width:min(290px,100%);max-width:100%;padding:18px 26px;gap:24px}
.eyebrow,.hero .eyebrow{font-size:14px;line-height:1.7}
.hero-bottom{font-size:14px;line-height:1.8;gap:24px}
.hero-bottom a{flex-shrink:0}
.section{padding-top:108px;padding-bottom:112px}
.section-title h2{font-size:32px;line-height:1.7;margin-top:10px}
.section-intro,.section-row{font-size:18px;line-height:2}
.service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:44px;align-items:stretch}
.service-card{padding:28px;display:flex;flex-direction:column;min-width:0}
.service-visual{flex-shrink:0}
.service-visual>span{font-size:18px}
.service-card h3{font-size:20px;line-height:1.8;margin:22px 0 16px}
.service-card p{font-size:18px;line-height:2;min-height:0;margin-bottom:28px}
.estimate{font-size:16px;line-height:1.9;margin-top:auto;padding-top:18px}
.section-row{align-items:flex-start;flex-wrap:wrap;gap:12px 28px}
.small-note{font-size:14px;line-height:1.9}
.work-meta{font-size:16px;line-height:1.8;margin-top:20px}
.work h3{font-size:20px;line-height:1.8;margin-top:6px}
.screen-placeholder span{font-size:14px;line-height:1.6}
.screen-placeholder small{font-size:14px;line-height:1.8;text-align:center}
.screen-placeholder:before{width:32px;height:32px;flex-shrink:0;margin-bottom:6px}
.about-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr);gap:80px}
.about-copy h3{font-size:24px;line-height:1.9;margin:30px 0 24px}
.about-copy>p{font-size:18px;line-height:2.1;margin-top:24px}
.portrait-frame>span,.portrait-frame small,.portrait>p span{font-size:14px;line-height:1.8}
.portrait>p{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.portrait>p span{float:none;padding-top:0}
.flow-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-top:46px}
.flow-grid li{min-width:0;padding-top:28px}
.flow-grid h3{font-size:20px;line-height:1.8;margin:20px 0 16px}
.flow-grid p{font-size:18px;line-height:2}
.contact{padding:88px 0 80px}
.contact h2{font-size:32px;line-height:1.9}
.contact>div>p:not(.eyebrow){font-size:18px;line-height:2}
.contact>div>.contact-note{font-size:14px;line-height:1.9;margin-top:18px}
footer{padding-top:48px;padding-bottom:32px}
footer p{font-size:16px;line-height:1.9;margin-top:14px}
footer small,.backtop,.breadcrumb{font-size:14px;line-height:1.8}
.backtop{top:52px}
.filters button{font-size:18px;line-height:1.7;padding:12px 24px}
.works-page{padding-top:36px}
/* Grid items can shrink naturally without hiding horizontal overflow. */
.hero-copy,.hero-art,.about-copy,.work,.contact .wrap{min-width:0}
@media(max-width:1100px) and (min-width:1001px){
 .header{width:calc(100% - 48px);gap:20px}
 .header nav{gap:18px}
 .logo span{font-size:14px;letter-spacing:.02em}
}
@media(max-width:1000px){
 .header{position:relative;z-index:10;min-height:112px;padding-block:20px}
 .menu{display:flex;gap:12px;align-items:center;background:none;border:0;color:var(--ink);font-size:16px;padding:10px 0;flex-shrink:0}
 .menu span{font-size:22px;color:var(--orange)}
 .header nav{display:none;position:absolute;top:100%;left:-28px;right:-28px;background:#fff;box-shadow:0 12px 20px #5147340b;padding:28px;flex-direction:column;gap:22px;font-size:18px}
 .header nav.open{display:flex}
 .hero-bottom{font-size:14px}
 .service-card{padding:24px}
 .service-grid{gap:20px}
 .about-grid{gap:40px}
 .flow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
 .flow-grid li:not(:last-child):after{display:none}
 .work-art{padding:20px 10px}
 .screen-placeholder:before{display:none}
}
@media(max-width:900px) and (min-width:701px){
 .service-grid{grid-template-columns:1fr}
 .service-card{padding:32px}
 .service-card p{margin-bottom:24px}
 .about-grid{grid-template-columns:1fr;gap:48px}
 .portrait{order:2}
 .works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}
}
@media(max-width:700px){
 .header{width:calc(100% - 40px);min-height:116px;gap:12px;padding-block:18px}
 .logo{font-size:25px}
 .logo span{font-size:14px;letter-spacing:0;line-height:1.7;max-width:190px}
 .header nav{left:-20px;right:-20px}
 .hero{padding-top:32px;padding-bottom:112px}
 .hero-sub{font-size:18px;line-height:2;letter-spacing:.08em}
 .button{font-size:18px;padding:17px 20px;gap:18px}
 .hero .button{margin-top:30px}
 .hero-bottom{font-size:14px;bottom:20px;gap:12px;flex-wrap:wrap}
 .hero-bottom a{margin-left:auto;gap:14px}
 .section{padding-top:76px;padding-bottom:80px}
 .section-title h2{font-size:28px}
 .section-intro{font-size:18px;line-height:2;margin-top:20px}
 .service-grid{grid-template-columns:1fr;gap:28px;margin-top:32px}
 .service-card{padding:24px}
 .service-card h3{font-size:20px;line-height:1.8;margin:20px 0 16px}
 .service-card p{font-size:18px;line-height:2;margin-bottom:24px}
 .estimate{font-size:16px;padding-top:18px;margin-top:auto}
 .section-row{font-size:18px;line-height:2;gap:14px;margin-top:20px}
 .works-grid{grid-template-columns:minmax(0,1fr);gap:36px;margin-top:32px;margin-bottom:40px}
 .work-art{padding:25px 24px}
 .screen-placeholder:before{display:block}
 .work-meta{font-size:16px;margin-top:16px}
 .work h3{font-size:20px;line-height:1.8}
 .about-grid{grid-template-columns:minmax(0,1fr);gap:44px}
 .about-copy h3{font-size:22px;line-height:1.9;margin:28px 0 24px}
 .about-copy>p{font-size:18px;line-height:2.1;margin-top:24px}
 .portrait{max-width:280px;order:2}
 .portrait-frame>span{bottom:28px}
 .flow-grid{grid-template-columns:minmax(0,1fr);gap:0;margin-top:32px}
 .flow-grid li{grid-template-columns:40px minmax(0,1fr);column-gap:16px;padding:27px 0}
 .flow-grid h3{font-size:20px;line-height:1.8;margin:0}
 .flow-grid p{font-size:18px;line-height:2;margin-top:12px}
 .contact{padding:72px 0 64px}
 .contact h2{font-size:28px;line-height:1.9}
 .contact>div>p:not(.eyebrow){font-size:18px;line-height:2}
 .contact>div>.contact-note{font-size:14px;line-height:1.9}
 footer{padding-top:36px}
 footer p{font-size:16px}
 .backtop{position:static;display:inline-block;margin-top:24px}
 .works-page{padding-top:20px;padding-bottom:80px}
 .works-page h2{font-size:28px}
 .filters{gap:12px;margin-top:32px}
 .filters button{font-size:18px;padding:10px 18px}
}
.contact>div>p.contact-note{font-size:14px;line-height:1.9}
@media(max-width:700px){
 .header .logo{flex:1;min-width:0}
 .logo span{max-width:none;text-wrap:balance}
}

/* Only the published Festa work opens a preview. Its resting layout is unchanged. */
.work-preview{width:100%;border:0;border-radius:0;margin:0;font:inherit;letter-spacing:inherit;color:inherit;text-align:inherit;appearance:none}
.work-preview:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
.work-dialog{width:min(1120px,calc(100% - 64px));height:calc(100vh - 64px);height:min(960px,calc(100dvh - 64px));max-width:none;max-height:none;border:0;border-radius:6px;padding:0;margin:auto;overflow:hidden;background:var(--white);color:var(--ink);box-shadow:0 20px 80px #25201b33}
.work-dialog[open]{display:flex;flex-direction:column;animation:work-preview-appear .26s ease-out both}
.work-dialog::backdrop{background:rgba(42,37,32,.48);animation:work-preview-dim .26s ease-out both}
.work-dialog-header{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px 20px;align-items:start;flex-shrink:0;padding:20px 24px 18px;border-bottom:1px solid var(--line)}
.work-dialog-header h2{font-size:20px;font-weight:500;line-height:1.7;align-self:center}
.work-dialog-close{grid-column:2;grid-row:1 / 3;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--ink);font:inherit;font-size:30px;line-height:1;display:grid;place-items:center;padding:0}
.work-dialog-close:hover{background:var(--ivory)}
.work-dialog-link{grid-column:1;font-size:18px;line-height:1.8;text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:5px;justify-self:start}
.work-dialog-help{grid-column:1 / -1;font-size:14px;line-height:1.8;color:var(--muted)}
.work-dialog-frame{display:block;width:100%;flex:1;min-height:0;border:0;background:var(--white)}
@keyframes work-preview-appear{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes work-preview-dim{from{background:rgba(42,37,32,0)}to{background:rgba(42,37,32,.48)}}
@media(max-width:700px){
 .work-dialog{width:calc(100% - 24px);height:calc(100vh - 32px);height:calc(100dvh - 32px)}
 .work-dialog-header{padding:16px;gap:10px 12px}
 .work-dialog-header h2{font-size:18px;line-height:1.7}
 .work-dialog-link{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.work-dialog[open],.work-dialog::backdrop{animation:none}}
.work-dialog-viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:var(--white)}
.work-dialog-viewport .work-dialog-frame{position:absolute;top:0;left:0;transform-origin:top left;max-width:none}

/* Portfolio listing only: keep the homepage's layout and typography intact. */
.works-catalog-page .section-title h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:34px;font-weight:500;line-height:1.7;letter-spacing:.13em;margin-top:10px}
.works-catalog-page .catalog-note{font-size:14px;line-height:1.9;color:var(--muted);margin-top:20px}
.works-catalog-page .catalog-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:40px 0 60px}
.works-catalog-page .catalog-nav a{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;font-size:18px;line-height:1.8;padding:20px 22px;background:var(--ivory);border-bottom:1px solid #d7bd9f}
.works-catalog-page .catalog-nav a:hover{border-color:var(--orange)}
.works-catalog-page .catalog-nav a span{font-size:14px;color:var(--muted)}
.works-catalog-page .catalog-nav a span:last-child{color:var(--orange);margin-left:auto;font-size:20px}
.works-catalog-page .catalog-section{padding-top:48px;margin-top:44px;border-top:1px solid var(--line);scroll-margin-top:24px}
.works-catalog-page .catalog-section h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:28px;font-weight:500;line-height:1.7;letter-spacing:.1em;margin-top:10px}
.works-catalog-page .catalog-description{font-size:18px;line-height:2;margin-top:18px}
.works-catalog-page .catalog-count{font-size:16px;line-height:1.9;color:var(--muted);margin-top:12px}
.works-catalog-page .catalog-section .works-grid{margin-top:32px;margin-bottom:0;row-gap:44px}
.works-catalog-page .catalog-pending{display:inline-block;font-size:14px;line-height:1.8;color:var(--muted);background:var(--ivory);padding:5px 12px;margin-top:12px}
.works-catalog-page .catalog-media{width:100%;background:var(--ivory)}
.works-catalog-page .catalog-media:not(:has(img)){display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:24px;text-align:center;aspect-ratio:2 / 1;border:1px solid var(--line)}
.works-catalog-page .catalog-social:not(:has(img)){aspect-ratio:1 / 1;background:#f7f5f0}
.works-catalog-page .catalog-media span{font-size:16px;line-height:1.8;color:var(--muted)}
.works-catalog-page .catalog-media span:first-child{font-size:14px;letter-spacing:.13em}
.works-catalog-page .catalog-media img{width:100%;height:auto;display:block}
.works-catalog-page .catalog-back{margin-top:64px}
@media(max-width:900px) and (min-width:701px){.works-catalog-page .catalog-nav{gap:14px}.works-catalog-page .catalog-nav a{padding:18px}}
@media(max-width:700px){
 .works-catalog-page .section-title h1{font-size:28px}
 .works-catalog-page .catalog-nav{grid-template-columns:1fr;gap:12px;margin:32px 0 44px}
 .works-catalog-page .catalog-nav a{padding:18px 20px}
 .works-catalog-page .catalog-section{padding-top:36px;margin-top:40px}
 .works-catalog-page .catalog-section h2{font-size:26px}
 .works-catalog-page .catalog-section .works-grid{row-gap:36px}
 .works-catalog-page .catalog-back{margin-top:48px}
}

/* Banner-only enlargement; the original PNG is displayed without cropping. */
.works-catalog-page .catalog-media-preview{display:block;border:0;border-radius:0;padding:0;margin:0;font:inherit;color:inherit;appearance:none;text-align:inherit}
.works-catalog-page .catalog-media-preview:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
.image-dialog .work-dialog-header{align-items:center}
.image-dialog .work-dialog-close{grid-row:1}
.image-dialog-content{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--white);overflow:hidden}
.image-dialog-content img{width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}
@media(max-width:700px){.image-dialog-content{padding:12px}}

/* ABOUT photo only: show the original composition without cropping or filters. */
#about .portrait{max-width:440px;align-self:start;margin-top:80px}
#about .portrait-frame{display:block;aspect-ratio:auto;border-radius:20px;overflow:hidden;background:transparent}
#about .portrait-frame img{display:block;width:100%;height:auto}
@media(max-width:900px){
 #about .portrait{order:0;margin-top:0}
 #about .about-copy{order:1}
}
@media(max-width:700px){
 #about .portrait{max-width:400px}
 #about .portrait-frame{border-radius:16px}
}

/* Hero right side only. Original profile PNG; no filters or image edits. */
.hero-photo{isolation:isolate;transform:none}
.hero-photo-backdrop{position:absolute;right:0;top:48px;width:78%;height:350px;background:var(--ivory);border-radius:48px 8px 48px 8px;z-index:-1}
.hero-photo-frame{position:relative;width:min(430px,calc(100% - 44px));padding:12px;background:var(--white);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 32px #6351370a}
.hero-photo-frame img{width:100%;height:auto;border-radius:10px}
.hero-photo-accent{position:absolute;bottom:40px;left:30px;width:44px;height:2px;background:var(--orange)}
@media(max-width:1000px){
 .hero-photo-backdrop{top:80px;height:280px;width:80%;border-radius:36px 8px 36px 8px}
 .hero-photo-frame{width:calc(100% - 28px);padding:10px}
 .hero-photo-accent{left:22px;bottom:64px}
}
@media(max-width:700px){
 .hero-photo{height:260px;max-width:340px}
 .hero-photo-frame{width:min(280px,calc(100% - 32px));padding:9px;border-radius:16px}
 .hero-photo-frame img{border-radius:8px}
 .hero-photo-backdrop{top:12px;right:0;width:78%;height:232px;border-radius:32px 6px 32px 6px}
 .hero-photo-accent{left:20px;bottom:6px;width:32px}
}

/* Official logo stays byte-for-byte intact. The hero motif is an original drawing. */
.header .brand-logo{display:block;flex:0 1 208px;width:208px;line-height:1}
.header .brand-logo img{display:block;width:100%;height:auto}
.hero-embrace{isolation:isolate;transform:none}
.embrace-motif{display:block;width:100%;height:100%;overflow:visible}
@media(max-width:700px){
 .header .brand-logo{flex:0 1 184px;width:184px}
 .hero-embrace{height:260px;max-width:340px}
}

/* Hero right side: authentic Festa screenshots at each device viewport. */
.hero-showcase{display:block;isolation:isolate;transform:none}
.showcase-backdrop{position:absolute;top:78px;left:23%;width:72%;height:310px;background:var(--ivory);border-radius:50%;z-index:-1}
.hero-showcase img{display:block;width:100%;height:auto}
.showcase-desktop{position:absolute;top:40px;left:8%;width:88%;padding-bottom:32px}
.showcase-desktop-screen{border:6px solid #575650;border-bottom-width:12px;border-radius:7px;overflow:hidden;background:var(--white);box-shadow:0 9px 24px #49474112}
.showcase-desktop:before{content:"";position:absolute;width:10%;height:27px;left:45%;bottom:5px;background:#b8b6ae}
.showcase-desktop:after{content:"";position:absolute;width:32%;height:5px;left:34%;bottom:0;background:#c7c4bd;border-radius:8px 8px 2px 2px}
.showcase-tablet,.showcase-phone{position:absolute;overflow:hidden;background:#575650;border:6px solid #575650;box-shadow:0 10px 22px #4947411c}
.showcase-tablet{left:0;top:205px;width:26%;border-radius:10px}
.showcase-phone{right:4%;top:230px;width:16%;border-radius:11px;border-width:5px}
.showcase-tablet img{border-radius:4px}
.showcase-phone img{border-radius:5px}
@media(max-width:1000px) and (min-width:701px){
 .showcase-desktop{top:80px}
 .showcase-tablet{top:195px}
 .showcase-phone{top:215px}
 .showcase-backdrop{top:100px;height:260px}
}
@media(max-width:700px){
 .hero-showcase{height:260px;max-width:340px}
 .showcase-desktop{top:15px;left:9%;width:84%;padding-bottom:24px}
 .showcase-desktop-screen{border-width:4px;border-bottom-width:8px;border-radius:5px}
 .showcase-desktop:before{height:19px}
 .showcase-tablet{top:100px;width:25%;border-width:4px;border-radius:7px}
 .showcase-phone{top:123px;right:3%;width:16%;border-width:3px;border-radius:7px}
 .showcase-phone img{border-radius:3px}
 .showcase-backdrop{top:35px;left:20%;width:76%;height:210px}
}

/* Contact form only: a local input preview with sending disabled. */
.contact-form{max-width:760px;margin:40px auto 0;padding:40px;background:var(--white);border:1px solid var(--line);border-radius:8px;text-align:left}
.contact-field{margin-bottom:28px}
.contact-field>label{display:block;font-size:18px;line-height:1.8;margin-bottom:12px}
.required-label{display:inline-block;font-size:14px;line-height:1.6;color:#a5511d;background:var(--ivory);padding:2px 8px;margin-left:12px;vertical-align:middle}
.contact-field input:not([type=checkbox]),.contact-field select,.contact-field textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:58px;border:1px solid #c9bfb3;border-radius:4px;background:var(--white);padding:13px 16px;font:inherit;font-size:18px;line-height:1.8;letter-spacing:inherit;color:var(--ink)}
.contact-field textarea{resize:vertical;min-height:200px}
.contact-field select{padding-right:32px}
.contact-field input:focus-visible,.contact-field select:focus-visible,.contact-field textarea:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.contact-field [aria-invalid=true]{border-color:#a84429}
.field-error{font-size:16px;line-height:1.8;color:#a84429;margin-top:8px}
.field-error:empty{display:none}
.contact-field>.consent-label{display:flex;align-items:flex-start;gap:14px;cursor:pointer;margin-bottom:0}
.consent-label input{flex-shrink:0;width:22px;height:22px;margin:6px 0 0;accent-color:var(--orange)}
.consent-label a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:4px}
.contact-submit{text-align:center}
.contact .contact-submit .button{width:100%;max-width:400px;min-width:0;justify-content:center;margin-top:4px;padding:16px 10px;font-size:18px;line-height:1.8}
.preparation-note{font-size:16px;line-height:1.9;color:var(--muted);margin-top:18px}
.contact-validation{font-size:16px;line-height:1.9;margin-top:14px}
.contact-validation:empty{display:none}
.privacy-page{max-width:900px;padding-top:36px;padding-bottom:90px}
.privacy-page h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:32px;font-weight:500;line-height:1.8;letter-spacing:.06em;margin-top:12px}
.privacy-draft{background:var(--ivory);border-left:2px solid var(--orange);padding:24px;font-size:16px;line-height:2;margin-top:28px}
.privacy-page section{margin-top:40px}
.privacy-page h2{font-size:22px;font-weight:500;line-height:1.8;margin-bottom:16px}
.privacy-page section p,.privacy-page li{font-size:18px;line-height:2}
.privacy-page ul{padding-left:24px;margin:0 0 20px}
.privacy-page li{margin-bottom:12px}
.privacy-back{margin-top:48px}
@media(max-width:700px){
 .contact-form{margin-top:32px;padding:24px 20px;border-radius:6px}
 .contact-field{margin-bottom:26px}
 .contact-field input:not([type=checkbox]),.contact-field select,.contact-field textarea{padding:12px;min-height:56px}
 .contact-field textarea{min-height:220px}
 .contact-field>.consent-label{gap:12px}
 .consent-label .required-label{margin-left:0;margin-top:8px}
 .privacy-page{padding-top:20px;padding-bottom:64px}
 .privacy-page h1{font-size:26px;letter-spacing:0}
 .privacy-draft{padding:20px}
 .privacy-page h2{font-size:20px}
}

/* Footer only: the same original horizontal logo used in the header. */
footer .footer-brand{display:block;width:180px;max-width:100%;line-height:1}
footer .footer-brand img{display:block;width:100%;height:auto}
footer .footer-privacy{display:inline-block;font-size:14px;line-height:1.8;color:var(--muted);margin-top:20px;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
footer .footer-privacy:hover{text-decoration-color:var(--orange)}
@media(max-width:700px){footer .footer-brand{width:164px}}
