/* ═══════════════════════════════════════════════════════════════════════════
   QUICKPALM DISPATCH — a risograph tech-broadsheet
   Brand palette: electric blue #1a60ff · hot azure #00bcff · acid green #18c257
   Identity: black stock, ink rules, hard offset shadows, halftone, overprint.
   Type: Fraunces (display) · Open Sans (body) · JetBrains Mono (wire labels)
═══════════════════════════════════════════════════════════════════════════ */

@property --halftone-shift { syntax: '<length>'; initial-value: 0px; inherits: false; }

:root {
  /* ─── Stock & ink (inverted: black stock, bone ink) ───────────────────── */
  --paper:        #0a0908;            /* near-black warm stock */
  --paper-2:      #141110;            /* raised panels */
  --paper-3:      #1e1a17;            /* deeper insets */
  --ink:          #f4ede1;            /* bone ink (now the light) */
  --ink-2:        #b0a597;            /* softened ink for secondary text */
  --ink-3:        #786f63;            /* muted ink */

  /* ─── Brand (aggressive electric blue) ────────────────────────────────── */
  --blue:         #1a60ff;           /* primary — electric, aggressive */
  --blue-ink:     #66a3ff;           /* lightened azure for text/accents on black */
  --blue-tint:    #051234;           /* deep navy wash for fills */
  --azure:        #00bcff;           /* hot cyan-blue accent */
  --azure-tint:   #04203a;           /* dark azure wash */

  /* legacy ink names kept as aliases so every existing rule shifts to blue */
  --orange:       var(--blue);       /* primary */
  --orange-ink:   var(--blue-ink);   /* lightened for text on black */
  --orange-tint:  var(--blue-tint);  /* dark wash for fills */
  --red:          var(--azure);      /* aggression accent */
  --green:        #18c257;           /* secondary — acid green that pops on black */
  --green-ink:    #3fe079;           /* lightened green for text on black */
  --green-tint:   #0a2413;           /* dark wash */
  --brown:        #0a3fd6;           /* deep electric blue accent */
  --brown-tint:   #050f33;           /* dark navy wash */

  /* ─── Lines, shadows, motion ──────────────────────────────────────────── */
  --line:         var(--ink);
  --hair:         rgba(244,237,225,0.12);
  --shadow-hard:  5px 5px 0 var(--ink);
  --shadow-hard-lg: 9px 9px 0 var(--ink);
  --shadow-orange:  6px 6px 0 var(--orange);
  --shadow-brown:   6px 6px 0 var(--brown);
  --shadow-green:   6px 6px 0 var(--green);

  /* ─── Type ────────────────────────────────────────────────────────────── */
  --display: 'Fraunces', 'Times New Roman', serif;
  --body:    'Open Sans', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* ─── Geometry ────────────────────────────────────────────────────────── */
  --radius:    0px;       /* the broadsheet is square-cut */
  --radius-lg: 0px;
  --radius-pill: 150px;   /* sateliot 'full' for the few rounded chips */
  --nav-h:     74px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --t:         0.45s var(--ease);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: clamp(15px, 0.55vw + 13px, 17px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* paper grain + faint halftone, fixed behind everything */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.06;
  mix-blend-mode: screen;
}

img { display: block; max-width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

::selection { background: var(--orange); color: #fff; }

/* themed scrollbar */
* { scrollbar-color: var(--orange) var(--paper-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--orange); border: 3px solid var(--paper-2); }

/* ─── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; }

p { text-wrap: pretty; }

/* the "kicker" — wire-service label used all over */
.section-label,
.hero-badge,
.tag, .product-tag, .card-tag,
.footer-heading, .sidebar-heading,
.section-label, .form-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Display accent: ink-filled vs outlined headline word */
.gradient-text {
  color: var(--orange);
  font-style: italic;
}
.gradient-text--green { color: var(--green); font-style: italic; }

/* ─── Layout ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

/* ─── Page / reading progress (top ink ruler) ──────────────────────────────── */
#page-progress, #reading-progress {
  position: fixed; top: 0; left: 0;
  height: 4px; width: 0%;
  background: var(--orange);
  z-index: 9999;
  box-shadow: 0 1px 0 var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION — masthead
═══════════════════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 2.5px solid var(--ink);
  transition: box-shadow var(--t);
}
.site-nav.scrolled { box-shadow: 0 6px 0 -2px var(--hair); }

.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}

/* wordmark */
.nav-logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.logo-mark {
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-weight: 900; font-size: 1rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.nav-logo:hover .logo-mark { transform: translate(-1px,-1px) rotate(-4deg); box-shadow: 5px 5px 0 var(--ink); }
.logo-text {
  font-family: var(--display);
  font-weight: 700; font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.logo-text em { font-style: italic; color: var(--orange); }

/* links */
.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
}
/* underline-draw */
.nav-link::after {
  content: '';
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link--active::after { transform: scaleX(1); }
.nav-link-dot { display: none; }

.nav-link--cta {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink), 0 0 26px -4px rgba(26,96,255,0.8); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 40px;
  align-items: center; justify-content: center;
  border: 2px solid var(--ink);
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); transition: transform var(--t), opacity 0.2s; }

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS — ink stamps
═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn:hover  { transform: translate(-2px,-2px); box-shadow: var(--shadow-hard-lg); }
.btn:active { transform: translate(2px,2px);  box-shadow: 1px 1px 0 var(--ink); }

.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--green   { background: var(--green);  color: #07140b; border-color: var(--green); }
.btn--ghost   { background: transparent;   color: var(--ink); }
/* molten glow — the primary CTA radiates heat and flares on hover */
.btn--glow { box-shadow: var(--shadow-hard), 0 0 26px -4px rgba(26,96,255,0.7); }
.btn--glow:hover { box-shadow: var(--shadow-hard-lg), 0 0 40px 0 rgba(26,96,255,0.95); }
.btn--sm  { padding: 0.55rem 1.05rem; font-size: 0.7rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn--lg  { padding: 1rem 2.1rem; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* arrow nudge on hover for text-arrow buttons */
.btn:hover svg { transform: translateX(2px); transition: transform 0.16s var(--ease); }

/* ─── Tags / chips ─────────────────────────────────────────────────────────── */
.tag, .product-tag, .card-tag {
  display: inline-block;
  padding: 0.32em 0.7em;
  font-size: 0.62rem; font-weight: 700;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink);
}
.product-tag { margin-bottom: 1.1rem; box-shadow: 3px 3px 0 var(--orange); }
.product-tag--green { box-shadow: 3px 3px 0 var(--green); }
.tag--large { font-size: 0.7rem; padding: 0.4em 0.85em; }
.card-tag { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--orange); }

.chip {
  display: inline-flex; align-items: center;
  padding: 0.4rem 1rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, transform 0.15s var(--ease);
}
.chip:hover, .chip--active { background: var(--orange); color: #fff; transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO — the front page
═══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 2.5px solid var(--ink);
}

/* halftone dot field */
.hero-noise, .hero-grid-lines {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
}
.hero-noise {
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: var(--halftone-shift) 0;
  opacity: 0.10;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 10%, #000, transparent 75%);
  animation: halftone-drift 18s linear infinite;
}
@keyframes halftone-drift { to { --halftone-shift: 22px; } }

.hero-grid-lines {
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
  opacity: 0.6;
}

/* molten plasma blobs — flat light that screens onto black */
.hero-orb {
  position: absolute; z-index: -1; pointer-events: none;
  border-radius: 50% 50% 48% 52% / 55% 48% 52% 45%;
  mix-blend-mode: screen;
  filter: blur(46px);
  animation: blob-drift 16s ease-in-out infinite alternate;
}
.hero-orb--1 { width: 460px; height: 440px; top: -8%;  right: -6%; background: var(--orange); opacity: 0.55; }
.hero-orb--2 { width: 360px; height: 380px; top: 24%;  right: 16%; background: var(--red);    opacity: 0.4; animation-delay: -5s; }
.hero-orb--green-1 { width: 420px; height: 400px; top: -10%; left: -8%; background: var(--green); opacity: 0.4; mix-blend-mode: screen; }
.hero-orb--green-2 { width: 320px; height: 320px; top: 20%; right: 10%; background: var(--brown); opacity: 0.5; mix-blend-mode: screen; }
@keyframes blob-drift {
  0%   { transform: translate(0,0) rotate(0deg) scale(1); }
  100% { transform: translate(-34px, 26px) rotate(12deg) scale(1.08); }
}

/* ─── three.js "holding hands" 3D background ───────────────────────────────── */
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  pointer-events: none; overflow: hidden;
}
.hero-bg__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 1.6s var(--ease);   /* fade in once loaded */
}
.hero-bg.is-ready .hero-bg__canvas { opacity: 1; }
/* on WebGL failure / Save-Data / load error, keep the canvas invisible */
.hero-bg.is-fallback .hero-bg__canvas,
.hero-bg.is-static .hero-bg__canvas { display: none; }
/* aggressive dark overlay + faint blue→red wash; keeps hero copy readable */
.hero-bg__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 75% at 70% 35%,
      rgba(10,9,8,0.05) 0%, rgba(10,9,8,0.55) 58%, rgba(5,7,13,0.92) 100%),
    linear-gradient(115deg, rgba(26,96,255,0.10) 0%, transparent 45%, rgba(255,31,61,0.10) 100%),
    linear-gradient(180deg, rgba(10,9,8,0.35) 0%, rgba(10,9,8,0.72) 100%);
}
@media (max-width: 600px) {
  .hero-bg__overlay {
    background: linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(5,7,13,0.88) 100%);
  }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 940px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem; font-weight: 700;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--green);
  margin-bottom: 1.6rem;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0,128,0,0.6);
  animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(0,128,0,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(0,128,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,128,0,0); }
}

