/* Shared public edition: page hierarchy, photography and task layouts. */
html[data-next=true]{--next-rule:var(--border,var(--line,#d7d4cb));--next-ink:var(--text-primary,var(--ink,#202832));--next-muted:var(--text-secondary,var(--muted,#656b72));--next-surface:var(--bg-panel,var(--paper,#f4f1ea));--next-accent:var(--accent,#245c80)}
html[data-next=true] .next-kicker{font:11px/1.6 ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--next-muted,#656b72);margin:0 0 24px;display:flex;align-items:center;gap:18px}html[data-next=true] .next-kicker>span{color:var(--next-accent,#245c80)}
html[data-next=true] .next-text-link{display:inline-flex;gap:30px;align-items:center;min-height:44px;border-bottom:1px solid var(--next-rule);font-weight:600;text-decoration:none}html[data-next=true] .next-text-link:hover{color:var(--next-accent)}
html[data-next=true] .next-opening-index{max-width:1280px;margin:36px auto 0;padding:0 2px;display:flex;justify-content:space-between;border-bottom:1px solid var(--next-rule);font-size:12px;color:var(--next-muted)}html[data-next=true] .next-opening-index p{margin-bottom:12px}html[data-next=true] .opening-name{font-size:clamp(54px,6.2vw,92px);line-height:1.08;letter-spacing:-.055em}html[data-next=true] .opening-description{max-width:34em;font-size:17px;line-height:1.95}html[data-next=true] .opening-aside{border-left:1px solid var(--next-rule);padding-left:42px}html[data-next=true] .opening-photo img{aspect-ratio:16/10;object-fit:cover}html[data-next=true] .opening-directions{margin-top:30px}html[data-next=true] .opening-directions>a{padding-block:18px}
html[data-next=true] .next-research-feature{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:70px;margin:42px 0 52px;padding:44px 0;border-block:1px solid var(--next-rule)}html[data-next=true] .next-research-feature h3{font-size:clamp(30px,3.6vw,52px);line-height:1.3;margin:0 0 24px;letter-spacing:-.04em}html[data-next=true] .next-research-feature p:not(.next-kicker){font-size:16px;line-height:1.9;max-width:36em;color:var(--next-muted)}html[data-next=true] .next-research-feature small{display:block;margin-top:22px;color:var(--next-muted);font-size:12px}
html[data-next=true] #home-dev-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}html[data-next=true] #home-dev-list>.entry-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.25fr 1fr;column-gap:48px;padding-block:36px}html[data-next=true] #home-dev-list>.entry-card:first-child>.next-project-image{grid-column:1;grid-row:1/8;align-self:start}html[data-next=true] #home-dev-list>.entry-card:first-child>:not(.next-project-image){grid-column:2}html[data-next=true] .next-project-image{position:relative;display:block;overflow:hidden}html[data-next=true] .next-project-image img{display:block;width:100%;height:auto;transition:transform .35s}html[data-next=true] .next-project-image:hover img{transform:scale(1.025)}html[data-next=true] .next-project-image>span{display:block;padding-top:12px;font-size:11px;color:var(--next-muted)}
html[data-next=true] .next-photo-lead{display:grid;grid-template-columns:1.5fr 1fr;gap:50px;align-items:center;margin:36px 0 60px}html[data-next=true] .next-photo-lead img{width:100%;display:block}html[data-next=true] .next-photo-lead h3{font-size:clamp(30px,3vw,48px);margin:0 0 24px;letter-spacing:-.04em}html[data-next=true] .next-photo-lead p:not(.next-kicker){font-size:16px;line-height:1.9;color:var(--next-muted)}
html[data-next=true] .next-gallery-editorial{max-width:1280px;margin:28px auto 92px;padding-block:32px 40px;border-block:1px solid var(--next-rule)}html[data-next=true] .next-gallery-heading{display:grid;grid-template-columns:1.25fr 1fr;gap:70px;align-items:end;margin-bottom:40px}html[data-next=true] .next-gallery-heading h2{font-size:clamp(32px,3.8vw,56px);line-height:1.3;letter-spacing:-.04em;margin:0}html[data-next=true] .next-gallery-heading p{color:var(--next-muted);font-size:14px;line-height:1.9;margin:0 0 22px}html[data-next=true] .next-series-tabs,html[data-next=true] .next-proof-controls{display:flex;gap:8px;flex-wrap:wrap}html[data-next=true] .next-series-tabs button,html[data-next=true] .next-proof-controls button{padding:10px 16px;min-height:44px;border:1px solid var(--next-rule);background:transparent;color:inherit;font:13px system-ui;border-radius:0;cursor:pointer}html[data-next=true] .next-series-tabs button[aria-pressed=true],html[data-next=true] .next-proof-controls button[aria-pressed=true]{background:var(--next-ink);border-color:var(--next-ink);color:var(--bg-page,#f4f1ea)}html[data-next=true] .next-photo-story{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:20px;align-items:start}html[data-next=true] .next-photo-story figure{margin:0;min-width:0}html[data-next=true] .next-photo-story figure:nth-child(2){margin-top:60px}html[data-next=true] .next-photo-story figure:nth-child(3){margin-top:120px}html[data-next=true] .next-photo-story img{display:block;width:100%;height:300px;object-fit:cover}html[data-next=true] .next-photo-story figure:first-child img{height:420px}html[data-next=true] .next-photo-story figcaption{font-size:11px;padding-top:12px;display:flex;gap:12px;color:var(--next-muted)}
html[data-next=true] .next-case-intro{display:grid;grid-template-columns:1fr 1.2fr;gap:60px;padding-block:40px 56px;border-block:1px solid var(--next-rule);margin:36px 0 52px;align-items:center}html[data-next=true] .next-case-intro:has(>div:only-child){display:block;max-width:850px}html[data-next=true] .next-case-intro h2{font-size:30px;line-height:1.4;margin:0 0 22px}html[data-next=true] .next-case-intro p:not(.next-kicker){font-size:15px;line-height:1.9;color:var(--next-muted)}html[data-next=true] .next-case-principles{display:flex;flex-wrap:wrap;gap:12px 22px;font-size:11px;border-top:1px solid var(--next-rule);padding-top:18px;margin-top:24px;color:var(--next-muted)}html[data-next=true] .next-case-photo{margin:0}html[data-next=true] .next-case-photo img{display:block;width:100%;height:auto}html[data-next=true] .next-case-photo figcaption{font-size:11px;color:var(--next-muted);padding-top:12px}html[data-next=true] .detail-cover h1{letter-spacing:-.035em;line-height:1.3}html[data-next=true] .detail-reading-layout{grid-template-columns:210px minmax(0,1fr);gap:64px}html[data-next=true] .detail-fact{padding-block:36px}html[data-next=true] .detail-fact-body{max-width:760px}html[data-next=true] .next-list-guide{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin:20px 0 40px;border-block:1px solid var(--next-rule);padding-block:24px}html[data-next=true] .next-list-guide p{margin:0;color:var(--next-muted);line-height:1.9;font-size:14px}html[data-next=true] .list-items{counter-reset:next-entry}html[data-next=true] .list-items>.entry-card{position:relative;padding-left:68px;counter-increment:next-entry}html[data-next=true] .list-items>.entry-card:before{content:counter(next-entry,decimal-leading-zero);position:absolute;left:0;top:30px;font:14px monospace;color:var(--next-muted)}
html[data-next=true] .next-paiche .hero-stage-content{grid-template-columns:.85fr 1fr;gap:70px;align-items:end;padding-bottom:34px}html[data-next=true] .next-paiche .hero-title{font-size:clamp(42px,5.2vw,76px)}html[data-next=true] .next-paiche .hero-statement{font-size:17px;letter-spacing:.12em;margin-top:20px}html[data-next=true] .next-paiche .hero-stage-picture{max-height:650px}html[data-next=true] .next-participation-map{max-width:1280px;width:calc(100% - 80px);margin:0 auto 70px;padding:30px 0 22px;border-block:1px solid var(--next-rule)}html[data-next=true] .next-participation-map>div,html[data-next=true] .next-admin-workflow,html[data-next=true] .next-decision-strip>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}html[data-next=true] .next-participation-map a,html[data-next=true] .next-admin-workflow a,html[data-next=true] .next-decision-strip a{display:grid;grid-template-columns:1fr auto;gap:10px;padding:24px 28px;border-right:1px solid var(--next-rule);text-decoration:none;min-width:0;color:inherit}html[data-next=true] .next-participation-map a:first-child,html[data-next=true] .next-admin-workflow a:first-child,html[data-next=true] .next-decision-strip a:first-child{padding-left:0}html[data-next=true] .next-participation-map a:last-child,html[data-next=true] .next-admin-workflow a:last-child,html[data-next=true] .next-decision-strip a:last-child{border-right:0}html[data-next=true] .next-participation-map a span,html[data-next=true] .next-admin-workflow a span,html[data-next=true] .next-decision-strip a span{grid-column:1/-1;font-size:11px;color:var(--next-muted)}html[data-next=true] .next-participation-map strong{font-size:23px;line-height:1.5;letter-spacing:-.025em}html[data-next=true] .next-participation-map i,html[data-next=true] .next-admin-workflow i,html[data-next=true] .next-decision-strip i{font-style:normal;color:var(--next-accent)}html[data-next=true] .next-participation-map>p{font-size:12px;color:var(--next-muted);margin:24px 0 0}
html[data-next=true] .next-route-guide{margin:8px 0 30px;padding:24px 0;border-block:1px solid var(--next-rule);display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:30px;align-items:center}html[data-next=true] .next-route-guide>.next-kicker{grid-column:1/-1;margin:0 0 14px}html[data-next=true] .next-route-guide>p{font-size:14px;line-height:1.9;max-width:50em;margin:0;color:var(--next-muted)}html[data-next=true] .next-route-guide>a{min-height:44px;display:flex;align-items:center;font-size:13px;font-weight:600;color:var(--next-accent)}html[data-next=true] .next-paiche .scroll-content{max-width:1050px;margin-inline:auto}html[data-next=true] .next-paiche .form-stack{gap:26px}html[data-next=true] .next-paiche .form-section{padding-block:28px;border-bottom:1px solid var(--next-rule)}html[data-next=true] .next-paiche .app-header h1{font-size:clamp(25px,3vw,40px);letter-spacing:-.035em}
html[data-next=true] .next-admin-workflow{border-block:1px solid var(--next-rule);margin:0 0 28px;background:var(--next-surface)}html[data-next=true] .next-admin-workflow a{padding:15px 22px}html[data-next=true] .next-admin-workflow a:first-child{padding-left:18px}html[data-next=true] .next-admin-workflow strong{font-size:15px}html[data-next=true] .admin-header{margin-bottom:24px}html[data-next=true] .admin-work-lanes{gap:0;border:1px solid var(--next-rule)}html[data-next=true] .admin-work-lane{border:0;border-right:1px solid var(--next-rule);border-radius:0;box-shadow:none}html[data-next=true] .admin-work-lane:last-child{border-right:0}html[data-next=true] .queue-summary-band{background:transparent;border-inline:0;border-radius:0}html[data-next=true] .queue-control-panel{box-shadow:none;border-radius:0}html[data-next=true] .queue-ledger{border-radius:0;box-shadow:none}html[data-next=true] .queue-record{border-radius:0;border-left:0;border-right:0}html[data-next=true] .admin-main{max-width:1600px}html[data-next=true] .admin-results-heading{align-items:baseline}html[data-next=true] .admin-results-heading h2{font-size:22px}
html[data-next=true] .next-proof-desk{padding-block:60px 80px;border-top:1px solid var(--next-rule)}html[data-next=true] .next-proof-heading{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:end;margin-bottom:34px}html[data-next=true] .next-proof-heading h2{font-size:clamp(32px,3.6vw,54px);line-height:1.25;letter-spacing:-.045em;margin:0}html[data-next=true] .next-proof-heading p{font-size:15px;line-height:1.9;color:var(--next-muted);margin-bottom:24px}html[data-next=true] .next-proof-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}html[data-next=true] .next-proof-pair figure{margin:0;min-width:0}html[data-next=true] .next-proof-pair figure>div{overflow:hidden;aspect-ratio:1.6;background:#ddd}html[data-next=true] .next-proof-pair img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s}html[data-next=true] .next-proof-pair[data-crop=detail] img{transform:scale(3.8);transform-origin:30% 59%}html[data-next=true] .next-proof-pair figcaption{padding-top:12px;font:12px ui-monospace,monospace;color:var(--next-muted)}html[data-next=true] .next-proof-boundary{display:grid;grid-template-columns:1fr 1.4fr auto;gap:30px;padding-top:28px;margin-top:28px;border-top:1px solid var(--next-rule);align-items:start;font-size:13px}html[data-next=true] .next-proof-boundary p{margin:0;line-height:1.9;color:var(--next-muted)}html[data-next=true] .next-proof-boundary a{font-weight:600;min-height:44px;display:flex;align-items:flex-start;color:var(--next-accent)}html[data-next=true] .next-product .hero-copy h1{letter-spacing:-.05em}html[data-next=true] .next-product .hero-grid{gap:80px}html[data-next=true] .next-product .hero-result{border-radius:0}html[data-next=true] .next-product .download-card{border-radius:0}
html[data-next=true] .next-decision-strip{border-block:1px solid var(--next-rule);padding:20px 0;margin-bottom:30px}html[data-next=true] .next-decision-strip>.next-kicker{margin-bottom:0}html[data-next=true] .next-decision-strip strong{font-size:18px;line-height:1.5}html[data-next=true] .next-decision-strip>p{font-size:11px;color:var(--next-muted);margin:16px 0 0}html[data-next=true] .next-analytics .overview-period-band{border-radius:0;border-inline:0;padding-inline:0}html[data-next=true] .next-analytics .overview-workspace{grid-template-columns:minmax(0,1.4fr) minmax(270px,.8fr);gap:34px}html[data-next=true] .next-analytics .overview-rail{border-left:1px solid var(--next-rule);padding-left:28px}html[data-next=true] .next-analytics .panel{border-radius:0;box-shadow:none}html[data-next=true] .next-analytics .page-heading h1{font-size:40px;letter-spacing:-.04em}html[data-next=true] .next-analytics .overview-chapter-heading h2{font-size:25px}html[data-next=true] .next-analytics .overview-coverage{font-size:11px}html[data-next=true] .next-analytics .overview-period-band .metrics{gap:0}html[data-next=true] .next-analytics .overview-period-band .metric{border-right:1px solid var(--next-rule);border-radius:0;background:transparent}
/* Keep the edition index below the fixed header; its own space replaces hero top padding. */
html[data-next=true] .next-opening-index{margin-top:104px}
html[data-next=true] .editorial-opening{padding-top:48px}
html[data-next=true] .opening-avatar{width:210px;margin-bottom:28px}
html[data-next=true] .next-analytics .next-decision-strip{padding:14px 0;margin-bottom:20px}
html[data-next=true] .next-analytics .next-decision-strip a{padding-block:12px}
html[data-next=true] .next-analytics .next-decision-strip strong{font-size:15px}
html[data-next=true] .next-analytics .next-decision-strip>p{margin-top:8px}
html[data-next=true] .next-scope-disclosure{margin:0 0 24px;border-bottom:1px solid var(--next-rule)}
html[data-next=true] .next-scope-disclosure>summary{min-height:44px;cursor:pointer;font-size:12px;color:var(--next-muted)}
html[data-next=true] .next-analytics .filter-disclosure{margin-block:12px}
@media(min-width:1500px){html[data-next=true] .next-opening-index{max-width:1280px}}
@media(max-width:1100px){html[data-next=true] .next-opening-index,html[data-next=true] .next-gallery-editorial{margin-inline:32px}html[data-next=true] .next-research-feature{gap:32px}html[data-next=true] .next-gallery-heading{gap:30px}html[data-next=true] .next-case-intro{gap:30px}html[data-next=true] .next-method{padding:24px 16px}html[data-next=true] .next-method-stages{gap:4px}html[data-next=true] .next-photo-story img{height:240px}html[data-next=true] .next-photo-story figure:first-child img{height:340px}html[data-next=true] .next-proof-heading{gap:30px}html[data-next=true] .next-analytics .overview-workspace{grid-template-columns:1fr}html[data-next=true] .next-analytics .overview-rail{border-left:0;border-top:1px solid var(--next-rule);padding:24px 0 0}}
@media(max-width:700px){html[data-next=true] .next-opening-index{margin:22px 20px 0}html[data-next=true] .next-opening-index>span{display:none}html[data-next=true] .opening-name{font-size:50px}html[data-next=true] .opening-description{font-size:15px}html[data-next=true] .opening-aside{border-left:0;padding-left:0;border-top:1px solid var(--next-rule);padding-top:24px}html[data-next=true] .next-research-feature{grid-template-columns:1fr;gap:26px;padding-block:28px;margin:28px 0 36px}html[data-next=true] .next-research-feature h3{font-size:32px}html[data-next=true] .next-method-stages{gap:5px}html[data-next=true] .next-method-title{margin-bottom:25px}html[data-next=true] .next-method figcaption{margin-top:24px}html[data-next=true] #home-dev-list{grid-template-columns:1fr;gap:0}html[data-next=true] #home-dev-list>.entry-card:first-child{display:block}html[data-next=true] .next-project-image{margin-bottom:24px}html[data-next=true] .next-photo-lead{grid-template-columns:1fr;gap:26px}html[data-next=true] .next-gallery-editorial{margin:20px 20px 50px;padding-block:26px}html[data-next=true] .next-gallery-heading{grid-template-columns:1fr;gap:24px}html[data-next=true] .next-gallery-heading h2{font-size:34px}html[data-next=true] .next-photo-story{grid-template-columns:1fr 1fr;gap:22px 14px}html[data-next=true] .next-photo-story figure:first-child{grid-column:1/-1}html[data-next=true] .next-photo-story figure:nth-child(n){margin-top:0}html[data-next=true] .next-photo-story img{height:190px}html[data-next=true] .next-photo-story figure:first-child img{height:260px}html[data-next=true] .next-case-intro{grid-template-columns:1fr;gap:28px;padding-block:28px;margin:25px 0 35px}html[data-next=true] .next-case-intro h2{font-size:26px}html[data-next=true] .detail-reading-layout{grid-template-columns:1fr;gap:24px}html[data-next=true] .next-list-guide{grid-template-columns:1fr;gap:12px}html[data-next=true] .list-items>.entry-card{padding-left:38px}html[data-next=true] .list-items>.entry-card:before{font-size:11px;top:28px}html[data-next=true] .next-participation-map{width:calc(100% - 40px);margin-bottom:40px;padding-top:24px}html[data-next=true] .next-participation-map>div{grid-template-columns:1fr}html[data-next=true] .next-participation-map a{padding:18px 0;border-right:0;border-bottom:1px solid var(--next-rule)}html[data-next=true] .next-participation-map strong{font-size:20px}html[data-next=true] .next-paiche .hero-stage-content{grid-template-columns:1fr;gap:25px;padding-bottom:25px}html[data-next=true] .next-paiche .hero-title{font-size:44px}html[data-next=true] .next-paiche .hero-stage-picture{max-height:none}html[data-next=true] .next-route-guide{grid-template-columns:1fr;gap:10px}html[data-next=true] .next-route-guide>p{font-size:13px}html[data-next=true] .next-admin-workflow{gap:0}html[data-next=true] .next-admin-workflow a,html[data-next=true] .next-admin-workflow a:first-child{padding:12px 8px;gap:5px}html[data-next=true] .next-admin-workflow a span{font-size:10px}html[data-next=true] .next-admin-workflow strong{font-size:12px}html[data-next=true] .next-admin-workflow i{display:none}html[data-next=true] .admin-work-lane{border-right:0;border-bottom:1px solid var(--next-rule)}html[data-next=true] .next-proof-desk{padding-block:40px}html[data-next=true] .next-proof-heading{grid-template-columns:1fr;gap:22px}html[data-next=true] .next-proof-heading h2{font-size:34px}html[data-next=true] .next-proof-pair{gap:12px}html[data-next=true] .next-proof-pair figure>div{aspect-ratio:.9}html[data-next=true] .next-proof-pair[data-crop=detail] img{object-fit:contain;transform:scale(4.8);transform-origin:30% 54%}html[data-next=true] .next-proof-boundary{grid-template-columns:1fr;gap:12px}html[data-next=true] .next-product .hero-grid{gap:30px}html[data-next=true] .next-decision-strip>div{grid-template-columns:1fr}html[data-next=true] .next-decision-strip a,html[data-next=true] .next-decision-strip a:first-child{border-right:0;border-bottom:1px solid var(--next-rule);padding:15px 0}html[data-next=true] .next-decision-strip strong{font-size:17px}html[data-next=true] .next-analytics .page-heading h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){html[data-next=true] .next-project-image img,html[data-next=true] .next-proof-pair img{transition:none}}
@media(max-width:700px){html[data-next=true] .next-opening-index{margin-top:96px}html[data-next=true] .editorial-opening{padding-top:30px}html[data-next=true] .opening-avatar{width:160px;margin-bottom:24px}}

/* Review revision: photographs keep their own dimensions unless zoom is explicitly selected. */
html[data-next=true] .opening-photo img,
html[data-next=true] .next-photo-lead img,
html[data-next=true] .next-photo-story img,
html[data-next=true] .next-photo-story figure:first-child img{
  width:100%;height:auto;aspect-ratio:auto;object-fit:contain;
}
html[data-next=true] .next-photo-story{align-items:start}
html[data-next=true] .next-proof-pair figure>div{aspect-ratio:16/9}
html[data-next=true] .next-proof-pair img{object-fit:contain}
html[data-next=true] .next-proof-pair[data-crop=full] img{transform:none}

/* Short records should not inherit the scale and empty chapter of a long case study. */
html[data-next=true] .detail-editorial .detail-cover{align-items:start;padding-bottom:32px}
html[data-next=true] .next-case-intro{display:block;padding:24px 0 32px;margin:24px 0 32px}
html[data-next=true] .next-case-intro>.next-method{max-width:850px;margin-inline:auto}
html[data-next=true] .next-case-short .detail-cover{grid-template-columns:1fr;gap:24px;padding-block:24px 32px}
html[data-next=true] .next-case-short .detail-head h1{margin-top:16px;max-width:28em}
html[data-next=true] .next-case-short .detail-deck{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 48px}
html[data-next=true] .next-case-short .detail-lead{grid-column:1/-1}
html[data-next=true] .next-case-short .detail-record,
html[data-next=true] .next-case-short .detail-links{margin:0;padding-top:18px;border-top:1px solid var(--next-rule)}
html[data-next=true] .next-case-short .detail-links h2{font-size:14px}
html[data-next=true] .next-case-short .detail-onward{margin-top:28px;padding-top:22px}

/* A stable 3:2 canvas: a 16:9 photograph has top/bottom bands; a 3:2 photograph fills it. */
html[data-next=true] .home-root .hero-stage-picture{
  aspect-ratio:3/2;height:auto;max-height:none;min-height:0;background:var(--bg-soft);
}
html[data-next=true] .home-root .hero-stage-photo img{width:100%;height:100%;object-fit:contain;object-position:center}
html[data-next=true] .home-root .stats-section{margin-top:0;padding-block:36px}
html[data-next=true] .task-workspace{grid-template-columns:minmax(200px,.32fr) minmax(0,1fr)}
html[data-next=true] .task-workspace>.task-context{grid-column:1;grid-row:1}
html[data-next=true] .task-workspace>.task-body{grid-column:2;grid-row:1;min-width:0}
@media(max-width:900px){
  html[data-next=true] .task-workspace{grid-template-columns:1fr}
  html[data-next=true] .task-workspace>.task-context{grid-column:1;grid-row:auto;position:static}
  html[data-next=true] .task-workspace>.task-body{grid-column:1;grid-row:auto}
}
@media(max-width:700px){
  html[data-next=true] .next-case-short .detail-deck{grid-template-columns:1fr;gap:20px}
  html[data-next=true] .next-case-short .detail-cover{gap:20px}
  html[data-next=true] .home-root .hero-stage-picture{aspect-ratio:3/2;height:auto;max-height:none}
}

/* Restore the initial three-part composition, with corrected method labels. */
html[data-next=true] .next-method{margin:0;padding:32px 24px;border:1px solid var(--next-rule);background:var(--next-surface);color:var(--next-ink);min-width:0}
html[data-next=true] .next-method-title{font-size:14px;font-weight:600;margin-bottom:38px}
html[data-next=true] .next-method-stages{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:8px;align-items:center}
html[data-next=true] .next-method-stages>div{text-align:center;min-width:0}
html[data-next=true] .next-method-stages>div>span{display:block;font:11px monospace;color:var(--next-muted);margin-bottom:12px}
html[data-next=true] .next-method-stages strong{display:block;font-size:13px}
html[data-next=true] .next-method-stages p{font-size:11px!important;line-height:1.5!important;margin:14px 0 0}
html[data-next=true] .next-method-stages>b{font-weight:400;color:var(--next-muted)}
html[data-next=true] .next-probe{display:block;width:20px;height:62px;border:1px solid currentColor;border-bottom:7px solid var(--next-accent);margin:28px auto 0;transform:rotate(16deg)}
html[data-next=true] .next-layers{display:grid;gap:3px;margin:29px auto 0;max-width:92px;height:62px;transform:skewY(-12deg)}
html[data-next=true] .next-layers em{display:block;border:1px solid var(--next-accent);background:color-mix(in srgb,var(--next-accent) 10%,transparent)}
html[data-next=true] .next-response{font:48px/1.3 Georgia,serif;display:block;height:62px;margin:28px auto 0;font-style:italic}
html[data-next=true] .next-response span{font-size:15px}
html[data-next=true] .next-method figcaption{margin-top:34px;padding-top:14px;border-top:1px solid var(--next-rule);font-size:10px;line-height:1.6;color:var(--next-muted)}
html[data-next=true] .next-method figcaption a{white-space:nowrap;margin-left:6px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){html[data-next=true] .next-method{padding:24px 16px}html[data-next=true] .next-method-stages{gap:4px}}
@media(max-width:700px){html[data-next=true] .next-method-stages{gap:5px}html[data-next=true] .next-method-title{margin-bottom:25px}html[data-next=true] .next-method figcaption{margin-top:24px}}

/* Compact contact actions and remove implicit empty project rows. */
html[data-next=true] .contact-section .contact-link--email{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:16px}
html[data-next=true] .contact-section .contact-mailto{min-width:0}
html[data-next=true] .contact-section .copy-email{align-self:end;justify-self:end;margin:0}
html[data-next=true] #home-dev-list{align-items:start}
html[data-next=true] #home-dev-list>.entry-card:first-child{grid-template-rows:auto auto;row-gap:20px;align-items:start}
html[data-next=true] #home-dev-list>.entry-card:first-child>.next-project-image{grid-row:1/3}
html[data-next=true] #home-dev-list>.entry-card:first-child>.entry-card-main{grid-row:1}
html[data-next=true] #home-dev-list>.entry-card:first-child>.entry-card-side{grid-row:2}
html[data-next=true] #home-dev-list .entry-card-side{flex:0;align-self:start;justify-content:flex-start;gap:18px}
html[data-next=true] #home-dev-list .project-flow{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;margin:0}
html[data-next=true] #home-dev-list .entry-card-actions{margin-top:0}
@media(max-width:700px){
 html[data-next=true] .contact-section .contact-link--email{column-gap:10px}
 html[data-next=true] .contact-section .contact-mailto{gap:8px}
 html[data-next=true] .contact-section .contact-link--email .contact-value{font-size:clamp(15px,4.6vw,18px)}
 html[data-next=true] .contact-section .copy-email{padding-inline:10px}
 html[data-next=true] #home-dev-list>.entry-card:first-child{padding:24px}
 html[data-next=true] #home-dev-list>.entry-card:first-child>.entry-card-main{margin-bottom:20px}
}

/* Local effect comparisons use the same horizontal crop on both sides. */
html[data-next=true] .next-product #removal-comparison,
html[data-next=true] .next-product #comparison{height:auto;aspect-ratio:16/9;max-width:none}
html[data-next=true] .next-product #removal-comparison .comparison-image,
html[data-next=true] .next-product #comparison .comparison-image{object-fit:cover;object-position:50% 43%}
