/* ===========================================================
   minipdftoosz — Neo-Brutalism Brand System v2
   Self-hosted fonts (no external font requests) — see /fonts/
   =========================================================== */

@font-face {
  font-family: 'Archivo Black';
  src: url('/fonts/ArchivoBlack-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk-Variable.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono-Variable.woff2') format('woff2-variations');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette: Acid Pop (default) */
  --lime: #D6FF3D;
  --purple: #8B5CF6;
  --pink: #FF4D8D;
  --orange: #FF8A3D;
  --blue: #3D7BFF;
  --teal: #2DD4BF;
  --yellow: #FFD60A;
  --red: #FF3B30;
  --green: #34C759;

  --ink: #0A0A0A;
  --ink-soft: #1A1A1A;
  --paper: #FAF7F0;
  --paper-warm: #F5EFE0;
  --paper-cool: #EFF1F5;

  /* Brutalist tokens */
  --border: 3px solid var(--ink);
  --border-thick: 4px solid var(--ink);
  --border-xl: 6px solid var(--ink);

  --shadow-sm: 4px 4px 0 0 var(--ink);
  --shadow: 6px 6px 0 0 var(--ink);
  --shadow-lg: 10px 10px 0 0 var(--ink);
  --shadow-xl: 14px 14px 0 0 var(--ink);

  --radius: 0px;

  /* Type */
  --display: 'Archivo Black', 'Inter', system-ui, sans-serif;
  --sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============== TYPE ============== */
.display { font-family: var(--display); letter-spacing: -0.01em; line-height: 0.92; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.sans { font-family: var(--sans); }

h1, h2, h3, h4 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0;
}

h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 32px); }
h4 { font-size: 18px; }

p { line-height: 1.5; margin: 0; }
a { color: inherit; }

/* ============== BRUTAL BOX ============== */
.brutal-box {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow);
  position: relative;
}
.brutal-box-lg {
  background: #fff;
  border: var(--border-xl);
  box-shadow: var(--shadow-lg);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  background: var(--ink);
  color: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform 80ms ease, box-shadow 80ms ease;
  user-select: none;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }

.btn-primary { background: var(--purple); color: #fff; }
.btn-accent { background: var(--lime); color: var(--ink); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--lime); box-shadow: var(--shadow-sm); }

.btn-lg { font-size: 18px; padding: 18px 28px; }
.btn-sm { font-size: 12px; padding: 10px 16px; box-shadow: 3px 3px 0 0 var(--ink); }

/* ============== TAGS & STAMPS ============== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 10px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  letter-spacing: 0.05em;
}
.tag-lime { background: var(--lime); }
.tag-pink { background: var(--pink); color: #fff; }
.tag-purple { background: var(--purple); color: #fff; }
.tag-yellow { background: var(--yellow); }
.tag-ink { background: var(--ink); color: var(--paper); }

.stamp {
  display: inline-block;
  font-family: var(--display);
  font-size: 12px;
  padding: 6px 12px;
  background: var(--pink);
  color: #fff;
  border: 2px solid var(--ink);
  text-transform: uppercase;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 0 var(--ink);
}

/* ============== HALFTONE / PATTERNS ============== */
.halftone {
  background-image: radial-gradient(var(--ink) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}
.halftone-lg {
  background-image: radial-gradient(var(--ink) 2.5px, transparent 2.5px);
  background-size: 16px 16px;
}
.grid-bg {
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.08;
}
.stripes {
  background-image: repeating-linear-gradient(
    45deg,
    var(--ink) 0, var(--ink) 4px,
    transparent 4px, transparent 12px
  );
}
.stripes-soft {
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0, transparent 24px,
    rgba(0,0,0,0.06) 24px, rgba(0,0,0,0.06) 48px
  );
}

/* ============== INPUTS ============== */
.input {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 18px;
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  outline: none;
  width: 100%;
  color: var(--ink);
}
.input:focus { box-shadow: var(--shadow); transform: translate(-1px, -1px); }

.input-sm { padding: 10px 14px; font-size: 14px; box-shadow: 3px 3px 0 0 var(--ink); }

textarea.input { resize: vertical; min-height: 120px; font-family: var(--sans); }

/* ============== UTILITY ============== */
.rot-l { transform: rotate(-2deg); }
.rot-r { transform: rotate(2deg); }
.rot-lg { transform: rotate(-4deg); }

