/* =============================================================
   Foundation Aminos — Global Styles
   Loaded on every page. Defines CSS variables, nav, footer.
   All classes prefixed fa- per project conventions.
   ============================================================= */

:root {
  /* Brand blues */
  --fa-blue-50:  #EAF2FE;
  --fa-blue-100: #CFE1FC;
  --fa-blue-500: #1954AC;
  --fa-blue-600: #133F84;
  --fa-blue-700: #0E2F65;
  --fa-blue-800: #0A2148;

  /* Cyan accent */
  --fa-cyan-100: #CFF3FA;
  --fa-cyan-300: #6DD5E9;
  --fa-cyan-400: #32B8D1;
  --fa-cyan-500: #1B98B0;
  --fa-cyan-600: #157A8E;
  --fa-cyan-700: #115F6F;

  /* Navy surfaces */
  --fa-navy-900: #051226;
  --fa-navy-800: #0A1E3A;
  --fa-navy-700: #0F2A52;

  /* Text */
  --fa-ink-900:   #0A1628;
  --fa-slate-500: #64748B;
  --fa-slate-400: #94A3B8;
  --fa-slate-300: #CBD5E1;
  --fa-slate-200: #E2E8F0;
  --fa-slate-100: #EEF2F7;
  --fa-white:     #FFFFFF;

  /* State colours */
  --fa-success-100: #D1FAE5;
  --fa-success-500: #10B981;
  --fa-success-700: #047857;
  --fa-warn-100:    #FEF3C7;
  --fa-warn-500:    #F59E0B;
  --fa-warn-700:    #B45309;
  --fa-error-100:   #FEE2E2;
  --fa-error-700:   #B91C1C;

  /* Typography */
  --fa-font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --fa-font-sans:    "Manrope", ui-sans-serif, system-ui, sans-serif;
  --fa-font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Shadows */
  --fa-shadow-xs:    0 1px 2px 0 rgba(10,33,72,0.06);
  --fa-shadow-sm:    0 1px 3px 0 rgba(10,33,72,0.08), 0 1px 2px -1px rgba(10,33,72,0.06);
  --fa-shadow-md:    0 4px 12px -2px rgba(10,33,72,0.10), 0 2px 4px -2px rgba(10,33,72,0.06);
  --fa-shadow-lg:    0 12px 28px -6px rgba(10,33,72,0.14), 0 4px 8px -4px rgba(10,33,72,0.06);
  --fa-shadow-xl:    0 24px 48px -12px rgba(10,33,72,0.18);
  --fa-shadow-focus: 0 0 0 3px rgba(25,84,172,0.24);

  /* Motion */
  --fa-dur-fast:    120ms;
  --fa-dur-base:    180ms;
  --fa-dur-slow:    320ms;
  --fa-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --fa-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Global box-sizing reset (safe to apply globally) */
*, *::before, *::after { box-sizing: border-box; }

/* ── Lucide icon base ── */
[data-lucide] { width: 20px; height: 20px; stroke-width: 1.75; vertical-align: middle; display: inline-block; }

/* ============================================================
   TOP NAV
   ============================================================ */

.fa-nav {
  position: sticky; top: 0; z-index: 9999;
  height: 64px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--fa-slate-200);
  display: flex; align-items: center;
  padding: 0 32px; gap: 28px;
  font-family: var(--fa-font-sans);
}

.fa-nav-brand { display: flex; align-items: center; }
.fa-nav-brand a { display: flex; align-items: center; text-decoration: none; }
.fa-nav .fa-nav-brand img { height: 36px; width: auto; display: block; }

.fa-nav-links { display: flex; gap: 22px; }
.fa-nav-link {
  font-family: var(--fa-font-sans); font-weight: 500; font-size: 14px;
  color: var(--fa-slate-500);
  text-decoration: none;
  padding: 22px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--fa-dur-fast) var(--fa-ease-out), border-color var(--fa-dur-fast) var(--fa-ease-out);
  white-space: nowrap;
}
.fa-nav-link:hover { color: var(--fa-ink-900); text-decoration: none; }
.fa-nav-link.on { color: var(--fa-ink-900); border-bottom-color: var(--fa-blue-500); }

