/* ============================================
   MOG RESEARCH — GLOBAL STYLES
   Nav, footer, announcement bar, shared UI
   ============================================ */

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  font-weight: 400;
}

/* ============= TYPOGRAPHY BASE — CHANGE 9 ============= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--text-primary);
}
h5, h6 { font-family: var(--font-sans); font-weight: 600; }

body {
  color: #4A4540;
  font-size: 15px;
  line-height: 1.7;
}

/* Small-caps category label that appears above every major heading */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary-brown);
  margin-bottom: var(--space-4);
}

/* ============= LAYOUT ============= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}
.section { padding: var(--space-10) 0; }
.section-tight { padding: var(--space-8) 0; }
@media (max-width: 768px) {
  .section { padding: var(--space-7) 0; }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--bg-dark);
}
.btn-outline:hover { background: var(--bg-dark); color: var(--text-on-dark); }
.btn-gold {
  background: var(--accent-gold);
  color: var(--bg-dark);
}
.btn-gold:hover { background: #B89A5E; }
.btn-full { width: 100%; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--space-1);
}
.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--text-primary);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}
.btn-link:hover::after { transform: scaleX(1); }

/* ============= PILLS / BADGES ============= */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border: 1px solid var(--bg-dark);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
}
.pill::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
}

/* ============= ANNOUNCEMENT BAR — CHANGE 6 ============= */
.announcement {
  position: relative;
  background: #2A1F0F;
  color: var(--accent-gold);
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: var(--z-announcement);
  border-bottom: 1px solid rgba(200, 169, 110, 0.25);
}
.announcement-track {
  display: flex;
  gap: var(--space-7);
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scroll-marquee 120s linear infinite;
  will-change: transform;
  opacity: 0.72;
}
.announcement-track span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-7);
}
.announcement-track span::after {
  content: '·';
  color: var(--accent-gold);
  opacity: 0.6;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============= NAVIGATION ============= */
.nav {
  position: sticky;
  top: 0;
  background: var(--bg-warm-white);
  border-bottom: 1px solid var(--border-light);
  z-index: var(--z-nav);
  height: var(--nav-height);
  transition: box-shadow var(--duration-base) var(--ease-out);
}
.nav.scrolled { box-shadow: var(--shadow-nav); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.nav-link {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-primary);
  position: relative;
  padding: 8px 0;
  transition: color var(--duration-fast) var(--ease-out);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  font-size: var(--fs-sm);
}
.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  font-size: var(--fs-xs);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: 999px;
  padding: 0 6px;
}

.nav-hamburger {
  display: none;
  width: 28px; height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  width: 100%; height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--duration-base) var(--ease-out);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--bg-warm-white);
  z-index: 45;
  flex-direction: column;
  padding: calc(var(--announcement-height) + var(--nav-height) + var(--space-7)) var(--container-padding) var(--space-7);
  gap: var(--space-5);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============= AGE GATE MODAL (redesigned 2026-05-22) ============= */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 24, 0.78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.age-gate.hidden { opacity: 0; pointer-events: none; }

.age-gate-modal {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--bg-warm-white);
  padding: 56px 48px 36px;
  text-align: center;
  border-radius: 4px;
  animation: ag-rise 520ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 24px 80px rgba(26, 26, 24, 0.18), 0 2px 8px rgba(26, 26, 24, 0.08);
}
@keyframes ag-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Brand line — small, restrained */
.age-gate-brand {
  font-family: var(--font-univers);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* The 21+ mark — bold, centred, with a subtle gold underline */
.age-gate-mark {
  font-family: var(--font-univers);
  font-size: 88px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin: 0 auto 8px;
  display: inline-flex;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--accent-gold);
}
.age-gate-mark .plus {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--accent-gold);
  margin-left: 2px;
  letter-spacing: 0;
}

/* Headline */
.age-gate-modal h2 {
  font-family: var(--font-univers);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 28px 0 14px;
}

/* Lede paragraph */
.age-gate-lede {
  font-family: var(--font-univers);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 auto 28px;
  max-width: 360px;
}

