/* ============================================================
   MEAIOW REDESIGN V2 — design layer
   Loaded after prototype.css. Restyles the whole site to the v2 design
   (dark canvas, Newsreader light headings, Inter body, lavender accents,
   translucent cards, pill buttons) WITHOUT changing any page content.

   How it works:
   1. Re-points the theme's CSS custom properties (--bg-primary, --text-primary,
      --border, ...) to the dark palette, so every block and inline style that
      already uses them follows automatically.
   2. Restyles the theme's shared components (.section, .card, .btn, .label,
      nav, footer, forms, tables).
   3. Retargets the few hard-coded light colours in page content (inline
      border #E5E4DF, purple text, white card surfaces) with attribute
      selectors, because rewriting ~40 pages of block markup would risk
      editor "invalid block" errors for no visual gain.
   Colours, fonts and button/link defaults also live in theme.json so the
   Site Editor Styles panel shows and edits them.
   ============================================================ */

:root {
  /* v2 tokens */
  --v2-bg: #0a0a0f;
  --v2-bg-raised: #0f0d1a;
  --v2-text: #fafafa;
  --v2-text-2: rgba(250, 250, 250, 0.74);
  --v2-text-3: rgba(250, 250, 250, 0.55);
  --v2-lav: #c4b5fd;
  --v2-violet: #8b5cf6;
  --v2-purple: #621fdf;
  --v2-purple-hover: #7433f0;
  --v2-line: rgba(255, 255, 255, 0.1);
  --v2-line-strong: rgba(255, 255, 255, 0.18);
  --v2-surface: rgba(255, 255, 255, 0.04);
  --v2-surface-hover: rgba(255, 255, 255, 0.06);
  --v2-green: #86efac;
  --v2-gold: #e0b93a;
  --v2-radius: 16px;
  --v2-shadow-cta: 0 8px 30px rgba(98, 31, 223, 0.4);

  /* re-point the theme's own variables to the dark palette */
  --bg-primary: var(--v2-bg);
  --bg-dark: var(--v2-bg);
  --bg-warm: var(--v2-bg-raised);
  --purple-light: rgba(139, 92, 246, 0.16);
  --purple-mid: var(--v2-lav);
  --text-primary: var(--v2-text);
  --text-secondary: var(--v2-text-2);
  --text-invert: var(--v2-text);
  --border: var(--v2-line);
  --border-dark: var(--v2-line);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", Menlo, monospace;

  /* the 'warm' and 'muted' presets are used as backgrounds/text in content */
  --wp--preset--color--warm: var(--v2-bg-raised);
}

/* ---------- Base ---------- */
html,
body {
  background: var(--v2-bg);
  color: var(--v2-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}
body {
  position: relative;
}
/* Soft violet glow behind the page, as in the v2 design */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 700px at 88% 30%, rgba(98, 31, 223, 0.28), transparent 62%),
    radial-gradient(700px 500px at 5% 100%, rgba(139, 92, 246, 0.14), transparent 60%);
}
.wp-site-blocks {
  position: relative;
  z-index: 1;
}
::selection {
  background: rgba(139, 92, 246, 0.45);
  color: #fff;
}
::placeholder {
  color: rgba(250, 250, 250, 0.4);
}
a:where(:not(.wp-element-button):not(.wp-block-button__link)) {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.wp-block-post-content a:where(:not(.wp-element-button):not(.wp-block-button__link):not([class])) {
  color: var(--v2-lav);
}
.wp-block-post-content a:where(:not(.wp-element-button):not(.wp-block-button__link):not([class])):hover {
  color: #fff;
}

/* ---------- Typography ---------- */
.display,
.h1,
.h2,
.h3,
.card-title,
.stage-title,
.wp-block-heading,
.is-style-meaiow-display,
.is-style-meaiow-headline,
.is-style-meaiow-section-title,
.is-style-meaiow-card-title,
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.display,
.is-style-meaiow-display,
.h1,
.is-style-meaiow-headline {
  font-weight: 300 !important;
  line-height: 1.05;
}
.display,
.is-style-meaiow-display {
  font-size: clamp(44px, 6.6vw, 88px);
}
.h2,
.is-style-meaiow-section-title {
  font-weight: 300 !important;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
}
.h3 {
  font-weight: 400 !important;
  line-height: 1.2;
}
.card-title,
.is-style-meaiow-card-title,
.stage-title,
h4 {
  font-weight: 400 !important;
  letter-spacing: -0.005em;
}
/* the v2 design never uses bold serif headings */
.wp-block-post-content :is(h1, h2):not(.meaiow-ex *) {
  font-weight: 300 !important;
}
.wp-block-post-content :is(h3, h4):not(.meaiow-ex *) {
  font-weight: 400 !important;
}
/* italic accent inside headings, as in the v2 design */
:is(h1, h2, h3, .display, .h1, .h2) :is(em, i) {
  font-style: italic;
  color: var(--v2-lav);
}
.hero-subtitle {
  font-family: var(--font-serif) !important;
  font-style: italic;
  font-weight: 300 !important;
  color: var(--v2-lav) !important;
  letter-spacing: -0.01em;
}
.lead,
.is-style-meaiow-lead {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--v2-text-2);
}
.body,
.card-body,
.is-style-meaiow-body,
.stage-body,
.stat-label {
  color: var(--v2-text-2);
}
/* Section kicker: lavender sentence-case with a short violet rule */
.label,
.is-style-meaiow-label {
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--v2-lav) !important;
}
/* labels typed in capitals (with editor letter-spacing) read better slightly smaller */
:is(.label, .is-style-meaiow-label)[style*="uppercase"] {
  font-size: 12.5px !important;
  letter-spacing: 0.1em !important;
}
:is(.container, .is-style-meaiow-container, .container--narrow) > :is(.label, .is-style-meaiow-label) {
  display: flex;
  align-items: center;
  gap: 10px;
}
:is(.container, .is-style-meaiow-container, .container--narrow) > :is(.label, .is-style-meaiow-label)::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--v2-violet);
}
:is(.container, .is-style-meaiow-container, .container--narrow).u-text-center > :is(.label, .is-style-meaiow-label),
:is(.label, .is-style-meaiow-label).has-text-align-center {
  justify-content: center;
}
.meta,
.is-style-meaiow-meta {
  font-family: var(--font-mono);
  color: var(--v2-text-3);
}
.stat-num {
  font-family: var(--font-serif);
  font-weight: 300 !important;
  letter-spacing: -0.02em;
  color: var(--v2-text);
}
.stat-num.is-meaiow,
.section--dark .stat-num.is-meaiow {
  color: var(--v2-lav) !important;
}

