/* ============================================================
   RESPICAIRE AirSterilizer PRO — Shared Design System
   Wellness-tech meets aerospace. Apple × NASA × Function Health.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* color */
  --bone: #F7F5F0;
  --bone-deep: #EFEBE2;
  --surface: #FFFFFF;
  --ink: #0E1014;
  --ink-soft: #1B1E24;
  --muted: #4A4F57;
  --muted-2: #767B83;
  --line: #E4DFD4;
  --line-soft: #ECE8DF;
  --blue: #1B6BE5;
  --blue-deep: #1450B0;
  --blue-tint: #EAF1FD;
  --mint: #B7E4D6;
  --mint-tint: #EAF6F1;
  --mint-deep: #2E7D63;
  --gold: #C9A24B;
  --gold-tint: #F4ECD8;

  /* radius */
  --r-card: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* shadow */
  --shadow: 0 12px 40px rgba(14,16,20,0.06);
  --shadow-lift: 0 22px 60px rgba(14,16,20,0.10);
  --shadow-soft: 0 4px 18px rgba(14,16,20,0.04);

  /* spacing rhythm 8/16/24/40/80/120 */
  --s1: 8px;  --s2: 16px;  --s3: 24px;  --s4: 40px;  --s5: 80px;  --s6: 120px;

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --nav-h: 76px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  display: inline-block;
}
.eyebrow.on-ink { color: var(--mint); }
.eyebrow .dot { color: var(--blue); margin: 0 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
.display-xl { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.0; letter-spacing: -0.03em; }
h2.section-title, .h2 { font-size: clamp(1.9rem, 3.8vw, 3.15rem); line-height: 1.06; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.375rem); color: var(--muted); line-height: 1.55; font-weight: 400; text-wrap: pretty; }
.body-lg { font-size: 1.0625rem; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.wrap-narrow { max-width: 880px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
section { padding-block: clamp(56px, 8vw, 120px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.stack-2 > * + * { margin-top: var(--s2); }
.stack-3 > * + * { margin-top: var(--s3); }
.stack-4 > * + * { margin-top: var(--s4); }
.center { text-align: center; }
.maxw-head { max-width: 760px; }
.maxw-head.center { margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
  padding: 16px 28px; border-radius: var(--r-pill);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .25s, color .2s;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--bone); box-shadow: 0 10px 28px rgba(14,16,20,0.16); }
.btn-primary:hover { background: var(--ink-soft); box-shadow: 0 16px 38px rgba(14,16,20,0.22); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(27,107,229,0.28); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-bone { background: var(--bone); color: var(--ink); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.btn-bone:hover { background: #fff; }
.btn-ghost { padding: 10px 4px; font-weight: 600; color: var(--ink); }
.btn-ghost .arrow { transition: transform .25s; color: var(--blue); }
.btn-ghost:hover .arrow { transform: translateX(5px); }
.btn-lg { padding: 20px 38px; font-size: 1.05rem; }
.btn-outline { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--blue); font-size: 0.95rem; }
.link-arrow .arrow { transition: transform .25s; }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- IMAGE PLACEHOLDERS ---------- */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--bone-deep);
  background-image: repeating-linear-gradient(135deg,
    rgba(14,16,20,0.035) 0 2px, transparent 2px 11px);
  border-radius: var(--r-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px; letter-spacing: 0.04em; text-align: center;
  min-height: 180px; padding: 24px;
}
.ph::after {
  content: attr(data-label);
  max-width: 78%;
  line-height: 1.5;
  text-transform: lowercase;
}
.ph.tint-mint { background-color: var(--mint-tint); background-image: repeating-linear-gradient(135deg, rgba(46,125,99,0.06) 0 2px, transparent 2px 11px); color: var(--mint-deep); }
.ph.tint-blue { background-color: var(--blue-tint); background-image: repeating-linear-gradient(135deg, rgba(27,107,229,0.07) 0 2px, transparent 2px 11px); color: var(--blue-deep); }
.ph.tint-ink { background-color: #1A1D23; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 11px); color: #8A9099; }
.ph.round { border-radius: 999px; }

/* ---------- CARDS ---------- */
.card {
  background: var(--surface); border-radius: var(--r-card);
  box-shadow: var(--shadow); border: 1px solid var(--line-soft);
}
.card-pad { padding: clamp(24px, 3vw, 40px); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,245,240,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(14,16,20,0.02), var(--shadow-soft); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; line-height: 1; }
.brand-mark { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); }
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-txt { display: flex; flex-direction: column; }
.brand .wordmark { font-family: var(--serif); font-weight: 500; font-size: 1.34rem; letter-spacing: 0.005em; }
.brand .sub { font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-2); margin-top: 4px; }
.brand-mark.on-ink { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--blue); transition: width .25s; border-radius: 2px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* slide-over */
.slideover { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
.slideover .scrim { position: absolute; inset: 0; background: rgba(14,16,20,0.42); opacity: 0; transition: opacity .35s; }
.slideover .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 380px);
  background: var(--bone); box-shadow: -20px 0 60px rgba(0,0,0,0.18);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; padding: 28px 28px 40px;
}
.slideover.open { visibility: visible; pointer-events: auto; }
.slideover.open .scrim { opacity: 1; }
.slideover.open .panel { transform: translateX(0); }
.slideover .panel .so-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.slideover .panel a.so-link { font-family: var(--serif); font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.so-close { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-soft); }

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
}
.sticky-cta .btn { width: 100%; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal .scrim { position: absolute; inset: 0; background: rgba(14,16,20,0.55); opacity: 0; transition: opacity .35s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal .dialog {
  position: relative; background: var(--surface); border-radius: var(--r-lg);
  width: min(500px, 100%); max-height: 92vh; overflow-y: auto;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  transform: translateY(24px) scale(.98); opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .35s;
}
.modal.open { visibility: visible; pointer-events: auto; }
.modal.open .scrim { opacity: 1; }
.modal.open .dialog { transform: translateY(0) scale(1); opacity: 1; }
.modal .m-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--bone); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background .2s; }
.modal .m-close:hover { background: var(--bone-deep); }
.modal .m-eyebrow { color: var(--blue); }
.modal h3.m-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 10px; }
.modal .m-sub { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); }
.field input, .field select {
  font: inherit; font-size: 0.95rem; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bone); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input::placeholder { color: var(--muted-2); }
