/* CSB visual system: architectural imagery, quiet surfaces and engineering detail. */
:root {
    --csb-ink: #152126;
    --csb-night: #101c22;
    --csb-paper: #f6f5f1;
    --csb-white: #ffffff;
    --csb-orange: #ff9e32;
    --csb-orange-dark: #a44a00;
    --csb-muted: #59676d;
    --csb-line: #dce0dd;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--csb-paper); color: var(--csb-ink); font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.7; }
h1, h2, h3, h4 { color: inherit; font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif; font-weight: 650; line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.3rem; }
a { color: #365a66; text-underline-offset: .22em; }
a:hover { color: var(--csb-orange-dark); }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
main { min-width: 0; }
.content { padding: 0; }
.site-container { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.site-shell { min-width: 0; overflow: clip; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 11000; padding: .75rem 1rem; background: white; color: #152126; }
.skip-link:focus { top: 1rem; }
:is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid #d57817; outline-offset: 5px; }
.eyebrow { display: block; color: #775331; font-size: .7rem; font-weight: 700; letter-spacing: .17em; line-height: 1.6; text-transform: uppercase; }
.light-eyebrow { color: #d9e2e3; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem; min-height: 56px; padding: .9rem 1.3rem; border: 1px solid transparent; border-radius: 3px; font-size: .88rem; font-weight: 650; line-height: 1.4; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button span[aria-hidden] { font-size: 1.35rem; line-height: 1; }
.button-orange { background: var(--csb-orange); color: #172127; }
.button-orange:hover { background: #ffb65f; color: #172127; }
.button-dark { background: var(--csb-night); color: white; }
.button-dark:hover { background: #28434d; color: white; }
.button-glass { border-color: #ffffff70; background: #12232a40; color: white; backdrop-filter: blur(8px); }
.button-glass:hover { color: white; background: #ffffff18; border-color: white; }
.button-small { min-height: 44px; padding: .65rem .95rem; font-size: .8rem; gap: 1.25rem; }
.text-link { display: inline-flex; align-items: center; gap: 2rem; padding-block: .7rem; border-bottom: 1px solid #9ba6a5; color: var(--csb-ink); font-size: .88rem; font-weight: 650; text-decoration: none; }
.text-link span { font-size: 1.35rem; }
.light-link { color: white; border-color: #768589; }
.light-link:hover { color: var(--csb-orange); }

/* Persistent navigation, with native disclosure menus and a mobile menu. */
.site-header { position: sticky; top: 0; z-index: 500; color: #f7f7f3; background: var(--csb-night); border-bottom: 1px solid #ffffff1a; }
.header-inner { width: min(1420px, calc(100% - 72px)); min-height: 88px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: .75rem; color: white; text-decoration: none; }
.brand:hover { color: white; }
.brand svg { width: 43px; height: 43px; fill: none; stroke: var(--csb-orange); stroke-width: 2; }
.brand > span { display: flex; flex-direction: column; }
.brand strong { font-size: 2.1rem; line-height: .95; letter-spacing: -.08em; font-weight: 750; }
.brand-dot { color: var(--csb-orange); }
.brand small { font-size: .48rem; font-weight: 600; letter-spacing: .15em; margin-top: 6px; }
.main-navigation { display: flex; align-items: center; gap: 1.7rem; }
.main-navigation a { text-decoration: none; }
.navigation-link, .nav-dropdown > summary { color: #d7dfe1; font-size: .8rem; font-weight: 550; cursor: pointer; }
.navigation-link:hover, .nav-dropdown > summary:hover { color: white; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { display: flex; align-items: center; gap: .4rem; list-style: none; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary span { color: #aab8bc; }
.nav-dropdown[open] > summary { color: var(--csb-orange); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 28px); right: -24px; display: grid; grid-template-columns: 1fr 1fr; width: 510px; padding: 1.5rem; gap: 1.5rem; color: var(--csb-ink); background: white; border-top: 3px solid var(--csb-orange); box-shadow: 0 18px 50px #08161d30; }
.nav-dropdown-panel > div { display: flex; flex-direction: column; }
.dropdown-eyebrow { color: #6a777b; font-size: .58rem; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; margin-bottom: .65rem; }
.nav-dropdown-panel a { color: #243840; font-size: .85rem; padding: .4rem 0; }
.nav-dropdown-panel a:hover { color: var(--csb-orange-dark); }
.company-dropdown .nav-dropdown-panel { width: 250px; grid-template-columns: 1fr; }
.navigation-actions { display: flex; gap: 1.2rem; align-items: center; margin-left: .5rem; }
.navigation-quote { font-size: .78rem; color: #e1e7e7; white-space: nowrap; }
.navigation-quote:hover { color: var(--csb-orange); }
.navigation-quote span { margin-left: .5rem; }
.menu-toggle { display: none; }

/* Homepage: one continuous architectural hero. */
.is-home #main-content,
.is-home #main-content > .content { width: 100%; max-width: none; margin-inline: 0; padding-inline: 0 !important; }
.immersive-hero { position: relative; min-height: 730px; min-height: max(730px, calc(100svh - 88px)); color: white; background: #182831; isolation: isolate; }
.hero-photograph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #081820ed 0%, #081820bc 40%, #08182025 82%), linear-gradient(0deg, #071820da 0%, transparent 45%); }
.hero-content { position: relative; padding-top: clamp(90px, 10vh, 145px); padding-bottom: 160px; }
.hero-content .eyebrow { display: flex; gap: .7rem; align-items: center; margin-bottom: 1.8rem; font-size: .65rem; }
.hero-content .eyebrow > span { width: 7px; height: 7px; flex-shrink: 0; background: var(--csb-orange); }
.hero-content h1 { max-width: 910px; margin: 0 0 1.6rem; font-size: clamp(3rem, 5.7vw, 5.5rem); line-height: 1.025; letter-spacing: -.055em; font-weight: 600; }
.hero-content h1 > span { color: #ffb765; }
.hero-intro { max-width: 485px; color: #e2e8e8; font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-bottom { position: absolute; inset-inline: 0; bottom: 29px; display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid #ffffff40; font-size: .58rem; letter-spacing: .13em; color: #d5dfe0; }
.hero-bottom a { display: flex; gap: 2rem; align-items: center; color: white; font-size: .75rem; letter-spacing: 0; text-decoration: none; }
.hero-bottom a span { font-size: 1.25rem; }
.hero-photo-caption { position: absolute; right: 22px; top: 43%; writing-mode: vertical-rl; font-size: .5rem; font-weight: 600; letter-spacing: .16em; color: #e0e9e9; }

/* An editorial introduction, software output, and photographic applications. */
.system-intro { display: grid; grid-template-columns: .8fr 1.6fr; gap: 8rem; padding-block: 105px; }
.intro-label > p { margin-top: 2.5rem; color: #6a767a; font-size: .9rem; }
.intro-statement h2 { margin-bottom: 1.7rem; }
.intro-statement h2 span { color: #758180; }
.intro-statement > p { max-width: 660px; color: var(--csb-muted); }
.software-story { padding-block: 95px; background: #e9ece7; border-block: 1px solid #dce0d9; }
.software-story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6rem; }
.software-story-copy h2 { margin: 1.5rem 0; }
.software-story-copy > p:not(.eyebrow) { color: var(--csb-muted); max-width: 500px; }
.output-list { margin: 2rem 0; border-top: 1px solid #c3ccc6; }
.output-list > span { display: flex; gap: 1.2rem; padding: .85rem 0; border-bottom: 1px solid #c3ccc6; font-weight: 550; font-size: .88rem; }
.output-list i { color: #7d8b87; font-size: .65rem; font-style: normal; padding-top: .2rem; }
.drawing-stage { padding: 1.5rem; border: 1px solid #bdc7c2; background-color: #f4f5ef; background-image: linear-gradient(#b8c5bf24 1px, transparent 1px), linear-gradient(90deg, #b8c5bf24 1px, transparent 1px); background-size: 24px 24px; box-shadow: 20px 25px 0 #dbe2db; }
.drawing-stage-top { display: flex; align-items: center; gap: .5rem; color: #4c615c; font-size: .52rem; letter-spacing: .12em; }
.drawing-stage-top > span:last-child { margin-left: auto; }
.drawing-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: #8eaa91; }
.drawing-stage > img { display: block; width: 100%; height: 360px; object-fit: contain; margin-block: 1.5rem; mix-blend-mode: multiply; }
.drawing-stage-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #bcc7bf; padding-top: 1rem; color: #6a7972; font-size: .7rem; }
.drawing-stage-bottom strong { color: #304b3f; font-weight: 600; }
.technical-cross { font-size: 2rem; font-weight: 300; }
.applications-section { padding-block: 100px 110px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.section-heading .eyebrow { margin-bottom: 1rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 280px; margin-bottom: .25rem; color: var(--csb-muted); font-size: .88rem; }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.application-tile { position: relative; display: flex; align-items: flex-end; min-height: 465px; overflow: hidden; color: white; text-decoration: none; background: #24353e; isolation: isolate; }
.application-tile > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; transition: transform .65s; }
.application-tile::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, #06161ff0, #08151b10 80%); }
.application-tile:hover { color: white; }
.application-tile:hover > img { transform: scale(1.045); }
.tile-number { position: absolute; left: 25px; top: 26px; padding: 6px 9px; border: 1px solid #ffffff70; background: #0b20294f; backdrop-filter: blur(5px); font-size: .55rem; font-weight: 600; letter-spacing: .12em; }
.application-tile > div { width: 100%; padding: 28px; }
.application-tile h3 { font-size: clamp(1.6rem, 2.3vw, 2.15rem); font-weight: 550; margin-bottom: 1.5rem; }
.application-tile > div > span { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-top: 1px solid #ffffff50; padding-top: 1rem; font-size: .65rem; color: #e1e7e8; }
.application-tile b { font-size: 1.3rem; color: var(--csb-orange); font-weight: 400; }
.engineering-story { display: grid; grid-template-columns: 1fr 1fr; background: var(--csb-night); color: white; }
.engineering-photograph { position: relative; min-height: 620px; }
.engineering-photograph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.engineering-photograph > span { position: absolute; bottom: 2rem; left: 2rem; padding: .5rem .7rem; background: #0e2228cc; font-size: .55rem; letter-spacing: .12em; }
.engineering-story-copy { align-self: center; padding: 80px clamp(40px, 6vw, 110px); }
.engineering-story-copy h2 { margin: 1.5rem 0; font-size: clamp(2.1rem, 3.4vw, 3.5rem); }
.engineering-story-copy h2 span { color: #99acae; }
.engineering-story-copy > p:not(.eyebrow) { color: #bdcbce; font-size: .95rem; }
.engineering-story-copy .research-note { font-size: .8rem !important; padding-left: 1rem; margin-block: 1.8rem; border-left: 2px solid var(--csb-orange); }
.next-step-section { padding-block: 100px; }
.next-step-section > h2 { margin: 1rem 0 2.5rem; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience-card { display: block; padding: 42px; color: var(--csb-ink); text-decoration: none; transition: transform .2s; }
.audience-card:hover { color: var(--csb-ink); transform: translateY(-4px); }
.partner-card { background: var(--csb-orange); }
.partner-card .eyebrow { color: #4c3a22; }
.quote-card { background: #e5e9e3; }
.audience-card h3 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 600; margin: 2rem 0 1.2rem; }
.audience-card > p { max-width: 430px; font-size: .9rem; }
.audience-action { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #182b3240; padding-top: 1.4rem; margin-top: 2.4rem; font-size: .9rem; font-weight: 650; }
.audience-action b { font-size: 1.6rem; font-weight: 400; }

/* All existing content pages inherit the same typography and spacing. */
.inner-wayfinding { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding-top: 28px; font-size: .68rem; color: #778280; }
.inner-wayfinding a { color: #435a5d; text-decoration: none; }
.inner-wayfinding > span:last-child { max-width: 75%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-inner .content { padding-block: 0 80px; }
.is-inner .content > section.container { width: min(1120px, calc(100% - 112px)); padding: 52px 0 !important; }
.is-inner .content > section.buying-guide { max-width: 1020px; }
.is-inner .content > section > h1 { max-width: 990px; margin-bottom: 1.5rem; font-size: clamp(2.4rem, 4.3vw, 4rem); }
.is-inner .content p { color: #526368; }
.is-inner .content .lead { max-width: 850px; font-size: 1.23rem; color: #30474e; line-height: 1.6; margin-bottom: 1.4rem; }
.is-inner .buying-guide > h2 { font-size: 1.95rem; margin: 3rem 0 1rem; }
.is-inner .buying-guide > img { display: block; width: 100%; max-height: 470px; object-fit: cover; border-radius: 5px !important; margin-block: 2rem !important; }
.is-inner figure { padding: 2rem; background: #e5eae3; text-align: center; }
.is-inner figure > img { max-height: 430px; width: auto; }
.is-inner figcaption { font-size: .7rem; margin-top: 1rem; color: #5d6f68; }
.btn { border-radius: 3px; padding: .85rem 1.25rem; font-size: .86rem; font-weight: 650; line-height: 1.4; }
.btn-primary { background: var(--csb-orange); color: var(--csb-ink); border: 1px solid var(--csb-orange); }
.btn-primary:hover, .btn-primary:focus { background: #ffb660; border-color: #ffb660; color: #12222a; }
.csb-detail { border: 0; border-bottom: 1px solid #ccd4d0; border-radius: 0; background: transparent; margin: 0; padding: 1.35rem 0; }
.csb-detail summary { display: list-item; font-size: 1.03rem; font-weight: 600; cursor: pointer; color: #1c373f; }
.csb-detail[open] summary { color: #9c4a00; margin-bottom: 1rem; }
.project-enquiry { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 1.5rem 3rem; margin-top: 70px; padding: 45px; background: var(--csb-night); color: white; }
.project-enquiry h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .8rem 0 1rem !important; }
.project-enquiry p:not(.eyebrow) { color: #c5d2d5; font-size: .86rem; }
.project-enquiry .eyebrow { margin-bottom: 0; }
.project-enquiry-actions { display: flex; align-items: center; flex-direction: column; gap: 1rem; }
.project-enquiry-actions > .button { width: 100%; max-width: 300px; }
.project-phone { color: #f0f3f1; text-decoration: none; font-size: .9rem; }
.project-quote-link { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid #ffffff25; font-size: .7rem !important; }
.project-quote-link a { color: #f4c28a; }
.gallery-links { margin: 2rem 0; gap: .5rem; }
.gallery-links a { padding: .65rem 1rem; border: 1px solid #bac7c2; font-size: .78rem; color: #28444b; text-decoration: none; }
.gallery-links a:hover { border-color: #7b9290; background: #e7ece6; }
.building-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.building-gallery a { overflow: hidden; background: #d5ded7; }
.building-gallery img { border-radius: 0; transition: transform .4s; }
.building-gallery a:hover img { transform: scale(1.04); }
.project-rotator { padding: 2rem; border: 1px solid #ccd5ce; background: #e8ede6; }
.project-main-image { width: min(100%, 900px); }
.gallery-overlay { background: #0a171df7; }
.gallery-overlay .btn-light { background: #f2f2e9; color: #182a31; }

/* Forms remain functional, with grouped fields and visible focus states. */
.quote-enquiry { max-width: 1100px; width: calc(100% - 112px); margin: 0 auto 3rem; padding: 45px; border: 1px solid #d8dfd9 !important; border-radius: 5px; background: white; box-shadow: 0 20px 50px #162a3410; }
.quote-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border: 0; padding: 0; margin: 0 0 2.5rem; }
.quote-group legend { float: none; grid-column: 1 / -1; display: flex; align-items: center; gap: .8rem; width: 100%; font-size: 1.13rem; font-weight: 650; padding-bottom: 1rem; border-bottom: 1px solid #dce3dc; margin-bottom: 0; }
.quote-group legend span { font-size: .62rem; color: #8f592b; letter-spacing: .1em; }
.quote-group > .row { display: block; padding: 0 !important; margin: 0 !important; }
.quote-group .row > div { width: 100%; max-width: 100%; padding: 0; }
.quote-group label { display: block; color: #41555b; font-size: .77rem; font-weight: 550; margin-bottom: .6rem; }
.quote-openings { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quote-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-cladding { grid-column: 1 / -1; }
.quote-enquiry :is(input.form-control, select.form-control, textarea.form-control), .business-enquiry :is(input.form-control, textarea.form-control), .site-shell .contact-enquiry :is(input.form-control, textarea.form-control) { padding: .85rem 1rem; min-height: 50px; border: 1px solid #bdcbc5 !important; border-radius: 3px; background: #f8faf6 !important; color: #203a43 !important; font-size: .9rem; }
.quote-enquiry :is(input, select):focus, .business-enquiry :is(input, textarea):focus, .contact-enquiry :is(input, textarea):focus { border-color: #bd6e22 !important; box-shadow: 0 0 0 3px #ff9e3220; }
.quote-enquiry .row:has(#quote-consent) { margin: 0; padding: 1rem 0; border-top: 1px solid #e0e6df; }
.quote-enquiry label[for="quote-consent"] { color: #56696d; font-size: .79rem; font-weight: 400; line-height: 1.6; }
.quote-enquiry .row:has(#quote-consent) > .col { padding: 0; }
.quote-enquiry .row:has(#quote-consent) p { font-size: .75rem; }
.quote-enquiry > .row.p-4 { margin: 0; padding: .75rem 0 0 !important; }
.quote-enquiry > .row.p-4 > .col { padding: 0; }
.quote-enquiry button[type="submit"] { background: var(--csb-orange); color: #182a31; border: 1px solid var(--csb-orange); min-height: 56px; }
.quote-enquiry .validate, .business-enquiry .validation-errors { color: #922b20 !important; background: #fff0e9 !important; font-size: .84rem; border-radius: 3px; }
.quote-enquiry .validate:empty { display: none; }
.business-page { width: min(1200px, calc(100% - 112px)); margin: 55px auto !important; border: none !important; gap: 5%; align-items: flex-start; }
.business-page > div:first-child { flex: 0 0 47%; max-width: 47%; padding: 0; }
.business-page > div:last-child { flex: 0 0 48%; max-width: 48%; margin: 0 !important; padding: 0 !important; }
.business-page h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); margin-bottom: 1.5rem; }
.business-page h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.business-page ul { padding-left: 1.1rem; font-size: .9rem; }
.business-page li { padding-left: .3rem; margin-bottom: .65rem; }
.business-enquiry { padding: 28px; border: 1px solid #d6dfd7; background: white; box-shadow: 0 15px 40px #1c353d0a; }
.business-enquiry .row { margin: 0 0 1.1rem; padding: 0 !important; }
.business-enquiry .row > div { flex: 0 0 100%; max-width: 100%; width: 100%; text-align: left !important; padding: 0; }
.business-enquiry .row > .col-4 { font-size: .77rem; color: #526970; margin-bottom: .5rem; }
.business-enquiry label { font-size: .78rem; color: #526970; font-weight: 500; }
.business-enquiry button[type="submit"] { padding: 1rem; border: 1px solid var(--csb-orange); background: var(--csb-orange); color: var(--csb-ink); }
.business-enquiry .row:has(input[type="checkbox"]) > div { width: auto; flex-basis: auto; }
.business-enquiry .row:has(input[type="checkbox"]) { gap: 1rem; align-items: center; }
.contact-enquiry { padding: 0 !important; background: transparent; border: none; max-width: 1050px; margin: 55px auto; width: calc(100% - 112px); }
.contact-enquiry .contact-fields { width: 100%; margin-top: 2rem; padding: 2rem; background: white; border: 1px solid #d8e0d8; }
.contact-enquiry .bg-danger { background: #edf0e9 !important; padding: 1rem; }
.contact-enquiry .bg-danger span { font-size: .75rem; }
.site-shell .contact-enquiry input::placeholder, .site-shell .contact-enquiry textarea::placeholder { color: #6c8082 !important; }
.contact-enquiry button[type="submit"] { background: var(--csb-orange) !important; color: var(--csb-ink) !important; border: none; padding: 1rem; }

/* A useful, quieter footer and cookie notice. */
#footer.site-footer { padding-top: 75px; color: #d2dfe0; background: #0d1b21; text-align: left; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1.3fr; gap: 3rem; padding-bottom: 65px; }
.footer-wordmark { display: inline-block; color: white !important; font-size: 3rem; font-weight: 750; letter-spacing: -.08em; line-height: 1; text-decoration: none; }
.footer-wordmark span { color: var(--csb-orange); }
.footer-brand p { margin: 1.5rem 0 1rem; color: #aabdc1; font-size: .88rem; line-height: 1.7; }
.footer-contact { display: inline-flex; gap: 2rem; color: #e8efed !important; text-decoration: none; font-size: 1rem; }
.footer-contact span { color: var(--csb-orange); }
.footer-column h2 { font-size: .72rem; font-weight: 650; letter-spacing: 0; color: #eef3f0; margin: .4rem 0 1.4rem; }
.footer-column > a { display: block; color: #aabdc1 !important; font-size: .72rem; text-decoration: none; margin-bottom: .55rem; overflow-wrap: anywhere; }
.footer-column > a:hover { color: var(--csb-orange) !important; }
.footer-column p { color: #aabdc1; font-size: .72rem; line-height: 1.8; margin-block: 1rem; }
.footer-bottom { border-top: 1px solid #ffffff20; padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #839ba1; font-size: .6rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom a { color: #9fb2b6 !important; text-decoration: none; }
.cookie-popup { inset: auto 24px 24px auto; max-width: 420px; padding: 22px; text-align: left; border: 1px solid #ffffff30; border-radius: 5px; background: #182e35; box-shadow: 0 12px 50px #0004; color: #e6efeb; font-size: .75rem; z-index: 1000 !important; }
.cookie-popup .btn { margin-top: 1rem; display: block; padding: .5rem 1rem; font-size: .75rem; }

@media (min-width: 1600px) { .hero-content { padding-top: 140px; } .hero-content h1 { font-size: 6rem; } }
@media (max-width: 1150px) {
    .header-inner { width: calc(100% - 48px); gap: 1rem; }
    .main-navigation { gap: 1rem; }
    .navigation-actions { gap: .8rem; }
    .navigation-quote { font-size: .7rem; }
    .brand svg { width: 35px; }
    .brand strong { font-size: 1.8rem; }
    .brand small { font-size: .4rem; }
    .system-intro { gap: 4rem; }
    .software-story-grid { gap: 3rem; }
    .engineering-story-copy { padding: 55px 40px; }
    .footer-main { gap: 2rem; }
}
@media (max-width: 980px) {
    .site-container { width: calc(100% - 64px); }
    .header-inner { min-height: 78px; }
    .menu-toggle { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #ffffff40; border-radius: 3px; background: transparent; }
    .menu-toggle > span { display: block; width: 18px; height: 1px; background: white; }
    .main-navigation { display: none; position: absolute; inset: 78px 0 auto; max-height: calc(100dvh - 78px); overflow-y: auto; padding: 1rem 32px 2rem; background: #102229; border-top: 1px solid #ffffff20; }
    .main-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .navigation-link, .nav-dropdown > summary { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid #ffffff20; font-size: 1rem; }
    .nav-dropdown-panel, .company-dropdown .nav-dropdown-panel { position: static; width: 100%; margin: .5rem 0 1rem; padding: 1rem; box-shadow: none; }
    .navigation-actions { margin: 1.25rem 0 0; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
    .navigation-quote { font-size: .9rem; }
    .immersive-hero { min-height: 740px; }
    .hero-content { padding-top: 95px; }
    .hero-content h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
    .hero-photo-caption { display: none; }
    .system-intro { grid-template-columns: .65fr 1.35fr; gap: 2rem; padding-block: 75px; }
    .software-story { padding-block: 75px; }
    .software-story-grid { gap: 2rem; }
    .drawing-stage { box-shadow: 10px 15px 0 #dbe2db; padding: 1rem; }
    .drawing-stage > img { height: 300px; }
    .application-grid { gap: 12px; }
    .application-tile { min-height: 380px; }
    .application-tile > div { padding: 20px; }
    .application-tile h3 { font-size: 1.65rem; }
    .application-tile > div > span { font-size: .57rem; }
    .engineering-story { grid-template-columns: 1fr; }
    .engineering-photograph { min-height: 430px; }
    .engineering-story-copy { padding: 55px 56px; }
    .audience-card { padding: 30px; }
    .is-inner .content > section.container, .quote-enquiry, .contact-enquiry, .business-page { width: calc(100% - 64px); }
    .business-page { gap: 2rem; }
    .business-page > div:first-child, .business-page > div:last-child { flex: 0 0 100%; max-width: 100%; }
    .business-enquiry { max-width: 720px; }
    .footer-main { grid-template-columns: 1.2fr 1fr; gap: 3rem 2rem; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .site-container { width: calc(100% - 40px); }
    .header-inner { width: calc(100% - 36px); min-height: 74px; }
    .brand svg { width: 35px; height: 35px; }
    .brand strong { font-size: 1.8rem; }
    .brand small { font-size: .42rem; }
    .main-navigation { top: 74px; max-height: calc(100dvh - 74px); padding-inline: 22px; }
    .nav-dropdown-panel { gap: 1rem; }
    .nav-dropdown-panel a { font-size: .78rem; }
    .button { min-height: 54px; padding: .9rem 1.1rem; font-size: .8rem; gap: 1.2rem; }
    .immersive-hero { min-height: 720px; }
    .hero-photograph { object-position: 65% 50%; }
    .hero-shade { background: linear-gradient(90deg, #081820dd, #08182065), linear-gradient(0deg, #081820ee, transparent 90%); }
    .hero-content { padding-top: 70px; padding-bottom: 140px; }
    .hero-content .eyebrow { font-size: .54rem; letter-spacing: .12em; margin-bottom: 1.7rem; max-width: 290px; }
    .hero-content h1 { font-size: clamp(2.55rem, 10.7vw, 4.25rem); line-height: 1.06; letter-spacing: -.05em; }
    .hero-intro { font-size: .95rem; max-width: 320px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: .7rem; }
    .hero-actions .button { width: min(100%, 300px); }
    .hero-bottom { bottom: 22px; gap: 1rem; padding-top: 18px; }
    .hero-bottom > span { max-width: 150px; font-size: .48rem; }
    .hero-bottom > a { font-size: .65rem; gap: .8rem; }
    .system-intro { grid-template-columns: 1fr; gap: 1.7rem; padding-block: 60px; }
    .intro-label > p { display: none; }
    .intro-statement h2 { font-size: 2.05rem; }
    .intro-statement > p { font-size: .95rem; }
    .software-story { padding-block: 60px; }
    .software-story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .software-story-copy h2 { font-size: 2.1rem; }
    .drawing-stage { margin-right: 10px; }
    .drawing-stage > img { height: auto; max-height: 350px; }
    .applications-section { padding-block: 65px; }
    .section-heading { display: block; margin-bottom: 1.8rem; }
    .section-heading h2 { font-size: 2.1rem; }
    .section-heading > p { margin-top: 1.3rem; max-width: 100%; }
    .application-grid { grid-template-columns: 1fr; gap: 18px; }
    .application-tile { min-height: 390px; }
    .application-tile h3 { font-size: 2rem; }
    .application-tile > div { padding: 25px; }
    .application-tile > div > span { font-size: .7rem; }
    .engineering-photograph { min-height: 330px; }
    .engineering-story-copy { padding: 48px 24px; }
    .engineering-story-copy h2 { font-size: 2.25rem; }
    .next-step-section { padding-block: 60px; }
    .audience-grid { grid-template-columns: 1fr; gap: 18px; }
    .audience-card { padding: 28px; }
    .audience-card .eyebrow { font-size: .57rem; }
    .audience-card h3 { font-size: 2.3rem; margin-top: 1.5rem; }
    .inner-wayfinding { font-size: .6rem; padding-top: 22px; }
    .is-inner .content > section.container { width: calc(100% - 40px); padding-top: 35px !important; }
    .is-inner .content > section > h1 { font-size: 2.45rem; }
    .is-inner .content .lead { font-size: 1.05rem; }
    .is-inner .buying-guide > h2 { font-size: 1.7rem; }
    .is-inner .buying-guide > img { max-height: 300px; }
    .is-inner figure { padding: 1rem; }
    .project-enquiry { grid-template-columns: 1fr; padding: 28px 22px; gap: 1rem; margin-top: 45px; }
    .project-enquiry h2 { font-size: 1.9rem; }
    .project-enquiry-actions { align-items: flex-start; }
    .project-enquiry-actions .button { max-width: none; }
    .project-quote-link { font-size: .7rem !important; }
    .building-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .gallery-links { gap: .4rem; }
    .gallery-links a { font-size: .68rem; padding: .5rem .65rem; }
    .quote-enquiry { width: calc(100% - 32px); padding: 24px 20px; }
    .quote-group, .quote-openings, .quote-details { grid-template-columns: 1fr; gap: 18px; }
    .quote-group legend { font-size: 1rem; }
    .quote-group .row > div { margin-bottom: 0; }
    .quote-enquiry label { font-size: .8rem; }
    .business-page, .contact-enquiry { width: calc(100% - 40px); margin-top: 35px !important; }
    .business-enquiry, .contact-enquiry .contact-fields { padding: 22px; }
    .business-page h1 { font-size: 2.7rem; }
    .contact-enquiry h1 { font-size: 2.4rem; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.2rem; padding-bottom: 45px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-column:last-child { grid-column: 1 / -1; }
    .footer-column > a, .footer-column p { font-size: .75rem; }
    .footer-bottom { align-items: flex-start; flex-direction: column; font-size: .6rem; }
    .footer-bottom > div { gap: 1rem; }
    .footer-bottom > div > span { display: none; }
    .cookie-popup { inset: auto 12px 12px; max-width: none; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Engineering archive: permanent pages replacing the original hidden tabs. */
.engineering-dropdown .nav-dropdown-panel { width: 275px; grid-template-columns: 1fr; }
.engineering-subnav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 2rem 0; padding-bottom: 1rem; border-bottom: 1px solid #ccd6d0; }
.engineering-subnav a { padding: .65rem .85rem; color: #324c53; font-size: .77rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.engineering-subnav a:hover { border-color: #b4c2ba; }
.engineering-subnav a[aria-current="page"] { background: #14272f; color: white; }
.engineering-evidence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 2rem 0 3.5rem; }
.engineering-evidence-grid > a { display: flex; flex-direction: column; padding: 25px; background: #e7ece5; color: #20373e; text-decoration: none; border-top: 3px solid #ff9e32; }
.engineering-evidence-grid h2 { font-size: 1.45rem; margin: 1rem 0; }
.engineering-evidence-grid p { font-size: .85rem; }
.engineering-evidence-grid > a > span:last-child { font-size: .8rem; font-weight: 650; margin-top: auto; padding-top: 1rem; }
.engineering-archive-note { padding: 1rem 1.2rem; background: #e9ede6; border-left: 2px solid #a86c34; color: #566960; font-size: .8rem; }
.engineering-archive { margin-top: 2.5rem; }
.engineering-archive img { max-width: 100%; height: auto; margin: 1rem .5rem 1rem 0; }
.engineering-archive .InnovateBanner { max-height: 75px; max-width: 240px; object-fit: contain; }
.engineering-research-images { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 2rem 0; }
.engineering-research-images img { width: 100%; height: 220px; object-fit: contain; margin: 0; background: white; }
@media (max-width: 980px) { .engineering-dropdown .nav-dropdown-panel { width: 100%; } }
@media (max-width: 640px) { .engineering-evidence-grid { grid-template-columns: 1fr; } .engineering-subnav a { padding: .55rem .6rem; font-size: .7rem; } .engineering-research-images { grid-template-columns: 1fr; } .engineering-research-images img { height: auto; max-height: 380px; } }
