/* E.S. Kyle Instrument: site styles. Tokens from DESIGN.md. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-wdth.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --sc-canvas: #F5F7FA; --sc-surface: #E9EEF4;
  --sc-ink: #0E1A2B; --sc-ink-soft: #4A5A6E;
  --sc-accent: #115AAA; --sc-accent-ink: #F7FAFC;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "IBM Plex Sans", system-ui, sans-serif;
  --deep: #00407C; --deep-2: #062B55; --deep-soft: #B9CBE0;
  --accent-hover: #0D4A8E; --steel: #9D9FA1; --line: #D3DBE5; --white: #FDFEFF;
  --radius-control: 6px; --radius-card: 10px;
  --max: 1280px; --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 112px);
  --shadow-1: 0 1px 2px rgba(14, 26, 43, .06), 0 2px 8px rgba(17, 90, 170, .06);
  --shadow-2: 0 12px 32px rgba(14, 26, 43, .14), inset 0 1px 0 rgba(255, 255, 255, .6);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { overflow-x: clip; margin: 0; background: var(--sc-canvas); color: var(--sc-ink); font: 400 17px/1.6 var(--sc-font-text); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--sc-font-display); font-stretch: 88%; color: var(--sc-ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; font-weight: 750; letter-spacing: -.015em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 700; font-stretch: 95%; }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 70ch; }
a { color: var(--sc-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
::selection { background: var(--sc-accent); color: var(--sc-accent-ink); }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; border-radius: 2px; }
input, select, textarea { caret-color: var(--sc-accent); }
html { scrollbar-color: #9fb2c8 var(--sc-canvas); }
.tabular, table { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--surface { background: var(--sc-surface); }
.eyebrow { font: 600 13px/1.2 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-accent); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--sc-ink-soft); }
.muted { color: var(--sc-ink-soft); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sc-accent); color: var(--sc-accent-ink); padding: 10px 14px; border-radius: var(--radius-control); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-control); font: 600 16px/1 var(--sc-font-text); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, transform .12s ease-out; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--sc-accent-ink); }
.btn--ghost { border-color: var(--sc-ink); color: var(--sc-ink); background: transparent; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--sc-accent); border-color: var(--sc-accent); color: #fff; }
.btn--light { border-color: rgba(247, 250, 252, .75); color: #F7FAFC; background: rgba(6, 43, 85, .25); }
.btn--light:hover { background: #F7FAFC; color: var(--deep-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .15s ease-out; }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { transform: translateX(3px); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 254, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a, .nav button.navtop { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 10px; white-space: nowrap; font: 500 15px/1 var(--sc-font-text); color: var(--sc-ink); text-decoration: none; border-radius: var(--radius-control); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button.navtop:hover, .nav a[aria-current="page"] { color: var(--sc-accent); background: var(--sc-surface); }
.nav .caret { width: 12px; height: 12px; transition: transform .15s ease-out; }
.nav .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-2); opacity: 0; transform: translateY(4px) scale(.98); transform-origin: top left; visibility: hidden; transition: opacity .15s ease-out, transform .15s ease-out, visibility 0s linear .15s; }
.nav .sub a { display: flex; height: auto; padding: 10px 12px; width: 100%; }
.nav .sub .grp { font: 600 12px/1 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); padding: 12px 12px 6px; }
.nav li.open > .sub, .nav li:focus-within > .sub { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .nav li:hover > .sub { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; } }
.nav li.open .caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 12px; }
.header-phone { font: 600 15.5px/1 var(--sc-font-text); color: var(--sc-ink); text-decoration: none; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.header-phone svg { width: 18px; height: 18px; color: var(--sc-accent); }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); color: var(--sc-ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1380px) { .header-phone span { display: none; } }
.nav .sub a { white-space: normal; }
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--white); display: block; padding: 12px var(--gutter) 120px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .22s ease-out; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a, .nav button.navtop { width: 100%; height: 52px; font-size: 18px; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 4px; }
  .nav .sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; opacity: 1; transform: none; visibility: visible; min-width: 0; background: transparent; }
  .nav li.open > .sub { display: block; }
  .nav .sub a { border-bottom: 0; height: 44px; font-size: 16px; }
  .nav .mobile-actions { display: grid; gap: 10px; margin-top: 20px; }
}
.nav .mobile-actions { display: none; }
@media (max-width: 1120px) { .nav .mobile-actions { display: grid; } }
body.nav-lock { overflow: hidden; }
/* the header's backdrop-filter makes it the containing block for the fixed menu; drop it on small screens so the menu fills the screen */
@media (max-width: 1120px) { .site-header { backdrop-filter: none; background: var(--white); } }

