@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

/*
Theme Name:  GPUSA
Theme URI:   https://gpusa-ca.com
Author:      GreenPowerUSA, Inc.
Description: Custom one-page theme for GPUSA — innovative land and marine seismic source systems.
Version:     1.7.0
Text Domain: gpusa
*/

/* ============================================================
   GPUSA – style.css  v1.0
   Brand: dark navy + GPUSA green (#00cc00) + GPUSA blue (#1a6bff)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:        #001428;
  --bg-2:      #001e3c;
  --bg-3:      #002a52;
  --ink:       #0a1e30;
  --muted:     #5a7080;
  --line:      #d0dce8;
  --paper:     #ffffff;
  --cream:     #f0f5fa;
  --accent:    #00aa00;
  --accent-2:  #00cc00;
  --accent-lt: #c0f0c0;
  --hot:       #1a6bff;
  --max:       1440px;
  --font:      "Barlow","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-brand:"Barlow Condensed","Helvetica Neue",Arial,sans-serif;
  --r:         5px;
  --shadow:    0 6px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* preserve HTML hidden attr vs CSS display overrides */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--hot); }
h1,h2,h3,h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; font-family: var(--font-brand); }
h1 { font-size: clamp(2.4rem,5.5vw,4rem); letter-spacing: .01em; text-transform: uppercase; }
h2 { font-size: clamp(1.7rem,3.2vw,2.6rem); letter-spacing: .02em; text-transform: uppercase; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: .03em; }
p  { margin: 0 0 1em; }