.bg-lime { background: var(--lime); }
.bg-purple { background: var(--purple); color: #fff; }
.bg-pink { background: var(--pink); color: #fff; }
.bg-orange { background: var(--orange); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-teal { background: var(--teal); }
.bg-yellow { background: var(--yellow); }
.bg-red { background: var(--red); color: #fff; }
.bg-green { background: var(--green); color: #fff; }
.bg-paper { background: var(--paper); }
.bg-paper-warm { background: var(--paper-warm); }
.bg-paper-cool { background: var(--paper-cool); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-white { background: #fff; }

.text-ink { color: var(--ink); }
.text-paper { color: var(--paper); }
.text-white { color: #fff; }
.text-lime { color: var(--lime); }
.text-pink { color: var(--pink); }

/* ============== LOGO MARK ============== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 22px;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--ink);
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 3px 3px 0 0 var(--ink);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display:block; }
.logo-word {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
  font-size: 22px;
}
.logo-word .p {
  background: var(--lime);
  color: var(--ink);
  padding: 3px 6px;
  border: 2px solid var(--ink);
  line-height: 1;
  display: inline-block;
}

/* ============== HEADER NAV ============== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  background: var(--paper);
  border-bottom: var(--border-thick);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-link {
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid transparent;
  position: relative;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.nav-link:hover { background: var(--lime); border: 2px solid var(--ink); }
.nav-link.active { background: var(--lime); border: 2px solid var(--ink); box-shadow: 3px 3px 0 0 var(--ink); }
.nav-cta { display:flex; gap:10px; align-items:center; flex-shrink: 0; }
.nav-burger { display:none; width: 44px; height: 44px; background:#fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 0 var(--ink); place-items: center; cursor: pointer; }
.nav-burger svg { width: 22px; height: 22px; }

/* dropdown */
.nav-dd { position: relative; }
.nav-dd-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow);
  min-width: 260px;
  padding: 8px;
  z-index: 60;
}
.nav-dd:hover .nav-dd-menu { display: block; }
.nav-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  font-family: var(--display); font-size: 13px; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border: 2px solid transparent;
}
.nav-dd-item:hover { background: var(--lime); border-color: var(--ink); }
.nav-dd-item .dot { width: 10px; height: 10px; background: var(--purple); border: 2px solid var(--ink); flex-shrink: 0; }

/* ============== TOOL CARD ============== */
.tool-card {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 100ms ease, box-shadow 100ms ease;
  cursor: pointer;
  position: relative;
}
.tool-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 0 var(--ink);
}
.tool-card-icon {
  width: 56px;
  height: 56px;
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tool-card-icon svg { width: 32px; height: 32px; }
.tool-card .name { font-family: var(--display); font-size: 18px; text-transform: uppercase; line-height: 1.05; }
.tool-card .desc { font-size: 13px; color: var(--ink); opacity: 0.75; line-height: 1.45; }
.tool-card .foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; margin-top: auto;
  border-top: 2px solid var(--ink);
}
.tool-card .foot-num { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; }
.tool-card .foot-btn { width: 28px; height: 28px; background: var(--ink); color: var(--lime); display: grid; place-items: center; }
.tool-card .foot-btn svg { width: 16px; height: 16px; }

/* ============== SECTIONS ============== */
.section { padding: 80px 32px; position: relative; }
.section-sm { padding: 48px 32px; }
.container { max-width: 1280px; margin: 0 auto; }
.container-narrow { max-width: 880px; margin: 0 auto; }
.container-mid { max-width: 1080px; margin: 0 auto; }

/* ============== BREADCRUMB ============== */
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.crumb a { text-decoration: none; color: inherit; opacity: 0.6; }
.crumb a:hover { opacity: 1; }
.crumb .sep { opacity: 0.4; }

/* ============== STICKY-NOTE ARROW ============== */
.arrow-tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 4px 8px;
  transform: rotate(-6deg);
}

/* ============== SCROLLBAR (brutal) ============== */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--paper); border-left: 2px solid var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 2px solid var(--ink); }

::selection { background: var(--lime); color: var(--ink); }

/* ============== DROPZONE (tool pages) ============== */
.dropzone {
  background: #fff;
  border: 4px dashed var(--ink);
  padding: 60px 40px;
  text-align: center;
  transition: transform 100ms ease, box-shadow 100ms ease;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  position: relative;
}
.dropzone:hover, .dropzone.drag { background: var(--lime); transform: translate(-2px,-2px); box-shadow: 12px 12px 0 0 var(--ink); }
.dropzone .drop-icon {
  width: 96px; height: 96px; background: var(--lime); border: var(--border-thick);
  display: grid; place-items: center; margin: 0 auto 24px;
  box-shadow: var(--shadow);
}
.dropzone .drop-icon svg { width: 48px; height: 48px; color: var(--ink); }
.dropzone .drop-title { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; line-height: 0.95; margin-bottom: 12px; }
.dropzone .drop-sub { font-size: 15px; margin-bottom: 28px; opacity: 0.8; }
.dropzone .drop-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.dropzone .drop-hint { margin-top: 24px; font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: 0.55; }

/* ============== SIDEBAR CARDS (tool pages) ============== */
.side-card {
  background: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 20px;
}
.side-card + .side-card { margin-top: 20px; }
.side-card .lbl {
  font-family: var(--display); font-size: 13px; text-transform: uppercase;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 14px;
}
.opt-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 2px solid var(--ink);
  font-family: var(--display); font-size: 12px; text-transform: uppercase;
  cursor: pointer; background: #fff; margin-bottom: 8px;
}
.opt-row:hover { background: var(--paper-warm); }
.opt-row.active { background: var(--lime); box-shadow: 3px 3px 0 0 var(--ink); }
.opt-row .radio {
  width: 16px; height: 16px; border: 2px solid var(--ink); flex-shrink: 0;
  display: grid; place-items: center;
}
.opt-row.active .radio::after { content: ''; width: 8px; height: 8px; background: var(--ink); }