.modal .form-foot { margin-top: 22px; }
.modal .form-foot .btn { width: 100%; }
.modal .trust-row { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }
.modal .trust-row .badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); }
.modal-success { text-align: center; padding: 16px 0; }
.modal-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--mint-tint); color: var(--mint-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 30px; }

/* ---------- BADGES / PILLS ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.pill.cat { background: var(--ink); color: var(--bone); border-color: transparent; letter-spacing: 0.02em; }
.pill.mint { background: var(--mint-tint); color: var(--mint-deep); border-color: transparent; }
.pill.gold { background: var(--gold-tint); color: #8a6d24; border-color: transparent; }
.pill.blue { background: var(--blue-tint); color: var(--blue-deep); border-color: transparent; }
.check-ic { color: var(--mint-deep); font-weight: 700; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: #C9CDD3; padding-top: clamp(56px, 7vw, 96px); }
.footer a { color: #C9CDD3; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .f-top { display: grid; grid-template-columns: 1.4fr 2.6fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .f-brand .wordmark { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.footer .f-brand .sub { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--mint); margin-top: 5px; }
.footer .f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer .f-cols h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer .f-cols ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer .f-capture { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-card); padding: 28px; margin-top: 40px; }
.footer .f-capture h4 { font-family: var(--serif); font-size: 1.35rem; color: #fff; font-weight: 500; margin-bottom: 6px; }
.footer .f-capture p { font-size: 0.92rem; margin-bottom: 18px; max-width: 460px; }
.email-row { display: flex; gap: 10px; max-width: 480px; }
.email-row input { flex: 1; font: inherit; font-size: 0.95rem; padding: 14px 16px; border-radius: var(--r-pill); border: 1.5px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; }
.email-row input::placeholder { color: #8A9099; }
.email-row input:focus { outline: none; border-color: var(--mint); }
.email-row .btn { background: var(--mint); color: var(--ink); }
.email-row .btn:hover { background: #cdeee2; }
.footer .f-compliance { padding-block: 32px 48px; font-size: 12px; line-height: 1.7; color: #777C84; }
.footer .f-compliance .certs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; color: #9AA0A8; font-weight: 500; letter-spacing: 0.02em; }
.footer .f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #777C84; }

/* ---------- SCROLL FADE ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- DARK SECTION ---------- */
.section-dark { background: var(--ink); color: var(--bone); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--bone); }
.section-dark .lead, .section-dark .body-lg, .section-dark .muted { color: #A8ADB4; }

/* ---------- DIVIDER LABEL ---------- */
.kicker-rule { display: flex; align-items: center; gap: 14px; }
.kicker-rule::before { content:""; height: 1px; width: 34px; background: var(--blue); }

/* ============================================================
   COMPONENTS
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero .hero-ghost { margin-top: 18px; }
.hero-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4/3.4; }
.hero-visual .ph { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-visual .ba-label { position: absolute; bottom: 16px; z-index: 3; font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,0.82); color: var(--ink); backdrop-filter: blur(6px); }
.hero-visual .ba-label.left { left: 16px; }
.hero-visual .ba-label.right { right: 16px; color: var(--blue-deep); }
.hero-visual .ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0)); z-index: 2; }

/* logo strip */
.logo-strip { margin-top: clamp(40px, 5vw, 64px); }
.logo-strip .lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-2); margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 48px); }
.logo-row .logo-mark { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--muted-2); opacity: .72; filter: grayscale(1); letter-spacing: -0.01em; transition: opacity .25s; }
.logo-row .logo-mark:hover { opacity: 1; }

