/* Prompt 8: shared hierarchy, with the existing page-specific compositions retained.
   Font files, photography, textures, commercial copy and inquiry handling are unchanged. */
body.interior-page{
 --serif:Manrope,Arial,sans-serif;
 --heading:Manrope,Arial,sans-serif;
 --heading-xl:clamp(36px,4.6vw,64px);
 --heading-lg:clamp(28px,3.2vw,42px);
 --heading-md:clamp(21px,2.1vw,27px);
 font-size:16px;line-height:1.75;
}
body.interior-page :is(h1,h2,h3){font-family:var(--heading);font-weight:800;letter-spacing:-.035em;text-wrap:balance}
body.interior-page main h1{font-size:var(--heading-xl);line-height:1.09;max-width:21ch;margin-bottom:24px}
body.interior-page main h2{font-size:var(--heading-lg);line-height:1.18;margin-bottom:20px}
body.interior-page main h3{font-size:var(--heading-md);line-height:1.28;margin-bottom:14px;letter-spacing:-.025em}
body.interior-page :is(p,dd){text-wrap:pretty}
body.interior-page main :is(.lead,.hero-copy>p:not(.eyebrow)){font-size:17px;line-height:1.75;max-width:70ch}
body.interior-page .lead+p{margin-top:18px}
body.interior-page .section{padding-block:64px}
body.interior-page .editorial-hero{padding-block:52px}
body.interior-page .editorial-hero .lead{max-width:76ch}
body.interior-page :is(.split-layout,.expansion-layout){column-gap:64px}
body.interior-page :is(.eyebrow,.project-label,.guide-label,.preparation-label,.feature-project,.task-question strong,.task-input strong){font:700 14px/1.6 Manrope,Arial,sans-serif;letter-spacing:.045em}
body.interior-page .eyebrow{margin-bottom:18px}
body.interior-page :is(.text-link,.screen-expand,.live-link){font:700 14px/1.6 Manrope,Arial,sans-serif;min-height:44px;max-width:100%;white-space:normal}
body.interior-page :is(.text-link,.button) svg{flex-shrink:0}
body.interior-page .button{font:800 14px/1.5 Manrope,Arial,sans-serif;letter-spacing:-.01em;min-height:50px;padding:14px 20px;gap:20px;max-width:100%;white-space:normal}
body.interior-page .button:hover{transform:none}
body.interior-page .actions{gap:14px;flex-wrap:wrap}
body.interior-page :is(.caption,.section-caption,.breadcrumb,.relationship,.case-screen figcaption,.project-evidence figcaption,.device-pair figcaption,.mobile-design-layout figcaption,.case-opening-preview .device-desktop figcaption,.task-evidence figcaption,.preview-hint,.enlargement-hint,.preparation-byline){font-size:14px;line-height:1.7;letter-spacing:0}
body.interior-page :is(.preview-hint,.enlargement-hint){opacity:1;margin-top:6px}
body.interior-page .breadcrumb{margin-bottom:22px}
body.interior-page .hero-preview figcaption,
body.interior-page .hero-preview .preview-note,
body.interior-page .feature-example .project-label,
body.interior-page .shop-context figcaption,
body.interior-page .task-example .project-source,
body.interior-page .task-example .project-source span,
body.interior-page .task-note .text-link,
body.interior-page .feature-planning .text-link,
body.interior-page .page-plan .guide-label,
body.interior-page .inquiry-diagram .guide-label{font-size:14px;line-height:1.7}
body.interior-page .hero-preview figcaption>span:nth-child(2){max-width:none}
body.interior-page .hero-preview .preview-note{flex-wrap:wrap;gap:8px 24px}
body.interior-page .relationship{padding:18px 20px;line-height:1.75}
body.interior-page .chapter-nav .wrap{flex-wrap:wrap;gap:8px 26px;padding-block:16px}
body.interior-page .chapter-nav span{font:700 14px/1.6 Manrope,Arial,sans-serif;letter-spacing:.04em}
body.interior-page .chapter-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5}
body.interior-page .closing{padding-block:64px}
body.interior-page .closing h2{font-size:clamp(30px,3.5vw,46px);max-width:23ch}
body.interior-page .closing p:not(.eyebrow){font-size:16px;line-height:1.75;max-width:65ch}

