/* =========================================================================
   Vidal Solution — MODERN theme (international standard)
   White canvas · teal accent used sparingly · big editorial typography ·
   generous-but-controlled whitespace (no dead gaps) · soft-shadow depth.
   Loaded AFTER styles.css; overrides the base look site-wide.
   ========================================================================= */

:root {
  /* Palette — neutral ink on white, ONE teal/cyan accent (from the logo) */
  --ink:        #0c1b26;   /* near-black headings */
  --text:       #3d5563;   /* body */
  --muted:      #6b8190;   /* secondary */
  --faint:      #9fb1bd;   /* tertiary / lines text */
  --line:       #e9eef1;   /* hairlines */
  --line-soft:  #f1f5f7;

  --paper:      #ffffff;
  --paper-2:    #f7fafb;   /* faint off-white band */
  --paper-3:    #eef5f8;

  /* Accent (sparing) */
  --acc:        #17a2b8;   /* primary teal */
  --acc-deep:   #0e7c8e;
  --acc-cyan:   #2bc4d4;
  --acc-soft:   #e6f6f8;   /* accent tint bg */
  --ink-feature:#0b1f2a;   /* deep ink for occasional dark moments */

  /* Map base-stylesheet vars so existing components recolor automatically */
  --c-ink: var(--ink);  --c-text: var(--text);  --c-muted: var(--muted);  --c-faint: var(--faint);
  --c-line: var(--line);  --c-bg: var(--paper);  --c-bg-soft: var(--paper-2);  --c-aqua-bg: var(--acc-soft);
  --c-blue: var(--acc-deep); --c-blue-600: var(--acc); --c-blue-500: var(--acc); --c-teal: var(--acc); --c-cyan: var(--acc-cyan); --c-cyan-300: #8fe3ec;

  --grad-brand: linear-gradient(120deg, var(--acc-deep), var(--acc) 55%, var(--acc-cyan));
  --grad-text:  linear-gradient(100deg, var(--acc-deep), var(--acc-cyan));

  /* Soft, neutral depth (no heavy color shadows) */
  --shadow-sm: 0 1px 2px rgba(16,40,55,.04), 0 4px 14px rgba(16,40,55,.05);
  --shadow-md: 0 6px 16px rgba(16,40,55,.06), 0 18px 40px rgba(16,40,55,.08);
  --shadow-lg: 0 30px 70px rgba(16,40,55,.12);
  --shadow-glow: 0 10px 30px rgba(23,162,184,.22);

  --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 26px;

  --container: 1140px;
  --gutter: clamp(20px, 5vw, 40px);

  --ff-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
}

/* ------------------------------ Base ---------------------------------- */
body { background: var(--paper); color: var(--text); font-size: 17px; line-height: 1.7; }
body::before, body::after { display: none !important; content: none !important; }  /* kill any prior bg layers */

h1,h2,h3,h4 { color: var(--ink); font-family: var(--ff-head); letter-spacing: -.03em; font-weight: 800; }
h1 { line-height: 1.04; }
h2 { line-height: 1.08; }

/* -------------------- SPACING: tighter, no dead gaps ------------------ */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 14px; }
.section-head p { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); line-height: 1.6; }
.eyebrow { margin-bottom: 14px; font-size: 12.5px; letter-spacing: .16em; color: var(--acc); }
.eyebrow::before { background: var(--acc); width: 18px; }

/* The biggest offender: support-line had margin-top:40px AFTER a tall section.
   Pull it in and treat it as a tight closing line, not a floating island. */