/* ---------- PROBLEM PANELS ---------- */
.story-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-panel + .story-panel { margin-top: clamp(40px, 6vw, 88px); }
.story-panel:nth-child(even) .story-media { order: 2; }
.story-media .ph { aspect-ratio: 5/4; min-height: 0; }
.story-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.story-num { font-family: var(--serif); font-size: 1.1rem; color: var(--blue); margin-bottom: 8px; display: block; }

/* ---------- TECH / SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .split-media { position: relative; }
.split .split-media .ph { aspect-ratio: 4/3.6; min-height: 0; }
.badge-overlay { position: absolute; top: 18px; left: 18px; background: var(--ink); color: var(--bone); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 9px 16px; border-radius: var(--r-pill); }
.icon-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.icon-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 20px 16px; text-align: center; box-shadow: var(--shadow-soft); }
.icon-card .ic-mol { width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 50%; background: var(--mint-tint); display: flex; align-items: center; justify-content: center; }
.icon-card .ic-mol span { width: 14px; height: 14px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 5px rgba(46,125,99,0.12); }
.icon-card .ic-lbl { font-size: 0.86rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.step { position: relative; }
.step .step-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bone); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 20px; }
.step .step-illus { aspect-ratio: 16/10; margin-bottom: 20px; min-height: 0; }
.step h3 { margin-bottom: 10px; }
.step .body-lg { font-size: 0.98rem; }

/* ---------- COMPARISON TABLE ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 18px 20px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--line-soft); }
table.compare thead th { font-family: var(--sans); font-weight: 600; font-size: 0.82rem; vertical-align: bottom; color: var(--muted); background: var(--bone); }
table.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
table.compare td { color: var(--muted); }
table.compare .col-us { background: var(--mint-tint); position: relative; }
table.compare thead .col-us { background: var(--mint); color: var(--ink); font-weight: 700; border-top-right-radius: var(--r-card); }
table.compare .col-us { font-weight: 600; color: var(--ink-soft); }
table.compare .col-us .yes { color: var(--mint-deep); font-weight: 700; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: none; }
table.compare .warn { color: #b4541f; font-weight: 600; }
.us-head { display: flex; flex-direction: column; gap: 3px; }
.us-head .wm { font-family: var(--serif); font-size: 1rem; }

/* ---------- CERT GRID ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert-badge { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; }
.cert-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-seal { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold-tint); border: 2px solid var(--gold); color: #8a6d24; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em; text-align: center; line-height: 1.1; }
.cert-badge h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; }
.cert-badge p { font-size: 0.85rem; color: var(--muted-2); margin-top: 4px; }

/* ---------- USE CASE TILES ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tile { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .ph { border-radius: 0; aspect-ratio: 16/9; min-height: 0; }
.tile .tile-body { padding: 26px clamp(22px, 3vw, 32px) 30px; }
.tile h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tile p { font-size: 0.96rem; color: var(--muted); margin-bottom: 16px; }

/* ---------- EXPERIENCE ---------- */
.benefit-list { display: flex; flex-direction: column; gap: 22px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit .b-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.benefit h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 3px; }
.benefit p { font-size: 0.94rem; color: var(--muted); }

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.carousel { position: relative; }
.car-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 clamp(300px, 46%, 560px); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-soft); }
.tcard .quote { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.01em; }
.tcard .who { display: flex; align-items: center; gap: 14px; }
.tcard .who .ph { width: 52px; height: 52px; min-height: 0; flex: none; border-radius: 50%; }
.tcard .who .nm { font-weight: 600; font-size: 0.96rem; }
.tcard .who .ti { font-size: 0.85rem; color: var(--muted-2); }
.car-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.car-dots { display: flex; gap: 8px; }
.car-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.car-dot.active { background: var(--blue); width: 22px; border-radius: 4px; }
.car-arrows { display: flex; gap: 10px; }
.car-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }
.car-arrows button:hover { border-color: var(--ink); background: var(--bone); }
.rating-row { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }

