/* Magnus Sourcing: site stylesheet
   Direction: engineered spec-sheet. Deep navy and steel, logo blue, molten-orange accent used sparingly.
   Type: Archivo (display, slightly expanded), IBM Plex Sans (body), IBM Plex Mono (labels, data). */

:root {
  --navy: #14213d;
  --navy-2: #1c2d52;
  --blue: #3f5fab;
  --blue-soft: #e8edf8;
  --orange: #f26724;
  --orange-deep: #c94f12;
  --orange-soft: #fdeee5;
  --ink: #18202b;
  --muted: #5a6575;
  --line: #dde2ea;
  --paper: #f5f7fa;
  --white: #ffffff;
  --ok: #1f7a4d;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1240px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --radius: 6px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--ink); font: 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; font-stretch: 106%; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 750; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
.ic { flex: none; vertical-align: -4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: #d7deea; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.eyebrow { font: 500 .78rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 14px; display: block; }
.eyebrow-light { color: var(--orange); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 .98rem/1 var(--body); padding: 14px 20px; border-radius: var(--radius); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-deep); color: #fff; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-lg { padding: 17px 24px; font-size: 1.04rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow .ic { transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* Top bar and header */
.topbar { background: var(--navy); color: #b9c3d6; font: 500 .8rem/1 var(--mono); }
.topbar-in { display: flex; gap: 24px; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #dfe6f2; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar-cert { display: inline-flex; gap: 6px; align-items: center; color: #fff; margin-right: auto; }
.topbar .ic { width: 15px; height: 15px; }
@media (max-width: 860px) { .topbar-loc, .topbar a[href^="mailto"] { display: none; } }
@media (max-width: 520px) { .topbar-cert { font-size: .7rem; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.brand { color: var(--blue); display: block; width: 210px; flex: none; }
.brand svg { width: 100%; height: auto; display: block; }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-top { font: 600 .95rem var(--body); color: var(--navy); background: none; border: 0; padding: 26px 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-top .ic { width: 15px; height: 15px; transition: transform .2s; }
.nav-item.is-active > .nav-top { color: var(--blue); box-shadow: inset 0 -3px 0 var(--orange); }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(20, 33, 61, .12); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s; }
.nav-panel-in { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; }
.nav-intro { border-right: 1px solid var(--line); padding-right: 32px; }
.nav-intro-link { font: 750 1.4rem var(--display); color: var(--navy); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.nav-intro p { color: var(--muted); font-size: .95rem; margin: 0; }
.nav-col-h { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.nav-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-col a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-col a:hover, .nav-col a[aria-current] { color: var(--orange-deep); }
@media (min-width: 1101px) {
  .nav-item:hover > .nav-panel, .nav-item.open > .nav-panel, .nav-item:focus-within > .nav-panel { visibility: visible; opacity: 1; transform: none; }
  .nav-item:hover > .nav-top .ic, .nav-item.open > .nav-top .ic { transform: rotate(180deg); }
}
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 9px 12px; font: 600 .9rem var(--body); color: var(--navy); gap: 8px; align-items: center; cursor: pointer; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; background: var(--white); } /* a backdrop-filter would trap the fixed menu panel inside the header */
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--white); flex-direction: column; align-items: stretch; padding: 88px 24px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; box-shadow: -20px 0 40px rgba(20, 33, 61, .15); margin: 0; z-index: 60; }
  body.nav-open .site-nav { transform: none; visibility: visible; }
  body.nav-open .nav-toggle { position: fixed; top: 18px; right: 20px; z-index: 70; background: var(--white); }
  .nav-list { flex-direction: column; }
  .nav-top { width: 100%; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-item.is-active > .nav-top { box-shadow: none; }
  .nav-panel { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; display: none; }
  .nav-item.open > .nav-panel { display: block; }
  .nav-item.open > .nav-top .ic { transform: rotate(180deg); }
  .nav-panel-in { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 0 20px; }
  .nav-intro { border: 0; padding: 0; }
  .nav-intro p { display: none; }
  .nav-intro-link { font-size: 1rem; }
  .nav-cta { justify-content: center; margin-top: 20px; }
}
@media (max-width: 520px) { .brand { width: 170px; } }

/* Breadcrumbs */
.crumbs { font: 500 .78rem var(--mono); letter-spacing: .04em; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a7b0bf; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange-deep); }
.page-hero .crumbs, .page-hero .crumbs a { color: #a9b5cb; }

/* Home hero */
.hero { position: relative; background: var(--navy); color: #d6deeb; overflow: hidden; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { color: #c3cddd; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points .ic { color: var(--orange); margin-top: 3px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.hero-tag { position: absolute; left: -18px; bottom: 28px; background: var(--white); color: var(--ink); padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .9rem; max-width: 270px; }
.hero-tag b { font-family: var(--display); color: var(--navy); display: block; font-size: 1.05rem; }
.hero-tag span { font: 500 .74rem var(--mono); color: var(--muted); letter-spacing: .04em; }
@media (max-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero-tag { left: 12px; } }

.proof { background: var(--navy-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.proof-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.1); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item b { font: 800 2rem/1 var(--display); display: block; color: #fff; font-stretch: 112%; }
.proof-item span { font-size: .88rem; color: #aebad0; }
@media (max-width: 760px) { .proof-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof-item { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.1); } }

/* Inner page hero */
.page-hero { background: var(--navy); color: #cfd8e6; position: relative; overflow: hidden; }
.page-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: clamp(36px, 5vw, 68px); }
.page-hero.no-media .page-hero-in { grid-template-columns: minmax(0, 880px); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c1cbdb; font-size: 1.15rem; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.page-hero-media.contain img { object-fit: contain; background: #000; }
@media (max-width: 900px) { .page-hero-in { grid-template-columns: minmax(0, 1fr); } .page-hero-media { order: -1; } .page-hero-media img { aspect-ratio: 16 / 9; } }

/* Answer-first summary + specs */
.quick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .quick { grid-template-columns: minmax(0, 1fr); } }
.answer { border-left: 4px solid var(--orange); padding: 4px 0 4px 22px; }
.answer .eyebrow { margin-bottom: 8px; }
.answer p { font-size: 1.12rem; color: var(--ink); margin: 0; }
.specs { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.specs-h { font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.specs table th, .specs table td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.specs table tr:last-child th, .specs table tr:last-child td { border-bottom: 0; }
.specs th { font-weight: 500; color: var(--muted); width: 42%; }
.specs td { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.specs-note { font-size: .8rem; color: var(--muted); padding: 10px 18px; border-top: 1px solid var(--line); background: var(--paper); margin: 0; }

/* Content layout */
.content-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: .9rem; }
.toc-h { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--navy); border-left-color: var(--orange); }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.prose { max-width: 780px; min-width: 0; }
.prose > section { scroll-margin-top: 100px; }
.prose > section + section { margin-top: 56px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: -10px; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--blue-soft); border-left: 4px solid var(--blue); font-size: 1.05rem; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table, .prose table { font-size: .93rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--paper); font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; color: var(--navy); }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c94f12' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.note-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 1.4em 0; font-size: .95rem; }
.note-box p:last-child { margin: 0; }

/* Process steps (a real sequence, so numbered) */
.steps { list-style: none; padding: 0; margin: 1.4em 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); margin: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 .85rem var(--mono); color: var(--orange-deep); padding-top: 3px; }
.steps b { display: block; color: var(--navy); font-family: var(--display); font-size: 1.05rem; }
.steps-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
@media (max-width: 860px) { .steps-wide { grid-template-columns: minmax(0, 1fr); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.card:hover { border-color: #b8c3d6; box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0f17; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-kicker { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin: 0; font-size: 1.18rem; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 8px; font-size: .92rem; }
.card-plain { padding: 24px; gap: 10px; }

/* Home: capability rows */
.cap-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cap-feature-media { min-height: 380px; position: relative; background: #000; }
.cap-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap-feature-body { padding: clamp(28px, 4vw, 48px); }
.cap-feature-body h3 { font-size: 1.7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.chips a, .chips span { display: inline-block; font: 500 .85rem var(--body); padding: 7px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--navy); text-decoration: none; background: var(--paper); }
.chips a:hover { border-color: var(--orange); color: var(--orange-deep); }
@media (max-width: 860px) { .cap-feature { grid-template-columns: minmax(0, 1fr); } .cap-feature-media { min-height: 240px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare table { min-width: 760px; font-size: .93rem; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font: 600 .88rem var(--display); }
.compare tbody th { color: var(--navy); font-weight: 600; background: var(--paper); white-space: nowrap; }
.compare tr:last-child > * { border-bottom: 0; }

.badges { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; font: 500 .82rem var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.badges span { display: inline-flex; gap: 8px; align-items: center; }
.badges .ic { color: var(--blue); }

/* Parts strip */
.parts-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; background: #000; }
.parts-strip figure { margin: 0; aspect-ratio: 1; overflow: hidden; position: relative; }
.parts-strip img { width: 100%; height: 100%; object-fit: cover; }
.parts-strip figcaption { position: absolute; left: 10px; bottom: 8px; font: 500 .7rem var(--mono); color: #c9d2e2; letter-spacing: .05em; }
@media (max-width: 760px) { .parts-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team figure { margin: 0; }
.team img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.team figcaption { padding-top: 12px; }
.team b { display: block; font-family: var(--display); color: var(--navy); font-size: 1.05rem; }
.team span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 650 1.08rem var(--display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem var(--body); color: var(--orange-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 20px; color: var(--ink); max-width: 72ch; }
.faq .faq-a p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #cbd5e5; }
.cta-band-in { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 62ch; margin: 0; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta-band-in { grid-template-columns: minmax(0, 1fr); } .cta-band-actions { flex-direction: row; flex-wrap: wrap; } }

/* Footer */
.site-footer { background: #0d1628; color: #9eabc2; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 36px; padding-block: 64px 40px; }
.footer-about p { margin: 18px 0; max-width: 42ch; }
.footer-cert { display: flex; gap: 10px; color: #dfe6f2; font-size: .85rem; }
.footer-cert .ic { color: var(--orange); }
.footer-col h3 { color: #fff; font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c8d2e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-contact b { display: flex; gap: 8px; align-items: center; color: #fff; margin-bottom: 6px; font-weight: 600; }
.footer-contact .ic { color: var(--orange); width: 17px; height: 17px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } .footer-contact { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }
.field .err { color: #b03024; font-size: .84rem; margin-top: 6px; }
.dropzone { border: 2px dashed #b7c2d6; border-radius: var(--radius); padding: 26px; text-align: center; background: var(--paper); position: relative; }
.dropzone.drag { border-color: var(--orange); background: var(--orange-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ic { width: 28px; height: 28px; color: var(--blue); margin: 0 auto 8px; display: block; }
.dropzone b { color: var(--navy); }
.dropzone .files { font-size: .88rem; color: var(--ink); margin-top: 8px; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 18px 22px; border-radius: var(--radius); margin-bottom: 24px; }
.alert-ok { background: #e6f4ec; border: 1px solid #b6dcc6; color: #134d31; }
.alert-err { background: #fbeae8; border: 1px solid #efc3bd; color: #7a1f16; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.quote-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: minmax(0, 1fr); } .quote-aside { position: static; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.panel h3 { font-size: 1.1rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { background: var(--white); padding: 12px 14px; font-size: .9rem; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.gallery figcaption b { display: block; color: var(--navy); }

/* Blog */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.post-meta { font: 500 .8rem var(--mono); color: var(--muted); letter-spacing: .04em; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.page-hero .post-meta { color: #a9b5cb; }
.post-cover { margin-top: -1px; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.prose .lede { font-size: 1.2rem; color: var(--muted); }
.prose .takeaways { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 20px 24px; margin: 1.6em 0; }
.prose .kt-title { font: 500 .76rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 8px; }
.prose .takeaways ul { margin: 0; }
.prose .capsule { background: var(--blue-soft); }
.prose .chart-title { font: 650 1rem var(--display); color: var(--navy); margin-top: 1.6em; }
.prose table.barchart, .prose table.barwrap { min-width: 0; width: auto; }
.prose table.barchart td, .prose table.barwrap td { border: 0; padding: 4px 8px 4px 0; font-weight: 400; }
.prose .blabel { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.prose td.bar { background: var(--blue) !important; border-radius: 3px; padding: 0 !important; }
.prose .bval { font: 500 .85rem var(--mono); color: var(--navy) !important; white-space: nowrap; }
.prose .marker { background: var(--orange-soft); border-left: 4px solid var(--orange); padding: 16px 20px; margin: 1.6em 0; border-radius: 0 var(--radius) var(--radius) 0; }
.prose .marker p:last-child { margin: 0; }
.prose .marker-tag { display: block; font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 6px; }
.prose .cta, .prose .cta-line { font-weight: 600; }
.prose .datatable { margin: 1.4em 0; }
/* Numbered step cells carry a legacy dark bgcolor attribute from WordPress; render them like any other cell. */
.prose .datatable td[bgcolor="#23366D"], .prose .datatable td[bgcolor="#3F5FAB"], .prose .datatable td[bgcolor="#7085BF"] { background: transparent !important; width: 56px; }

/* Process selector tool */
.tool { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: clamp(20px, 3vw, 32px); }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
@media (max-width: 700px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } }
.tool-result { margin-top: 24px; display: grid; gap: 12px; }
.tool-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 54px; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.tool-row a { font-weight: 650; color: var(--navy); text-decoration: none; }
.tool-row .meter { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.tool-row .meter i { display: block; height: 100%; background: var(--blue); border-radius: 8px; }
.tool-row.best { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange-soft); }
.tool-row.best .meter i { background: var(--orange); }
.tool-row .score { font: 500 .85rem var(--mono); text-align: right; color: var(--muted); }
.tool-row .why { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); margin: -4px 0 0; }
@media (max-width: 560px) { .tool-row { grid-template-columns: minmax(0, 1fr) 54px; } .tool-row .meter { grid-column: 1 / -1; grid-row: 2; } }

.cert-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.cert-card img { border: 1px solid var(--line); border-radius: 4px; }
.cert-card dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: .95rem; }
.cert-card dt { color: var(--muted); }
.cert-card dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .cert-card { grid-template-columns: minmax(0, 1fr); } .cert-card img { max-width: 280px; } .cert-card dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .cert-card dd { margin-bottom: 8px; } }

.glossary dt { font: 650 1.05rem var(--display); color: var(--navy); margin-top: 22px; scroll-margin-top: 100px; }
.glossary dd { margin: 4px 0 0; color: var(--ink); max-width: 72ch; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.az a { font: 500 .85rem var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--navy); }

.notfound { text-align: center; padding-block: 96px; }
.notfound .code { font: 800 7rem/1 var(--display); color: var(--blue-soft); font-stretch: 120%; }

/* =====================================================================
   Modern layer (v2): softer geometry, glow + line-work backgrounds,
   glass surfaces, motion. Everything below overrides the base above.
   ===================================================================== */
:root {
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --glow-blue: rgba(63, 95, 171, .55);
  --glow-orange: rgba(242, 103, 36, .35);
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 12px 32px -8px rgba(20, 33, 61, .14);
  --shadow-lg: 0 30px 60px -20px rgba(20, 33, 61, .35);
}

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 80; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), var(--orange)); }

/* Header: shrinks and gains a shadow once you scroll */
.site-header { transition: box-shadow .3s var(--ease), background .3s; }
.header-in { transition: min-height .3s var(--ease); }
body.scrolled .site-header { box-shadow: 0 10px 30px -12px rgba(20, 33, 61, .25); }
@media (min-width: 1101px) { body.scrolled .header-in { min-height: 62px; } body.scrolled .nav-top { padding-block: 20px; } }
.nav-top { transition: color .2s, background .2s, padding .3s; }
@media (min-width: 1101px) {
  .nav-top { border-radius: 999px; padding: 10px 13px; margin-block: 16px; } /* pill is desktop-only; mobile drawer rows stay flat */
  body.scrolled .nav-top { padding-block: 8px; margin-block: 11px; }
  .nav-top:hover { background: var(--paper); }
  .nav-item.is-active > .nav-top { box-shadow: none; background: var(--blue-soft); color: var(--blue); }
  .nav-panel { left: 50%; right: auto; width: min(1080px, calc(100vw - 40px)); transform: translate(-50%, 8px); border: 1px solid var(--line); border-radius: var(--radius-lg); top: calc(100% + 6px); }
  .nav-item:hover > .nav-panel, .nav-item.open > .nav-panel, .nav-item:focus-within > .nav-panel { transform: translate(-50%, 0); }
  .nav-panel-in { padding: 28px 32px; }
  .nav-col a { padding: 7px 10px; margin-inline: -10px; border-radius: 8px; transition: background .15s, color .15s, transform .15s; }
  .nav-col a:hover { background: var(--paper); transform: translateX(3px); }
}

/* Buttons: pills with lift and glow */
.btn { border-radius: 999px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: linear-gradient(135deg, #ff7a3d, var(--orange) 45%, var(--orange-deep)); box-shadow: 0 10px 24px -10px var(--glow-orange); }
.btn-accent:hover { box-shadow: 0 16px 32px -10px rgba(242, 103, 36, .6); background: linear-gradient(135deg, #ff8a52, var(--orange) 40%, var(--orange-deep)); }
.btn-primary:hover { box-shadow: 0 14px 28px -12px var(--glow-blue); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }

/* Eyebrows become small status chips */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--orange-soft); letter-spacing: .1em; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(242, 103, 36, .18); flex: none; }
.eyebrow-light { background: rgba(242, 103, 36, .12); border: 1px solid rgba(242, 103, 36, .28); }
.answer .eyebrow { background: none; padding: 0; }
.answer .eyebrow::before { display: none; }

/* Line-work canvas and glows behind dark sections */
.hero, .page-hero, .cta-band, .bg-navy { isolation: isolate; position: relative; overflow: hidden; }
.linework { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero { background: radial-gradient(1100px 600px at 85% -10%, rgba(63, 95, 171, .55), transparent 60%), radial-gradient(700px 500px at -5% 110%, rgba(242, 103, 36, .16), transparent 60%), linear-gradient(180deg, #101a33, var(--navy)); }
.hero-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: 8%; top: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(63, 95, 171, .45), transparent 65%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.12); } }
.page-hero { background: radial-gradient(900px 480px at 90% 0%, rgba(63, 95, 171, .5), transparent 60%), linear-gradient(180deg, #111b35, var(--navy)); }
.bg-navy { background: radial-gradient(800px 500px at 100% 0%, rgba(63, 95, 171, .45), transparent 60%), var(--navy); }
.cta-band { background: radial-gradient(700px 400px at 100% 100%, rgba(242, 103, 36, .22), transparent 60%), radial-gradient(800px 500px at 0% 0%, rgba(63, 95, 171, .45), transparent 60%), var(--navy); }

/* Hero composition */
.hero h1 { letter-spacing: -.025em; font-stretch: 110%; }
.hero h1 em { background: linear-gradient(90deg, #ff8a52, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-media { perspective: 1200px; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 2deg)); transition: transform .6s var(--ease); }
.hero-tag { border-radius: var(--radius); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .6); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-badge { position: absolute; right: -14px; top: 22px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 999px; background: rgba(13, 22, 40, .72); color: #fff; border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); font: 500 .78rem var(--mono); animation: float 7s 1s ease-in-out infinite; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
@media (max-width: 900px) { .hero-badge { right: 12px; } .hero-media img { transform: none; } }

/* Proof bar: floating tiles straddling the hero edge */
.proof { background: transparent; border: 0; position: relative; padding-bottom: 8px; }
.proof::before { content: ""; position: absolute; inset: 0 0 50%; background: var(--navy); }
.proof-in { position: relative; gap: 14px; }
.proof-item, .proof-item:first-child { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.proof-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.proof-item b { color: var(--navy); font-variant-numeric: tabular-nums; }
.proof-item span { color: var(--muted); }
@media (max-width: 760px) { .proof-item, .proof-item:first-child { border-top: 1px solid var(--line); padding: 18px; } }

/* Cards: rounded, cursor spotlight, lift */
.card, .specs, .panel, .cap-feature, .compare, .tool, .cert-card, .note-box, .table-wrap { border-radius: var(--radius-lg); }
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(63, 95, 171, .13), transparent 45%); }
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(63, 95, 171, .35); }
.card-media { margin: 8px 8px 0; border-radius: calc(var(--radius-lg) - 6px); }
.card .link-arrow { color: var(--blue); }
.card:hover .link-arrow .ic { transform: translateX(4px); }

.cap-feature { box-shadow: var(--shadow); }
.cap-feature-media img { transition: transform 1.2s var(--ease); }
.cap-feature:hover .cap-feature-media img { transform: scale(1.05); }
.chips a, .chips span { transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.chips a:hover { transform: translateY(-2px); background: var(--white); box-shadow: var(--shadow); }
.split img, .prose img, .team img, .page-hero-media img { border-radius: var(--radius-lg); }
.page-hero-media img { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); }
.team figure img { transition: transform .5s var(--ease), box-shadow .5s; }
.team figure:hover img { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Marquee of real parts */
.marquee { overflow: hidden; background: #05080f; padding-block: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding-right: 14px; }
.marquee figure { margin: 0; width: 260px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative; background: #000; flex: none; }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.marquee figure:hover img { transform: scale(1.08); }
.marquee figcaption { position: absolute; left: 12px; bottom: 10px; font: 500 .72rem var(--mono); color: #dbe3f0; letter-spacing: .04em; background: rgba(0, 0, 0, .5); padding: 4px 8px; border-radius: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* Interactive process steps */
.steps-wide { gap: 16px; }
.steps-wide li { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--white); position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.steps-wide li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.steps-wide li.is-active, .steps-wide li:hover { border-color: rgba(63, 95, 171, .35); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.steps-wide li.is-active::after { animation: stepbar 3.2s linear forwards; }
.steps-wide li:hover::after { animation: none; transform: scaleX(1); }
.steps-wide li::before { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--orange-soft); padding: 0; transition: background .3s, color .3s; }
.steps-wide li.is-active::before, .steps-wide li:hover::before { color: var(--white); background: var(--orange); }
@keyframes stepbar { to { transform: scaleX(1); } }

/* Comparison table rows react */
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: var(--blue-soft); }
.compare tbody tr:hover th { background: transparent; }

/* FAQ: card-style accordion */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0 22px; margin-bottom: 10px; transition: box-shadow .3s, border-color .3s; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(63, 95, 171, .3); }
.faq summary { padding-right: 48px; }
.faq summary::after { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); top: 16px; right: 0; font-size: 1.3rem; line-height: 1; }

/* Forms */
.field input, .field select, .field textarea { border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.dropzone { border-radius: var(--radius-lg); transition: background .2s, border-color .2s; }
.dropzone:hover { border-color: var(--blue); background: var(--blue-soft); }

/* Scroll reveal: only when JS runs, so content is always visible without it */
/* uses the separate translate property so it never fights hover transforms */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s; }
.js [data-reveal].is-in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; translate: none; } .hero-glow, .hero-tag, .hero-badge { animation: none; } }

.site-footer { background: radial-gradient(900px 400px at 100% 0%, rgba(63, 95, 171, .18), transparent 60%), #0b1324; }

/* =====================================================================
   v3: typography from the original site (Inter + Playfair Display italic
   accents) and the full-screen video hero.
   ===================================================================== */
:root {
  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}
body { font-size: 16.5px; letter-spacing: -.003em; }
h1, h2, h3, h4 { font-stretch: normal; letter-spacing: -.02em; }
h1 { font-weight: 800; }
h2 { font-weight: 750; letter-spacing: -.025em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--orange); letter-spacing: 0; }
.proof-item b { font-stretch: normal; letter-spacing: -.03em; }

/* Video hero */
.hero-video { min-height: min(88vh, 860px); display: grid; align-items: center; background: #05080f; color: #e9edf5; }
.hero-video .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(1100px 560px at 50% 42%, rgba(5, 8, 15, .5), rgba(5, 8, 15, .7) 75%),
  linear-gradient(180deg, rgba(5, 8, 15, .45) 0%, rgba(5, 8, 15, .15) 45%, rgba(11, 19, 36, .9) 100%); }
.hero-video .linework { z-index: -1; opacity: .55; mix-blend-mode: screen; }
.hero-center { text-align: center; padding-block: clamp(96px, 14vh, 150px) clamp(110px, 16vh, 170px); display: flex; flex-direction: column; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #dfe6f2; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); margin-bottom: 28px; }
.hero-kicker .ic { width: 16px; height: 16px; color: var(--orange); }
.hero-video h1 { color: #eceef4; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; max-width: 20ch; margin: 0 auto 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-video h1 em { display: block; font-size: .92em; line-height: 1.12; margin-top: .12em; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--orange); }
.hero-video .lead { color: #e6ebf3; font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 620px; margin: 0 auto 34px; }
.hero-video .btn-row { justify-content: center; }
.hero-tags { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-tags a { display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #e3e9f3; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.hero-tags a:hover { background: rgba(242, 103, 36, .18); border-color: rgba(242, 103, 36, .6); color: #fff; transform: translateY(-2px); }
.hero-pause { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 96px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.hero-pause:hover { background: rgba(255, 255, 255, .2); }
.hero-pause.is-paused svg { display: none; }
.hero-pause.is-paused::after { content: ""; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.hero-scroll { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .45); }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero-video + .proof::before { background: #0b1324; }
@media (max-width: 760px) { .hero-scroll { display: none; } .hero-pause { bottom: 24px; } .hero-center { padding-block: 72px 96px; } .hero-tags { margin-top: 28px; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll span { animation: none; } }

/* =====================================================================
   v4: original-style hero, dark header on the home page, line-work on
   light sections, bento intro, industries showcase, market cards.
   ===================================================================== */

/* ---------- Home: dark header over the video, like the original site ---------- */
.t-home .topbar { display: none; }
.t-home .site-header { background: rgba(10, 11, 14, .96); border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 1101px) { .t-home .site-header { backdrop-filter: blur(8px); } } /* on mobile a backdrop-filter would trap the fixed menu panel */
.t-home .brand { color: #fff; }
.t-home .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .25); background: transparent; }
body.t-home.nav-open .nav-toggle { color: var(--navy); background: var(--white); border-color: var(--line); }
@media (min-width: 1101px) {
  .t-home .nav-top { color: #fff; }
  .t-home .nav-top:hover { background: rgba(255, 255, 255, .08); }
}

/* ---------- Hero: big headline, Playfair italic accent, one button ---------- */
.hero-video { min-height: min(82vh, 820px); }
.hero-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .66) 70%, rgba(8, 12, 20, .9)); }
.hero-center { padding-block: clamp(90px, 15vh, 160px); }
.hero-kicker { font: 500 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); background: none; border: 0; padding: 0; margin: 0 0 22px; backdrop-filter: none; }
.hero-kicker::before, .hero-kicker::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--orange); vertical-align: middle; margin: 0 12px; }
.hero-video h1 { max-width: 18ch; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; color: #eceef4; margin: 0 auto 26px; }
.hero-video h1 em { display: inline; font-size: 1em; font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -.01em; color: var(--orange); }
.hero-video .lead { color: #fff; font-size: clamp(1.05rem, 1.4vw, 1.35rem); margin: 0 auto 38px; }
.hero-cta { border-radius: 12px; padding: 18px 40px; font-size: 1.1rem; }
.hero-cta:hover { background: #0b63ce; box-shadow: 0 16px 32px -12px rgba(11, 99, 206, .6); }
.hero-video + .proof::before { background: #090d15; }
@media (max-width: 760px) { .hero-kicker::before, .hero-kicker::after { width: 14px; margin: 0 8px; } .hero-kicker { font-size: .68rem; } }

.section, .section-tight { position: relative; isolation: isolate; }
.section-head h2 em, .intro h2 em { color: var(--orange); }

/* ---------- Intro + bento ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.intro-statement h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.12; margin-bottom: 18px; }
.intro-lead { font-size: 1.1rem; color: var(--muted); max-width: 58ch; }
.intro .chips span { background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(6px); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(63, 95, 171, .35); }
.tile-wide { grid-column: 1 / -1; }
.tile-dark { background: radial-gradient(500px 240px at 100% 0%, rgba(63, 95, 171, .6), transparent 70%), var(--navy); border-color: transparent; color: #d7deea; }
.tile-dark .linework { opacity: .8; }
.tile-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); }
.tile-dark .tile-ic { background: rgba(242, 103, 36, .18); color: var(--orange); }
.tile-label { font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.tile-dark .tile-label { color: #9fb0cc; }
.tile-value { font: 800 clamp(1.7rem, 2.6vw, 2.2rem)/1.05 var(--display); letter-spacing: -.03em; color: var(--navy); }
.tile-value small { font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin: 0 4px; }
.tile-sub { font-size: .85rem; color: var(--muted); }
.tile-text { margin: 0; font-size: .98rem; color: var(--ink); line-height: 1.5; }
.tile-dark .tile-text { color: #fff; font-size: 1.12rem; font-weight: 500; max-width: 46ch; }
@media (max-width: 960px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .bento { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Industries showcase ---------- */
.ind { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.ind-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ind-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.ind-item > .ic { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); color: var(--orange); }
.ind-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--blue); transition: background .25s, color .25s; }
.ind-name { font-weight: 650; font-size: 1.02rem; color: var(--navy); line-height: 1.3; }
.ind-name small { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.ind-item:hover, .ind-item.is-active { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); transform: translateX(4px); }
.ind-item.is-active .ind-ic, .ind-item:hover .ind-ic { background: var(--orange); color: #fff; }
.ind-item.is-active > .ic, .ind-item:hover > .ic { opacity: 1; transform: none; }
.ind-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #05080f; min-height: 520px; box-shadow: var(--shadow-lg); }
.ind-panel { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.ind-panel.is-active { opacity: 1; }
.ind-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.ind-panel.is-active img { transform: scale(1); }
.ind-panel.contain img { object-fit: contain; padding: 40px 40px 200px; }
.ind-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .05) 30%, rgba(5, 8, 15, .92) 85%); }
.ind-panel-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; color: #d7deea; }
.ind-panel-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #fff; margin-bottom: 12px; }
.ind-panel h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.ind-panel p { margin: 0 0 14px; max-width: 54ch; }
.ind-parts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ind-parts li { font-size: .82rem; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 960px) {
  .ind { grid-template-columns: minmax(0, 1fr); }
  .ind-stage { display: none; }
  .ind-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-item { background: var(--white); border-color: var(--line); }
}
@media (max-width: 560px) { .ind-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Market cards ---------- */
.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.market { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 8px; padding: 24px; min-height: 260px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.market::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--navy), #1e3466); opacity: 0; transition: opacity .35s; }
.market-code { font: 800 3.4rem/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); margin-bottom: 4px; transition: -webkit-text-stroke-color .3s; }
.market-days { display: inline-flex; gap: 6px; align-items: center; font: 500 .76rem var(--mono); color: var(--orange-deep); }
.market-days .ic { width: 15px; height: 15px; }
.market b { font-size: 1.15rem; color: var(--navy); margin-top: 6px; transition: color .3s; }
.market-text { font-size: .93rem; color: var(--muted); transition: color .3s; }
.market .link-arrow { margin-top: auto; color: var(--blue); transition: color .3s; }
.market:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.market:hover::before { opacity: 1; }
.market:hover .market-code { -webkit-text-stroke-color: var(--orange); }
.market:hover b, .market:hover .link-arrow { color: #fff; }
.market:hover .market-text { color: #c3cddd; }
.market:hover .market-days { color: var(--orange); }
@media (max-width: 960px) { .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .market-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Shared: answer-first summary and spec sheet (inner pages) ---------- */
.answer { border-left: 0; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--white), #f1f5fd); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.answer::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--orange), var(--blue)); }
.answer p { font-size: 1.08rem; line-height: 1.7; }
.specs { box-shadow: var(--shadow); }
.specs-h { background: var(--navy); color: #c9d3e4; border-bottom: 0; }
.specs table tr { transition: background .2s; }
.specs table tr:hover { background: var(--paper); }
.specs th { font-weight: 500; }

/* Plain (no-image) cards get an icon chip and a gradient edge on hover */
.card:not(:has(.card-media)) .card-body { padding: 24px 24px 22px; }
.card:not(:has(.card-media)) .card-body::before { content: ""; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 6px; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c94f12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / 18px no-repeat; transition: background-color .3s; }
.card:not(:has(.card-media)):hover .card-body::before { background-color: #ffd9c4; }
.card:not(:has(.card-media))::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.card:not(:has(.card-media)):hover::after { transform: scaleX(1); }

/* =====================================================================
   v5: engineering-drawing backgrounds. Each light section shows a
   blueprint of a real part (flange, gear, valve, impeller, wax tree,
   shaft, CMM probe, export routes) that draws itself in on scroll.
   ===================================================================== */
.section, .section-tight { overflow: clip; } /* clip, not hidden: keeps sticky TOC working */

.bp { position: absolute; z-index: -1; pointer-events: none; height: auto; color: var(--blue); opacity: .3; width: clamp(300px, 36vw, 560px); translate: 0 var(--drift, 0px); transition: translate .2s linear; }
.bg-paper .bp { opacity: .34; }
.bp-tr { top: 32px; right: max(-60px, calc((100vw - var(--wrap)) / 2 - 140px)); }
.bp-tl { top: 32px; left: -60px; }
.bp-br { bottom: 24px; right: max(-60px, calc((100vw - var(--wrap)) / 2 - 140px)); }
.bp-bl { bottom: 24px; left: max(-80px, calc((100vw - var(--wrap)) / 2 - 180px)); }
.bp-wide { top: 10px; left: 50%; width: min(1180px, 110vw); margin-left: calc(min(1180px, 110vw) / -2); opacity: .32; }
.bp-shaft { width: clamp(340px, 44vw, 700px); }
.bp-routes { width: min(1180px, 110vw); }

.bp .o, .bp .t, .bp .cl, .bp .d { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.bp .o { stroke-width: 1.4; }
.bp .t { stroke-width: .8; }
.bp .cl { stroke-width: .7; stroke-dasharray: 16 4 2 4; opacity: .8; }
.bp .d { stroke-width: .7; color: var(--orange-deep); stroke: var(--orange-deep); }
.bp marker path { fill: var(--orange-deep); }
.bp .h line { stroke: currentColor; stroke-width: .5; opacity: .6; }
.bp .lbl { fill: currentColor; font-family: var(--mono); letter-spacing: .06em; }
.bp .grat line { stroke: currentColor; stroke-width: .5; stroke-dasharray: 2 5; opacity: .6; }
.bp .route { fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 6 6; animation: route 1.6s linear infinite; }
.bp .pt { fill: var(--blue); stroke: none; }
.bp .hub { fill: var(--orange); }
.bp .pulse { fill: none; stroke: var(--orange); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.bp .spin { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
.bp .spin-slow { animation-duration: 140s; }
@keyframes route { to { stroke-dashoffset: -24; } }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Draw-in: outlines trace themselves, then labels and dimensions fade in */
.bp-anim .bp .o, .bp-anim .bp .t { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.bp-anim .bp .t { transition-delay: .35s; }
.bp-anim .bp .cl, .bp-anim .bp .d, .bp-anim .bp .lbl, .bp-anim .bp .h, .bp-anim .bp marker { opacity: 0; transition: opacity 1s ease 1.4s; }
.bp-anim .bp.is-drawn .o, .bp-anim .bp.is-drawn .t { stroke-dashoffset: 0; }
.bp-anim .bp.is-drawn .cl { opacity: .8; }
.bp-anim .bp.is-drawn .d, .bp-anim .bp.is-drawn .lbl, .bp-anim .bp.is-drawn .h { opacity: 1; }
.bp-anim .bp .route, .bp-anim .bp .pt { opacity: 0; transition: opacity 1.2s ease .6s; }
.bp-anim .bp.is-drawn .route, .bp-anim .bp.is-drawn .pt { opacity: 1; }

@media (max-width: 760px) {
  .bp { opacity: .16; width: 82vw; }
  .bp-tr, .bp-br { right: -30vw; }
  .bp-bl { left: -30vw; }
  .bp-wide { opacity: .22; }
}
@media (prefers-reduced-motion: reduce) { .bp .route, .bp .pulse, .bp .spin { animation: none; } .bp { translate: none; } }

.bp .map { opacity: .55; }
.bp-anim .bp .map { opacity: 0; transition: opacity 1.4s ease; }
.bp-anim .bp.is-drawn .map { opacity: .55; }

/* =====================================================================
   v6: D-U-N-S top bar on every page, product photo grids, grouped
   gallery, three-column menus, light product marquee.
   ===================================================================== */
.t-home .topbar { display: block; background: #050608; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-duns { color: #fff; font-weight: 500; }
.topbar-duns sup { font-size: .6em; }
@media (max-width: 520px) { .topbar-in { gap: 6px 16px; padding-block: 6px; } }

.page-hero-media.contain img { background: #fff; object-fit: contain; padding: 12px; }

.photo-strip { background: var(--paper); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.photo-grid figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.05); }
.photo-grid figcaption { padding: 10px 12px; font-size: .86rem; color: var(--ink); font-weight: 500; }

.gallery-nav { margin: 0 0 8px; }
.gallery-h { margin: 44px 0 16px; font-size: 1.5rem; scroll-margin-top: 100px; }
.gallery figure { background: #fff; }
.gallery img { object-fit: cover; }

.marquee { background: var(--paper); }
.marquee figure { background: #fff; border: 1px solid var(--line); }
.marquee figcaption { background: rgba(255, 255, 255, .92); color: var(--navy); }

@media (min-width: 1101px) {
  .nav-panel-in { grid-template-columns: minmax(220px, 1.1fr); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
}
.cards-3 .card-media img { object-fit: cover; }
.cert-card-plain { grid-template-columns: minmax(0, 1fr); }

/* Quote form: checkbox rows (label text stays one block so the link flows inline) */
.field label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.field label.check input { width: auto; flex: none; margin: 4px 0 0; }
.field label.check span { flex: 1; min-width: 0; }

/* Cookie consent: full-width bar pinned to the bottom of the page */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
#ms-consent .ms-cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000; background: var(--white); color: var(--navy); border-top: 1px solid var(--line); box-shadow: 0 -10px 40px rgba(20, 33, 61, .18); font: 400 .92rem/1.55 var(--body); }
#ms-consent .ms-inner { max-width: var(--wrap); margin: 0 auto; padding: 18px max(20px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; align-items: center; }
#ms-consent .ms-text { grid-column: 1; }
#ms-consent .ms-prefs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#ms-consent .ms-prefs[hidden] { display: none; }
#ms-consent .ms-row { grid-column: 2; grid-row: 1; display: flex; flex-wrap: nowrap; gap: 10px; }
#ms-consent h2 { margin: 0 0 4px; font: 700 1.05rem/1.3 var(--display); color: var(--navy); }
#ms-consent p { margin: 0; color: var(--muted); }
#ms-consent a { color: var(--blue); text-decoration: underline; }
#ms-consent .ms-btn { cursor: pointer; white-space: nowrap; font: 600 .9rem/1 var(--body); padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--navy); background: var(--white); color: var(--navy); }
#ms-consent .ms-btn.ms-pri { background: var(--navy); color: var(--white); }
#ms-consent .ms-btn:focus-visible, #ms-consent input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
#ms-consent .ms-opt { display: flex; gap: 12px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; }
#ms-consent .ms-opt input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
#ms-consent .ms-opt b { display: block; }
#ms-consent .ms-opt small { color: var(--muted); }
@media (max-width: 860px) {
  #ms-consent .ms-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  #ms-consent .ms-row { grid-column: 1; grid-row: auto; flex-wrap: wrap; }
  #ms-consent .ms-btn { flex: 1 1 auto; text-align: center; }
  #ms-consent .ms-prefs { grid-template-columns: minmax(0, 1fr); }
}