.kv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 2px dashed var(--ink);
  font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.kv-row:last-child { border-bottom: 0; }
.kv-row .k { opacity: 0.6; }
.kv-row .v { }

/* privacy promise card */
.privacy-card {
  background: var(--ink); color: var(--paper);
  border: 4px solid var(--lime);
  padding: 22px;
  box-shadow: 6px 6px 0 0 var(--lime);
}
.privacy-card .lbl { font-family: var(--display); font-size: 12px; color: var(--lime); text-transform: uppercase; margin-bottom: 10px; }
.privacy-card h4 { font-size: 22px; color: var(--paper); margin-bottom: 10px; }
.privacy-card p { font-size: 13px; opacity: 0.85; }

/* ============== FILE LIST (uploaded state) ============== */
.file-row {
  display: grid; grid-template-columns: 48px 1fr auto auto; gap: 14px;
  align-items: center; padding: 14px; background: #fff;
  border: var(--border-thick); box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}
.file-row .badge {
  width: 40px; height: 40px; background: var(--ink); color: var(--lime);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 16px;
}
.file-row .fname { font-family: var(--display); font-size: 15px; text-transform: uppercase; line-height: 1.1; }
.file-row .fmeta { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: 0.6; margin-top: 4px; }
.file-row .pages {
  padding: 6px 10px; background: var(--lime); border: 2px solid var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.file-row .x {
  width: 32px; height: 32px; background: #fff; border: 2px solid var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.file-row .x:hover { background: var(--red); color: #fff; }

/* ============== ANIMATION ============== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes stripemove { to { background-position: 96px 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.spin { animation: spin 2s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .spin, .marquee { animation: none !important; }
}

/* ============== FOCUS ============== */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple); outline-offset: 2px;
}

/* ============== TOAST ============== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--lime);
  border: 3px solid var(--ink);
  padding: 14px 24px;
  font-family: var(--display); font-size: 14px; text-transform: uppercase;
  box-shadow: var(--shadow);
  z-index: 100;
  animation: toast-in 200ms ease;
}
@keyframes toast-in { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ============================================================
   RESPONSIVE — tablet & mobile
   ============================================================ */

