@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("./bebas-neue-latin-400-normal.woff2") format("woff2");
}

:root {
  --navy: #073044;
  --navy-2: #0b4c63;
  --ink: #12384a;
  --blue: #08a9b5;
  --blue-deep: #087d8a;
  --yellow: #ffc928;
  --green: #397a59;
  --coral: #ef785b;
  --paper: #fff6e4;
  --white: #fff;
  --muted: #5a7180;
  --line: #d9ecec;
  --sky: #72d4e5;
  --shadow: 0 22px 60px rgba(7, 48, 68, .12);
  --shell: min(1280px, calc(100% - 64px));
  --display: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.65 var(--body); font-synthesis: none; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: inherit; font-family: var(--display); font-weight: 800; letter-spacing: .005em; line-height: 1.07; text-transform: none; }
h1 { font-size: clamp(3.5rem, 6.4vw, 6.5rem); }
h2 { font-size: clamp(2.65rem, 4.7vw, 4.9rem); }
h3 { font-size: clamp(1.55rem, 2.3vw, 2.2rem); }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 12px 16px; color: var(--navy); background: var(--yellow); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.demo-bar { min-height: 34px; display: grid; place-items: center; padding: 6px 18px; color: var(--white); background: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--blue-deep); font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; margin: 0 10px 2px 0; background: currentColor; border-radius: 99px; }
.accent { color: var(--blue); }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.22rem); }

