/* Shared editorial layout: a steady reading grid and a single action language.
   Demo geometry, animation timing, and data styling remain in their own modules. */
:root{
  --section-space:clamp(64px,6vw,104px);
  --chapter-space:clamp(56px,5vw,88px);
  --layout-gap:clamp(32px,4vw,64px);
  --layout-columns:minmax(0,1.1fr) minmax(0,1fr);
  --instrument-inset:clamp(22px,2.5vw,36px);
}

/* The same header on both public pages. */
:is(.home-page,.benchmark-page) .site-header{height:94px;width:min(1440px,100% - var(--gutter)*2);max-width:none;margin-inline:auto;padding-inline:0;gap:32px;border-bottom-color:#bac1ae88}
:is(.home-page,.benchmark-page) .site-header nav{gap:32px;align-items:center}
:is(.home-page,.benchmark-page) .site-header nav>a{position:relative;display:inline-flex;align-items:center;min-height:44px;padding-block:12px;font-size:12px;white-space:nowrap;text-decoration:none}
:is(.home-page,.benchmark-page) .site-header nav>a:not(.nav-contact)::after{content:"";position:absolute;bottom:8px;left:0;right:0;height:1px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform var(--motion-ui) var(--motion-ease)}
:is(.home-page,.benchmark-page) .site-header nav>a:not(.nav-contact):is(:hover,:focus-visible,[aria-current=page])::after{transform:scaleX(1)}
:is(.home-page,.benchmark-page) .site-header nav>a[aria-current=page]{text-decoration:none}
:is(.home-page,.benchmark-page) .site-header .nav-contact{background:transparent;border:0;padding:12px 0 12px 29px;margin-left:3px;font-weight:500}
:is(.home-page,.benchmark-page) .site-header .nav-contact::before{content:"";position:absolute;left:0;top:50%;width:1px;height:18px;background:#b6c1a9;transform:translateY(-50%)}
:is(.home-page,.benchmark-page) .site-header .nav-contact:is(:hover,:focus-visible){background:transparent;color:var(--gold);text-decoration:underline}

/* Rounded primary actions echo the shoreline; instrument controls stay distinct. */
:is(.home-page,.benchmark-page) :is(.opening-cta,.benchmark-primary){border-radius:999px}

/* Text links never change width on hover. Motion is reserved for their cue. */
:is(.home-page,.benchmark-page) .text-link,
:is(.home-page,.benchmark-page) .demo-link{gap:18px;min-height:44px;font-size:12px;line-height:1.5;padding-block:10px;align-items:center}
:is(.home-page,.benchmark-page) .text-link:is(:hover,:focus-visible){gap:18px}
:is(.home-page,.benchmark-page) :is(.text-link,.demo-link,.contact-link):is(:hover,:focus-visible)>span,
.home-page .research-list>a:is(:hover,:focus-visible) .research-source>b{transform:translateX(3px)}
.home-page .lab-button:is(:hover,:focus-visible)>span{transform:none}
.case-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px}
.home-page .case-actions :is(.text-link,.demo-link){margin:0}
.home-page .case-actions .action-secondary{font-weight:400;text-decoration:underline;text-decoration-color:#a2ae96;text-underline-offset:6px}

/* A clear landing after the lake: expertise has its own surface; the client
   marks are a separate, quieter group, not another row of navigation. */
.home-page .hero-scene-caption{padding-block:16px 36px}
.home-page .opening-services{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#e5e9dd;border:1px solid #b7c2ad;scroll-margin-top:36px}
.home-page .opening-services-label{grid-column:1/-1;margin:0;padding:24px var(--instrument-inset) 0;font-size:9px;line-height:1.6;color:#53634e}
.home-page .opening-services>a{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:start;gap:20px;min-width:0;margin:20px 0 28px;padding:8px var(--instrument-inset);border:0;transition:background-color var(--motion-ui) var(--motion-ease)}
.home-page .opening-services>a+a{margin-left:0;padding-left:var(--instrument-inset);border-left:1px solid #b7c2ad}
.home-page .opening-service-copy{gap:12px;align-self:stretch}
.home-page .opening-service-copy strong{font-size:clamp(24px,2vw,30px);line-height:1.2}
.home-page .opening-service-copy>span{font-size:12px;line-height:1.6;color:#53634e}
.home-page .opening-service-arrow{margin:3px 0 0;font-size:22px;line-height:1.3}
.home-page .opening-services>a:is(:hover,:focus-visible){background:#dbe2d1}
.home-page .opening-services>a:focus-visible{outline:2px solid #526b57;outline-offset:4px}
.home-page .collaborations{display:block;margin-top:32px;padding:0 var(--instrument-inset) 32px;border-top:0;border-bottom:1px solid var(--line)}
.home-page .collaborations>p{margin:0 0 20px;font-size:9px;line-height:1.6;color:#53634e}
.home-page .collaboration-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:center}
.home-page .collaboration-logos .client-logo{min-width:0;min-height:72px;justify-content:center;align-items:center;gap:10px;padding:10px 0}
.home-page .collaboration-logos .client-logo svg{max-width:100%;flex-shrink:0}
.home-page .collaboration-logos .client-logo.c1{gap:0}
.home-page .collaboration-logos .client-logo.c1 span{padding-left:0}
.home-page .collaboration-logos .client-logo:is(:hover,:focus-visible){opacity:1}
.home-page .collaboration-logos .client-logo:focus-visible{outline:2px solid #526b57;outline-offset:4px}

/* Section openings share a column ruler, not a far-right floating paragraph. */
.home-page .section-space{padding-block:var(--section-space)}
.home-page .section-label{margin-bottom:32px;gap:24px;line-height:1.7}
.home-page .section-heading{display:grid;grid-template-columns:var(--layout-columns);column-gap:var(--layout-gap);align-items:end;margin-bottom:44px}
.home-page .section-heading h2,.home-page .practice-intro h2{font-size:clamp(40px,4.4vw,64px);line-height:1.08;font-weight:450;max-width:15ch}
.home-page .section-heading>p{font-size:14px;line-height:1.8;max-width:48ch;padding:0;justify-self:start}
.home-page .work{padding-bottom:40px}
.benchmark-page .section-space{padding-block:var(--section-space)}
.benchmark-page .benchmark-hero-bottom,.benchmark-page .section-heading,.benchmark-page .integrity-heading,.benchmark-page .deliverables-layout,.benchmark-page .benchmark-contact-layout{grid-template-columns:var(--layout-columns);column-gap:var(--layout-gap)}
.benchmark-page .section-label{margin-bottom:32px}
.benchmark-page .section-heading>p{max-width:48ch;font-size:14px;line-height:1.8}

/* Project boundaries are explicit: a quiet, inset introduction and its working
   surface form one unit. Nothing clips the planning guide or keyboard outlines. */
.home-page .work>.section-heading{margin-bottom:64px}
.home-page .work .project-panel{display:block;min-width:0;background:#e5e9dd;border:1px solid #b7c2ad;border-top:3px solid #819477;overflow:visible;box-shadow:0 12px 36px -30px #213e3633}
.home-page #benchmark .case-copy,
.home-page #mercedes .signal-case-intro,
.home-page .signal-expanded #planning .planning-case-intro{display:grid;grid-template-columns:var(--layout-columns);gap:28px var(--layout-gap);align-items:center;padding:36px var(--instrument-inset);margin:0;border:0}
.home-page #benchmark .case-heading{grid-column:1;min-width:0}
.home-page #benchmark .case-context{grid-column:2;min-width:0}
.home-page #benchmark .case-heading .case-category,
.home-page #mercedes .signal-case-intro .case-category,
.home-page #planning .planning-case-intro .case-category{margin:0 0 18px;font-size:10px;line-height:1.8}
.home-page #benchmark .case-heading h3,
.home-page #mercedes .signal-case-intro h3,
.home-page #planning .planning-case-intro h3{font:450 clamp(32px,3.2vw,44px)/1.12 var(--sans);letter-spacing:-.045em;margin:0;max-width:none}
.home-page #benchmark .case-heading .case-date{display:block;margin:20px 0 0;font-size:9px;color:#53634e}
.home-page #benchmark .case-context>p{max-width:46ch;font-size:14px;line-height:1.8;color:var(--muted);margin:0}
.home-page #benchmark .case-context .case-actions{margin-top:22px}
.home-page #benchmark .case-actions :is(.text-link,.demo-link){min-height:44px;font-size:12px;margin:0;padding-block:10px;gap:18px}
.home-page #benchmark .case-copy::after{display:none}
.home-page :is(.signal-case-context,.planning-case-context){max-width:46ch;justify-self:start}
.home-page :is(.signal-case-context,.planning-case-context)>p{font-size:14px;line-height:1.8}
.home-page .project-panel .bench-instrument,
.home-page #mercedes .case-art.signal-study,
.home-page #planning .plan-instrument{border:0;border-top:1px solid #3d5f4f;box-shadow:none}
.home-page .case-pair.signal-expanded{gap:var(--chapter-space);margin-top:var(--chapter-space)}
.home-page :is(#benchmark,#mercedes,#planning){scroll-margin-top:0}
.home-page .bench-study+.benchmark-bridge{grid-template-columns:var(--layout-columns);gap:20px var(--layout-gap);padding:28px var(--instrument-inset);background:#e8eadf77}
.home-page .benchmark-bridge-links{gap:8px 24px;margin-top:16px}
.home-page .benchmark-bridge-links>a:last-child,.home-page .service-charter-link{min-height:44px;font-size:12px;line-height:1.6;display:inline-flex;align-items:center}
.home-page .shoreline-divider{height:48px;margin-top:var(--chapter-space);opacity:.5}

/* Consistent inner gutters across the working instruments. */
.home-page :is(.bench-toolbar,.bench-chart-layout,.bench-method summary,.bench-method-grid,.bench-source-note,.plan-toolbar,.plan-guide,.plan-layout,.plan-footer,.plan-source-note,.plan-record-details summary,.plan-record-empty,.plan-record-content){padding-inline:var(--instrument-inset)}
.home-page #mercedes .case-art.signal-study{padding:28px var(--instrument-inset)}
.home-page :is(.bench-stories,.plan-process){padding-inline:calc(var(--instrument-inset) - 12px)}
.home-page .plan-footer{align-items:flex-start;gap:16px 32px}
.home-page .plan-footer .demo-link{white-space:normal;flex-shrink:0}
.home-page .plan-handoff-note{max-width:58ch}

/* Services: an open introduction, then one shared illustration/disclosure panel. */
.home-page .practice{padding-top:0}
.home-page .practice .shell{padding-top:0}
.home-page .practice-layout{grid-template-columns:var(--layout-columns);gap:64px var(--layout-gap);padding-top:0}
.home-page .practice-intro{grid-template-columns:var(--layout-columns);column-gap:var(--layout-gap)}
.home-page .practice-intro>p{max-width:48ch;font-size:14px;line-height:1.8}
.home-page .practice-intro>.text-link{margin-top:18px}
.home-page .practice-body{grid-column:1/-1;display:grid;grid-template-columns:var(--layout-columns);gap:0;align-items:stretch;min-width:0;background:#e5e9dd;border:1px solid #b7c2ad;border-top:3px solid #819477;overflow:visible}
.home-page .practice-study{grid-column:auto;grid-row:auto;border:0;border-right:1px solid #b7c2ad;border-radius:0;padding:30px var(--instrument-inset);background:transparent}
.home-page .practice-study-art{margin:20px 0;max-width:540px;margin-inline:auto}
.home-page .practice-study figcaption{min-height:0;padding-top:22px}
.home-page .practice-study figcaption p{font-size:12px;max-width:48ch}
.home-page .practice-list{grid-column:auto;grid-row:auto;background:#f5f5ec;padding:0}
.home-page .practice-list details{border:0;border-bottom:1px solid #c4ceba;transition:background-color var(--motion-ui) var(--motion-ease)}
.home-page .practice-list details:first-child{border-top:0}
.home-page .practice-list details:last-child{border-bottom:0}
.home-page .practice-list details[open]{background:#eaf0e1;box-shadow:inset 3px 0 0 #819477}
.home-page .practice-list summary,.home-page .practice-list details:first-child summary{min-height:90px;gap:18px;padding:26px var(--instrument-inset)}
.home-page .practice-list summary h3{font-size:22px;line-height:1.35}
.home-page .practice-list summary:focus-visible{outline-offset:-6px}
.home-page .practice-detail{padding:0 var(--instrument-inset) 30px calc(var(--instrument-inset) + 32px)}
.home-page .practice-detail p{max-width:48ch}
.home-page .practice-detail>.mono{margin-top:20px;line-height:1.8}
.home-page .practice-detail :is(.demo-link,.service-charter-link){width:fit-content;max-width:100%;white-space:normal}

/* Workbench: tabs, introduction, working area, and notes are distinct tiers. */
.home-page .lab-section .section-heading{margin-bottom:64px}
.home-page .lab-section .lab-shell{border:1px solid #b7c2ad;border-top:3px solid #819477;overflow:visible}
.home-page .lab-panel{padding:0}
.home-page .lab-origin{padding-inline:var(--instrument-inset)}
.home-page .lab-panel-top{margin:0;padding:30px var(--instrument-inset);gap:24px;background:#e5e9dd;border-bottom:1px solid #c4ceba}
.home-page .lab-panel-top>div{min-width:0}
.home-page .lab-panel-top h3{font-size:30px;line-height:1.2;margin-bottom:14px;max-width:30ch}
.home-page .lab-panel-top p:not(.lab-kicker){font-size:13px;line-height:1.8;max-width:60ch}
.home-page .lab-tag{padding:9px 11px;line-height:1.5;background:#f6f6ed;border-color:#c0ccb3}
.home-page :is(.lab-compute-layout,.lab-graph-layout,.lab-edit-layout){padding:32px var(--instrument-inset);gap:28px;align-items:start}
.home-page .lab-compute-layout,.home-page .lab-graph-layout{grid-template-columns:minmax(0,1fr) 280px}
.home-page .lab-chart-wrap,.home-page .lab-plan{min-width:0;padding:24px;background:#faf9f2;border:1px solid #d0d7c6}
.home-page .lab-chart-head{gap:14px;margin-bottom:24px;font-size:11px}
.home-page .lab-chart-foot{margin-top:18px}
.home-page .lab-compute-summary,.home-page .lab-graph-controls{min-width:0;margin:0;padding:24px;border:1px solid #c4ceba;background:#eaf0e1}
.home-page .lab-metric-row{padding-top:17px}
.home-page .lab-finding{margin:28px 0 22px}
.home-page .lab-actions{gap:10px}
.home-page .lab-graph-stage{background-color:#faf9f2;border-color:#d0d7c6}
.home-page .lab-control-label{font-size:9px;line-height:1.6;margin-bottom:12px}
.home-page .lab-choices{gap:8px;margin-bottom:28px}
.home-page .lab-plan-head{font-size:14px;padding-bottom:20px}
.home-page .lab-plan-table input{min-height:44px}
.home-page .lab-plan-bottom{margin-top:22px;flex-wrap:wrap}
.home-page .lab-sql{border:1px solid #526a5c}
.home-page .lab-sql-head,.home-page .lab-audit{padding:20px}
.home-page .lab-sql pre{padding:22px 20px}
.home-page .lab-footnote{margin:0;padding:20px var(--instrument-inset);border-top:1px solid #c4ceba;background:#eef0e5;line-height:1.8}
.home-page .lab-button,.home-page .lab-choice{min-height:44px;font-size:12px}
.home-page .lab-button{gap:16px}
.home-page .lab-tab{font-size:13px;min-height:80px}
.home-page .lab-origin a{min-height:44px;display:inline-flex;align-items:center;font-size:11px}

/* Field notes: three equal editorial columns, with a common image and baseline. */
.home-page .research-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border:0}
.home-page .research-list>a,.home-page .research-list>a+a,.home-page .research-list>a:first-child{display:flex;flex-direction:column;align-items:stretch;grid-column:auto;grid-row:auto;gap:0;padding:24px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;min-width:0}
.home-page .research-list>a::before{display:none}
.home-page .research-list .note-sketch,.home-page .research-list>a:first-child .note-sketch{width:100%;height:168px;margin:0 0 24px;border:1px solid #b9c3ad66;background:linear-gradient(135deg,#e1e7d8,#ede9dc);color:#53705c}
.home-page .research-list .note-sketch svg,.home-page .research-list>a:first-child .note-sketch svg{width:220px;max-width:85%;height:145px}
.home-page .research-list>a>.mono:not(.research-source){font-size:9px;align-self:start;margin-bottom:14px}
.home-page .research-list h3,.home-page .research-list>a:first-child h3{font:400 clamp(26px,2.4vw,34px)/1.16 var(--serif);letter-spacing:-.035em;padding:0;margin:0;max-width:22ch;min-height:2.32em}
.home-page .research-list>a>p,.home-page .research-list>a:first-child>p{font-size:13px;line-height:1.8;margin:16px 0 24px;max-width:39ch}
.home-page .research-list .research-source,.home-page .research-list>a:first-child .research-source{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin-top:auto;padding:16px 0 0;border-top:1px solid var(--line);font-size:8px;min-height:44px}
.home-page .research-list .research-source b,.home-page .research-list>a:first-child .research-source b{position:static;flex:none;font:22px/1 var(--sans)}

/* About and contact actions belong to their copy, not the far edge of the page. */
.home-page .about{grid-template-columns:76px minmax(0,1fr);gap:12px 28px;padding-block:44px 56px;align-items:start}
.home-page .about-mark{grid-column:1;grid-row:1/3;margin-top:8px}
.home-page .about>div:not(.about-mark){grid-column:2}
.home-page .about>.text-link{grid-column:2;justify-self:start;white-space:normal}
.home-page .about p:not(.mono){max-width:72ch}
.home-page .contact{padding-block:var(--section-space)}
.home-page .contact>.shell{display:grid;grid-template-columns:var(--layout-columns);gap:28px var(--layout-gap);align-items:end}
.home-page .contact .section-label{grid-column:1/-1;margin-bottom:12px}
.home-page .contact h2{grid-column:1;grid-row:2;font-size:clamp(52px,6vw,88px)}
.home-page .contact-bottom{display:contents}
.home-page .contact-bottom p{grid-column:2;grid-row:2;max-width:46ch;font-size:14px;line-height:1.8;padding-bottom:5px}
.home-page .contact .contact-link{grid-column:1;grid-row:3;justify-self:start;display:inline-flex;align-items:center;gap:22px;margin:0;min-height:50px;font-size:clamp(18px,1.7vw,25px)}
.home-page .contact .contact-link span{margin:0;flex:none}
:is(.home-page,.benchmark-page) footer{gap:16px 28px;padding-block:32px}
:is(.home-page,.benchmark-page) footer>a{display:inline-flex;align-items:center;min-height:44px}

@media(max-width:1100px){
  :is(.home-page,.benchmark-page) .site-header nav{gap:24px}
  .home-page .opening-services>a{gap:12px;padding-inline:24px}
  .home-page .opening-services>a+a{padding-left:24px}
  .home-page .opening-service-copy strong{font-size:25px;min-height:2.4em}
  .home-page .opening-service-copy>span{font-size:11px}
  .home-page .research-list{gap:24px}
  .home-page .research-list .research-source{font-size:7px}
}
@media(max-width:850px){
  :is(.home-page,.benchmark-page) .site-header{gap:24px}
  :is(.home-page,.benchmark-page) .site-header nav{gap:22px}
  :is(.home-page,.benchmark-page) .site-header .nav-contact{padding-left:22px;margin-left:0}
  .home-page .section-heading>p{font-size:13px}
  .home-page :is(.lab-compute-layout,.lab-graph-layout,.lab-edit-layout){display:grid;grid-template-columns:1fr}
  .home-page .lab-compute-summary{display:block}
  .home-page .research-list{grid-template-columns:1fr;gap:28px}
  .home-page .research-list>a,.home-page .research-list>a+a,.home-page .research-list>a:first-child{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 24px}
  .home-page .research-list .note-sketch,.home-page .research-list>a:first-child .note-sketch{grid-column:1;grid-row:1/5;width:150px;height:150px;margin:0}
  .home-page .research-list h3,.home-page .research-list>a:first-child h3{grid-column:2;grid-row:2;min-height:0;max-width:none;font-size:28px}
  .home-page .research-list>a>.mono:not(.research-source){grid-column:2;grid-row:1;margin:0}
  .home-page .research-list>a>p,.home-page .research-list>a:first-child>p{grid-column:2;grid-row:3;margin:0}
  .home-page .research-list .research-source,.home-page .research-list>a:first-child .research-source{grid-column:2;grid-row:4;font-size:8px;padding-top:10px;margin-top:2px}
}
@media(max-width:700px){
  :root{--section-space:60px;--chapter-space:56px;--layout-gap:24px;--instrument-inset:20px}
  :is(.home-page,.benchmark-page) .site-header{height:auto;min-height:85px;flex-wrap:wrap;padding-block:20px 12px;gap:12px}
  :is(.home-page,.benchmark-page) .site-header nav{gap:16px;width:100%;justify-content:space-between}
  :is(.home-page,.benchmark-page) .site-header nav>a{font-size:11px;min-height:44px}
  :is(.home-page,.benchmark-page) .site-header nav>a:nth-child(2){display:inline-flex}
  :is(.home-page,.benchmark-page) .site-header .nav-contact{padding:12px 0 12px 16px;margin-left:0}
  .home-page .hero-scene-caption{padding-block:10px 28px}
  .home-page .opening-services{grid-template-columns:1fr}
  .home-page .opening-services-label{padding:22px var(--instrument-inset) 0;font-size:8px}
  .home-page .opening-services>a{margin:0;padding:22px var(--instrument-inset);gap:18px;align-items:center}
  .home-page .opening-services>a+a{margin:0;padding:22px var(--instrument-inset);border-left:0;border-top:1px solid #b7c2ad}
  .home-page .opening-service-copy{gap:8px}
  .home-page .opening-service-copy strong{font-size:25px;min-height:0}
  .home-page .opening-service-copy>span{font-size:11px}
  .home-page .opening-service-arrow{margin:0}
  .home-page .collaborations{margin-top:28px;padding:0 0 28px}
  .home-page .collaborations>p{font-size:8px;margin-bottom:16px;padding-inline:var(--instrument-inset)}
  .home-page .collaboration-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
  .home-page .collaboration-logos .client-logo{min-height:72px}
  .home-page .section-label{align-items:start;margin-bottom:28px;font-size:8px;gap:18px}
  .home-page .section-label>span:last-child{max-width:21ch}
  .home-page .section-heading{grid-template-columns:1fr;gap:20px;margin-bottom:32px}
  .home-page .section-heading h2,.home-page .practice-intro h2{font-size:clamp(39px,9vw,50px);max-width:none}
  .home-page .section-heading>p{margin:0;max-width:48ch}
  .benchmark-page .benchmark-hero-bottom,.benchmark-page .section-heading,.benchmark-page .integrity-heading,.benchmark-page .deliverables-layout,.benchmark-page .benchmark-contact-layout{grid-template-columns:1fr;gap:24px}
  .benchmark-page .section-heading>p{font-size:13px}
  .home-page .work{padding-bottom:28px}
  .home-page .work>.section-heading{margin-bottom:40px}
  .home-page #benchmark .case-copy,.home-page #mercedes .signal-case-intro,.home-page .signal-expanded #planning .planning-case-intro{grid-template-columns:1fr;gap:24px;padding:28px var(--instrument-inset)}
  .home-page #benchmark .case-heading,.home-page #benchmark .case-context{grid-column:1;grid-row:auto;align-self:start}
  .home-page #benchmark .case-heading .case-category,.home-page #mercedes .signal-case-intro .case-category,.home-page #planning .planning-case-intro .case-category{font-size:9px}
  .home-page #benchmark .case-context>p,.home-page :is(.signal-case-context,.planning-case-context)>p{font-size:13px}
  .home-page .bench-study+.benchmark-bridge{grid-template-columns:1fr;padding:24px var(--instrument-inset);gap:18px}
  .home-page .case-actions{gap:8px 20px}
  .home-page .shoreline-divider{height:36px;margin-top:44px}
  .home-page #mercedes .case-art.signal-study{padding-block:22px}
  .home-page .plan-footer{display:flex;flex-wrap:wrap;gap:8px}
  .home-page .plan-footer .demo-link{flex-shrink:1}
  .home-page .plan-handoff-note{margin:0}
  .home-page .practice-layout{grid-template-columns:1fr;gap:40px}
  .home-page .practice-intro{display:block}
  .home-page .practice-intro>p{font-size:13px;margin-top:20px}
  .home-page .practice-body{grid-template-columns:1fr}
  .home-page .practice-list{grid-column:1;grid-row:auto}
  .home-page .practice-detail{padding:0 var(--instrument-inset) 26px}
  .home-page .practice-inline-study{margin:22px 0 0;border-radius:0;padding:14px}
  .home-page .practice-list summary,.home-page .practice-list details:first-child summary{gap:12px;min-height:80px;padding:22px var(--instrument-inset)}
  .home-page .practice-list summary h3{font-size:20px}
  .home-page .lab-section .section-heading{margin-bottom:40px}
  .home-page .lab-tab{flex-direction:column;font-size:11px;min-height:80px;gap:8px;padding:14px 8px}
  .home-page .lab-panel-top{display:block;padding:24px var(--instrument-inset)}
  .home-page .lab-panel-top h3{font-size:26px}
  .home-page .lab-panel-top .lab-tag{margin-top:18px}
  .home-page :is(.lab-compute-layout,.lab-graph-layout,.lab-edit-layout){padding:24px var(--instrument-inset);gap:24px}
  .home-page .lab-chart-wrap,.home-page .lab-plan,.home-page .lab-compute-summary,.home-page .lab-graph-controls{padding:18px}
  .home-page .lab-metric-head,.home-page .lab-metric-row{grid-template-columns:1fr 48px 48px;gap:8px}
  .home-page .lab-finding strong{font-size:36px}
  .home-page .lab-finding span{font-size:10px}
  .home-page .lab-actions{grid-template-columns:1fr}
  .home-page .lab-footnote{padding-block:20px}
  .home-page .research-list>a,.home-page .research-list>a+a,.home-page .research-list>a:first-child{grid-template-columns:100px minmax(0,1fr);gap:10px 20px}
  .home-page .research-list .note-sketch,.home-page .research-list>a:first-child .note-sketch{width:100px;height:124px}
  .home-page .research-list h3,.home-page .research-list>a:first-child h3{font-size:27px}
  .home-page .research-list>a>p,.home-page .research-list>a:first-child>p{font-size:12px}
  .home-page .about{grid-template-columns:1fr;gap:14px;padding-block:36px 44px}
  .home-page .about>div:not(.about-mark),.home-page .about>.text-link{grid-column:1}
  .home-page .contact>.shell{grid-template-columns:1fr;gap:24px}
  .home-page .contact .section-label,.home-page .contact h2,.home-page .contact-bottom p,.home-page .contact .contact-link{grid-column:1;grid-row:auto}
  .home-page .contact h2{font-size:clamp(46px,10vw,66px)}
  .home-page .contact-bottom p{font-size:13px;padding:0}
  .home-page .contact .contact-link{font-size:clamp(15px,4.3vw,23px);gap:14px}
}
@media(max-width:420px){
  :is(.home-page,.benchmark-page) .site-header{padding-block:17px 10px}
  :is(.home-page,.benchmark-page) .site-header nav{gap:10px}
  :is(.home-page,.benchmark-page) .site-header .nav-contact{padding-left:12px}
  .home-page .research-list>a,.home-page .research-list>a+a,.home-page .research-list>a:first-child{grid-template-columns:1fr;gap:14px}
  .home-page .research-list .note-sketch,.home-page .research-list>a:first-child .note-sketch{grid-column:1;grid-row:1;width:100%;height:128px;margin:0 0 3px}
  .home-page .research-list>a>.mono:not(.research-source){grid-column:1;grid-row:2}
  .home-page .research-list h3,.home-page .research-list>a:first-child h3{grid-column:1;grid-row:3}
  .home-page .research-list>a>p,.home-page .research-list>a:first-child>p{grid-column:1;grid-row:4}
  .home-page .research-list .research-source,.home-page .research-list>a:first-child .research-source{grid-column:1;grid-row:5}
  .home-page .lab-tab{font-size:10px;gap:5px}
  .home-page .lab-plan-table :is(th,td):first-child{width:35%}
  .home-page .lab-plan-table :is(th,td):last-child{width:43%}
  .home-page .lab-plan-table :is(th,td):nth-child(2){padding-inline:4px;font-size:9px}
  .home-page .lab-plan-table input{padding-inline:4px}
}
@media(max-width:350px){:is(.home-page,.benchmark-page) .site-header nav{gap:8px}}
@media(prefers-reduced-motion:reduce){
  :is(.home-page,.benchmark-page) :is(.text-link,.demo-link,.contact-link)>span,
  .home-page .research-source>b{transform:none!important;transition:none!important}
}