/* Checkbox — single source of consent, replaces the old list + box */
.age-gate-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 auto 24px;
  padding: 14px 16px;
  background: rgba(26, 26, 24, 0.025);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-univers);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-primary);
  user-select: none;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.age-gate-check:hover {
  border-color: var(--accent-gold);
  background: rgba(200, 169, 110, 0.04);
}
.age-gate-check:has(input:focus-visible) {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.18);
}
/* Hide native input — render our own visual */
.age-gate-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.age-gate-check .checkbox-visual {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--text-secondary);
  border-radius: 2px;
  background: var(--bg-warm-white);
  margin-top: 1px;
  position: relative;
  transition: border-color 160ms ease, background 160ms ease;
}
.age-gate-check input:checked + .checkbox-visual {
  border-color: var(--text-primary);
  background: var(--text-primary);
}
.age-gate-check input:checked + .checkbox-visual::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--bg-warm-white);
  border-bottom: 2px solid var(--bg-warm-white);
  transform: rotate(45deg);
}
.age-gate-check .checkbox-text { color: var(--text-primary); }
.age-gate-check .checkbox-text strong { font-weight: 600; }
.age-gate-check .checkbox-text a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-gold);
  text-underline-offset: 2px;
}
.age-gate-check.error {
  border-color: var(--error);
  background: rgba(139, 44, 44, 0.05);
  animation: ag-shake 240ms ease;
}
@keyframes ag-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Two real buttons, side-by-side on desktop, stacked on mobile */
.age-gate-buttons {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
  margin: 0 0 28px;
}
.age-gate-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 18px;
  font-family: var(--font-univers);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.age-gate-btn.primary {
  background: var(--text-primary);
  color: var(--bg-warm-white);
}
.age-gate-btn.primary:hover:not(:disabled) {
  background: #000;
}
.age-gate-btn.primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.age-gate-btn.secondary {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-secondary);
}
.age-gate-btn.secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* Compliance fineprint */
.age-gate-fineprint {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-univers);
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.65;
  letter-spacing: 0.01em;
  max-width: 380px;
  margin: 0 auto;
}

/* Mobile — stack buttons, tighten paddings */
@media (max-width: 540px) {
  .age-gate { padding: 16px; }
  .age-gate-modal {
    padding: 40px 28px 28px;
    max-height: calc(100vh - 32px);
  }
  .age-gate-mark { font-size: 72px; padding-bottom: 10px; }
  .age-gate-modal h2 { font-size: 19px; margin: 22px 0 12px; }
  .age-gate-lede { font-size: 13px; margin-bottom: 22px; }
  .age-gate-check { font-size: 12.5px; padding: 12px 14px; }
  .age-gate-buttons { flex-direction: column-reverse; gap: 8px; }
  .age-gate-btn { height: 48px; font-size: 12px; }
  .age-gate-fineprint { font-size: 10px; padding-top: 20px; }
}

/* ============= FOOTER ============= */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-8) 0 var(--space-5);
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(253, 250, 245, 0.1);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
}
.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(253, 250, 245, 0.6);
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: var(--space-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(253, 250, 245, 0.75);
  transition: color var(--duration-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--accent-gold); }
.footer-legal {
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: rgba(253, 250, 245, 0.45);
}
.footer-disclaimer {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(253, 250, 245, 0.08);
  font-size: var(--fs-xs);
  color: rgba(253, 250, 245, 0.5);
  line-height: 1.65;
  max-width: 920px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============= ANIMATIONS — INTERSECTION OBSERVER (CHANGE 8) ============= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.32, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.32, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ============= CHANGE 14 — CUSTOM CURSOR (desktop, pointer:fine only) ============= */
.mog-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  margin-left: -6px;
  margin-top: -6px;
  mix-blend-mode: multiply;
  transition:
    width 280ms cubic-bezier(0.16, 1, 0.32, 1),
    height 280ms cubic-bezier(0.16, 1, 0.32, 1),
    margin 280ms cubic-bezier(0.16, 1, 0.32, 1),
    background 280ms cubic-bezier(0.16, 1, 0.32, 1),
    opacity 280ms cubic-bezier(0.16, 1, 0.32, 1);
  opacity: 0;
  will-change: transform;
}
.mog-cursor.is-ready { opacity: 1; }
.mog-cursor.is-hover {
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  background: transparent;
}
@media (pointer: coarse), (hover: none) {
  .mog-cursor { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mog-cursor { display: none !important; }
}

/* ============= UTILITY ============= */
.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.no-scroll { overflow: hidden; }

/* ============= EMAIL CAPTURE POPUP ============= */
.email-popup {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 24, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}
.email-popup.active {
  opacity: 1;
  pointer-events: auto;
}
.email-popup-modal {
  position: relative;
  max-width: 560px;
  width: 100%;
  background: var(--bg-primary);
  padding: var(--space-8) var(--space-7) var(--space-7);
  border-radius: var(--radius-md);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: transform var(--duration-slow) var(--ease-out), opacity var(--duration-slow) var(--ease-out);
}
.email-popup.active .email-popup-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.email-popup-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1;
  transition: transform var(--duration-fast) var(--ease-out);
}
.email-popup-close:hover { transform: rotate(90deg); color: var(--secondary-brown); }