/* ---------- PRESS WALL ---------- */
.press-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.press-scroll::-webkit-scrollbar { display: none; }
.press-pill { flex: none; padding: 16px 26px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-family: var(--serif); font-size: 1.05rem; color: var(--muted); filter: grayscale(1); opacity: .8; white-space: nowrap; }
.pull-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 900px; margin: clamp(40px,5vw,64px) auto 0; text-align: center; text-wrap: balance; }
.pull-quote .q { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
[data-acc] { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; text-align: left; }
.acc-head .q { font-family: var(--serif); font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: var(--ink); line-height: 1.3; }
.acc-icon { flex: none; width: 30px; height: 30px; position: relative; }
.acc-icon::before, .acc-icon::after { content:""; position: absolute; background: var(--blue); border-radius: 2px; left: 50%; top: 50%; transform: translate(-50%,-50%); transition: transform .3s, opacity .3s; }
.acc-icon::before { width: 16px; height: 2px; }
.acc-icon::after { width: 2px; height: 16px; }
[data-acc].open .acc-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-body .acc-inner { padding: 0 4px 28px; color: var(--muted); font-size: 1rem; max-width: 760px; }
[data-acc].open .acc-body { max-height: 460px; }

/* ---------- EVIDENCE / DIAGRAM (science) ---------- */
.evidence-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
table.evidence { width: 100%; border-collapse: collapse; min-width: 680px; }
table.evidence th, table.evidence td { padding: 16px 20px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--line-soft); }
table.evidence thead th { background: var(--ink); color: var(--bone); font-family: var(--sans); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
table.evidence tbody th { font-weight: 600; color: var(--ink); }
table.evidence td { color: var(--muted); }
table.evidence .num { font-family: var(--serif); font-size: 1.15rem; color: var(--mint-deep); font-weight: 500; }
table.evidence tbody tr:hover { background: var(--bone); }
table.evidence tbody tr:last-child td, table.evidence tbody tr:last-child th { border-bottom: none; }

.diagram { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.diagram-flow { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.dnode { flex: 1 1 120px; text-align: center; }
.dnode .dring { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.dnode .dlbl { font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.dnode .dsub { font-size: 0.74rem; color: var(--muted-2); }
.darrow { flex: 0 0 auto; color: var(--muted-2); font-size: 1.3rem; }

/* ozone spectrum */
.spectrum { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-soft); }
.spectrum-bar { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #d96a3a 0%, #e0a24a 35%, #c9c08a 60%, var(--mint) 100%); margin: 44px 0 14px; }
.spectrum-tick { position: absolute; top: -34px; transform: translateX(-50%); text-align: center; width: 130px; }
.spectrum-tick .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--surface); position: absolute; top: 36px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 1px var(--line); }
.spectrum-tick .lbl { font-size: 0.74rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.spectrum-tick.safe .dot { background: var(--mint-deep); box-shadow: 0 0 0 4px rgba(46,125,99,0.18); }
.spectrum-tick.safe .lbl { color: var(--mint-deep); }
.spectrum-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 12px; }

/* research / reference cards */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ref-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ref-card .ref-meta { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.ref-card h3 { font-size: 1.12rem; line-height: 1.25; margin-bottom: 10px; }
.ref-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; flex: 1; }

/* expandable cert deep-dive cards reuse [data-acc] */
.deep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.deep-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-soft); overflow: hidden; }
.deep-card .acc-head { padding: 24px 26px; }
.deep-card .acc-head .q { font-size: 1.1rem; display: flex; align-items: center; gap: 14px; }
.deep-card .deep-seal { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-tint); border: 2px solid var(--gold); color: #8a6d24; font-size: 0.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.deep-card .acc-body .acc-inner { padding: 0 26px 26px 84px; }
@media (max-width: 620px) { .deep-card .acc-body .acc-inner { padding-left: 26px; } }

/* superscript citation */
sup.cite { color: var(--blue); font-weight: 600; font-size: 0.66em; cursor: help; }
.ref-list { counter-reset: ref; max-width: 820px; }
.ref-list li { font-size: 0.86rem; color: var(--muted-2); padding: 10px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 12px; }
.ref-list li::before { counter-increment: ref; content: counter(ref); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bone-deep); color: var(--muted); font-size: 0.74rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* ---------- JOURNAL ---------- */
.j-search { max-width: 640px; margin: 0 auto; position: relative; }
.j-search .s-input-wrap { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 6px 6px 6px 22px; box-shadow: var(--shadow-soft); transition: border-color .2s, box-shadow .2s; }
.j-search:focus-within .s-input-wrap { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.j-search input { flex: 1; font: inherit; font-size: 1rem; border: none; background: none; padding: 12px 0; }
.j-search input:focus { outline: none; }
.j-search .s-ic { color: var(--muted-2); }
.j-search .s-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bone); display: flex; align-items: center; justify-content: center; }
.search-dd { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 10; }
.search-dd.show { opacity: 1; visibility: visible; transform: none; }
.search-dd .sg-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); padding: 8px 12px 4px; font-weight: 600; }
.search-sg { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font-size: 0.94rem; color: var(--ink-soft); cursor: pointer; transition: background .15s; }
.search-sg:hover { background: var(--bone); }
.search-sg .sg-ic { color: var(--muted-2); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.fpill { padding: 9px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); font-size: 0.88rem; font-weight: 500; color: var(--muted); transition: all .2s; }
.fpill:hover { border-color: var(--ink); color: var(--ink); }
.fpill.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.featured-card { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.featured-card .ph { border-radius: 0; min-height: 340px; }
.featured-card .fc-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.featured-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: 16px 0 14px; line-height: 1.1; }
.featured-card .dek { color: var(--muted); margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted-2); }
.byline .ph { width: 34px; height: 34px; min-height: 0; border-radius: 50%; }
.byline .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.acard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.acard .ph { border-radius: 0; aspect-ratio: 16/10; min-height: 0; }
.acard .ac-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.acard h3 { font-size: 1.15rem; line-height: 1.25; margin: 12px 0 8px; transition: color .2s; }
.acard h3 .u { background-image: linear-gradient(var(--blue), var(--blue)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; padding-bottom: 2px; }
.acard:hover h3 .u { background-size: 100% 2px; }
.acard .dek { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.acard .byline { margin-top: auto; }
.empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-inline: auto; }

.topic-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; }
.topic-block:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.topic-block .tb-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.topic-block h3 { font-size: 1.3rem; }
.topic-block .tb-count { font-size: 0.78rem; font-weight: 600; color: var(--blue); }
.topic-block ul li { font-size: 0.9rem; color: var(--muted); padding: 7px 0; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 8px; }
.topic-block ul li::before { content:"→"; color: var(--muted-2); font-size: 0.8rem; }

