/* PMA — DARK variant. Brand colours win; dark-canvas feel from the Apple/AuthKit/IB/Vivid references. */

:root {
  /* brand */
  --bright: #0A70B8;
  --action: #08588F;
  --royal: #1E3A8E;
  --navy: #221452;
  --sky: #3B9BE0;            /* brand blue lifted for legibility on dark */
  --gradient: linear-gradient(90deg, #0A70B8 0%, #1E3A8E 50%, #221452 100%);

  /* dark surfaces */
  --canvas: #0D0A1F;         /* deep indigo ink — derived from navy */
  --surface: #221452;        /* PMA Navy — cards / alternate bands */
  --surface-2: #2C1E63;      /* lifted navy — hover */
  --footer: #080614;         /* darkest terminator */

  /* text */
  --text: #ECEEF6;
  --heading: #FFFFFF;
  --muted: #9CA1B8;
  --hairline: rgba(255,255,255,0.12);

  --max: 1200px;
  --text-col: 720px;
  --gap: 96px;
  --r-card: 16px;
  --r-img: 24px;
  --r-pill: 999px;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text); background: var(--canvas);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--heading); }
h1 { font-size: 64px; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: 40px; }
h3 { font-size: 28px; letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: 20px; line-height: 1.5; letter-spacing: -0.01em; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--sky); display: inline-block; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; font-family: var(--font); font-size: 16px; font-weight: 500; padding: 14px 26px; border-radius: var(--r-pill); cursor: pointer; transition: background .15s, border-color .15s, color .15s; border: 1px solid transparent; line-height: 1; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--bright); color: #fff; }
.btn-primary:hover { background: var(--action); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-on-dark.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-on-dark.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* CTA pills — frosted glass surface; icon-only, expand to reveal the label on hover (desktop) or tap (touch) */
.cta-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.cta-pills .pill { box-sizing: border-box; display: inline-flex; align-items: center; padding: 0; border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid var(--hairline); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); font-weight: 500; font-size: 16px; line-height: 1; white-space: nowrap; overflow: hidden; transition: background .2s, border-color .2s; }
.cta-pills .pill:hover, .cta-pills .pill:focus-visible { text-decoration: none; color: var(--text); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.pill-icon { flex: 0 0 auto; width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; }
.pill-icon svg { width: 22px; height: 22px; display: block; }
.pill-email .pill-icon svg { width: 27px; height: 27px; color: var(--sky); } /* light-blue envelope glyph (matches eyebrow bullet) */
.pill-wa .pill-icon svg { color: #25D366; }                              /* WhatsApp green glyph */
.pill-label { max-width: 0; opacity: 0; padding-right: 0; overflow: hidden; line-height: 1.5; transition: max-width .38s ease, opacity .25s ease, padding-right .38s ease; }
.pill:hover .pill-label, .pill:focus-visible .pill-label, .pill.is-open .pill-label { max-width: 340px; opacity: 1; padding-right: 24px; }
/* Small variant for the header bar */
.cta-pills-sm { gap: 10px; margin-top: 0; }
.cta-pills-sm .pill { font-size: 14px; }
.cta-pills-sm .pill-icon { width: 42px; height: 42px; }
.cta-pills-sm .pill-icon svg { width: 19px; height: 19px; }
.cta-pills-sm .pill-email .pill-icon svg { width: 23px; height: 23px; }
.cta-pills-sm .pill:hover .pill-label, .cta-pills-sm .pill:focus-visible .pill-label, .cta-pills-sm .pill.is-open .pill-label { padding-right: 20px; }
.cta-band .cta-pills { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .pill-label { transition: none; } }

/* Header — FLAT bar (no pill), bigger logo, no tagline */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13,10,31,.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.nav { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--sky); text-decoration: none; }
.nav-cta { font-size: 14px; padding: 11px 20px; }
.menu-toggle { display: none; }
/* Right-hand header group: the LVI Calculator link + the CTA pills. */
.nav-right { display: flex; align-items: center; gap: 22px; }
/* Standalone header link to the LVI Calculator. Matches .nav-links a, but sits
   outside that container so it survives the home-only layout at every width. */
.nav-tool { color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: color .15s ease; }
.nav-tool:hover, .nav-tool:focus-visible {
  color: #F4C95D; text-shadow: 0 0 12px rgba(244,201,93,.4); text-decoration: none;
}
@media (prefers-reduced-motion: reduce) { .nav-tool { transition: none; } }

/* Sections & bands */
section { padding: var(--gap) 0; }
.band-mist { background: var(--royal); }
.band-navy { background: var(--canvas); }

/* Readability on the brighter royal alternate band */
.band-mist .muted,
.band-mist .lead,
.band-mist .soundbite,
.band-mist .step p,
.band-mist .list li,
.band-mist .eyebrow,
.band-mist .dia-tag,
.band-mist .dia-box,
.band-mist .dia-out.muted { color: #C7D3EA; }
.section-head { max-width: var(--text-col); margin-bottom: 40px; }
.section-head p { margin-top: 16px; }

/* Hero */
.hero { padding: 80px 0 var(--gap); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero p.lead { margin-top: 22px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-img); aspect-ratio: 4/3; }
.closing-line { font-size: 20px; color: var(--heading); font-weight: 500; margin-top: 24px; }

/* Routing cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
/* Routing cards: navy surface with white heading */
.card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.card:hover { border-color: var(--sky); text-decoration: none; }
.card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.card .card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 20px; letter-spacing: -0.01em; color: #FFFFFF; }
.card .soundbite { color: var(--muted); font-size: 16px; flex: 1; }
.card .arrow { color: var(--sky); font-weight: 500; }
.card .arrow::after { content: " →"; }
.card[aria-expanded="true"] .arrow::after { content: " ✕"; }

/* Proof */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.proof .stat { font-size: 22px; font-weight: 500; color: var(--heading); }
.proof .stat b { color: var(--sky); font-weight: 500; }
/* Sector gallery — two-row seamless auto-scrolling marquee, opposite directions,
   soft edge fades, pause on hover. JS clones each row once for a seamless loop;
   the -50% translate lands exactly because each image carries its own margin. */
/* Vertical padding gives the hover lift/scale headroom inside the overflow:hidden
   box so the top row isn't clipped; margin-top is reduced to keep overall spacing. */
.gallery-marquee { position: relative; margin-top: 26px; padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-row { display: flex; width: max-content; will-change: transform; }
.marquee-row + .marquee-row { margin-top: 18px; }
.marquee-row img { width: 325px; height: 210px; object-fit: cover; border-radius: 14px; margin-right: 20px;
  flex: 0 0 auto; border: 1px solid var(--hairline);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .2s; }
.marquee-row.r1 { animation: marquee-left 70s linear infinite; }
.marquee-row.r2 { animation: marquee-right 70s linear infinite; }
.gallery-marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row img:hover { transform: translateY(-6px) scale(1.05); position: relative; z-index: 2;
  box-shadow: 0 20px 44px -14px rgba(0,0,0,.6), 0 12px 36px -10px rgba(59,155,224,.42); border-color: var(--sky); }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .gallery-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-row { animation: none; }
  .marquee-row img { transition: none; }
  .marquee-row img:hover { transform: none; box-shadow: none; }
}

/* Two-col, lists, pillars */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { display: grid; gap: 18px; max-width: var(--text-col); }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); color: #fff; font-weight: 500; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.step h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 4px; }
.step p { color: var(--muted); }
.list { max-width: var(--text-col); display: grid; gap: 14px; }
.list li { list-style: none; padding-left: 26px; position: relative; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--sky); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar h3 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 16px; }

