:root {
    --bg:        #FCFBF8;
    --surface:   #F4F2EC;
    --ink:       #1A1A17;
    --muted:     #6F6D66;
    --faint:     #9A988F;
    --line:      rgba(20,20,15,0.09);
    --line-soft: rgba(20,20,15,0.05);
    --accent:        #1F5FB8;
    --accent-dark:   #16498F;
    --accent-tint:   #E9F0FB;
    --blue-wash: #F3F7FC;
    --ok:        #1F8A52;
    --ok-tint:   #E4F3EA;
    --panel:     #0F3A6B;
    --panel-text:#C9D8EC;
    --panel-dim: #7C93B5;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --max: 1080px;
    --radius: 10px;
    --radius-lg: 14px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body { font-family: var(--font-sans); background: var(--bg); color: var(--ink);
         line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  .topbar { height: 4px; background: var(--accent); }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
  a { color: inherit; text-decoration: none; }
  svg.ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

  .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px;
             color: var(--accent-dark); background: var(--accent-tint); padding: 5px 13px; border-radius: 100px; }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .section-tag { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; }

  .btn { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; padding: 11px 22px;
         border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
         transition: transform .12s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
  .btn:active { transform: scale(0.985); }
  .btn-primary { background: var(--accent); color: #fff; }
  .btn-primary:hover { background: var(--accent-dark); }
  .btn-ghost { background: transparent; color: var(--accent-dark); border-color: rgba(31,95,184,0.35); }
  .btn-ghost:hover { border-color: var(--accent); background: var(--accent-tint); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

  /* Nav */
  header.nav { position: sticky; top: 0; z-index: 50; background: rgba(252,251,248,0.85); backdrop-filter: blur(10px);
               border-bottom: 1px solid transparent; transition: border-color .2s ease; }
  header.nav.scrolled { border-bottom-color: var(--line); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
  .logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
  .logo .mark { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff;
                display: inline-flex; align-items: center; justify-content: center; }
  .logo .mark svg { width: 22px; height: 22px; color: #fff; }
  .logo .slogan { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 400; color: var(--accent); letter-spacing: 0.01em; margin-top: 1px; }
  .nav-links { display: flex; align-items: center; gap: 24px; }
  .nav-links a.link { font-family: var(--font-mono); font-size: 13px; color: var(--muted); transition: color .15s; }
  .nav-links a.link:hover { color: var(--accent-dark); }
  .nav-cta { display: flex; align-items: center; gap: 14px; }
  .nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }

  /* Hero */
  .hero { padding: 84px 0 70px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  h1.hero-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; margin: 22px 0 18px; }
  .hero-title em { font-style: normal; color: var(--accent); }
  .hero-sub { font-size: 18px; color: var(--muted); max-width: 30em; margin-bottom: 30px; }
  .hero-lead { font-size: 21px; font-weight: 600; color: var(--ink); max-width: 30em; margin: 22px 0 16px; line-height: 1.4; letter-spacing: -0.01em; }
  .hero.hero-photo .hero-lead { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
  .hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }

  /* Spec card */
  .spec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 rgba(31,95,184,0.04); }
  .spec-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
  .spec-id { display: flex; align-items: center; gap: 12px; }
  .spec-id .mono-mark { width: 40px; height: 40px; border-radius: 9px; background: var(--accent-tint); color: var(--accent);
                        display: inline-flex; align-items: center; justify-content: center; }
  .spec-id .mono-mark svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .spec-id b { font-size: 15px; font-weight: 600; display: block; }
  .spec-id span { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
  .pill-ok { font-family: var(--font-mono); font-size: 11.5px; color: var(--ok); background: var(--ok-tint); padding: 4px 10px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
  .pill-ok .d { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
  .pill-ok.order { color: var(--accent-dark); background: var(--accent-tint); }
  .pill-ok.order .d { background: var(--accent-dark); }
  .spec-rows { padding: 6px 20px 8px; }
  .spec-rows .r { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
  .spec-rows .r:last-child { border-bottom: none; }
  .spec-rows .r .k { color: var(--muted); }
  .spec-rows .r .v { font-family: var(--font-mono); color: var(--ink); }
  .spec-foot { padding: 14px 20px; background: var(--accent-tint); color: var(--accent-dark); font-family: var(--font-mono); font-size: 12px; }

  /* Trust strip */
  .trust { padding: 8px 0 64px; }
  .trust p { text-align: center; font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); margin-bottom: 20px; letter-spacing: 0.03em; }
  .trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; }
  .brand-chip { display: inline-flex; align-items: center; gap: 11px; border: 1px solid rgba(31,95,184,0.22); background: var(--accent-tint);
                border-radius: 100px; padding: 9px 18px; }
  .brand-chip .bd { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
  .brand-chip span { font-size: 16px; font-weight: 600; color: var(--accent-dark); letter-spacing: 0.01em; }

  /* Section shell */
  section.block { padding: 84px 0; border-top: 1px solid var(--line-soft); }
  section.block.tint { background: var(--blue-wash); border-top-color: rgba(31,95,184,0.12); }
  .block-head { max-width: 640px; margin-bottom: 50px; }
  .block-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 14px; line-height: 1.12; }
  .block-head p { font-size: 17px; color: var(--muted); }

  /* Categories */
  .cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cat { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; background: #fff; transition: border-color .15s, box-shadow .15s; }
  .cat:hover { border-color: var(--accent); box-shadow: 0 4px 18px rgba(31,95,184,0.07); }
  .cat .ci { width: 46px; height: 46px; border-radius: 11px; background: var(--accent); color: #fff;
             display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
  .cat .ci svg { width: 24px; height: 24px; stroke: #fff; }
  .cat h3 { font-size: 19px; font-weight: 600; margin-bottom: 9px; }
  .cat p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
  .cat a.more { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }

  /* Features */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .feature { background: var(--bg); padding: 28px 26px 30px; }
  .feature .fi { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-tint); color: var(--accent);
                 display: inline-flex; align-items: center; justify-content: center; }
  .feature h3 { font-size: 16.5px; font-weight: 600; margin: 16px 0 7px; }
  .feature p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

  /* Vessels (Good to know) */
  .vessels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .vcard { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
  .vimg { aspect-ratio: 16 / 10; background: #EAF1FB; display: block; }
  .vimg svg, .vimg img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .v-water { fill: #CFE0F5; } .v-hull { fill: #16498F; } .v-sup { fill: #1F5FB8; }
  .v-win { fill: #EAF1FB; } .v-line { stroke: #16498F; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .vbody { padding: 20px 22px 22px; }
  .vbody h3 { font-size: 17px; font-weight: 600; margin-bottom: 7px; }
  .vbody p { font-size: 14px; color: var(--muted); line-height: 1.55; }

  /* Steps */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .step .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
  .step .bar { height: 2px; background: var(--accent-tint); margin: 14px 0 18px; position: relative; }
  .step .bar::before { content: ""; position: absolute; left: 0; top: 0; width: 30px; height: 2px; background: var(--accent); }
  .step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
  .step p { font-size: 15px; color: var(--muted); }

  /* Catalogue table */
  .cat-table { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
  table.parts { width: 100%; border-collapse: collapse; }
  table.parts th { text-align: left; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em;
                   color: var(--accent-dark); font-weight: 500; padding: 14px 20px; background: var(--accent-tint); border-bottom: 1px solid rgba(31,95,184,0.18); }
  table.parts td { padding: 15px 20px; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
  table.parts tr:last-child td { border-bottom: none; }
  table.parts .pn { font-family: var(--font-mono); color: var(--accent-dark); }
  table.parts .pn a { white-space: nowrap; }
  .stat { white-space: nowrap; }
  table.parts .fits { font-family: var(--font-mono); color: var(--muted); font-size: 13px; }
  .stat { font-family: var(--font-mono); font-size: 11.5px; padding: 3px 9px; border-radius: 100px; }
  .stat.in { color: var(--ok); background: var(--ok-tint); }
  .stat.order { color: var(--accent-dark); background: var(--accent-tint); }

  /* FAQ */
  .faq { max-width: 760px; }
  details.q { border-bottom: 1px solid var(--line); }
  details.q summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  details.q summary::-webkit-details-marker { display: none; }
  details.q summary .pm { color: var(--accent); transition: transform .2s; font-size: 22px; line-height: 1; }
  details.q[open] summary .pm { transform: rotate(45deg); }
  details.q .a { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 64ch; }

  /* Final CTA */
  .cta-band { padding: 84px 0; border-top: 1px solid var(--line-soft); }
  .cta-inner { background: var(--panel); border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; color: #fff; }
  .cta-inner h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
  .cta-inner p { color: var(--panel-text); font-size: 17px; margin-bottom: 28px; }
  .cta-inner .btn-primary { background: #fff; color: var(--accent-dark); }
  .cta-inner .btn-primary:hover { background: #eef3fb; }
  .contact-row { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; justify-content: center; }
  .contact-pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 14px; color: var(--panel-text);
                  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 10px 16px; }
  .contact-pill svg { width: 16px; height: 16px; stroke: var(--panel-dim); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

  /* Footer */
  footer.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; }
  .foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; margin-bottom: 44px; }
  .foot-brand .logo { margin-bottom: 14px; }
  .foot-brand p { font-size: 14px; color: var(--muted); max-width: 26em; }
  .foot-col h4 { font-family: var(--font-mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
  .foot-col a { display: block; font-size: 14.5px; color: var(--muted); padding: 5px 0; transition: color .15s; }
  .foot-col a:hover { color: var(--accent-dark); }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--line-soft);
                 font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); flex-wrap: wrap; gap: 12px; }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  /* Responsive */
  @media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .cats, .features, .steps, .vessels-grid { grid-template-columns: 1fr; }
    .features { border-radius: var(--radius-lg); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .hero { padding: 54px 0 46px; }
    table.parts .fits, table.parts th.fits-h { display: none; }
  }
  @media (max-width: 520px) {
    .wrap { padding: 0 20px; }
    .foot-grid { grid-template-columns: 1fr; }
    .cta-inner { padding: 40px 24px; }
    .vessels-grid { grid-template-columns: 1fr 1fr; }
  }

/* ─── Subpages (part / category pages) ─── */
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); padding: 24px 0 0; }
.breadcrumb a { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: var(--faint); }
.page-hero { padding: 28px 0 50px; border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -0.025em; margin: 16px 0 16px; line-height: 1.07; }
.page-hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.page-hero .lead { font-size: 18px; color: var(--muted); max-width: 60ch; margin-bottom: 26px; }
.page-hero .hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.section-pad { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.section-pad:first-of-type { border-top: none; }
.prose { max-width: 70ch; }
.prose p { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.prose ul { list-style: none; margin: 4px 0 16px; }
.prose li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink); padding: 7px 0; }
.prose li svg { width: 18px; height: 18px; stroke: var(--accent); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }
.prose li > span { flex: 1; min-width: 0; }
.prose li a { color: var(--accent); }
.table-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
table.parts td.eng { font-family: var(--font-mono); color: var(--ink); }
.ph { color: var(--faint); font-family: var(--font-mono); }
.stat.tbc { color: var(--muted); background: var(--surface); }

table.parts .pn a { color: var(--accent); text-decoration: none; }
table.parts .pn a:hover { text-decoration: underline; }

.product-figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 24px; text-align: center; }
.product-figure img { width: 1000px; max-width: 100%; height: auto; display: block; margin: 0 auto; }
.product-figure figcaption { margin-top: 14px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }

/* ─── Contact form + modal (shared) ─── */
.cf { display: grid; gap: 16px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field > span { font-size: 13px; color: var(--ink); font-weight: 500; }
.cf-field > span em { color: var(--accent); font-style: normal; }
.cf-field > span small { color: var(--faint); font-weight: 400; }
.cf input, .cf textarea { font-family: var(--font-sans); font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 13px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.cf textarea { resize: vertical; min-height: 96px; }
.cf .cf-invalid { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }
.cf-count { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); align-self: flex-end; margin-top: -2px; }
.cf-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cf-req { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.cf-status { font-size: 13.5px; margin: 0; min-height: 1px; }
.cf-status.cf-err { color: #C0392B; }
.cf-status.cf-ok { color: var(--ok); }
@media (max-width: 560px) { .cf-grid { grid-template-columns: 1fr; } }

.cf-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cf-modal[hidden] { display: none; }
.cf-overlay { position: absolute; inset: 0; background: rgba(15,35,60,0.5); backdrop-filter: blur(2px); }
.cf-panel { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto; padding: 32px; }
.cf-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--faint); cursor: pointer; }
.cf-close:hover { color: var(--ink); }
.cf-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.cf-sub { font-size: 15px; color: var(--muted); margin-bottom: 22px; }

/* ─── Contacts page ─── */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 20px; }
.ci-list { list-style: none; display: grid; gap: 18px; }
.ci-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; color: var(--ink); }
.ci-list li svg { width: 20px; height: 20px; stroke: var(--accent); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }
.ci-list li .k { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.ci-list li a { color: var(--accent-dark); }
.ci-list li a:hover { color: var(--accent); }
.contact-form-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 28px; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } }

/* Clickable featured spec card (homepage hero) */
a.spec-link { text-decoration: none; color: inherit; display: block; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
a.spec-link:hover { transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(22,73,143,0.14); border-color: var(--accent); }
a.spec-link .spec-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
a.spec-link .spec-go { color: var(--accent); font-weight: 600; white-space: nowrap;
  transition: transform .16s ease; }
a.spec-link:hover .spec-go { transform: translateX(3px); }

/* ─── Impeller product page: spec-card photo + engine list ─── */
.spec-photo { background: #fff; border-bottom: 1px solid var(--line-soft); padding: 20px; text-align: center; }
.spec-photo img { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; border-radius: 8px; }
.spec-photo-note { font-family: var(--font-mono); font-size: 11px; color: var(--faint); margin: 8px 0 0; line-height: 1.4; }
.eng-list { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.eng-list li { position: relative; padding-left: 15px; font-size: 14px; line-height: 1.4; }
.eng-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }


/* ─── Nav dropdown (Catalogue) ─── */
.nav-dd { position: relative; }
.nav-dd > .link { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dd .caret { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.nav-dd:hover .caret, .nav-dd:focus-within .caret { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 234px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20,20,15,0.12); padding: 7px;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 70; }
.nav-dd-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  padding: 9px 12px; border-radius: 8px; white-space: nowrap; transition: background .14s, color .14s; }
.nav-dd-menu a:hover { background: var(--accent-tint); color: var(--accent-dark); }
.nav-dd-menu a.all { color: var(--accent); border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 11px; }


/* ─── Warehouse / photo strip ─── */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 0; }
.photo-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--accent-tint); }
.photo-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.photo-shot:hover img { transform: scale(1.04); }
.photo-cap { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: 1fr; } }


/* ─── Case study ─── */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 34px 0 0; }
.metric { border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; background: #fff; }
.metric .n { font-family: var(--font-mono); font-size: clamp(26px,3vw,32px); font-weight: 600; letter-spacing: -0.02em; color: var(--accent); line-height: 1; }
.metric .l { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 6px 0 0; }
.split2 .col { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.split2 h4 { font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.split2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.split2 li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); line-height: 1.45; }
.split2 li svg { position: absolute; left: 0; top: 2px; width: 17px; height: 17px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.split2 .keep li svg { stroke: var(--ok); }
.split2 .save li svg { stroke: var(--accent); }
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, 1fr); } .split2 { grid-template-columns: 1fr; } }


/* ─── Case study: offer comparison highlight ─── */
.savecard { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 26px 0 0; border: 1px solid var(--accent); background: var(--accent-tint); border-radius: 16px; padding: 22px 26px; }
.savecard .sc-opt { min-width: 120px; }
.savecard .sc-k { font-size: 13px; color: var(--muted); }
.savecard .sc-v { font-family: var(--font-mono); font-size: clamp(22px,3vw,28px); font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.savecard .sc-v.gen { color: var(--ink); text-decoration: line-through; text-decoration-color: var(--faint); }
.savecard .sc-v.mix { color: var(--accent); }
.savecard .sc-arrow { font-size: 22px; color: var(--muted); }
.savecard .sc-save { margin-left: auto; text-align: right; padding-left: 22px; border-left: 1px solid rgba(31,95,184,0.22); }
.savecard .sc-pct { font-family: var(--font-mono); font-size: clamp(26px,4vw,36px); font-weight: 700; color: var(--ok); letter-spacing: -0.02em; line-height: 1; }
.savecard .sc-save .sc-k { margin-top: 5px; }
@media (max-width: 680px) { .savecard .sc-arrow { display: none; } .savecard .sc-save { margin-left: 0; text-align: left; padding-left: 0; border-left: none; } }


/* ─── Homepage success-story band ─── */
.case-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin: 36px 0 0; padding: 28px 32px; background: var(--accent-tint); border: 1px solid var(--accent); border-radius: 16px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.case-band:hover { box-shadow: 0 8px 26px rgba(31,95,184,0.12); transform: translateY(-2px); }
.case-band .cb-main { flex: 1; min-width: 260px; }
.case-band .cb-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.case-band .cb-h { font-size: clamp(19px,2.2vw,24px); font-weight: 600; letter-spacing: -0.02em; margin: 8px 0; color: var(--ink); }
.case-band .cb-accent { color: var(--accent); }
.case-band .cb-p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.case-band .cb-cta { text-align: center; flex-shrink: 0; }
.case-band .cb-pct { display: block; font-family: var(--font-mono); font-size: clamp(34px,5vw,48px); font-weight: 700; color: var(--ok); letter-spacing: -0.02em; line-height: 1; }
.case-band .cb-link { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--accent); }
@media (max-width: 680px) { .case-band .cb-cta { text-align: left; } }


/* ─── Hero with photo background ─── */
.hero.hero-photo { position: relative; background: #07182e; padding: 98px 0 88px; overflow: hidden; }
.hero.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(6,18,38,.85) 0%, rgba(6,18,38,.55) 36%, rgba(6,18,38,.16) 66%, rgba(6,18,38,0) 100%), url('hero-ctv.jpg');
  background-size: cover, 120% auto; background-position: center, left center; background-repeat: no-repeat; }
.hero.hero-photo .wrap { position: relative; z-index: 1; }
.hero.hero-photo .eyebrow { color: #1F5FB8; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero.hero-photo .hero-title { color: #fff; }
.hero.hero-photo .hero-title em { color: #7fb0e8; }
.hero.hero-photo .hero-sub { color: rgba(255,255,255,.88); }
.hero.hero-photo .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.hero.hero-photo .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero.hero-photo .spec { box-shadow: 0 24px 60px rgba(0,0,0,.42); }
@media (max-width: 880px) {
  .hero.hero-photo::before { background-size: cover; background-position: center;
    background-image: linear-gradient(180deg, rgba(6,18,38,.86) 0%, rgba(6,18,38,.70) 100%), url('hero-ctv.jpg'); }
}

/* Frequently sold parts carousel (homepage hero) */
.fsp { display:flex; flex-direction:column; }
.fsp-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.fsp-title { font-family: var(--font-sans); font-size:19px; font-weight:600; letter-spacing:-0.02em; line-height:1.02; text-transform:none; color:#fff; text-shadow:0 1px 8px rgba(0,0,0,.5); }
.fsp-title em { font-style:normal; color:#fff; }
.fsp-nav { display:flex; gap:8px; }
.fsp-arrow { width:32px; height:32px; border:1px solid var(--line); background:#fff; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; color:var(--ink); transition:all .15s ease; }
.fsp-arrow:hover { border-color:var(--accent); color:var(--accent); }
.fsp-arrow svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.fsp-track { position:relative; display:grid; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.42); }
/* all slides stacked in one grid cell */
.fsp-slide { grid-area:1/1; visibility:hidden; pointer-events:none; transform:translateX(0); }
.fsp-slide.is-active { visibility:visible; pointer-events:auto; transform:translateX(0); }
/* both leaving and entering slides move together, same duration/easing, no fade */
.fsp-slide.is-leaving, .fsp-slide.is-entering {
  visibility:visible;
  transition: transform .6s cubic-bezier(.45,0,.15,1); }
.fsp-slide.is-leaving { pointer-events:none; }
/* leaving card exits fully to one side */
.fsp-slide.leave-left  { transform:translateX(-100%); }
.fsp-slide.leave-right { transform:translateX(100%);  }
/* entering card starts fully off the opposite side (no transition yet), then slides to centre */
.fsp-slide.enter-from-right { visibility:visible; transform:translateX(100%); }
.fsp-slide.enter-from-left  { visibility:visible; transform:translateX(-100%); }
a.fsp-slide { text-decoration:none; color:inherit; cursor:pointer; display:block; background:#fff; }
a.fsp-slide .spec-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; }
a.fsp-slide .spec-go { color:var(--accent); font-weight:600; white-space:nowrap; transition:transform .16s ease; }
a.fsp-slide:hover .spec-go { transform:translateX(4px); }
@keyframes fspIn { from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }
.fsp-dots { display:flex; gap:7px; justify-content:center; margin-top:14px; }
.fsp-dot { width:7px; height:7px; padding:0; border:none; border-radius:50%; background:var(--line); cursor:pointer; transition:all .2s ease; }
.fsp-dot.is-active { background:var(--accent); transform:scale(1.25); }
@media (prefers-reduced-motion: reduce){ .fsp-slide, .fsp-slide.is-leaving, .fsp-slide.is-entering { transition:none !important; } }

/* Part search bar (injected into the header by search.js) */
.psearch { position:absolute; top:100%; left:0; right:0; z-index:45;
  display:flex; justify-content:center; pointer-events:none; }
.psearch > * { pointer-events:auto; }
.psearch-box { position:relative; width:460px; max-width:92vw; height:54px;
  background-image:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20460%2054%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2C0%20L460%2C0%20L437.98%2C42.46%20Q432%2C54%20419%2C54%20L41%2C54%20Q28%2C54%2022.02%2C42.46%20Z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%23dbe3ec%22%20stroke-width%3D%221%22/%3E%3C/svg%3E"); background-repeat:no-repeat; background-size:100% 100%;
  filter:drop-shadow(0 10px 22px rgba(15,40,80,.16));
  display:flex; align-items:center; gap:9px; padding:0 46px 8px; }
.psearch-ic { width:18px; height:18px; flex:0 0 18px; fill:none; stroke:#7d8ea3; stroke-width:2; stroke-linecap:round; }
.psearch-box input { flex:1; min-width:0; border:0; outline:0; background:transparent;
  font-family:var(--font-mono); font-size:13px; color:var(--ink); }
.psearch-box input::placeholder { color:#9fb0c2; font-family:'Inter',sans-serif; font-size:13px; }
.psearch-res { position:absolute; top:62px; left:50%; transform:translateX(-50%);
  width:540px; max-width:94vw; background:#fff; border:1px solid var(--line); border-radius:14px;
  box-shadow:0 18px 50px rgba(15,40,80,.18); overflow:hidden; display:none; z-index:70; }
.psearch-res.open { display:block; }
.psearch-res a { display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:11px 16px; text-decoration:none; border-bottom:1px solid var(--line-soft); }
.psearch-res a:last-child { border-bottom:0; }
.psearch-res a:hover, .psearch-res a.sel { background:var(--accent-tint); }
.psearch-res .rp { font-family:var(--font-mono); font-size:13.5px; color:var(--accent-dark); white-space:nowrap; }
.psearch-res .rn { font-size:13px; color:var(--ink); flex:1; }
.psearch-res .re { font-size:11.5px; color:var(--muted); font-family:var(--font-mono); white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis; max-width:190px; }
.psearch-res .psearch-all { justify-content:center; font-size:13px; color:var(--accent); font-weight:500;
  background:var(--blue-wash); }
.psearch-none { padding:14px 16px; font-size:13px; color:var(--muted); }
.psearch-none a { display:inline; padding:0; border:0; color:var(--accent); }
@media (max-width:760px){ .psearch-box { padding:0 30px 8px; } .psearch-res .re { display:none; } }
/* search results page */
.sr-h { font-size:clamp(24px,3vw,30px); font-weight:600; letter-spacing:-0.02em; margin:0 0 26px; }
.sr-cat { font-family:var(--font-mono); font-size:14px; font-weight:500; color:var(--muted);
  margin:34px 0 10px; text-transform:none; }
.sr-cat span { color:var(--faint); }