.hero-headline {
  display: flex; flex-direction: column;
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.95;
}
.hero-line { display: block; will-change: transform, opacity; }

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 2.2rem;
  border-left: 3px solid var(--orange);
  padding-left: 1.1rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.2rem; }

/* stat pills → ledger cells */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-hard);
  background: var(--paper);
  max-width: 760px;
}
.stat-pill {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.1rem 1.25rem;
  border-right: 2px solid var(--ink);
  transition: background 0.18s;
}
.stat-pill:last-child { border-right: none; }
.stat-pill:hover { background: var(--orange-tint); }
.stat-pill strong {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 700; color: var(--orange-ink);
  line-height: 1;
}
.stat-pill span { font-size: 0.78rem; color: var(--ink-2); }

/* scroll cue */
.scroll-indicator {
  position: absolute; bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-3);
  z-index: 1;
}
.scroll-line { width: 2px; height: 38px; background: var(--ink); transform-origin: top; animation: scroll-line 2s var(--ease) infinite; }
@keyframes scroll-line { 0%,100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION SCAFFOLDING
═══════════════════════════════════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  color: var(--orange-ink);
  margin-bottom: 0.7rem;
  padding-left: 1.7rem;
  position: relative;
}
.section-label::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1.2rem; height: 2px; background: var(--orange); transform: translateY(-50%);
}

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 2.5px solid var(--ink);
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCTS — feature spreads
═══════════════════════════════════════════════════════════════════════════ */
.products-section { padding: clamp(4rem, 9vw, 8rem) 0; }

