:root {
  color-scheme: light;
  --pico-font-family: 'Encode Sans', Arial, sans-serif;
  --pico-color: #192a40;
  --pico-background-color: #fff;
  --pico-muted-color: #536071;
  --pico-primary: #b21e29;
  --pico-primary-hover: #8c1420;
  --pico-primary-focus: #b21e2940;
  --pico-border-color: #dce1e6;
  --pico-border-radius: 4px;
  --ink: #15253d;
  --paper: #f5f4f0;
  --line: #dce1e6;
  font-family: var(--pico-font-family);
  color: var(--pico-color);
  background: var(--pico-background-color);
  font-synthesis: none;
}

@font-face {
  font-family: 'Encode Sans';
  src: url('./fonts/encodesans-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Encode Sans';
  src: url('./fonts/encodesans-semibold-webfont.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--pico-primary); }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #c53540; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.14; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.045em; }
h3 { font-size: 1.1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 30; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.topbar { background: var(--ink); color: #fff; font-size: .75rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 20px; }
.topbar a { text-decoration: none; }
.topbar span { color: #d1d7de; }
.header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 260px; }
.brand img { width: 260px; }
cn-navigation { display: block; }
cn-navigation ul { display: flex; align-items: center; gap: 29px; }
cn-navigation a { font-size: .85rem; font-weight: 600; text-decoration: none; display: block; padding-block: 12px; }
cn-navigation a:hover { color: var(--pico-primary); }
cn-navigation .contact-link { border-bottom: 2px solid var(--pico-primary); }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; color: var(--ink); padding: 9px 15px; border-radius: var(--pico-border-radius); }
.hero { position: relative; isolation: isolate; min-height: 590px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #273d40; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 65% center; }
.hero-shade { background: linear-gradient(90deg, #13253df7 0%, #13253de8 31%, #13253d65 61%, #13253d0a 100%); }
.hero-content { padding-block: 82px 90px; }
.eyebrow { display: block; font-size: .7rem; text-transform: uppercase; font-weight: 600; letter-spacing: .18em; margin-bottom: 20px; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; color: #e0e6eb; }
.hero .eyebrow::before { content: ''; width: 34px; height: 2px; background: #ef5560; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); letter-spacing: -.055em; line-height: 1.1; max-width: 750px; }
.hero h1 span { display: block; }
.hero .hero-last { color: #f2a0a4; }
.hero-actions { margin-top: 35px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; padding: 15px 23px; min-height: 52px; background: var(--pico-primary); color: #fff; border: 1px solid var(--pico-primary); border-radius: var(--pico-border-radius); font-size: .88rem; font-weight: 600; text-decoration: none; line-height: 1.4; }
.button::after { content: '↗'; font-size: 1.2em; }
.button:hover { background: var(--pico-primary-hover); color: white; }
.hero-address { margin-top: 25px; color: #e2e6e9; font-size: .8rem; }
.system-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.systems { display: grid; grid-template-columns: repeat(3, 1fr); }
.system { padding: 25px 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 132px; }
.system:first-child { padding-left: 0; }
.system:last-child { padding-right: 0; }
.system + .system { border-left: 1px solid #d9dcde; }
.system small { display: block; color: var(--pico-muted-color); font-size: .64rem; letter-spacing: .1em; margin-bottom: 8px; }
.system h2 { font-size: 1.05rem; letter-spacing: -.025em; }
.system img { width: 120px; height: 75px; object-fit: contain; mix-blend-mode: multiply; }
.system:last-child img { width: 70px; }
.section { padding-block: 94px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 38px; gap: 24px; }
.section-heading .eyebrow { color: var(--pico-muted-color); margin-bottom: 12px; }
.section-index { font-size: .75rem; color: var(--pico-muted-color); letter-spacing: .1em; }
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.service { grid-column: span 4; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.service:nth-child(n + 4) { grid-column: span 3; margin-top: 12px; }
.service-image { overflow: hidden; border-radius: var(--pico-border-radius); background: var(--paper); }
.service img { width: 100%; aspect-ratio: 370 / 209; object-fit: cover; transition: transform .3s; }
.service:hover img { transform: scale(1.025); }
.service-title { display: flex; align-items: baseline; gap: 12px; padding-top: 20px; }
.service-title span { color: var(--pico-primary); font-size: .66rem; }
.service h3 { line-height: 1.4; font-size: 1.05rem; }
.service:nth-child(n + 4) h3 { font-size: .94rem; }
.section-actions { display: flex; justify-content: flex-end; margin-top: 32px; }
.text-link { font-size: .88rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--pico-primary); padding-block: 8px; }
.text-link::after { content: ' ↗'; padding-left: 18px; color: var(--pico-primary); }
.company-section { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.company-heading .eyebrow { color: var(--pico-muted-color); }
.company-symbol { margin-top: 40px; width: 88px; mix-blend-mode: multiply; }
.company-copy { font-size: 1.02rem; line-height: 1.95; }
.capabilities { margin-top: 35px; padding-top: 30px; border-top: 1px solid #d2d7dc; }
.capabilities h3 { font-size: .9rem; margin-bottom: 21px; }
.capabilities ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.capabilities li { font-size: .8rem; display: flex; gap: 11px; align-items: baseline; }
.capabilities li::before { content: ''; flex: 0 0 5px; height: 5px; background: var(--pico-primary); }
.brands { padding-top: 50px; margin-top: 60px; border-top: 1px solid #d2d7dc; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 25px; }
.brands img { margin: auto; width: 143px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
.parts-section { padding-block: 65px; border-bottom: 1px solid var(--line); }
.parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.parts-heading { display: flex; gap: 25px; align-items: center; }
.parts-heading .eyebrow { margin-bottom: 10px; color: var(--pico-muted-color); }
.parts-icon { width: 58px; height: 58px; border: 1px solid var(--line); padding: 15px; color: var(--pico-primary); border-radius: 50%; flex: 0 0 58px; }
.parts-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.parts-actions > a:last-child { font-size: .8rem; overflow-wrap: anywhere; }
.contact-section { background: white; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.contact-heading .eyebrow { color: var(--pico-muted-color); }
.contact-heading .button { margin-top: 35px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 45px; }
.contact-details dt { color: var(--pico-muted-color); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 9px; }
.contact-details dd { margin: 0; font-size: .96rem; }
.contact-details a { display: inline-block; }
.contact-details .email-block { grid-column: 1 / -1; }
.contact-details .email { font-size: clamp(1rem, 2.4vw, 1.45rem); overflow-wrap: anywhere; }
.address-text { max-width: 230px; }
.map-link { margin-top: 9px; font-size: .8rem; }
.socials { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; display: flex; gap: 25px; font-size: .8rem; }
.footer { background: var(--ink); color: #fff; padding-block: 35px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-name { font-size: .95rem; font-weight: 600; }
.footer small { color: #d1d7de; display: block; font-size: .7rem; margin-top: 5px; }
.footer a { font-size: .78rem; }
.error-page { padding-block: 100px; }
.error-page h1 { font-size: 3rem; margin-bottom: 20px; }
.error-page p { margin-bottom: 25px; }

@media (min-width: 1550px) {
  .hero { min-height: 660px; }
}

@media (max-width: 1050px) {
  .brand { flex-basis: 225px; }
  cn-navigation ul { gap: 19px; }
  cn-navigation a { font-size: .77rem; }
  .company-grid, .contact-grid { gap: 45px; }
  .system { padding-inline: 20px; }
  .system img { width: 90px; }
}

@media (max-width: 799px) {
  .container { width: calc(100% - 40px); }
  .topbar .container { justify-content: center; }
  .topbar .topbar-address { display: none; }
  .header-inner { min-height: 82px; position: relative; flex-wrap: wrap; gap: 10px; padding-block: 16px; }
  .brand { flex-basis: 220px; }
  .brand img { width: 220px; }
  cn-navigation:not([enhanced]) { width: 100%; }
  cn-navigation:not([enhanced]) ul { flex-wrap: wrap; gap: 6px 24px; }
  cn-navigation[enhanced] .menu-toggle { display: block; }
  cn-navigation[enhanced] ul { display: none; position: absolute; top: 100%; left: -20px; right: -20px; background: white; border-block: 1px solid var(--line); padding: 14px 20px 22px; box-shadow: 0 20px 24px #15253d15; }
  cn-navigation[enhanced][open] ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  cn-navigation a { font-size: .95rem; padding: 13px 0; }
  cn-navigation .contact-link { border: none; color: var(--pico-primary); }
  .hero { min-height: 530px; }
  .hero-content { padding-block: 70px; }
  .hero h1 { font-size: clamp(2.7rem, 7vw, 4.1rem); }
  .hero-shade { background: linear-gradient(90deg, #13253df0, #13253d90); }
  .hero-image { object-position: 72% center; }
  .systems { grid-template-columns: 1fr; }
  .system, .system:first-child, .system:last-child { padding: 17px 0; min-height: 100px; }
  .system + .system { border-left: 0; border-top: 1px solid #d9dcde; }
  .system img { width: 130px; height: 63px; }
  .system:last-child img { width: 60px; }
  .system small { margin-bottom: 4px; }
  .section { padding-block: 65px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; }
  .service, .service:nth-child(n + 4) { grid-column: span 1; margin: 0; }
  .service h3, .service:nth-child(n + 4) h3 { font-size: .9rem; }
  .service-title { gap: 8px; padding-top: 13px; }
  .section-index { display: none; }
  .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .company-symbol { display: none; }
  .company-copy { font-size: .96rem; }
  .brands { gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 38px; padding-top: 35px; }
  .parts-grid { grid-template-columns: 1fr; gap: 28px; }
  .parts-actions { align-items: stretch; }
  .parts-actions > a:last-child { text-align: center; }
  .contact-details { margin: 0; gap: 28px 20px; }
  .contact-heading .button { margin-top: 25px; }
}

@media (max-width: 480px) {
  .brand { flex-basis: 200px; }
  .brand img { width: 200px; }
  .menu-toggle { padding: 8px 11px; font-size: .8rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero .eyebrow { font-size: .63rem; }
  .hero { min-height: 490px; }
  .hero-content { padding-block: 55px; }
  .button { width: 100%; }
  .hero-address { max-width: 240px; }
  .services { gap: 24px 16px; }
  .service-title > span { display: none; }
  .service h3, .service:nth-child(n + 4) h3 { font-size: .82rem; }
  .capabilities ul { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .parts-icon { display: none; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details .email-block { grid-column: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