/* newsletter band */
.news-band { background: var(--mint-tint); border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); text-align: center; border: 1px solid var(--mint); }
.news-band .email-row { margin: 24px auto 0; }
.news-band .email-row input { border-color: var(--line); background: var(--surface); color: var(--ink); }
.news-band .email-row input::placeholder { color: var(--muted-2); }
.news-band .email-row .btn { background: var(--ink); color: var(--bone); }
.news-band .email-row .btn:hover { background: var(--ink-soft); }

/* ---------- FINAL CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); margin: 18px auto 22px; max-width: 16ch; }
.final-cta .lead { max-width: 720px; margin-inline: auto; }
.final-cta .cta-actions { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-cta .sec { color: #A8ADB4; font-size: 0.95rem; }
.final-cta .sec a { color: var(--mint); font-weight: 600; }

/* section header block */
.sec-head { max-width: 780px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 16px 0 0; }
.sec-head .lead { margin-top: 18px; }

/* ============================================================
   ADDENDUM COMPONENTS — product page, model cards, modal toggle
   ============================================================ */

/* product image on transparent bg — soft float */
.prod-img { background: radial-gradient(120% 90% at 50% 38%, #ffffff 0%, var(--bone) 70%); display: flex; align-items: center; justify-content: center; padding: clamp(18px,3vw,40px); }
.prod-img img { width: 100%; height: auto; filter: drop-shadow(0 26px 44px rgba(14,16,20,0.16)); }
.prod-img.compact { aspect-ratio: 16/10; }

/* ---------- TWO-VARIANT MODEL CARDS (homepage §4 + product §6) ---------- */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.model-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(24px,3vw,40px); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.model-card .prod-img { border-radius: var(--r-card); aspect-ratio: 16/10; margin-bottom: 24px; }
.model-card .m-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--r-pill); background: var(--blue-tint); color: var(--blue-deep); margin-bottom: 14px; }
.model-card .m-badge.gold { background: var(--gold-tint); color: #8a6d24; }
.model-card h3 { font-size: clamp(1.4rem,2.4vw,1.85rem); }
.model-card .role { color: var(--blue); font-weight: 600; font-size: 0.95rem; margin-top: 6px; }
.model-card .best-for { font-size: 0.88rem; color: var(--muted-2); margin-top: 10px; }
.model-card .best-for strong { color: var(--ink); font-weight: 600; }
.spec-list { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.spec-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; color: var(--muted); line-height: 1.45; }
.spec-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--mint-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D63' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.model-card .btn { margin-top: auto; }
.model-card .dl-row { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.helper-text { text-align: center; max-width: 680px; margin: 28px auto 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- PRODUCT HERO GALLERY ---------- */
.gallery .g-main { background: radial-gradient(120% 90% at 50% 40%, #fff 0%, var(--bone) 72%); border: 1px solid var(--line-soft); border-radius: var(--r-lg); aspect-ratio: 16/11; display: flex; align-items: center; justify-content: center; padding: clamp(20px,3vw,40px); box-shadow: var(--shadow); overflow: hidden; }
.gallery .g-main img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(14,16,20,0.16)); transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .25s; transform-origin: center; will-change: transform; }
.gallery .g-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery .g-thumb { flex: 1; aspect-ratio: 16/11; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); padding: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, transform .2s; overflow: hidden; }
.gallery .g-thumb img { max-width: 100%; max-height: 100%; width: auto; }
.gallery .g-thumb:hover { transform: translateY(-2px); }
.gallery .g-thumb.active { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }

/* cert badge row (small, product hero) */
.cert-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.cert-chip { position: relative; height: 46px; display: flex; align-items: center; justify-content: center; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.cert-chip img { max-height: 30px; width: auto; filter: grayscale(1); opacity: 0.78; transition: filter .2s, opacity .2s; }
.cert-chip:hover img { filter: none; opacity: 1; }
.cert-chip .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--ink); color: var(--bone); font-size: 11px; line-height: 1.4; font-weight: 500; padding: 8px 11px; border-radius: 8px; width: max-content; max-width: 190px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 5; pointer-events: none; }
.cert-chip:hover .tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- CERT IMAGE TILES (large, homepage §7 + product §8) ---------- */
.cert-img-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert-img-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; }
.cert-img-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-img-tile .cert-pic { height: 76px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cert-img-tile .cert-pic img { max-height: 76px; max-width: 130px; width: auto; }
.cert-img-tile p { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.cert-img-tile h4 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; margin-bottom: 5px; }

/* ---------- 3-UP BENEFIT ROW (product §3) ---------- */
.bcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,40px); }
.bcol { text-align: left; }
.bcol .b-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--mint-tint); color: var(--mint-deep); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; }
.bcol h3 { font-size: 1.25rem; margin-bottom: 8px; }
.bcol p { color: var(--muted); font-size: 0.96rem; }