.fa-nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.fa-icon-btn {
  width: 38px; height: 38px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fa-ink-900);
  background: transparent; border: none;
  position: relative;
  text-decoration: none;
  transition: background var(--fa-dur-fast) var(--fa-ease-out);
  cursor: pointer;
}
.fa-icon-btn:hover { background: var(--fa-slate-100); }

.fa-cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--fa-blue-500); color: white;
  font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1;
  font-family: var(--fa-font-sans);
}

/* Dark nav on home/front page */
body.home .fa-nav,
body.front-page .fa-nav,
body.page-id-132 .fa-nav {
  background: rgba(5,18,38,0.72);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.home .fa-nav-link, body.front-page .fa-nav-link, body.page-id-132 .fa-nav-link { color: rgba(255,255,255,0.62); }
body.home .fa-nav-link:hover, body.front-page .fa-nav-link:hover, body.page-id-132 .fa-nav-link:hover { color: white; }
body.home .fa-nav-link.on, body.front-page .fa-nav-link.on, body.page-id-132 .fa-nav-link.on { color: white; border-bottom-color: #375EFB; }
body.home .fa-nav-brand img, body.front-page .fa-nav-brand img, body.page-id-132 .fa-nav-brand img { filter: drop-shadow(0 0 6px rgba(255,255,255,0.45)) drop-shadow(0 0 2px rgba(255,255,255,0.35)); }
body.home .fa-icon-btn, body.front-page .fa-icon-btn { color: rgba(255,255,255,0.78); }
body.home .fa-icon-btn:hover, body.front-page .fa-icon-btn:hover { background: rgba(255,255,255,0.08); color: white; }
body.home .fa-cart-count, body.front-page .fa-cart-count, body.page-id-132 .fa-cart-count { background: var(--fa-cyan-400); }

/* ============================================================
   PAGE CONTAINER
   ============================================================ */

.fa-page {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.fa-footer {
  background: var(--fa-navy-900);
  color: white;
  padding: 64px 0 32px;
  font-family: var(--fa-font-sans);
}

.fa-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.fa-footer-brand-block { max-width: 32ch; text-align: center; }
.fa-footer-brand-block img {
  width: 100%; max-width: 180px; height: auto;
  margin: 0 auto 12px;
  display: block;
}
.fa-footer-brand-block p {
  color: #FFFFFF;
  font-family: var(--fa-font-display);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
}

.fa-footer h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
  font-family: var(--fa-font-sans);
}

.fa-footer ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.fa-footer ul a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--fa-dur-fast) var(--fa-ease-out);
}
.fa-footer ul a:hover { color: white; }

