/* Latin subsets. The original font licenses are in fonts/clean-teal/. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/clean-teal/Manrope-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/clean-teal/Inter-latin.woff2") format("woff2"); }

/* White surfaces, blue controls and locally served fonts. */
:root {
  --ink: #111827;
  --muted: #4b5d75;
  --accent: #0059d6;
  --accent-hover: #0046aa;
  --accent-on-dark: #c5ddff;
  --accent-soft: #f3f8ff;
  --dark: #102749;
  --dark-line: #dde6f2;
  --on-dark-muted: #d5dce7;
  --paper: #fff;
  --white: #fff;
  --line: #dce6f3;
  --cta: #0059d6;
  --cta-hover: #0046aa;
  --on-cta: #fff;
  --radius: 18px;
  --page: 1200px;
  --feature: #fff;
  --on-feature: #111827;
  --display-font: "Manrope", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; padding-left: 0; color: var(--ink); background: var(--paper); font-family: "Inter", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--accent); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: "Manrope", Arial, sans-serif; margin: 0 0 .65em; color: var(--ink); font-weight: 550; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
ul, ol { padding-left: 1.35em; }
li { margin-bottom: .5em; }
.container { width: min(var(--page), calc(100% - 88px)); margin-inline: auto; }
.section { padding-block: 88px; background: var(--paper); }
.section + .section { border-top: 0; }
.section--white, .section.white, .section-white, .brands-section { background: var(--white); }
.section--blue, .section.blue, .section-blue { background: var(--accent-soft); }
.eyebrow { display: block; margin: 0 0 18px; color: var(--accent); font-size: .73rem; line-height: 1.5; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.section-heading { display: block; max-width: 960px; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:not(.eyebrow) { max-width: 790px; margin-top: 24px; color: var(--muted); }
.section-heading > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-size: .9rem; font-weight: 650; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 24px; color: var(--accent); font-size: .9rem; font-weight: 650; text-decoration: underline; }
.text-link:hover { text-decoration-thickness: 2px; }
.button, .btn-send { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 52px; padding: 14px 25px; border: 1px solid var(--cta); border-radius: 999px; background: var(--cta); color: var(--on-cta); font-size: .9rem; font-weight: 650; line-height: 1.5; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.button:hover, .btn-send:hover { color: var(--on-cta); background: var(--cta-hover); border-color: var(--cta-hover); }
.button.secondary, .button--secondary { border-color: var(--accent); background: transparent; color: var(--accent); }
.button.secondary:hover, .button--secondary:hover { border-color: var(--accent-hover); background: var(--accent-soft); color: var(--accent-hover); }
.button:disabled, .btn-send:disabled { cursor: wait; opacity: .65; }
.visually-hidden, .sr-only { position: absolute !important; 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: 100; left: 20px; top: -80px; background: var(--ink); color: white; padding: 12px 20px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: white; outline-color: var(--accent-on-dark); }

/* The logo keeps its original blue. Navigation also works without JavaScript. */
.site-header { position: sticky; top: 0; z-index: 30; width: 100%; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 86px; padding-block: 15px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 172px; max-height: 60px; object-fit: contain; }
#site-nav { display: flex; align-items: center; gap: 20px; font-size: .84rem; font-weight: 550; }
#site-nav > a, .nav-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 5px; color: var(--ink); text-decoration: none; line-height: 1.5; white-space: nowrap; }
#site-nav > a:hover, .nav-group > summary:hover, #site-nav [aria-current="page"] { color: var(--accent); }
#site-nav [aria-current="page"] { font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
#site-nav > a[href="contact.html"], #site-nav > a[href="/contact"] { padding-inline: 24px; margin-left: 8px; border-radius: 999px; background: var(--cta); color: var(--on-cta); }
#site-nav > a[href="contact.html"]:hover, #site-nav > a[href="/contact"]:hover { background: var(--cta-hover); }
.nav-group { position: relative; }
.nav-group > summary { list-style: none; user-select: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-right: 3px; border-bottom: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
.nav-group[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav-group > div, .nav-group > ul { position: absolute; top: 100%; left: -14px; min-width: 242px; padding: 10px; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 35px rgb(20 33 39 / .09); list-style: none; }
.nav-group a { display: block; padding: 12px; border-radius: 6px; color: var(--ink); font-size: .84rem; line-height: 1.5; text-decoration: none; white-space: normal; }
.nav-group a:hover { color: var(--accent); background: var(--paper); }
#nav-toggle { display: none; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: .82rem; font-weight: 650; }

/* All original slide messages and graphics remain in the shared-height track. */
.hero-slider { position: relative; background: var(--paper); color: var(--ink); padding-top: 28px; }
.hero-slide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 28px; width: min(var(--page), calc(100% - 88px)); margin-inline: auto; min-height: 430px; padding: 48px; border-radius: 28px; background: var(--accent-soft); }
.hero-slider.is-enhanced { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-slider.is-enhanced .hero-slide { grid-area: 1 / 1; }
.hero-slider.is-enhanced .hero-slide[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.hero-slider.is-enhanced .hero-controls { grid-area: 2 / 1; align-self: start; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 0 22px; align-items: center; min-width: 0; width: 100%; text-align: left; }
.hero-copy .eyebrow { flex-basis: 100%; margin-bottom: 18px; color: var(--accent); font-size: .67rem; letter-spacing: .12em; }
.hero-copy h1, .hero-copy h2 { flex-basis: 100%; margin: 0 0 22px; color: var(--ink); font-family: var(--display-font); font-size: clamp(2rem, 3.2vw, 2.875rem); font-weight: 650; line-height: 1.16; letter-spacing: -.035em; text-transform: none; text-wrap: balance; overflow-wrap: break-word; }
.hero-heading-accent { color: inherit; }
.hero-copy p:not(.eyebrow) { flex-basis: 100%; margin: 0 0 26px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.hero-copy .button { margin: 0; }
.hero-copy .text-link { margin: 8px 0; color: var(--accent); }
.hero-copy a:focus-visible { outline-color: var(--accent); }
.hero-media { width: 100%; height: 300px; min-width: 0; position: relative; margin: 0; overflow: hidden; background: var(--accent-soft); border-radius: var(--radius); touch-action: pan-y; }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-stage { isolation: isolate; overflow: visible; }
.hero-stage::before { content: ""; position: absolute; inset: 10% 0 0 8%; border-radius: 60% 45% 20% 25%; background: #e1efff; z-index: -1; }
.hero-stage > img { position: absolute; object-fit: contain; mix-blend-mode: multiply; }
.hero-stage .stage-computers { width: 64%; height: 78%; left: 0; top: 4%; }
.hero-stage .stage-tablets { width: 49%; height: 72%; left: 34%; bottom: 0; }
.hero-stage .stage-mobility { width: 33%; height: 63%; right: -1%; bottom: 0; }
.featured-products { padding-top: 8px; }
.hero-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; background: transparent; }
.hero-product-tile { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; }
.hero-product-tile img { width: 100%; height: 155px; object-fit: contain; }
.hero-product-tile > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: .94rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.hero-product-tile > span > span { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cta); color: var(--on-cta); }
.hero-product-tile:hover { color: var(--accent); border-color: var(--accent); }
.hero-controls { position: relative; display: flex; justify-content: flex-start; align-items: center; gap: 12px; width: min(var(--page), calc(100% - 88px)); margin: 0 auto; padding: 16px 0 22px; z-index: 2; }
.hero-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); font-size: 1.1rem; }
.hero-controls button:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.hero-controls button:focus-visible { outline-color: var(--accent); }
.hero-controls .slide-count { min-width: 47px; text-align: center; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .1em; }
.hero-controls [data-slide-pause] { margin-left: 10px; padding-inline: 14px; font-size: .74rem; white-space: nowrap; }
.hero-progress { display: block; flex: 1; height: 2px; margin-left: 20px; background: var(--line); overflow: hidden; }
.hero-progress-fill { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-slider.is-running .hero-progress-fill { animation: hero-progress 7s linear; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-slider:not(.is-enhanced) .hero-slide { padding-bottom: 40px; }
.hero-slider:not(.is-enhanced) .hero-slide + .hero-slide { border-top: 1px solid var(--line); }
.hero-slider:not(.is-enhanced) .hero-controls { display: none; }
.page-hero { width: min(var(--page), calc(100% - 88px)); margin: 28px auto 0; padding: 40px 48px; border-radius: 28px; background: var(--accent-soft); color: var(--ink); }
.page-hero > .container { width: 100%; }
.page-hero .eyebrow { margin-bottom: 20px; color: var(--accent); }
.page-hero h1 { max-width: 1000px; margin-bottom: 0; color: var(--ink); font-family: var(--display-font); font-weight: 500; text-transform: none; font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: break-word; }
.page-lead { max-width: 780px; margin-top: 24px; font-size: 1.12rem; color: var(--muted); }

.intro-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.intro-grid h2 { max-width: 500px; }
.intro-grid > p, .intro-grid .body-copy, .intro-grid > div:last-child > p { color: var(--muted); font-size: 1.06rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.section.benefits-section { padding-top: 0; border-top: 0; }
.benefits-section .benefit-grid { margin-top: 0; }
.benefit { padding-top: 29px; border-top: 1px solid var(--line); }
.benefit img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 25px; }
.benefit h3 { margin-bottom: 13px; font-size: 1.12rem; letter-spacing: -.02em; }
.benefit p { color: var(--muted); font-size: .91rem; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.product-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; }
a.product-card:hover { border-color: var(--accent); color: var(--ink); }
a.product-card:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
a.product-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.product-card > img { width: 100%; aspect-ratio: 1.16; padding: 20px; object-fit: contain; background: var(--white); }
.product-copy { padding: 22px 23px 27px; border-top: 1px solid var(--line); }
.product-copy h3 { font-size: 1.14rem; line-height: 1.3; margin-bottom: 10px; letter-spacing: -.025em; }
.product-copy p { font-size: .86rem; line-height: 1.7; color: var(--muted); }
.product-copy a { font-size: .86rem; font-weight: 650; }
.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.brand { min-width: 0; }
.brand-grid .brand { display: flex; justify-content: center; align-items: center; min-height: 120px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-grid .brand img { width: 100%; max-width: 130px; height: 58px; object-fit: contain; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.service-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service-card > img { width: 100%; aspect-ratio: 2.2; object-fit: cover; }
.service-copy { padding: 30px 34px 36px; }
.service-copy .eyebrow { margin-bottom: 20px; color: var(--accent); font-size: 1.6rem; line-height: 1; font-weight: 400; letter-spacing: -.025em; }
.service-copy h2, .service-copy h3 { font-size: 1.4rem; letter-spacing: -.035em; line-height: 1.25; }
.service-copy p { color: var(--muted); font-size: .95rem; line-height: 1.8; }
.service-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.three-up .service-card > img { aspect-ratio: 1.75; }
.three-up .service-copy { padding: 27px; }
.three-up .service-copy h2, .three-up .service-copy h3 { font-size: 1.35rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value-card { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value-card h3 { margin-bottom: 20px; font-size: 1.3rem; }
.value-card p, .value-card ul { color: var(--muted); font-size: .94rem; line-height: 1.8; }
.value-card ul { margin-bottom: 0; }
.values-image { display: flex; justify-content: center; align-items: center; padding: 28px; }
.values-image img { max-width: min(100%, 340px); max-height: 380px; object-fit: contain; }
.split-content { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.split-content > img, .split-content > div:first-child > img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.body-copy { min-width: 0; }
.body-copy > p { color: var(--muted); }
.body-copy h2 { margin-bottom: 28px; }
.reason-list, .industry-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; padding: 0; margin: 30px 0 0; list-style: none; }
.reason-list li, .industry-list li { position: relative; margin: 0; padding: 20px 0 20px 23px; border-top: 1px solid var(--line); color: var(--ink); font-size: .94rem; line-height: 1.65; }
.reason-list li::before, .industry-list li::before { content: ""; position: absolute; left: 0; top: 31px; width: 6px; height: 6px; background: var(--accent); }
.notice { max-width: 1040px; padding: 46px 48px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); background: var(--white); }
.notice h2 { font-size: 2rem; }
.notice h3 { font-size: 1.35rem; }
.notice p { color: var(--muted); }
.notice strong { color: var(--ink); }

/* Contact and career retain the original fields and server contracts. */
#contact-modern { padding: 80px 0 100px; }
#contact-modern > .container > .row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
#contact-modern .section-title, #contact-modern .contact-title { margin-bottom: 30px; }
.info-card { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.info-card-icon { flex: 0 0 40px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--accent); font-size: 17px; }
.info-card-icon svg { width: 18px; height: 18px; }
.info-card-body { min-width: 0; }
.info-card-body h3, .info-card-body h4 { font-size: 1rem; font-weight: 550; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ink); }
.info-card-body p, .info-card-body a { font-size: .94rem; line-height: 1.8; }
.info-card-body a { overflow-wrap: anywhere; }
.info-card-body small, .info-card-body .sub { display: block; color: var(--muted); font-size: .8rem; }
.form-card, .career-form-card { padding: 42px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); background: var(--white); }
.form-card h2 { font-size: 1.9rem; }
.form-card > p, .form-card .form-subtitle { color: var(--muted); font-size: .94rem; margin-bottom: 30px; }
.form-row-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-row-grid > * { min-width: 0; }
.modern-input, .form-control { display: block; width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font-size: .94rem; line-height: 1.5; margin: 0 0 24px; }
.modern-input::placeholder, .form-control::placeholder { color: var(--muted); opacity: 1; }
.modern-input:hover, .form-control:hover { border-color: var(--muted); }
.modern-input:focus, .form-control:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; background: var(--white); }
textarea.modern-input, textarea.form-control { min-height: 155px; resize: vertical; }
select.modern-input { padding-right: 28px; }
.modern-input:disabled, .form-control:disabled { background: var(--line); color: var(--muted); }
.career-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); align-items: start; gap: 64px; }
.career-intro h2 { font-size: 2.1rem; }
.career-intro p, .career-about-box p { color: var(--muted); font-size: .96rem; }
.career-about-box { padding-top: 32px; margin-top: 20px; border-top: 1px solid var(--line); }
.career-about-box h3 { font-size: 1.35rem; }
.career-label, .form-card label:not(.career-file-label) { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 650; color: var(--ink); }
.career-hint { font-weight: 400; font-size: .78rem; color: var(--muted); }
.career-radio-group { margin-bottom: 24px; padding: 13px 16px; border-radius: var(--radius); background: var(--paper); }
.career-radio-group .career-label { margin: 0; line-height: 2.1; }
fieldset.career-radio-group { min-width: 0; border: 0; margin-inline: 0; }
fieldset.career-radio-group legend { padding: 0 6px 0 0; font-size: .85rem; font-weight: 650; }
.form-card fieldset.career-radio-group label { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin: 0 20px 0 0; font-weight: 500; }
fieldset.career-radio-group input[type="radio"] { margin: 0; }
input[type="radio"], input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); vertical-align: -.18em; margin: 0 5px 0 15px; }
.career-file-wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px; margin-bottom: 24px; border: 1px dashed var(--muted); border-radius: var(--radius); background: var(--paper); }
.career-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.career-file-wrap:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.career-file-label { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--accent); font-size: .84rem; font-weight: 650; cursor: pointer; }
.career-file-name { min-width: 0; max-width: 100%; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.exp_dependant { padding-top: 3px; }
.status { margin-top: 20px; font-size: .9rem; }
.alert { padding: 18px 20px; margin: 20px 0; border: 1px solid; border-radius: var(--radius); font-size: .95rem; }
.alert-success { color: #215c3e; border-color: #a8c9b7; background: #ecf6ef; }
.alert-danger, .status.error { color: #91352f; border-color: #e4b4af; background: #fff2f0; }
.status.error { padding: 14px; border-radius: var(--radius); }
.formOverlay { position: absolute; inset: 0; background: rgb(255 255 255 / .7); }
#formContact { position: relative; }

/* Every original footer destination remains available. */
#footer-modern { color: var(--muted); background: var(--accent-soft); border-top: 1px solid var(--line); }
#footer-modern .footer-top { padding: 70px 0 60px; }
#footer-modern .footer-top > .container > .row { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.25fr; gap: 42px; }
#footer-modern .fm-logo { width: 185px; max-height: 88px; object-fit: contain; padding: 8px; border-radius: var(--radius); background: var(--white); margin-bottom: 24px; }
#footer-modern .fm-desc { max-width: 290px; font-size: .86rem; line-height: 1.9; color: var(--muted); }
#footer-modern h3, #footer-modern h4, #footer-modern .fm-title { margin: 5px 0 23px; color: var(--ink); font-size: .82rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
#footer-modern ul { margin: 0; padding: 0; list-style: none; }
#footer-modern li { margin: 0 0 11px; }
#footer-modern a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
#footer-modern a:hover { color: var(--accent-hover); text-decoration: underline; }
#footer-modern a:focus-visible { outline-color: var(--accent); }
#footer-modern .fm-links { font-size: .85rem; line-height: 1.8; }
#footer-modern .fm-contact-list { font-size: .84rem; line-height: 1.85; }
#footer-modern .fm-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
#footer-modern .fm-contact-icon { flex: 0 0 15px; color: var(--accent); padding-top: 1px; }
#footer-modern .fm-contact-list a { overflow-wrap: anywhere; }
.footer-divider { height: 1px; background: var(--line); }
#footer-modern .footer-bottom { padding: 23px 0; }
#footer-modern .footer-bottom .row { display: flex; justify-content: space-between; gap: 18px; }
#footer-modern .footer-bottom p { color: var(--muted); font-size: .75rem; }
#footer-modern .footer-bottom .text-right { text-align: right; }

/* Open product collections keep the original categories and brand graphics. */
.product-card, .service-card { overflow: hidden; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); }
.product-copy { border-top: 0; padding-inline: 24px; }
.brand-grid { border: 0; gap: 12px; background: transparent; }
.brand-grid .brand { border: 0; background: var(--white); }
.brands-section { background: var(--white); }
.form-card, .career-form-card { border-top: 1px solid var(--line); }
.distribution-banner { width: 100%; height: 225px; object-fit: cover; border-radius: var(--radius); margin-top: 34px; }
.home-page .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 64px; align-items: start; }
.home-page .intro-grid > :first-child { grid-column: 1; }
.home-page .intro-grid > .body-copy { grid-column: 1; font-size: 1rem; }
.home-page .intro-grid > .distribution-banner { grid-column: 2; grid-row: 1 / 3; height: 100%; min-height: 360px; margin-top: 0; }
[data-carousel].is-carousel { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) var(--paper); padding: 4px 4px 18px; }
[data-carousel].is-carousel > * { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
.product-grid[data-carousel].is-carousel > * { min-width: min(100%, 9.5rem); }
.brand-grid[data-carousel].is-carousel > * { flex-basis: calc((100% - 120px) / 6); }
.collection-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 18px; }
.collection-controls button { min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: var(--white); color: var(--accent); border-radius: var(--radius); padding: 8px 14px; font-size: .8rem; }
.collection-controls button:hover { background: var(--accent-soft); border-color: var(--accent); }
.location-section { padding-bottom: 88px; }
.location-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.location-heading h2 { margin: 0; font-size: 2rem; }
.location-link { min-height: 44px; display: inline-flex; align-items: center; }
.location-map { display: block; width: 100%; height: 420px; border: 0; background: var(--accent-soft); }