.product-row {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: center; padding: 3.5rem 0;
}
@media (min-width: 900px) {
  .product-row { grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; }
  .product-row--reverse .product-text   { order: 2; }
  .product-row--reverse .product-visual { order: 1; }
}
.product-divider { height: 2px; background: var(--ink); }

.product-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.1rem;
}
.product-desc { color: var(--ink-2); line-height: 1.7; margin-bottom: 1.6rem; max-width: 520px; font-size: 1.02rem; }

.product-features { display: flex; flex-direction: column; gap: 0; margin-bottom: 2rem; border-top: 2px solid var(--ink); max-width: 520px; }
.product-features li {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 0.2rem;
  font-size: 0.92rem; color: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.feat-icon { width: 7px; height: 7px; flex-shrink: 0; background: var(--orange-ink); }

/* product showcase card — a pasted-on sticker */
.product-card-frame {
  position: relative;
  background: var(--green-tint);
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  padding: 3.5rem 2rem;
  display: grid; place-items: center;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.product-card-frame { background: var(--orange-tint); }
.product-card-frame--green { background: var(--green-tint); }
.product-card-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: radial-gradient(var(--ink) 1.2px, transparent 1.3px);
  background-size: 16px 16px;
}
.product-card-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; }
.product-card-glow { display: none; }
.product-card-icon {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  background: var(--paper); color: var(--orange);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.product-card-frame--green .product-card-icon { color: var(--green); }
.product-card-icon svg { width: 2.6rem; height: 2.6rem; }
.product-card-label { font-family: var(--display); font-size: 1.3rem; font-weight: 700; }
.product-card-sub { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); }
.product-card-badge {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  padding: 0.25em 0.7em; background: var(--ink); color: var(--paper);
}
.product-card-badge--green { background: var(--green); }

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE CARDS — clippings
═══════════════════════════════════════════════════════════════════════════ */
.news-preview-section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; border-top: 2.5px solid var(--ink); }
.news-preview-grid, .article-grid, .features-grid, .news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.article-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  overflow: hidden;
}
.article-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-hard-lg); }
.article-card__link { display: flex; flex-direction: column; height: 100%; }