.fa-footer-bot {
  display: flex; justify-content: center; align-items: center; text-align: center;
  padding-top: 24px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* ============================================================
   LIGHT PAGE COMMON STYLES
   ============================================================ */

.fa-light-section { max-width: 1280px; margin: 0 auto; padding: 64px 32px; }
.fa-light-section-tight { max-width: 1280px; margin: 0 auto; padding: 40px 32px; }

.fa-eyebrow-light {
  font-family: var(--fa-font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fa-cyan-500); margin: 0 0 16px; display: block;
}

/* Light buttons */
.fa-btn-primary { background: var(--fa-blue-500); color: white; border-color: transparent; }
.fa-btn-primary:hover { background: var(--fa-blue-600); box-shadow: 0 4px 12px -2px rgba(10,33,72,0.10); }
.fa-btn-secondary { background: white; color: var(--fa-blue-500); border-color: var(--fa-slate-300); }
.fa-btn-secondary:hover { background: var(--fa-blue-50); border-color: var(--fa-blue-500); }

/* Verify band (dark card — used on About + Home) */
.fa-verify-band {
  background: var(--fa-navy-900); color: white;
  border-radius: 24px; padding: 56px;
}
.fa-verify-band h2 {
  font-family: var(--fa-font-display); font-size: 36px;
  letter-spacing: -0.02em; font-weight: 600;
  max-width: 18ch; color: white; margin: 14px 0 0;
}
.fa-verify-band .fa-eyebrow-light { color: var(--fa-cyan-300); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.fa-about-hero {
  padding: 80px 0 56px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: end;
}
.fa-about-hero h1 {
  font-family: var(--fa-font-display);
  font-size: 64px; letter-spacing: -0.03em; font-weight: 600;
  line-height: 1.02; margin: 14px 0 0; max-width: 16ch;
}
.fa-about-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #1954AC, #32B8D1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fa-about-hero .right p {
  font-size: 17px; line-height: 1.7; color: var(--fa-slate-500); margin: 0;
}

.fa-about-pillars {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.fa-pillar {
  background: white; border: 1px solid var(--fa-slate-200);
  border-radius: 16px; padding: 28px;
}
.fa-pillar .n {
  font-family: var(--fa-font-mono); font-size: 12px;
  color: var(--fa-cyan-600); font-weight: 600;
  letter-spacing: 0.08em; margin-bottom: 14px;
}
.fa-pillar h3 {
  font-family: var(--fa-font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.015em;
  margin: 0 0 10px; line-height: 1.2;
}
.fa-pillar p { font-size: 14px; color: var(--fa-slate-500); line-height: 1.7; margin: 0; }

.fa-about-numbers {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  padding: 40px 0;
  border-top: 1px solid var(--fa-slate-200);
  border-bottom: 1px solid var(--fa-slate-200);
  margin: 40px 0;
}
.fa-about-num {
  text-align: left; padding: 0 32px;
  border-left: 1px solid var(--fa-slate-200);
}
.fa-about-num:first-child { border-left: none; padding-left: 0; }
.fa-about-num .n {
  font-family: var(--fa-font-display);
  font-size: 48px; letter-spacing: -0.03em; font-weight: 600; line-height: 1;
  color: var(--fa-ink-900);
}
.fa-about-num .l {
  font-size: 12px; color: var(--fa-slate-500); margin-top: 8px;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  font-family: var(--fa-font-sans);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.fa-contact-page {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; margin-top: 40px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
  padding: 40px 32px 80px;
}
.fa-contact-info h1 {
  font-family: var(--fa-font-display);
  font-size: 44px; letter-spacing: -0.03em; font-weight: 600;
  line-height: 1.05; margin: 0 0 16px; color: var(--fa-ink-900);
}
.fa-contact-info .fa-lede {
  font-size: 16px; color: var(--fa-slate-500); line-height: 1.7; margin: 0 0 32px;
}
.fa-contact-block { margin-bottom: 28px; }
.fa-contact-block h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fa-slate-400);
  margin: 0 0 8px; font-family: var(--fa-font-sans);
}
.fa-contact-block p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--fa-ink-900); }
.fa-contact-block a { color: var(--fa-blue-500); font-weight: 600; text-decoration: none; }
.fa-contact-block a:hover { text-decoration: underline; }

.fa-contact-form-card {
  background: white;
  border: 1px solid var(--fa-slate-200);
  border-radius: 20px; padding: 32px;
  box-shadow: 0 1px 3px 0 rgba(10,33,72,0.08), 0 1px 2px -1px rgba(10,33,72,0.06);
}
.fa-contact-form-card h3 {
  font-family: var(--fa-font-display); font-size: 22px;
  letter-spacing: -0.02em; font-weight: 600; margin: 0 0 6px;
}
.fa-contact-form-card .sub {
  font-size: 13px; color: var(--fa-slate-500); margin: 0 0 22px;
}
.fa-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fa-field label {
  font-family: var(--fa-font-sans); font-weight: 600; font-size: 12px;
  color: var(--fa-slate-500); letter-spacing: 0.02em;
}
.fa-field input, .fa-field select, .fa-field textarea {
  height: 44px; border-radius: 10px;
  border: 1px solid var(--fa-slate-300); background: white;
  padding: 0 14px; font: 500 14px var(--fa-font-sans);
  color: var(--fa-ink-900);
  transition: border-color 180ms, box-shadow 180ms;
}
.fa-field textarea { height: auto; padding: 12px 14px; min-height: 100px; resize: vertical; }
.fa-field input:focus, .fa-field select:focus, .fa-field textarea:focus {
  outline: none; border-color: var(--fa-blue-500);
  box-shadow: 0 0 0 3px rgba(25,84,172,0.24);
}
.fa-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============================================================
   SHOP PAGE
   ============================================================ */