.site-header { position: relative; z-index: 100; min-height: 88px; color: var(--navy); background: var(--white); border-bottom: 1px solid var(--line); overflow: visible; }
.header-inner { width: var(--shell); min-height: 88px; margin-inline: auto; display: flex; align-items: center; gap: 28px; overflow: visible; }
.brand { flex: 0 0 174px; width: 174px; height: 68px; display: inline-flex; align-items: center; overflow: visible; }
.brand img { width: 174px; height: 68px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.site-nav a { position: relative; min-height: 44px; padding: 0 16px; display: grid; place-items: center; color: var(--navy-2); font-size: .76rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; right: 16px; bottom: 0; left: 16px; height: 4px; background: var(--blue); border-radius: 99px 99px 0 0; transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue-deep); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 48px; height: 48px; margin-left: auto; padding: 12px; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 2px solid transparent; border-radius: 10px; font-size: .77rem; font-weight: 900; letter-spacing: .055em; line-height: 1.15; text-align: center; text-transform: uppercase; transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn::after, .text-link::after { content: "→"; font-size: 1.1rem; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy); background: var(--yellow); }
.btn-primary:hover { background: #ffda63; }
.btn-blue { color: var(--white); background: var(--blue); }
.btn-blue:hover { background: #0b929d; }
.btn-dark { color: var(--white); background: var(--navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { color: inherit; background: transparent; border-color: currentColor; }
.btn-small { min-height: 46px; padding: 11px 17px; white-space: nowrap; }
.header-call { color: var(--navy); background: var(--yellow); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--blue-deep); font-size: .82rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.text-link:hover { color: var(--navy); }

.hero { position: relative; min-height: 690px; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); align-items: stretch; color: var(--ink); background: var(--white); overflow: hidden; }
.hero-copy { position: relative; z-index: 1; align-self: center; max-width: 660px; margin-left: max(32px, calc((100vw - 1280px) / 2)); padding: 82px 58px 82px 0; }
.hero-copy h1 { max-width: 660px; margin-bottom: 26px; color: var(--blue); font-size: clamp(3.5rem, 4.5vw, 4.7rem); line-height: 1.04; }
.hero-line { display: block; line-height: inherit; }
.hero-copy p { max-width: 570px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero .btn-primary { color: var(--white); background: var(--blue); }
.hero .btn-primary:hover { background: var(--blue-deep); }
.hero .btn-outline { color: var(--navy); }
.hero-media { position: relative; min-width: 0; margin: 42px 36px 58px 0; border: 7px solid #d9f3f2; border-radius: 82px 18px 82px 18px; box-shadow: 14px 14px 0 var(--blue), var(--shadow); overflow: visible; }
.hero-media picture { width: 100%; height: 100%; display: block; border-radius: inherit; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 50%; }
.hero-badge { position: absolute; right: 18px; bottom: -42px; max-width: 360px; padding: 0; color: var(--muted); background: transparent; font-size: .72rem; font-weight: 700; line-height: 1.35; }

.section { padding: clamp(76px, 8vw, 120px) 0; }
.section-intro, .section-head { margin-bottom: clamp(42px, 5vw, 70px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: end; gap: 70px; }
.section-intro h2, .section-head h2 { margin-bottom: 0; color: var(--navy); }
.section-intro > p, .section-head > p, .section-head p:last-child { color: var(--muted); }

.services-section { position: relative; background: var(--paper); overflow: hidden; }
.services-section::before, .contact-band::before { content: ""; position: absolute; top: 42px; right: -5%; left: -5%; height: 54px; border-top: 3px solid rgba(8,169,181,.48); border-radius: 50%; transform: rotate(-1deg); pointer-events: none; }
.services-section .shell { position: relative; }
.service-pathway { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr) minmax(0, 1fr); align-items: center; gap: clamp(34px, 5vw, 72px); }
.service-pathway::before { content: ""; position: absolute; z-index: 0; top: 50%; right: 9%; left: 9%; border-top: 2px dashed rgba(8,169,181,.42); }
.service-stop, .service-work-photo { position: relative; z-index: 1; }
.service-stop { padding: 36px 8px; background: var(--paper); }
.service-stop::before { content: attr(data-number); width: 44px; height: 44px; margin-bottom: 28px; display: grid; place-items: center; color: var(--white); background: var(--blue); border: 6px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 2px var(--blue); font-weight: 900; }
.service-stop h3 { max-width: 370px; margin-bottom: 16px; color: var(--navy); }
.service-stop p { max-width: 390px; color: var(--muted); }
.service-work-photo { margin: 0; background: var(--white); border: 7px solid var(--white); border-radius: 120px 20px 120px 20px; box-shadow: var(--shadow); overflow: hidden; }
.service-work-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 57%; }
.service-work-photo figcaption { padding: 12px 16px; color: var(--muted); background: var(--white); font-size: .72rem; font-weight: 800; text-align: center; }

.lithium-section { color: var(--ink); background: var(--white); }
.lithium-feature { position: relative; min-height: 560px; padding: clamp(48px, 6vw, 82px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(44px, 7vw, 100px); color: var(--white); background: var(--navy); border-radius: 70px 22px 70px 22px; overflow: hidden; }
.lithium-feature::before { content: ""; position: absolute; inset: 0; opacity: .55; background: radial-gradient(circle at 8% 18%, rgba(114,212,229,.28), transparent 30%), radial-gradient(circle at 90% 82%, rgba(8,169,181,.22), transparent 28%); }
.lithium-feature::after { content: ""; position: absolute; right: 6%; bottom: -50px; width: 300px; height: 120px; border-top: 3px solid rgba(114,212,229,.35); border-radius: 50%; transform: rotate(-8deg); }
.lithium-product, .lithium-copy { position: relative; z-index: 1; }
.lithium-product { min-height: 380px; display: grid; place-items: center; }
.lithium-product::before { content: ""; position: absolute; width: min(410px, 92%); aspect-ratio: 1; background: rgba(255,255,255,.96); border-radius: 50%; box-shadow: 0 22px 70px rgba(0,0,0,.2); }
.lithium-product img { position: relative; z-index: 1; width: min(430px, 92%); max-height: 330px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(3, 22, 31, .28)); }
.lithium-product span { position: absolute; z-index: 2; bottom: 0; padding: 9px 14px; color: var(--navy); background: var(--yellow); border-radius: 99px; font-family: "Bebas Neue", var(--body); font-size: 1.15rem; letter-spacing: .055em; }
.lithium-copy .eyebrow { color: var(--sky); }
.lithium-copy h2 { max-width: 620px; margin-bottom: 22px; color: var(--white); }
.lithium-copy > p:not(.eyebrow):not(.truth-note) { max-width: 650px; color: #d3e6ea; font-size: 1.08rem; }
.lithium-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 13px; }
.lithium-feature .btn-outline { color: var(--white); }
.truth-note { margin-top: 22px; max-width: 760px; color: #9fc0ca; font-size: .8rem; }

.gallery-section { background: var(--white); }
.gallery-rail { display: grid; grid-template-columns: .82fr repeat(3, 1fr); gap: 18px; align-items: stretch; }
.gallery-intro { padding: 26px 28px 26px 0; align-self: center; }
.gallery-intro h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(2.5rem, 4vw, 4.2rem); }
.gallery-intro p { color: var(--muted); }
.gallery-item { position: relative; min-width: 0; margin: 0; background: var(--paper); border-radius: 28px 8px 28px 8px; overflow: hidden; }
.gallery-item:nth-child(3) { transform: translateY(28px); }
.gallery-item img { width: 100%; height: 430px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:nth-child(2) img { object-position: center; }
.gallery-item:nth-child(3) img { object-position: 52% center; }
.gallery-item:nth-child(4) img { object-position: center; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item figcaption, .gallery-item span { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 10px 12px; color: var(--navy); background: rgba(255,255,255,.92); border-radius: 8px; font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }

.contact-band { position: relative; width: var(--shell); margin: 30px auto 90px; display: grid; grid-template-columns: 1.25fr .75fr; color: var(--ink); background: var(--paper); border-radius: 58px 18px 58px 18px; overflow: hidden; }
.contact-band::before { top: 18px; }
.contact-copy, .contact-details { position: relative; min-width: 0; overflow-wrap: anywhere; }
.contact-copy { padding: clamp(60px, 7vw, 96px); }
.contact-copy h2 { max-width: 720px; margin-bottom: 20px; color: var(--navy); }
.contact-copy p { max-width: 620px; color: var(--muted); }
.contact-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 13px; }
.contact-copy .btn-outline { color: var(--navy); }
.contact-details { padding: clamp(50px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; color: var(--white); background: var(--blue); }
.contact-details::after { content: ""; position: absolute; right: 28px; bottom: 24px; width: 78px; height: 78px; opacity: .28; border: 6px solid var(--yellow); border-radius: 55% 45% 60% 40%; }
.contact-details strong { font-family: var(--display); font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 800; line-height: 1.05; }
.contact-details a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 900; text-decoration: underline; text-underline-offset: 5px; }

.site-footer { color: #bcd5dc; background: var(--navy); }
.footer-main { width: var(--shell); margin-inline: auto; padding: 56px 0 44px; display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 56px; }
.footer-logo { width: 180px; height: auto; margin-bottom: 18px; }
.footer-main p { max-width: 400px; }
.footer-main h3 { color: var(--white); font-family: var(--body); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 5px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { min-height: 62px; padding: 16px max(32px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.11); color: #7fa7b1; font-size: .75rem; }

/* Shared interior-page system */
.page-hero { position: relative; min-height: 560px; display: flex; align-items: center; color: var(--ink); background: var(--white); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: 50%; right: -30px; width: 57%; height: 84%; border: 7px solid #d9f3f2; border-radius: 90px 18px 90px 18px; box-shadow: 14px 14px 0 var(--blue); transform: translateY(-50%); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; z-index: 1; top: 8%; right: 43%; bottom: 8%; width: 14%; background: linear-gradient(90deg, var(--white), rgba(255,255,255,0)); pointer-events: none; }
.page-hero > img { position: absolute; top: 8%; right: 0; width: 55%; height: 84%; object-fit: cover; object-position: center; border-radius: 90px 0 0 18px; }
.page-hero .shell { position: relative; z-index: 2; padding-top: 78px; padding-bottom: 78px; }
.page-hero .shell > * { max-width: 47%; }
.page-hero h1 { margin-bottom: 22px; color: var(--navy); font-size: clamp(3.5rem, 6vw, 6rem); }
.page-hero p:last-child { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.page-content { padding: clamp(70px, 8vw, 116px) 0; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.intro-grid h2 { color: var(--navy); }
.fact-panel { padding: clamp(28px, 4vw, 48px); color: var(--white); background: var(--blue); border-radius: 30px 10px 30px 10px; box-shadow: var(--shadow); }
.fact-panel h2 { margin-bottom: 18px; color: var(--white); font-size: clamp(2.3rem, 4vw, 4rem); }
.fact-panel .btn { margin-top: 18px; }
.steps { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.step { min-height: 270px; padding: 34px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step > span { display: block; margin-bottom: 42px; color: var(--blue-deep); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.step h3 { margin-bottom: 16px; color: var(--navy); font-size: 2rem; }
.step p { color: var(--muted); }
.notice { margin-top: 32px; padding: 20px 24px; color: var(--ink); background: var(--paper); border-left: 6px solid var(--blue); border-radius: 0 12px 12px 0; font-size: .9rem; }
.service-detail { margin-top: 28px; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 430px; background: var(--paper); border-radius: 36px 12px 36px 12px; overflow: hidden; }
.service-detail:nth-of-type(even) { grid-template-columns: 1.1fr .9fr; }
.service-detail:nth-of-type(even) .service-detail-media { order: 2; }
.service-detail-media { min-height: 390px; overflow: hidden; }
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-copy { padding: clamp(36px, 6vw, 72px); align-self: center; }
.service-detail-copy h2 { color: var(--navy); font-size: clamp(2.5rem, 4.2vw, 4.3rem); }
.service-detail-copy p { color: var(--muted); }
.service-detail-copy .btn { margin-top: 18px; }
.comparison-wrap { margin-top: 60px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; }
.comparison-table { width: 100%; min-width: 780px; border-collapse: collapse; background: var(--white); }
.comparison-table th, .comparison-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { color: var(--white); background: var(--navy); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table td:first-child { font-weight: 900; }
.comparison-table tr:last-child td { border-bottom: 0; }
.product-detail-grid, .battery-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-detail-card, .battery-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: 24px 8px 24px 8px; background: var(--white); overflow: hidden; }
.battery-image { min-height: 270px; padding: 25px; display: grid; place-items: center; background: linear-gradient(150deg, #fff, var(--paper)); overflow: hidden; }
.battery-image img { width: 100%; height: 235px; object-fit: contain; }
.battery-copy { padding: 28px; color: var(--ink); border-top: 5px solid var(--blue); }
.battery-copy .model { display: block; margin-bottom: 8px; color: var(--blue-deep); font-family: "Bebas Neue", var(--body); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.battery-copy h3 { margin-bottom: 17px; color: var(--navy); }
.spec-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.spec-list li { min-height: 41px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.spec-list span { color: var(--muted); }
.spec-list strong { color: var(--navy); text-align: right; }
.product-detail-card .battery-copy { display: flex; flex: 1; flex-direction: column; }
.product-detail-card .external-link { min-height: 44px; margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; color: var(--blue-deep); font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.process-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.process-card { min-height: 245px; padding: 28px 24px; background: var(--paper); }
.process-card span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 38px; color: var(--white); background: var(--blue); border-radius: 50%; font-weight: 900; }
.process-card h3 { color: var(--navy); font-size: 1.55rem; }
.process-card p { color: var(--muted); font-size: .9rem; }
.confirm-grid { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.confirm-card { padding: 32px; background: var(--navy); color: var(--white); border-radius: 24px 8px 24px 8px; }
.confirm-card h3 { margin-bottom: 14px; color: var(--yellow); }
.confirm-card ul { margin: 0; padding-left: 20px; color: #c6dbe0; }
.full-gallery { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 18px; }
.full-gallery figure { margin: 0; min-width: 0; background: var(--paper); border-radius: 22px 7px 22px 7px; overflow: hidden; }
.full-gallery img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.full-gallery figcaption { min-height: 72px; padding: 18px; color: var(--muted); font-size: .86rem; }
.contact-page-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; }
.contact-card, .directions-card { padding: clamp(34px, 5vw, 62px); border-radius: 30px 10px 30px 10px; }
.contact-card { color: var(--white); background: var(--blue); }
.contact-card .eyebrow { color: var(--navy); }
.directions-card .eyebrow { color: var(--sky); }
.directions-card { color: var(--white); background: var(--navy); }
.contact-card h2, .directions-card h2 { font-size: clamp(2.8rem, 4.5vw, 4.5rem); }
.contact-card address { margin: 26px 0; font-style: normal; }
.contact-page-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 960px); }
  .header-call { display: none; }
  .site-nav a { padding-inline: 11px; }
  .hero { grid-template-columns: 48% 52%; }
  .hero-copy { margin-left: 32px; padding-right: 38px; }
  .hero-copy h1 { font-size: clamp(3.3rem, 5.4vw, 3.6rem); }
  .hero-media { margin-right: 24px; }
  .service-pathway { grid-template-columns: 1fr .74fr 1fr; gap: 30px; }
  .gallery-rail { grid-template-columns: 1fr 1fr 1fr; }
  .gallery-intro { grid-column: 1 / -1; max-width: 700px; }
  .product-detail-grid, .battery-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-card:last-child, .battery-card:last-child { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 720px); }
  .site-header, .header-inner { min-height: 72px; }
  .brand { flex-basis: 142px; width: 142px; height: 56px; }
  .brand img { width: 142px; height: 56px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; margin: 0; padding: 10px 16px 18px; color: var(--navy); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 22px 45px rgba(7,48,68,.16); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { min-height: 48px; display: flex; justify-content: flex-start; padding: 0 10px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { right: auto; bottom: 0; left: 10px; width: 42px; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { width: var(--shell); max-width: none; margin-inline: auto; padding: 58px 0 44px; }
  .hero-copy h1 { max-width: 660px; font-size: clamp(3.35rem, 12.8vw, 5.2rem); line-height: 1.04; }
  .hero-media { min-height: 420px; margin: 0 16px 54px; border-radius: 58px 14px 58px 14px; box-shadow: 9px 9px 0 var(--blue), var(--shadow); }
  .hero-media img { object-position: center; }
  .section-intro, .section-head, .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-pathway { grid-template-columns: 1fr; gap: 10px; }
  .service-pathway::before { top: 4%; bottom: 4%; left: 21px; right: auto; border-top: 0; border-left: 2px dashed rgba(8,169,181,.42); }
  .service-stop { padding: 24px 0 34px 72px; }
  .service-stop::before { position: absolute; top: 25px; left: 0; }
  .service-work-photo { width: min(480px, calc(100% - 72px)); margin: 6px 0 32px 72px; border-radius: 70px 14px 70px 14px; }
  .service-work-photo img { height: 360px; }
  .lithium-feature { grid-template-columns: 1fr; gap: 32px; border-radius: 48px 16px 48px 16px; }
  .lithium-product { min-height: 310px; }
  .lithium-product img { max-height: 270px; }
  .gallery-rail { grid-template-columns: 1fr 1fr; }
  .gallery-intro { grid-column: 1 / -1; }
  .gallery-item:last-child { grid-column: 1 / -1; }
  .gallery-item:nth-child(3) { transform: none; }
  .contact-band { width: min(100% - 32px, 720px); grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1.35fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .page-hero { min-height: 0; display: block; padding-top: 330px; }
  .page-hero::before { top: 24px; right: 16px; left: 16px; width: auto; height: 286px; border-radius: 58px 14px 58px 14px; box-shadow: 9px 9px 0 var(--blue); transform: none; }
  .page-hero::after { display: none; }
  .page-hero > img { top: 30px; right: 22px; left: 22px; width: calc(100% - 44px); height: 274px; border-radius: 52px 10px 52px 10px; }
  .page-hero .shell { padding-top: 48px; padding-bottom: 62px; }
  .page-hero .shell > * { max-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step > span { margin-bottom: 22px; }
  .service-detail, .service-detail:nth-of-type(even) { grid-template-columns: 1fr; }
  .service-detail:nth-of-type(even) .service-detail-media { order: 0; }
  .product-detail-grid, .battery-grid { grid-template-columns: 1fr; }
  .product-detail-card:last-child, .battery-card:last-child { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .full-gallery { grid-template-columns: 1fr 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 28px); }
  .demo-bar { min-height: 28px; padding-block: 3px; font-size: .62rem; line-height: 1.25; }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.65rem; }
  .hero-copy { padding-top: 24px; padding-bottom: 20px; }
  .hero-copy h1 { margin-bottom: 14px; font-size: 2rem; line-height: 1.08; }
  .hero-line { display: inline; }
  .hero-line:not(:last-child)::after { content: " "; }
  .hero-copy p { max-width: 340px; font-size: .8rem; line-height: 1.55; }
  .hero-actions { margin-top: 16px; gap: 9px; }
  .hero-actions, .contact-actions, .contact-page-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .contact-actions .btn, .contact-page-actions .btn { width: 100%; }
  .hero-actions .btn { min-height: 44px; padding-block: 8px; font-size: .75rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .hero-actions .btn::after { display: none; }
  .hero-media { min-height: 214px; margin: 0 14px 46px; border-width: 3px; border-radius: 42px 10px 42px 10px; box-shadow: 0 0 0 1px var(--blue); }
  .hero-badge { right: auto; bottom: -34px; left: 8px; max-width: 300px; padding: 0; color: var(--muted); background: transparent; font-size: .58rem; font-weight: 500; }
  .section { padding-block: 74px; }
  .services-section { padding-top: 32px; }
  .services-section::before { top: 24px; }
  .services-section .section-intro { display: none; }
  .services-section .text-link { display: none; }
  .service-work-photo { order: 3; }
  .service-stop:last-child { order: 2; }
  .service-stop { padding-left: 62px; }
  .service-work-photo { width: calc(100% - 62px); margin-left: 62px; }
  .service-work-photo img { height: 330px; }
  .lithium-section .shell { width: 100%; }
  .lithium-feature { padding: 52px 22px; border-radius: 38px 0 38px 0; }
  .lithium-product { min-height: 260px; }
  .lithium-product img { max-height: 230px; }
  .lithium-actions { flex-direction: column; }
  .lithium-actions .btn { width: 100%; }
  .gallery-rail { grid-template-columns: 1fr; }
  .gallery-intro, .gallery-item:last-child { grid-column: auto; }
  .gallery-item img { height: 300px; }
  .contact-band { margin-bottom: 60px; border-radius: 38px 12px 38px 12px; }
  .contact-copy, .contact-details { padding: 58px 24px; }
  .contact-copy h2 { font-size: clamp(2rem, 10vw, 2.65rem); }
  .contact-details::after { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-main > div:first-child { grid-column: auto; }
  .page-hero { padding-top: 270px; }
  .page-hero::before { top: 18px; right: 14px; left: 14px; height: 228px; border-width: 5px; border-radius: 42px 10px 42px 10px; box-shadow: 7px 7px 0 var(--blue); }
  .page-hero > img { top: 23px; right: 19px; left: 19px; width: calc(100% - 38px); height: 218px; border-radius: 37px 7px 37px 7px; }
  .page-hero .shell { padding-top: 38px; padding-bottom: 52px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .service-detail-media { min-height: 270px; }
  .service-detail-copy { padding: 34px 24px 42px; }
  .process-grid, .confirm-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
  .process-card span { margin-bottom: 24px; }
  .full-gallery { grid-template-columns: 1fr; }
}

@media (min-width: 821px) {
  .site-header, .header-inner { min-height: 112px; }
  .brand { flex-basis: 224px; width: 224px; height: 88px; }
  .brand img { width: 224px; height: 88px; }
  .hero { min-height: 620px; grid-template-columns: minmax(0, 40%) minmax(0, 60%); }
  .hero-copy { max-width: 540px; padding: 58px 20px 58px 0; }
  .hero-copy h1 { font-size: clamp(3.5rem, 4.25vw, 4.35rem); }
  .hero-media { margin-top: 26px; margin-right: 24px; margin-bottom: 52px; }
  .services-section .section-intro { display: none; }
  .services-section { padding-block: clamp(48px, 5vw, 84px); }
  .services-section .service-pathway { margin: 0; transform: none; grid-template-columns: minmax(0, 1fr) minmax(240px, .95fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); }
  .service-stop { align-self: center; padding: 24px 0; }
  .service-stop::before { width: 34px; height: 34px; margin-bottom: 20px; border-width: 4px; }
  .service-stop::after { content: none; }
  .service-work-photo { border-radius: 70px 14px 32px 14px; }
  .service-stop:first-child::after { left: 8px; }
  .service-stop:last-child::after { right: 8px; }
  .service-stop h3 { font-size: 1.6rem; }
  .service-stop p { font-size: .9rem; }
  .service-stop .text-link { min-height: 45px; }
  .hero-copy p { max-width: 410px; }
  .hero-actions .btn { min-height: 56px; font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .hero-actions .btn::after { display: none; }
  .gallery-section { padding-top: 66px; padding-bottom: 66px; }
  .gallery-rail { grid-template-columns: 1.1fr repeat(3, 1fr); }
  .gallery-intro .eyebrow { display: none; }
  .gallery-intro h2 { color: var(--blue); font-size: 3rem; }
  .gallery-item:nth-child(3) { transform: none; }
  .gallery-item img { height: 310px; }
  .contact-band { width: 100%; margin-top: 18px; margin-bottom: 0; grid-template-columns: 1.35fr .65fr; background: var(--paper); border-radius: 0; }
  .contact-band::before { top: -40px; }
  .contact-copy { padding: 24px 64px 24px max(64px, calc((100vw - 1280px) / 2)); }
  .contact-copy h2 { color: var(--blue); font-size: clamp(2.9rem, 3.6vw, 3.5rem); }
  .contact-details { padding: 24px max(64px, calc((100vw - 1280px) / 2)) 24px 56px; color: var(--navy); background: transparent; }
  .contact-details::before { content: "Contact details"; margin-bottom: 8px; color: var(--blue); font-family: var(--display); font-size: 1.35rem; font-weight: 800; }
  .contact-details::after { opacity: .18; }
  .contact-details strong { font-size: clamp(2rem, 2.6vw, 2.6rem); }
  .footer-main { padding-top: 18px; padding-bottom: 16px; grid-template-columns: 1fr 2.2fr 1.5fr; gap: 32px; }
  .footer-logo { width: 160px; margin-bottom: 0; }
  .footer-main > div:first-child p { display: none; }
  .footer-main p { font-size: .86rem; line-height: 1.5; }
  .footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 0 18px; }
  .footer-links a { min-height: 44px; }
  .footer-bottom { min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
}

/* Keep the full-bleed contact treatment, but freeze its content geometry at the 1280px design canvas. */
@media (min-width: 1280px) {
  .contact-band {
    grid-template-columns:
      calc((100vw - 1280px) / 2 + 864px)
      calc((100vw - 1280px) / 2 + 416px);
  }

  .contact-copy {
    padding-left: calc((100vw - 1280px) / 2 + 64px);
  }

  .contact-details {
    padding-right: calc((100vw - 1280px) / 2 + 64px);
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 48%) minmax(0, 52%); }
}

@media (min-width: 1101px) and (max-width: 1799px) {
  .site-header, .header-inner { min-height: 130px; }
  .brand { flex-basis: 224px; width: 300px; height: 118px; transform: translateX(-30px); }
  .brand img { width: 300px; max-width: none; height: auto; }
  .site-nav a { padding-inline: 20px; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .header-call { font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .header-call { min-height: 56px; padding-inline: 24px; }
  .header-call::after { display: none; }
  .hero { min-height: 554px; margin-top: -17px; grid-template-columns: minmax(0, 38%) minmax(0, 62%); }
  .hero-copy { margin-left: 60px; transform: translateY(-4px); }
  .hero-media { height: 545px; margin: 0 0 9px; border-radius: 180px 18px 120px 18px; }
  .hero-media picture { background: #edf7f7; }
  .hero-media img { transform: translate(86px, 19px) scale(.918); transform-origin: 0 0; }
  .hero-badge { bottom: -9px; }
}

@media (min-width: 1800px) {
  :root { --shell: min(1480px, calc(100% - 96px)); }
  .site-header, .header-inner { min-height: 160px; }
  .hero { width: min(100%, 2048px); margin-inline: auto; grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); gap: 0; min-height: 803px; }
  .hero::before { display: none; }
  .hero::after { display: none; }
  .header-inner { position: relative; }
  .brand { position: absolute; left: calc((1480px - 100vw) / 2 + 80px); width: 400px; height: 157px; }
  .brand img { width: 400px; max-width: none; height: auto; }
  .site-nav { margin-left: 270px; }
  .site-nav a { padding-inline: 20px; font-size: 1.1rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .header-call { margin-left: auto; }
  .header-call { min-height: 64px; padding-inline: 34px; font-size: 1.25rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .header-call::after { display: none; }
  .hero-copy { width: 700px; max-width: calc(100% - 96px); margin-left: 80px; padding: 82px 0; transform: translateY(-80px); }
  .hero-copy h1 { max-width: 100%; font-size: clamp(80px, calc(6.4516vw - 36.129px), 96px); color: var(--navy); }
  .hero-copy p { max-width: 600px; font-size: 26px; color: var(--ink); }
  .hero-actions .btn { min-height: 64px; padding-inline: 28px; font-size: 20px; }
  .hero-media { height: 730px; margin: 22px 0 51px; border-radius: 220px 18px 160px 18px; }
  .hero-media picture { background: #edf7f7; }
  .hero-media img { filter: contrast(.997); transform: translate(128px, 44px) scale(.91); transform-origin: 0 0; object-fit: cover; object-position: 50% 50%; }
  .hero-badge { bottom: -54px; }
  .services-section .shell { width: var(--shell); }
  .lithium-section .shell { width: min(1900px, calc(100% - 96px)); }
  .footer-bottom { padding-inline: max(48px, calc((100vw - 1480px) / 2)); }
}

/* Shared header: align normal-flow content to the internal hero canvas. */
@media (min-width: 821px) {
  .header-inner { width: min(88.8889vw, 1820.445px); gap: clamp(12px, 1.6vw, 32px); }
  .brand { position: static; flex: 0 0 clamp(160px, 20.83vw, 400px); width: clamp(160px, 20.83vw, 400px); height: auto; transform: none; }
  .brand img { width: 100%; height: auto; max-height: 157px; }
  .site-nav { margin-left: 0; margin-right: auto; }
  .site-nav a { padding-inline: clamp(8px, 1vw, 20px); font-size: clamp(.8rem, 1vw, 1.1rem); font-weight: 500; letter-spacing: 0; text-transform: none; }
  .header-call { margin-left: 0; padding-inline: 18px; font-size: clamp(.85rem, 1vw, 1rem); }
}

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