/* ---------- BENEFITS CHECK LIST (product §5) ---------- */
.check-cols { columns: 2; column-gap: 48px; max-width: 980px; }
.check-cols li { break-inside: avoid; display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; font-size: 1rem; color: var(--ink-soft); line-height: 1.5; }
.check-cols li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--mint-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 14px; background-repeat: no-repeat; background-position: center; }

/* ---------- FEATURE TILES (product §7) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-tile { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow-soft); }
.feat-tile .f-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 14px; }
.feat-tile h4 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; margin-bottom: 6px; line-height: 1.25; }
.feat-tile p { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }

/* ---------- WHO IT'S FOR mini tiles (product §10) ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-tile { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-soft); }
.who-tile .w-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--mint-tint); color: var(--mint-deep); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 14px; }
.who-tile h4 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; line-height: 1.3; }

/* ---------- DOWNLOAD CARDS (product §11) ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-card { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-soft); }
.dl-card .dl-ic { flex: none; width: 56px; height: 56px; border-radius: 12px; background: var(--bone-deep); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--muted); }
.dl-card h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 600; margin-bottom: 12px; line-height: 1.3; }

/* ---------- MODAL TOGGLE (homeowner / contractor) ---------- */
.seg-toggle { display: flex; gap: 6px; background: var(--bone); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; margin-top: 22px; }
.seg-toggle label { flex: 1; }
.seg-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.seg-toggle .seg-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: var(--r-pill); font-size: 0.9rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; text-align: center; }
.seg-toggle input:checked + .seg-btn { background: var(--ink); color: var(--bone); box-shadow: var(--shadow-soft); }
.seg-toggle .seg-btn:hover { color: var(--ink); }
.seg-toggle input:checked + .seg-btn:hover { color: var(--bone); }
.consent-row { grid-column: 1 / -1; display: flex; gap: 11px; align-items: flex-start; margin-top: 4px; }
.consent-row input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.consent-row label { font-size: 12px; color: var(--muted-2); line-height: 1.5; text-transform: none; letter-spacing: 0; font-weight: 400; }
.modal .form-note { text-align: center; font-size: 12px; color: var(--muted-2); margin-top: 14px; }
.contractor-only { display: none; }
.modal[data-mode="contractor"] .homeowner-only { display: none; }
.modal[data-mode="contractor"] .contractor-only { display: flex; }

/* manufacturer mark on product page */
.mfr-line { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--muted-2); }
.mfr-line img { height: 22px; width: auto; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; max-height: 460px; }
  .ref-grid, .cert-grid, .article-grid, .topic-blocks { grid-template-columns: repeat(2, 1fr); }
  .icon-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn:not(.hamburger) { display: none; }
  .footer .f-top { grid-template-columns: 1fr; gap: 36px; }
  .footer .f-cols { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .split, .story-panel { grid-template-columns: 1fr; }
  .story-panel:nth-child(even) .story-media { order: 0; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .ph { min-height: 240px; }
  .deep-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .ref-grid, .cert-grid, .article-grid, .topic-blocks { grid-template-columns: 1fr; }
  .diagram-flow { flex-direction: column; }
  .darrow { transform: rotate(90deg); }
  .spectrum-tick .lbl { font-size: 0.66rem; }
  .models, .dl-grid { grid-template-columns: 1fr; }
  .feat-grid, .who-grid, .cert-img-grid { grid-template-columns: repeat(2, 1fr); }
  .bcols { grid-template-columns: 1fr; gap: 28px; }
  .check-cols { columns: 1; }
}
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-img-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 78px; }
}
@media (max-width: 520px) {
  .footer .f-cols { grid-template-columns: 1fr 1fr; }
  .email-row { flex-direction: column; }
  .email-row .btn { width: 100%; }
}