/* Alternate clear surfaces without adding extra content or controls. */
.products-section, .values-section, .section--blue { background: var(--paper); }
.home-page #new-section { background: var(--feature); color: var(--on-feature); }
.home-page #new-section h2 { color: var(--on-feature); }
.home-page #new-section .eyebrow { color: var(--accent); }
.home-page #new-section .body-copy > p { color: var(--on-feature); }
.home-page .benefits-section { padding-top: 64px; }
.brand-grid .brand { border: 1px solid var(--line); border-radius: var(--radius); }

/* Consistent heading sizes and light surfaces across all public pages. */
.section-heading h2 { font-family: var(--display-font); font-weight: 550; text-transform: none; color: var(--ink); font-size: clamp(1.75rem, 2.5vw, 2.25rem); line-height: 1.25; letter-spacing: -.025em; }
.section-heading { max-width: 100%; }
.products-section, .values-section, .section--blue { background: var(--accent-soft); }
.product-card { background: var(--paper); border-color: var(--line); }
.product-card > img { background: var(--paper); mix-blend-mode: multiply; }
.service-card, .value-card { border-color: var(--line); background: var(--paper); }
.service-copy h2, .service-copy h3, .value-card h3, .body-copy h2 { color: var(--ink); }
.service-copy .eyebrow { font-family: var(--display-font); font-weight: 400; }
.section--white .value-card { background: var(--paper); }
.benefit { border-top: 1px solid var(--line); }
.benefit h3 { color: var(--ink); }
.notice { border-top: 4px solid var(--accent); background: var(--white); }
.form-card, .career-form-card { border-top: 3px solid var(--accent); }
.page-hero > .container > p:not(.eyebrow) { max-width: 780px; margin-top: 24px; color: var(--muted); }
body:not(.home-page) #new-section + .section:not(.benefits-section) { padding-top: 0; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .page-hero { width: calc(100% - 64px); padding-inline: 36px; }
  #site-nav { gap: 12px; font-size: .8rem; }
  .brand img { width: 138px; }
  .hero-slide { width: calc(100% - 64px); padding: 36px; gap: 24px; }
  .hero-controls { width: calc(100% - 64px); }
  .intro-grid, .split-content { gap: 50px; }
  .benefit-grid { gap: 24px; }
  .product-grid { gap: 24px 18px; }
  .product-copy { padding: 20px; }
  .service-copy { padding: 28px; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #contact-modern > .container > .row, .career-layout { gap: 32px; }
  .form-card, .career-form-card { padding: 30px; }
  #footer-modern .footer-top > .container > .row { gap: 28px; grid-template-columns: 1.2fr .8fr .9fr 1.3fr; }
}

