@import url('fonts/fonts-local.css');
:root{--paper:#fafaf8;--ink:#20201e;--muted:#797974}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:2px solid #555;outline-offset:5px}.entry{position:fixed;inset:0;z-index:100;background:var(--paper);display:grid;place-items:center;transition:opacity .5s ease,visibility .5s}.entry--gone{opacity:0;visibility:hidden;pointer-events:none}.entry__button{border:0;background:transparent;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:26px;transition:transform .3s ease,opacity .3s}.entry__button:hover{transform:scale(1.018)}.entry__brand{font-family:'EB Garamond',Georgia,serif;font-size:clamp(42px,7vw,95px);letter-spacing:.02em;display:flex;align-items:center;gap:.18em}.entry__kanji{font-family:serif;font-size:.88em}.entry__sub{font-size:10px;letter-spacing:.2em}.site{opacity:1;transition:opacity .5s ease}.site--ready{opacity:1}.header{position:fixed;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:30px clamp(24px,4.5vw,72px);font-size:11px;letter-spacing:.055em;transition:transform .32s ease,opacity .32s ease;pointer-events:auto}.header--hidden{transform:translateY(-110%);opacity:0;pointer-events:none}.header__brand{font-weight:500}.header nav{display:flex;gap:clamp(22px,3vw,50px)}.header a:hover,.mini-menu a:hover{text-decoration:underline;text-underline-offset:5px}.menu-toggle{position:fixed;z-index:42;right:clamp(18px,3.5vw,58px);top:18px;width:46px;height:46px;border:0;background:rgba(250,250,248,.93);font-family:Georgia,serif;font-size:25px;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .25s}.menu-toggle--shown{opacity:1;pointer-events:auto}.mini-menu{position:fixed;z-index:41;right:clamp(18px,3.5vw,58px);top:70px;background:var(--paper);padding:30px 42px;box-shadow:0 10px 40px #00000010;display:flex;flex-direction:column;gap:24px;font-size:12px;letter-spacing:.1em;opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .2s,transform .2s}.mini-menu--open{opacity:1;transform:none;pointer-events:auto}.work-section{padding-top:clamp(170px,27vh,310px)}.work{width:var(--width);margin:0 0 0;max-width:calc(100% - 48px)}.work--center{margin-left:auto;margin-right:auto}.work--left{margin-left:6.25%}.work--right{margin-left:auto;margin-right:6.25%}.space--long{margin-top:clamp(180px,35vh,440px)}.space--medium{margin-top:clamp(115px,21vh,270px)}.work:first-child{margin-top:0}.work img{width:100%;height:auto;display:block}.work figcaption{display:flex;flex-direction:column;gap:9px;margin-top:17px;font-size:11px;letter-spacing:.025em}.work figcaption small{font-size:10px;color:var(--muted);letter-spacing:.04em}.ma-section{min-height:105vh;margin-top:95vh;scroll-margin-top:80px;display:grid;grid-template-columns:1fr 1.7fr;gap:8vw;padding:5vw 8vw 18vw;align-content:start}.ma-section__symbol{font-family:Georgia,serif;font-size:clamp(90px,13vw,190px);line-height:1}.ma-section__copy{font-family:'EB Garamond',Georgia,serif;font-size:clamp(22px,2.1vw,32px);line-height:1.42;max-width:720px}.ma-section__copy p{margin:0 0 1.35em}.ma-section__copy .signature{font-family:Inter,Arial,sans-serif;font-size:12px;color:var(--muted);margin-top:5em}.contact-section{min-height:65vh;padding:9vw 8vw;display:grid;grid-template-columns:1fr 1.7fr;gap:8vw;scroll-margin-top:80px}.section-label{font-size:11px;letter-spacing:.09em}.contact-section p{font-family:'EB Garamond',Georgia,serif;font-size:clamp(24px,3vw,43px);margin:0 0 1.2em}.contact-section .contact-note,.contact-section .location{font-family:Inter,Arial,sans-serif;font-size:12px;color:var(--muted);line-height:1.8}footer{margin:0 5vw;padding:25px 0 35px;border-top:1px solid #dededb;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.04em;color:var(--muted)}@media(max-width:700px){.header{padding:22px}.header nav{gap:16px;font-size:10px}.header__brand{font-size:10px}.work-section{padding-top:145px}.work{max-width:calc(100% - 28px);width:min(100% - 28px,var(--width))}.work--left{margin-left:14px}.work--right{margin-right:14px}.work--center{margin-left:auto;margin-right:auto}.space--long{margin-top:150px}.space--medium{margin-top:110px}.ma-section{grid-template-columns:1fr;gap:55px;padding:80px 8vw 160px;margin-top:75vh}.ma-section__copy{font-size:23px}.contact-section{grid-template-columns:1fr;gap:55px;padding:70px 8vw;min-height:55vh}footer{gap:18px;flex-wrap:wrap}.entry__brand{font-size:clamp(35px,9vw,64px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* REVISION 02 — Viewport-aware editorial image sizing */
.entry__logo{display:block;width:min(260px,60vw);height:auto;max-height:58vh;object-fit:contain}
.entry__button{padding:24px;min-width:180px;min-height:140px}
.work{width:min(var(--width),calc(100% - 48px));}
.work img{display:block;width:auto;max-width:100%;height:auto;max-height:min(74svh,760px);object-fit:contain;object-position:left top;user-select:none;-webkit-user-drag:none}
.work--center img{margin-left:auto;margin-right:auto}
.work--right img{margin-left:auto}
.work figcaption{width:fit-content;max-width:100%;min-width:0}
.work--center figcaption{margin-left:auto;margin-right:auto}
.space--long{margin-top:clamp(120px,24vh,300px)}
.space--medium{margin-top:clamp(85px,15vh,200px)}
.work-section{padding-top:clamp(130px,20vh,220px)}
@media(min-width:701px) and (max-width:1100px){
 .work{width:min(calc(var(--width) * 1.06),calc(100% - 64px))}
 .work img{max-height:70svh}
 .work--left{margin-left:5%}.work--right{margin-right:5%}
 .space--long{margin-top:clamp(110px,20vh,230px)}
 .space--medium{margin-top:clamp(75px,13vh,160px)}
}
@media(max-width:700px){
 .entry__logo{width:min(210px,68vw)}
 .header{padding:18px 16px}.header nav{gap:13px;font-size:10px}
 .work{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)}
 .work img{max-width:100%;max-height:70svh;width:auto;height:auto;object-fit:contain}
 .work--left{margin-left:14px}.work--right{margin-left:auto;margin-right:14px}
 .work--center{margin-left:auto;margin-right:auto}
 .space--long{margin-top:clamp(95px,17vh,165px)}
 .space--medium{margin-top:clamp(65px,12vh,125px)}
 .work-section{padding-top:110px}
 .work figcaption{font-size:12px}.work figcaption small{font-size:11px;line-height:1.5}
 .ma-section{margin-top:60vh;min-height:auto}
 .menu-toggle{min-width:48px;min-height:48px}
}