/* === Pure Air Pros — Updated Logo + Image Swaps (added 2026-06-03) === */
.brand .pros-mark { color: #F26A1F; font-weight: 500; }
.footer .f-brand .pros-mark { color: #F26A1F; }

/* Images replacing placeholder boxes inherit .ph sizing.
   Make sure they cover their container cleanly. */
.ph.as-img,
.as-img.ph {
  object-fit: cover;
  display: block;
  background: var(--surface, #fff);
}
.ph.as-img::after,
.ph.as-img::before,
.as-img::after,
.as-img::before { content: none !important; }
.ph.round.as-img { border-radius: 999px; }

/* Product gallery main image — keep it sharp and centred */
.g-main img, .prod-img img { object-fit: cover; }

/* === Image fill fix (added 2026-06-03 v2) === */
.ph.as-img,
img.as-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
/* Round portrait images: actual circle */
.ph.round.as-img,
img.as-img.round {
  position: static !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 999px;
  object-fit: cover;
}

/* === Image positioning tuneup (added v4) === */
/* Hero: bias crop toward LEFT so palms + window edge are visible, not just white sofa */
.hero-visual img.as-img { object-position: 35% center; }
/* Family asleep (wide editorial used in a non-wide container) */
.experience-photo img.as-img { object-position: center 35%; }
/* Testimonial portraits: face-centred */
img.as-img.round, .ph.round.as-img { object-position: center 30%; }

/* ============================================================
   v7 IMAGE FIX — Final, supersedes all earlier .as-img rules.
   Images flow naturally and inherit aspect-ratio from their
   parent .ph context (.story-media .ph 5/4, .tile .ph 16/9, etc.).
   Special containers that have their own height get absolute fill.
   ============================================================ */
img.as-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  position: static !important;
  inset: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
  background-image: none !important;
  border-radius: inherit;
  min-height: 0 !important;
}
img.as-img::before, img.as-img::after { content: none !important; }

/* Containers that ALREADY define their own height/aspect-ratio at the
   parent level — image must absolute-fill these. */
.hero-visual img.as-img,
.experience-photo img.as-img,
.featured-card img.as-img,
.split-media img.as-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-position: 35% center !important;
}

/* Small round images (testimonial portraits + bylines) need fixed size */
.tcard .who img.as-img.round {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  object-position: center 30% !important;
}
.byline img.as-img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
}

/* Tile / Step / Card images use the ASPECT-RATIO chain set per-context */
.tile img.as-img            { aspect-ratio: 16/9; }
.story-media img.as-img     { aspect-ratio: 5/4; }
.step .step-illus.as-img    { aspect-ratio: 16/10; }
.acard img.as-img           { aspect-ratio: 16/10; }

/* Cert + brand small images stay as-is */
.prod-img img, .g-main img, .g-thumb img { object-fit: cover; }

/* Force-hide any remaining hero overlay artifacts */
.ba-label, .ba-divider, #heroParticles { display: none !important; }

/* ============================================================
   v8 FINAL — kill inherited .ph padding/min-height; force
   strict aspect-ratio per context. Also make .reveal items
   visible by default in case JS hasn't triggered them yet.
   ============================================================ */
img.as-img {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  box-sizing: border-box !important;
  background: transparent !important;
  background-image: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* Strict per-context aspect ratios — these win on specificity */
.story-media img.as-img            { aspect-ratio: 5 / 4 !important; }
.tile img.as-img                   { aspect-ratio: 16 / 9 !important; }
.step .step-illus.as-img,
.step img.as-img.step-illus        { aspect-ratio: 16 / 10 !important; }
.acard img.as-img                  { aspect-ratio: 16 / 10 !important; }
.split-media img.as-img            { aspect-ratio: 4 / 3.6 !important; }

/* Hero/featured/experience: absolute fill (parent has its own size) */
.hero-visual img.as-img,
.experience-photo img.as-img,
.featured-card img.as-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
}

/* Round testimonial portraits — fixed 52px circle */
.tcard .who img.as-img.round,
.tcard .who img.ph.round.as-img {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  flex: none !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  object-position: center 30% !important;
}

/* Make .reveal items visible even before JS triggers — fallback */
.reveal { opacity: 1 !important; transform: none !important; }
.reveal.in { opacity: 1 !important; transform: none !important; }

/* ============================================================
   v9 — explicit responsive heights via clamp(). aspect-ratio
   on <img> with natural intrinsic dims doesn't always win.
   These pixel heights match each context's design intent.
   ============================================================ */
.step .step-illus.as-img,
.step img.as-img.step-illus {
  height: clamp(180px, 18vw, 240px) !important;
  object-fit: cover !important;
}
.story-media img.as-img {
  height: clamp(280px, 30vw, 440px) !important;
  object-fit: cover !important;
  border-radius: var(--r-lg, 18px) !important;
}
.tile img.as-img {
  height: clamp(180px, 18vw, 240px) !important;
  object-fit: cover !important;
}
.acard img.as-img {
  height: clamp(180px, 18vw, 240px) !important;
  object-fit: cover !important;
}
.split-media img.as-img {
  height: clamp(260px, 26vw, 400px) !important;
  object-fit: cover !important;
}
/* Mobile heights — slightly smaller */
@media (max-width: 760px) {
  .step .step-illus.as-img,
  .tile img.as-img,
  .acard img.as-img {
    height: clamp(180px, 50vw, 260px) !important;
  }
  .story-media img.as-img,
  .split-media img.as-img {
    height: clamp(220px, 55vw, 320px) !important;
  }
}

/* ============================================================
   v10 — FINAL LAYOUT GUARDS
   Fix journal featured-card (was using absolute fill incorrectly
   for a grid layout). Add safety nets so no image can break out
   of its parent or render at document-width sizes.
   ============================================================ */

/* SAFETY NET — no .as-img can ever render bigger than 100% of its parent */
img.as-img {
  max-width: 100% !important;
  max-height: 100vh !important;
}