/* ---------- Text colour classes and presets ---------- */
/* Purple stays the brand fill (buttons, badges); as TEXT on dark it becomes lavender. */
body .has-text-color.has-purple-color,
body .has-purple-color {
  color: var(--v2-lav) !important;
}
body .has-text-color.has-purple-mid-color,
body .has-purple-mid-color {
  color: var(--v2-lav) !important;
}
body .has-text-color.has-muted-color,
body .has-muted-color {
  color: var(--v2-text-2) !important;
}
body .has-text-color.has-dark-color,
body .has-dark-color,
body .has-text-color.has-text-color:not([class*="-color has-"]) {
  color: var(--v2-text) !important;
}
/* inline style="color:var(--purple)" in page content */
body [style^="color:var(--purple)"],
body [style*=";color:var(--purple)"] {
  color: var(--v2-lav) !important;
}
/* inline hard-coded light borders */
body [style*="border-color:#E5E4DF"],
body [style*="border-color:#e5e4df"] {
  border-color: var(--v2-line) !important;
}

/* ---------- Sections ---------- */
.section,
.is-style-meaiow-section,
.section--dark,
.is-style-meaiow-section-dark {
  background-color: transparent;
  color: var(--v2-text);
}
body .has-dark-background-color.section,
body .has-dark-background-color.alignfull,
body .wp-block-post-content > .has-dark-background-color,
body .meaiow-page > .has-dark-background-color,
body .section.has-background-background-color,
body .has-background-background-color.is-style-meaiow-section {
  background-color: transparent !important;
}
.section--warm,
.is-style-meaiow-section-warm,
body .section.has-warm-background-color {
  background-color: rgba(255, 255, 255, 0.02) !important;
  color: var(--v2-text);
}
/* the v2 design has no grid texture, only a soft glow */
.section--dark::before,
.section--net::before,
.hero-grid,
.is-style-meaiow-hero-grid {
  display: none !important;
}
/* per-section glow layers drew hard box edges; the v2 glow lives on the page itself */
.section--dark::after,
.hero-particles,
.is-style-meaiow-hero-particles {
  display: none !important;
}
/* no hairline seams between sections on a single dark canvas */
.section:not(.section--dark) + .section:not(.section--dark),
.section--dark + .section--dark {
  border-top: 0;
}
.section--dark .lead,
.section--dark .body,
.section--dark .card-body,
.section--dark p:not(.label):not(.meta):not(.hero-subtitle) {
  color: var(--v2-text-2);
}
.section--dark .label {
  color: var(--v2-lav);
}

/* ---------- Cards and tiles ---------- */
.card,
.wp-block-group.card,
.is-style-meaiow-card,
.card--dark,
.wp-block-group.card--dark,
.axiom-cell,
.axiom-cell--dark,
.bg-white,
body .has-background-background-color.has-background:not(.section):not(.is-style-meaiow-section),
body .has-background-background-color.has-background-background-color:not(.section):not(.is-style-meaiow-section) {
  background-color: var(--v2-surface) !important;
  border-color: var(--v2-line) !important;
  color: var(--v2-text);
}
.card,
.wp-block-group.card,
.is-style-meaiow-card,
.card--dark,
.axiom-cell {
  border-radius: var(--v2-radius) !important;
}
.card:hover,
.is-style-meaiow-card:hover,
.card--dark:hover,
.axiom-cell:hover,
.axiom-cell--dark:hover {
  border-color: var(--v2-violet) !important;
  box-shadow: none;
}
.card-cta,
.card--dark .card-cta {
  color: var(--v2-lav);
}
.stat {
  border-top-color: var(--v2-line);
}
.ind-tile,
.grid-5x3 .ind-tile {
  background: var(--v2-bg);
  color: var(--v2-text);
}
.ind-tile:hover {
  background: rgba(139, 92, 246, 0.12);
}
.ind-tile:hover .ind-icon {
  color: var(--v2-lav);
}
.ind-tile .ind-icon {
  color: var(--v2-text-3);
}
.tag:not(.meaiow-ex *) {
  background: rgba(139, 92, 246, 0.16);
  color: var(--v2-lav);
  border: 1px solid rgba(196, 181, 253, 0.3);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
}
.tag--ghost {
  background: transparent;
  border-color: var(--v2-line);
  color: var(--v2-text-2);
}
.channel-pill,
.section--dark .channel-pill {
  background: var(--v2-surface);
  border-color: var(--v2-line);
  color: var(--v2-text);
}
.stage--featured {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(196, 181, 253, 0.3);
}
.stage--featured .stage-num,
.stage--featured .stage-title {
  color: var(--v2-lav);
}
.thumb {
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(196, 181, 253, 0.06) 8px 9px),
    var(--v2-bg-raised);
  color: var(--v2-lav);
  border-color: rgba(196, 181, 253, 0.2);
}
.thumb--neutral {
  background: var(--v2-surface);
  color: var(--v2-text-3);
}
.photo {
  background: linear-gradient(160deg, #15131f, #0f0d1a);
  border-color: var(--v2-line);
}
.photo .photo-cap {
  background: rgba(10, 10, 15, 0.6);
  color: var(--v2-text-2);
}
.code-block,
.code-block--inline {
  background: #0f0d1a;
  border-color: var(--v2-line);
}
.verdict-letter {
  border-color: var(--v2-line);
  background: var(--v2-surface);
  border-radius: 14px;
}
.verdict-letter strong {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--v2-lav);
}
.verdict-letter span {
  color: var(--v2-text-2);
}
.spec-stat {
  border-color: rgba(196, 181, 253, 0.3);
  background: rgba(98, 31, 223, 0.12);
  border-radius: var(--v2-radius);
}
.problem-row,
.problem-row:first-child,
.is-style-meaiow-problem-row,
.stage,
.stage:last-child {
  border-color: var(--v2-line);
}
.proof-chain div {
  border-color: var(--v2-line);
  background: var(--v2-surface);
  border-radius: 14px;
}
.team-portrait {
  background: var(--v2-bg-raised);
}
.team-card:hover {
  box-shadow: 0 24px 50px -24px rgba(98, 31, 223, 0.45);
}
.grid-hairline {
  background: var(--v2-line);
  border-color: var(--v2-line);
}
.exec-callout-dark {
  background: linear-gradient(160deg, rgba(98, 31, 223, 0.18), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--v2-line);
  border-radius: 18px;
}