@media (max-width: 1000px) {
  body { padding-left: 0; }
  .site-header { max-height: 100dvh; overflow-y: auto; }
  .header-inner { width: calc(100% - 40px); min-height: 82px; flex-direction: row; align-items: center; justify-content: space-between; gap: 0 24px; flex-wrap: wrap; padding: 10px 0; }
  .hero-slide { min-height: 0; }
  [data-carousel].is-carousel > * { flex-basis: calc((100% - 48px) / 3); }
  .brand-grid[data-carousel].is-carousel > * { flex-basis: calc((100% - 96px) / 5); }
  .brand img { width: 132px; max-height: 62px; }
  .js-nav #nav-toggle { display: inline-flex; }
  #site-nav { width: 100%; max-height: calc(100dvh - 102px); overflow-y: auto; display: flex; align-items: stretch; flex-direction: column; gap: 0; font-size: .94rem; padding-block: 16px; border-top: 1px solid var(--line); margin-top: 10px; }
  .js-nav #site-nav { display: none; }
  .js-nav #site-nav.is-open { display: flex; }
  #site-nav > a, .nav-group > summary { padding: 11px 4px; }
  #site-nav > a[href="contact.html"], #site-nav > a[href="/contact"] { margin: 8px 0 0; width: fit-content; }
  .nav-group > div, .nav-group > ul { position: static; min-width: 0; padding: 4px 10px 10px; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; margin-bottom: 8px; background: transparent; }
  .nav-group a { white-space: normal; }
  .nav-group > summary { justify-content: space-between; padding-right: 15px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid { gap: 24px; }
  .service-grid.three-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .brand-grid .brand { padding: 19px; }
  .split-content { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 34px; }
  .reason-list, .industry-list { grid-template-columns: 1fr; }
  #footer-modern .footer-top > .container > .row { grid-template-columns: 1.4fr 1fr 1fr; }
  #footer-modern .footer-top > .container > .row > :last-child { grid-column: 1 / -1; }
  #footer-modern .fm-contact-list { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p:not(.eyebrow) { margin-top: 21px; }
  .hero-slide { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding: 32px; }
  .hero-controls { width: calc(100% - 40px); }
  [data-carousel].is-carousel > * { flex-basis: calc((100% - 24px) / 2); }
  .brand-grid[data-carousel].is-carousel > * { flex-basis: calc((100% - 72px) / 4); }
  .location-map { height: 320px; }
  .location-section { padding-bottom: 64px; }
  .hero-copy p:not(.eyebrow) { font-size: 1rem; }
  .hero-controls { padding-block: 18px 20px; }
  .page-hero { width: calc(100% - 40px); padding: 32px; }
  .page-lead { font-size: 1rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-page .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-page .intro-grid > .distribution-banner { grid-column: 1; grid-row: auto; height: 280px; min-height: 0; }
  .intro-grid h2 { max-width: 590px; margin-bottom: 0; }
  .intro-grid > p, .intro-grid .body-copy, .intro-grid > div:last-child > p { font-size: .98rem; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 25px; margin-top: 40px; }
  .benefit img { width: 44px; height: 44px; margin-bottom: 22px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .product-card > img { padding: 16px; }
  .product-copy { padding: 20px 18px; }
  .product-copy h3 { font-size: 1.05rem; }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-grid .brand { padding: 18px; min-height: 100px; }
  .brand-grid .brand img { height: 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card > img { aspect-ratio: 2.1; }
  .service-copy { padding: 27px; }
  .service-copy .eyebrow { font-size: 1.5rem; }
  .three-up .service-copy { padding: 23px; }
  .values-grid { gap: 20px; }
  .value-card { padding: 26px; }
  .values-image { padding: 20px; }
  .split-content { grid-template-columns: 1fr; gap: 34px; }
  .split-content > img, .split-content > div:first-child > img { max-height: 380px; object-position: center; }
  .reason-list, .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  .notice { padding: 30px; }
  #contact-modern { padding-block: 48px 66px; }
  #contact-modern > .container > .row, .career-layout { grid-template-columns: 1fr; gap: 38px; }
  .info-card { padding-block: 20px; }
  .form-card, .career-form-card { padding: 28px; }
  #footer-modern .footer-top { padding-block: 50px 38px; }
  #footer-modern .footer-top > .container > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
  #footer-modern .footer-top > .container > .row > :first-child { grid-column: 1 / -1; }
  #footer-modern .fm-desc { max-width: 510px; }
  #footer-modern .fm-contact-list { grid-template-columns: 1fr; gap: 0; }
  #footer-modern .fm-contact-list li { max-width: 390px; }
  #footer-modern .footer-bottom .row { display: block; }
  #footer-modern .footer-bottom .text-right { text-align: left; margin-top: 10px; }
}

@media (max-width: 520px) {
  .values-grid, .service-grid.three-up { grid-template-columns: minmax(0, 1fr); }
  .values-image img { max-width: min(100%, 260px); }
  .form-row-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 440px) {
  .container { width: calc(100% - 36px); }
  .page-hero { width: calc(100% - 36px); padding: 24px; }
  .hero-slide { width: calc(100% - 36px); padding: 24px; }
  .hero-controls { width: calc(100% - 36px); }
  .hero-progress { margin-left: 4px; min-width: 16px; }
  .brand-grid[data-carousel].is-carousel > * { flex-basis: calc((100% - 48px) / 3); }
  .hero-controls { gap: 8px; }
  .hero-controls .slide-count { min-width: 38px; }
  .hero-controls [data-slide-pause] { margin-left: 3px; padding-inline: 10px; }
  .eyebrow { font-size: .69rem; letter-spacing: .13em; }
  .product-grid { gap: 16px 12px; }
  .product-grid, .benefit-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
  .product-card > img { aspect-ratio: 1.02; padding: 11px; }
  .product-copy { padding: 17px 13px 20px; }
  .product-copy h3 { font-size: 1rem; }
  .product-copy p { font-size: .82rem; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid .brand { padding: 15px; min-height: 94px; }
  .service-card > img { aspect-ratio: 1.75; }
  .service-copy { padding: 25px; }
  .service-copy h2, .service-copy h3 { font-size: 1.25rem; }
  .reason-list, .industry-list { grid-template-columns: 1fr; }
  .form-card, .career-form-card { padding: 26px 20px; }
  .form-card h2 { font-size: 1.7rem; }
  .career-radio-group { padding: 12px; }
  .career-radio-group .career-label { font-size: .78rem; }
  input[type="radio"] { margin-left: 9px; }
  .button, .btn-send { padding-inline: 20px; }
  .notice { padding: 25px; }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
  [data-carousel].is-carousel > * { flex-basis: 85%; }
  .brand-grid[data-carousel].is-carousel > * { flex-basis: calc((100% - 24px) / 2); }
  .product-card > img { aspect-ratio: 1.35; padding: 20px; }
  .product-copy { padding: 20px; }
  .product-copy h3 { font-size: 1.15rem; }
  .product-copy p { font-size: .9rem; }
  .hero-controls { gap: 5px; }
  .hero-controls [data-slide-pause] { padding-inline: 8px; }
  .benefit-grid { grid-template-columns: 1fr; }
}

/* Keep titles and all three product links readable on smaller screens. */
@media (max-width: 1100px) {
  .hero-slide { gap: 28px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
  .hero-product-tile { gap: 12px; padding: 14px; }
  .hero-product-tile img { width: 100%; }
}
@media (max-width: 760px) {
  .hero-slide { gap: 28px; }
  .hero-copy { gap: 0 16px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(1.875rem, 5.6vw, 2.65rem); line-height: 1.18; margin-bottom: 24px; text-wrap: balance; }
  .hero-copy .eyebrow { margin-bottom: 20px; }
  .hero-copy p:not(.eyebrow) { grid-row: auto; margin-bottom: 20px; font-size: 1rem; }
  .hero-copy .button { grid-column: 1; grid-row: auto; justify-self: start; }
  .hero-copy .text-link { grid-row: auto; margin-top: 8px; }
  .hero-media { height: 220px; }
  .hero-products { height: auto; gap: 12px; }
  .hero-product-tile { flex-direction: column; gap: 4px; padding: 14px 10px; }
  .hero-product-tile img { width: 100%; height: 100px; }
  .hero-product-tile > span { font-size: .8rem; min-height: 48px; }
  .page-hero h1 { font-size: clamp(2rem, 5vw, 2.5rem); }
  .section-heading h2 { font-size: clamp(1.7rem, 4vw, 2rem); }
}
@media (max-width: 440px) {
  .hero-copy h1, .hero-copy h2 { font-size: clamp(1.9rem, 7.7vw, 2.1rem); }
  .hero-products { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-product-tile { flex-direction: row; padding: 10px 18px; gap: 20px; }
  .hero-product-tile img { width: 46%; height: 90px; }
  .hero-product-tile > span { font-size: .875rem; flex: 1; }
}

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

@media print {
  body { padding-left: 0; background: white; font-size: 11pt; }
  .site-header { position: static; width: 100%; height: auto; }
  .header-inner { padding: 0; min-height: 0; }
  #site-nav, #nav-toggle, .hero-controls, .collection-controls, .skip-link { display: none !important; }
  [data-carousel].is-carousel { display: grid; overflow: visible; }
  .hero-slide { min-height: 0; padding: 20px 0; }
  .container { width: 100%; }
  .section, .page-hero { padding-block: 22px; }
  .hero-slide[hidden] { display: grid !important; }
  .hero-slider.is-enhanced { display: block; }
  .hero-slider.is-enhanced .hero-slide[hidden] { visibility: visible; }
  .hero-slider, .page-hero, .home-page #new-section { background: white; color: var(--ink); }
  .home-page #new-section h2, .home-page #new-section .body-copy > p, .home-page #new-section .eyebrow { color: var(--ink); }
  .hero-copy { width: 100%; }
  .hero-copy h1, .hero-copy h2 { color: var(--ink); font-size: 26pt; }
  .hero-copy .eyebrow, .page-hero .eyebrow { color: var(--accent); }
  .hero-media { width: 100%; height: 210px; }
  .hero-products { height: auto; }
  .hero-copy p:not(.eyebrow), .hero-copy .text-link, .page-hero h1, .page-lead { color: var(--ink); }
  .product-card, .service-card, .value-card { break-inside: avoid; }
  #footer-modern { color: var(--ink); background: white; border-top: 1px solid var(--line); }
  #footer-modern a, #footer-modern h3, #footer-modern h4, #footer-modern .fm-desc, #footer-modern .footer-bottom p { color: var(--ink); }
}