/* REVISION 03 — five editorial positions and image-bound captions */
.work{width:var(--width);max-width:calc(100% - 48px);margin-right:0;margin-left:calc((100% - var(--width))*var(--position,.5))!important;margin-top:var(--custom-space,150px)!important}
.work:first-child{margin-top:0!important}
.work__frame{display:inline-flex;flex-direction:column;align-items:flex-start;max-width:100%;vertical-align:top}
.work__frame img{margin:0!important;max-width:100%;width:auto;height:auto;max-height:min(74svh,760px);object-fit:contain}
.work__frame figcaption{width:auto;max-width:100%;margin-left:0!important;margin-right:0!important;align-self:flex-start;text-align:left}
.ma-section__copy{font-size:clamp(21px,1.85vw,29px)}
@media(max-width:1100px){.work{width:min(var(--width),calc(100% - 64px));margin-left:calc((100% - min(var(--width),100% - 64px))*var(--position,.5))!important}}
@media(max-width:700px){.work{width:calc(100% - 28px)!important;max-width:calc(100% - 28px);margin-left:14px!important;margin-top:clamp(70px,calc(var(--custom-space,150px)*.55),175px)!important}.work:first-child{margin-top:0!important}.work__frame img{max-height:70svh}.ma-section__copy{font-size:21px}}

/* Prototype 04.1 — original supplied vector identity */
.entry__logo{width:min(370px,73vw);max-height:76vh;height:auto;object-fit:contain}
.menu-toggle{font-size:32px;font-weight:700;width:52px;height:52px;top:15px}
.header__brand{font-weight:700;letter-spacing:.075em;font-size:12px}
@media(max-width:700px){.entry__logo{width:min(290px,75vw);max-height:70vh}.menu-toggle{font-size:30px}.header__brand{font-size:10px}}

/* FIX EDITOR DIMENSIONE REV04: image scales with figure instead of sliding within it. */
@media (min-width:701px) {
  .work__frame { display:flex; width:100%; max-width:100%; }
  .work__frame img { display:block; width:100%; max-width:100%; height:auto; max-height:none; object-fit:contain; }
}

/* REV05 — editorial side margins for all five positions.
   Keep at least 32px on desktop, 14px on mobile;
   preserve the REV04 real image sizing fix. */
@media (min-width:701px) {
  .work {
    --edge: clamp(32px, 4vw, 72px);
    width: min(var(--width), calc(100% - 2 * var(--edge))) !important;
    max-width: calc(100% - 2 * var(--edge)) !important;
    margin-left: calc(var(--edge) + (100% - 2 * var(--edge) - min(var(--width), 100% - 2 * var(--edge))) * var(--position, .5)) !important;
    margin-right: 0 !important;
  }
}
.header__brand { display:inline-flex; align-items:center; line-height:0; flex-shrink:0; }
.header__brand img { display:block; width:clamp(108px, 11vw, 156px); height:auto; }
@media (max-width:700px) { .header__brand img { width:clamp(94px, 26vw, 126px); } }

