/* E: one persistent title follows the existing mesh. No replacement transition. */
html.home [data-folio] { gap:8px; width:min(520px,78vw); --case-copy:0; --case-opening:0; }
html.home [data-folio-name] { font-size:var(--folio-title-size,clamp(2.4rem,4.2vw,3.8rem)); line-height:.98; letter-spacing:-.06em; text-wrap:balance; }
html.home [data-folio-open] { min-height:0; height:calc(44px * (1 - var(--case-opening))); margin-top:calc(6px * (1 - var(--case-opening))); opacity:calc(1 - var(--case-opening)); overflow:hidden; }
html.home .folio__editorial { display:grid; grid-template-rows:0fr; opacity:var(--case-copy); width:100%; pointer-events:auto; }
html.home .folio__editorial > div { overflow:hidden; min-height:0; }
html.home [data-folio-description] { font-size:clamp(16px,1.3vw,19px); line-height:1.5; letter-spacing:-.015em; max-width:43ch; margin:16px 0 24px; text-wrap:pretty; }
html.home .folio__actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 28px; }
html.home .folio__actions a,html.home .folio__actions button { display:inline-flex; align-items:center; min-height:44px; padding:6px 0; background:none; border:0; color:inherit; font:11px/1.5 'Geist Mono',monospace; letter-spacing:.14em; cursor:pointer; text-decoration:none; }
html.home .folio__actions a { border-bottom:1px solid #ffffff70; }
html.home .folio__actions button { opacity:.75; }
html.home .folio__actions a:focus-visible,html.home .folio__actions button:focus-visible { outline:1px solid currentColor; outline-offset:5px; }
html.home [data-detail] [data-hero] { display:none; }
html.home [data-detail]::before { background:linear-gradient(0deg,#000e 0%,#0009 34%,transparent 76%); }
html.home [data-detail][data-tone] [data-sheet-body] { height:100svh; min-height:0; overflow-y:auto; overscroll-behavior:contain; touch-action:pan-y; background:#09090b; color:#f4f1ea; display:grid; grid-template-columns:minmax(280px,.9fr) minmax(0,1.4fr); align-items:center; gap:6vw; padding:130px 6vw 96px; }
html.home .case-editorial__copy { display:flex; flex-direction:column; align-items:flex-start; gap:20px; min-width:0; }
html.home [data-sheet-name] { font-size:clamp(42px,4.7vw,76px); line-height:.98; letter-spacing:-.06em; max-width:14ch; text-wrap:balance; }
html.home [data-linecopy] { font-size:clamp(16px,1.3vw,19px); line-height:1.6; max-width:36ch; text-wrap:pretty; }
html.home [data-sheet-kicker] { font-size:10px; letter-spacing:.2em; }
html.home [data-sheet-url] { min-height:44px; display:inline-flex; align-items:center; text-decoration:none; border-bottom:1px solid #777; }
html.home .case-editorial__visual { margin:0; min-width:0; border:1px solid #ffffff1a; background:#111; }
html.home .case-editorial__visual img { display:block; width:100%; height:auto; max-height:60svh; object-fit:contain; }
@media(max-width:700px) {
    html.home [data-folio] { width:88vw; }
    html.home [data-folio-name] { font-size:var(--folio-title-size,clamp(2rem,10vw,3rem)); }
    html.home [data-folio-description] { font-size:15px; margin:12px 0 16px; }
    html.home .folio__actions { gap:4px 20px; }
    html.home .folio__actions a,html.home .folio__actions button { font-size:10px; }
    html.home [data-detail][data-tone] [data-sheet-body] { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:28px; padding:150px 6vw 130px; }
    html.home .case-editorial__visual { order:-1; flex-shrink:0; }
    html.home .case-editorial__visual img { max-height:32svh; }
    html.home .case-editorial__copy { gap:16px; }
    html.home [data-sheet-name] { font-size:clamp(34px,10vw,48px); }
}

/* F: image-led editorial continuation, with detail below the image. */
html.home [data-detail][data-tone] [data-sheet-body] { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0 0 120px; }
html.home .case-editorial__visual { order:-1; border:0; width:100%; flex-shrink:0; }
html.home .case-editorial__visual img { width:100%; max-height:none; height:auto; min-height:72svh; object-fit:cover; object-position:top; }
html.home .case-editorial__copy { padding:72px 6vw 0; display:grid; grid-template-columns:1fr 1fr; column-gap:8vw; row-gap:24px; }
html.home [data-sheet-kicker],html.home [data-sheet-name] { grid-column:1; }
html.home [data-linecopy] { grid-column:2; grid-row:2; max-width:44ch; }
html.home [data-sheet-url],html.home .case-editorial__copy button { justify-self:start; }
html.home [data-folio-description] { display:none; }
html.home [data-detail]::before { background:linear-gradient(0deg,#000b,transparent 52%); }
@media(max-width:700px) { html.home .case-editorial__copy { display:flex; padding:44px 6vw 0; gap:20px; } html.home .case-editorial__visual img { min-height:55svh; } }