/* Diagram */
.diagram { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.dia-panel { border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 32px; background: var(--surface); }
.dia-panel.left { background: rgba(255,255,255,.03); }
.dia-tag { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; }
.dia-box { border: 1px dashed var(--hairline); border-radius: 10px; padding: 16px; text-align: center; color: var(--muted); }
.dia-nodes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dia-node { font-size: 13px; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); color: #fff; }
.dia-arrow { height: 6px; border-radius: 3px; background: var(--gradient); margin: 18px 0; }
.dia-out { text-align: center; font-weight: 500; color: var(--sky); }

/* Teaser */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.teaser img { border-radius: var(--r-img); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-options { display: grid; gap: 14px; max-width: var(--text-col); }
.contact-option { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface); }
.contact-option:hover { border-color: var(--sky); text-decoration: none; }
.contact-option .label { color: var(--heading); font-weight: 500; }
.contact-option .sub { color: var(--muted); font-size: 15px; }
.contact-meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 8px; }
.contact-meta a { font-size: 19px; font-weight: 500; }

/* Footer */
.site-footer { background: var(--footer); color: var(--text); padding: 72px 0 40px; border-top: 1px solid var(--hairline); }
/* Footer tagline — always a single line, at every width.
   Measured: the text renders ~21.2x the font-size wide, and the usable space
   is the viewport minus the .wrap's 48px of padding. The fluid middle term is
   that relationship solved for font-size, with headroom left over because
   `vw` counts the scrollbar while the available width does not. max-width is
   dropped since a nowrap line must be free to use the full row. */
