:root {
    --ink: #0b1930;
    --ink-soft: #344154;
    --blue: #185cad;
    --blue-bright: #2f73dd;
    --blue-pale: #edf5ff;
    --line: #dce4ed;
    --paper: #f5f7fa;
    --white: #ffffff;
    --success: #087b58;
    --danger: #a52d35;
    --shadow: 0 24px 60px rgba(8, 25, 48, .12);
    --radius: 18px;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-soft); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: clamp(54px, 5vw, 76px) 0; }
.section-sm { padding: clamp(42px, 4vw, 62px) 0; }
.section-paper { background: var(--paper); }
.section-dark { color: var(--white); background: var(--ink); }
.section-dark p { color: #c4cfdd; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-head h2 { max-width: 760px; margin-bottom: 0; }
.section-head p { max-width: 480px; margin-bottom: 4px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.eyebrow-light { color: #86b8ff; }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.6; }
.kicker { color: var(--blue); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.utility-bar { color: #dbe7f4; background: #071426; font-size: .72rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner p { margin: 0; color: inherit; letter-spacing: .04em; text-transform: uppercase; }
.utility-inner p span { margin-left: 15px; color: #8291a4; }
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links a:hover { color: var(--white); }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
    backdrop-filter: blur(14px);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(8,25,48,.06); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: auto; height: 48px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > a, .nav-dropdown-control > a { position: relative; color: #344154; font-size: .82rem; font-weight: 700; }
.site-nav > a:not(.nav-cta)::after, .nav-dropdown-control > a::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.site-nav > a:hover, .site-nav > a.active, .nav-dropdown-control > a:hover, .nav-dropdown-control > a.active { color: var(--ink); }
.site-nav > a:hover::after, .site-nav > a.active::after, .nav-dropdown-control > a:hover::after, .nav-dropdown-control > a.active::after { transform: scaleX(1); }
.site-nav .nav-cta { padding: 13px 19px; color: var(--white); background: var(--blue); border-radius: 5px; }
.site-nav .nav-cta:hover { background: #104d92; }
.nav-dropdown { position: relative; }
.nav-dropdown-control { display: flex; align-items: center; gap: 3px; }
.nav-dropdown-toggle { appearance: none; -webkit-appearance: none; display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; margin: 0; padding: 0; color: #66758a; background: transparent; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer; transition: color .2s, background-color .2s; }
.nav-dropdown-toggle span { display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); transform-origin: center; transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-toggle, .nav-dropdown:focus-within .nav-dropdown-toggle, .nav-dropdown.open .nav-dropdown-toggle { color: var(--blue); background: var(--blue-pale); }
.nav-dropdown:hover .nav-dropdown-toggle span, .nav-dropdown:focus-within .nav-dropdown-toggle span, .nav-dropdown.open .nav-dropdown-toggle span { transform: rotate(225deg) translate(-1px, -1px); }
.nav-dropdown-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nav-dropdown-menu { position: absolute; z-index: 160; top: calc(100% + 22px); left: 50%; width: 360px; padding: 20px; visibility: hidden; opacity: 0; pointer-events: none; background: rgba(255,255,255,.99); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 8px; box-shadow: 0 24px 60px rgba(8,25,48,.18); transform: translate(-50%, 10px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-dropdown-menu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 25px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-products-menu { width: min(860px, calc(100vw - 40px)); display: grid; grid-template-columns: 1fr 1fr .85fr; gap: 14px; }
.nav-menu-column { min-width: 0; display: grid; align-content: start; gap: 4px; padding: 8px; }
.nav-menu-column + .nav-menu-column { border-left: 1px solid var(--line); }
.nav-menu-column > a { display: block; padding: 8px 9px; color: #536174; border-radius: 4px; font-size: .75rem; font-weight: 700; line-height: 1.35; }
.nav-menu-column > a:hover { color: var(--blue); background: var(--blue-pale); }
.nav-menu-heading { margin-bottom: 5px; color: var(--ink) !important; background: #f5f8fc; }
.nav-menu-heading span, .nav-menu-heading strong { display: block; }
.nav-menu-heading span { margin-bottom: 3px; color: var(--blue); font-size: .59rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.nav-menu-heading strong { font: 800 .82rem "Montserrat", sans-serif; }
.nav-menu-feature { background: #f7f9fc; border-radius: 6px; }
.nav-menu-feature p { margin: 4px 9px 8px; color: #6a7788; font-size: .7rem; line-height: 1.45; }
.nav-menu-action { color: var(--blue) !important; }
.menu-toggle { display: none; width: 45px; height: 44px; padding: 9px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

.flash { padding: 12px 0; font-size: .9rem; font-weight: 700; }
.flash-success { color: #04553d; background: #dff8ee; }
.flash-error { color: #7e1e26; background: #fdebed; }

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 24px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 5px;
    font-size: .87rem;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(24,92,173,.17);
    transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); background: #104d92; border-color: #104d92; }
.button-outline { color: var(--ink); background: transparent; border-color: #aab5c3; box-shadow: none; }
.button-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-white { color: var(--ink); background: var(--white); border-color: var(--white); box-shadow: none; }
.button-white:hover { color: var(--white); background: transparent; }
.button-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 800; }
.button-link:hover { gap: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,16,32,.96) 0%, rgba(5,16,32,.81) 39%, rgba(5,16,32,.18) 74%, rgba(5,16,32,.05) 100%); z-index: 1; }
.hero::after { content: ""; position: absolute; z-index: 2; bottom: 0; left: 0; width: 42%; height: 7px; background: var(--blue-bright); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 3; max-width: 770px; padding: 90px 0 104px; }
.hero h1 { max-width: 720px; margin-bottom: 26px; color: var(--white); }
.hero h1 em { color: #6da6f6; font-style: normal; }
.hero .lead { max-width: 680px; margin-bottom: 38px; color: #d6e0ec; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; color: #c5d1df; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 7px; height: 7px; background: #6da6f6; border-radius: 50%; }

.metrics { position: relative; z-index: 5; margin-top: -44px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); box-shadow: var(--shadow); }
.metric { min-height: 126px; padding: 29px 31px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: 3px; color: var(--blue); font-size: 1.65rem; line-height: 1; letter-spacing: -.04em; }
.metric span { color: #526174; font-size: .78rem; font-weight: 700; line-height: 1.4; text-transform: uppercase; }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 120px); align-items: start; }
.home-about-section { padding-bottom: clamp(52px, 4vw, 70px); }
.home-systems-section { padding-top: clamp(52px, 4vw, 70px); }
.intro-grid h2 { margin-bottom: 25px; }
.intro-aside { position: relative; padding: 8px 0 0 34px; border-left: 3px solid var(--blue); }
.intro-aside p { margin-bottom: 25px; font-size: 1.09rem; }
.company-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 13px; background: var(--blue-pale); color: var(--blue); font-size: .78rem; font-weight: 800; }
.company-chip::before { content: ""; width: 8px; height: 8px; background: #12a274; border-radius: 50%; box-shadow: 0 0 0 4px rgba(18,162,116,.13); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 25px; }
.product-card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-card .card-primary-link::after { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.product-card .card-primary-link:focus-visible { outline: 0; }
.product-card .card-primary-link:focus-visible::after { outline: 3px solid var(--blue); outline-offset: -3px; }
.product-card .datasheet-link { position: relative; z-index: 2; }
.product-card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #e8edf3; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-card-image img { transform: scale(1.025); }
.product-card-code { position: absolute; top: 18px; left: 18px; padding: 7px 11px; color: var(--white); background: rgba(8,25,48,.9); border-left: 3px solid #62a0f7; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-card-body { padding: 31px; }
.product-card-body h3 { margin-bottom: 8px; font-size: 1.7rem; }
.product-card-body .material { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.product-card-body p { min-height: 80px; margin: 17px 0 24px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #2b3a50; border: 1px solid #2b3a50; }
.feature-item { min-height: 230px; padding: 34px 28px; background: var(--ink); }
.feature-number { display: inline-grid; place-items: center; width: 43px; height: 43px; margin-bottom: 36px; color: #8dbaff; border: 1px solid #3e526d; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.feature-item h3 { color: var(--white); }
.feature-item p { margin-bottom: 0; font-size: .9rem; }

.application-band { overflow: hidden; }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.application-card { position: relative; min-height: 245px; padding: 30px; display: flex; align-items: end; overflow: hidden; background: #dbe4ee; }
.application-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,20,38,.92), rgba(6,20,38,.05)); }
.application-card:nth-child(1) { background: linear-gradient(135deg, #8796a8, #26364b); }
.application-card:nth-child(2) { background: linear-gradient(135deg, #7c8997, #17253a); }
.application-card:nth-child(3) { background: linear-gradient(135deg, #a6b1bc, #38495e); }
.application-card:nth-child(4) { background: linear-gradient(135deg, #62788e, #14253b); }
.application-card::after { content: ""; position: absolute; width: 180px; height: 180px; top: -35px; right: -55px; border: 28px solid rgba(255,255,255,.12); border-radius: 50%; }
.application-card h3 { position: relative; z-index: 1; margin: 0; color: var(--white); font-size: 1.25rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.post-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.post-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--paper); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-body { padding: 26px; }
.post-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: #66768b; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.post-meta span:first-child { color: var(--blue); }
.post-card h3 { margin-bottom: 13px; }
.post-card p { font-size: .9rem; }

.page-hero { position: relative; overflow: hidden; padding: 94px 0 86px; color: var(--white); background: var(--ink); }
.page-hero::after { content: ""; position: absolute; width: 500px; height: 500px; right: -160px; top: -260px; border: 90px solid rgba(64,128,222,.17); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 900px; margin: 0 0 22px; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.page-hero p { max-width: 760px; margin: 0; color: #c7d3e0; font-size: 1.15rem; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 34px; color: #8e9db0; font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--white); }

.product-detail-hero { padding: 76px 0; background: var(--paper); }
.product-detail-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(45px, 8vw, 105px); }
.product-detail-image { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-detail-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-detail-content h1 { margin-bottom: 15px; font-size: clamp(2.8rem, 5vw, 5rem); }
.product-detail-content .material { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-detail-content .lead { margin: 24px 0 32px; }
.product-quick-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0; border-block: 1px solid var(--line); }
.quick-spec { padding: 18px 12px 18px 0; }
.quick-spec strong { display: block; color: var(--blue); font-size: 1.03rem; }
.quick-spec span { color: #657386; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.prose { color: var(--ink-soft); }
.prose p { margin-bottom: 1.5em; }
.prose strong { color: var(--ink); }
.two-column-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink-soft); font-weight: 650; }
.check-list li::before { content: ""; position: absolute; top: .52em; left: 0; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.applications-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.applications-list li { padding: 9px 13px; background: var(--blue-pale); color: #164e8e; font-size: .78rem; font-weight: 800; }

.product-range-section { background: linear-gradient(145deg, #f5f8fc 0%, #eaf1f9 100%); }
.product-range-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 44px; }
.product-range-head h2 { max-width: 760px; margin-bottom: 0; }
.product-range-head > p { max-width: 480px; margin-bottom: 4px; }
.product-range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-range-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-range-card { min-width: 0; display: flex; overflow: hidden; flex-direction: column; color: inherit; background: var(--white); border: 1px solid #d8e2ed; border-radius: 15px; box-shadow: 0 15px 40px rgba(8,25,48,.07); transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-range-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(8,25,48,.12); }
.product-range-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.product-range-image { display: grid; aspect-ratio: 4 / 3; place-items: center; padding: 20px; overflow: hidden; background: #fff; border-bottom: 1px solid #e1e8f0; }
.product-range-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.product-range-card:hover .product-range-image img { transform: scale(1.035); }
.product-range-copy { display: flex; flex: 1; flex-direction: column; padding: 27px 28px 30px; }
.product-range-copy > span { display: block; margin-bottom: 9px; color: var(--blue); font: 800 .67rem "Montserrat", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.product-range-copy h3 { margin-bottom: 12px; font-size: 1.42rem; }
.product-range-copy p { margin: 0 0 22px; }
.product-range-cta { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: var(--blue); font: 800 .78rem "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .05em; transition: gap .2s; }
.product-range-card:hover .product-range-cta { gap: 13px; }
.product-range-banner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; margin-top: 26px; overflow: hidden; color: var(--white); background: var(--ink); border-radius: 15px; box-shadow: 0 18px 45px rgba(8,25,48,.14); }
.product-range-banner > img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.product-range-banner > div { align-self: center; padding: clamp(30px, 5vw, 55px); }
.product-range-banner .eyebrow { color: #83b6fb; }
.product-range-banner h3 { margin-bottom: 15px; color: var(--white); font-size: clamp(1.55rem, 3vw, 2.2rem); }
.product-range-banner p { margin: 0; color: #c8d5e4; }
.product-applications-showcase { margin-top: clamp(40px, 5vw, 62px); padding-top: clamp(34px, 4vw, 48px); border-top: 1px solid #cdd9e6; }
.product-applications-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.product-applications-head h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.product-applications-head > p { max-width: 520px; margin: 0; }
.product-application-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-application-card { position: relative; min-width: 0; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: #0b1930; border-radius: 12px; box-shadow: 0 12px 30px rgba(8,25,48,.11); }
.product-application-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-application-card:hover img { transform: scale(1.025); }
.product-application-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 30px 16px 14px; color: var(--white); background: linear-gradient(transparent, rgba(4,14,28,.9)); font: 700 .73rem "Montserrat", sans-serif; }

.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.spec-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 15px 19px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { color: #657386; background: #f0f4f8; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.spec-table td { color: #344154; font-size: .88rem; }
.spec-table td:first-child { color: var(--ink); font-weight: 800; }
.spec-table tr:last-child td { border-bottom: 0; }
.size-panel { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; padding: 36px; background: var(--blue-pale); border-left: 5px solid var(--blue); }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
.company-card { padding: 36px; color: var(--white); background: var(--ink); }
.company-card h3 { margin-bottom: 28px; color: var(--white); }
.company-facts { display: grid; gap: 0; margin: 0; }
.company-facts div { display: grid; grid-template-columns: 145px 1fr; gap: 15px; padding: 16px 0; border-top: 1px solid #2a3b52; }
.company-facts dt { color: #8293a8; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.company-facts dd { margin: 0; color: var(--white); font-weight: 700; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 32px; border-top: 4px solid var(--blue); background: var(--white); box-shadow: 0 14px 40px rgba(8,25,48,.07); }
.value-card span { color: #9aabc0; font-size: 2.2rem; font-weight: 900; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.contact-details { display: grid; gap: 12px; }
.contact-item { padding: 23px; border: 1px solid var(--line); }
.contact-item span { display: block; margin-bottom: 7px; color: #758499; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-item a, .contact-item address { color: var(--ink); font-style: normal; font-weight: 700; }
.form-card { padding: clamp(28px, 5vw, 48px); background: var(--white); box-shadow: var(--shadow); }
.form-card#enquiry-form { scroll-margin-top: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .78rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 51px; padding: 12px 14px; color: var(--ink); background: #f8fafc; border: 1px solid #ccd6e1; border-radius: 3px; outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,92,173,.12); }
.field-error { color: var(--danger); font-size: .76rem; font-weight: 700; }
.honeypot { position: absolute; left: -9999px; }
.form-note { color: #718096; font-size: .75rem; }
.quote-prefill-note { margin: -8px 0 24px; padding: 13px 15px; color: #164e8e; background: var(--blue-pale); border-left: 3px solid var(--blue); font-size: .82rem; }

.article { padding: 80px 0 110px; }
.article-header { max-width: 900px; margin: 0 auto 48px; }
.article-header h1 { margin: 22px 0; font-size: clamp(2.7rem, 5vw, 4.7rem); }
.article-image { width: min(calc(100% - 40px), 1080px); max-height: 580px; margin: 0 auto 55px; object-fit: cover; aspect-ratio: 16/8; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { color: #2f3f52; font-size: 1.08rem; line-height: 1.85; }
.article-body p:first-child::first-letter { float: left; margin: 7px 10px 0 0; color: var(--blue); font-size: 4.8rem; font-weight: 900; line-height: .72; }
.back-link { display: inline-flex; gap: 9px; color: var(--blue); font-weight: 800; }

.footer-cta { color: var(--white); background: var(--blue); }
.footer-cta-inner { min-height: 285px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.footer-cta h2 { margin-bottom: 13px; color: var(--white); }
.footer-cta p { max-width: 700px; margin-bottom: 0; color: #d9e9ff; }
.site-footer { color: #ced8e4; background: #071426; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .75fr .75fr 1fr; gap: 60px; padding: 78px 0 60px; }
.footer-logo-link { display: inline-flex; margin-bottom: 25px; padding: 11px 14px; background: var(--white); border-radius: 5px; }
.footer-logo { height: 39px; }
.footer-brand p { max-width: 370px; color: #8f9db0; }
.footer-note { color: #6fa7f7; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-footer h3 { color: var(--white); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 8px; margin: 21px 0 0; padding: 0; list-style: none; }
.site-footer li a, .footer-contact a { color: #9cabbc; font-size: .88rem; }
.site-footer a:hover { color: var(--white); }
.footer-contact { display: grid; align-content: start; gap: 9px; }
.footer-contact address { margin: 12px 0; color: #9cabbc; font-size: .86rem; font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0 27px; border-top: 1px solid #203047; }
.footer-bottom p { margin: 0; color: #6f7e91; font-size: .68rem; }

.empty-state { padding: 50px; text-align: center; border: 1px dashed #aebaca; background: var(--paper); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 45px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); font-weight: 700; }
.pagination .current { color: var(--white); background: var(--blue); border-color: var(--blue); }

@media (max-width: 1020px) {
    .site-nav { position: fixed; inset: 122px 0 auto; max-height: calc(100vh - 122px); display: none; align-items: stretch; gap: 0; overflow-y: auto; padding: 20px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 35px 45px rgba(8,25,48,.15); }
    .site-nav.open { display: grid; }
    .site-nav > a { padding: 15px 8px; border-bottom: 1px solid var(--line); }
    .site-nav a::after { display: none; }
    .nav-dropdown-control { display: grid; grid-template-columns: 1fr 48px; border-bottom: 1px solid var(--line); }
    .nav-dropdown-control > a { padding: 15px 8px; }
    .nav-dropdown-toggle { width: 48px; height: 100%; border-radius: 0; }
    .nav-dropdown-menu { position: static; width: auto; display: none; margin: 0 0 10px 8px; padding: 10px 12px; visibility: visible; opacity: 1; pointer-events: auto; border: 0; border-left: 3px solid var(--blue); border-radius: 0; box-shadow: none; transform: none; transition: none; }
    .nav-dropdown:not(.open) .nav-dropdown-menu { display: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: grid; transform: none; }
    .nav-dropdown-menu::before { display: none; }
    .nav-products-menu { grid-template-columns: 1fr; }
    .nav-menu-column + .nav-menu-column { border-top: 1px solid var(--line); border-left: 0; }
    .nav-menu-column > a { padding: 9px; border-bottom: 0; }
    .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
    .menu-toggle { display: block; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .metric:nth-child(2) { border-right: 0; }
    .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .feature-grid, .application-grid { grid-template-columns: repeat(2, 1fr); }
    .product-range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-range-grid-3 .product-range-card:last-child { grid-column: 1 / -1; }
    .product-application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; }
    .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .utility-inner { min-height: 30px; justify-content: center; }
    .utility-inner p span, .utility-links { display: none; }
    .header-inner { min-height: 78px; }
    .brand-logo { height: 39px; }
    .footer-logo { height: 35px; }
    .site-nav { top: 108px; }
    .section-head, .footer-cta-inner { align-items: flex-start; flex-direction: column; }
    .product-range-head { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 30px; }
    .product-applications-head { align-items: flex-start; flex-direction: column; gap: 16px; }
    .hero { min-height: 690px; }
    .hero::before { background: linear-gradient(90deg, rgba(5,16,32,.95), rgba(5,16,32,.72)); }
    .hero-image { object-position: 63% center; opacity: .78; }
    .hero-content { padding: 74px 0 96px; }
    .hero-proof { display: grid; }
    .metrics { margin-top: 0; }
    .metrics .container { width: 100%; }
    .metrics-grid { grid-template-columns: 1fr 1fr; box-shadow: none; }
    .metric { min-height: 112px; padding: 23px 20px; }
    .intro-grid, .product-grid, .post-grid, .product-detail-grid, .two-column-content, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .intro-grid, .about-grid, .contact-grid { gap: 42px; }
    .home-about-section { padding-bottom: 44px; }
    .home-systems-section { padding-top: 44px; }
    .product-grid, .post-grid { gap: 18px; }
    .product-range-grid { grid-template-columns: 1fr; gap: 18px; }
    .product-range-grid-3 .product-range-card:last-child { grid-column: auto; }
    .product-application-grid { grid-template-columns: 1fr; }
    .product-range-banner { grid-template-columns: 1fr; }
    .product-range-banner > img { min-height: 0; aspect-ratio: 16 / 9; }
    .product-card-body p { min-height: 0; }
    .feature-grid, .application-grid, .value-grid { grid-template-columns: 1fr; }
    .feature-item { min-height: auto; }
    .product-detail-hero { padding: 46px 0 62px; }
    .product-detail-grid { gap: 38px; }
    .product-detail-content { order: -1; }
    .product-quick-specs { grid-template-columns: 1fr; }
    .quick-spec { border-bottom: 1px solid var(--line); }
    .quick-spec:last-child { border-bottom: 0; }
    .size-panel { grid-template-columns: 1fr; padding: 27px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .footer-cta-inner { padding-block: 58px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 30px; padding-top: 58px; }
    .footer-brand, .footer-contact { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 9px; }
}

@media (max-width: 430px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .metric { border-right: 0; border-bottom: 1px solid var(--line); }
    .button-row { display: grid; }
    .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* XLPE tape catalogue and technical detail pages */
.tape-catalogue-hero::after { border-color: rgba(87,153,241,.2); }
.tape-catalogue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.tape-catalogue-card { display: grid; grid-template-columns: minmax(230px, .92fr) minmax(0, 1.08fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 42px rgba(8,25,48,.07); transition: transform .25s, box-shadow .25s; }
.tape-catalogue-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(8,25,48,.12); }
.tape-card-image { position: relative; min-height: 340px; display: grid; place-items: center; padding: 22px; overflow: hidden; background: linear-gradient(145deg, #f7f9fc, #e6edf5); }
.tape-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.tape-catalogue-card:hover .tape-card-image img { transform: scale(1.035); }
.tape-card-image span { position: absolute; top: 18px; left: 18px; padding: 7px 10px; color: var(--white); background: rgba(7,20,38,.9); border-left: 3px solid #5b9df8; font: 800 .62rem "Montserrat", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.tape-card-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(27px, 4vw, 42px); }
.tape-card-copy h2 { margin-bottom: 15px; font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.tape-card-copy h2 a:hover { color: var(--blue); }
.tape-card-copy p { margin-bottom: 27px; }
.tape-card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tape-card-actions .button { min-height: 45px; padding-inline: 16px; font-size: .74rem; }

.tape-detail-hero .product-gallery-stage { background: #fff; }
.tape-detail-hero .product-gallery-zoom > img { object-fit: contain; padding: clamp(18px, 4vw, 44px); }
.tape-quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0; border-block: 1px solid var(--line); }
.tape-quick-facts div { padding: 18px 12px 18px 0; }
.tape-quick-facts strong, .tape-quick-facts span { display: block; }
.tape-quick-facts strong { color: var(--blue); font: 800 1rem "Montserrat", sans-serif; }
.tape-quick-facts span { margin-top: 4px; color: #657386; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.tape-introduction { max-width: 900px; }
.tape-introduction h2 { margin-bottom: 22px; }
.tape-introduction p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.78; }
.tape-information-section { overflow: hidden; }
.tape-tabs { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto 34px; gap: 10px; }
.tape-tab { position: relative; min-height: 62px; padding: 10px 14px; color: var(--ink); background: #fff; border: 1px solid #dbe3ec; border-radius: 5px; font: 800 .74rem "Montserrat", sans-serif; letter-spacing: .035em; text-transform: uppercase; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.tape-tab::before { content: ""; position: absolute; top: -1px; right: -1px; left: -1px; height: 4px; background: transparent; border-radius: 5px 5px 0 0; }
.tape-tab:hover { color: var(--blue); border-color: #aac5e6; transform: translateY(-2px); }
.tape-tab.active { color: var(--blue); background: #f7fbff; border-color: #aac5e6; }
.tape-tab.active::before { background: var(--blue); }
.tape-tab-panel { max-width: 1060px; min-height: 350px; margin: 0 auto; padding: clamp(28px, 5vw, 54px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 45px rgba(8,25,48,.06); animation: tape-panel-in .3s ease both; }
.tape-tab-panel[hidden] { display: none; }
.tape-panel-heading { margin-bottom: 27px; }
.tape-panel-heading h2 { margin: 0; }
.tape-detail-list { display: grid; gap: 14px; max-width: 900px; margin: 0; padding: 0; list-style: none; }
.tape-detail-list li { position: relative; padding-left: 30px; color: #2d3b4f; font-size: 1rem; line-height: 1.62; }
.tape-detail-list li::before { content: ""; position: absolute; top: .67em; left: 0; width: 10px; height: 10px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(24,92,173,.1); }
.tape-spec-table .spec-table th { color: #fff; background: var(--blue); }
.tape-spec-table .spec-table td:nth-child(3) { color: var(--ink); font-weight: 800; }
.tape-subheading { margin: 38px 0 16px; font-size: 1.2rem; }
.tape-construction-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 8px; }
.tape-construction-grid div { min-width: 0; padding: 20px; background: #f8fafc; }
.tape-construction-grid span, .tape-construction-grid strong { display: block; }
.tape-construction-grid span { margin-bottom: 7px; color: var(--blue); font: 800 .65rem "Montserrat", sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.tape-construction-grid strong { color: var(--ink); font-size: .87rem; line-height: 1.45; }
.tape-size-table .spec-table { min-width: 520px; }
.tape-size-table .spec-table th, .tape-size-table .spec-table td { text-align: center; }
.tape-size-table .spec-table th { color: #fff; background: var(--blue); }
.tape-download-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 30px; background: var(--blue-pale); border-left: 5px solid var(--blue); }
.tape-download-card > div:first-child { max-width: 650px; }
.tape-download-card span { color: var(--blue); font: 800 .65rem "Montserrat", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.tape-download-card h3 { margin: 6px 0 9px; }
.tape-download-card p { margin: 0; }
.tape-handling-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tape-handling-grid article { position: relative; min-height: 210px; padding: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: 0 12px 32px rgba(8,25,48,.05); }
.tape-handling-grid article > span { position: absolute; top: 11px; right: 20px; color: #e4ebf3; font: 900 3.5rem "Montserrat", sans-serif; }
.tape-handling-grid h3 { position: relative; margin-bottom: 14px; font-size: 1.12rem; }
.tape-handling-grid p { position: relative; margin: 0; }
@keyframes tape-panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
    .tape-catalogue-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .tape-catalogue-card { grid-template-columns: 1fr; }
    .tape-card-image { min-height: 0; aspect-ratio: 4 / 3; }
    .tape-tabs { grid-template-columns: repeat(2, 1fr); }
    .tape-construction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tape-download-card { align-items: flex-start; flex-direction: column; }
    .tape-handling-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .tape-quick-facts { grid-template-columns: 1fr; }
    .tape-quick-facts div { border-bottom: 1px solid var(--line); }
    .tape-quick-facts div:last-child { border-bottom: 0; }
    .tape-tabs { grid-template-columns: 1fr; }
    .tape-construction-grid { grid-template-columns: 1fr; }
}

/* Brand typography and ambient movement */
.button, .button-link, .datasheet-link, .eyebrow, .material, .site-nav, .utility-bar, .product-card-code, .post-meta { font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif; }
body { position: relative; isolation: isolate; }
body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: -22%;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 28%, rgba(47,115,221,.13), transparent 24%),
        radial-gradient(circle at 82% 70%, rgba(24,92,173,.1), transparent 28%),
        linear-gradient(135deg, #fff 24%, #eef5fd 53%, #fff 78%);
    animation: ambient-shift 18s ease-in-out infinite alternate;
}
.section:not(.section-dark) { background-color: rgba(255,255,255,.91); }
.section-paper { background-color: rgba(245,247,250,.93); }
.page-hero::after { animation: hero-orbit 9s ease-in-out infinite alternate; }
@keyframes ambient-shift { to { transform: translate3d(5%, -3%, 0) rotate(2deg) scale(1.05); } }
@keyframes hero-orbit { to { transform: translate3d(-44px, 32px, 0) rotate(10deg); opacity: .7; } }

/* Product and documentation actions */
.card-actions { display: grid; gap: 12px; align-items: start; }
.datasheet-link { display: inline-flex; width: max-content; align-items: center; gap: 9px; color: var(--ink); font-size: .8rem; font-weight: 800; }
.datasheet-link:hover { color: var(--blue); }
.card-button-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; align-items: stretch; }
.card-button-row .button { min-width: 0; min-height: 48px; padding: 0 10px; text-align: center; font-size: .75rem; line-height: 1.2; box-shadow: 0 10px 20px rgba(24,92,173,.14); }
.card-button-row .button-outline { color: #134d91; background: #edf5ff; border-color: #9cbce5; box-shadow: none; }
.card-button-row .button-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }

/* Square product gallery */
.product-gallery { min-width: 0; }
.product-gallery-stage { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #e8edf3; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-gallery-zoom { position: relative; width: 100%; height: 100%; padding: 0; overflow: hidden; background: transparent; border: 0; cursor: zoom-in; }
.product-gallery-zoom > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s ease, transform .55s ease; }
.product-gallery-zoom:hover > img { transform: scale(1.025); }
.product-gallery-zoom > img.is-changing { opacity: .35; }
.gallery-expand-hint { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: var(--white); background: rgba(7,20,38,.83); border-radius: 30px; font: 700 .7rem "Montserrat", sans-serif; backdrop-filter: blur(8px); }
.gallery-arrow, .lightbox-arrow { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 43px; height: 43px; padding: 0; color: var(--ink); background: rgba(255,255,255,.94); border: 1px solid rgba(11,25,48,.12); border-radius: 50%; box-shadow: 0 8px 25px rgba(8,25,48,.16); transform: translateY(-50%); transition: background .2s, color .2s, transform .2s; }
.gallery-arrow:hover, .lightbox-arrow:hover { color: var(--white); background: var(--blue); transform: translateY(-50%) scale(1.06); }
.gallery-arrow-prev { left: 14px; }
.gallery-arrow-next { right: 14px; }
.product-gallery-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 74px)); gap: 10px; margin-top: 13px; }
.gallery-thumbnail { aspect-ratio: 1 / 1; padding: 3px; overflow: hidden; background: var(--white); border: 2px solid transparent; border-radius: 9px; opacity: .68; transition: opacity .2s, border-color .2s, transform .2s; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.gallery-thumbnail:hover, .gallery-thumbnail.active { opacity: 1; border-color: var(--blue); transform: translateY(-2px); }

/* Product image lightbox */
.image-lightbox, .document-modal { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .22s ease; }
.image-lightbox[hidden], .document-modal[hidden] { display: none; }
.image-lightbox.open, .document-modal.open { opacity: 1; }
.image-lightbox-backdrop, .document-modal-backdrop { position: absolute; inset: 0; background: rgba(3,11,23,.84); backdrop-filter: blur(10px); }
.image-lightbox-panel { position: relative; z-index: 2; width: min(88vw, 900px); margin: 0; color: var(--white); transform: translateY(24px) scale(.96); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.image-lightbox.open .image-lightbox-panel { transform: translateY(0) scale(1); }
.image-lightbox-panel > img { width: min(78vh, 820px); max-height: 78vh; aspect-ratio: 1 / 1; margin: auto; object-fit: contain; background: #071426; border-radius: 16px; box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.image-lightbox-panel figcaption { margin-top: 13px; color: #d9e3ef; text-align: center; font-size: .86rem; }
.modal-close { display: grid; place-items: center; width: 45px; height: 45px; padding: 0; color: var(--ink); background: var(--white); border: 0; border-radius: 50%; font-size: 1.8rem; line-height: 1; box-shadow: 0 9px 25px rgba(0,0,0,.2); transition: transform .2s, background .2s; }
.modal-close:hover { color: var(--white); background: var(--blue); transform: rotate(8deg) scale(1.06); }
.image-lightbox-close { position: absolute; z-index: 4; top: -18px; right: -18px; }
.lightbox-arrow-prev { left: -22px; }
.lightbox-arrow-next { right: -22px; }

/* PDF viewer */
.document-modal-panel { position: relative; z-index: 2; width: min(1180px, 96vw); height: min(900px, calc(100vh - 48px)); display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #eef3f8; border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.42); transform: translateY(25px) scale(.97); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.document-modal.open .document-modal-panel { transform: translateY(0) scale(1); }
.document-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px 18px 24px; color: var(--white); background: #071426; }
.document-modal-header span { color: #78aff8; font: 800 .64rem "Montserrat", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.document-modal-header h2 { margin: 3px 0 0; color: var(--white); font-size: 1.12rem; letter-spacing: -.02em; }
.document-modal-actions { display: flex; align-items: center; gap: 10px; }
.document-modal-actions .button { min-height: 43px; padding: 0 16px; font-size: .72rem; }
.document-frame-shell { min-height: 0; padding: 12px; }
.document-frame-shell iframe { width: 100%; height: 100%; background: #fff; border: 0; border-radius: 9px; }

/* Documentation library */
.document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.document-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 38px rgba(8,25,48,.06); }
.document-card-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e8edf3; }
.document-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.document-card:hover .document-card-image img { transform: scale(1.025); }
.document-type { position: absolute; top: 16px; right: 16px; padding: 7px 10px; color: var(--white); background: #d93842; border-radius: 4px; font: 900 .67rem "Montserrat", sans-serif; letter-spacing: .08em; }
.document-card-body { padding: 28px; }
.document-card-body .material { color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.document-card-body h2 { min-height: 3.25em; margin: 10px 0 13px; font-size: 1.27rem; line-height: 1.28; }
.document-card-body > p { min-height: 5.3em; font-size: .88rem; }
.document-meta { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0; padding-top: 14px; color: #718096; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 700; }
.documentation-support { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.documentation-support div { max-width: 780px; }
.documentation-support h2 { margin-bottom: 16px; }

/* Consistent landscape blog cards */
.post-card { display: flex; min-width: 0; flex-direction: column; border-radius: 14px; box-shadow: 0 12px 32px rgba(8,25,48,.05); }
.post-card-image { display: block; width: 100%; min-height: 0; aspect-ratio: 16 / 9; flex: 0 0 auto; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.post-card-body { display: flex; flex: 1; flex-direction: column; }
.post-card h2, .post-card h3 { margin-bottom: 13px; font-size: 1.3rem; line-height: 1.25; }
.post-card .button-link { margin-top: auto; }

@media (max-width: 980px) {
    .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .document-grid { grid-template-columns: 1fr; }
    .documentation-support { align-items: flex-start; flex-direction: column; }
    .document-card-body h2, .document-card-body > p { min-height: 0; }
    .document-modal { padding: 10px; }
    .document-modal-panel { width: 100%; height: calc(100vh - 20px); border-radius: 12px; }
    .document-modal-header { align-items: flex-start; padding: 14px; }
    .document-modal-header > div:first-child { min-width: 0; }
    .document-modal-header h2 { max-width: 48vw; overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
    .document-modal-actions .button { width: auto; min-height: 40px; padding: 0 10px; }
    .document-modal-actions .modal-close { width: 40px; height: 40px; }
    .image-lightbox { padding: 15px; }
    .image-lightbox-panel { width: 100%; }
    .lightbox-arrow-prev { left: 8px; }
    .lightbox-arrow-next { right: 8px; }
    .image-lightbox-close { top: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    body::before, .page-hero::after { animation: none !important; }
}