.email-popup-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  margin-bottom: var(--space-5);
}
.email-popup-modal h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.email-popup-modal p {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.email-popup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.email-popup-input {
  width: 100%;
  padding: 16px var(--space-5);
  font-size: var(--fs-base);
  font-family: var(--font-sans);
  background: var(--bg-warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--duration-base) var(--ease-out);
}
.email-popup-input:focus { border-color: var(--text-primary); }
.email-popup-button {
  width: 100%;
  padding: 16px var(--space-5);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out);
}
.email-popup-button:hover { background: #000; }
.email-popup-button:disabled { opacity: 0.7; cursor: default; }
.email-popup-fineprint {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.03em;
}
.email-popup-success {
  text-align: center;
  padding: var(--space-5) 0;
}
.email-popup-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  color: var(--accent-gold);
  font-size: 28px;
}

@media (max-width: 540px) {
  .email-popup { padding: 0; }
  .email-popup-modal {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: var(--space-9) var(--space-5) var(--space-7);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .email-popup-modal h2 { font-size: 32px; }
}

/* ============================================
   POLISH PASS — emotional-impact CSS
   ============================================ */

/* 1. Reading progress bar — hairline gold line at top */
.mog-read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), #E0C58F 60%, var(--accent-gold));
  z-index: 9999;
  pointer-events: none;
  transition: width 80ms linear;
  box-shadow: 0 0 8px rgba(200,169,110,0.4);
}

/* 2. Film grain overlay — site-wide subtle texture (toned way down) */
.mog-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.022;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.85 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 320px 320px;
}
@media (prefers-reduced-motion: reduce) {
  .mog-grain { opacity: 0.015; }
}
@media (max-width: 768px) { .mog-grain { display: none; } }

/* 3. Counter animation — make numbers feel like live readouts */
[data-count-to] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* 4. Live lab status ticker */
.mog-lab-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 8px 14px;
  background: var(--bg-warm-white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-feature-settings: 'tnum' 1;
}
.mog-lab-status .ll-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3ECF8E;
  box-shadow: 0 0 0 0 rgba(62,207,142,0.7);
  animation: mog-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.mog-lab-status .ll-text { letter-spacing: 0.04em; }
.mog-lab-status strong { color: var(--text-primary); font-weight: 600; letter-spacing: 0.04em; }
.mog-lab-status .ll-bay { color: var(--accent-gold); font-weight: 500; }
.mog-lab-status .ll-time {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: 'SF Mono', Menlo, monospace;
  letter-spacing: 0.05em;
}
@keyframes mog-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(62,207,142,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(62,207,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); }
}

/* 5. Magnetic CTAs — smooth-transform return-to-origin */
.btn-magnetic {
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.btn-magnetic:hover { transition: transform 80ms linear; }

/* 6. Ink-stroke link underlines — pen-draw on hover */
a.ink-link {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(var(--accent-gold), var(--accent-gold));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 380ms cubic-bezier(0.65, 0, 0.35, 1), color 200ms ease;
  padding-bottom: 2px;
}
a.ink-link:hover, a.ink-link:focus-visible {
  background-size: 100% 1px;
  color: var(--text-primary);
}

/* 7. Founder signature block */
.mog-signature {
  background: var(--bg-warm-white);
  padding: var(--space-9) var(--container-padding);
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.mog-signature-inner {
  max-width: 640px;
  margin: 0 auto;
}
.mog-signature-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}
.mog-signature-note {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  letter-spacing: -0.005em;
}
.mog-signature-mark {
  font-family: var(--font-univers);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
}
.mog-signature-attr {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Reduced-motion guards */
@media (prefers-reduced-motion: reduce) {
  .btn-magnetic { transform: none !important; transition: none !important; }
  .mog-lab-status .ll-dot { animation: none; }
  a.ink-link { transition: none; }
  .mog-read-progress { transition: none; }
}

/* Mobile: signature block + lab ticker */
@media (max-width: 768px) {
  .mog-signature { padding: var(--space-7) var(--space-4); }
  .mog-signature-note { font-size: 18px; }
  .mog-signature-mark { font-size: 20px; }
  .mog-lab-status {
    font-size: 10px;
    padding: 6px 12px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .mog-lab-status .ll-time { margin-left: 6px; padding-left: 6px; }
}