.fa-shop-header {
  background: white; border-bottom: 1px solid var(--fa-slate-200);
  padding: 14px 0;
}
.fa-shop-header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 24px;
}
.fa-shop-header-inner h1 {
  font-family: var(--fa-font-display); font-size: 28px;
  letter-spacing: -0.02em; font-weight: 600; margin: 0;
  color: var(--fa-ink-900);
}
.fa-shop-header-inner h1 small {
  font-family: var(--fa-font-sans); font-weight: 500;
  font-size: 15px; color: var(--fa-slate-500); margin-left: 10px;
}

/* WooCommerce grid on Shop page */
.fa-woo-grid ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3,1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 32px 0 !important;
  list-style: none !important;
}
/* WooCommerce clearfix pseudo-elements become ghost grid items when ul.products is display:grid — suppress them */
.fa-woo-grid ul.products::before,
.fa-woo-grid ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}
.fa-woo-grid li.product,
.woocommerce li.product {
  background: white !important;
  border: 1px solid var(--fa-slate-200) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px 0 rgba(10,33,72,0.06) !important;
  margin: 0 !important; float: none !important; width: 100% !important;
  transition: box-shadow 180ms, border-color 180ms, transform 180ms !important;
}
.fa-woo-grid li.product:hover,
.woocommerce li.product:hover {
  box-shadow: 0 4px 12px -2px rgba(10,33,72,0.10) !important;
  border-color: var(--fa-slate-300) !important;
  transform: translateY(-2px) !important;
}
.woocommerce .woocommerce-loop-product__title {
  font-family: var(--fa-font-sans) !important;
  font-weight: 700 !important; font-size: 15px !important;
  color: var(--fa-ink-900) !important;
}
.woocommerce ul.products li.product .price {
  font-family: var(--fa-font-display) !important;
  font-weight: 600 !important; font-size: 22px !important;
  letter-spacing: -0.02em !important; color: var(--fa-ink-900) !important;
}
.woocommerce ul.products li.product a.button {
  background: var(--fa-blue-500) !important;
  color: white !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-family: var(--fa-font-sans) !important;
  font-size: 12px !important;
  border: none !important; box-shadow: none !important;
}
.woocommerce ul.products li.product a.button:hover {
  background: var(--fa-blue-600) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .fa-nav { padding: 0 24px; gap: 20px; }
  .fa-nav .fa-nav-brand img { height: 32px; }
  .fa-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fa-footer-brand-block { grid-column: 1 / -1; }
  .fa-page { padding: 0 24px; }
}

@media (max-width: 767px) {
  .fa-nav { height: 56px; padding: 0 16px; gap: 12px; }
  .fa-nav-links { display: none; }
  .fa-nav .fa-nav-brand img { height: 28px; }
  .fa-footer { padding: 48px 0 24px; }
  .fa-footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
  .fa-footer-bot { flex-direction: column; gap: 8px; text-align: center; }
  .fa-page { padding: 0 16px; }
}

/* ----------------------------------------------------------
   Sticky nav on Elementor Theme Builder pages (shop, single
   product, product archives). The .fa-nav inside is wrapped in
   64px-tall Elementor sections, so sticky on the nav itself has
   no room. The .elementor-location-header wrapper's containing
   block is the full-height page container, so making IT sticky
   keeps the nav (and live cart count) pinned on scroll.
   (Canvas pages use the shortcode nav and aren't affected.)
   ---------------------------------------------------------- */
.elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Canvas pages (home, about, contact, cart, checkout, legal) render the nav
   via the [fa_site_nav] shortcode. The .fa-nav is sticky but its immediate
   Elementor shortcode-widget wrapper is only 64px tall, so it has no room to
   stick. Make that wrapper sticky instead — its containing block is the full-
   height page wrapper. (:has targets only the wrapper holding the nav, not
   the footer shortcode.) */