.support-line { margin-top: clamp(20px, 2.5vw, 30px); font-size: clamp(17px, 1.8vw, 22px);
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.mt-l { margin-top: clamp(22px, 3vw, 34px); }

/* Grids a touch tighter */
.grid { gap: 20px; }
.insight-grid { gap: 16px; }
.layers { gap: 16px; }

/* ----------------------------- Announce ------------------------------- */
.announce { background: var(--ink-feature); color: #cfe0e6; font-size: 13.5px; }
.announce__link { color: #fff; }
.announce__link:hover { color: var(--acc-cyan); }
.announce__dot { background: var(--acc-cyan); }

/* ------------------------------ Header -------------------------------- */
.site-header { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(255,255,255,.95); border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { height: 72px; }
.brand__logo { background: transparent; padding: 0; box-shadow: none; height: 38px; }
.main-nav a { color: var(--text); font-size: 14.5px; font-weight: 500; }
.main-nav a:hover { color: var(--ink); background: var(--paper-2); }
.main-nav a.is-active { color: var(--acc-deep); }
.main-nav a::after, .main-nav a:hover::after, .main-nav a.is-active::after { background: var(--acc); height: 2px; }
.nav-toggle span { background: var(--acc-deep); }
.mobile-nav { background: #fff; border-top: 1px solid var(--line); }
.mobile-nav a { color: var(--text); }
.mobile-nav a.is-active, .mobile-nav a:hover { background: var(--acc-soft); color: var(--acc-deep); }

/* ------------------------------ Buttons ------------------------------- */
.btn { font-family: var(--ff-head); font-weight: 600; border-radius: 10px; }
.btn--primary { background: var(--acc); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: var(--acc-deep); box-shadow: 0 14px 34px rgba(23,162,184,.32); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--acc-deep); transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: #fff; color: var(--acc-deep); }

/* ----------------------- Sections backgrounds ------------------------- */
/* Mostly white; soft off-white band for rhythm; rare deep-ink feature. */
.section--soft { background: var(--paper-2); }
.section--aqua { background: var(--paper-2); }
.section--deep { background: radial-gradient(120% 120% at 80% 0%, #123040 0%, var(--ink-feature) 60%); color: #c5d6dd; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .section-head p { color: #a9c1c9; }
.section--deep .eyebrow { color: var(--acc-cyan); }
.section--deep .eyebrow::before { background: var(--acc-cyan); }

/* ------------------------ Cards: clean, light ------------------------- */
.card, .layer, .insight, .protect-card, .partner, .chip-card, .category-pill,
.value-list li, .article-row, .flow-step, .form-card, .industry, .project, .faq-item, .storyboard__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); backdrop-filter: none; color: var(--text);
}
.card h3, .layer h3, .insight h3, .protect-card h3, .partner h3, .article-row h3,
.value-list li, .chip-card span, .industry__body h3, .project__body h3, .faq-q { color: var(--ink); }
.card p, .layer p, .insight__body p, .protect-card > p, .partner p,
.point-list li, .benefits li, .industry__body > p, .project__body p, .faq-a p { color: var(--muted); }

.card:hover, .layer:hover, .insight:hover, .protect-card:hover, .partner:hover,
.chip-card:hover, .category-pill:hover, .flow-step:hover, .value-list li:hover,
.article-row:hover, .project:hover, .industry:hover {
  border-color: #d6e6ea; box-shadow: var(--shadow-md); transform: translateY(-3px);
}

.card__top-accent { background: var(--acc); }
.card__icon, .layer__ic, .insight__ic, .chip-ic, .info-ic {
  background: var(--acc-soft); color: var(--acc-deep); box-shadow: none; border-radius: 12px;
}
.card:hover .card__icon, .insight:hover .insight__ic { background: var(--acc); color: #fff; }

/* Four layers */
.layer::before { background: var(--acc-deep); opacity: 0; }
.layer:hover::before { opacity: 1; }
.layer:hover h3, .layer:hover p, .layer:hover .layer__num { color: #fff; }
.layer:hover .layer__ic { background: rgba(255,255,255,.18); color: #fff; }
.layer__num { color: var(--faint); font-weight: 700; }
.layer__arrow { color: var(--acc); }

/* Insights */
.insight__num { color: var(--faint); }
.insight__sectors { background: var(--acc-soft); color: var(--acc-deep); }
.insight__toggle, .article-row .arr { color: var(--acc); }

/* Protect / ticks / numbered chips */
.protect-card__tag, .benefits .tick, .value-list .num, .flow-step .step-n { background: var(--acc); color: #fff; }
.protect-card::after { background: radial-gradient(circle, rgba(43,196,212,.10), transparent 70%); }

/* Stats — big, accent gradient numerals */
.stat__num { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(36px,5vw,56px); }
.section--deep .stat__num { background: linear-gradient(100deg, #8fe3ec, var(--acc-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); }
.section--deep .stat__label { color: #a9c1c9; }

/* Chip cards (Why this matters) — flatter, airier */
.chip-card { box-shadow: var(--shadow-sm); }
.point-list .dot, .project__points .dot, .category-pill .dot { background: var(--acc); }

/* Standards — light, monochrome until hover */
/* Standards / frameworks band — balanced, legible, premium */
.standards-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 44px) 0; }
.standards-band__label { text-align: center; color: var(--faint); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: clamp(22px, 3vw, 32px); }
.standards { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 52px); }
.standards__item { display: inline-flex; align-items: center; justify-content: center; height: 52px; }
.standards__item img {
  max-height: 44px; max-width: 150px; width: auto; height: auto; object-fit: contain;
  opacity: .85; filter: grayscale(.55);
  transition: opacity .3s, filter .3s, transform .3s;
}
.standards__item:hover img { opacity: 1; filter: none; transform: scale(1.05); }
/* LoRaWAN runs wide; WELL/LEED are tall circles — normalise per-logo */
.standards__item img[alt="LoRaWAN"] { max-height: 30px; }
.standards__item img[alt="LEED"], .standards__item img[alt="WELL"] { max-height: 50px; }

/* Industries / projects media: subtle ink, not bright blue */
.industry__visual, .project__media { background: linear-gradient(140deg, #14303f, #0e7c8e); }
/* vary the gradient per project so the row isn't monotone */
.project-grid .project:nth-child(6n+1) .project__media { background: linear-gradient(145deg, #0f3b52, #1296a8); }
.project-grid .project:nth-child(6n+2) .project__media { background: linear-gradient(145deg, #103f4a, #16a5b0); }
.project-grid .project:nth-child(6n+3) .project__media { background: linear-gradient(145deg, #123a55, #1b86c0); }
.project-grid .project:nth-child(6n+4) .project__media { background: linear-gradient(145deg, #0e4452, #18a39a); }
.project-grid .project:nth-child(6n+5) .project__media { background: linear-gradient(145deg, #133a55, #1b86c0); }
.project-grid .project:nth-child(6n+6) .project__media { background: linear-gradient(145deg, #143a48, #14a6ad); }
/* icon in a frosted glass badge */
.industry__visual .icon, .project__media .icon { color: #fff; }
.project__media .icon {
  width: 38px; height: 38px; padding: 15px; box-sizing: content-box;
  border-radius: 16px; background: rgba(255,255,255,.13);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), 0 8px 22px rgba(0,0,0,.18);
  transition: transform .4s var(--ease), background .3s;
}
.project:hover .project__media .icon { transform: translateY(-3px) scale(1.05); background: rgba(255,255,255,.22); }
.project__tag { background: rgba(255,255,255,.94); color: var(--acc-deep); }
.partner__logo img { filter: none; opacity: 1; }

/* ===================== Industry rows — richer visual ================== */
.industry { border-radius: 20px; border-color: var(--line); margin-bottom: 22px; align-items: stretch; }
.industry__visual {
  min-height: 300px;
  background: linear-gradient(150deg, #103247 0%, #0f6f86 60%, #129aa6 100%);
  display: flex; align-items: center; justify-content: center; padding: 36px;
}
/* alternate the gradient direction so left/right rows differ subtly */
.industry:nth-child(even) .industry__visual { background: linear-gradient(210deg, #103247 0%, #0f6f86 60%, #129aa6 100%); }
/* faint dotted blueprint grid behind the composition */
.industry__visual::before {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 75%);
          mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 75%);
}
.industry__visual-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.industry__num {
  position: absolute; top: -18px; right: -10px;
  font-family: var(--ff-head); font-weight: 800; font-size: 56px; line-height: 1;
  color: rgba(255,255,255,.10); letter-spacing: -.04em;
}
.industry__badge {
  width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 16px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
  transition: transform .45s var(--ease-spring), background .3s;
}
.industry:hover .industry__badge { transform: translateY(-4px) scale(1.04); background: rgba(255,255,255,.2); }
.industry__badge .icon { width: 40px; height: 40px; color: #fff; }
.industry__name { font-family: var(--ff-head); font-weight: 700; font-size: 17px; color: #fff; letter-spacing: -.01em; }
.industry__chips { display: flex; gap: 8px; }
.ichip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: #eafafb;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 4px 11px; border-radius: 999px;
}
.ichip__dot { width: 6px; height: 6px; border-radius: 50%; background: #7df0e0; box-shadow: 0 0 0 0 rgba(125,240,224,.6); animation: ichip-pulse 2s ease-out infinite; }
@keyframes ichip-pulse { 0%{ box-shadow:0 0 0 0 rgba(125,240,224,.5) } 70%{ box-shadow:0 0 0 6px rgba(125,240,224,0) } 100%{ box-shadow:0 0 0 0 rgba(125,240,224,0) } }
.industry__body { padding: clamp(28px, 4vw, 48px); }
.industry__body .point-list { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .ichip__dot { animation: none; } }

/* ------------------------- Hero (light, editorial) -------------------- */
/* Hero is now light/white with a soft accent wash — NOT a blue block. */
.hero, .page-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-2) 100%);
  color: var(--text);
}
.hero { padding: clamp(28px,3.4vw,46px) 0 clamp(36px,4vw,56px); }
.page-hero { padding: clamp(40px,5vw,68px) 0 clamp(36px,4vw,52px); }
.hero__glow, .page-hero__glow {
  background:
    radial-gradient(46% 50% at 88% 4%, rgba(43,196,212,.12), transparent 60%),
    radial-gradient(40% 45% at 2% 96%, rgba(23,162,184,.08), transparent 60%);
}
.hero__pill { background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow-sm); }
.hero h1 { color: var(--ink); font-size: clamp(33px, 4.3vw, 54px); font-weight: 800; line-height: 1.06; }
.page-hero h1 { color: var(--ink); font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; }
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub, .page-hero p { color: var(--muted); font-size: clamp(17px,1.7vw,20px); }
.hero__support { color: var(--faint); }
/* Trust strip on ONE line: no wrap, tighter gap, each item unbreakable */
.hero__trust { flex-wrap: nowrap; gap: 0; align-items: center; white-space: nowrap; }
.hero__trust span { color: var(--muted); font-size: clamp(11.5px, 1vw, 13px); white-space: nowrap; }
.hero__trust span:not(:last-child)::after { content: '·'; margin: 0 clamp(8px, 1vw, 16px); color: var(--faint); }
.breadcrumb { color: var(--muted); }
.breadcrumb a:hover { color: var(--acc-deep); }

/* Hero dashboard cards: clean white glass on light */
.hero-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); color: var(--text); backdrop-filter: none; }
.hero-card__label { color: var(--muted); }
.hero-card__val, .hero-card__val small { color: var(--ink); }
.hero-card__val small { color: var(--muted); }
.hero-card__top .icon { color: var(--acc); }
.hero-card--badge .icon { color: var(--acc-deep); }
.hero-bar { background: var(--paper-3); }
.hero-bar i { background: var(--acc); }
.hero-spark i { background: linear-gradient(180deg, var(--acc-cyan), var(--acc)); }

/* ----------------------------- Video ---------------------------------- */
.video-frame { background: linear-gradient(150deg, #14303f, #0e7c8e); box-shadow: var(--shadow-lg); }
.play-btn { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.55); }
.play-btn svg { color: #fff; }
.play-btn::before { border-color: rgba(255,255,255,.5); }
.video-frame__caption { color: #d6e7ec; }
.storyboard { gap: 2px; }
.storyboard__item { background: transparent; border: none; border-left: 2px solid var(--line); box-shadow: none; border-radius: 0; }
.storyboard__item:hover { background: var(--paper-2); border-color: var(--acc); }
.storyboard__item h4 { color: var(--ink); }
.storyboard__item h4 span { color: var(--faint); }

/* -------------- Hero cards: clean diagonal stagger, even gaps --------- */
.hero__visual { min-height: 520px; }
.hero-card { padding: 18px 20px; }
.hero-card--main { top: 0; left: 0; width: 64%; }
.hero-card--main .hero-spark { height: 40px; }    /* shorter so the card isn't too tall */
.hero-card--risk { top: 42%; right: 0; width: 56%; }
.hero-card--badge { top: 80%; left: 2%; width: auto; }
@media (max-width: 1180px) and (min-width: 921px) {
  .hero__visual { min-height: 500px; }
  .hero-card--main { width: 70%; }
  .hero-card--risk { width: 60%; }
}
@media (max-width: 920px) {
  .hero__visual { min-height: 480px; max-width: 540px; margin-inline: auto; }
  .hero-card--badge { top: auto; bottom: 0; }
}

/* -------------------- Hero cards: live dashboard feel ----------------- */
.hero-card__top { position: relative; }
.hero-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--acc-deep); background: var(--acc-soft); padding: 3px 8px; border-radius: 999px; }
.hero-live__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(23,162,184,.6); animation: hc-pulse 1.8s ease-out infinite; }
@keyframes hc-pulse { 0%{ box-shadow:0 0 0 0 rgba(23,162,184,.5) } 70%{ box-shadow:0 0 0 6px rgba(23,162,184,0) } 100%{ box-shadow:0 0 0 0 rgba(23,162,184,0) } }

/* growing progress bar */
.hero-bar i { width: 0; animation: hc-grow 1.6s var(--ease) forwards; }
@keyframes hc-grow { to { width: var(--w, 70%); } }

/* live bars: each rises/falls on its own loop */
.hero-spark { align-items: flex-end; }
.hero-spark i { height: var(--h, 50%); transform-origin: bottom; animation: hc-bar 2.6s ease-in-out infinite; border-radius: 4px 4px 2px 2px; }
.hero-spark i:nth-child(1){ animation-delay:-.1s } .hero-spark i:nth-child(2){ animation-delay:-.5s }
.hero-spark i:nth-child(3){ animation-delay:-.9s } .hero-spark i:nth-child(4){ animation-delay:-1.3s }
.hero-spark i:nth-child(5){ animation-delay:-1.7s } .hero-spark i:nth-child(6){ animation-delay:-.3s }
.hero-spark i:nth-child(7){ animation-delay:-.7s } .hero-spark i:nth-child(8){ animation-delay:-1.1s }
@keyframes hc-bar { 0%,100%{ transform: scaleY(.82) } 50%{ transform: scaleY(1.05) } }

.hero-card__note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.hero-up { color: var(--acc-deep); font-weight: 700; display: inline-block; animation: hc-up 2.4s ease-in-out infinite; }
@keyframes hc-up { 0%,100%{ transform: translateY(0); opacity: .8 } 50%{ transform: translateY(-3px); opacity: 1 } }

.hero-card__check { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--acc-soft); color: var(--acc-deep); }
.hero-card__check .icon { width: 22px; height: 22px; }
.hero-card__assured { font-family: var(--ff-head); font-weight: 700; color: var(--acc-deep); font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  .hero-live__dot, .hero-spark i, .hero-up { animation: none; }
  .hero-bar i { width: var(--w, 70%); animation: none; }
}

/* ------------------------------ FAQ ----------------------------------- */
.faq-item.is-open { border-color: #d6e6ea; box-shadow: var(--shadow-md); }
.faq-q .pm { color: var(--acc); }

/* --------------------------- Evidence (deep) -------------------------- */
.evidence-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.evidence-card:hover { background: rgba(255,255,255,.09); border-color: rgba(43,196,212,.4); }
.evidence-card__src { color: var(--acc-cyan); }
.evidence-card h3 { color: #fff; }
.evidence-card p { color: #b6cdd4; }

/* Note strip */
.note-strip { background: var(--acc-soft); }
.note-strip .icon { color: var(--acc-deep); }
.note-strip p { color: var(--acc-deep); }

/* ------------------------------ Forms --------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.field label { color: var(--ink); }
.field input, .field select, .field textarea { background: var(--paper-2); border: 1.5px solid var(--line); color: var(--text); border-radius: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acc); background: #fff; box-shadow: 0 0 0 4px rgba(23,162,184,.12); }
.consent label { color: var(--muted); }
.form-note { color: var(--faint); }
.contact-info h4 { color: var(--faint); }
.contact-info p, .contact-info p a { color: var(--ink); }

/* ----------------------------- CTA band ------------------------------- */
.cta-band { background: radial-gradient(120% 130% at 50% -20%, #15506a 0%, #0d2738 55%, var(--ink-feature) 100%); padding: clamp(56px, 7vw, 88px) 0; }
.cta-band__inner { max-width: 760px; }
.cta-band__eyebrow { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--acc-cyan); background: rgba(43,196,212,.14); border: 1px solid rgba(43,196,212,.3); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; }
.cta-band__sub { color: #aecbd6; font-size: clamp(15px, 1.6vw, 17px); margin: 14px auto 28px; max-width: 600px; }
.cta-band__trust { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; margin-top: 28px; }
.cta-band__trust span { font-size: 12px; font-weight: 600; color: #cfe6ef; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; }

/* footer brand contact list */
.site-footer__contact { margin-top: 16px; display: grid; gap: 7px; }
.site-footer__contact li { font-size: 13px; color: #88a3ac; line-height: 1.5; }
.site-footer__contact a { color: #9ab2bb; }
.site-footer__contact a:hover { color: var(--acc-cyan); }
.site-footer__motto span { color: #88a3ac; font-weight: 500; }

/* ------------------------------ Footer -------------------------------- */
/* Compact, tidy footer (was too tall/airy) */
.site-footer { background: var(--ink-feature); color: #9ab2bb; padding-top: clamp(40px, 5vw, 56px); }
.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px clamp(20px, 3vw, 40px); padding-bottom: 28px; }
.site-footer__logo { background: #fff; padding: 7px 10px; border-radius: 8px; height: 40px; width: auto; }
.site-footer__motto { font-family: var(--ff-head); font-weight: 700; font-size: 14px; color: var(--acc-cyan); margin-top: 12px; }
.site-footer__tag { color: #eaf4f6; margin-top: 2px; font-size: 13.5px; }
.site-footer__desc { color: #88a3ac; font-size: 13px; line-height: 1.55; margin-top: 8px; max-width: 300px; }
.site-footer__safeair { margin-top: 14px; padding: 6px 9px; border-radius: 8px; display: inline-block; }
.site-footer__safeair img { height: 20px; }
.site-footer__addr { color: #7c97a1; font-size: 12.5px; margin-top: 14px; line-height: 1.5; }
.site-footer__col h3 { color: #fff; font-size: 12px; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer__col ul { gap: 8px; }
.site-footer__col a { color: #9ab2bb; font-size: 13.5px; }
.site-footer__col a:hover { color: var(--acc-cyan); }
.site-footer__bottom { border-top-color: rgba(255,255,255,.08); color: #6f8a93; padding: 16px 0; font-size: 12.5px; }
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

.to-top { background: var(--acc); color: #fff; }
.prose p a { color: var(--acc-deep); }
.skip-link { background: var(--acc); color: #fff; }

/* Make the soft section divider glow neutral, not blue */
.section + .section::before, .section--soft::before, .section--aqua::before { display: none; }

/* ===================================================================== */
/* AIRFLOW motif — refined: smooth continuous flowing lines (no dashes)  */
/* with a soft traveling sheen. Used in dark bands + colored media.      */
/* ===================================================================== */
/* SOLID continuous curves (no dashes) that gently drift up/down — clean. */
.airflow__lines path {
  stroke-dasharray: none !important;
  stroke-width: 1.4;
  opacity: .4;
  animation: af-drift 12s ease-in-out infinite;
  transform-origin: center;
}
.airflow__lines path:nth-child(1) { opacity: .42; animation-duration: 13s; }
.airflow__lines path:nth-child(2) { opacity: .3;  animation-duration: 15s; animation-delay: -2s; }
.airflow__lines path:nth-child(3) { opacity: .38; animation-duration: 17s; animation-delay: -4s; }
.airflow__lines path:nth-child(4) { opacity: .26; animation-duration: 14s; animation-delay: -3s; }
.airflow__lines path:nth-child(5) { opacity: .34; animation-duration: 16s; animation-delay: -5s; }
@keyframes af-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* A bright moving glint travels along the curves to suggest airflow. */
.airflow__glint path {
  fill: none; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 60 2000;
  animation: af-glint 6s linear infinite;
}
.airflow__glint path:nth-child(2){ animation-duration: 8s;  animation-delay: -2s; }
.airflow__glint path:nth-child(3){ animation-duration: 10s; animation-delay: -4s; }
@keyframes af-glint { from { stroke-dashoffset: 2060; } to { stroke-dashoffset: 0; } }
.section--deep .airflow__lines path, .cta-band .airflow__lines path { opacity: .5; }
@media (prefers-reduced-motion: reduce) {
  .airflow__lines path, .airflow__glint path { animation: none; }
  .airflow__glint path { stroke-dasharray: none; opacity: .4; }
}

/* ===================================================================== */
/* INTELLIGENT INSIGHTS — premium card redesign                          */
/* ===================================================================== */
.insight-grid { gap: 20px; }
.insight {
  position: relative; overflow: hidden;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
  box-shadow: 0 1px 2px rgba(16,40,55,.04), 0 8px 24px rgba(16,40,55,.05);
  display: flex; flex-direction: column;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
/* animated gradient top edge */
.insight::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--acc-deep), var(--acc), var(--acc-cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
/* big faint number watermark in the corner */
.insight::after {
  content: attr(data-n);
  position: absolute; top: 10px; right: 16px;
  font-family: var(--ff-head); font-weight: 800; font-size: 40px;
  color: #eef5f8; line-height: 1; letter-spacing: -.04em;
  transition: color .32s; pointer-events: none; z-index: 0;
}
.insight:hover {
  transform: translateY(-6px);
  border-color: rgba(23,162,184,.35);
  box-shadow: 0 10px 24px rgba(16,40,55,.07), 0 24px 50px rgba(23,162,184,.14);
}
.insight:hover::before { transform: scaleX(1); }
.insight:hover::after { color: #e4f4f6; }

.insight__head { position: relative; z-index: 1; align-items: center; gap: 14px; margin-bottom: 4px; }
.insight__ic {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, #e9f7f9, #d7f0f4);
  color: var(--acc-deep);
  box-shadow: inset 0 0 0 1px rgba(23,162,184,.12);
  transition: transform .35s var(--ease-spring), background .35s, color .35s, box-shadow .35s;
}
.insight:hover .insight__ic {
  background: linear-gradient(135deg, var(--acc), var(--acc-cyan));
  color: #fff; transform: translateY(-2px) rotate(-3deg) scale(1.04);
  box-shadow: 0 8px 18px rgba(23,162,184,.35);
}
.insight__ic .icon { width: 25px; height: 25px; }
.insight h3 { font-size: 16px; line-height: 1.28; color: var(--ink); font-weight: 700; padding-right: 26px; }
/* hide the inline number; the ::after watermark replaces it */
.insight__num { display: none; }

.insight__body p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.insight__sectors { background: var(--acc-soft); color: var(--acc-deep); font-weight: 600; }

/* Details pinned to the bottom with a divider, like a real card footer */
.insight__toggle {
  position: relative; z-index: 1;
  margin-top: auto; padding-top: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--acc-deep);
}
.insight__toggle::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line);
}
.insight__toggle .pm {
  width: 18px; height: 18px; padding: 3px; border-radius: 50%;
  background: var(--acc-soft); color: var(--acc-deep);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.insight:hover .insight__toggle .pm { background: var(--acc); color: #fff; }
.insight.is-open .insight__toggle .pm { transform: rotate(45deg); }
.insight.is-open { border-color: rgba(23,162,184,.35); }
.insight.is-open::before { transform: scaleX(1); }

/* Keep this short support phrase on one line (wraps only on small screens). */
.support-line--inline { font-size: clamp(15px, 1.5vw, 19px); white-space: nowrap; max-width: none; }
@media (max-width: 560px) { .support-line--inline { white-space: normal; } }

/* ----------------- Research & Evidence — light cards ------------------ */
.evidence-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.evidence-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.evidence-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); border-color: rgba(43,196,212,.45); }
.evidence-card__tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #06222b;
  background: linear-gradient(120deg, var(--acc), var(--acc-cyan)); padding: 4px 10px; border-radius: 999px;
}
.evidence-card h3 { font-size: 17px; line-height: 1.25; color: #fff; margin: 2px 0; }
.evidence-card p { font-size: 13.5px; line-height: 1.5; color: #aac6cf; }
@media (max-width: 1040px) { .evidence-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .evidence-grid { grid-template-columns: 1fr; } }

/* ===================== Air-quality news section ====================== */
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 40px); }
.news-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 6px 0 10px; }
.news-head .lead { margin: 0; }
.news-updated { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--acc-deep);
  background: var(--acc-soft); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.news-updated__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: hc-pulse 1.8s ease-out infinite; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.news-card[hidden] { display: none; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d6e6ea; }
/* media area: real article image (cover) or a branded favicon tile */
.news-card__media { position: relative; height: 150px; background: linear-gradient(140deg, #103247, #129aa6); display: grid; place-items: center; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,20,30,.28)); pointer-events: none; }
.news-card__stock { position: absolute; bottom: 8px; left: 8px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: .02em;
  color: #fff; background: rgba(8,20,30,.55); backdrop-filter: blur(3px); padding: 3px 8px; border-radius: 999px; }
.news-card__body { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 18px; flex: 1; }
.news-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.news-card__pub { font-weight: 700; color: var(--acc-deep); text-transform: uppercase; letter-spacing: .03em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%; }
.news-card__meta time { color: var(--faint); white-space: nowrap; }
.news-card h3 { font-size: 16.5px; line-height: 1.32; color: var(--ink); font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__read { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--acc); display: inline-flex; align-items: center; gap: 6px; }
.news-card:hover .news-card__read .arr { transform: translateX(3px); }
.news-empty { text-align: center; padding: 40px; color: var(--muted); background: var(--paper-2); border: 1px dashed var(--line); border-radius: 16px; }
/* pagination */
.news-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.news-pager__info { font-size: 14px; font-weight: 600; color: var(--muted); min-width: 90px; text-align: center; }
.news-pager .btn:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* -------------------- Homepage newswire teaser ----------------------- */
.news-teaser { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 48px); }
.news-teaser__intro .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.news-teaser__live { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: hc-pulse 1.8s ease-out infinite; }
.news-teaser__intro h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.news-teaser__list { display: grid; gap: 2px; }
.news-teaser__list li a { display: block; padding: 14px 16px; border-radius: 12px; transition: background .25s; border-left: 2px solid transparent; }
.news-teaser__list li a:hover { background: #fff; border-left-color: var(--acc); box-shadow: var(--shadow-sm); }
.news-teaser__pub { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--acc-deep); margin-bottom: 4px; }
.news-teaser__title { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 860px) { .news-teaser { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .news-teaser__live { animation: none; } }

/* "90% indoors" stat lead-in */
.why-stat { font-size: clamp(17px, 1.8vw, 21px); color: var(--ink); margin-bottom: 14px; }
.why-stat strong { font-family: var(--ff-head); font-weight: 800; font-size: 1.35em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Compact partner logo strip (homepage) */
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 56px); }
.partner-strip__item { display: inline-flex; align-items: center; height: 44px; }
.partner-strip__item img { max-height: 38px; max-width: 150px; width: auto; object-fit: contain; opacity: .65; filter: grayscale(.4); transition: opacity .3s, filter .3s, transform .3s; }
.partner-strip__item:hover img { opacity: 1; filter: none; transform: scale(1.05); }

/* --------------------------- Pull quote ------------------------------ */
.pull-quote { max-width: 880px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; position: relative; }
.pull-quote::before {
  content: '\201C'; display: block; font-family: var(--ff-head); font-weight: 800;
  font-size: 80px; line-height: .6; color: var(--acc-cyan); opacity: .6; margin-bottom: 4px;
}
.pull-quote blockquote {
  margin: 0; font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(20px, 2.8vw, 30px); line-height: 1.32; color: #fff; letter-spacing: -.02em;
}
.section--deep .pull-quote blockquote { color: #fff; }
.pull-quote figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--acc-cyan); letter-spacing: .02em; }

/* Health + Energy split visual */
.energy-split { display: grid; grid-template-columns: 1fr auto 1.15fr; gap: 14px; align-items: center; }
.energy-split__label { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.energy-split__bad, .energy-split__good { border-radius: 16px; padding: 22px 20px; box-shadow: var(--shadow-sm); }
.energy-split__bad { background: #f6f1ec; border: 1px solid #ece2d8; }
.energy-split__bad .energy-split__label { color: #b07a52; }
.energy-split__bad p { font-size: 13.5px; color: #8a6f5c; }
.energy-split__good { background: linear-gradient(150deg, #e9f7f9, #ffffff); border: 1px solid rgba(23,162,184,.25); }
.energy-split__good .energy-split__label { color: var(--acc-deep); }
.energy-split__good ul { display: grid; gap: 7px; margin: 4px 0 10px; }
.energy-split__good li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.energy-split__good li .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.energy-split__good p { font-size: 13px; color: var(--muted); }
.energy-split__arrow { color: var(--acc); display: grid; place-items: center; }
.energy-split__arrow svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .energy-split { grid-template-columns: 1fr; } .energy-split__arrow { transform: rotate(90deg); } }

/* Downloadable asset cards */
.download-card { display: flex; flex-direction: column; }
.download-card p { flex: 1; }
.download-card__cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--acc); }
.download-card:hover .download-card__cta { color: var(--acc-deep); }

/* ---------------- SafeAir flow diagram (on-brand, coded) ------------- */
.flow-diagram { display: flex; align-items: stretch; justify-content: center; gap: 6px; flex-wrap: nowrap; }
.flow-node {
  flex: 1 1 0; min-width: 0; text-align: center; padding: 24px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.flow-node:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(23,162,184,.35); }
.flow-node__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px;
  background: linear-gradient(135deg, var(--acc), var(--acc-cyan)); color: #fff; box-shadow: 0 10px 24px rgba(23,162,184,.28); }
.flow-node__ic .icon { width: 28px; height: 28px; }
.flow-node h4 { font-family: var(--ff-head); font-weight: 700; font-size: 15.5px; color: var(--ink); line-height: 1.25; }
.flow-node p { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.flow-arrow { display: flex; align-items: center; color: var(--acc); flex: 0 0 auto; width: 26px; }
.flow-arrow svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .flow-diagram { flex-direction: column; align-items: stretch; gap: 4px; max-width: 420px; margin-inline: auto; }
  .flow-node { flex-direction: row; text-align: left; gap: 16px; padding: 18px 20px; }
  .flow-node__ic { flex: none; margin: 0; width: 52px; height: 52px; }
  .flow-arrow { width: auto; justify-content: center; transform: rotate(90deg); padding: 2px 0; }
}

/* ----------------------- Framed media figures ------------------------ */
.media-figure { margin: 0; }
.media-figure img {
  width: 100%; border-radius: 18px; border: 1px solid var(--line);
  background: #fff; padding: 18px; box-shadow: var(--shadow-md);
}
.media-figure figcaption {
  margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center;
}

/* On shorter laptop screens, compress the hero so the CTA stays visible. */
@media (max-height: 820px) and (min-width: 921px) {
  .hero { padding: 22px 0 30px; }
  .hero h1 { font-size: clamp(30px, 3.6vw, 44px); }
  .hero__pill { margin-bottom: 14px; }
  .hero__sub { margin-top: 12px; font-size: 16px; }
  .hero__support { margin-top: 8px; }
  .hero__cta { margin-top: 18px; }
  .hero__trust { margin-top: 16px; }
}

/* ----------------- KILL DEAD VERTICAL GAPS (site-wide) ---------------- */
/* Closing "lead" lines that used a big inline margin-top now sit tight. */
.section .lead.center[style] { margin-top: clamp(20px, 2.4vw, 30px) !important; }
.chip-cards { gap: 14px; }
/* The support-line shouldn't float far from the cards above it. */
.support-line { max-width: 760px; }
/* Center heads have comfortable—not cavernous—bottom space. */
.section-head--center { margin-bottom: clamp(30px, 3.6vw, 46px); }
/* Trim oversized internal paddings on big cards for a denser, premium grid. */
.card { padding: 26px 24px; }
.protect-card { padding: 30px 28px; }
.layer { padding: 26px 22px; }
/* Hero internal rhythm — compact so the CTA stays above the fold */
.hero__pill { margin-bottom: 18px; }
.hero__sub { margin-top: 16px; }
.hero__support { margin-top: 10px; font-size: 14.5px; }
.hero__cta { margin-top: 22px; }
.hero__trust { margin-top: 22px; }
.hero__grid { gap: clamp(28px, 4vw, 48px); align-items: center; }
/* Split sections: tighten the gap a bit */
.split { gap: clamp(32px, 4.5vw, 56px); }