/* ---------- Buttons ---------- */
.btn:not(.wp-block-button):not(.meaiow-ex *),
.wp-block-button.btn .wp-block-button__link,
.wp-block-button.btn--purple .wp-block-button__link,
.is-style-meaiow-primary .wp-block-button__link,
.wp-block-button:not(.btn--ghost):not(.is-style-meaiow-ghost):not(.is-style-meaiow-text):not(.btn--text):not(.card-stretched-link):not(.ind-tile-link):not(.is-style-outline):not(.nav-cta--ghost) > .wp-block-button__link {
  background: var(--v2-purple);
  border: 1px solid transparent;
  color: #fff !important;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 20px;
  box-shadow: var(--v2-shadow-cta);
  transform: none;
}
body .btn:not(.wp-block-button):not(.meaiow-ex *):hover,
body .btn--purple:not(.wp-block-button):hover,
body .btn--purple:hover .wp-block-button__link,
body .wp-block-button.btn:hover .wp-block-button__link,
body .is-style-meaiow-primary:hover .wp-block-button__link,
body .wp-block-button:not(.btn--ghost):not(.is-style-meaiow-ghost):not(.is-style-meaiow-text):not(.btn--text):not(.card-stretched-link):not(.ind-tile-link):not(.nav-cta--ghost) > .wp-block-button__link:hover {
  background: var(--v2-purple-hover) !important;
  color: #fff !important;
  transform: none;
}
body .btn--ghost:not(.wp-block-button),
body .wp-block-button.btn--ghost .wp-block-button__link,
body .is-style-meaiow-ghost .wp-block-button__link,
body .section--dark .btn--ghost .wp-block-button__link,
body .section--dark .wp-block-button.btn--ghost .wp-block-button__link {
  background: transparent !important;
  border: 1px solid var(--v2-line-strong) !important;
  color: var(--v2-text) !important;
  box-shadow: none;
}
body .btn--ghost:not(.wp-block-button):hover,
body .btn--ghost:hover .wp-block-button__link,
body .is-style-meaiow-ghost:hover .wp-block-button__link,
body .section--dark .btn--ghost:not(.wp-block-button):hover,
body .section--dark .btn--ghost:hover .wp-block-button__link,
body .section--dark .is-style-meaiow-ghost:hover .wp-block-button__link {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--v2-lav) !important;
  color: var(--v2-text) !important;
}
body .wp-block-button.btn--ghost,
body .wp-block-button.btn--ghost:hover {
  background: transparent !important;
  border: 0 !important;
}
.btn--link,
.btn--text .wp-block-button__link,
.is-style-meaiow-text .wp-block-button__link {
  color: var(--v2-lav) !important;
  background: transparent !important;
  box-shadow: none !important;
}
.btn--link:hover,
.btn--text .wp-block-button__link:hover,
.is-style-meaiow-text .wp-block-button__link:hover {
  color: #fff !important;
}
.play-btn {
  background: rgba(98, 31, 223, 0.92);
}

/* ---------- Header ---------- */
.nav,
.nav--dark {
  background: rgba(10, 10, 15, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--v2-line);
  color: var(--v2-text);
}
/* header is 68px + 1px border; page content starts right under it */
.wp-site-blocks,
body .wp-site-blocks {
  padding-top: 69px;
}
.wp-site-blocks > .wp-block-post-content,
.wp-site-blocks > main {
  margin-block-start: 0 !important;
}
.nav-inner {
  min-height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}
.nav-logo img {
  height: 20px;
  filter: brightness(0) invert(1);
}
.nav-links,
.nav .wp-block-navigation {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 400;
}
.nav .wp-block-navigation__container {
  gap: 4px;
}
.nav .wp-block-navigation-item__content {
  color: var(--v2-text-2);
  opacity: 1;
  padding: 8px 12px;
}
.nav .wp-block-navigation-item__content:hover,
.nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.nav .current-menu-item > .wp-block-navigation-item__content,
.nav .wp-block-navigation-item__content[aria-current="page"] {
  color: #fff;
}
.nav .wp-block-navigation__submenu-icon {
  color: var(--v2-text-3);
  margin-left: -6px;
}
.nav .wp-block-navigation__submenu-container {
  background: #0f0d1a !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6) !important;
  color: var(--v2-text);
}
.nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  color: var(--v2-text);
}
.nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: rgba(255, 255, 255, 0.05);
}
.nav .wp-block-navigation-item__description {
  color: var(--v2-text-3);
}
.nav-cta .wp-block-button__link,
.nav-cta.wp-block-button .wp-block-button__link {
  background: var(--v2-purple) !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  box-shadow: var(--v2-shadow-cta);
}
.nav-cta:hover .wp-block-button__link {
  background: var(--v2-purple-hover) !important;
  opacity: 1;
}
body #client-portal-btn .wp-block-button__link,
body .nav-cta--ghost .wp-block-button__link {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--v2-text-2) !important;
  font-size: 14.5px;
  font-weight: 400;
  padding: 8px 4px;
}
body #client-portal-btn .wp-block-button__link:hover,
body .nav-cta--ghost .wp-block-button__link:hover {
  color: #fff !important;
}
body #client-portal-btn .wp-block-button__link svg {
  display: none;
}
body #client-portal-btn {
  background: transparent;
  border: 0;
}
.nav-burger {
  background: transparent;
  border-color: var(--v2-line-strong);
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  background: var(--v2-text);
}
.nav-mobile {
  background: #0f0d1a;
  border-top-color: var(--v2-line);
}
.nav-mobile a {
  border-bottom-color: var(--v2-line);
  color: var(--v2-text);
}
@media (max-width: 900px) {
  .nav-logo::before {
    color: var(--v2-text);
    font-family: var(--font-sans);
  }
}

