.menu-toggle { display: none; }
:root{--ink:#120e0d;--heading:#50413d;--accent:#785755;--cream:#faf4f0;--pink:#f5e3df;--latin:"Avenir Next",Arial,sans-serif;--jp:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;--heavy:"Avenir Next",Arial,sans-serif}
*{box-sizing:border-box}html,body,h1,h2,h3,p,dl,dd,ol{margin:0}body{background:var(--cream);color:var(--ink);font-family:var(--latin),var(--jp)}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}:focus-visible{outline:3px solid #623c43;outline-offset:2px}.skip{position:absolute;z-index:5;transform:translateY(-130%);background:white;padding:8px}.skip:focus{transform:none}
.sheet{container-type:inline-size;max-width:1600px;margin:auto}main,footer{font-size:.09765625cqw}section,footer{position:relative;background-size:auto 100%}section{overflow:hidden}.label{position:absolute;font-size:16em;line-height:1.1;font-weight:700;color:var(--accent)}
.hero{height:399em;background:var(--pink) url(assets/hero@2x.webp) center/100% 100%}.hero header,footer{display:flex;align-items:center;justify-content:space-between}.hero header{height:44em;padding:0 77em}.brand{font-size:15em;letter-spacing:.27em;position:relative;white-space:nowrap}.brand b{font-size:1.66em;font-weight:700;letter-spacing:-.035em}.brand:after{content:"";position:absolute;width:1.85em;border-bottom:1px solid var(--heading);bottom:-.05em;left:.05em}
nav{display:flex;gap:40em;align-items:center}nav a{font-size:14em;font-weight:700;letter-spacing:.025em}.hero nav a:last-child{position:relative}.hero nav a:last-child:after{content:"";position:absolute;bottom:-.35em;left:15%;width:85%;}
h1,.hello h2,.process h2,.contact h2{font-family:var(--heavy);color:var(--heading);font-weight:700}.hero h1{position:absolute;top:1.02em;left:1.24em;font-size:62em;line-height:.90;letter-spacing:.005em}.tagline{position:absolute;top:15em;left:5em;font:500 16em/1.55 var(--jp);letter-spacing:.1em}
.pill{border-radius:10em;background:var(--accent);color:white;display:flex;align-items:center;justify-content:center;position:relative;font-size:15em;letter-spacing:.035em;font-weight:700}.pill span{position:absolute;right:1.15em;font:1.35em/1 Arial}.first{position:absolute;left:5.27em;top:20.56em;width:11.13em;height:2.46em;padding-right:1.9em}
.hello{height:238em;background-image:url(assets/hello@2x.webp),url(assets/hello-tone.webp);background-position:right, left;background-repeat:no-repeat,repeat-x}.hello .label{top:1em;left:5.1em}.hello h2{position:absolute;left:1.75em;top:.88em;font-size:46em;line-height:.96}.introcopy{position:absolute;left:6.65em;top:10.20em;font:500 13em/1.5 var(--jp);letter-spacing:.09em}
.services{height:177em;background-image:url(assets/services-tone.webp)}.services .label{left:5em;top:.7em}.service-grid{position:absolute;inset:36em 60em 17em 73em;display:grid;grid-template-columns:220fr 213fr 217fr 216fr;gap:8em}.service-grid article{border-radius:16em;background:var(--cream);text-align:center;padding-top:6em}.service-grid img{height:48em;width:auto;object-fit:contain}.service-grid h3{font-size:17em;line-height:1.3;font-weight:700}.service-grid p{margin-top:.25em;font:500 12em/1.45 var(--jp);letter-spacing:.04em}
.works{height:219em;background-image:url(assets/works-tone.webp)}.works .label{font-family:var(--heavy);top:1em;left:5.00em}.all{position:absolute;right:5.2em;top:1.18em;font-size:11.5em;color:var(--accent);font-weight:700;}.all span{font:1.55em Arial;display:inline-block;margin-left:.4em}.work-grid{position:absolute;inset:48em 42em auto 41em;display:grid;grid-template-columns:171fr 143fr 143fr 145fr 143fr 145fr;gap:10em}.work-card{min-width:0;text-align:center}.work-card img{display:block;width:100%;height:135em;object-fit:contain}.work-card span{display:block;margin-top:.65em;font:500 10em/1.45 var(--jp);letter-spacing:.04em}
.process{height:145em;background-image:url(assets/process@2x.webp),url(assets/process-tone.webp);background-position:right,left;background-repeat:no-repeat,repeat-x}.process .label,.about .label{left:5.00em;top:.8em}.process h2{position:absolute;left:1.8em;top:1.4em;font-size:32em;line-height:1}.process ol{list-style:none;padding:0;position:absolute;left:224em;top:17em;width:483em;display:grid;grid-template-columns:repeat(4,1fr);text-align:center}.process li{position:relative}.process li:not(:last-child):after{content:"→";position:absolute;top:1.15em;right:-.45em;font:21em Arial}.process li div{width:84em;height:75em;border-radius:50%;background:var(--cream);margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center}.process img{height:32em;width:auto}.process b{font-size:13em;line-height:1.2}.process strong,.process small{display:block;font-family:var(--jp)}.process strong{font-size:12em;margin-top:.2em}.process small{font-size:10em;margin-top:.2em}
.about{height:194em;background-image:url(assets/about@2x.webp),url(assets/about-tone.webp);background-position:104em center,left;background-repeat:no-repeat,repeat-x}.about .label{top:1.05em;background-image:url(assets/about-tone.webp);background-size:auto 12.125em;padding-right:.35em}.bio{position:absolute;top:34em;left:338em}.bio h2{font-size:19em;font-weight:700}.bio p{margin-top:.65em;font:500 11.5em/1.63 var(--jp);letter-spacing:.045em}.about dl{position:absolute;left:641em;top:30em;width:305em;padding-left:25em;border-left:1em solid #efd6cf}.about dl div{height:46em;padding:5em 0 0 58em;background:var(--icon) left center/46em auto no-repeat}.about dl div+div{border-top:1em solid #efdbd6}.about dl div:nth-child(1){--icon:url(assets/detail-0@2x.webp)}.about dl div:nth-child(2){--icon:url(assets/detail-1@2x.webp)}.about dl div:nth-child(3){--icon:url(assets/detail-2@2x.webp)}dt{font:700 12em/1.6 var(--jp)}dd{font:500 10.5em/1.5 var(--jp);white-space:nowrap}
.contact{height:120em;background-image:url(assets/contact@2x.webp),url(assets/contact-tone.webp);background-position:52em center,left;background-repeat:no-repeat,repeat-x;color:white}.contact h2{position:absolute;left:8em;top:.39em;font-size:42em;line-height:1.02;color:var(--cream)}.contact>div{position:absolute;left:677em;top:17em;padding-left:51em;border-left:1em solid var(--cream)}.contact p{font:500 14em/1.45 var(--jp);letter-spacing:.09em}.contact .pill{margin-top:.35em;width:12.9em;height:2.55em;font-size:16em;background:var(--cream);color:var(--ink)}
footer{height:44em;background-image:url(assets/footer-tone.webp);padding:0 50em 0 56em}footer .brand{font-size:10em}footer nav{position:absolute;left:404em;gap:33em}footer nav a{font-size:11em}.social{display:flex;gap:12em}.social img{height:28em;display:block}
dialog{color:var(--ink);background:var(--cream);border:0;border-radius:12px;padding:22px;width:min(680px,94vw);max-height:85vh}dialog::backdrop{background:#352826a6}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.dialog-head h2{font-size:clamp(16px,3vw,23px)}.dialog-head button{background:var(--accent);color:white;border:0;border-radius:20px;padding:8px 14px}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:16px}.gallery a{font-size:13px}.gallery img,.detail-image{width:100%;height:auto;display:block}.gallery img{margin-bottom:6px}.detail-links{display:flex;gap:16px;margin-top:16px}.detail-links a{text-decoration:underline}
.gallery .work-card img{height:135px;object-fit:contain;background:var(--cream)}.gallery .work-card span{font:600 13px/1.4 var(--jp)}.detail-image+.detail-image{margin-top:14px}

.catalog{max-width:1000px;margin:auto;padding:clamp(24px,5vw,64px);font-size:16px}
.catalog>a{font-weight:700;color:var(--accent)}
.catalog h1{margin:28px 0;font-size:clamp(32px,5vw,52px)}
.catalog .gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:28px 18px}
.catalog .work-card img{height:180px}
.work-details{margin:16px 0}
.work-details dt{font:700 14px/1.5 var(--jp);margin-top:10px}
.work-details dd{font:400 15px/1.6 var(--jp);white-space:pre-wrap;overflow-wrap:anywhere}

.glyph{position:absolute;pointer-events:none;line-height:1}.rolling{color:transparent!important}.rolling .glyph{color:var(--heading)}

/* CONTACT arrows in the hero and closing section */
@media (min-width: 701px) {
  .contact .pill { gap: 1.25em; }
  .contact .pill span { position: static; }
}
.pill span { transition: transform 160ms ease-out; }
.pill:focus-visible span, .pill:active span { transform: translateX(3px); }
@media (hover: hover) {
  .pill:hover span { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .pill span { transition: none; }
}

.line-contact { display: grid; justify-items: center; gap: 16px; }
.line-contact img { width: min(240px, 100%); height: auto; }
.line-contact a { text-decoration: underline; }

/* Phone layout. The character scenes retain their original proportions. */
.mobile-break { display: none; }

@media (max-width: 700px) {
  .mobile-break { display: inline; }
  .bio-phrase { vertical-align: top; display: inline-block; white-space: nowrap; max-width: 100%; }
  .wide-break { display: none; }
  .sheet main, .sheet footer { font-size: 1px; }
  .sheet section { height: auto; padding: 28px 20px; }
  .sheet .label { position: static; font-size: 15px; margin-bottom: 16px; }
  .hero header, footer { flex-wrap: wrap; gap: 4px 12px; }
  .sheet .hero { padding: 0 20px calc(39cqw + 16px); background-size: 100% auto; background-position: center bottom; background-repeat: no-repeat; }
  .hero header { height: auto; padding: 6px 0; }
  .sheet .brand { font-size: 10px; }
  .sheet .brand b { font-size: 21px; }
  .sheet nav { position: static; gap: 10px; }
  .sheet nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
  .hero nav a:last-child:after { bottom: 8px; }
  .sheet .hero h1, .sheet .hello h2, .sheet .process h2, .sheet .contact h2 { position: relative; inset: auto; }
  .hero h1 { margin: 14px 0; font-size: clamp(40px, 11vw, 62px); }
  .tagline, .introcopy, .bio, .about dl, .contact > div, .first { position: static; }
  .tagline, .introcopy, .bio p, .contact p { font-size: 16px; line-height: 1.7; }
  .sheet .pill { width: 168px; min-height: 46px; margin-top: 14px; font-size: 15px; }
  .sheet .first { position: relative; inset: auto; }
  .sheet .hello { padding-bottom: calc(43cqw + 20px); background-size: auto 43cqw, auto 100%; background-position: right bottom, left; }
  .hello h2, .process h2, .contact h2 { font-size: clamp(30px, 8vw, 42px); }
  .introcopy { margin-top: 16px; }
  .service-grid, .work-grid, .process ol { position: static; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .service-grid article { padding: 16px 8px; }
  .service-grid img { height: 38px; }
  .service-grid h3 { font-size: 16px; }
  .service-grid p { font-size: 15px; line-height: 1.5; }
  .service-grid article:last-child { padding-inline: 2px; }
  .service-grid article:last-child p { font-size: clamp(12px, calc(4.8cqw - 3px), 15px); }
  .works { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 6px; }
  .sheet .works .label { position: relative; inset: auto; margin: 0; }
  .all { position: static; display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
  .work-grid { grid-column: 1 / -1; }
  .work-grid img { height: auto; aspect-ratio: 1.24; }
  .work-grid span { font-size: 14px; }
  .sheet .process { padding-bottom: calc(34cqw + 24px); background-position: right bottom, left; background-size: auto 34cqw, auto 100%; }
  .process ol { margin-top: 20px; }
  .process strong, .process small, .about dt, .about dd { font-size: 15px; }
  .process li:nth-child(2):after { content: none; }
  .sheet .about { background-position: right 12px top, left; background-size: auto 100px, auto 100%; }
  .about .label { min-height: 84px; background: none; }
  .bio h2 { font-size: 23px; }
  .bio p br:not(:first-child):not(.keep-break) { display: none; }
  .about dl { width: auto; padding: 0; border: 0; margin-top: 18px; }
  .about dl div { height: auto; min-height: 56px; padding: 8px 0 8px 48px; background-size: 38px auto; }
  .about dd { white-space: normal; }
  .sheet .contact {
    display: grid;
    grid-template-columns: max(46%, 13em) minmax(0, 1fr);
    font-size: clamp(13px, 3.6vw, 16px);
    align-items: end;
    gap: 0 4px;
    padding: 20px 0 0 16px;
    background: #725857 url(assets/contact-tone.webp) repeat-x left / auto 100%;
  }
  .contact h2 { grid-column: 1 / -1; }
  .contact > div { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; padding: 0 0 24px; border: 0; }
  .contact p { margin: auto 0; padding: 4px 0; font-size: clamp(13px, 3.6vw, 16px); line-height: 1.55; letter-spacing: 0; }
  .sheet .contact .pill { max-width: 100%; margin-top: 0; justify-content: space-between; padding-inline: 22px; }
  .contact .pill span { position: static; }
  .contact::after {
    content: "";
    align-self: end;
    justify-self: end;
    width: min(calc(100% + 8px), 345px);
    aspect-ratio: 420 / 274;
    background: url(assets/contact-mobile.webp) bottom center / contain no-repeat;
    mask-image: linear-gradient(to right, transparent, black 10%, black 93%, transparent);
  }
  .sheet footer {
    height: auto; padding: 14px 20px; display: grid;
    grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px;
  }
  footer nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  footer .social { justify-self: end; gap: 0; }
  .social a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
}

@media (max-width: 700px) {
  .sheet .hero {
    --inset: 6vw;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    background-image: none;
  }
  .hero header { position: relative; padding: 14px var(--inset); }
  .hero .menu-toggle { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); }
  .menu-toggle::before, .menu-toggle::after { content: ""; width: 24px; border-top: 2px solid; }
  .hero header nav { position: absolute; z-index: 2; top: 100%; right: var(--inset); padding: 4px 16px; background: var(--cream); }
  .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .hero h1 { margin: 16px var(--inset) 0; font-size: clamp(44px, 14.8vw, 98px); letter-spacing: -.045em; line-height: .96; }
  .hero .desktop-break, .hero .tagline br { display: none; }
  .hero .tagline { margin: 20px var(--inset) 0; font-size: clamp(16px, 4.8vw, 25px); letter-spacing: 0; font-weight: 600; }
  .hero .first { margin: 22px var(--inset) 12px; width: auto; min-height: 52px; padding: 0; font-size: 16px; }
  .hero::after {
    content: "";
    grid-column: 1 / -1;
    aspect-ratio: 1464 / 798;
    background: url(assets/hero-mobile.webp) center / contain no-repeat;
  }
  .sheet .about {
    background-image: url(assets/about-tone.webp);
    display: flow-root;
  }
  .about::before {
    content: "";
    float: right;
    width: clamp(116px, 38vw, 200px);
    aspect-ratio: 1212 / 1297;
    margin: -8px 0 -18px 12px;
    background: url(assets/about-mobile-arch.webp) center / contain no-repeat;
  }
  .about .label { min-height: 0; margin-bottom: 12px; }
  .bio p { line-height: 1.55; }
  .about dl { clear: both; }
}

/* FV-only review: preserve all existing content geometry. */
.hero { --scene-left:linear-gradient(to bottom,rgb(245 220 219) 0.000%,rgb(246 221 220) 2.224%,rgb(246 221 220) 4.449%,rgb(246 221 220) 6.673%,rgb(246 221 220) 8.897%,rgb(246 221 220) 11.121%,rgb(247 222 221) 13.346%,rgb(247 222 221) 15.570%,rgb(247 222 221) 17.794%,rgb(247 222 221) 20.019%,rgb(247 222 221) 22.243%,rgb(247 222 221) 24.467%,rgb(247 222 221) 26.691%,rgb(247 222 221) 28.916%,rgb(247 222 221) 31.140%,rgb(248 223 222) 33.364%,rgb(248 223 222) 35.589%,rgb(247 222 221) 37.813%,rgb(247 222 221) 40.037%,rgb(247 222 221) 42.261%,rgb(247 222 221) 44.486%,rgb(247 222 221) 46.710%,rgb(247 222 221) 48.934%,rgb(247 222 221) 51.158%,rgb(247 222 221) 53.383%,rgb(247 222 221) 55.607%,rgb(247 222 221) 57.831%,rgb(247 222 221) 60.056%,rgb(247 222 221) 62.280%,rgb(246 221 220) 64.504%,rgb(247 222 221) 66.728%,rgb(247 222 221) 68.953%,rgb(247 222 221) 71.177%,rgb(247 222 221) 73.401%,rgb(246 221 220) 75.626%,rgb(246 221 220) 77.850%,rgb(245 220 219) 80.074%,rgb(245 220 219) 82.298%,rgb(243 219 218) 84.523%,rgb(244 217 215) 86.747%,rgb(243 216 213) 88.971%,rgb(242 215 212) 91.196%,rgb(233 209 203) 93.420%,rgb(217 191 184) 95.644%,rgb(232 215 207) 97.868%,rgb(240 221 214) 100.000%); --scene-right:linear-gradient(to bottom,rgb(247 222 221) 0.000%,rgb(247 222 221) 2.224%,rgb(247 222 221) 4.449%,rgb(247 222 221) 6.673%,rgb(247 222 221) 8.897%,rgb(247 222 221) 11.121%,rgb(248 223 222) 13.346%,rgb(248 223 222) 15.570%,rgb(247 224 222) 17.794%,rgb(248 223 222) 20.019%,rgb(248 223 222) 22.243%,rgb(248 223 222) 24.467%,rgb(248 223 222) 26.691%,rgb(248 223 222) 28.916%,rgb(248 223 222) 31.140%,rgb(249 225 222) 33.364%,rgb(249 224 224) 35.589%,rgb(249 225 222) 37.813%,rgb(250 224 224) 40.037%,rgb(249 224 224) 42.261%,rgb(249 225 222) 44.486%,rgb(249 225 222) 46.710%,rgb(249 224 224) 48.934%,rgb(248 223 222) 51.158%,rgb(249 224 224) 53.383%,rgb(249 224 224) 55.607%,rgb(249 224 224) 57.831%,rgb(249 224 224) 60.056%,rgb(248 223 222) 62.280%,rgb(248 223 222) 64.504%,rgb(247 222 221) 66.728%,rgb(247 222 221) 68.953%,rgb(247 222 221) 71.177%,rgb(246 221 220) 73.401%,rgb(247 222 221) 75.626%,rgb(247 222 221) 77.850%,rgb(247 222 221) 80.074%,rgb(247 222 221) 82.298%,rgb(246 219 219) 84.523%,rgb(246 219 219) 86.747%,rgb(245 218 218) 88.971%,rgb(243 216 213) 91.196%,rgb(234 212 208) 93.420%,rgb(234 212 206) 95.644%,rgb(239 219 215) 97.868%,rgb(241 224 218) 100.000%); background-image:var(--scene-left); isolation: isolate; }
.hero::before { content:""; position:absolute; inset:0 0 0 auto; width:3.7%; z-index:-2; background:var(--scene-right); pointer-events:none; }
.hero-art { position:absolute; bottom:0; right:3.7%; width:69.271%; height:100%; z-index:-1; pointer-events:none; }
.hero-art img { display:block; width:100%; height:100%; object-fit:contain; mask-image:linear-gradient(to right, transparent, black 1%, black 99%, transparent); }
@media(max-width:700px) {
 .sheet .hero { background-color:rgb(245 220 219); }
 .hero::before { content:none; }
 .sheet .hero::after { content:none; }
 .hero-art { position:relative; inset:auto; order:5; width:100%; height:auto; aspect-ratio:1464 / 798; grid-column:1 / -1; z-index:0; background:var(--scene-left); }
 .hero-art img { position:absolute; inset:0; }
}

/* Remaining supplied scenes: existing section and text geometry retained. */
.hello,.process,.about,.contact { isolation:isolate; }
.section-art { display:block; position:absolute; z-index:-1; pointer-events:none; }
.section-art img { display:block; width:100%; height:100%; object-fit:contain; }
.hello-art { right:0; bottom:0; width:555em; height:238em; }
.hello-art img,.process-art img { object-position:right bottom; mask-image:linear-gradient(to right,transparent,black 3%,black 98%,transparent); }
.process-art { right:0; bottom:0; width:310em; height:145em; }
.about-art { left:104em; top:0; width:208em; height:194em; }
.about-art img { mask-image:linear-gradient(to right,transparent,black 3%,black 97%,transparent); }
.contact-art { left:105em; bottom:0; width:129em; height:120em; overflow:hidden; }
/* Crop only the approved illustration area; mask excludes baked-in heading. */
.contact-art img { position:absolute; width:204.25532%; height:auto; max-width:none; left:-104.25532%; top:-23.42857%; object-fit:initial; clip-path:polygon(58% 0,100% 0,100% 100%,51% 100%,51% 45%,58% 38.5%); }
@media(max-width:700px) {
 .sheet .hello { background-image:none; }
 .hello-art { width:100%; height:43cqw; }
 .sheet .process { background-image:none; }
 .process-art { width:100%; height:34cqw; }
 .sheet .about { background-image:none; }
 .about::before { content:none; }
 .about-art { position:relative; inset:auto; float:right; width:clamp(116px,38vw,200px); height:auto; aspect-ratio:1212 / 1297; margin:-8px 0 -18px 12px; z-index:0; }
 .about-art img { position:absolute; inset:0; object-position:center bottom; }
 .sheet .contact { background-image:none; }
 .contact::after { content:none; }
 .contact-art { position:relative; inset:auto; z-index:0; order:3; align-self:end; justify-self:end; width:min(calc(100% + 8px),345px); height:auto; aspect-ratio:420 / 274; overflow:hidden; }
 .contact-art img { width:143.175%; left:auto; right:0; top:-23.43%; clip-path:polygon(58% 0,100% 0,100% 100%,51% 100%,51% 45%,58% 38.5%); }
}

.sheet .hello { background-image:none; background-color:rgb(251 242 238); }
.sheet .process { background-image:none; background-color:rgb(251 231 226); }
.sheet .about { background-image:none; background-color:rgb(248 235 231); }
.sheet .contact { background-image:none; background-color:rgb(109 72 76); }
.about .label { background-image:none; }

/* Blend only blank scene margins; retain the original ABOUT/icon backdrop. */
.sheet .about { background-color:var(--cream); background-image:url(assets/about-tone.webp); }
.about-art img { mask-image:linear-gradient(to right,transparent,black 9%,black 91%,transparent); }
.sheet .contact { background-color:#704b4c; background-image:linear-gradient(to bottom,#744e50,#6d484c); }
.contact-art img { clip-path:none; mask-image:var(--mask-contact-illustration); mask-size:100% 100%; mask-repeat:no-repeat; }

.contact-art { overflow:visible; }
.about-art img { mask-image:linear-gradient(to right,transparent,black 9%,black 91%,transparent),linear-gradient(to bottom,transparent,black 8%); mask-composite:intersect; }
/* Soften the blank outer edge without fading the illustration. */
.contact-art img {
  mask-image:var(--mask-contact-illustration),linear-gradient(to right,black 98%,transparent);
  mask-size:100% 100%; mask-composite:intersect;
}
.sheet .contact { background-image:radial-gradient(ellipse at 16% 30%,#795354 0,transparent 25%),linear-gradient(to bottom,#744e50,#6d484c); }
@media(max-width:700px) {
  .sheet .contact { background-image:radial-gradient(ellipse at 90% 70%,#795354 0,transparent 50%),linear-gradient(to bottom,#744e50,#6d484c); }
}

/* Review: remove the baked-in workspace rectangle via a background-only SVG mask. */
.process-art img {
 mask-image:var(--mask-workspace),linear-gradient(to right,transparent,black 3%,black 98%,transparent);
 mask-size:100% 100%;mask-repeat:no-repeat;mask-composite:intersect;
}
/* Equal heading/body spacing and balanced padding for the three ABOUT items. */
.about dl div { display:flex;flex-direction:column;justify-content:center;gap:2em;padding-top:0; }
.about dt { line-height:1.4; }
.about dd { line-height:1.6; }
@media(max-width:700px) {
 .about dl div { gap:4px;padding-top:10px;padding-bottom:10px; }
 .about dt,.about dd { line-height:1.5; }
}
.process-art img { mask-size:auto 100%,100% 100%;mask-position:right bottom,center; }

/* Remove only the connected backdrop; retain the original arch and subject pixels. */
.about-art img {
 mask-image:var(--mask-about);
 mask-size:auto 100%;mask-position:center;mask-repeat:no-repeat;mask-composite:add;
}
.contact-art img {
 mask-image:var(--mask-contact-backdrop),var(--mask-contact-illustration);
 mask-size:100% 100%;mask-position:center;mask-repeat:no-repeat;mask-composite:intersect;
}
@media(max-width:700px) {
 .about-art img { mask-size:100% auto;mask-position:center bottom; }
}
/* Balance the four process steps between the heading and illustration on desktop. */
@media(min-width:701px) { .process ol { left:260em; } }

/* Keep CTA text and arrow in one centered, non-overlapping row. */
.sheet .pill { gap: .55em; padding-inline: .8em; white-space: nowrap; justify-content: center; }
.sheet .pill span { position: static; flex: 0 0 auto; }

/* Blend the empty right scene margin across its background join. */
@media(min-width:701px) { .hero::before { width:6%; z-index:0; mask-image:linear-gradient(to right,transparent,black 40%); } }

/* Allow the edited ABOUT descriptions to wrap inside the existing column. */
@media(min-width:701px) {
 .about dl div { height:auto; min-height:46em; }
 .about dd { white-space:normal; overflow-wrap:anywhere; }
}

/* Approved LINE icon replaces the CTA arrow; retain the existing interaction. */
.sheet .pill { gap:.4em; }
.sheet .first { color:var(--cream); }
.pill .line-icon { width:1.25em; height:1.25em; display:block; flex:0 0 auto; fill:currentColor; transition:transform 160ms ease-out; }
.contact .pill .line-icon { color:var(--accent); }
.pill:focus-visible .line-icon,.pill:active .line-icon { transform:translateX(3px); }
@media(hover:hover) { .pill:hover .line-icon { transform:translateX(3px); } }
@media(prefers-reduced-motion:reduce) { .pill .line-icon { transition:none; } }

/* Motion (2026-11-23). Everything here is skipped for prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  /* 1. First view: English headline rolls in letter by letter, then copy, CTA and art follow. */
  .motion .hero h1:not(.played) { color: transparent; animation: motion-show 0s 2.5s forwards; }
  .motion .hero .hero-art { opacity: 0; animation: motion-reveal 0s 3s forwards; }
  .motion .hero.intro .hero-art { animation: motion-art 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }

  /* 2. Selected works: cards rise in order; hover lifts the card and zooms the image. */
  .motion #selected .work-card { opacity: 0; }
  .motion #selected.in .work-card { animation: motion-up .6s ease-out both; }
  #selected.in .work-card:nth-child(2) { animation-delay: .08s; }
  #selected.in .work-card:nth-child(3) { animation-delay: .16s; }
  #selected.in .work-card:nth-child(4) { animation-delay: .24s; }
  #selected.in .work-card:nth-child(5) { animation-delay: .32s; }
  #selected.in .work-card:nth-child(6) { animation-delay: .40s; }
  .work-grid .work-card img { transition: transform .35s ease; }
  .work-grid .work-card span { transition: color .25s ease; }
  .work-grid .work-card:focus-visible img { transform: scale(1.08); }
  @media (hover: hover) {
    .work-grid .work-card:hover img { transform: scale(1.08); }
    .work-grid .work-card:hover span { color: var(--accent); }
  }

  /* 3. Process: each step lights up in turn, and the arrows lead to the next one. */
  .motion .process li div, .motion .process li strong, .motion .process li small { opacity: 0; }
  .motion .process li:not(:last-child)::after { opacity: 0; }
  .process ol.in li div { animation: motion-step .7s ease-out both; }
  .process ol.in li :is(strong, small) { animation: motion-up .5s ease-out both; }
  .process ol.in li:not(:last-child)::after { animation: motion-arrow .4s ease-out both; }
  .process ol.in li:nth-child(1) div, .process ol.in li:nth-child(1) :is(strong, small) { animation-delay: 0s; }
  .process ol.in li:nth-child(1)::after { animation-delay: .35s; }
  .process ol.in li:nth-child(2) div, .process ol.in li:nth-child(2) :is(strong, small) { animation-delay: .55s; }
  .process ol.in li:nth-child(2)::after { animation-delay: .9s; }
  .process ol.in li:nth-child(3) div, .process ol.in li:nth-child(3) :is(strong, small) { animation-delay: 1.1s; }
  .process ol.in li:nth-child(3)::after { animation-delay: 1.45s; }
  .process ol.in li:nth-child(4) div, .process ol.in li:nth-child(4) :is(strong, small) { animation-delay: 1.65s; }

  /* 4. Illustrations breathe slowly, anchored at the bottom so nothing detaches. */
  .section-art { transform-origin: 50% 100%; animation: motion-breathe 4s ease-in-out infinite; }
  .hello-art { animation-delay: -1s; }
  .about-art { animation-delay: -2s; }
  .contact-art { animation-delay: -3s; }

  /* 5. Closing CTA: one sweep of light when it scrolls in; hover lifts both CTAs. */
  .sheet .pill { transition: transform .2s ease, box-shadow .2s ease; }
  @media (hover: hover) {
    .sheet .pill:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgb(53 40 38 / .28); }
  }
  /* Both CTAs share the same motion: one sweep of light, and a LINE icon that hops now and then. */
  .sheet .pill { overflow: hidden; isolation: isolate; --shine: rgb(233 182 172); }
  .sheet .first { --shine: rgb(255 255 255 / .35); }
  .sheet .pill::after {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -45%; width: 35%;
    background: linear-gradient(105deg, transparent, var(--shine), transparent);
    transform: skewX(-20deg); pointer-events: none;
  }
  .hero.intro .first::after { animation: motion-shine 1s ease-in-out 1.6s both; }
  .contact.in .pill::after { animation: motion-shine 1s ease-in-out .6s both; }
  .pill .line-icon { animation: motion-line 4s ease-in-out 2s infinite; }
  .contact .pill .line-icon { animation-delay: 1s; }
}
@keyframes motion-show { to { color: var(--heading); } }
@keyframes motion-reveal { to { opacity: 1; } }
@keyframes motion-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes motion-art { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes motion-step {
  0% { opacity: 0; transform: scale(.82); box-shadow: 0 0 0 0 rgb(120 87 85 / 0); }
  55% { opacity: 1; transform: scale(1.06); box-shadow: 0 0 0 6px rgb(120 87 85 / .35); }
  100% { opacity: 1; transform: none; box-shadow: 0 0 0 10px rgb(120 87 85 / 0); }
}
@keyframes motion-arrow { from { opacity: 0; translate: -6px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes motion-breathe { 0%, 100% { transform: none; } 50% { transform: scale(1.012); } }
@keyframes motion-line {
  0%, 78%, 100% { translate: 0 0; rotate: 0deg; }
  84% { translate: 0 -4px; rotate: -12deg; }
  90% { translate: 0 0; rotate: 8deg; }
  95% { translate: 0 -1px; rotate: -4deg; }
}
@keyframes motion-shine { from { left: -45%; } to { left: 120%; } }

/* Break the ABOUT lead only between words (e.g. never "クリエイ/ター"). */
.keep-words { word-break: keep-all; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }

/* SELECTED WORKS (2026-11-23): one horizontal row. PC scrolls when the mouse nears either edge; phones swipe. */
.sheet .work-grid {
  display: flex; gap: 16em; inset: 36em 0 auto 0; padding: 14em 41em 12em;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  mask-image: linear-gradient(to right, transparent, #000 41em, #000 calc(100% - 41em), transparent);
}
.sheet .work-grid::-webkit-scrollbar { display: none; }
.sheet .works { height: 284em; }
.sheet .work-grid .work-card { flex: 0 0 230em; }
/* Category cards match the live site: 206:172 rounded thumbnail, Latin label below. */
.category-card .thumb { display: block; font: inherit; margin: 0; aspect-ratio: 206 / 172; border-radius: 8em; overflow: hidden; background: #f1e5ec; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.sheet .work-grid .category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sheet .work-grid .category-card .name { margin-top: .7em; font: 500 13em/1.15 var(--latin); letter-spacing: .14em; color: var(--accent); }
@media (hover: hover) {
  .work-grid .category-card:hover .thumb { transform: translateY(-6em); box-shadow: 0 14em 26em rgb(120 87 85 / .22); }
  .sheet .work-grid .category-card:hover img { transform: scale(1.07); }
}
.work-grid .category-card:focus-visible .thumb { transform: translateY(-6em); }
@media (max-width: 700px) {
  .sheet .work-grid {
    position: static; gap: 12px; margin: 0 -20px; padding: 8px 20px 14px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; mask-image: none;
  }
  .sheet .work-grid .work-card { flex: 0 0 min(62%, 240px); scroll-snap-align: start; }
  .sheet .works { height: auto; }
  .sheet .work-grid .category-card .name { font-size: 15px; }
  .work-grid .category-card .thumb { border-radius: 8px; }
}

/* ABOUT: 2 items after removing 対応領域 (2026-11-24). Keep the sprout icon on 大切にしていること. */
.about dl div:nth-child(2) { --icon: url(assets/detail-2@2x.webp); }
/* WHAT I DO: small note beside the label. */
.label-note { margin-left: .7em; font-size: .62em; font-weight: 500; font-family: var(--jp); letter-spacing: .04em; vertical-align: .12em; }
@media (min-width: 701px) {
  /* Two items span the same height as the bio text beside them. */
  .about dl { top: 38em; }
  .about dl div { min-height: 60em; }
}
@media (min-width: 701px) {
  /* Section labels (01 / HELLO … 05 / ABOUT) share one position from each section's top-left. */
  .sheet section > .label { top: .7em; left: 5em; }
}
@media (max-width: 700px) { .label-note { font-size: 11px; } }
@media (min-width: 701px) {
  /* WHAT I DO: same visible space above and below the label text. */
  .service-grid { top: 39.3em; bottom: 13.7em; }
}

/* HOW I WORK illustration (2026-11-24): the backdrop is cut out in the image itself
   (03_workspace_cut_*.webp), so it blends in however the page is opened. Only the soft side edges stay in CSS. */
.process-art img { mask-image: linear-gradient(to right, transparent, black 3%, black 98%, transparent); mask-size: 100% 100%; mask-position: center; mask-composite: add; }

/* WHAT I DO cards: content sits in the vertical centre, so top and bottom space match. */
.service-grid article { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 0; }
@media (max-width: 700px) { .service-grid article { padding: 18px 8px; } }
/* Offset the empty space under the last text line so the visible top and bottom gaps match. */
.service-grid article p { margin-bottom: -.27em; }

/* Spacing audit (2026-11-24). Measured from visible glyph/image edges at 1440px.
   1 base em = .09765625cqw, so the cqw values below scale with the layout. */
.about dl { border-left: 0; }                         /* ABOUT: no divider line */
@media (min-width: 701px) {
  /* Centre each content block between the section label and the section bottom. */
  .hello h2, .hello .introcopy { translate: 0 1.625cqw; }          /* 25 / 72px → 48 / 48px */
  .about .bio, .about dl { translate: 0 -.1cqw; }                  /* column beside the label: centred in the section (57 / 51px → 54 / 54px) */
  .contact h2, .contact > div { translate: 0 .27cqw; }             /* 28 / 36px → 32 / 32px */
  .sheet .work-grid { top: 34.65em; }                              /* 34 / 30px → 32 / 32px */
  /* Line content up with the section labels (80em from the left) on both sides. */
  .service-grid { left: 80em; right: 80em; }
  .sheet .work-grid { padding-left: 80em; padding-right: 80em;
    mask-image: linear-gradient(to right, transparent, #000 50em, #000 calc(100% - 50em), transparent); }
  .sheet footer { padding: 0 77em; }                               /* same inset as the header logo */
  .process ol { translate: 0 .08cqw; }                            /* 24 / 26px → 25 / 25px */
}
@media (max-width: 700px) {
  /* Phone: every section label starts ~30px below the section top and content ends ~30px above the bottom. */
  .sheet .works { padding-top: 14px; }              /* label sits in a 44px-tall row with ALL WORKS */
  .sheet .work-grid { padding-bottom: 0; }
  .sheet .about { padding-bottom: 15px; }           /* last item already has 10px inner padding */
  .sheet footer { padding: 15px 20px 13px; }        /* visible text centred (descender offset) */
  .sheet .hero { --inset: 20px; }                  /* same left edge as every other section */
  .sheet .contact { padding-left: 20px; }
}
@media (min-width: 701px) {
  /* SELECTED WORKS: label → images and names → section bottom match the space above the label (≈18px),
     the same rhythm as WHAT I DO. The row keeps 14em of top padding for the hover lift. */
  .sheet .works { height: 265em; }
  .sheet .work-grid { top: 25.19em; }
}
@media (max-width: 700px) {
  /* SELECTED WORKS label → images ≈18px, same as WHAT I DO (the label sits centred in a 44px row). */
  .works { row-gap: 2px; }
  .sheet .work-grid { padding-top: 0; }
  .sheet .works { padding-bottom: 26px; }          /* names → bottom matches the 30px above the label */
}
@media (max-width: 700px) {
  /* WHAT I DO（2026-11-24 並び替え）：WEB DESIGN が2番目になったので、
     狭い幅で文章を収めるための調整を「最後のカード」から WEB DESIGN（2番目）へ付け替え */
  .service-grid article:last-child { padding-inline: 8px; }
  .service-grid article:last-child p { font-size: 15px; }
  .service-grid article:nth-child(2) { padding-inline: 2px; }
  .service-grid article:nth-child(2) p { font-size: clamp(12px, calc(4.8cqw - 3px), 15px); }
}