.article-card__image, .hero-card__image {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--paper-3);
  border-bottom: 2.5px solid var(--ink);
}
/* duotone clipping → blooms to colour on hover */
.article-card__image img, .hero-card__image img {
  width: 100%; height: 100%;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.article-card__image::after {
  content: ''; position: absolute; inset: 0;
  background: var(--orange); mix-blend-mode: multiply;
  opacity: 0.55; transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.article-card:hover .article-card__image img { filter: grayscale(0); transform: scale(1.05); }
.article-card:hover .article-card__image::after { opacity: 0; }

.image-placeholder, .hero-card__image--placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--paper-3) 0 12px, var(--paper-2) 12px 24px);
}
.image-placeholder svg { width: 2.5rem; height: 2.5rem; color: var(--ink-3); }

.article-card__body, .hero-card__body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.article-card__title, .hero-card__title {
  font-family: var(--display);
  font-size: 1.18rem; font-weight: 600; line-height: 1.18;
  letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card__title a:hover, .hero-card__title a:hover { color: var(--orange-ink); }
.article-card__desc, .hero-card__desc {
  font-size: 0.88rem; color: var(--ink-2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.article-meta {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-top: auto;
  font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-3);
}
.meta-source { font-weight: 700; color: var(--green-ink); }
.article-meta time::before { content: '•'; margin-right: 0.45rem; color: var(--orange); }

/* hero cards (if used) */
.hero-cards { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-top: 3rem; }
@media (min-width: 768px) { .hero-cards { grid-template-columns: 2fr 1fr; } .hero-card--1 { grid-row: 1 / 3; } }
.hero-card { background: var(--paper); border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard); display: flex; flex-direction: column; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.hero-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-hard-lg); }

/* ─── Category bar ─────────────────────────────────────────────────────────── */
.category-bar { padding: 1.2rem 0; border-bottom: 2.5px solid var(--ink); }
.category-chips { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display: none; }

.latest-section { padding: clamp(3rem, 6vw, 5rem) 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   NEWSLETTER / CALL-OUT
═══════════════════════════════════════════════════════════════════════════ */
.newsletter-cta { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 2.5px solid var(--ink); position: relative; overflow: hidden; }
.newsletter-glow { display: none; }
.newsletter-inner {
  position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  border: 2.5px solid var(--ink); background: var(--orange-tint);
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}
.newsletter-inner h2 { max-width: 16ch; }
.newsletter-inner p { color: var(--ink-2); max-width: 480px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE HEADER / ARTICLE SINGLE
═══════════════════════════════════════════════════════════════════════════ */
.page-header { padding: calc(var(--nav-h) + 3rem) 0 2.5rem; border-bottom: 2.5px solid var(--ink); }
.page-title { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.page-subtitle { color: var(--ink-2); margin-top: 0.7rem; font-size: 1.05rem; max-width: 60ch; }

.article-header {
  padding: calc(var(--nav-h) + 3rem) 0 2rem;
  max-width: 820px; margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 3rem);
}
.article-title { margin: 1rem 0; font-size: clamp(2.2rem, 5.5vw, 4rem); }
.article-byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-3);
}
.byline-sep { color: var(--orange); }
.source-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--green-ink); border-bottom: 2px solid var(--green); }
.source-link:hover { color: var(--orange-ink); border-color: var(--orange); }
.ext-icon { width: 0.8em; height: 0.8em; }

.article-hero-image {
  position: relative; max-height: 540px; overflow: hidden;
  margin-bottom: 3rem;
  border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
}
.article-hero-image img { width: 100%; height: 100%; max-height: 540px; filter: grayscale(0.15) contrast(1.04); }
.image-shimmer { display: none; }

.article-body-wrap {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  padding-bottom: 5rem;
  max-width: 1100px; margin-inline: auto;
}
@media (min-width: 900px) { .article-body-wrap { grid-template-columns: minmax(0,1fr) 280px; } }
.article-body { min-width: 0; max-width: 70ch; }