/* REV06: shorter transition after Mammern */
.ma-section{margin-top:clamp(110px,22svh,260px)}
@media(max-width:700px){.ma-section{margin-top:clamp(75px,16svh,150px);padding-top:35px}}

/* Portrait trial: understated handwritten greeting in MA */
.ma-portrait{width:min(260px,55%);margin:36px 0 0 auto;text-align:center}
.ma-portrait img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.ma-portrait figcaption{font-family:Inter,Arial,sans-serif;font-size:11px;color:var(--muted);margin-top:8px}
.ma-section__copy .signature{margin-top:2em}
@media(max-width:700px){.ma-portrait{width:min(230px,65%);margin-top:28px}}

/* REV07: no artificial gray backing for portrait */
.ma-portrait img{mix-blend-mode:normal;background:transparent}

/* REV09: portrait 15% smaller, anchored to its original bottom edge. */
.ma-portrait{width:min(221px,46.75%);margin-top:75px}
@media(max-width:700px){.ma-portrait{width:min(195.5px,55.25%);margin-top:62.5px}}

/* REV10: approved contact and legal footer */
.contact-section{min-height:48vh;align-items:start}
.contact-section .section-label{font-family:Inter,Arial,sans-serif;font-size:clamp(20px,2vw,27px);font-weight:400;letter-spacing:.015em;margin:0}
.contact-section__details{padding-top:0}
.contact-email{display:inline-block;font-family:Inter,Arial,sans-serif;font-size:clamp(17px,1.55vw,21px);font-weight:400;letter-spacing:0;overflow-wrap:anywhere}
.contact-email:hover,.footer-links a:hover{text-decoration:underline;text-underline-offset:4px}
.contact-section .location{margin-top:14px;font-size:13px}
.footer-links{display:flex;gap:24px;flex-wrap:wrap}
@media(max-width:700px){.contact-section{min-height:38vh;gap:28px;padding:70px 8vw}.contact-section .section-label{font-size:23px}}

/* Keep the menu mark identical across browsers, including iPad Safari. */
.menu-toggle{color:var(--ink);-webkit-text-fill-color:var(--ink);display:grid;place-items:center;appearance:none;-webkit-appearance:none}
.menu-toggle img{display:block;width:30px;height:32px;pointer-events:none}

/* Previous collaboration credit, aligned with the MA text column. */
.ma-section__copy .ma-collaboration-note{font-family:Inter,Arial,sans-serif;font-size:12.5px;font-weight:400;line-height:1.6;letter-spacing:0;color:var(--muted);margin:32px 0 0}

/* Place the credit in the existing gap, without moving the portrait. */
.ma-section__copy p:has(+ .ma-collaboration-note){margin-bottom:0}
.ma-section__copy .ma-collaboration-note{position:relative;top:32px;height:0;margin:0;text-align:left}
.ma-section__copy{padding-bottom:52px}

/* Smartphone-only alignment correction for Mumbai; retain image dimensions. */
@media(max-width:700px){
  #work .work:has(img[src$="images/04-mumbai.webp"]) .work__frame{display:flex}
  #work .work:has(img[src$="images/04-mumbai.webp"]) .work__frame img{margin-left:auto!important;margin-right:auto!important}
}

/* EN / Japanese localization: existing gallery geometry and English typography stay intact. */
.header__tools{display:flex;align-items:center;gap:clamp(22px,3vw,44px)}
.language-switch{display:flex;align-items:center;gap:6px;white-space:nowrap;font-family:Inter,Arial,sans-serif;font-size:10px;letter-spacing:0;color:var(--muted)}
.language-switch [data-language]{border:0;padding:3px 0;background:transparent;color:inherit;cursor:pointer;font:inherit;line-height:1.4}
.language-switch [data-language][lang="ja"]{font-family:'Noto Sans JP',sans-serif;font-weight:400}
.language-switch [aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
[data-i18n][lang="ja"]{font-family:'Noto Sans JP',sans-serif;font-weight:400}
.work [data-i18n][lang="ja"]{line-height:14px}
.mini-menu .language-switch{margin-top:4px;align-self:flex-start}
@media(max-width:700px){
 .header__tools{position:relative;gap:0}
 .header__tools>.language-switch{position:absolute;top:calc(100% + 8px);right:0}
 .work [data-i18n][lang="ja"]{line-height:15px}
}

/* Mobile MA: add breathing room before the fixed-position portrait. */
@media(max-width:700px){
 .ma-section__copy .ma-collaboration-note{top:24px}
}