/* Fixed size, free to wrap — the previous nowrap/clamp hack existed only to
   force a longer tagline onto one line at every width; no longer needed. */
.site-footer .unified {
  font-size: 22px; font-weight: 500; color: #fff;
  max-width: 620px; margin: 0 auto 48px; line-height: 1.3; text-align: center;
}
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.foot-grid a, .foot-grid p { color: rgba(255,255,255,.78); font-size: 15px; display: block; margin-bottom: 8px; }
.foot-grid a:hover { color: #fff; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--muted); }

/* Nav dropdown */
.nav-dd { position: relative; }
.nav-dd-toggle { background: none; border: none; color: var(--text); font-family: var(--font); font-size: 15px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.nav-dd-toggle:hover { color: var(--sky); }
.nav-dd .caret { font-size: 11px; transition: transform .2s ease; }
.nav-dd.open .caret { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 240px; background: #15112E; border: 1px solid var(--hairline); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 60; }
.nav-dd:hover .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { color: var(--text); font-size: 14.5px; padding: 10px 14px; border-radius: 8px; }
.nav-dd-menu a:hover { background: rgba(255,255,255,.06); color: var(--sky); text-decoration: none; }
/* "Lighting Tools" dropdown in .nav-right — right-anchored so the menu never
   clips the viewport edge (the toggle sits near the right side of the header).
   Same frosted-glass material as the home cards, an invisible ::before bridge
   over the 16px gap so the pointer can travel toggle → menu without losing
   :hover, and a close delay so a brief pointer exit doesn't collapse it. */
.nav-tools-dd .nav-dd-menu {
  left: auto; right: 0; transform: translateY(-6px); min-width: 200px;
  /* Same white film as the cards, over a dark base so the items stay legible
     when the panel floats over hero headings rather than the page canvas. */
  background: linear-gradient(rgba(255,255,255,.045), rgba(255,255,255,.045)), rgba(13,10,31,.88);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  transition: opacity .18s ease .3s, transform .18s ease .3s, visibility 0s linear .48s;
}
.nav-tools-dd .nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-tools-dd:hover .nav-dd-menu, .nav-tools-dd.open .nav-dd-menu { transform: translateY(0); transition-delay: 0s, 0s, 0s; }
@media (prefers-reduced-motion: reduce) { .nav-tools-dd .nav-dd-menu { transition: none; } }

/* Audience accordion */
a.card { color: inherit; }
.card[aria-expanded="true"] { border-color: var(--sky); }
.acc-panel { height: 0; overflow: hidden; margin-top: 0; transition: height .45s ease, margin-top .45s ease; }
.acc-panel.open { margin-top: 20px; }
.acc-content { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 40px; }
.acc-content .eyebrow { margin-bottom: 14px; }
.acc-content .acc-h { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; color: #fff; max-width: 760px; }
.acc-content .lead { margin-top: 14px; }
.acc-content .acc-body { margin-top: 14px; max-width: 760px; }
.acc-content .steps { margin-top: 28px; }
.acc-content .btn-row { margin-top: 28px; }

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 44px; }
  h2 { font-size: 28px; }
  .hero-grid, .two-col, .teaser, .diagram { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: 1fr; gap: 18px; }
  .pillars { grid-template-columns: 1fr; }
  .marquee-row img { width: 275px; height: 178px; margin-right: 16px; }
  .marquee-row + .marquee-row { margin-top: 16px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 76px; left: 24px; right: 24px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); flex-direction: column; align-items: flex-start; padding: 18px 22px; gap: 16px; }
  .menu-toggle { display: inline-flex; background: none; border: none; font-size: 22px; color: #fff; cursor: pointer; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .nav-dd { width: 100%; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; background: transparent; border: none; padding: 4px 0 0 12px; display: none; }
  .nav-dd.open .nav-dd-menu { display: flex; }
  /* The header "Lighting Tools" dropdown is NOT part of the drawer nav — keep
     its floating, right-anchored menu at every width. */
  .nav-tools-dd { width: auto; }
  .nav-tools-dd .nav-dd-toggle { width: auto; }
  .nav-tools-dd .nav-dd-menu { position: absolute; left: auto; right: 0; min-width: 200px; background: linear-gradient(rgba(255,255,255,.045), rgba(255,255,255,.045)), rgba(13,10,31,.88); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); display: flex; }
  .nav-tools-dd:hover .nav-dd-menu, .nav-tools-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .acc-content { padding: 24px; }
  .acc-content .acc-h { font-size: 24px; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; padding: 12px 16px; }
  .brand img { height: 38px; }
  .nav-tool { font-size: 13.5px; }
  .nav-right { gap: 12px; }   /* the roomier desktop gap won't fit at this width */
  .cards { grid-template-columns: 1fr; }
  .marquee-row img { width: 212px; height: 140px; margin-right: 14px; border-radius: 12px; }
  .marquee-row + .marquee-row { margin-top: 14px; }
  .contact-option { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}


/* ============================================================
   Animated light field + frosted-glass surfaces (site-wide)
   One continuous deep-blue canvas; soft brand-blue light pools
   drift and parallax on scroll. Markup: .lightfield (per page),
   driver: assets/lightfield.js.
   ============================================================ */
body { background: #090713; }
.lightfield { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lightfield .glow { position: absolute; border-radius: 50%; filter: blur(85px); will-change: transform; mix-blend-mode: screen; opacity: .55; }
.glow.g1 { width: 64vw; height: 64vw; left: -16vw; top: -6vh;  background: radial-gradient(circle, rgba(10,112,184,.55), rgba(10,112,184,0) 68%); }
.glow.g2 { width: 50vw; height: 50vw; right: -12vw; top: 52vh;  background: radial-gradient(circle, rgba(59,155,224,.50), rgba(59,155,224,0) 68%); }
.glow.g3 { width: 56vw; height: 56vw; left: 8vw;    top: 118vh; background: radial-gradient(circle, rgba(46,57,142,.55),  rgba(46,57,142,0)  68%); }
.glow.g4 { width: 44vw; height: 44vw; right: 4vw;   top: 188vh; background: radial-gradient(circle, rgba(10,112,184,.48), rgba(10,112,184,0) 68%); }
.glow.g5 { width: 50vw; height: 50vw; left: -8vw;   top: 250vh; background: radial-gradient(circle, rgba(59,155,224,.42), rgba(59,155,224,0) 68%); }
.lightfield::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%); }

.site-header, main, .site-footer { position: relative; z-index: 1; }
main section, .band-mist, .band-navy { background: transparent !important; }

.card { background: rgba(255,255,255,.045) !important; border: 1px solid rgba(255,255,255,.14) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card:hover { background: rgba(59,155,224,.10) !important; border-color: rgba(59,155,224,.55) !important; }
.acc-content { background: rgba(255,255,255,.045) !important; border-color: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dia-panel { background: rgba(255,255,255,.035) !important; backdrop-filter: blur(8px); }
.dia-panel.left { background: rgba(255,255,255,.06) !important; }
.dia-node { background: rgba(255,255,255,.10); }
.contact-option { background: rgba(255,255,255,.04) !important; backdrop-filter: blur(8px); }
.site-header { background: rgba(9,7,19,.5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.site-footer { background: rgba(5,4,14,.55) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.hero h1 { text-shadow: 0 0 48px rgba(10,112,184,.28); }
@media (min-width: 900px) { .hero h1 { font-size: 72px; } }
.eyebrow::before { box-shadow: 0 0 10px rgba(59,155,224,.9); animation: pilot 3.2s ease-in-out infinite; }
@keyframes pilot { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightfield .glow { transform: none !important; } .eyebrow::before { animation: none; } }


/* Gold section labels + footer headings — complementary to the blue, soft glow */
.eyebrow { color: #F4C95D; text-shadow: 0 0 12px rgba(244,201,93,.42); }
.band-mist .eyebrow { color: #F4C95D; }
.foot-grid h4 { color: #F4C95D; text-shadow: 0 0 12px rgba(244,201,93,.35); }

/* "The difference" flow diagram — you vs. PMA-as-filter */
.diagram-flow .dia-panel { padding: 22px 22px 24px; display: flex; flex-direction: column; }
.dg-tag { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.dg-tag.gold { color: #F4C95D; text-shadow: 0 0 12px rgba(244,201,93,.4); }
.dg-svg { width: 100%; height: auto; display: block; }
.dg-cap { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 8px; }
/* svg primitives */
.dg-you { fill: rgba(255,255,255,.07); stroke: var(--sky); stroke-width: 1.3; }
.dg-youtext { fill: #fff; font: 600 15px Inter, sans-serif; }
.dg-sup { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.16); stroke-width: 1; }
.dg-line { stroke: var(--muted); stroke-width: 1.4; opacity: .5; fill: none; }
.dg-faint { stroke: var(--sky); stroke-width: 1.2; opacity: .22; }
.dg-gold { stroke: #F4C95D; stroke-width: 2; opacity: .85; }
.dg-opt { fill: #21202e; stroke: #F4C95D; stroke-width: 1.3; }
.dg-optmark { fill: #F4C95D; font: 600 12px Inter, sans-serif; }
.dg-halo { fill: rgba(244,201,93,.12); }
.dg-hub-ring { fill: none; stroke: #F4C95D; stroke-width: 2.5; }
.dg-hubtext { fill: #fff; font: 700 15px Inter, sans-serif; letter-spacing: .04em; }
.dg-efftag { fill: rgba(34,32,50,.92); stroke: rgba(255,255,255,.18); stroke-width: 1; }
.dg-pill { fill: #21202e; stroke-width: 1.3; }
.dg-pill.neu { stroke: #8A90A6; }
.dg-pill.bad { stroke: #ED6A60; }
.dg-pill.good { stroke: #5BC07F; }
.dg-sym { font: 700 13px Inter, sans-serif; }
.dg-sym.neu { fill: #B6BBCC; }
.dg-sym.bad { fill: #ED6A60; }
.dg-sym.good { fill: #5BC07F; }

/* Key benefits — animated pillar icons */
.pillar .pic { width: 46px; height: 46px; display: block; margin: 0 0 16px; overflow: visible; }
.pic .gold-s { stroke: #F4C95D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.pic .blue-s { stroke: #3B9BE0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.pic .gold-f { fill: #F4C95D; }
.pic .blue-f { fill: #3B9BE0; }
.pic .faint { opacity: .42; }
.pic .tag-r { font: 700 11px Inter, sans-serif; }
.pic [class*="anim-"], .pic .trend-dot { transform-box: fill-box; }
/* 1 target ripple */
.anim-ripple { transform-origin: center; animation: pic-ripple 2.8s ease-out infinite; }
@keyframes pic-ripple { 0% { transform: scale(.5); opacity: .85; } 70% { opacity: 0; } 100% { transform: scale(3); opacity: 0; } }
/* 2 comparison bars */
.anim-bar { transform-origin: 50% 100%; animation: pic-bar 2.4s ease-in-out infinite; }
.anim-bar.d1 { animation-delay: 0s; } .anim-bar.d2 { animation-delay: .25s; } .anim-bar.d3 { animation-delay: .5s; }
@keyframes pic-bar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
/* 3 price tag swing — starts tilted left, swings right to its furthest point at the
   same midpoint as the magnifier below, so the R lands centred in the lens */
.anim-swing { transform-origin: 50% 6%; animation: pic-swing 3s ease-in-out infinite; }
@keyframes pic-swing { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-16deg); } }
/* 3b price tag — magnifier raises to meet the R at the same midpoint, then back to rest */
.anim-scan { transform-origin: center; animation: pic-scan 3s ease-in-out infinite; }
@keyframes pic-scan { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-8.73px,-5.76px); } }
/* 4 stay-current — dimmed globe wireframe + a dim, thin trace with a bright
   segment sweeping through it, like a heart-monitor readout. The bright dash
   is exactly one path-length long (58.4) so the dashoffset animation loops
   seamlessly (measured via path.getTotalLength()). */
.pic .globe-bg { opacity: .75; }
.pulse-line { stroke: #F4C95D; stroke-width: 1.3; opacity: .4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pulse-bright { stroke: #F4C95D; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 12 46.4; animation: pic-pulsebright 2.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(244,201,93,.95)); }
@keyframes pic-pulsebright { to { stroke-dashoffset: -58.4; } }
/* 5 hub nodes */
.anim-node { transform-origin: center; animation: pic-node 2.6s ease-in-out infinite; }
.anim-node.n1{animation-delay:0s}.anim-node.n2{animation-delay:.17s}.anim-node.n3{animation-delay:.34s}.anim-node.n4{animation-delay:.51s}.anim-node.n5{animation-delay:.68s}.anim-node.n6{animation-delay:.85s}
@keyframes pic-node { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
/* 6 interlocking rings rotate */
.anim-rot { transform-origin: center; animation: pic-rot 11s linear infinite; }
@keyframes pic-rot { to { transform: rotate(360deg); } }
/* 7 clock — smooth sweeping second hand, anchored to the clock centre (24,24) rather
   than the hand's own bounding-box centre, so it spins like a real clock hand */
.pic .anim-tick { transform-box: view-box; transform-origin: 24px 24px; animation: pic-tick 3s linear infinite; }
@keyframes pic-tick { to { transform: rotate(360deg); } }
/* 8 stacked layers — gentle settle */
.anim-layer { transform-origin: center; animation: pic-layer 3.2s ease-in-out infinite; }
.anim-layer.d1 { animation-delay: .3s; } .anim-layer.d2 { animation-delay: .6s; }
@keyframes pic-layer { 0%, 100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-1.5px); } }
/* 9 shield — checkmark draws in */
.anim-check { stroke-dasharray: 22; stroke-dashoffset: 22; animation: pic-check 3s ease-in-out infinite; }
@keyframes pic-check { 0% { stroke-dashoffset: 22; } 35%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) {
  .anim-ripple, .anim-bar, .anim-swing, .anim-scan, .anim-node, .anim-rot, .pulse-bright, .anim-tick, .anim-layer, .anim-check { animation: none; }
  .anim-ripple { opacity: 0; }
  .pulse-bright { opacity: 0; }
  .anim-layer { opacity: 1; transform: none; }
  .anim-check { stroke-dashoffset: 0; }
}
.dg-efftext { fill: var(--muted); font: 500 10px Inter, sans-serif; }
.dg-cap-sm { fill: var(--muted); font: 500 11.5px Inter, sans-serif; }
.dg-cap-sm.gold-cap { fill: #F4C95D; }
.dg-flow-dot { fill: #F4C95D; filter: drop-shadow(0 0 4px rgba(244,201,93,.8)); animation: dgFlow 2.6s ease-in-out infinite; }
@keyframes dgFlow { 0% { transform: translateY(0); opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { transform: translateY(-99px); opacity: 0; } }
.dg-halo { animation: dgHalo 3.2s ease-in-out infinite; }
@keyframes dgHalo { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .dg-flow-dot { animation: none; opacity: 0; }
  .dg-halo { animation: none; }
}

/* Card hover — pop out: lift, scale and glow (no tilt) */
.cards .card { position: relative; will-change: transform;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .15s, background .2s; }
.cards .card:hover { transform: translateY(-10px) scale(1.04); z-index: 5;
  box-shadow: 0 28px 52px -16px rgba(0,0,0,.62), 0 16px 46px -10px rgba(59,155,224,.42); }
.cards .card img { transition: transform .2s cubic-bezier(.2,.7,.3,1); }
.cards .card:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .cards .card, .cards .card img { transition: none; transform: none !important; }
}

/* ============================================================
   Sticky auto-hiding header
   The `.site-header, main, .site-footer { position: relative }` rule further
   up (added to lift content above the lightfield) silently overrode the
   original `position: sticky`, so the header used to scroll away entirely.
   Restored here, after that rule, so it wins.
   Driver: assets/nav.js — any scroll reveals it, and it slides away again
   after a few idle seconds unless the pointer or keyboard focus is inside it.
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50;
  transition: transform .35s cubic-bezier(.2,.7,.3,1); will-change: transform; }
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