/* FEATURED CARD: it's a 2-column grid. Image must be a grid item,
   filling the left column naturally — NOT absolute. */
.featured-card {
  position: relative !important;
  overflow: hidden !important;
}
.featured-card img.as-img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 340px !important;
  max-height: 520px !important;
  object-fit: cover !important;
  object-position: center !important;
  grid-row: 1 !important;
  grid-column: 1 !important;
}
@media (max-width: 760px) {
  .featured-card img.as-img {
    min-height: 240px !important;
    max-height: 320px !important;
  }
}

/* SPLIT MEDIA (.split-media) needs explicit relative + height */
.split-media {
  position: relative !important;
  overflow: hidden !important;
  min-height: clamp(340px, 38vw, 520px) !important;
  border-radius: var(--r-lg) !important;
}
.split-media img.as-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* HERO VISUAL — already has aspect-ratio + relative, just lock it down */
.hero-visual {
  position: relative !important;
  overflow: hidden !important;
}
.hero-visual img.as-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 35% center !important;
}

/* ============================================================
   v11 — MOBILE OVERFLOW FIX
   Lock everything to 100% viewport on mobile. Compare table
   gets a scroll wrapper. Hero/cards lose extra width.
   ============================================================ */

/* Global guard: nothing can break out of the viewport */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
img, video, picture, svg { max-width: 100% !important; }

/* Mobile-specific fixes */
@media (max-width: 760px) {
  /* All major containers respect 100% viewport */
  .wrap,
  .hero,
  .hero-grid,
  .hero-copy,
  .hero-visual,
  .stack-3,
  .section,
  .model-card,
  .featured-card,
  .step,
  .tile,
  .tcard {
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  /* Force any padded wrapper to use border-box */
  *, *::before, *::after { box-sizing: border-box; }

  /* Compare table — wrap or force narrow */
  .compare-wrap,
  .compare {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
  }
  .compare {
    min-width: 0 !important;
    font-size: 0.78rem !important;
    width: 100% !important;
  }
  .compare th, .compare td {
    padding: 8px 6px !important;
    font-size: 0.78rem !important;
  }

  /* Hero on mobile: full width copy + reduced padding */
  .hero-copy { padding-left: 0 !important; padding-right: 0 !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Long words shouldn't push layout */
  h1, h2, h3, h4, p, span, a, li {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* Model cards on mobile — single column */
  .models-grid, .model-cards { grid-template-columns: 1fr !important; }
  .model-card { padding: 24px !important; }

  /* Reduce H1 size on small mobile */
  .display-xl { font-size: clamp(36px, 9.5vw, 52px) !important; line-height: 1.05 !important; }
  .section-title { font-size: clamp(28px, 7.5vw, 40px) !important; }

  /* Sticky mobile CTA: ensure it doesn't overflow */
  .mobile-cta, .sticky-cta { max-width: calc(100vw - 32px) !important; }

  /* Footer columns */
  .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
}

/* Extra small phones (≤ 420px) */
@media (max-width: 420px) {
  .wrap, .container { padding-left: 20px !important; padding-right: 20px !important; }
  .display-xl { font-size: clamp(32px, 9vw, 44px) !important; }
}

/* v12 grid-fix */
.hero-grid > *,.hero-copy,.hero-visual,.split,.split > *,.story-panel,.story-panel > *,.steps,.steps > *,.tiles,.tiles > *,.model-cards,.model-cards > *,.acard,.featured-card,.featured-card > *,.row,.row > *,.tcards,.tcards > * { min-width: 0 !important; min-height: 0 !important; }
[class*="grid"] > * { min-width: 0; }
h1,h2,h3 { min-width: 0 !important; word-break: break-word; overflow-wrap: anywhere; }

/* v13 mobile-fix */
@media (max-width: 760px){.models,.models-grid,.model-cards,.product-grid,.deep-grid,.feat-grid,.grid{grid-template-columns:1fr !important;gap:24px !important;}.model-card,.featured-card,.acard,.tcard,.tile,.step,.who-tile{width:auto !important;max-width:100% !important;min-width:0 !important;box-sizing:border-box !important;}.btn,.btn-lg,.btn-blue,.btn-bone,.cta-assessment,a[class*="btn"],button[class*="btn"]{white-space:normal !important;word-break:break-word !important;overflow-wrap:anywhere !important;padding:14px 22px !important;font-size:0.95rem !important;line-height:1.25 !important;max-width:100% !important;min-width:0 !important;box-sizing:border-box !important;text-align:center !important;}.stack-3,.cta-actions{width:100% !important;max-width:100% !important;min-width:0 !important;align-items:stretch !important;}.stack-3 > .btn,.stack-3 > a,.cta-actions > .btn,.cta-actions > a{width:100% !important;display:block !important;}.mobile-cta,.sticky-cta,.mobile-stick{left:16px !important;right:16px !important;width:auto !important;max-width:calc(100vw - 32px) !important;}.nav-cta,.nav .btn{font-size:0.82rem !important;padding:10px 16px !important;white-space:normal !important;max-width:60vw !important;}}
/* v13 final mobile fix marker */