.article-lead {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500; line-height: 1.4; color: var(--ink);
  margin-bottom: 1.8rem;
}
/* drop cap */
.article-content > p:first-of-type::first-letter {
  font-family: var(--display); font-weight: 900;
  float: left; font-size: 4.2rem; line-height: 0.78;
  padding: 0.1rem 0.7rem 0 0; color: var(--orange);
}
.article-content p { color: var(--ink-2); line-height: 1.85; margin-bottom: 1.3rem; font-size: 1.05rem; }
.article-content h2, .article-content h3 { margin: 2rem 0 0.8rem; }

.source-attribution {
  margin-top: 2.5rem; padding: 1.25rem;
  background: var(--paper-2); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2);
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}

/* sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-widget { background: var(--paper); border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard); padding: 1.3rem; }
.sidebar-heading { font-size: 0.72rem; font-weight: 700; color: var(--orange-ink); margin-bottom: 0.9rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--ink); }

/* pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 3rem; }
.pagination-info { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-2); }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT / FORMS
═══════════════════════════════════════════════════════════════════════════ */
.contact-section { padding: 3rem 0 6rem; }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .contact-inner { grid-template-columns: 1.2fr 0.8fr; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label { font-size: 0.7rem; font-weight: 700; color: var(--ink); }
.form-input {
  background: var(--paper); border: 2.5px solid var(--ink); color: var(--ink);
  font: inherit; font-size: 0.95rem; padding: 0.8rem 1rem;
  transition: box-shadow 0.15s, transform 0.15s var(--ease);
  outline: none;
}
.form-input:focus { box-shadow: var(--shadow-orange); transform: translate(-2px,-2px); }
.form-input::placeholder { color: var(--ink-3); }
.form-textarea { resize: vertical; min-height: 170px; }
.contact-aside { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-aside p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.7; }
.contact-aside a { color: var(--green-ink); border-bottom: 2px solid var(--green); }
.contact-aside a:hover { color: var(--orange-ink); border-color: var(--orange); }

/* ─── Alerts ───────────────────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem; border: 2.5px solid var(--ink);
  font-size: 0.9rem; display: flex; align-items: flex-start; gap: 0.65rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.alert svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.alert ul { margin: 0; padding-left: 1rem; }
.alert--success { background: var(--green-tint); color: var(--green-ink); }
.alert--error   { background: #f6dcd6; color: #a32a17; }   /* note: semantic red, outside brand palette */

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════════════════ */
.about-section { padding: 4rem 0 7rem; }
.about-inner { display: flex; flex-direction: column; gap: 3rem; }
.about-content h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.about-content p { color: var(--ink-2); line-height: 1.85; margin-bottom: 0.9rem; max-width: 65ch; }
.about-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.pillar {
  background: var(--paper); border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.pillar:nth-child(2) { box-shadow: var(--shadow-green); }
.pillar:nth-child(3) { box-shadow: var(--shadow-brown); }
.pillar:hover { transform: translate(-3px,-3px); }
.pillar-icon {
  width: 3rem; height: 3rem; display: grid; place-items: center;
  background: var(--orange); color: #fff; border: 2.5px solid var(--ink);
}
.pillar-icon svg { width: 1.4rem; height: 1.4rem; }
.pillar h3 { font-size: 1.2rem; }
.pillar p { color: var(--ink-2); font-size: 0.9rem; line-height: 1.6; }
.about-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   404 / EMPTY
═══════════════════════════════════════════════════════════════════════════ */
.error-page { display: grid; place-items: center; min-height: 80vh; }
.error-inner { text-align: center; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.error-code {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(6rem, 18vw, 13rem); line-height: 0.85; color: var(--orange);
  text-shadow: 6px 6px 0 var(--ink);
  letter-spacing: -0.04em;
}
.error-title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.error-message { color: var(--ink-2); max-width: 440px; }
.error-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.empty-state {
  text-align: center; padding: 4rem 2rem; color: var(--ink-2);
  background: var(--paper-2); border: 2.5px dashed var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER — colophon
═══════════════════════════════════════════════════════════════════════════ */
.site-footer { border-top: 3px solid var(--orange); background: #050403; color: var(--ink); margin-top: 4rem; padding-top: 3.5rem; }
.site-footer .container { z-index: 1; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 600px) { .footer-inner { grid-template-columns: 1.4fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; }
.site-footer .logo-text { color: var(--ink); }
.site-footer .logo-text em { color: var(--orange); }
.site-footer .logo-mark { box-shadow: 3px 3px 0 var(--orange); border-color: var(--ink); }
.footer-tagline { font-size: 0.92rem; color: rgba(249,249,249,0.6); max-width: 300px; }
.footer-nav { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-heading { font-size: 0.68rem; font-weight: 700; color: var(--orange); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.9rem; color: rgba(249,249,249,0.78); transition: color 0.15s, padding-left 0.2s var(--ease); }
.footer-col a:hover { color: var(--orange); padding-left: 0.4rem; }
.footer-bottom { margin-top: 3rem; padding: 1.3rem 0; border-top: 1px solid rgba(249,249,249,0.16); font-family: var(--mono); font-size: 0.72rem; color: rgba(249,249,249,0.55); }

/* ═══════════════════════════════════════════════════════════════════════════
   IMAGE FRAME / VIDEO / FEATURES / REQUIREMENTS / DOWNLOAD (product pages)
═══════════════════════════════════════════════════════════════════════════ */
.image-frame { position: relative; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard-lg); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.image-frame:hover { transform: translate(-3px,-3px); }
.image-frame img { width: 100%; height: auto; display: block; }
.image-frame-glow { display: none; }

.video-section { padding: clamp(3rem, 6vw, 6rem) 0; border-top: 2.5px solid var(--ink); }
.video-frame { margin-top: 2rem; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard-lg); }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.features-section { padding: clamp(3rem, 6vw, 6rem) 0; border-top: 2.5px solid var(--ink); }
.feature-card { background: var(--paper); border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard); position: relative; overflow: hidden; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.feature-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-hard-lg); }
.feature-card--green { box-shadow: var(--shadow-green); }
.feature-glow { display: none; }
.feature-card-inner { padding: 1.7rem; position: relative; z-index: 1; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.65; }

.requirements-section { padding: clamp(3rem, 6vw, 6rem) 0; border-top: 2.5px solid var(--ink); }
.requirements-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .requirements-inner { grid-template-columns: 1fr 1fr; } }
.requirements-list { display: flex; flex-direction: column; gap: 0; margin-top: 1.4rem; border-top: 2px solid var(--ink); }
.requirements-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.2rem; font-size: 0.92rem; color: var(--ink); border-bottom: 1px solid var(--hair); }
.requirements-list svg { width: 1.1rem; height: 1.1rem; color: var(--green); flex-shrink: 0; }
.requirements-note { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); margin-top: 1rem; }

.download-card {
  background: var(--orange-tint); border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard-lg);
  padding: 2rem; display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.download-card:hover { transform: translate(-3px,-3px); }
.download-card--green { background: var(--green-tint); }
.download-card-glow { display: none; }
.download-icon { width: 3.6rem; height: 3.6rem; background: var(--paper); border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.download-icon svg { width: 2rem; height: 2rem; color: var(--orange); }
.download-info { flex: 1; min-width: 130px; }
.download-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.download-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-2); margin-top: 0.2rem; }