/* ---------- Footer ---------- */
.footer {
  background: transparent;
  border-top: 1px solid var(--v2-line);
  color: var(--v2-text-3);
  font-size: 14px;
}
.footer-col h4,
.footer-col .wp-block-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400 !important;
  letter-spacing: 0;
  text-transform: none;
  color: var(--v2-lav);
}
.footer-col a {
  color: var(--v2-text-3);
}
.footer-col a:hover {
  color: #fff;
}
.footer-tag,
.footer-final {
  color: var(--v2-text-3);
}
.footer-slogan .fs-line1 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--v2-text);
}
.footer-slogan .fs-line2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--v2-lav);
}
.footer-verb {
  color: var(--v2-text-3);
}
.footer-tm,
.footer-bottom,
.footer-bottom a {
  color: var(--v2-text-3);
}
.footer-bottom {
  border-top-color: var(--v2-line);
  font-size: 13px;
}
.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ---------- Forms (theme .field and Contact Form 7) ---------- */
.field label,
body .wpcf7-form label {
  font-family: var(--font-sans);
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--v2-text-2) !important;
}
.field input,
.field select,
.field textarea,
.field--light input,
.field--light select,
.field--light textarea,
body .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-radio):not(.wpcf7-checkbox) {
  background: var(--v2-surface) !important;
  border: 1px solid var(--v2-line) !important;
  border-radius: 12px !important;
  color: #fff !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
body .wpcf7-form-control:not(.wpcf7-submit):focus {
  border-color: var(--v2-lav) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2) !important;
  outline: none;
}
body .wpcf7-form select.wpcf7-form-control option {
  background: #0f0d1a;
  color: #fff;
}
body .wpcf7-form .wpcf7-acceptance label {
  color: var(--v2-text-2) !important;
  font-size: 13px !important;
}
body .wpcf7-form .wpcf7-submit {
  background: var(--v2-purple);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 15px;
  box-shadow: var(--v2-shadow-cta);
  cursor: pointer;
}
body .wpcf7-form .wpcf7-submit:hover {
  background: var(--v2-purple-hover);
}
body .wpcf7-response-output {
  border-color: var(--v2-line) !important;
  color: var(--v2-text-2);
}
body .wpcf7-not-valid-tip {
  color: #fca5a5;
}
body .wpcf7-form-control.wpcf7-not-valid {
  border-color: #f87171 !important;
  background: rgba(248, 113, 113, 0.06) !important;
}
body .wpcf7-mail-sent-ok {
  border-color: rgba(134, 239, 172, 0.4) !important;
  background: rgba(134, 239, 172, 0.08);
  color: var(--v2-green);
}

/* ---------- Tables, details, lists ---------- */
.legal-table {
  border-color: var(--v2-line);
}
.legal-table thead th {
  background: rgba(139, 92, 246, 0.16);
  color: var(--v2-text);
}
.legal-table tbody td {
  background: transparent;
  border-top-color: var(--v2-line);
  color: var(--v2-text-2);
}
.legal-table tbody td:first-child {
  color: var(--v2-text);
}
.wp-block-table td,
.wp-block-table th {
  border-color: var(--v2-line);
}
.wp-block-details {
  border-color: var(--v2-line);
}
.wp-block-details summary {
  font-family: var(--font-serif);
  font-weight: 400;
}
.wp-block-separator {
  border-color: var(--v2-line);
  color: var(--v2-line);
}

/* ---------- Modal ---------- */
.modal {
  background: #0f0d1a;
  border-color: var(--v2-line);
}
.modal-close {
  border-color: var(--v2-line);
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .display,
  .is-style-meaiow-display {
    font-size: clamp(40px, 11vw, 56px);
  }
  .h1,
  .is-style-meaiow-headline {
    font-size: clamp(34px, 9vw, 48px);
  }
  .h2,
  .is-style-meaiow-section-title {
    font-size: clamp(28px, 7.5vw, 36px);
  }
}

/* ---------- Sector accents: lighter so they read on the dark canvas ---------- */
:root {
  --coral: #f2a488;
  --teal: #6ee7b7;
  --amber: #e0b93a;
}

/* ---------- Remaining hard-coded dark text in page content ---------- */
body [style^="color:#000000"],
body [style*=";color:#000000"],
body [style^="color:#1a1a2e"],
body [style*=";color:#1a1a2e"],
body [style^="color:#1A1A2E"],
body [style*=";color:#1A1A2E"] {
  color: var(--v2-text) !important;
}
body [style*=";color:rgb(90, 47, 201)"],
body [style*=";color:rgb(74, 36, 168)"],
body [style^="color:rgb(90, 47, 201)"],
body [style^="color:rgb(74, 36, 168)"] {
  color: var(--v2-lav) !important;
}

/* ---------- Icon tiles (Frontier Lab) ---------- */
body .icon-tile {
  background: var(--v2-surface);
  border-color: var(--v2-line);
}
body .icon-tile--purple {
  background: var(--v2-purple);
}