/* Tablet: <= 1100px */
@media (max-width: 1100px) {
  html { -webkit-text-size-adjust: 100%; }
  body { min-width: 0; }
  .section { padding: 56px 24px; }
  .container, .container-mid, .container-narrow { max-width: 100%; }
  h1 { font-size: clamp(40px, 8vw, 72px) !important; }
  h2 { font-size: clamp(32px, 6vw, 56px) !important; }

  .nav { padding: 12px 20px; gap: 12px; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-cta .btn-sm:not(.always) { display: none; }

  /* Common grid collapse patterns */
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns: repeat(6"] { grid-template-columns: repeat(3, 1fr) !important; }
  [style*="grid-template-columns: 1.6fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1fr 1.2fr"] { grid-template-columns: 1fr !important; }
}

/* Mobile: <= 720px */
@media (max-width: 720px) {
  .section { padding: 40px 18px; }
  .section-sm { padding: 32px 18px; }
  h1 { font-size: clamp(38px, 10vw, 56px) !important; letter-spacing: -0.02em; }
  h2 { font-size: clamp(28px, 8vw, 44px) !important; }
  h3 { font-size: clamp(20px, 5vw, 26px) !important; }

  .btn { padding: 12px 18px; font-size: 13px; }
  .btn-lg { padding: 14px 20px; font-size: 15px; }

  .nav { padding: 10px 16px; }
  .logo { gap: 8px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-word { font-size: 18px !important; }
  .nav-cta .btn-sm { padding: 8px 12px; font-size: 11px; }
  .nav-cta .btn-sm:not(.always) { display: none; }

  /* Universal grid collapse for mobile */
  [style*="display: grid"], [style*="display:grid"] {
    gap: 16px !important;
  }
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.6fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 200px"],
  [style*="grid-template-columns: 180px"],
  [style*="grid-template-columns: 240px"],
  [style*="grid-template-columns: 220px"],
  [style*="grid-template-columns: 160px"],
  [style*="grid-template-columns: 280px"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(6"] { grid-template-columns: repeat(2, 1fr) !important; }

  /* File row on mobile */
  .file-row { grid-template-columns: 40px 1fr auto !important; gap: 10px !important; padding: 12px !important; }
  .file-row .pages { display: none; }

  /* Dropzone tighter */
  .dropzone { padding: 40px 20px; }
  .dropzone .drop-icon { width: 72px; height: 72px; }
  .dropzone .drop-icon svg { width: 36px; height: 36px; }
  .dropzone .drop-title { font-size: 28px !important; }
  .dropzone .drop-cta { flex-direction: column; }
  .dropzone .drop-cta .btn { justify-content: center; width: 100%; }

  /* Reduce hero visuals on mobile */
  .hero-visual, .visual { display: none !important; }

  /* Full-width buttons in rows */
  [class*="btn-row"] { flex-direction: column; }
  [class*="btn-row"] .btn { width: 100%; justify-content: center; }

  /* Table -> stack on mobile */
  table { display: block; overflow-x: auto; }

  /* Card padding tighter */
  .brutal-box, .brutal-box-lg, .tool-card, .side-card, .team-card { padding: 18px; }

  /* Filter bar */
  .filter-bar { position: static !important; padding: 16px !important; }
  .filter-bar .row { flex-direction: column; align-items: stretch !important; }
  .filter-bar .search-wrap { max-width: none !important; }

  /* Footer stacks */
  footer .container > div:first-child { grid-template-columns: 1fr !important; }

  /* Shrink shadows */
  .btn, .brutal-box, .tool-card { box-shadow: 3px 3px 0 0 var(--ink); }
  .brutal-box-lg, .dropzone { box-shadow: 5px 5px 0 0 var(--ink); }
}

/* Small mobile: <= 420px */
@media (max-width: 420px) {
  .section { padding: 32px 14px; }
  .nav { padding: 8px 12px; }
  .nav-cta { gap: 6px; }
  .logo-word { font-size: 16px !important; }
  .logo-mark { width: 32px; height: 32px; }
  h1 { font-size: 34px !important; }
  h2 { font-size: 26px !important; }
}

/* MOBILE MENU DRAWER (JS-driven) */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu .top {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-thick);
}
.mobile-menu .close {
  width: 44px; height: 44px; background:#fff; border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 0 var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.mobile-menu .close svg { width: 22px; height: 22px; }
.mobile-menu .items { padding: 20px; display: grid; gap: 8px; overflow-y: auto; flex: 1; }
.mobile-menu .items a {
  display: block;
  font-family: var(--display); font-size: 20px; text-transform: uppercase;
  padding: 16px 18px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 0 var(--ink);
  text-decoration: none; color: var(--ink);
}
.mobile-menu .items a.active { background: var(--lime); }
.mobile-menu .items .section-lbl { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: 0.6; padding: 12px 4px 4px; }
.mobile-menu .foot {
  padding: 20px;
  border-top: var(--border-thick);
  display: grid;
  gap: 10px;
}