/* Service overview and planning pages retain their varied columns and reading order. */
body.interior-page .website-hero .hero-grid{padding-top:52px;gap:40px 60px}
body.interior-page .website-hero{padding-bottom:48px}
body.interior-page .hero-preview{margin-top:16px}
body.interior-page .section-heading{margin-bottom:34px}
body.interior-page :is(.section-intro,.explanation-list dd,.next-step p:not(.eyebrow),.task-help,.task-input p,.task-note p,.feature-planning p,.feature-task-heading>p:last-child,.privacy-decisions dd,.policy-copy>p){font-size:16px;line-height:1.75}
body.interior-page .explanation-list>div{padding-block:22px}
body.interior-page .explanation-list dt{font:700 19px/1.4 Manrope,Arial,sans-serif;letter-spacing:-.02em}
body.interior-page .explanation-list dd{max-width:72ch}
body.interior-page .expansion-heading h2{max-width:21ch}
body.interior-page .commercial-wide .expansion-heading h2{max-width:30ch}
body.interior-page .planning-example h3{font-size:25px;line-height:1.25}
body.interior-page .planning-examples{margin-top:28px;border:1px solid var(--line)}
body.interior-page .planning-example{gap:36px;padding-block:26px}
body.interior-page :is(.planning-example dt,.project-brief dt,.guide-details dt,.flow-failures dt,.service-brief dt){font:700 15px/1.5 Manrope,Arial,sans-serif}
body.interior-page :is(.commercial-comparison,.guide-table){font-size:16px;line-height:1.7}
body.interior-page :is(.commercial-comparison,.guide-table) thead th{font:700 14px/1.6 Manrope,Arial,sans-serif}
body.interior-page :is(.commercial-comparison,.guide-table) caption{font:700 15px/1.6 Manrope,Arial,sans-serif;margin-bottom:12px}
body.interior-page :is(.guide-section,.preparation-section){padding-block:48px}
body.interior-page :is(.guide-heading,.preparation-heading,.feature-task-heading){max-width:900px;margin-bottom:24px}
body.interior-page :is(.guide-heading,.preparation-heading,.feature-task-heading) h2{font-size:var(--heading-lg);line-height:1.18}
body.interior-page :is(.guide-heading,.preparation-heading,.feature-task-heading)>p:last-child{max-width:72ch}
body.interior-page :is(.guide-note,.task-note) h3{font-size:24px}
body.interior-page :is(.page-plan,.inquiry-diagram,.service-brief) h3{font-size:27px;line-height:1.25}
body.interior-page .guide-connection:not(.guide-wide) .guide-heading h2{font-size:var(--heading-lg)}
body.interior-page .feature-task{padding-block:48px}
body.interior-page .task-example h3{font-size:25px}
body.interior-page :is(.task-question strong,.task-input strong){text-transform:none;letter-spacing:0}
body.interior-page .task-evidence{margin-top:20px}
body.interior-page .task-input .text-link{font-size:14px}
body.interior-page .feature-planning{padding-block:44px}
body.interior-page .preparation-checklist h3{font-size:23px}
body.interior-page .preparation-photo h3{font-size:24px}
body.interior-page .preparation-photo-open{font-size:14px}
body.interior-page .policy-copy{max-width:74ch}
body.interior-page .policy-copy>p{margin-bottom:30px}