/* ---------- Contact page booking calendar ---------- */
body .meaiow-cal {
  background: var(--v2-surface);
  border-color: var(--v2-line);
  font-family: var(--font-sans);
  color: var(--v2-text);
}
body .meaiow-cal-header,
body .meaiow-cal-tz-label strong,
body .meaiow-cal-success-title {
  color: var(--v2-text);
}
body .meaiow-cal-tz-row,
body .meaiow-cal-weekdays div,
body .meaiow-cal-meta,
body .meaiow-cal-status,
body .meaiow-cal-empty-note,
body .meaiow-cal-success-slot,
body .meaiow-cal-day {
  color: var(--v2-text-3);
}
body .meaiow-cal-tz-change {
  color: var(--v2-lav);
}
body .meaiow-cal-tz-select {
  background: #0f0d1a;
  color: var(--v2-text);
  border-color: var(--v2-line);
}
body .meaiow-cal-nav button {
  background: transparent;
  border: 1px solid var(--v2-line-strong);
  color: var(--v2-text);
  border-radius: 999px;
}
body .meaiow-cal-day.is-available,
body .meaiow-cal-success-icon {
  background: rgba(139, 92, 246, 0.16);
  color: var(--v2-lav);
}
body .meaiow-cal-day.is-selected,
body .meaiow-cal-time.is-selected {
  background: var(--v2-purple);
  border-color: var(--v2-purple);
  color: #fff;
}
body .meaiow-cal-time {
  background: transparent;
  border-color: var(--v2-line);
  color: var(--v2-text);
}
body .meaiow-cal-time:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--v2-lav);
}
body .meaiow-cal-times-wrap {
  border-top-color: var(--v2-line);
}

/* ---------- QEDRO page components (their own page styles were light) ---------- */
body .qedro-page .qedro-stack,
body .qedro-stack {
  background-color: var(--v2-surface) !important;
}
body .qedro-page .qedro-ptab {
  background: var(--v2-surface);
  border-color: var(--v2-line);
  color: var(--v2-text);
  box-shadow: none;
}
body .qedro-page .qedro-ptab .qedro-tn,
body .qedro-page .qedro-fl {
  background: rgba(139, 92, 246, 0.16);
  color: var(--v2-lav) !important;
}
body .qedro-page .qedro-ptab .qedro-ts {
  color: var(--v2-text-2);
}
body .qedro-page .qedro-ptab.on {
  background: linear-gradient(135deg, #621fdf, #7c3aed);
  border-color: #621fdf;
}
body .qedro-page .qedro-ptab.on .qedro-tn {
  background: #fff;
  color: #621fdf !important;
}
body .qedro-page .qedro-fit,
body .qedro-page .qedro-faq {
  background: radial-gradient(900px 480px at 100% 0, rgba(98, 31, 223, 0.22), transparent 70%), transparent !important;
}
body .qedro-page .qedro-fcol,
body .qedro-page .qedro-needbox,
body .qedro-page .qedro-fq {
  background: var(--v2-surface);
  border-color: var(--v2-line);
  box-shadow: none;
}
body .qedro-page .qedro-fopt {
  background: transparent;
  border-color: var(--v2-line);
  color: var(--v2-text);
}
body .qedro-page .qedro-fopt.on {
  background: rgba(139, 92, 246, 0.16);
  border-color: var(--v2-violet);
}
body .qedro-page .qedro-fopt-b.on {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--v2-line-strong);
}
body .qedro-page .qedro-fopt-b.on .qedro-fl,
body .qedro-page .qedro-fopt-b.on .qedro-fck {
  background: #2a2a38;
  border-color: #2a2a38;
}
body .qedro-page .qedro-faqhh,
body .qedro-page .qedro-fq summary {
  color: var(--v2-text);
}
body .qedro-page .qedro-fq summary::before,
body .qedro-page .qedro-chip-nt summary mark {
  background: rgba(139, 92, 246, 0.16) !important;
  color: var(--v2-lav) !important;
  border-color: rgba(196, 181, 253, 0.3);
}
body .qedro-page .qedro-chip-no summary mark {
  background: #2a2a38 !important;
}
body .qedro-page .qedro-step-card.done {
  background: rgba(139, 92, 246, 0.12) !important;
  border-color: rgba(196, 181, 253, 0.35) !important;
}
body .qedro-page .qedro-step-card.cur {
  background: linear-gradient(160deg, rgba(98, 31, 223, 0.35), rgba(139, 92, 246, 0.12)) !important;
  border-color: var(--v2-violet) !important;
}
body .qedro-steprail a {
  background: #0f0d1a;
  border-color: rgba(196, 181, 253, 0.4);
  color: var(--v2-lav);
}
body .qedro-steprail a.on {
  background: var(--v2-purple);
  color: #fff;
}
body .qedro-tomb {
  background: transparent;
  color: var(--v2-lav);
}
/* scroll-cycle diagram nodes (SVG) */
body .qedro-page .qedro-eco .nd:not(.on) rect {
  fill: #0f0d1a;
  stroke: rgba(196, 181, 253, 0.35);
}
body .qedro-page .qedro-eco .nd:not(.on) text {
  fill: var(--v2-text);
}
body .qedro-page .qedro-eco .nd:not(.on) text:first-of-type {
  fill: var(--v2-lav);
}

/* ---------- Image captions ---------- */
.wp-element-caption,
.wp-block-image figcaption {
  color: var(--v2-text-3);
}

/* ============================================================
   V2 COMPONENTS (new pages: Careers, Industries)
   Each is a class on a native core block, set in the editor's
   "Additional CSS class(es)" field.
   ============================================================ */
.meaiow-page > .section + .section { margin-top: 0 !important; }
.section .container > * + * { margin-top: 0; }
.section .container > .label + :is(h1, h2) { margin-top: 0; }
.section .container > :is(h1, h2) + * { margin-top: 20px; }
.section .container > .lead + *,
.section .container > .v2-grid + *,
.section .container > h2 + .v2-grid { margin-top: 40px; }
.v2-hero { padding-top: 120px; }
.v2-hero .display { max-width: 16ch; }
.v2-hero .lead { max-width: 660px; }
.v2-hero .meaiow-buttons { margin-top: 32px; }