/* product hero pages */
.product-hero { position: relative; padding-top: calc(var(--nav-h) + 5rem); padding-bottom: 5rem; overflow: hidden; isolation: isolate; border-bottom: 2.5px solid var(--ink); }
.product-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .product-hero-inner { grid-template-columns: 1fr 1fr; } }
.product-hero-title { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; line-height: 0.95; margin: 0.75rem 0; display: flex; flex-direction: column; }
.product-hero-tagline { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; margin-bottom: 0.8rem; }
.product-hero-desc { color: var(--ink-2); line-height: 1.75; margin-bottom: 1.6rem; max-width: 480px; }
.product-actions, .product-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.product-hero-actions { flex-direction: column; align-items: flex-start; }
.apk-note { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); max-width: 340px; }
.section-label { }

/* ═══════════════════════════════════════════════════════════════════════════
   SHOWCASE SLIDER
═══════════════════════════════════════════════════════════════════════════ */
.showcase-section { padding: clamp(3rem, 6vw, 6rem) 0; border-top: 2.5px solid var(--ink); }
.showcase-slider { position: relative; margin-top: 2rem; overflow: hidden; border: 2.5px solid var(--ink); background: var(--ink); box-shadow: var(--shadow-hard-lg); }
.showcase-track { position: relative; width: 100%; aspect-ratio: 16/9; }
.showcase-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); pointer-events: none; }
.showcase-slide.is-active { opacity: 1; pointer-events: auto; }
.showcase-image-wrap { width: 100%; height: 100%; }
.showcase-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.showcase-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,20,0.9) 0%, transparent 55%); }
.showcase-caption { position: absolute; bottom: 3.5rem; left: 2rem; display: flex; align-items: center; gap: 1rem; z-index: 2; }
.showcase-step { font-family: var(--display); font-size: 3rem; font-weight: 900; color: var(--orange); line-height: 1; font-variant-numeric: tabular-nums; }
.showcase-label { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; color: #fff; max-width: 420px; line-height: 1.25; }
.showcase-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; background: var(--paper); border: 2.5px solid var(--ink); display: grid; place-items: center; z-index: 10; color: var(--ink); transition: background 0.18s, transform 0.18s var(--ease); }
.showcase-btn svg { width: 1.25rem; height: 1.25rem; }
.showcase-btn--prev { left: 1rem; } .showcase-btn--next { right: 1rem; }
.showcase-btn:hover { background: var(--orange); color: #fff; transform: translateY(-50%) scale(1.06); }
.showcase-dots { position: absolute; bottom: 1.25rem; right: 1.5rem; display: flex; gap: 0.5rem; z-index: 10; }
.showcase-dot { width: 10px; height: 10px; background: rgba(255,255,255,0.4); border: 1.5px solid #fff; }
.showcase-dot.is-active { background: var(--orange); width: 26px; }
.showcase-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,0.15); z-index: 10; }
.showcase-progress-bar { height: 100%; width: 0%; background: var(--orange); }
.showcase-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border: 2.5px solid var(--ink); border-top: none; overflow: hidden; }
.showcase-step-btn { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.1rem 1.25rem; border-right: 2px solid var(--ink); background: var(--paper); color: var(--ink-2); text-align: left; transition: background 0.2s, color 0.2s; }
.showcase-step-btn:last-child { border-right: none; }
.showcase-step-btn.is-active { background: var(--orange-tint); color: var(--ink); box-shadow: inset 0 4px 0 var(--orange); }
.showcase-step-btn:hover:not(.is-active) { background: var(--paper-2); }
.step-num { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; color: var(--orange-ink); }
.step-text { font-size: 0.84rem; font-weight: 600; line-height: 1.3; }