.elementor-widget-shortcode:has(> .fa-nav),
.elementor-widget-shortcode:has(.fa-nav) {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ============================================================
   MOBILE NAV — hamburger toggle + slide-down menu
   ============================================================ */
.fa-nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0; margin-left: 2px;
  background: transparent !important; border: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.fa-nav-toggle__bar {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--fa-slate-500);
  transition: transform 200ms var(--fa-ease-out), opacity 160ms var(--fa-ease-out);
}
body.home .fa-nav-toggle__bar, body.front-page .fa-nav-toggle__bar, body.page-id-132 .fa-nav-toggle__bar { background: rgba(255,255,255,0.85); }
.fa-nav.is-open .fa-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fa-nav.is-open .fa-nav-toggle__bar:nth-child(2) { opacity: 0; }
.fa-nav.is-open .fa-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .fa-nav-toggle { display: flex; }
  .fa-nav-links {
    display: flex !important;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    padding: 8px 16px 16px;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--fa-slate-200);
    box-shadow: 0 12px 28px -6px rgba(10,33,72,0.14);
    max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
    transform: translateY(-6px);
    transition: opacity 200ms var(--fa-ease-out), transform 200ms var(--fa-ease-out), max-height 220ms var(--fa-ease-out), visibility 220ms;
  }
  .fa-nav.is-open .fa-nav-links { max-height: 70vh; opacity: 1; visibility: visible; transform: translateY(0); }
  .fa-nav-links .fa-nav-link { padding: 12px 4px; font-size: 16px; border-bottom: none; }
  body.home .fa-nav-links, body.front-page .fa-nav-links, body.page-id-132 .fa-nav-links { background: rgba(5,18,38,0.97); border-bottom-color: rgba(255,255,255,0.10); }
}

/* ---- Footer: center image + menus on mobile ---- */
@media (max-width: 767px) {
  .fa-footer-grid { text-align: center; }
  .fa-footer-brand-block { margin-left: auto; margin-right: auto; }
  .fa-footer ul { align-items: center; }
}


/* ---- Shared "Research use only" card (light surfaces: cart sidebar, etc.) ---- */
.fa-ruo-card {
  margin-top: 16px;
  padding: 18px 20px;
  background: #EEF2F7;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}
.fa-ruo-card-label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B98B0;
}
.fa-ruo-card p {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
  line-height: 1.6;
}

/* ============================================================
   HEX GUTTER FIELD (home + about)
   Decorative honeycomb in the side gutters, outside the 1280px
   content column. Injected at wp_footer as a single <div>, so it
   lives entirely outside _elementor_data — the page's widget tree
   is untouched and an Elementor edit can't delete or break it.

   Geometry: regular hexagons, side 22px. Tile is sqrt(3)*s x 3s
   (38.105 x 66) which is the exact lattice period — do not round
   these numbers or the tiling seams.
   ============================================================ */
.fa-hex-field {
  /* Centre-anchored gutter: content edges sit at calc(50% +/- 640px), so the
     gutter shape is dynamic with NO edge-offset mask-position (the previous bug).
     Layer 1 = gutter shape fading over the reach zone. Layer 2 = tiled fractal
     noise skewed opaque. Intersecting = solid gutters, deconstructing reach. */
  --fa-hex-half: 640px;
  --fa-hex-reach: 260px;
  --fa-mx: 50%;
  --fa-my: 40%;

  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;

  --fa-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cfilter id='n' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='7' stitchTiles='stitch' result='t'/%3E%3CfeColorMatrix in='t' type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0.6 0.6 0.6 0 -0.28'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0.25 0.55 0.78 0.92 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='300' height='300' fill='white' filter='url(%23n)'/%3E%3C/svg%3E");

  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - var(--fa-hex-half)), transparent calc(50% - var(--fa-hex-half) + var(--fa-hex-reach)), transparent calc(50% + var(--fa-hex-half) - var(--fa-hex-reach)), #000 calc(50% + var(--fa-hex-half)), #000 100%), var(--fa-noise);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - var(--fa-hex-half)), transparent calc(50% - var(--fa-hex-half) + var(--fa-hex-reach)), transparent calc(50% + var(--fa-hex-half) - var(--fa-hex-reach)), #000 calc(50% + var(--fa-hex-half)), #000 100%), var(--fa-noise);
  -webkit-mask-repeat: no-repeat, repeat;
          mask-repeat: no-repeat, repeat;
  -webkit-mask-size: 100% 100%, 300px 300px;
          mask-size: 100% 100%, 300px 300px;
  -webkit-mask-position: center, top left;
          mask-position: center, top left;
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