/* ── Layout helpers ─────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-block;
  font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 600;
  color: var(--accent); margin-bottom: 12px;
}
.section-head { max-width: 1000px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--r);
  font-size: .83rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background .18s, border-color .18s, color .18s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--hot); color: #fff !important; }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff !important;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2) !important; }
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent) !important;
  background: transparent;
}
.btn-outline:hover { background: var(--accent); color: #fff !important; }

/* ── Fixed header ───────────────────────────────────────────── */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 14px rgba(0,0,0,.05);
}
/* Push page content below the fixed bar */
body { padding-top: 80px; }
header.site-header .wrap {
  display: flex; align-items: center;
  justify-content: space-between; height: 80px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-brand); font-weight: 900;
  font-size: 1.3rem; color: var(--ink) !important;
  letter-spacing: .01em;
}
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; }
.site-logo { height: 62px; width: auto; display: block; }
.brand .era  { color: var(--accent); }
nav.primary {
  margin-left: auto;
  margin-right: 20px;
}
nav.primary > ul {
  display: flex; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
/* Dropdown must be vertical, not inheriting parent flex */
.nav-dropdown {
  display: flex;
  flex-direction: column;
}
nav.primary > ul > li > a {
  display: block;
  padding: 6px 14px;
  border-radius: var(--r);
  font-size: .88rem; font-weight: 500;
  color: var(--ink); letter-spacing: .02em;
  transition: background .15s, color .15s;
}
nav.primary > ul > li > a:hover,
nav.primary > ul > li.has-dropdown:hover > a {
  background: var(--cream);
  color: var(--hot);
}
nav.primary a {
  font-size: .88rem; font-weight: 500;
  color: var(--ink); letter-spacing: .02em;
}
nav.primary a:hover { color: var(--hot); }
nav.primary a.nav-portal {
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 4px 10px;
  font-weight: 600;
}
nav.primary a.nav-portal:hover { background: var(--accent); color: #fff; }

/* ── Products dropdown ──────────────────────────────────────── */
nav.primary li.has-dropdown { position: relative; }
nav.primary li.has-dropdown > a::after {
  content: " ▾";
  font-size: .6rem;
  vertical-align: middle;
  opacity: .7;
}
nav.primary li.has-dropdown:hover > a { color: var(--accent); }

/* Invisible bridge fills the gap between the nav link and the dropdown panel
   so the mouse never leaves the hover zone when travelling downward. */
nav.primary li.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px; /* matches the visual offset below */
}

.nav-dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 300;
  transition: opacity .18s ease, visibility .18s ease;
  white-space: nowrap;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: var(--line);
}
.nav-dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink) !important;
  border-bottom: 1px solid #f0f4f8;
}
.nav-dropdown li:last-child a { border-bottom: none; }
.nav-dropdown li a:hover {
  background: var(--accent);
  color: #fff !important;
  padding-left: 26px; /* subtle indent on hover */
  transition: background .12s ease, padding-left .12s ease;
}
nav.primary li.has-dropdown:hover .nav-dropdown,
nav.primary li.has-dropdown:focus-within .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Mobile dropdown */
.mobile-nav .mobile-dropdown { display: none; }
.mobile-nav .mobile-dropdown.is-open { display: block; }
.mobile-nav .mobile-dropdown a {
  padding-left: 40px !important;
  font-size: .9rem !important;
  background: #f8fafb;
  color: var(--hot) !important;
  font-weight: 400 !important;
}
.mobile-nav .mobile-dropdown-toggle {
  display: flex !important; justify-content: space-between; align-items: center;
}
.mobile-nav .mobile-dropdown-toggle::after {
  content: "▾";
  font-size: .7rem; margin-right: 4px;
  transition: transform .2s;
}
.mobile-nav .mobile-dropdown-toggle.is-open::after { transform: rotate(-180deg); }
/* ── Nav pill search ────────────────────────────────────────── */
.nav-search {
  position: relative; display: flex; align-items: center;
  gap: 7px; padding: 6px 14px 6px 12px;
  background: #f0f2ef; border: 1px solid #dde3d8;
  border-radius: 999px; flex-shrink: 0;
  transition: border-color .18s, box-shadow .18s;
}
.nav-search:focus-within {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62,112,32,.12);
}
.nav-search-icon { color: #8a9e86; flex-shrink: 0; pointer-events: none; }
.nav-search input[type="search"] {
  border: none; outline: none; background: none;
  font-family: var(--font); font-size: .85rem;
  color: var(--ink); width: 150px;
  padding: 0; caret-color: var(--accent);
}
.nav-search input[type="search"]::placeholder { color: #a0b49a; }
.nav-search input[type="search"]::-webkit-search-cancel-button { display: none; }

/* ── Search dropdown results ────────────────────────────────── */
.nav-search-results {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 340px; max-height: 360px; overflow-y: auto;
  background: #fff; border: 1px solid #dde3d8;
  border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,.12);
  list-style: none; padding: 6px 0; margin: 0;
  z-index: 300;
}
.nav-search-results li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 16px; cursor: pointer;
  border-bottom: 1px solid #f0f2ef;
  transition: background .12s;
}
.nav-search-results li:last-child { border-bottom: none; }
.nav-search-results li:hover { background: #f4f7f1; }
.nsr-section {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.nsr-snippet { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.nsr-snippet mark {
  background: none; color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--accent);
}
.nsr-none { color: var(--muted); font-size: .85rem; padding: 10px 16px; cursor: default; }
.nsr-pdf { border-left: 2px solid var(--accent-lt); }
.nsr-pdf .nsr-section { color: var(--hot); }
.search-overlay-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.5); padding: 6px;
  transition: color .18s; border-radius: 50%;
}
.search-overlay-close:hover { color: #fff; }

/* ── Hamburger button ───────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 210;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ──────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed; top: 80px; left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid var(--line);
  z-index: 199; padding: 16px 0 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none; margin: 0; padding: 0;
}
.mobile-nav ul li a {
  display: block; padding: 13px 24px;
  font-size: 1rem; font-weight: 500;
  color: var(--ink); letter-spacing: .02em;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mobile-nav ul li a:hover { color: var(--accent); background: var(--cream); }
.mobile-nav-live {
  color: var(--accent) !important;
  font-weight: 600 !important;
  display: flex !important; align-items: center; gap: 8px;
}
.live-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #e04040;
  animation: se-dot-blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
.mobile-nav .mobile-cta {
  display: block; margin: 18px 24px 0;
  padding: 12px 18px; text-align: center;
  background: var(--accent); color: #fff !important;
  border-radius: var(--r); font-size: .9rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.mobile-nav .mobile-cta:hover { background: var(--hot); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, var(--bg) 0%, var(--bg-3) 100%);
  color: #e0ecff; padding: 120px 0 140px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 72% 28%, rgba(26,107,255,.22) 0%, transparent 52%),
    radial-gradient(ellipse at 12% 82%, rgba(0,170,0,.18) 0%, transparent 48%);
  pointer-events: none;
}
/* grid-rule overlay */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: repeating-linear-gradient(90deg,rgba(255,255,255,.03) 0 1px,transparent 1px 44px);
  mask: linear-gradient(180deg,transparent 0%,#000 100%);
  -webkit-mask: linear-gradient(180deg,transparent 0%,#000 100%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 45fr 27fr 28fr;
  gap: 0;
  align-items: center;
}
.hero-content { /* left column — text */ }
.hero-overview-mobile { display: none !important; } /* shown on mobile only */
.hero-img-slot,
.hero-img-slot-2 {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  min-height: 320px;
}
.hero-overview-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  object-position: center top;
}
.hero-logo {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-brand); font-weight: 900;
  font-size: clamp(2rem,4.5vw,3rem);
  color: #fff; margin-bottom: 28px; line-height: 1;
}
.hero-logo .mark { width: 60px; height: 60px; flex-shrink: 0; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead {
  font-size: 1.12rem; color: rgba(224,236,255,.82);
  margin-bottom: 40px; line-height: 1.72;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Generic section blocks ─────────────────────────────────── */
.block       { padding: 96px 0; }
.block.cream { background: var(--cream); }
.block.dark  { background: var(--bg-2); color: #d0e4ff; }
.block.dark h2, .block.dark h3 { color: #fff; }
.block.dark .eyebrow { color: var(--accent-2); }
.block.dark p { color: #a8c4e8; }
.block.dark .section-head p { color: #a8c4e8; }

/* ── About ──────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
}
.about-copy h2 { color: var(--ink); margin-bottom: 18px; }
.about-copy p  { color: var(--muted); font-size: 1.02rem; }
.about-visual  {
  aspect-ratio: 4/3;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
}
.about-visual svg { width: 100%; height: 100%; display: block; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Service cards ──────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  padding: 32px 28px 36px;
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  flex-shrink: 0;
}
.card-img img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .35s;
}
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 36px 32px 40px; flex: 1; }
.card--has-img .card-body { padding-top: 24px; }
.card-icon {
  width: 46px; height: 46px; border-radius: 4px;
  background: var(--accent); display: grid; place-items: center;
  color: #fff; margin-bottom: 20px;
}
.card h3 { font-size: .98rem; margin-bottom: 10px; color: var(--ink); }
.card p  { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.62; }
.card:not(.card--has-img) .card-body { padding: 40px 36px 44px; }

/* ── Applications cards — tighter frame ────────────────────── */
#applications .card { padding: 20px 18px 22px; }
#applications .card-body { padding: 18px 16px 20px; }
#applications .card:not(.card--has-img) .card-body { padding: 20px 18px 24px; }

/* ── Technology blocks ──────────────────────────────────────── */
.tech-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start; margin-top: 64px;
}
/* Block 1: narrower right column so the tall portrait image fits with
   minimal grey letterboxing. Ideal frame width = text_height × (778/1536) */
@media (min-width: 901px) {
  .tech-block:has(.tech-photo1-side) { grid-template-columns: 3fr 2fr; }
  .tech-block:has(.tech-photos-3)    { grid-template-columns: 2fr 3fr; }
}
.tech-copy a {
  color: #d0e4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tech-copy a:hover { color: #fff; }
.tech-block + .tech-block { margin-top: 96px; }
.tech-block.rev .tech-img,
.tech-block.rev .tech-photos-3 { order: -1; }

/* ── Block 3 — full-width text + image below ────────────────── */
.tech-block.wide {
  display: block;
}
.tech-block.wide .tech-copy {
  max-width: 100%;
}
.tech-block.wide .tech-copy ul {
  columns: 2; column-gap: 48px;  /* spread bullets across 2 columns     */
}
.tech-block.wide .tech-img {
  margin-top: 36px;
  overflow: visible;        /* let figcaption appear below the image     */
  border: none;
  border-radius: 0;
}
.tech-block.wide .tech-img img {
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.06);
}
.tech-block.wide .tech-img figcaption {
  font-size: .73rem; color: #a8c4e8;
  line-height: 1.45; padding: 8px 2px 0; font-style: italic;
  text-align: center;
}

/* ── Block 3 — extra content below image ────────────────────── */
.tech-block3-extra-p {
  margin-top: 40px;
  color: #a8c4e8; line-height: 1.75; font-size: 1rem;
}
.tech-block3-extra-bullets {
  margin: 20px 0 0;
  columns: 2; column-gap: 48px;
}
.tech-block3-extra-bullets li {
  position: relative; padding-left: 22px;
  margin-bottom: 9px; color: #a8c4e8; font-size: .94rem;
  break-inside: avoid;
}
.tech-block3-extra-bullets li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 2px; background: var(--accent-2);
}
.tech-block3-extra-photo {
  margin: 40px 0 0;
  text-align: center;
}
.tech-block3-extra-photo img {
  width: auto; max-width: 100%; height: auto;
  display: inline-block;
  border: none;
  border-radius: 0;
}
.tech-block3-extra-photo .photo-placeholder {
  min-height: 260px; border-radius: var(--r);
}
.tech-block3-extra-photo figcaption {
  font-size: .73rem; color: #a8c4e8;
  line-height: 1.45; padding: 8px 2px 0; font-style: italic;
  text-align: center;
}

.tech-label {
  font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 8px;
}
.tech-block h2 { color: #fff; margin-bottom: 16px; }
.tech-block p  { color: #a8c4e8; font-size: 1rem; line-height: 1.8; }
.tech-block ul { margin: 20px 0 0; columns: 2; column-gap: 36px; }
.tech-block ul li {
  position: relative; padding-left: 22px;
  margin-bottom: 9px; color: #a8c4e8; font-size: .94rem;
  break-inside: avoid; column-break-inside: avoid;
}
.tech-block ul li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 2px; background: var(--accent-2);
}
.stat-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 32px 0;
}
.stat-bar .stat {
  flex: 1; text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-bar .stat:last-child { border-right: none; }
.stat .n { font-size: 2.4rem; color: var(--accent-2); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.stat .l { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #6a90c0; margin-top: 7px; }
.tech-img { border-radius: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.tech-img img { width: 100%; height: auto; display: block; }
.tech-img figcaption {
  font-size: .79rem; color: #6a90c0; line-height: 1.5;
  padding: 10px 4px 0; font-style: italic;
}

/* ── Spec grid (tech section) ───────────────────────────────── */
.spec-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  margin: 40px 0 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); overflow: hidden;
}
.spec-group {
  padding: 22px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.spec-group:last-child { border-right: none; }
.spec-group-title {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 700; margin-bottom: 4px;
}
.spec-group-sub {
  display: block; font-size: .65rem; letter-spacing: .08em;
  color: #6a8862; text-transform: none; margin-bottom: 14px;
  font-weight: 400;
}
.spec-group-title:not(:has(+ .spec-group-sub)) { margin-bottom: 14px; }
.spec-group dl { margin: 0; }
.spec-group dt {
  font-size: .71rem; color: rgba(255,255,255,.45);
  margin-bottom: 2px; margin-top: 8px;
}
.spec-group dt:first-child { margin-top: 0; }
.spec-group dd {
  font-size: .82rem; color: #d0e4ff;
  margin: 0; font-weight: 500; line-height: 1.4;
}
@media (max-width: 900px) {
  .spec-grid { grid-template-columns: repeat(2,1fr); }
  .spec-group:nth-child(2) { border-right: none; }
  .spec-group:nth-child(1),
  .spec-group:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 520px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-group { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .spec-group:last-child { border-bottom: none; }
}

/* ── 3-photo side column (tech block 1) ─────────────────────── */
.tech-photos-3 {
  display: flex; flex-direction: column; gap: 10px;
}
.tech-photo-item {
  flex: none;
  margin: 0;
}
.tech-photo-item img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r); border: 1px solid rgba(255,255,255,.06);
}
.tech-photo-item figcaption {
  flex-shrink: 0;
  font-size: .73rem; color: #a8c4e8;
  line-height: 1.45; padding: 6px 2px 0; font-style: italic;
  text-align: center;
}
.photo-placeholder {
  flex: 1; min-height: 80px; width: 100%;
  background: rgba(255,255,255,.04);
  border: 2px dashed rgba(255,255,255,.15);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.photo-placeholder span {
  color: rgba(255,255,255,.25); font-size: .82rem; letter-spacing: .1em;
}

/* ── Block 1 — photo 1 (right column) ───────────────────────── */
.tech-photo1-side {
  margin: 0;
}
/* grey frame — both width AND height set by JS for equal border on all sides */
.tech-photo1-frame {
  background: #b0aeaa;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  padding: 18px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.tech-photo1-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tech-photo1-frame .photo-placeholder {
  min-height: 300px;
}
/* caption sits below the grey frame, same style as other captions */
.tech-photo1-side figcaption {
  flex-shrink: 0;
  font-size: .73rem; color: #a8c4e8;
  line-height: 1.45; padding: 8px 2px 0;
  font-style: italic; text-align: center;
}

/* ── Block 1 — photo 2 (full content width below) ───────────── */
.tech-photo2-full {
  margin: 64px 0 0;
  overflow: hidden;
  border-radius: var(--r);
}
.tech-photo2-full img {
  width: 100%; display: block;
  object-fit: cover; max-height: 750px;
  border-radius: var(--r); border: 1px solid rgba(255,255,255,.06);
}
.tech-photo2-full figcaption {
  font-size: .73rem; color: #a8c4e8;
  line-height: 1.45; padding: 8px 2px 0; font-style: italic;
  text-align: center;
}

/* Breathing room above the feeds eyebrow / photo 2 */
.tech-block + .eyebrow {
  display: block;
  margin-top: 56px;
}

/* ── Live feeds — lazy-load trigger ─────────────────────────── */
.live-feeds-loader {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px;
}
@keyframes se-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,204,176,.45); border-color: rgba(184,204,176,.4); }
  50%       { box-shadow: 0 0 0 8px rgba(184,204,176,0); border-color: #a8c4e8; }
}
@keyframes se-dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
.live-feeds-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid rgba(184,204,176,.4);
  color: #a8c4e8;
  animation: se-pulse 2s ease-in-out infinite;
  font-family: inherit; font-size: .78rem;
  letter-spacing: .10em; text-transform: uppercase; font-weight: 600;
  padding: 9px 20px; border-radius: var(--r);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.live-feeds-btn:hover,
.live-feeds-btn:focus-visible {
  border-color: var(--accent-2);
  color: #a8c8a0;
  background: rgba(122,152,114,.08);
  outline: none;
}
.live-feeds-btn--loaded {
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.45);
  animation: none;
}
.live-feeds-btn--loaded:hover {
  border-color: var(--accent-2);
  color: #a8c8a0;
  background: rgba(122,152,114,.08);
}
.live-feeds-hint {
  font-size: .70rem; color: rgba(255,255,255,.28);
  letter-spacing: .05em; font-style: italic;
}

/* ── Live seismic feed windows ───────────────────────────────── */
.live-feeds {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 16px;
}
.live-feed-label {
  font-size: .92rem; letter-spacing: .02em; text-transform: none;
  color: #a8c4e8; margin-bottom: 8px; font-weight: 500;
}
.live-feed-frame {
  width: 100%; height: 420px; display: block;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  background: #060f08;
  overflow: auto;
}
.live-feed-img {
  width: 100%; height: auto; display: block;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  background: #060f08;
}
.live-feed-empty {
  width: 100%; height: 420px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(255,255,255,.12);
  border-radius: var(--r);
  background: rgba(255,255,255,.02);
}
.live-feed-empty span {
  font-size: .75rem; color: rgba(255,255,255,.25);
  letter-spacing: .08em; text-align: center; padding: 0 16px;
}
@media (max-width: 640px) {
  .live-feeds { grid-template-columns: 1fr; }
}

/* ── Figure gallery ─────────────────────────────────────────── */
.fig-gallery {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 26px; margin-top: 80px; padding-top: 52px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.fig-gallery .gal-head {
  grid-column: 1/-1; text-align: center; margin-bottom: 6px;
}
.fig-gallery .gal-head h3 { color: #fff; font-size: 1.3rem; font-weight: 400; }
.fig-gallery .gal-head p  { color: #a8c4e8; max-width: 640px; margin: 0 auto; font-size: .98rem; }
.fig-gallery figure { margin: 0; }
.fig-gallery img {
  width: 100%; height: auto; display: block;
  border-radius: 4px; background: var(--paper);
}
.fig-gallery figcaption {
  font-size: .78rem; color: #6a90c0;
  line-height: 1.5; padding: 9px 2px 0; font-style: italic;
}

/* ── Applications ───────────────────────────────────────────── */
.app-banner { margin: 0 auto 48px; }
.app-banner img { width: 100%; border-radius: 7px; }
.app-banner figcaption {
  font-size: .82rem; color: var(--muted); line-height: 1.5;
  padding: 10px 4px 0; font-style: italic; text-align: center;
}

/* ── Team ───────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.team-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 18px;
  text-align: center; transition: transform .18s, box-shadow .18s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.team-photo {
  width: 84px; height: 84px; border-radius: 50%;
  margin: 0 auto 16px; background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-brand); font-size: 1.25rem;
  font-weight: 700; color: #fff; overflow: hidden;
  border: 3px solid var(--line);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3  { font-size: .97rem; font-weight: 600; margin-bottom: 3px; color: var(--ink); }
.team-role {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.team-card p { font-size: .86rem; color: var(--muted); line-height: 1.55; margin: 0; }
.team-link {
  display: inline-block; margin-top: 12px;
  font-size: .74rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.team-link:hover { color: var(--hot); }

/* ── Media section subtitles ────────────────────────────────── */
.media-subtitle {
  font-size: .72rem; letter-spacing: .20em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-2);
  margin: 52px 0 22px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* ── Flyer grid ─────────────────────────────────────────────── */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 200px, 1fr ) );
  gap: 20px;
}
.flyer-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.flyer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flyer-thumb { aspect-ratio: 3/4; overflow: hidden; background: rgba(0,0,0,.15); }
.flyer-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s;
}
.flyer-card:hover .flyer-thumb img { transform: scale(1.03); }
.flyer-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.flyer-body h4 { font-size: .88rem; margin: 0; color: var(--ink); }
.flyer-body p  { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.5; flex: 1; }
.flyer-dl {
  display: inline-block; margin-top: auto; padding-top: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.flyer-dl:hover { color: var(--hot); }
.flyer-placeholder {
  aspect-ratio: 3/4;
  border: 2px dashed var(--line); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.02);
}
.flyer-placeholder span {
  font-size: .72rem; color: var(--muted);
  letter-spacing: .06em; text-align: center; padding: 0 12px;
}

/* ── Publications ───────────────────────────────────────────── */
.pub-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.pub-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  transition: transform .18s, box-shadow .18s;
}
.pub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pub-meta {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 6px 0 10px;
}
.pub-card h3 { font-size: .97rem; margin-bottom: 0; color: var(--ink); }
.pub-card p  { color: var(--muted); font-size: .89rem; margin: 0 0 14px; line-height: 1.6; }
.pub-link {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.pub-link:hover { color: var(--hot); }

/* ── Partners ───────────────────────────────────────────────── */
.partner-strip {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: center; align-items: center;
  margin-top: 16px;
}
.partner-box {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 28px; display: grid; place-items: center;
  min-width: 160px; min-height: 72px;
  background: var(--paper);
}
.partner-box img { max-height: 48px; max-width: 160px; width: auto; display: block; }
.partner-box a { display: flex; align-items: center; justify-content: center; }
.partner-box a img { transition: opacity .18s; }
.partner-box a:hover img { opacity: .75; }
.partner-box span {
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-row {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: start;
}
.contact-right {
  display: flex; flex-direction: row; gap: 28px; align-items: flex-start;
}
.contact-globe {
  display: block !important;
  width: 180px !important;
  margin: 24px auto 0 !important;
  text-align: center !important;
}
.contact-globe img {
  width: 155px; height: auto;
  display: block;
  margin: 0 auto;
  opacity: .88;
  filter: drop-shadow( 0 0 24px rgba(122,152,114,.40) );
}
.contact-globe figcaption {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: #d0e4ff;
}
form.contact-form { display: grid; gap: 13px; position: relative; }
form.contact-form input,
form.contact-form textarea {
  padding: 12px 15px; font-family: inherit; font-size: .95rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); color: #fff;
  border-radius: 4px; outline: none; width: 100%;
  transition: border-color .18s;
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder { color: #6a90c0; }
form.contact-form input:focus,
form.contact-form textarea:focus { border-color: var(--accent-2); }
form.contact-form textarea { resize: vertical; min-height: 128px; }
form.contact-form button {
  padding: 13px; background: var(--accent); color: #fff;
  border: none; border-radius: 4px; font-family: inherit;
  font-size: .86rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer; transition: background .18s;
}
form.contact-form button:hover { background: var(--hot); }

/* ── Contact map ────────────────────────────────────────────── */
.contact-map-link { display: block; text-decoration: none; width: 48%; flex-shrink: 0; order: 2; }
.contact-right .contact-info { flex: 1; order: 1; }
.contact-map {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  line-height: 0;
  aspect-ratio: 1 / 1;
}
.contact-map iframe { width: 100%; height: 100%; display: block; }
.contact-map-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: rgba(0,20,40,.75);
  color: var(--accent-2); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .18s;
}
.contact-map-link:hover .contact-map-overlay { background: rgba(0,20,40,.92); }

/* ── Send animation overlay ─────────────────────────────────── */
.send-anim {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: rgba(12, 24, 12, 0.90);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  pointer-events: none;
  animation: sendOverlay 5.5s ease forwards;
}
@keyframes sendOverlay {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  72%  { opacity: 1; }
  100% { opacity: 0; }
}
.send-anim-env {
  color: var(--accent-2);
  animation: sendEnvelope 4.0s cubic-bezier(.34,1.4,.64,1) forwards;
  filter: drop-shadow(0 0 18px rgba(122,184,100,.45));
}
@keyframes sendEnvelope {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  18%  { transform: scale(1.12) rotate(4deg); opacity: 1; }
  30%  { transform: scale(1) rotate(0deg);   opacity: 1; }
  72%  { transform: scale(1) translate(0,0) rotate(0deg); opacity: 1; }
  100% { transform: scale(0.35) translate(160px,-200px) rotate(20deg); opacity: 0; }
}
.send-anim-label {
  color: #d0e4ff; font-size: .95rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 600;
  animation: sendLabel 4.2s ease forwards;
}
@keyframes sendLabel {
  0%   { opacity: 0; transform: translateY(8px); }
  22%  { opacity: 1; transform: translateY(0); }
  68%  { opacity: 1; }
  100% { opacity: 0; }
}

.contact-info { }
.contact-info dt {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 600; margin-top: 24px; margin-bottom: 5px;
}
.contact-right .contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 0; color: #d0e4ff; font-size: .97rem; line-height: 1.62; }
.contact-info a { color: #d0e4ff; }
.contact-info a:hover { color: var(--accent-2); }
.contact-linkedin {
  display: inline-flex; align-items: center; gap: 8px;
  color: #d0e4ff; font-size: .97rem; text-decoration: none;
  transition: color .18s;
}
.contact-linkedin:hover { color: var(--accent-2); }
.contact-linkedin svg { flex-shrink: 0; opacity: .85; }

/* ── Footer ─────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--bg); color: #4a6040; font-size: .82rem;
  padding: 28px 0; border-top: 1px solid rgba(255,255,255,.05);
}
footer.site-footer .wrap {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
footer.site-footer a { color: #4a6040; }
footer.site-footer a:hover { color: var(--accent-2); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ── Scroll reveal animations ───────────────────────────────── */
.se-reveal {
  opacity: 0;
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.se-reveal.se-from-left  { transform: translateX(-60px); }
.se-reveal.se-from-right { transform: translateX(60px); }
.se-reveal.se-from-below { transform: translateY(30px); }
.se-reveal.se-visible    { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .se-reveal, .se-reveal.se-from-left,
  .se-reveal.se-from-right, .se-reveal.se-from-below { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1440px) {
  .team-grid { grid-template-columns: repeat(3,1fr); }
  nav.primary > ul { gap: 18px; }
  nav.primary a  { font-size: .82rem; }
  .nav-cta       { padding: 7px 13px; font-size: .76rem; }
}
@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(2,1fr); }
  nav.primary > ul { gap: 14px; }
  nav.primary a  { font-size: .79rem; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-img-slot { display: none; }
  .hero-img-slot-2 {
    display: block; width: 100%; margin: 0 0 20px;
    min-height: unset; overflow: visible; position: static;
  }
  .hero-img-slot-2 img, .hero-img-slot-2 video {
    position: static; width: 100%; height: auto;
    object-fit: unset; border-radius: var(--r);
  }
  .hero-overview-mobile { display: block !important; width: 100%; height: auto; transform: none; margin: 20px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { aspect-ratio: 16/9; }
  .tech-block, .tech-block.rev { grid-template-columns: 1fr; gap: 32px; }
  .tech-block.rev .tech-img,
  .tech-block.rev .tech-photos-3 { order: 0; }
  .tech-photos-3 { flex-direction: column; height: auto; }
  .tech-block ul,
  .tech-block.wide .tech-copy ul,
  .tech-block3-extra-bullets { columns: 1; }
  .tech-photo-item { flex: 0 0 auto; min-height: 0; width: 100%; }
  .tech-photo-item img { width: 100%; height: auto; object-fit: contain; }
  .tech-photo1-side { height: auto; }
  .tech-photo1-frame { height: auto; }
  .tech-photo1-frame img { width: 100%; height: auto; }
  .tech-photo2-full img { object-fit: contain; max-height: none; }
  .tech-block.wide .tech-img { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .tech-block.wide .tech-img img { width: 100%; }
  .contact-row { grid-template-columns: 1fr; gap: 48px; }
  .contact-right { flex-direction: column; gap: 20px; }
  .contact-map-link { width: 100%; margin-left: 0; order: 0; }
  .contact-right .contact-info { order: 0; }
  nav.primary { display: none; }
  .nav-toggle { display: flex; }
  .nav-search { display: none; }
}
@media (max-width: 740px) {
  .cards-3   { grid-template-columns: repeat(2,1fr); }
  .pub-grid  { grid-template-columns: 1fr; }
  .fig-gallery { grid-template-columns: 1fr; }
  .stat-bar { flex-wrap: wrap; padding: 18px 0; margin-top: 32px; }
  .stat-bar .stat { flex: 1 1 auto; min-width: 80px; padding: 0 6px; border-right: 1px solid rgba(255,255,255,.07); }
  .stat-bar .stat:last-child { border-right: none; }
  .stat .n { font-size: 1.3rem; }
  .stat .l { font-size: .6rem; letter-spacing: .08em; margin-top: 5px; }
}
@media (max-width: 520px) {
  .cards-3, .team-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 100px; }
  .hero-logo { font-size: 1.8rem; }
  .hero-logo .mark { width: 44px; height: 44px; }
}

/* ── Site logo ──────────────────────────────────────────────── */
a.brand { gap: 0; }
/* NOTE: base .site-logo height is set to 54px earlier; keep it there. */

.hero-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.hero-logo-img { height: 150px; width: auto; display: block; }

/* ================================================================
   PRODUCT PAGES — breadcrumb, hero, overview, gallery, CTA
   ================================================================ */

/* ── Breadcrumb bar ─────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--bg-3);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 12px 0;
  margin-top: 72px; /* clears fixed header */
}
.breadcrumb-bar .wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar a:hover { color: var(--accent-2); }
.breadcrumb-bar span:last-child { color: #fff; }
.bc-sep { opacity: .4; }

/* ── Product hero ───────────────────────────────────────────── */
.product-hero {
  background: var(--bg);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.product-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 420px;
  padding: 0 28px 0 28px;
}
.product-hero-copy {
  padding: 72px 60px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-hero .eyebrow { color: var(--accent-2); margin-bottom: 18px; display: block; }
.product-hero h1 { color: #fff; }
.product-hero .lead {
  color: rgba(224,236,255,.8);
  font-size: 1.1rem;
  margin-top: 16px;
  line-height: 1.75;
}
.product-hero-img {
  position: relative;
  margin-right: -28px; /* bleed to edge */
}
.product-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* DOV page: transparent PNG hero — use contain so the tool floats against dark bg */
.page-template-page-downhole-sources-php .product-hero-img img {
  object-fit: contain;
  object-position: center center;
  padding: 0;
}

/* ── Product overview ───────────────────────────────────────── */
.product-overview { background: var(--paper); }
.product-overview-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.product-overview-copy p { font-size: 1rem; line-height: 1.8; color: var(--ink); margin-bottom: 1.1em; }
.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-feature-list li {
  padding-left: 24px;
  position: relative;
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.55;
}
.product-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.product-overview-img figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-overview-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
}
.product-overview-img--stacked {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
}
.product-overview-img--stacked figure {
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-overview-img--stacked figure img {
  height: 420px;
  width: auto;
  display: block;
  border-radius: var(--r);
}
/* Single image (non-stacked) also sits in a row */
.product-overview-img:not(.product-overview-img--stacked) {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
}
.product-overview-img:not(.product-overview-img--stacked) figure {
  flex: 1;
  margin: 0;
}
.product-overview-img figcaption {
  font-size: .95rem;
  color: var(--muted);
  padding: 12px 0 0;
  line-height: 1.6;
  text-align: center;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.product-stats-bar { background: var(--bg); padding: 0; }
.product-stats-bar .stat-bar { border-top: none; margin: 0; }

/* ── Gallery ────────────────────────────────────────────────── */
.product-gallery { background: var(--cream); }
.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.product-gallery-item {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  background: #fff;
}
.product-gallery-item figcaption {
  background: #fff;
  padding: 14px 16px;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

/* ── Product CTA ────────────────────────────────────────────── */
.product-cta { text-align: center; }
.product-cta h2 { color: #fff; margin-bottom: 12px; }
.product-cta p  { color: rgba(224,236,255,.75); max-width: 520px; margin: 0 auto 32px; }
.product-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── DOV Specs table ────────────────────────────────────────── */
.product-specs-section h2 { margin-bottom: 28px; }
.dov-specs-table-wrap {
  overflow-x: auto;
  width: 100%;
  display: block;
  -webkit-overflow-scrolling: touch;
}
.dov-specs-table {
  min-width: 560px;
  width: 100%; border-collapse: collapse;
  font-size: .9rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.dov-specs-table thead tr {
  background: var(--bg-2); color: #fff;
}
.dov-specs-table th {
  text-align: left; padding: 12px 16px;
  font-family: var(--font-brand); font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.dov-specs-table td {
  padding: 10px 16px; border-top: 1px solid var(--line);
  color: var(--ink);
}
.dov-specs-table tbody tr:nth-child(even) { background: rgba(0,20,40,.03); }
.dov-specs-table td:first-child { font-weight: 500; }
.dov-specs-table td:last-child { font-weight: 600; color: var(--bg-2); }
.specs-note { margin-top: 10px; font-size: .78rem; color: #888; }
.spec-note { font-size: .78rem; color: #888; font-weight: 400; }
.dov-specs-table--two-col td:first-child { width: 28%; }
.dov-specs-table--two-col td:last-child  { width: 72%; }

/* ── Front-page product cards (teaser) ──────────────────────── */
.product-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.product-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
  cursor: pointer;
}
.product-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.product-card-num {
  font-family: var(--font-brand);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.product-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.product-card p  { color: rgba(224,236,255,.7); font-size: .9rem; line-height: 1.7; flex: 1; }
.product-card-specs {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card-specs span {
  font-size: .78rem;
  color: var(--accent-lt);
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-card-specs span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  margin-top: 8px;
  letter-spacing: .04em;
  transition: gap .15s, color .15s;
}
/* Stretch link to cover the entire card */
.product-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.product-card:hover .product-card-link { gap: 10px; color: #fff; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .product-overview-img--stacked,
  .product-overview-img:not(.product-overview-img--stacked) { flex-direction: column; }
  .product-overview-img--stacked figure img { height: auto; width: 100%; max-width: 100%; }
  .product-gallery-grid { grid-template-columns: 1fr; }
  .product-gallery-item img { height: auto; }
  .product-cards { grid-template-columns: repeat(2, 1fr); }
  .product-hero .wrap { grid-template-columns: 1fr; min-height: unset; }
  .product-hero-copy { padding: 56px 0 40px; }
  .product-hero-img { aspect-ratio: unset; min-height: unset; position: static; margin-right: 0; overflow: visible; }
  .product-hero-img img { position: static; inset: unset; width: 100%; height: auto; object-fit: unset; }
  .product-card { padding: 24px 20px 20px; }
}
@media (max-width: 640px) {
  .product-gallery-grid { grid-template-columns: 1fr; }
  .product-gallery-item img { height: auto; }
  .product-cta-btns { flex-direction: column; align-items: center; }
  .product-cards { grid-template-columns: 1fr; }
  .dov-specs-table { font-size: .8rem; }
  .dov-specs-table td,
  .dov-specs-table th { padding: 9px 10px; }
  .dov-specs-table--two-col td:first-child { width: 36%; }
  .dov-specs-table--two-col td:last-child  { width: 64%; }
  .product-hero-copy { padding: 40px 0 28px; }
  .product-hero-img { aspect-ratio: unset; }
}
@media (max-width: 520px) {
  .hero-logo-img { height: 44px; }
  .site-logo { height: 36px; }
  .block { padding: 60px 0; }
  .product-card { padding: 20px 16px 16px; }
  .product-hero-copy { padding: 32px 0 24px; }
  .product-hero-img { aspect-ratio: unset; }
  /* Stats bar: 2×2 grid on small phones */
  .product-stats-bar .stat-bar { flex-wrap: wrap; }
  .product-stats-bar .stat-bar .stat { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 12px 8px; }
  .product-stats-bar .stat-bar .stat:nth-last-child(-n+2) { border-bottom: none; }
  /* Tighter wrap on small phones */
  .wrap { padding: 0 16px; }
}
@media (max-width: 380px) {
  /* Very small phones: stats stack vertically */
  .stat-bar .stat,
  .product-stats-bar .stat-bar .stat { flex: 1 1 100%; border-right: none; }
  .stat .n { font-size: 1.5rem; }
  .stat .l { font-size: .65rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