/* Project evidence: compact frames, complete mobile images and legible captions. */
body.interior-page .project-detail-hero>.wrap{gap:26px 48px}
body.interior-page .project-detail-hero .project-introduction h1{font-size:clamp(36px,4.15vw,58px);max-width:19ch}
body.interior-page .project-brief h2{font-size:25px;margin-bottom:20px}
body.interior-page .project-brief dd{font-size:15px;line-height:1.7}
body.interior-page .project-brief dl>div+div{margin-top:16px}
body.interior-page .project-detail-hero .case-opening-preview{max-width:960px}
body.interior-page .project-evidence{max-width:960px}
body.interior-page .project-decision-intro{gap:48px;margin-bottom:28px}
body.interior-page .device-pair{grid-template-columns:minmax(0,1fr) 220px;gap:30px;max-width:1100px;margin-inline:auto}
body.interior-page .device-mobile{max-width:260px}
body.interior-page .mobile-design-layout{grid-template-columns:minmax(0,1fr) 260px;gap:56px;max-width:1000px}
body.interior-page .mobile-design-copy .lead{font-size:17px}
body.interior-page .device-bar{font:600 12px/1.6 Manrope,Arial,sans-serif;gap:10px;padding:8px 12px;overflow-wrap:anywhere}
body.interior-page .device-bar span:last-child{flex-shrink:0}
body.interior-page :is(.desktop-frame,.feature-crop){border-color:#b9c0c5;box-shadow:0 6px 20px #17202a12}
body.interior-page .phone-frame{box-shadow:0 7px 18px #17202a20;padding:6px;border-radius:12px}
body.interior-page .work-entry-grid{gap:28px}
body.interior-page .work-entry h2{font-size:clamp(30px,3.2vw,42px)}
body.interior-page .work-entry .lead{max-width:65ch}
body.interior-page .project-focus{font-size:14px;line-height:1.7}
body.interior-page .project-focus strong{font-size:14px}
body.interior-page .project-image:hover .browser-frame{transform:none}
body.interior-page .about-hero{padding-block:40px}
body.interior-page .founder-introduction>h1{font-size:clamp(36px,4vw,56px);max-width:19ch}
body.interior-page .about-founder-photo figcaption,
body.interior-page .about-founder-photo figcaption strong{font-size:14px;line-height:1.65}

/* Form labels and supporting text remain readable on a solid surface. */
body.interior-page .form-layout{gap:64px}
body.interior-page .form-heading{font-size:30px;max-width:24ch}
body.interior-page .next-step h2{font-size:29px}
body.interior-page legend{font:800 22px/1.4 Manrope,Arial,sans-serif}
body.interior-page .form-field label{font-size:15px;line-height:1.6;flex-wrap:wrap;gap:4px 8px}
body.interior-page .form-field label span{font-size:13px}
body.interior-page :is(.field-help,.field-error,.form-privacy,.form-error-summary ul,#form-status,.preview-detail){font-size:14px;line-height:1.7}
body.interior-page .form-privacy{max-width:68ch}
body.interior-page .form-error-summary h3{font-size:21px}

/* Shared navigation and footer typography, including the unchanged homepage layout. */
body .foundry-header :is(.nav-direct,.nav-disclosure){font:800 14px/1.5 Manrope,Arial,sans-serif;letter-spacing:-.01em;text-transform:none}
body .foundry-header .studio-navigation .nav-project{font:800 14px/1.5 Manrope,Arial,sans-serif;letter-spacing:-.01em;gap:16px;padding:14px 18px}
body .foundry-header .nav-toggle{font:700 14px/1.5 Manrope,Arial,sans-serif}
body .foundry-header :is(.mega-title,.menu-project strong){font:800 23px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.025em}
body .foundry-header .mega-label{font:800 16px/1.5 Manrope,Arial,sans-serif;letter-spacing:0}
body .foundry-header :is(.mega-kicker,.mega-link small,.mega-bottom p,.mega-bottom-link,.menu-project p){font-size:14px;line-height:1.6;letter-spacing:0}
body .foundry-header .mega-link strong{font:700 16px/1.5 Manrope,Arial,sans-serif}
body .foundry-header .mega-close{width:44px;height:44px}
body .foundry-header .menu-project strong svg{flex-shrink:0}
body .site-footer .brand-line{font:800 clamp(26px,2.8vw,36px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.035em}
body .site-footer .footer-groups h2{font:800 14px/1.6 Manrope,Arial,sans-serif;letter-spacing:.04em}
body .site-footer :is(.footer-description>p,.footer-groups a,.footer-bottom){font-size:14px;line-height:1.75}
body .site-footer .footer-groups a{display:flex;align-items:center;min-height:40px}
body .screen-close{font:700 14px/1.5 Manrope,Arial,sans-serif;min-height:44px;left:0;z-index:2}
body .screenshot-dialog p{font-size:14px;line-height:1.7;color:#353b40}
body .screenshot-dialog.is-portrait img{width:100%;min-width:0;max-width:620px}

@media(min-width:981px) and (max-width:1150px){
 body .foundry-header .studio-navigation{gap:12px}
 body .foundry-header .studio-navigation .nav-project{margin-left:8px;padding-inline:14px;gap:12px}
 body.interior-page .project-detail-hero>.wrap{gap:26px 32px}
}
@media(max-width:980px){
 body .foundry-header :is(.nav-direct,.nav-disclosure){font-size:21px;line-height:1.4}
 body .foundry-header .studio-navigation .nav-project{font-size:15px}
 body .foundry-header .menu-project strong{font-size:19px}
 body .foundry-header .mega-kicker{font-size:13px}
 body.interior-page :is(.split-layout,.expansion-layout){column-gap:36px}
 body.interior-page .form-layout{gap:36px}
}
@media(max-width:800px){
 body.interior-page{--heading-xl:clamp(36px,7.2vw,54px);--heading-lg:clamp(28px,5.4vw,38px);--heading-md:23px}
 body.interior-page .section{padding-block:44px}
 body.interior-page .editorial-hero{padding-block:36px 40px}
 body.interior-page main h1{margin-bottom:22px}
 body.interior-page main :is(.lead,.hero-copy>p:not(.eyebrow)){font-size:16px;line-height:1.75}
 body.interior-page .chapter-nav span{width:100%}
 body.interior-page .chapter-nav .wrap{gap:4px 20px;padding-block:14px}
 body.interior-page .closing{padding-block:44px}
 body.interior-page :is(.guide-section,.preparation-section,.feature-task){padding-block:36px}
 body.interior-page .section-heading{margin-bottom:28px}
 body.interior-page .website-hero .hero-grid{padding-top:36px;gap:24px}
 body.interior-page .website-hero{padding-bottom:36px}
 body.interior-page .hero-preview{margin-top:10px}
 body.interior-page .project-detail-hero>.wrap{gap:24px}
 body.interior-page .project-detail-hero .project-introduction h1{font-size:var(--heading-xl)}
 body.interior-page .project-decision-intro{gap:18px}
 body.interior-page .device-pair{grid-template-columns:1fr;gap:22px}
 body.interior-page .mobile-design-layout{grid-template-columns:1fr;gap:28px}
 body.interior-page .device-mobile{max-width:250px}
 body.interior-page .about-hero{padding-block:30px 34px}
 body.interior-page .founder-introduction>h1{font-size:var(--heading-xl)}
 body.interior-page .planning-example{gap:18px}
 body.interior-page .project-brief dl>div+div{margin-top:0}
 body.interior-page .policy-copy>p{font-size:16px;margin-bottom:24px}
 body.interior-page .inquiry-explanation{padding-inline:16px}
 body.interior-page .flow-mobile .flow-node-detail{font-size:18px}
 body.interior-page .flow-mobile .flow-edge{font-size:16px}
}
@media(max-width:540px){
 body.interior-page :is(.project-brief,.guide-note,.service-brief,.page-plan){padding:20px}
 body.interior-page .project-brief dl>div+div{margin-top:16px}
 body.interior-page .form-field label{display:block}
 body.interior-page .form-field label span{margin-left:8px}
 body.interior-page .form-heading{font-size:27px}
 body.interior-page .device-bar{font-size:11px;padding-inline:8px}
 body.interior-page .guide-details>div{padding:20px}
}
@media print{
 body.interior-page{font-size:11pt}
 body.interior-page .editorial-hero h1{font-size:28pt}
 body.interior-page :is(.preparation-section,.editorial-hero){padding-block:16pt}
 body.interior-page .preparation-heading h2{font-size:22pt}
 body.interior-page :is(h1,h2,h3){text-shadow:none!important}
}

/* Approved logo scale: stronger desktop branding, balanced mobile navigation. */
@media(min-width:1151px){body .masthead-logo{width:280px}}
@media(min-width:1101px){body.home-direction .masthead-logo{width:320px}}
body .site-footer .footer-brand{width:340px;max-width:100%}
@media(max-width:760px){body .site-footer .footer-brand{width:280px}}

#project-form [hidden] { display: none !important; }
#project-form #form-status:empty { display: none; }
