/* Nocula brand 2026: shared layer, loaded after each page's own styles.
   Palette, type and graphics follow the AECetc brand guidelines (11/2026). */

/* Headings: TeX Gyre Adventor (GUST Font License), a free match for Century Gothic Pro */
@font-face { font-family:'TeX Gyre Adventor'; src:url(/fonts/texgyreadventor-regular.woff2) format('woff2'); font-weight:400 500; font-style:normal; font-display:swap; }
@font-face { font-family:'TeX Gyre Adventor'; src:url(/fonts/texgyreadventor-bold.woff2) format('woff2'); font-weight:600 800; font-style:normal; font-display:swap; }

:root {
  --k-navy:#202A3B;   /* Knowledge Navy (primary) */
  --k-intel:#1F5081;  /* Intelligence Blue */
  --k-conn:#468CB9;   /* Connection Blue: accents, icons, large text only */
  --k-data:#DCEFFB;   /* Data Blue */
  --k-pink:#DA72A6;   /* Brainwave Pink: sparingly, graphics only */
  --k-ink:#000A1D;    /* base of the dark pattern */
}

h1, h2, h3 { letter-spacing:-0.01em; }
input, select, textarea { font-family:'Nunito Sans', system-ui, sans-serif; }

/* Logo: agency artwork, never retyped */
.brand, .nav-logo { display:flex; align-items:center; }
.brand-logo { height:32px; width:auto; display:block; }
footer .brand-logo { height:26px; }

/* The old four-stripe motif is retired; the pattern replaces it */
.brand-motif { display:none !important; }

/* Dark pattern: footer, navy heroes and closing calls to action */
footer { background:url(/brand/pattern-dark.webp) center/cover no-repeat, var(--k-ink) !important; border-top:0 !important; }
.top-band, .sec.cta-dark, .bg-pattern-dark { background:url(/brand/pattern-dark.webp) center/cover no-repeat, var(--k-ink) !important; }
.bg-pattern-light { background:url(/brand/pattern-light.webp) center/cover no-repeat, var(--k-data) !important; }

/* Buttons on dark backgrounds: Data Blue with navy text (12:1) */
.top-band .btn-p, .sec.cta-dark .btn-p, .lp-hero .btn-p, .bg-pattern-dark .btn-p { background:var(--k-data) !important; color:var(--k-navy) !important; }
.top-band .btn-p:hover, .sec.cta-dark .btn-p:hover, .lp-hero .btn-p:hover, .bg-pattern-dark .btn-p:hover { background:#fff !important; }

/* Mr. Noc */
.noc { display:block; height:auto; pointer-events:none; user-select:none; }
.noc-row { display:flex; align-items:center; gap:clamp(1rem,4vw,2.5rem); }
.noc-row > .noc { flex:0 0 auto; }
@media (max-width:720px) {
  .noc-row { flex-direction:column; text-align:center; }
}

/* New logomark wherever the old brain icon used to be */
img.logomark { width:auto; max-width:100%; object-fit:contain; }

/* Logo size on phones: 28px tall keeps the horizontal logo above its 144px minimum width */
@media (max-width:720px) { .brand-logo { height:28px; } }
nav a { white-space:nowrap; }

/* Photo heroes: keep the headline clear of the fixed menu bar on small screens */
.lp-hero { padding-top:5.5rem; }
/* Highlighted words over photos: Connection Blue, large text only (passes 3:1 on the navy scrim) */
.lp-hero h1 .g { background:none !important; -webkit-text-fill-color:var(--k-conn) !important; color:var(--k-conn) !important; }

/* Legal pages: header on the dark pattern */
.legal-hero { background:url(/brand/pattern-dark.webp) center/cover no-repeat, var(--k-ink) !important; }

/* Pilot card on navy: Data Blue button with navy text */
.pcard.hi .pcta { background:var(--k-data) !important; color:var(--k-navy) !important; }
.pcard.hi .pcta:hover { background:#fff !important; }

/* Explainer figures (explainers.js): trim the gap to a neighbouring section of the same colour */
.sec.nx-top0 { padding-top:0; }
.sec.nx-bot0 { padding-bottom:0; }

/* ─── CTA buttons: brand pink, navy text (4.8:1 contrast) ─── */
:root :is(.btn-p, .nav-cta, .navlinks .cta, .price-btn, .wd-btn, .f-submit, .cl-form button[type="submit"], .pform button[type="submit"], .pcard.hi .pcta, .cta-box a, a.btn) { background:#DA72A6 !important; border-color:#DA72A6 !important; color:#202A3B !important; }
:root :is(.btn-p, .nav-cta, .navlinks .cta, .price-btn, .wd-btn, .f-submit, .cl-form button[type="submit"], .pform button[type="submit"], .pcard.hi .pcta, .cta-box a, a.btn):hover { background:#E58DB9 !important; border-color:#E58DB9 !important; color:#202A3B !important; box-shadow:0 10px 26px -12px rgba(218,114,166,.75) !important; filter:none !important; }}
:root :is(.btn-p, .nav-cta, .navlinks .cta, .price-btn, .wd-btn, .f-submit, .cl-form button[type="submit"], .pform button[type="submit"], .pcard.hi .pcta, .cta-box a, a.btn):focus-visible { outline:3px solid #202A3B; outline-offset:2px; }