/* ─── Phone variant (portrait app screenshots) ───────────────────────────── */
.showcase-slider--phone { background: var(--paper-2); }
.showcase-slider--phone .showcase-track {
  aspect-ratio: 1440 / 3120; max-width: 360px; margin-inline: auto; background: #000;
}
.showcase-slider--phone .showcase-image-wrap img { object-fit: contain; }
/* the in-image caption/overlay is for landscape; the step strip below carries labels */
.showcase-slider--phone .showcase-overlay,
.showcase-slider--phone .showcase-caption { display: none; }
.showcase-slider--phone .showcase-dots { bottom: 1rem; left: 50%; right: auto; transform: translateX(-50%); }

/* ─── Green theme (Blocker) ───────────────────────────────────────────────── */
.showcase-section--green .showcase-step { color: var(--green); }
.showcase-section--green .showcase-btn:hover { background: var(--green); color: #07140b; }
.showcase-section--green .showcase-dot.is-active { background: var(--green); }
.showcase-section--green .showcase-progress-bar { background: var(--green); }
.showcase-section--green .showcase-step-btn.is-active { background: var(--green-tint); box-shadow: inset 0 4px 0 var(--green); }
.showcase-section--green .step-num { color: var(--green-ink); }
.generate-notice { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem; background: var(--paper-2); border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard); }