/* numbers and small text */
.v2-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
  color: var(--v2-lav);
  margin: 0;
}
.v2-meta { font-size: 13px; color: var(--v2-text-3); margin: 0; }
.v2-muted { color: var(--v2-text-3); font-size: 15px; }
.v2-strong { color: var(--v2-text); font-weight: 500; font-size: 15px; }
.v2-sub {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--v2-lav);
  margin: 24px 0 6px;
}
.v2-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 21px;
  line-height: 1.4;
  color: var(--v2-lav);
}
.v2-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--v2-text);
  margin: 0;
}

/* pills */
.v2-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.45);
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--v2-lav);
  margin: 0;
}
.v2-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.v2-pill--green {
  color: var(--v2-green);
  border-color: rgba(134, 239, 172, 0.4);
  background: rgba(134, 239, 172, 0.06);
}

/* grids and cards */
.v2-grid { gap: 18px; }
.v2-grid > .card { margin: 0 !important; height: auto; padding: 24px !important; gap: 10px; }
.v2-grid > .card > * { margin: 0; }
.v2-grid > .card .card-title { font-size: 22px !important; margin: 4px 0 0; line-height: 1.25 !important; }
.v2-grid > .card p { font-size: 15px; line-height: 1.6; color: var(--v2-text-2); }
.v2-grid > .card p.v2-strong { color: var(--v2-text); }
.v2-grid > .card .meaiow-buttons { margin-top: auto; padding-top: 12px; }
.v2-level { background: linear-gradient(160deg, rgba(98, 31, 223, 0.16), rgba(255, 255, 255, 0.02)) !important; }
.v2-level.is-featured { border-color: var(--v2-violet) !important; background: linear-gradient(160deg, rgba(98, 31, 223, 0.35), rgba(98, 31, 223, 0.08)) !important; }
.v2-level .v2-level-title { font-size: 34px !important; font-weight: 300 !important; }
.v2-level-head,
.v2-layer-head { justify-content: space-between; align-items: center !important; gap: 10px; }
.v2-layer { background: linear-gradient(160deg, rgba(98, 31, 223, 0.14), rgba(255, 255, 255, 0.02)) !important; }
.v2-hairgrid { row-gap: 0; column-gap: 44px; }
.v2-hairitem { border-top: 1px solid var(--v2-line); padding: 22px 0; }
.v2-hairitem > * { margin: 0; }
.v2-hairitem .card-title { font-size: 22px !important; margin-bottom: 8px; }
.v2-hairitem p { color: var(--v2-text-2); font-size: 15px; }
.v2-facts { margin-top: 18px !important; }
.v2-fact .v2-fact-title { font-family: var(--font-sans) !important; font-size: 16px !important; font-weight: 600 !important; }
.v2-steps .card-title { font-size: 24px !important; }

/* lists */
.v2-dashlist,
.v2-checklist { list-style: none; padding: 0; margin: 8px 0 0; }
.v2-dashlist li,
.v2-checklist li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--v2-text);
}
.v2-dashlist li::before { content: "—"; position: absolute; left: 0; color: var(--v2-lav); }
.v2-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--v2-green); }

/* stats row */
.v2-stats { gap: 44px; margin-top: 48px !important; align-items: center !important; }
.v2-stat > * { margin: 0; }
.v2-stat .stat-num { font-size: 40px; line-height: 1; }
.v2-stat .stat-label { margin-top: 8px; max-width: none; font-size: 14px; }
/* counters on one line from tablet up (they stack on phones); the intern pill sits below them */
@media (min-width: 782px) {
  .v2-stats { flex-wrap: nowrap !important; }
  .v2-stats > .v2-stat { flex: 0 1 auto; min-width: 0; }
}
.v2-stats + .v2-pill { margin-top: 32px !important; }

/* callouts */
.v2-callout {
  margin-top: 40px !important;
  border: 1px solid rgba(196, 181, 253, 0.4);
  border-radius: 18px;
  padding: 32px;
  background: linear-gradient(120deg, rgba(98, 31, 223, 0.35), rgba(98, 31, 223, 0.08));
}
.v2-callout .wp-block-columns { align-items: center; margin: 0; gap: 48px; }
.v2-callout p { color: var(--v2-text-2); font-size: 15px; }
.v2-callout--green {
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(134, 239, 172, 0.03);
}
.v2-callout--green .wp-block-columns { align-items: flex-start; }
.v2-callout .card-title { font-size: 24px !important; }

/* role explorer: core Tabs block */
.v2-role-tabs { margin-top: 32px !important; }
.v2-role-tabs .wp-block-tab-list { gap: 8px; flex-wrap: wrap; margin-bottom: 14px; border: 0; }
.v2-role-tabs .wp-block-tab-list button,
.v2-role-tabs .wp-block-tab-list [role="tab"] {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--v2-surface);
  color: rgba(250, 250, 250, 0.78);
  font: 400 14px/1.3 var(--font-sans);
  cursor: pointer;
}
.v2-role-tabs .wp-block-tab-list [role="tab"]:hover { border-color: var(--v2-violet); }
.v2-role-tabs .wp-block-tab-list [role="tab"][aria-selected="true"] {
  background: rgba(139, 92, 246, 0.22);
  border-color: var(--v2-violet);
  color: #fff;
}
.v2-role-tabs .wp-block-tab-panel {
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  padding: 36px;
  background: linear-gradient(160deg, rgba(98, 31, 223, 0.16), rgba(255, 255, 255, 0.02));
}
.v2-role { gap: 40px; margin: 0; }
.v2-role .v2-role-title { font-size: 40px !important; font-weight: 300 !important; margin: 0; }
.v2-role .v2-tagline { margin-top: 6px; }
.v2-role p:not(.v2-sub):not(.v2-tagline):not(.v2-bignum) { color: var(--v2-text-2); font-size: 15px; line-height: 1.6; margin: 0; }
.v2-stat-card { padding: 26px !important; margin-bottom: 16px !important; }
.v2-stat-card .v2-sub { margin-top: 0; }
.v2-bignum { font-family: var(--font-serif); font-weight: 300; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--v2-text); margin: 4px 0 10px; }
.v2-source a { font-size: 13px; color: var(--v2-lav); }