/* Home: stacked scroll scenes */
.scenes { position: relative; background: var(--deep-2); }
.scene { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 520px; overflow: hidden; color: #F7FAFC; background: var(--deep-2); isolation: isolate; box-shadow: 0 -18px 40px rgba(0, 0, 0, .35); }
.scene:first-child { box-shadow: none; }
/* extra scroll while each scene holds still before the next one slides over */
.scene-hold { display: none; }
.scene__bg { display: none; }
.scene__img { position: absolute; inset: 0; z-index: -2; }
.scene__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#scene-2 .scene__img img { object-position: 75% 50%; }
#scene-4 .scene__img img { object-position: 85% 50%; }
.scene__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .4s ease-out; }
.scene__video.is-on { opacity: 1; }
#scene-2 .scene__video { object-position: 75% 50%; }
#scene-4 .scene__video { object-position: 85% 50%; }
.scene__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 22, 48, .62) 0%, rgba(4, 22, 48, .3) 30%, rgba(4, 22, 48, 0) 48%); }
.scene .wrap { max-width: min(1680px, 100%); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.scene__copy { max-width: min(760px, 42vw); }
.scene__count { font: 600 14px/1 var(--sc-font-text); color: var(--deep-soft); letter-spacing: .06em; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.scene__count b { color: #F7FAFC; }
.scene__count i { display: block; width: 44px; height: 2px; background: rgba(185, 203, 224, .35); position: relative; overflow: hidden; }
.scene__count i::after { content: ""; position: absolute; inset: 0; background: #F7FAFC; transform: scaleX(var(--fill, 0)); transform-origin: left; }
.scene h1, .scene h2 { color: #F7FAFC; font-size: clamp(40px, 5.4vw, 120px); line-height: .98; letter-spacing: -.025em; font-weight: 800; margin-bottom: 18px; }
.scene .type { font: 500 clamp(19px, 1.6vw, 34px)/1.35 var(--sc-font-text); color: #DCE7F3; min-height: 1.4em; margin: 0 0 30px; }
.scene .type .cursor { display: inline; position: relative; }
.scene .type .cursor::after { content: ""; position: absolute; left: 1px; top: .1em; width: 2px; height: 1.05em; background: #F7FAFC; animation: blink 1s steps(1) infinite; } /* zero-width, so it never moves a word to the next line */
.scene .type .type__rest { visibility: hidden; }
@keyframes blink { 50% { opacity: 0; } }
.scene__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.scene__products { position: absolute; z-index: 0; pointer-events: none; top: 50%; transform: translateY(-50%); left: 44%; right: max(calc(var(--gutter) + 36px), 4vw); display: flex; justify-content: center; align-items: flex-end; }
.scene__products img { width: auto; height: min(62svh, 28vw); max-width: none; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .5)); }
.scene__products--batteries { left: 47%; right: auto; width: min(33vw, 72svh); }
.scene__products--batteries img { width: 100%; height: auto; }
/* product overlays (slide 1 gauges/case/PSG/phone, slide 3 batteries) slide in from the right each time their slide comes into view */
.scene__products { opacity: 0; translate: 70vw 0; transition: translate 1.2s cubic-bezier(.16, .84, .3, 1) .25s, opacity .5s ease .25s; }
.scene.is-here .scene__products { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .scene__products { opacity: 1; translate: 0 0; transition: none; } }
.scene__products img + img { height: min(53.9svh, 23.8vw); margin-left: 1%; }
.scene-dots { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 10px; opacity: 0; visibility: hidden; transition: opacity .2s ease-out; }
.scene-dots.is-on { opacity: 1; visibility: visible; }
.scene-dots a { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(247, 250, 252, .8); display: block; }
.scene-dots a[aria-current="true"] { background: #F7FAFC; }
.scene-dots a:focus-visible { outline-color: #F7FAFC; }
@media (max-width: 767px) {
  .scene { position: relative; top: 0; height: auto; min-height: 0; max-height: none; box-shadow: none; }
  .scene .wrap { padding-top: 0; padding-bottom: calc(48px + 36px); justify-content: flex-start; }
  .scene__img { bottom: auto; height: 56.25vw; }
  .scene__scrim { background: linear-gradient(90deg, rgba(4, 22, 48, .82) 0%, rgba(4, 22, 48, .5) 45%, rgba(4, 22, 48, 0) 75%); height: 56.25vw; bottom: auto; }
  .scene h1, .scene h2 { font-size: clamp(21px, 6.2vw, 30px); line-height: 1.02; margin-bottom: 6px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
  /* text overlays the video on the left; buttons sit below the video */
  .scene__copy { position: relative; max-width: none; width: 62%; height: 56.25vw; display: flex; flex-direction: column; justify-content: center; }
  .scene__count { font-size: 11px; margin-bottom: 8px; }
  .scene__count i { width: 28px; }
  .scene .type { font-size: clamp(12.5px, 3.5vw, 16px); min-height: 2.7em; margin: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
  /* keep the text clear of the product / battery cut-outs on slides 1 and 3 */
  .scene:has(.scene__products) .scene__copy { width: 52%; }
  .scene__actions { position: absolute; top: calc(56.25vw + 18px); left: 0; width: calc(100vw - 2 * var(--gutter)); flex-wrap: nowrap; }
  .scene__actions .btn--light { display: none; } /* phones already have the Call button in the bottom bar */
  .scene .wrap { max-width: 100%; }
  /* product / battery cut-outs slide in over the right side of the video */
  .scene__products { display: flex; top: 0; height: 56.25vw; transform: none; left: auto; right: var(--gutter); width: 46vw; align-items: center; justify-content: flex-end; }
  .scene__products img, .scene__products img + img { height: auto; width: 100%; max-height: 50vw; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
  .scene__products--batteries { left: auto; width: 40vw; }
  .scene-dots { display: none; }
  .scene-hold { display: none; }
}

/* Cards and grids */
.grid { display: grid; gap: 24px; }
.services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-1); text-decoration: none; color: inherit; transition: transform .18s ease-out, box-shadow .18s ease-out; }
.svc__img { background: var(--deep-2); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__img--contain { background: linear-gradient(180deg, rgba(4, 22, 48, .15), rgba(4, 22, 48, .35)), url("/assets/img/scenes/battery-m.webp") 8% 100% / auto 150% no-repeat, var(--deep-2); }
.svc__img--contain img { object-fit: contain; padding: 14px 10px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45)); }
.svc__body { padding: 24px 24px 24px 0; }
.svc__body p { color: var(--sc-ink-soft); font-size: 16px; margin-bottom: 12px; }
.svc__body .link-arrow { color: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) { .svc:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); } }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .svc { grid-template-columns: 1fr; } .svc__img { height: 150px; } .svc__body { padding: 0 20px 20px; } }
/* Home service cards use the page header images: desktop crops in on the subject, phones show the whole header */
.svc__img--hdr img { object-position: var(--focus, 80% 50%); }
@media (max-width: 520px) { .svc__img--hdr { height: auto; } .svc__img--hdr img { height: auto; aspect-ratio: 2458 / 640; object-position: center; } }
@media (max-width: 520px) { .svc__img--contain { background-size: 200% auto; background-position: 0% 92%; } }

.prod-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.prod-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.prod-group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prod-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.prod-list a { display: grid; grid-template-rows: 150px auto auto; gap: 4px; padding: 14px; border-radius: var(--radius-control); background: var(--sc-canvas); text-decoration: none; color: var(--sc-ink); border: 1px solid transparent; transition: border-color .15s ease-out, background-color .15s ease-out; height: 100%; }
.prod-list a:hover { border-color: var(--sc-accent); background: var(--white); }
.prod-list img { width: 100%; height: 150px; object-fit: contain; }
.prod-list b { font: 700 17px/1.2 var(--sc-font-display); font-stretch: 90%; }
.prod-list span { font-size: 14px; color: var(--sc-ink-soft); }
@media (max-width: 960px) { .prod-groups { grid-template-columns: 1fr; } }

/* Contact band */
.contact-band { background: #D9E5F3; border-top: 3px solid var(--sc-accent); }
.contact-band .wrap { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 24px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.cb-item small { display: block; font: 600 12.5px/1 var(--sc-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: 8px; }
.cb-item a, .cb-item span { font: 700 20px/1.25 var(--sc-font-display); font-stretch: 90%; color: var(--sc-ink); text-decoration: none; }
.cb-item a:hover { color: var(--sc-accent); }
@media (max-width: 960px) { .contact-band .wrap { grid-template-columns: 1fr; gap: 20px; } }

/* Page header (inner pages) */
.page-hero { position: relative; color: #F7FAFC; background: var(--deep-2); isolation: isolate; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 22, 48, .85) 0%, rgba(4, 22, 48, .6) 45%, rgba(4, 22, 48, .1) 80%); }
.page-hero .wrap { min-height: clamp(260px, 26vw, 640px); display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.page-hero h1 { color: #F7FAFC; max-width: 18ch; margin-bottom: 12px; }
.page-hero .sub { font: 500 clamp(18px, 1.8vw, 23px)/1.35 var(--sc-font-text); color: #DCE7F3; margin: 0; }
.crumbs { font-size: 14px; color: var(--deep-soft); margin-bottom: 16px; }
.crumbs a { color: var(--deep-soft); text-decoration: none; }
.crumbs a:hover { color: #F7FAFC; text-decoration: underline; }
.page-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.page-hero--plain { background: var(--sc-surface); color: var(--sc-ink); }
.page-hero--plain::before { display: none; }
.page-hero--plain h1 { color: var(--sc-ink); }
.page-hero--plain .crumbs, .page-hero--plain .crumbs a { color: var(--sc-ink-soft); }
.page-hero--plain .sub { color: var(--sc-ink-soft); }
.page-hero--plain .wrap { min-height: 0; padding-top: 56px; padding-bottom: 48px; }
/* Phones: header picture as a clean band on top (product on the right side of the image), text below on plain blue */
@media (max-width: 767px) {
  .page-hero__img { bottom: auto; height: 52vw; }
  .page-hero__img img { object-position: 92% 50%; }
  .page-hero:not(.page-hero--plain)::before { background: linear-gradient(180deg, rgba(4, 22, 48, 0) 0, rgba(4, 22, 48, 0) 34vw, var(--deep-2) 52vw); }
  .page-hero:not(.page-hero--plain) .wrap { min-height: 0; padding-top: calc(52vw + 4px); padding-bottom: 32px; }
}

/* Product page */
.prod-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prod-top h2 { font-size: clamp(26px, 2.8vw, 36px); }
.prod-top .tagline { font: 700 15px/1 var(--sc-font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--sc-accent); margin-bottom: 14px; }
.prod-media { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 16px; justify-items: center; position: sticky; top: calc(var(--header-h) + 24px); }
.prod-media img { max-height: 460px; width: auto; }
.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.features li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.features li svg { width: 20px; height: 20px; color: var(--sc-accent); margin-top: 3px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: 16px; }
.spec-block h3 { font-size: 19px; padding-bottom: 10px; border-bottom: 2px solid var(--sc-accent); margin-bottom: 0; }
.spec { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.spec th, .spec td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; color: var(--sc-ink-soft); width: 45%; }
.spec td { font-weight: 500; }
.spec thead th { color: var(--sc-ink); font-weight: 600; }
.spec--3 th { width: 34%; }
.spec-block--wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .prod-top, .spec-grid { grid-template-columns: 1fr; } .prod-media { position: static; } }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 16px 0 0; }

/* Compare */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); margin-top: 16px; }
.compare { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--sc-surface); font: 700 16px/1.2 var(--sc-font-display); font-stretch: 90%; position: sticky; top: 0; }
.compare thead a { color: var(--sc-ink); text-decoration: none; }
.compare thead a:hover { color: var(--sc-accent); }
.compare tbody th { color: var(--sc-ink-soft); font-weight: 500; width: 190px; position: sticky; left: 0; background: var(--white); }
.compare tr:last-child > * { border-bottom: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--sc-surface); border-radius: calc(var(--radius-control) + 4px); margin-top: 8px; }
.tabs button { min-height: 44px; padding: 0 18px; border: 0; background: transparent; border-radius: var(--radius-control); font: 600 15px/1 var(--sc-font-text); color: var(--sc-ink-soft); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--sc-ink); box-shadow: var(--shadow-1); }

/* Price tables */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; font-size: 16px; }
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--deep); color: #F7FAFC; font-weight: 600; font-size: 15px; }
.price-table td.num, .price-table th.num { text-align: right; white-space: nowrap; font-weight: 600; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table small { display: block; color: var(--sc-ink-soft); font-size: 14px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-card); }
.note { background: var(--sc-surface); border-radius: var(--radius-control); padding: 14px 16px; font-size: 15.5px; margin-top: 16px; }
@media (max-width: 640px) {
  .price-table.stack thead { display: none; }
  .price-table.stack, .price-table.stack tbody, .price-table.stack tr, .price-table.stack td { display: block; width: 100%; }
  .price-table.stack tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .price-table.stack td { border: 0; padding: 4px 16px; display: flex; justify-content: space-between; gap: 16px; text-align: left; }
  .price-table.stack td.num { text-align: right; }
  .price-table.stack td[data-label]::before { content: attr(data-label); color: var(--sc-ink-soft); font-weight: 500; }
  .price-table.stack td:first-child::before { content: none; }
  .price-table.stack td:first-child { font-weight: 600; }
}

/* Two column content */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.ticks { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--sc-accent); border-bottom: 2px solid var(--sc-accent); transform: rotate(-45deg); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.faq h3 { font-size: 19px; }
.faq p { margin: 0; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* Battery finder */
.finder { display: grid; gap: 16px; margin: 8px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 600 15px/1 var(--sc-font-text); color: var(--sc-ink); cursor: pointer; transition: border-color .15s ease-out, background-color .15s ease-out, color .15s ease-out; }
.chip:hover { border-color: var(--sc-accent); }
.chip[aria-pressed="true"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
.finder-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.finder-row .field { flex: 1 1 220px; margin: 0; }
.bat-make { margin-top: 32px; }
.bat-make[hidden] { display: none; }
.bat-count { font-size: 15px; color: var(--sc-ink-soft); }

/* Software / downloads */
.sw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sw { display: grid; grid-template-columns: 180px 1fr; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; align-items: start; }
.sw img { border-radius: var(--radius-control); border: 1px solid var(--line); }
.sw p { font-size: 16px; color: var(--sc-ink-soft); }
@media (max-width: 900px) { .sw-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sw { grid-template-columns: 1fr; } }
.dl-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dl-list li a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--sc-ink); font-weight: 500; }
.dl-list li a:hover { color: var(--sc-accent); background: var(--white); }
.dl-list small { color: var(--sc-ink-soft); font-weight: 400; white-space: nowrap; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 15px; }
.field label .req { color: var(--sc-accent); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--sc-font-text); color: var(--sc-ink); background: var(--white); border: 1px solid #b9c6d6; border-radius: var(--radius-control); transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 3px rgba(17, 90, 170, .2); }
.field .help { font-size: 14px; color: var(--sc-ink-soft); }
.field .err { font-size: 14px; color: #B42318; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #B42318; }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-control); display: none; }
.form-status.ok { display: block; background: #E7F4EC; color: #14532D; }
.form-status.bad { display: block; background: #FDECEC; color: #8A1C1C; }
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.people li { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.people b { font-weight: 600; }
.people span { color: var(--sc-ink-soft); font-size: 15px; }
.people a { grid-column: 1 / -1; font-size: 15.5px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; transition: box-shadow .18s ease-out; }
.post-card:hover { box-shadow: var(--shadow-2); }
.post-card .body { padding: 22px; }
.post-card time { font-size: 14px; color: var(--sc-ink-soft); }
.post-card h2 { font-size: 24px; margin: 6px 0 10px; }
@media (max-width: 800px) { .posts { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose img { border-radius: var(--radius-card); margin: 8px 0 24px; }

/* Footer */
.site-footer { background: var(--deep); color: #DCE7F3; padding: 56px 0 28px; }
.site-footer a { color: #F7FAFC; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #F7FAFC; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { color: #F7FAFC; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--sc-font-text); font-weight: 600; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15.5px; }
.foot-grid p { font-size: 15.5px; color: #DCE7F3; }
.foot-logo { width: 170px; margin-bottom: 16px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(185, 203, 224, .25); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--deep-soft); }
.foot-bottom nav { display: flex; gap: 18px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Sticky phone bar */
.callbar { display: none; }
@media (max-width: 767px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(253, 254, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(14, 26, 43, .08); }
  .callbar .btn { min-height: 46px; padding: 0 10px; font-size: 15px; }
  body { padding-bottom: 72px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene { position: relative; top: 0; }
  .scene-hold { display: none; }
  .reveal { opacity: 1; transform: none; }
  .scene .type .cursor { display: none; }
}
/* Slide 2: live readout drawn over the meter screen in the slide art (positions are % of the 2458x640 image) */

.meter { position: absolute; left: 84.3%; top: 27.0%; width: 4.75%; height: 5.4%; display: flex; align-items: center; justify-content: flex-end;
  background: linear-gradient(180deg, #b0d3f4, #bcdcfb); border-radius: 2px; }
.meter span { font: italic 600 4.1cqh/1 var(--sc-font-text); color: #2468b9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 2%; }
@media (max-width: 767px) { .meter { display: none; } }
/* Slide 3: the E.S. Kyle battery packs over the scene */
.scene__batteries { position: absolute; z-index: 0; pointer-events: none; left: 44%; right: 17vw; top: 50%; transform: translateY(-50%) rotate(-6deg); display: grid; gap: 3vw; justify-items: center; }
.scene__batteries img { width: min(30vw, 600px); height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
.scene__batteries img + img { width: min(25vw, 500px); transform: translateX(-8%); }
@media (max-width: 767px) { .scene__batteries { display: none; } }

/* Google map between the Request a Quote bar and the footer (as on the old site) */
.map-band { line-height: 0; background: var(--sc-surface); }
.map-band iframe { display: block; width: 100%; height: 450px; border: 0; }
@media (max-width: 767px) { .map-band iframe { height: 320px; } }
/* Phones: service card title sits over the header image, left side, in white */
@media (max-width: 520px) {
  .svc:has(.svc__img--hdr) { position: relative; }
  .svc:has(.svc__img--hdr) .svc__img { position: relative; }
  .svc:has(.svc__img--hdr) .svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 22, 48, .75) 0%, rgba(4, 22, 48, .35) 50%, rgba(4, 22, 48, 0) 70%); }
  .svc:has(.svc__img--hdr) .svc__body h3 { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 2458 / 640; margin: 0; padding: 0 45% 0 16px; display: flex; align-items: center; color: #F7FAFC; font-size: 18px; line-height: 1.15; z-index: 1; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
  .svc:has(.svc__img--hdr) .svc__body { padding-top: 0; }
}
/* Phones: home slides become a swipe carousel, one slide at a time */
@media (max-width: 767px) {
  .scenes { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
  .scenes::-webkit-scrollbar { display: none; }
  .scenes > .scene { flex: 0 0 100%; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .m-dots { display: flex; justify-content: center; gap: 10px; padding: 0 0 18px; background: var(--deep-2); margin-top: -6px; }
  .m-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(247, 250, 252, .35); cursor: pointer; }
  .m-dots button[aria-current="true"] { background: #F7FAFC; width: 22px; border-radius: 5px; }
}
@media (min-width: 768px) { .m-dots { display: none; } }
/* Phones: long buttons wrap instead of pushing columns past the screen edge */
.prod-top > *, .split > * { min-width: 0; }
@media (max-width: 767px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; height: auto; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
}
/* Click-to-enlarge drawings */
.zoom { position: relative; display: block; cursor: zoom-in; }
.zoom__hint { position: absolute; right: 10px; bottom: 10px; font: 600 13px/1 var(--sc-font-text); color: #fff; background: rgba(6, 43, 85, .82); padding: 7px 10px; border-radius: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 16, 34, .92); display: none; overflow: auto; -webkit-overflow-scrolling: touch; }
.lightbox.is-open { display: block; }
.lightbox img { display: block; margin: 0 auto; max-width: none; width: min(900px, 96vw); height: auto; background: #fff; padding: 12px 0; cursor: zoom-out; }
.lightbox__close { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #062B55; font: 700 26px/1 var(--sc-font-text); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
body.lb-open { overflow: hidden; }
/* Probe pages: features numbered to match the dimension drawing */
.features--num li { grid-template-columns: 26px 1fr; }
.features .fnum { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--sc-accent); color: #fff; font: 700 13px/1 var(--sc-font-text); }
/* build 1790977937 */
/* Phone menu: Request a Quote / Call keep their real button look */
@media (max-width: 1120px) {
  .nav .mobile-actions .btn { height: auto; min-height: 50px; justify-content: center; border-radius: var(--radius-control); font-size: 17px; padding: 0 18px; }
  .nav .mobile-actions .btn--primary { background: var(--sc-accent); color: #fff; border: 1.5px solid var(--sc-accent); }
  .nav .mobile-actions .btn--ghost { border: 1.5px solid var(--sc-ink); color: var(--sc-ink); background: transparent; }
  .nav .mobile-actions .btn--ghost:hover { background: var(--sc-accent); border-color: var(--sc-accent); color: #fff; }
}