/* ═══════════════════════════════════════════════════════════════════════════
   NEWSLETTER / PREMIUM DROP
═══════════════════════════════════════════════════════════════════════════ */
.newsletter-section { padding: clamp(3rem, 6vw, 6rem) 0; }
.newsletter-card {
  position: relative; overflow: hidden;
  background: var(--blue-tint);
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(1.8rem, 4vw, 3.5rem);
  display: grid; gap: 2rem;
}
@media (min-width: 820px) { .newsletter-card { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.newsletter-noise {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--blue-ink) 1.2px, transparent 1.3px);
  background-size: 14px 14px; opacity: 0.12;
  mask-image: radial-gradient(ellipse 80% 80% at 100% 0%, #000, transparent 70%);
}
.newsletter-copy, .newsletter-form, .newsletter-success { position: relative; z-index: 1; }
.newsletter-title { font-size: clamp(1.7rem, 3.4vw, 2.8rem); margin: 0.5rem 0 0.8rem; }
.newsletter-sub { color: var(--ink-2); line-height: 1.7; max-width: 48ch; }
.newsletter-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-input {
  flex: 1 1 220px; min-width: 0; font-family: var(--body); font-size: 1rem;
  background: var(--paper); color: var(--ink);
  border: 2.5px solid var(--ink); padding: 0.85rem 1rem;
  box-shadow: inset 3px 3px 0 rgba(0,0,0,0.35);
  transition: box-shadow 0.18s var(--ease);
}
.newsletter-input::placeholder { color: var(--ink-3); }
.newsletter-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 3px rgba(26,96,255,0.35); }
.newsletter-form .btn { white-space: nowrap; }
.newsletter-form .btn svg { width: 1.05rem; height: 1.05rem; margin-left: 0.4rem; vertical-align: -2px; }
.newsletter-fineprint { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); margin-top: 0.9rem; letter-spacing: 0.04em; }
.newsletter-error { font-family: var(--mono); font-size: 0.75rem; color: var(--azure); margin-bottom: 0.7rem; }
.newsletter-note { font-size: 0.95rem; line-height: 1.6; padding: 0.9rem 1.1rem; border: 2px solid var(--ink); }
.newsletter-note--info { background: var(--blue-tint); color: var(--ink); }
.newsletter-note--err  { background: var(--azure-tint); color: var(--ink); }
.newsletter-success { display: flex; align-items: center; gap: 1rem; }
.newsletter-success svg { width: 2.4rem; height: 2.4rem; color: var(--green-ink); flex-shrink: 0; }
.newsletter-success p { font-family: var(--display); font-size: 1.15rem; line-height: 1.4; }

/* visually hidden, still read by screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.about-credit { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); color: var(--ink-2); font-size: 0.92rem; }
.about-credit strong { color: var(--ink); }

/* Legal / Privacy page */
.legal-section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2rem 0 0.8rem; }
.legal-content h3 { font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
.legal-content p  { color: var(--ink-2); line-height: 1.75; margin-bottom: 0.9rem; }
.legal-content a  { color: var(--blue-ink); text-decoration: underline; }
.legal-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.5rem 0 0.9rem; }
.legal-list li { color: var(--ink-2); line-height: 1.6; padding-left: 1.1rem; position: relative; }
.legal-list li::before { content: '—'; position: absolute; left: 0; color: var(--blue-ink); }
.legal-updated { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); margin-top: 2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM NOTICE (product pages)
═══════════════════════════════════════════════════════════════════════════ */
.premium-section { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 2.5px solid var(--ink); }
.premium-card {
  display: grid; gap: 1.5rem 2.5rem; align-items: center;
  grid-template-columns: 1fr;
  background: var(--blue-tint);
  border: 2.5px solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
}
@media (min-width: 760px) { .premium-card { grid-template-columns: 150px 1fr; } }
.premium-art { display: grid; place-items: center; }
.premium-art svg { width: 130px; height: 130px; }
.premium-title { font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 0.4rem 0 0.8rem; }
.premium-sub { color: var(--ink-2); line-height: 1.7; max-width: 52ch; margin-bottom: 1.3rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE NAV
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0;
    background: var(--paper);
    border-left: 2.5px solid var(--ink);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0.4rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.15rem; padding: 0.7rem 2rem; }
  .nav-link::after { left: 2rem; right: 2rem; bottom: 0.5rem; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-pill:nth-child(odd)  { border-right: 2px solid var(--ink); }
  .product-features, .article-body { max-width: none; }

  /* keep overprint blobs out from behind body copy on small screens */
  .hero-orb { filter: blur(1px); }
  .hero-orb--1 { width: 230px; height: 220px; top: -4%; right: -16%; opacity: 0.7; }
  .hero-orb--2 { width: 180px; height: 190px; top: 2%; right: 8%; opacity: 0.55; }
  .hero-sub { background: var(--paper); }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .stat-pill { border-right: none; border-bottom: 2px solid var(--ink); }
  .stat-pill:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOTION RESPECT
═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-orb, .hero-noise { animation: none; }
}