/* FAQ: core Accordion block */
.v2-faq { gap: 56px; }
.v2-accordion { margin: 0 !important; }
.v2-accordion .wp-block-accordion-item { border-top: 1px solid var(--v2-line); margin: 0 !important; }
.v2-accordion .wp-block-accordion-item:last-child { border-bottom: 1px solid var(--v2-line); }
.v2-accordion .wp-block-accordion-heading { margin: 0 !important; font-size: 21px !important; }
.v2-accordion .wp-block-accordion-heading__toggle {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: 0;
  color: var(--v2-text);
  font: 400 21px/1.3 var(--font-serif);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.v2-accordion .wp-block-accordion-heading__toggle-icon { color: var(--v2-lav); }
.v2-accordion .wp-block-accordion-panel { padding: 0 0 22px; }
.v2-accordion .wp-block-accordion-panel p { color: var(--v2-text-2); font-size: 15px; line-height: 1.6; margin: 0; }

/* split layouts */
.v2-split { gap: 56px; align-items: center !important; }
.v2-media img { border-radius: 18px; border: 1px solid var(--v2-line); box-shadow: 0 40px 100px -40px rgba(98, 31, 223, 0.7); }
.v2-apply { align-items: flex-start !important; }
.v2-form-card {
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(98, 31, 223, 0.2), rgba(255, 255, 255, 0.02));
}

/* careers application form (Contact Form 7, form id 817) */
.careers-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.careers-form legend { font-size: 14px; color: var(--v2-text-2); margin-bottom: 10px; padding: 0; }
.careers-form .wpcf7-radio,
.careers-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.careers-form .wpcf7-list-item { margin: 0; }
.careers-form .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text-2) !important;
  font-size: 14px !important;
  margin: 0 !important;
  cursor: pointer;
}
.careers-form .wpcf7-list-item label:has(input:checked) {
  border-color: var(--v2-violet);
  background: rgba(139, 92, 246, 0.18);
  color: #fff !important;
}
.careers-form .wpcf7-list-item input { accent-color: var(--v2-violet); margin: 0; }
.careers-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.careers-form p { margin: 0 0 16px; }
.careers-form label { display: flex !important; flex-direction: column; gap: 8px; }
.careers-form .cf-consent label { flex-direction: row; }
.careers-form .cf-consent,
.careers-form .cf-consent label { font-size: 13px !important; color: var(--v2-text-3) !important; }
.careers-form .cf-consent a { color: var(--v2-lav); }
.careers-form .cf-submit { text-align: right; margin: 0; }
@media (max-width: 700px) {
  .careers-form .cf-row { grid-template-columns: 1fr; gap: 0; }
  .careers-form .cf-submit { text-align: left; }
}

/* offices: core Cover block */
.v2-offices { gap: 18px; }
.v2-office { border-radius: 18px; overflow: hidden; border: 1px solid var(--v2-line); margin: 0 !important; padding: 22px !important; }
.v2-office .wp-block-cover__inner-container { width: 100%; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; }
.v2-office .wp-block-cover__inner-container > * { margin: 0; }
.v2-office-name { grid-column: 1; font-family: var(--font-serif); font-size: 28px; font-weight: 400; color: #fff; }
.v2-office-addr { grid-column: 1; font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }
.v2-clock { grid-column: 2; grid-row: 2; font-family: var(--font-mono); font-size: 18px; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.v2-clock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--v2-green); }

/* note and signature */
.v2-note { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; color: var(--v2-text); max-width: 30ch; }
.v2-note-em { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); color: var(--v2-lav); margin-top: 16px !important; }
.v2-signature { margin-top: 28px !important; font-size: 14px; color: var(--v2-text-3); }
.v2-signature strong { color: var(--v2-text); font-size: 16px; font-weight: 500; }

/* final call to action */
.v2-cta { background: radial-gradient(60% 80% at 50% 100%, rgba(98, 31, 223, 0.42), transparent) !important; }
.v2-cta .container { text-align: center; }
.v2-cta .label { justify-content: center; }
.v2-cta .label::before { display: none; }
.v2-cta .lead { margin-left: auto !important; margin-right: auto !important; max-width: 560px; }
.v2-bigmail a { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 38px); color: #fff; text-decoration: underline; text-decoration-color: var(--v2-violet); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.v2-cta .meaiow-buttons { margin-top: 28px; }

@media (max-width: 781px) {
  .v2-stats { gap: 24px; }
  .v2-role-tabs .wp-block-tab-panel { padding: 22px; }
  .v2-role .v2-role-title { font-size: 32px !important; }
  .v2-callout { padding: 22px; }
}

