/* Shared sizes by semantic role. This is the source of sizing for the future WP theme. */
:root{
 --type-h1:clamp(32px,3.3vw,42px);
 --type-h2:clamp(30px,2.8vw,36px);
 --type-h3:24px;
 --type-body:16px;
 --type-caption:14px;
 --type-eyebrow:var(--type-body);
 --type-button:14px;
 --button-height:52px;
 --button-icon:20px;
}
:is(#app,#footer,#modal) h1{font-size:var(--type-h1);line-height:1.12;font-weight:600;letter-spacing:-.035em}
:is(#app,#footer,#modal) h2{font-size:var(--type-h2);line-height:1.15;font-weight:600;letter-spacing:-.035em}
:is(#app,#footer,#modal) h3{font-size:var(--type-h3);line-height:1.25;font-weight:600;letter-spacing:-.025em}
:is(#app,#footer,#modal) p{font-size:var(--type-body);line-height:1.8}
:is(#app,#footer,#modal) .eyebrow{font-size:var(--type-eyebrow);line-height:1.6;letter-spacing:.16em}
:is(#app,#footer,#modal) :is(.form-note,.concept-label,.quote-save-note,.config-delivery,.quote-item-note,.quote-item-help,.privacy-files){font-size:var(--type-caption)!important;line-height:1.7!important}
:is(#app,#footer,#modal) .quote-transport p{font-size:var(--type-caption);line-height:1.7}
:is(#app,#footer,#modal) .btn{font-size:var(--type-button);min-height:var(--button-height);padding:12px 22px;line-height:1.4;font-weight:600;letter-spacing:.015em;gap:20px;align-items:center;justify-content:center;white-space:normal}
:is(#app,#footer,#modal) .btn :is(.icon,.arrow){width:var(--button-icon);height:var(--button-icon);flex:0 0 var(--button-icon);display:block;margin:0;align-self:center}
/* A brand signpost uses the same CTA sizes, while retaining its own colours. */
:is(#app,#footer,#modal) .partner-card .btn{gap:12px}
/* Symmetric home signpost, distinct from the photo-led About section. */
#app .investment-strip{padding:72px 0;margin-bottom:88px;border-radius:0;border-block:1px solid var(--line);background:var(--pale)}
#app .investment-strip-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;text-align:center}
#app .investment-strip .eyebrow{margin:0 0 18px}
#app .investment-strip h2{margin:0;max-width:100%;font-size:var(--type-h2)}
#app .investment-strip p{max-width:780px;margin:26px auto 0;color:var(--ink)}
#app .investment-strip-action{margin-top:30px;max-width:100%}
#app .investment-strip .btn{margin:0}
@media(max-width:760px){
 :root{--type-h1:clamp(28px,7.5vw,34px);--type-h2:clamp(26px,7vw,30px);--type-h3:22px;--type-body:16px;--type-eyebrow:var(--type-body);--type-button:14px;--button-height:50px;--button-icon:20px}
 :is(#app,#footer,#modal) .btn{padding:11px 18px;gap:14px;max-width:100%}
 #app .investment-strip{padding:48px 0;margin-bottom:60px}
 #app .investment-strip .eyebrow{margin-bottom:16px}
 #app .investment-strip p{margin-top:22px}
 #app .investment-strip-action{margin-top:26px;width:100%}
 #app .investment-strip .btn{width:100%}
}

/* Reference hierarchy: Oriwood has smaller functional headings than page sections. */
#app .hero.home h1{font-size:clamp(48px,5.5vw,72px);line-height:1.15}
#app .hero.sub h1{font-size:var(--type-h1)}
#app .detail-copy h1,#app .quote-page-head h1{font-size:var(--type-h1)}
#app .filters h2{font-size:24px;line-height:1.3;margin-bottom:24px}
#app .catalog-section-head h2{font-size:30px;line-height:1.25}
#app .group-title{font-size:24px;line-height:1.3}
#app .detail-copy h2{font-size:24px;line-height:1.3;letter-spacing:-.025em}
#app .product-features-heading h2{font-size:24px}
#app .product-feature-card h3{font-size:20px;line-height:1.3}
#app .product-card h3,#app .tile-copy h3{font-size:24px;line-height:1.25}
#app .quote-list-heading h2,#app .quote-form h2,#app .contact-layout h2{font-size:28px;line-height:1.25}
#modal h2{font-size:28px;line-height:1.25}
#app .product-configurator h2,#modal .product-configurator h2{font-size:24px}
#app p,#footer p,#modal p{line-height:1.75}
#app .section{padding-block:80px}
#app .investment-strip{padding-block:60px}
#app .filter-options button,#app .filter-select{font-size:14px}
@media(max-width:760px){
 #app .hero.home h1{font-size:clamp(36px,9vw,48px)}
 #app .filters h2{font-size:22px;margin-bottom:18px}
 #app .catalog-section-head h2{font-size:26px}
 #app .detail-copy h2,#app .product-features-heading h2,#app .group-title{font-size:22px}
 #app .product-card h3,#app .tile-copy h3{font-size:22px}
 #app .quote-list-heading h2,#app .quote-form h2,#app .contact-layout h2,#modal h2{font-size:24px}
 #app .product-configurator h2,#modal .product-configurator h2{font-size:22px}
 #app .section{padding-block:52px}
 #app .investment-strip{padding-block:44px}
}

/* Text spacing based on Oriwood title, light-title and product section rules. */
:root{--space-label-title:5px;--space-title-copy:20px;--space-copy-copy:20px;--space-copy-action:40px;--space-section-content:40px}
#app :is(.section-head,.featured-copy,.about-copy,.detail-copy,.catalog-section-head,.product-features-heading,.investment-strip)>.eyebrow{margin-bottom:var(--space-label-title)}
#app .section-head{margin-bottom:var(--space-section-content)}
#app .section-head h2{margin-bottom:0}
#app .section-head>p{margin-top:var(--space-title-copy)}
#app :is(.featured-copy,.about-copy,.story-intro) :is(h2,h3){margin-bottom:var(--space-title-copy)}
#app :is(.featured-copy,.about-copy)>p{margin-bottom:0}
#app :is(.featured-copy,.about-copy)>p+p{margin-top:var(--space-copy-copy)}
#app :is(.featured-copy,.about-copy)>.btn{margin-top:var(--space-copy-action)}
#app .investment-strip .eyebrow{margin-bottom:var(--space-label-title)}
#app .investment-strip p{margin-top:var(--space-title-copy)}
#app .investment-strip-action{margin-top:var(--space-copy-action)}
#app .detail-copy h1{margin-bottom:var(--space-title-copy)}
#app .detail-copy .subtitle{margin-bottom:var(--space-title-copy)}
#app .product-editorial{margin-top:var(--space-title-copy)}
#app .detail-copy p+p{margin-top:var(--space-copy-copy)}
#app .detail-block{margin-top:40px;padding-top:40px}
#app .detail-block h2{margin-bottom:var(--space-title-copy)}
#app .product-features-heading h2{margin-bottom:var(--space-title-copy)}
#app .product-features-heading{margin-bottom:var(--space-section-content)}
#app .product-feature-card h3{margin-bottom:10px}
#app .product-partners{margin-top:40px}
#app .catalog-section-head{margin-bottom:var(--space-section-content)}
#app .hero p{margin-top:20px;margin-bottom:0}
#app .hero p+.btn{margin-top:52px}
@media(max-width:760px){
 :root{--space-copy-action:30px;--space-section-content:30px}
 #app .detail-block{margin-top:30px;padding-top:30px}
 #app .product-partners{margin-top:30px}
 #app .hero p+.btn{margin-top:40px}
}
/* Home headings also occur inside heading-row wrappers. */
#app .section-head .eyebrow,#app .projects-head>.eyebrow{margin-bottom:var(--space-label-title)}
#app .section-head:has(+.section-intro){margin-bottom:var(--space-title-copy)}
#app .section-head+.section-intro{margin-top:0}
#app .projects-head>.section-intro{margin-top:var(--space-title-copy)}

/* Eyebrow labels follow the body text size across every page and section. */
:is(#app,#footer,#modal) .eyebrow{font-size:var(--type-body)!important}

/* Footer option 3: full wordmark with a centered signature below. */
#footer .footer-brand-group{display:flex;flex-direction:column;align-items:center;gap:12px;flex:none}
#footer .footer-brand-group .logo-small{width:156px;height:auto;filter:none}
#footer .footer-copyright{font-size:11px;line-height:1.5;color:#b4b8c7;white-space:nowrap}
#footer .bottom-bar{align-items:center;padding-bottom:0}
@media(max-width:760px){#footer .bottom-bar{flex-wrap:nowrap}#footer .footer-brand-group .logo-small{width:140px}}

/* 0.6.13 — downloads title spans its group; longer signature wraps safely. */
#footer .footer-base > .container > .eyebrow{text-align:center}
#footer .footer-brand-group{min-width:0;max-width:100%}
#footer .footer-copyright{white-space:normal;text-align:center;max-width:270px}
#footer .bottom-bar nav{min-width:0;flex-wrap:wrap}
@media(max-width:760px){#footer .footer-brand-group{flex:0 1 270px}#footer .bottom-bar{gap:18px}#footer .bottom-bar > small{flex:none}}