.fa-hex-field::before,
.fa-hex-field::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38.105' height='66' viewBox='0 0 38.105 66'%3E%3Cpath d='M19.05 0 L38.11 11 L38.11 33 L19.05 44 L0 33 L0 11 Z M19.05 66 L38.11 77 L38.11 99 L19.05 110 L0 99 L0 77 Z M0 33 L19.05 44 L19.05 66 L0 77 L-19.05 66 L-19.05 44 Z M38.1 33 L57.16 44 L57.16 66 L38.1 77 L19.05 66 L19.05 44 Z M0 -33 L19.05 -22 L19.05 0 L0 11 L-19.05 0 L-19.05 -22 Z M38.1 -33 L57.16 -22 L57.16 0 L38.1 11 L19.05 0 L19.05 -22 Z' fill='none' stroke='%2332B8D1' stroke-width='1.1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: center top;
  background-size: 38.105px 66px;
}

/* Resting field — deliberately faint. */
.fa-hex-field::before { opacity: 0.13; }

/* Cursor spotlight. --fa-mx/--fa-my are written by assets/js/fa-hex.js;
   with no JS this layer stays at opacity 0 and the base field still shows. */
.fa-hex-field::after {
  /* spotlight recolours the honeycomb to the #375EFB home-button blue */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38.105' height='66' viewBox='0 0 38.105 66'%3E%3Cpath d='M19.05 0 L38.11 11 L38.11 33 L19.05 44 L0 33 L0 11 Z M19.05 66 L38.11 77 L38.11 99 L19.05 110 L0 99 L0 77 Z M0 33 L19.05 44 L19.05 66 L0 77 L-19.05 66 L-19.05 44 Z M38.1 33 L57.16 44 L57.16 66 L38.1 77 L19.05 66 L19.05 44 Z M0 -33 L19.05 -22 L19.05 0 L0 11 L-19.05 0 L-19.05 -22 Z M38.1 -33 L57.16 -22 L57.16 0 L38.1 11 L19.05 0 L19.05 -22 Z' fill='none' stroke='%23375EFB' stroke-width='1.1'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity var(--fa-dur-slow, 320ms) var(--fa-ease-out, cubic-bezier(0.16,1,0.3,1));
  -webkit-mask-image: radial-gradient(220px 220px at var(--fa-mx) var(--fa-my), #000 0%, rgba(0,0,0,0.45) 45%, transparent 72%);
  mask-image: radial-gradient(220px 220px at var(--fa-mx) var(--fa-my), #000 0%, rgba(0,0,0,0.45) 45%, transparent 72%);
}
.fa-hex-field.is-live::after { opacity: 0.55; }

/* No hover to react to, and no room for gutters — drop the whole layer. */
@media (max-width: 1024px) {
  .fa-hex-field { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fa-hex-field::after { display: none; }
}

/* ============================================================
   LIGHT-THEME HEX PAGES (Shop, Contact)
   Full-bleed honeycomb: drop the gutter/dissolve mask so the pattern covers
   the whole viewport, then lift page content above the z-index:0 field so
   cards, forms and text all sit on top. Dark pages (home/about) are untouched.
   ============================================================ */
body.fa-hex-light .fa-hex-field {
  -webkit-mask-image: none;
          mask-image: none;
}
body.fa-hex-light .site-main,
body.fa-hex-light > .elementor,
body.fa-hex-light > footer,
body.fa-hex-light .fa-footer {
  position: relative;
  z-index: 1;
}

/* ---- Product-card stock indicators (shop, featured grid, similar) --------- */
.fa-stock-note {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.fa-stock-low { background: #FEF3C7; color: #B45309; }
.fa-stock-out { background: #FEE2E2; color: #B91C1C; }
