/* AUTM editorial concept — homepage and Japanese About. */
:root { --paper:#e3e0da; --ink:#24241f; --muted:#625f58; --line:#c5c1b8; --accent:#625a4c; --surface:#ebe8e2; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }
body.editorial { background:var(--paper); color:var(--ink); font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif; }
.editorial a { color:inherit; text-decoration:none; }
.editorial button { font:inherit; color:inherit; }
.editorial :focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
.skip-link { position:fixed; top:10px; left:20px; z-index:3000; padding:10px; background:white; transform:translateY(-200%); }
.skip-link:focus { transform:none; }
.studio-header { padding:28px 32px; display:flex; justify-content:space-between; align-items:center; gap:24px; border-bottom:1px solid var(--line); }
.studio-header img { width:154px; height:auto; display:block; }
.studio-header nav { display:flex; align-items:center; gap:30px; font-size:14px; }
.studio-header nav a { padding:8px 0; }
.studio-header .nav-contact { border-bottom:1px solid var(--ink); }
.studio-header a:hover,.text-link:hover { color:var(--accent); }
.studio-hero,.studio-introduction,.studio-approach,.studio-contact,.studio-footer { margin:0 auto; max-width:1600px; width:100%; padding-left:32px; padding-right:32px; }
.studio-hero { padding-top:32px; }
.hero-eyebrow { display:flex; align-items:center; gap:9px; font-size:12px; letter-spacing:.02em; }
.hero-eyebrow > span:last-child { margin-left:auto; color:var(--muted); }
.studio-dot { width:8px; height:8px; border-radius:50%; background:var(--accent); }
.studio-hero h1 { font-size:clamp(72px,10.5vw,154px); font-weight:500; line-height:1.08; letter-spacing:-.075em; margin:52px 0 40px; }
.hero-period { color:var(--accent); }
.hero-intro { display:flex; justify-content:space-between; align-items:end; margin-bottom:28px; }
.hero-intro p { font-size:16px; line-height:1.9; }
.text-link { display:inline-flex; align-items:center; justify-content:space-between; gap:40px; border-bottom:1px solid currentColor; padding-bottom:9px; font-size:14px; }
.hero-project { display:block; border:0; position:relative; background:#ddd; width:100%; overflow:hidden; cursor:pointer; text-align:left; }
.hero-project > img { width:100%; height:clamp(320px,52vw,690px); object-fit:cover; display:block; transition:transform .8s cubic-bezier(.2,.7,.3,1); }
.hero-project:hover > img { transform:scale(1.025); }
.hero-project-caption { position:absolute; bottom:0; left:0; right:0; color:white; padding:65px 28px 24px; display:flex; align-items:end; justify-content:space-between; background:linear-gradient(transparent,rgba(0,0,0,.65)); font-size:12px; }
.hero-project-caption strong { display:block; font-size:34px; font-weight:400; margin-top:8px; }
.hero-project-open { border:1px solid #ffffff80; border-radius:50%; width:50px; height:50px; display:grid; place-items:center; font-size:24px; }
.image-footnote { display:flex; justify-content:space-between; padding-top:12px; font-size:11px; color:var(--muted); }
.studio-introduction { padding-top:80px; padding-bottom:80px; display:grid; grid-template-columns:1fr 2fr; gap:32px; }
.section-kicker { font-size:12px; letter-spacing:.03em; }
.studio-introduction h2,.studio-approach h2 { font-size:clamp(32px,4.8vw,68px); line-height:1.35; letter-spacing:-.055em; font-weight:400; }
.studio-introduction p { max-width:540px; margin:32px 0; font-size:16px; line-height:2; }
.editorial .portfolio-section { border-top:1px solid var(--line); padding:48px 0 80px; }
.editorial .container { max-width:1600px; padding:0 32px; }
.works-heading { display:flex; justify-content:space-between; align-items:baseline; gap:24px; margin-bottom:28px; }
.works-heading h2 { font-size:clamp(42px,6.8vw,96px); line-height:1.1; font-weight:400; letter-spacing:-.055em; }
.heading-dot { color:var(--accent); }
.works-heading p { font-size:13px; color:var(--muted); }
.editorial .filter-container { margin:0 0 28px; gap:8px; }
.editorial .filter-accordion { gap:5px; }
.editorial .filter-btn { padding:10px 14px; border:1px solid var(--line); border-radius:30px; font-size:12px; color:var(--muted); }
.editorial .filter-btn.active { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.editorial .filter-btn:hover { border-color:var(--ink); }
.editorial .portfolio-count { margin:0 0 22px; font-size:11px; }
.editorial .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; row-gap:48px; overflow:visible; margin-bottom:40px; }
.editorial .card-image { aspect-ratio:4/3; background:#d6d2ca; }
.editorial .card-image img { transition:transform .65s cubic-bezier(.2,.7,.3,1); }
.editorial .portfolio-card:hover .card-image img { transform:scale(1.035); }
.editorial .card-content { padding:16px 0 0; gap:8px; line-height:1.4; }
.editorial .card-title { font-size:22px; line-height:1.25!important; font-weight:400; letter-spacing:-.03em; }
.editorial .card-meta { flex-direction:row; flex-wrap:wrap; gap:14px; }
.editorial .card-year,.editorial .card-client,.editorial .card-type,.editorial .card-area,.editorial .card-credit { font-size:12px; line-height:1.4!important; color:var(--muted); }
.view-all { display:flex; justify-content:space-between; align-items:center; width:100%; padding:24px 0; border:0; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); background:transparent; cursor:pointer; font-size:20px!important; text-align:left; }
.view-all:hover { color:var(--accent); }
.view-all[hidden] { display:none; }
.studio-approach { padding-top:64px; padding-bottom:80px; border-top:1px solid var(--line); }
.studio-approach h2 { margin:28px 0 24px; }
.field-row { display:grid; grid-template-columns:40px minmax(0,1.25fr) minmax(0,1fr) 30px; align-items:center; gap:24px; padding:35px 0; border-top:1px solid var(--line); transition:color .2s,padding .2s; }
.field-row:last-child { border-bottom:1px solid var(--line); }
.field-row:hover { color:var(--accent); }
.field-row > span,.field-row p { font-size:12px; }
.field-row h3 { font-weight:400; font-size:clamp(24px,3vw,42px); letter-spacing:-.04em; }
.field-row > span:last-child { font-size:26px; }
.studio-contact { background:var(--ink); color:var(--paper); max-width:none; padding-top:64px; padding-bottom:64px; }
.studio-contact h2 { font-size:clamp(48px,8vw,118px); line-height:1.25; font-weight:400; letter-spacing:-.06em; margin:28px 0 36px; }
.contact-bottom { display:flex; justify-content:space-between; align-items:end; gap:25px; }
.contact-bottom p { font-size:14px; line-height:1.9; color:#cbc7bd; }
.contact-link { font-size:clamp(32px,4.5vw,64px); letter-spacing:-.04em; border-bottom:1px solid #918c80; display:flex; gap:60px; }
.contact-link:hover { color:#d8d1c4; }
.studio-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-top:28px; padding-bottom:28px; font-size:12px; }
.footer-wordmark { letter-spacing:.22em; font-size:26px; }
.studio-footer > div { display:flex; gap:24px; }
.editorial .modal-close { background:#ffffffe6; border-radius:50%; z-index:1002; color:var(--ink); }
@media(max-width:768px) {
 .studio-header { padding:24px 20px; gap:12px; }
 .studio-header img { width:104px; }
 .studio-header nav { gap:16px; font-size:12px; }

 .studio-hero,.studio-introduction,.studio-approach,.studio-contact,.studio-footer,.editorial .container { padding-left:20px; padding-right:20px; }
 .studio-hero { padding-top:28px; }
 .hero-eyebrow { font-size:10px; }
 .studio-hero h1 { font-size:clamp(62px,17vw,115px); margin:43px 0 30px; }
 .hero-intro { align-items:start; flex-direction:column; gap:20px; margin-bottom:24px; }
 .hero-intro p { font-size:14px; }
 .hero-project > img { height:clamp(260px,75vw,390px); }
 .hero-project-caption { padding:60px 18px 18px; }
 .hero-project-caption strong { font-size:26px; }
 .hero-project-open { width:40px; height:40px; }
 .image-footnote { font-size:9px; }
 .studio-introduction { grid-template-columns:1fr; gap:24px; padding-top:48px; padding-bottom:48px; }
 .studio-introduction h2,.studio-approach h2 { font-size:38px; }
 .studio-introduction p { font-size:14px; margin:24px 0; }
 .editorial .portfolio-section { padding:40px 0 48px; }
 .works-heading { flex-direction:column; align-items:start; gap:15px; margin-bottom:25px; }
 .works-heading h2 { font-size:56px; }
 .editorial .filter-main { width:auto; }
 .editorial .filter-toggle { display:none; }
 .editorial .filter-container { flex-direction:column; align-items:flex-start; overflow-x:visible; padding-bottom:0; margin-bottom:18px; }
 .editorial .filter-accordion { display:flex; flex-direction:row; margin-top:0; gap:8px; }
 .editorial .filter-btn,.editorial .filter-accordion .filter-btn { width:auto; border:1px solid var(--line); padding:10px 14px; flex-shrink:0; }
 .editorial .portfolio-grid { grid-template-columns:1fr; row-gap:34px; }
 .editorial .card-title { font-size:22px; }
 .studio-approach { padding-top:48px; padding-bottom:48px; }
 .studio-approach h2 { margin-bottom:28px; }
 .field-row { grid-template-columns:25px 1fr 20px; gap:10px; padding:25px 0; }
 .field-row h3 { font-size:23px; }
 .field-row p { grid-column:2; grid-row:2; }
 .field-row > span:last-child { grid-column:3; grid-row:1; }
 .studio-contact { padding-top:50px; padding-bottom:50px; }
 .studio-contact h2 { font-size:58px; margin-bottom:36px; }
 .contact-bottom { flex-direction:column; align-items:start; gap:35px; }
 .contact-link { font-size:44px; width:100%; justify-content:space-between; }
 .studio-footer { flex-wrap:wrap; gap:25px; }
 .studio-footer > div { gap:16px; }
 .studio-footer > span { width:100%; color:var(--muted); }
}
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto;} *,*::before,*::after{transition:none!important;animation:none!important;} }

/* Shared bilingual wordmark and visible navigation. */
.studio-brand { display:block; flex:0 1 371px; min-width:0; }
.studio-brand .studio-wordmark { display:block; width:100%; max-width:371px; height:auto; }
.studio-header .studio-brand:hover { color:var(--ink); }
.studio-header nav a[aria-current=page] { border-bottom:1px solid var(--ink); }
.services-intro { max-width:620px; font-size:14px; line-height:1.9; margin-bottom:45px; color:var(--muted); }
.field-label { display:block; font-size:12px; margin-top:10px; color:var(--muted); }
.field-row p { line-height:1.9; color:var(--muted); }
.legacy-anchor { display:block; height:0; }
@media(min-width:769px) and (max-width:850px) { .studio-brand { flex-basis:330px; } .studio-header nav { gap:20px; } .field-row h3 { font-size:25px; } }
@media(max-width:768px) {
 .studio-header { flex-wrap:wrap; gap:22px; padding-top:22px; padding-bottom:16px; }
 .studio-brand { width:100%; flex-basis:100%; }
 .studio-brand .studio-wordmark { width:min(100%,371px); }
 .studio-header nav { width:100%; justify-content:flex-start; gap:24px; font-size:12px; }
 .studio-header nav a { padding:8px 0; min-height:44px; display:inline-flex; align-items:center; }
 .services-intro { font-size:13px; margin-bottom:30px; }
 .field-row { grid-template-columns:25px minmax(0,1fr) 20px; }
 .field-row h3 { font-size:22px; line-height:1.3; }
 .field-row > p { grid-column:2; grid-row:2; margin-top:8px; }
 .field-row > div { grid-column:2; }
 .field-label { font-size:11px; }
}

/* Match the footer to the header identity. */
.studio-footer .footer-brand { display:block; flex:0 1 371px; min-width:0; }
.studio-footer .footer-brand img { display:block; width:100%; max-width:371px; height:auto; }
@media(max-width:768px) { .studio-footer .footer-brand { flex-basis:100%; } }

/* Typography study: Kontrapunkt reference, 2026-10-07.
   Desktop headline 72 / section 48 / body 16; mobile headline 36 / body 14.
   Japanese display uses an installed Mincho family, not the reference's proprietary typeface. */
:root{--jp-display:'Hiragino Mincho ProN','Yu Mincho','Noto Serif JP',serif;--jp-title:clamp(48px,5.6vw,72px);--jp-section:clamp(32px,3.73vw,48px)}
.studio-hero h1{font-family:var(--jp-display);font-size:var(--jp-title);font-weight:400;line-height:1.11;letter-spacing:0;margin:48px 0 28px;max-width:83.333%}
.studio-introduction h2,.studio-approach h2{font-family:var(--jp-display);font-size:var(--jp-section);line-height:1.25;letter-spacing:0}
.studio-contact h2{font-family:var(--jp-display);font-size:var(--jp-section);line-height:1.25;letter-spacing:0}
.works-heading h2{font-size:48px;line-height:1;letter-spacing:-.025em}
.studio-header nav{font-size:16px}
.hero-intro p,.studio-introduction p{font-size:16px;line-height:1.75}
.editorial .card-title{font-size:18px;letter-spacing:0}
@media(max-width:768px){
 .studio-hero h1{font-size:36px;line-height:1.11;letter-spacing:0;margin:32px 0 24px;max-width:100%}
 .studio-introduction h2,.studio-approach h2,.studio-contact h2{font-size:30px;line-height:1.3;letter-spacing:0}
 .works-heading h2{font-size:36px}
 .hero-intro p,.studio-introduction p{font-size:14px;line-height:1.8}
 .studio-header nav{font-size:13px}
 .studio-contact h2{margin:24px 0 28px}
}

/* Project descriptions share the same quiet typography as the services copy. */
.editorial .card-summary { max-width:48ch; font-size:13px; line-height:1.85!important; margin:3px 0 4px; }
.editorial .modal-caption { background:var(--paper); color:var(--ink); padding:22px 28px; border-color:var(--line); }
.editorial .modal-summary { max-width:65ch; font-size:14px; line-height:1.9!important; margin:14px 0 10px; }
.editorial .modal-scope { max-width:85ch; font-size:11px; color:var(--muted); line-height:1.75!important; margin:0 0 12px; }
.editorial .modal-summary:empty,.editorial .modal-scope:empty { display:none; }
.editorial .modal-credit { font-size:11px; color:var(--muted); line-height:1.6!important; }
.editorial .modal-project-link { display:inline-flex; gap:32px; font-size:12px; margin-top:18px; padding-bottom:6px; border-bottom:1px solid var(--ink); }
.editorial .modal-project-link[hidden] { display:none; }
.editorial .modal-counter { position:absolute; top:18px; left:20px; font-size:11px; padding:7px 10px; background:var(--paper); color:var(--ink); pointer-events:none; }
@media(max-width:768px) {
 .editorial .card-summary { font-size:12px; }
 .editorial .modal-caption { padding:20px; }
 .editorial .modal-summary { font-size:13px; }
}

.editorial .modal-visual { position:relative; flex-shrink:0; }
.editorial .modal-title { font-size:20px; line-height:1.3!important; margin-bottom:8px; }

/* Hakuboku: the maker, the gesture, the tools. */
.card-image.artisan-triptych{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:4px;background:var(--paper);overflow:hidden}
.card-image.artisan-triptych img{width:100%;height:100%;min-width:0;object-fit:cover;object-position:center;display:block}
.card-image.artisan-triptych img:first-child{object-position:center 28%}
.modal-photo-label{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0 14px}
.modal-photo-label[hidden]{display:none}

/* Preserve the complete, panoramic N house elevation. */
.editorial .portfolio-card[data-project="n-house"] .card-image { aspect-ratio:2268/892; }
.editorial .portfolio-card[data-project="n-house"] .card-image img { object-fit:contain; }
.editorial .portfolio-card[data-project="n-house"]:hover .card-image img { transform:none; }

/* Photo-shaped lightbox: no white letterboxing around portrait or panoramic images. */
.editorial .modal-content { background:var(--paper); max-width:1200px; }
.editorial #modalImage { width:100%; height:auto; max-height:none; }
.editorial .modal-visual { background:transparent; }
.editorial .modal-caption { overflow-wrap:anywhere; }

/* Consistent framing and quiet, decoded photo transitions. */
.editorial .modal-content { --frame-space:24px; transition:width 320ms cubic-bezier(.22,.61,.36,1); }
.editorial .modal-visual { padding:var(--frame-space); box-sizing:border-box; transition:height 320ms cubic-bezier(.22,.61,.36,1); }
.editorial #modalImage { height:100%; object-fit:contain; transition:opacity 180ms ease; }
.editorial .modal-caption { padding:0 var(--frame-space) var(--frame-space); border-top:0; transition:opacity 180ms ease; }
.editorial .is-changing #modalImage,.editorial .is-changing .modal-caption { opacity:0; }
.editorial .modal-close { top:calc(var(--frame-space) + 12px); right:calc(var(--frame-space) + 12px); }
.editorial .modal-nav.prev { left:calc(var(--frame-space) + 12px); }
.editorial .modal-nav.next { right:calc(var(--frame-space) + 12px); }
.editorial .modal-counter { top:calc(var(--frame-space) + 12px); left:calc(var(--frame-space) + 12px); }
@media(max-width:768px) { .editorial .modal-content { --frame-space:16px; } }

/* Quiet luxury study — restrained typography, generous photographic rhythm. */
.editorial { --line:#cbc7be; }
.studio-header { margin:0 auto; width:100%; max-width:1600px; padding:28px 32px; border-bottom:0; }
.studio-header .studio-brand,.studio-footer .footer-brand { flex-basis:300px; }
.studio-header .studio-wordmark,.studio-footer .footer-brand img { max-width:300px; }
.studio-header nav { font-size:13px; gap:36px; }
.studio-header nav a { padding:12px 0; }
.studio-header .nav-contact { border-bottom:0; }
.studio-header nav a:hover { color:var(--ink); }
.studio-hero { display:grid; grid-template-columns:1.5fr 1fr; column-gap:48px; padding-top:30px; }
.hero-eyebrow { grid-column:1/-1; font-size:11px; color:var(--muted); }
.studio-dot { width:4px; height:4px; }
.studio-hero h1 { font-size:clamp(32px,3vw,40px); line-height:1.3; margin:20px 0 24px; max-width:none; }
.hero-intro { grid-column:2; grid-row:2; flex-direction:column; justify-content:flex-end; align-items:flex-start; gap:12px; margin:20px 0 24px; }
.hero-intro p { font-size:14px; line-height:1.7; }
.text-link { font-size:13px; gap:36px; padding:10px 0; border-bottom-color:var(--line); transition:border-color 180ms ease,color 180ms ease; }
.text-link:hover { border-bottom-color:var(--ink); color:var(--ink); }
.hero-project,.image-footnote { grid-column:1/-1; }
.hero-project > img { height:clamp(400px,48vw,640px); transition:transform 600ms ease; }
.hero-project:hover > img { transform:scale(1.01); }
.hero-project-caption { padding:48px 28px 24px; background:linear-gradient(transparent,rgba(0,0,0,.32)); font-size:10px; letter-spacing:.05em; }
.hero-project-caption strong { font-size:20px; letter-spacing:0; margin-top:6px; }
.hero-project-open { border:0; border-radius:0; width:44px; height:44px; font-size:22px; }
.image-footnote { padding-top:14px; font-size:10px; }
.studio-introduction { padding-top:88px; padding-bottom:88px; gap:48px; }
.studio-introduction h2,.studio-approach h2,.studio-contact h2 { font-size:clamp(30px,2.8vw,36px); line-height:1.5; }
.studio-introduction p { font-size:15px; line-height:2; margin:24px 0; }
.section-kicker { font-size:11px; letter-spacing:.04em; color:var(--muted); }
.editorial .portfolio-section { padding:56px 0 88px; }
.works-heading { margin-bottom:32px; }
.works-heading h2 { font-size:36px; letter-spacing:-.025em; }
.works-heading p { font-size:12px; }
.editorial .filter-container { gap:22px; margin-bottom:20px; }
.editorial .filter-accordion { gap:22px; }
.editorial .filter-btn,.editorial .filter-accordion .filter-btn { border:0; border-bottom:1px solid transparent; border-radius:0; padding:10px 0; background:transparent; font-size:12px; min-height:44px; }
.editorial .filter-btn.active,.editorial .filter-btn:hover { background:transparent; color:var(--ink); border-color:var(--ink); }
.editorial .portfolio-count { font-size:10px; margin-bottom:26px; }
.editorial .portfolio-grid { column-gap:32px; row-gap:56px; }
.editorial .card-content { padding-top:18px; gap:8px; }
.editorial .card-title { font-size:19px; line-height:1.4!important; letter-spacing:-.01em; }
.editorial .card-meta { gap:16px; }
.editorial .card-year,.editorial .card-client { font-size:12px; }
.editorial .card-summary,.editorial .card-type,.editorial .card-area,.editorial .card-credit { display:none; }
.editorial .portfolio-card:hover .card-image img { transform:scale(1.012); }
.editorial .portfolio-card[data-project="n-house"]:hover .card-image img { transform:none; }
.view-all { font-size:14px!important; padding:22px 0; border-color:var(--line); }
.studio-approach { padding-top:64px; padding-bottom:88px; }
.field-row { padding:28px 0; gap:32px; }
.field-row h3 { font-size:clamp(22px,2.1vw,28px); line-height:1.35; }
.field-row > span:last-child { font-size:20px; }
.field-label,.field-row p { font-size:12px; }
.studio-contact { max-width:1600px; background:transparent; color:var(--ink); border-top:1px solid var(--line); padding-top:64px; padding-bottom:72px; }
.contact-bottom p { color:var(--muted); font-size:14px; }
.contact-link { font-size:16px; padding:14px 0; gap:48px; border-color:var(--line); letter-spacing:0; }
.contact-link:hover { color:var(--ink); border-color:var(--ink); }
.studio-footer { padding-top:32px; padding-bottom:32px; border-top:1px solid var(--line); font-size:11px; }
.editorial .modal { background:rgba(32,31,27,.75); backdrop-filter:blur(8px); }
.editorial .modal-title { font-size:18px; }
.editorial .modal-close,.editorial .modal-nav { background:rgba(235,232,226,.92); }
.editorial .modal-nav { width:40px; height:40px; font-size:20px; }
.editorial .modal-summary { font-size:14px; }
.modal-consult { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; font-size:12px; line-height:1.8; padding:12px 0 6px; margin-top:14px; border-bottom:1px solid var(--line); }
@media(max-width:768px) {
 .studio-header { padding:24px 20px 18px; gap:18px; }
 .studio-header .studio-brand { flex-basis:100%; }
 .studio-header .studio-wordmark { max-width:270px; }
 .studio-header nav { font-size:13px; gap:16px; }
 .studio-hero { display:block; padding-top:22px; }
 .studio-hero h1 { font-size:26px; line-height:1.35; margin:20px 0 16px; }
 .hero-intro { margin:0 0 20px; gap:10px; }
 .hero-intro p { font-size:14px; }
 .hero-project > img { height:clamp(300px,100vw,430px); }
 .hero-project-caption { padding:40px 18px 16px; }
 .hero-project-caption strong { font-size:17px; }
 .image-footnote { gap:16px; line-height:1.6; }
 .studio-introduction { padding-top:56px; padding-bottom:56px; gap:20px; }
 .studio-introduction h2,.studio-approach h2,.studio-contact h2 { font-size:28px; line-height:1.5; }
 .studio-introduction p { font-size:14px; }
 .editorial .portfolio-section { padding:40px 0 56px; }
 .works-heading h2 { font-size:30px; }
 .editorial .filter-container,.editorial .filter-accordion { gap:20px; }
 .editorial .portfolio-grid { row-gap:36px; }
 .editorial .card-title { font-size:18px; }
 .studio-approach { padding:48px 20px 56px; }
 .field-row { gap:12px; padding:24px 0; }
 .field-row h3 { font-size:22px; }
 .studio-contact { padding-top:48px; padding-bottom:48px; }
 .contact-bottom { gap:24px; }
 .contact-link { width:auto; font-size:16px; }
 .studio-footer .footer-brand img { max-width:270px; }
 .editorial .modal-nav { width:36px; height:36px; }
}

/* Preserve the complete photograph instead of forcing a crop. */
.hero-project > img { height:auto; object-fit:contain; transform:none; }
.hero-project:hover > img { transform:none; }
.editorial .card-image:not(.artisan-triptych) { aspect-ratio:var(--photo-ratio,4/3); background:var(--paper); }
.editorial .card-image:not(.artisan-triptych) img { object-fit:contain; transform:none; }
.editorial .portfolio-card:hover .card-image:not(.artisan-triptych) img { transform:none; }

.editorial .card-image:not(.artisan-triptych) { width:100%; max-width:var(--photo-width,100%); }

.editorial .card-image.artisan-triptych { aspect-ratio:2/1; grid-template-columns:repeat(3,minmax(0,1fr)); }
.card-image.artisan-triptych img { object-fit:contain; object-position:center; }

/* Keep long project details scrollable without a visible scrollbar. */
.editorial .modal-content { scrollbar-width:none; -ms-overflow-style:none; }
.editorial .modal-content::-webkit-scrollbar { display:none; width:0; height:0; }

html.project-modal-open { overflow:hidden; }

/* Service tags are quiet navigation links, shared by cards and project details. */
.card-services { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:12px; }
.card-services a { font-size:10px; line-height:1.6; color:var(--muted); text-decoration:none; border-bottom:1px solid var(--line); padding:4px 0; }
.card-services a:hover { color:var(--ink); border-color:var(--ink); }
.card-services a:focus-visible { outline:1px solid var(--ink); outline-offset:4px; }
.modal-caption .card-services { margin:12px 0 14px; }
.editorial .filter-container { flex-wrap:wrap; }
.editorial .filter-accordion { flex-wrap:wrap; }
@media(max-width:768px) {
 .editorial .filter-container { width:100%; flex-direction:column; align-items:stretch; gap:4px; overflow:visible; }
 .editorial .filter-main { width:auto; align-self:flex-start; }
 .editorial .filter-main .filter-btn { min-width:44px; min-height:32px; padding:6px 0; text-align:left; }
 .editorial .filter-accordion { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; width:100%; margin-top:0; }
 .editorial .filter-accordion .filter-btn { width:100%; min-width:0; min-height:32px; white-space:normal; text-align:left; line-height:1.35; font-size:11px; padding:6px 0; }
 .card-services { gap:6px 12px; }
}

/* A quiet brick rhythm: one gutter between columns and complete project cards. */
.editorial .portfolio-grid { --project-gap:32px; column-gap:var(--project-gap); row-gap:var(--project-gap); }
.editorial .portfolio-grid.is-masonry { grid-auto-rows:1px; grid-auto-flow:dense; row-gap:0; }
.editorial .portfolio-grid.is-masonry .portfolio-card { align-self:start; }
@media(max-width:768px) {
 .editorial .portfolio-grid { --project-gap:32px; }
}

/* Compact project captions, with a clear hierarchy and tight leading. */
.editorial .portfolio-card .card-content { padding-top:12px; gap:4px; line-height:1.2; }
.editorial .portfolio-card .card-title { margin:0; line-height:1.2!important; }
.editorial .portfolio-card .card-meta { margin:0; gap:12px; }
.editorial .portfolio-card .card-year,
.editorial .portfolio-card .card-client { margin:0; line-height:1.2!important; }
.editorial .portfolio-card .card-services { margin:0; gap:3px 14px; }
.editorial .portfolio-card .card-services a { padding:0; line-height:1.25; }
@media(max-width:768px) { .editorial .portfolio-card .card-content { padding-top:10px; gap:4px; } }

/* Make the full body of work visible before and after the selected projects. */
.work-view-status { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; }
.editorial .work-view-status .portfolio-count { margin:0; font-size:12px; }
.view-all-top { background:transparent; border:1px solid var(--ink); padding:12px 18px; min-height:44px; font:inherit; font-size:13px; cursor:pointer; color:var(--ink); white-space:nowrap; }
.view-all-top span { margin-left:18px; }
.editorial .view-all { padding:24px; min-height:96px; font-size:22px!important; border:1px solid var(--ink); color:var(--ink); transition:background .25s,color .25s; }
.view-all small { display:block; margin-top:6px; font-size:12px; color:var(--muted); }
.view-all-top:hover,.editorial .view-all:hover { background:var(--ink); color:var(--paper); }
.editorial .view-all:hover small { color:var(--paper); }
[data-expand-projects]:focus-visible { outline:2px solid var(--ink); outline-offset:4px; }
[data-expand-projects][hidden] { display:none; }
@media(max-width:480px) { .work-view-status { align-items:flex-start; flex-direction:column; gap:12px; } .editorial .view-all { font-size:20px!important; padding:20px; } }

.view-all-top,.view-all { text-decoration:none; }
.work-page .portfolio-section { padding-top:72px; }
.work-load-sentinel { padding:24px 0 12px; text-align:center; }
.work-load-sentinel p { font-size:12px; color:var(--muted); margin:12px 0; }
.work-load-more { background:transparent; border:1px solid var(--line); padding:14px 24px; color:var(--ink); font:inherit; font-size:13px; cursor:pointer; }
.work-load-more[hidden] { display:none; }
.work-end-links { display:flex; justify-content:space-between; gap:24px; padding:24px 32px 56px; font-size:13px; }
.work-end-links a { color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line); padding-bottom:4px; }
@media(max-width:768px) { .work-page .portfolio-section { padding-top:40px; } .work-end-links { padding:20px 20px 40px; flex-wrap:wrap; } }

/* Introduce the studio, show its work, then explain the three axes. */
.studio-hero,.studio-introduction { --studio-copy-size:clamp(20px,1.65vw,24px); }
.home-page .studio-header { padding-bottom:0; }
.studio-hero { padding-top:clamp(16px,calc(2.25vw - 8px),24px); padding-bottom:48px; }
.studio-hero h1.studio-definition,.studio-introduction h2.studio-positioning { font-family:var(--jp-display); font-size:var(--studio-copy-size); font-weight:400; line-height:1.7; letter-spacing:0; }
.studio-positioning > span { display:block; }
/* One header-to-introduction gap balances the visible text against the photograph. */
.studio-hero h1.studio-definition { grid-column:1/-1; text-wrap:balance; margin-block:0 clamp(36px,3.375vw,48px); }
.studio-introduction { border-top:1px solid var(--line); }
.editorial .studio-contact h2 { font-size:clamp(24px,2.3vw,32px); line-height:1.6; letter-spacing:0; }
.editorial .contact-email { margin-top:20px; font-size:12px; color:var(--muted); }
.contact-email a { text-decoration:none; border-bottom:1px solid var(--line); padding-bottom:3px; }
@media(max-width:768px) {
 .studio-hero,.studio-introduction { --studio-copy-size:clamp(14px,4.2vw,20px); }
 .studio-hero { padding-bottom:32px; }
 .studio-hero h1.studio-definition,.studio-introduction h2.studio-positioning { line-height:1.9; }
 .editorial .studio-contact h2 { font-size:clamp(20px,5.3vw,26px); line-height:1.7; }
 .editorial .contact-link { font-size:14px; gap:24px; }
}

@media(max-width:360px) { .studio-hero,.studio-introduction { --studio-copy-size:13px; } }

/* Give the English introduction the same restrained sans-serif character as the navigation. */
.studio-hero h1.studio-definition:lang(en) { font-family:'Helvetica Neue',Helvetica,Arial,sans-serif; font-size:clamp(18px,1.65vw,24px); font-weight:400; line-height:1.45; letter-spacing:-.02em; }

/* Crossfade complete photographs and ease the frame to their natural proportions. */
.hero-gallery { grid-column:1/-1; min-width:0; }
.hero-stage { position:relative; width:100%; overflow:hidden; transition:height 600ms cubic-bezier(.22,.61,.36,1); }
.hero-stage .hero-slide { position:absolute; inset:0; width:100%; height:100%; padding:0; opacity:0; pointer-events:none; background:transparent; transition:opacity 600ms ease; }
.hero-stage .hero-slide.is-active { opacity:1; pointer-events:auto; z-index:1; }
.hero-stage .hero-slide > img { width:100%; height:100%; object-fit:contain; transform:none; }
.hero-gallery .hero-footer { align-items:center; gap:16px; padding-top:8px; }
.hero-details { display:grid; gap:4px; min-width:0; line-height:1.5; }
.hero-controls { display:flex; align-items:center; flex-shrink:0; gap:2px; }
.hero-controls[hidden] { display:none; }
.hero-controls button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:var(--muted); cursor:pointer; transition:color 180ms ease; }
.hero-controls button:hover { color:var(--ink); }
.hero-controls button:disabled { opacity:.4; cursor:default; }
.hero-controls svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.25; stroke-linecap:round; stroke-linejoin:round; }
.hero-count { min-width:42px; text-align:center; font-size:10px; font-variant-numeric:tabular-nums; }
.hero-controls .hero-play-icon { display:none; }
.hero-gallery[data-paused="true"] .hero-pause-icon { display:none; }
.hero-gallery[data-paused="true"] .hero-play-icon { display:block; }
.hero-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:480px) {
 .hero-gallery .hero-footer { gap:8px; }
 .hero-controls { gap:0; }
 .hero-count { min-width:36px; }
}