/* --- v2 page refinements --- */
.v2-page .section .container > .label { margin-bottom: 14px !important; }
.v2-page .section .container > :is(h1, h2) { max-width: 900px; }
.v2-page .section .container > h1.display { max-width: 16ch !important; }
.v2-page .section .container > .lead { max-width: 680px; }
.v2-page p:not([class]) { color: var(--v2-text-2); }
.v2-page .wp-block-column > * { margin-top: 0; margin-bottom: 0; }
.v2-page .wp-block-column > * + * { margin-top: 16px; }
.v2-page .wp-block-column > .label + h2 { margin-top: 0; }
.v2-page .wp-block-column > h2 + * { margin-top: 20px; }
.v2-page .wp-block-column > .meaiow-buttons { margin-top: 28px; }
.v2-grid > .card p.v2-num { font-size: 30px; color: var(--v2-lav); }
.v2-grid > .card .card-title.v2-level-title { font-size: 34px !important; font-weight: 300 !important; }
.v2-callout p.v2-quote { font-size: clamp(24px, 2.6vw, 32px); color: var(--v2-text); }
.v2-stat-card { height: auto !important; }
.v2-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.v2-cta .container > :is(.lead, h2, p) { margin-left: auto !important; margin-right: auto !important; }
.v2-role-tabs .wp-block-tab-list [role="tab"] { box-shadow: none !important; text-decoration: none !important; }
.v2-role-tabs .wp-block-tab-list [role="tab"]::after { display: none !important; }
body .careers-form .wpcf7-radio,
body .careers-form .wpcf7-checkbox,
body .careers-form .wpcf7-acceptance {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body .careers-form .wpcf7-acceptance .wpcf7-list-item label {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  align-items: flex-start;
  font-size: 13px !important;
  color: var(--v2-text-3) !important;
}
.v2-offices { gap: 18px; margin-top: 40px !important; }
.v2-offices .wp-block-column { margin: 0 !important; }
.v2-office .wp-block-cover__inner-container { grid-template-rows: auto auto; }
.v2-office-name { grid-row: 1; }
.v2-office-addr { grid-row: 2; }
.v2-clock { white-space: nowrap; }
body .careers-form .wpcf7-list-item label { flex-direction: row !important; }

/* --- Industries page --- */
.v2-ticker {
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
  overflow: hidden;
  margin: 0 !important;
  max-width: none !important;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.v2-ticker-list {
  display: flex;
  gap: 48px;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 13px 0;
  animation: v2-ticker 120s linear infinite;
}
.v2-ticker-list li { white-space: nowrap; font-size: 14px; color: var(--v2-text-2); margin: 0; }
.v2-ticker-list strong { color: var(--v2-lav); font-weight: 500; margin-right: 8px; }
.v2-ticker:hover .v2-ticker-list { animation-play-state: paused; }
@keyframes v2-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .v2-ticker-list { animation: none; flex-wrap: wrap; width: auto; padding: 13px 24px; }
}
.v2-film { margin-top: 40px !important; }
.v2-film img { aspect-ratio: 16 / 9; }
.v2-band {
  margin-top: 40px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  padding: 26px 30px;
  background: linear-gradient(120deg, rgba(98, 31, 223, 0.32), rgba(98, 31, 223, 0.06));
}
.v2-band > * { margin: 0 !important; }
.v2-band > h3 { flex: 1 1 420px; font-size: 24px !important; line-height: 1.25; }
.v2-band > p:not(.v2-meta) { flex: 1 1 100%; color: var(--v2-text-2); font-size: 15px; max-width: 760px; }
.v2-band--gold { border-color: rgba(224, 185, 58, 0.45); background: linear-gradient(120deg, rgba(98, 31, 223, 0.3), rgba(224, 185, 58, 0.06)); }
.v2-band--gold .v2-meta { flex: 1 1 100%; color: var(--v2-gold); }
.section:has(> .container > .v2-band:only-child) { padding-top: 0 !important; }
.v2-ind-tabs .wp-block-tab-panel { padding: 0; border: 0; background: none; }
.v2-igrid > .v2-icard { padding: 22px !important; }
.v2-icard h3 a { color: var(--v2-text); text-decoration: none; }
.v2-icard h3 a:hover { color: var(--v2-lav); }
.v2-icard .v2-regs { font-size: 13px !important; color: var(--v2-text-3) !important; }
.v2-icard .v2-open a { font-size: 14px; color: var(--v2-lav); text-decoration: none; }
.v2-verb { color: var(--v2-green) !important; font-size: 13px !important; }
.v2-notes { margin-top: 24px !important; gap: 24px; }
.v2-note-item { border-left: 2px solid var(--v2-gold); padding-left: 16px; }
.v2-note-item > * { margin: 0; }
.v2-note-item .v2-fact-title { font-family: var(--font-sans) !important; font-size: 16px !important; font-weight: 600 !important; margin-bottom: 4px; }
.v2-note-item p { font-size: 14px; color: var(--v2-text-2); }
.v2-chips { gap: 8px !important; margin-top: 16px !important; }
.v2-chips .wp-block-button__link { padding: 8px 14px !important; font-size: 14px !important; }
.meaiow-ex.alignfull { margin-top: 0 !important; }

/* prototype.css sets overflow-x:hidden on html and body, which turns body into a
   scroll container and silently disables position:sticky everywhere (the
   Industries chart story, QEDRO already patched this for itself). clip prevents
   sideways scrolling the same way without breaking sticky elements. */
html,
body {
  overflow-x: clip !important;
}

/* One hover "halo" for every card-style tile (product cards, AXIOM cells, VERDICT letters,
   Industries sector cards...), copied from the Industries explorer cards (.meaiow-ex .rc:hover)
   so similar sections behave the same. Only on devices that really hover. */
body :is(.card, .is-style-meaiow-card, .card--dark, .axiom-cell, .verdict-letter):not(.meaiow-ex *) {
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
@media (hover: hover) {
  body :is(.card, .is-style-meaiow-card, .card--dark, .axiom-cell, .verdict-letter):not(.meaiow-ex *):not(.section):hover {
    transform: translateY(-5px);
    border-color: var(--v2-violet) !important;
  }
  /* QEDRO's "what we compute" cards keep their own, stronger permanent glow */
  body :is(.card, .is-style-meaiow-card, .card--dark, .axiom-cell, .verdict-letter):not(.meaiow-ex *):not(.section):not(.qedro-wc):hover {
    box-shadow: 0 18px 50px rgba(98, 31, 223, 0.25) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.card, .is-style-meaiow-card, .card--dark, .axiom-cell, .verdict-letter):not(.meaiow-ex *):not(.section):hover {
    transform: none;
  }
}

/* Header logo 15% larger (2026-11-06): 20px -> 23px tall on desktop; 82px -> 94px wide on phones
   (the 82px phone width comes from Site Editor > Styles > Custom CSS, hence the higher specificity). */
.nav-logo img {
  height: 23px;
}
@media (max-width: 900px) {
  .nav-logo {
    flex: 0 0 94px;
    width: 94px;
  }
  body .wp-block-image.nav-logo img {
    width: 94px !important;
  }
}

/* Count-up numbers (2026-11-09): while "v2-anim" is on (set in <head>), numbers in a .v2-countup block stay
   hidden until their count starts, so the final value never flashes first. Failsafe: shown after 3s anyway. */
@keyframes v2-show { to { visibility: visible; } }
.v2-anim .v2-countup .stat-num:not([data-v2-started]) {
  visibility: hidden;
  animation: v2-show 0s linear 3s forwards;
}
