/*
Theme Name: NonMiUserAI
Theme URI: https://nonmiuserai.it
Description: Tema ufficiale del movimento civico #NonMiUserAI. Design editoriale italiano, compatibile con Elementor. Sistema tipografico Fraunces / Newsreader / JetBrains Mono.
Version: 1.0.0
Author: NonMiUserAI
Author URI: https://nonmiuserai.it
License: GNU General Public License v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nonmiuserai
Tags: one-column, custom-menu, custom-logo, blog, news, elementor
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink: #1c1815;
  --ink-2: #272220;
  --paper: #f5efe2;
  --paper-2: #faf6ec;
  --paper-3: #efe7d6;
  --red: #bd2f25;
  --red-warm: #e8584c;
  --green: #2d5638;
  --green-light: #7ba884;
  --muted: #7a7166;
  --line: #d9cfba;
  --line-soft: #e7ddc8;
  --line-dark: #4a423a;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Newsreader', Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Paper grain texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-warm); }
strong, b { font-weight: 600; }
em, i { font-style: italic; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   LAYOUT WRAPPERS
   ============================================================ */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 28px; }
section { padding: 70px 0; }
.section-tight { padding: 48px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}
h1 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.0;
  letter-spacing: -.025em;
}
h1 em { font-style: italic; font-weight: 600; }
h1 .red { color: var(--red); }
h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin-bottom: 18px;
}
h2 em { color: var(--red); font-style: italic; }
h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin: 28px 0 10px;
}
h3 em { color: var(--red); font-style: italic; }
h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 20px 0 8px;
}
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 21px; line-height: 1.5; color: #2a2520; }
.lead em { color: var(--red); font-style: italic; }

.section-head { border-top: 2.5px solid var(--ink); padding-top: 16px; margin-bottom: 30px; }
.section-head .sec-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  color: var(--red); letter-spacing: .08em;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 24, 21, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}
.nav-brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--paper);
  letter-spacing: -.01em;
  white-space: nowrap;
  text-decoration: none;
}
.nav-brand:hover { color: var(--paper); }
.nav-brand .h { color: var(--red-warm); }

/* wp_nav_menu output */
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #cdbfa6;
  padding: 7px 11px;
  border-radius: 4px;
  transition: all .18s;
  white-space: nowrap;
  display: block;
  text-decoration: none;
}
.nav-links a:hover { color: var(--paper); background: rgba(255, 255, 255, .06); }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .active > a { color: var(--red-warm); }
/* Aggiungi classe CSS "nav-cta" al menu item Aderisci tramite Aspetto > Menu */
.nav-links .nav-cta > a,
.nav-links li.nav-cta > a {
  background: var(--red) !important;
  color: var(--paper) !important;
  font-weight: 600 !important;
}
.nav-links .nav-cta > a:hover,
.nav-links li.nav-cta > a:hover { background: var(--red-warm) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 5px;
  cursor: pointer;
  transition: all .18s;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--paper); }
.btn-primary:hover { background: var(--red-warm); transform: translateY(-1px); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: #cdbfa6; background: rgba(255, 255, 255, .04); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); color: var(--paper); }
.btn-on-red { background: var(--paper); color: var(--ink); border-color: transparent; }
.btn-on-red:hover { background: #fff; transform: translateY(-1px); color: var(--ink); }

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 84px 0 70px;
}
.hero .hash {
  position: absolute; top: -80px; right: -90px;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 520px;
  line-height: 1; color: #3a1310; letter-spacing: -.05em; z-index: 0;
  user-select: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .kicker { color: #e8a89f; }
.hero h1 { color: var(--paper); }
.hero h1 .red { color: var(--red-warm); }
.hero .hero-sub {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(19px, 2.4vw, 25px); line-height: 1.4;
  color: #cdbfa6; margin-top: 24px; max-width: 680px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* PAGE HERO (pagine interne) */
.page-hero {
  background: var(--ink); color: var(--paper);
  padding: 60px 0 50px; position: relative; overflow: hidden;
}
.page-hero .kicker { color: #e8a89f; }
.page-hero h1 { color: var(--paper); font-size: clamp(34px, 5.5vw, 58px); }
.page-hero h1 em { color: var(--red-warm); }
.page-hero .ph-sub {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 20px; color: #cdbfa6; margin-top: 18px; max-width: 680px; line-height: 1.4;
}

/* ============================================================
   HOME: FOUR CONCEPTS
   ============================================================ */
.four-home { background: var(--ink-2); color: var(--paper); padding: 60px 0; }
.four-home .kicker { color: #e8a89f; }
.four-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-dark); border: 1px solid var(--line-dark);
  border-radius: 8px; overflow: hidden; margin-top: 10px;
}
.four-cell { background: var(--ink-2); padding: 26px 28px; }
.four-cell .fn {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size: 34px; color: var(--red-warm); line-height: 1; margin-bottom: 12px;
}
.four-cell .ft { font-family: 'Fraunces', serif; font-weight: 400; font-size: 19px; line-height: 1.35; color: var(--paper); }
.four-cell .hi { color: var(--red-warm); font-style: italic; font-weight: 600; }

/* ============================================================
   HOME: MANIFESTO TEASER
   ============================================================ */
.home-manifesto { background: var(--paper-2); }
.quote-big {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px); line-height: 1.3; color: var(--ink);
  border-left: 4px solid var(--red); padding-left: 26px; margin: 10px 0;
}
.quote-big .red { color: var(--red); }

/* ============================================================
   CAMPAIGN BAND
   ============================================================ */
.campaign-band { background: var(--red); color: var(--paper); text-align: center; padding: 64px 0; }
.campaign-band .eq {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em;
}
.campaign-band .eq .x { opacity: .6; }
.campaign-band .cb-sub {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 21px;
  margin: 16px 0 28px; color: #fbe3df;
}

/* ============================================================
   CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 26px 28px; transition: all .2s;
}
.card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28, 24, 21, .08); }
.card .cn { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.card .ct { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; line-height: 1.18; margin: 5px 0 10px; }
.card .ct em { color: var(--red); font-style: italic; }
.card p { font-size: 15.5px; line-height: 1.55; color: #3a342c; margin-bottom: 0; }

/* ============================================================
   DARK BLOCK
   ============================================================ */
.dark-block { background: var(--ink); color: var(--paper); border-radius: 10px; padding: 40px 44px; margin: 24px 0; }
.dark-block .kicker { color: #e8a89f; }
.dark-block h2, .dark-block h3 { color: var(--paper); }
.dark-block h2 em, .dark-block h3 em { color: var(--red-warm); }
.dark-block p { color: #cdbfa6; }
.dark-block strong { color: var(--paper); }

/* ============================================================
   DISTINCTIONS
   ============================================================ */
.dist {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 22px 26px; margin-bottom: 14px;
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
}
.dist .dn { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 38px; color: var(--red); line-height: 1; }
.dist .dt { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; line-height: 1.2; margin-bottom: 6px; }
.dist .dt em { color: var(--red); font-style: italic; }
.dist p { font-size: 15.5px; line-height: 1.55; color: #3a342c; margin: 0; }

/* ============================================================
   DECALOGUE
   ============================================================ */
.deca-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.deca-box { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; }
.deca-box .dk { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.deca-box .dt { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; margin: 4px 0 14px; }
.deca-box .dt em { color: var(--red); font-style: italic; }
.deca-box ol { padding-left: 22px; margin: 0; }
.deca-box li { font-size: 14.5px; line-height: 1.5; margin-bottom: 9px; }
.deca-box li::marker { color: var(--red); font-weight: 600; }
.deca-box li b { font-weight: 600; }

/* ============================================================
   CALLOUT
   ============================================================ */
.callout {
  border-left: 3px solid var(--red); padding: 8px 0 8px 20px; margin: 22px 0;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; line-height: 1.42; color: #2a2520;
}
.callout .red { color: var(--red); font-style: normal; font-weight: 600; }

/* ============================================================
   SCENE / YES-BLOCK / TURN / THREE-DO
   ============================================================ */
.scene { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 24px 28px; margin: 22px 0; }
.scene .q { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 20px; color: var(--red); line-height: 1.35; margin-bottom: 12px; }
.scene p:last-child { margin-bottom: 0; }

.yes-block { background: #e7eee4; border: 1px solid #bcccba; border-radius: 8px; padding: 24px 28px; margin: 24px 0; }
.yes-block .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.yes-block ul { list-style: none; padding: 0; margin: 0; }
.yes-block li { padding: 11px 0; border-top: 1px solid rgba(45, 86, 56, .18); display: flex; gap: 14px; font-size: 17px; line-height: 1.45; }
.yes-block li:first-child { border-top: none; }
.yes-block li .ic { font-family: 'Fraunces', serif; font-style: italic; color: var(--green); font-weight: 600; font-size: 21px; min-width: 24px; }
.yes-block li b { font-weight: 600; }

.turn { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; text-align: center; margin: 34px 0; padding: 0 10px; }
.turn em { color: var(--red); font-style: italic; }

.three-do { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.do-card { border: 1px solid var(--line); background: var(--paper-2); border-radius: 8px; padding: 22px; }
.do-card .dn { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 34px; color: var(--red); line-height: 1; }
.do-card .dt { font-family: 'Fraunces', serif; font-weight: 600; font-size: 19px; margin: 10px 0 6px; }
.do-card .dd { font-size: 15px; line-height: 1.45; color: #3a342c; }

/* ============================================================
   KILLSWITCH / VS / LLM GRID
   ============================================================ */
.ks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.ks-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; }
.ks-item .ksw { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.ks-item .kst { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; margin: 3px 0 8px; }
.ks-item p { font-size: 14.5px; line-height: 1.5; color: #3a342c; margin: 0; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.vs-col { border-radius: 8px; padding: 22px 24px; }
.vs-no { background: #f7e7e3; border: 1px solid #e3b3ad; }
.vs-yes { background: #e7eee4; border: 1px solid #bcccba; }
.vs-col .vh { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.vs-no .vh { color: var(--red); }
.vs-yes .vh { color: var(--green); }
.vs-col p { font-size: 15px; line-height: 1.55; margin: 0; }

.llm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.llm-item { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.llm-item .lt { font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; margin-bottom: 5px; }
.llm-item p { font-size: 14px; line-height: 1.5; color: #3a342c; margin: 0; }

/* ============================================================
   Q&A
   ============================================================ */
.qa { border-bottom: 1px solid var(--line); padding: 20px 0; }
.qa:last-child { border-bottom: none; }
.qa .qq { font-family: 'Fraunces', serif; font-weight: 600; font-style: italic; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.qa p { margin-bottom: 0; font-size: 16px; color: #3a342c; }

/* ============================================================
   ADERISCI: SUPPORT / CONTACT / ADHERENTS
   ============================================================ */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0; }
.sup-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px; }
.sup-card .sn { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 36px; color: var(--red); line-height: 1; }
.sup-card .st { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; margin: 10px 0 6px; }
.sup-card p { font-size: 15px; line-height: 1.5; color: #3a342c; margin-bottom: 14px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.contact-card { background: var(--ink); color: var(--paper); border-radius: 8px; padding: 24px; }
.contact-card .cl { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e8a89f; margin-bottom: 10px; }
.contact-card .cm { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--paper); font-weight: 500; }
.contact-card p { font-size: 13.5px; color: #cdbfa6; margin: 8px 0 0; line-height: 1.5; }

.adh-list { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 30px 32px; margin: 24px 0; }
.adh-empty { text-align: center; padding: 20px; }
.adh-empty .ae-icon { font-family: 'Fraunces', serif; font-size: 44px; color: var(--line); line-height: 1; }
.adh-empty p { color: var(--muted); font-style: italic; font-size: 17px; margin: 14px 0 0; }
.adh-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.adh-cat { padding: 14px 16px; border: 1px dashed var(--line); border-radius: 6px; }
.adh-cat .acn { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.adh-cat p { font-size: 13px; color: var(--muted); margin: 5px 0 0; line-height: 1.45; }

/* ============================================================
   FORM ADESIONE
   ============================================================ */
.form-wrap { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 36px 38px; margin-top: 24px; }
.adh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: 'Newsreader', Georgia, serif; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(189, 47, 37, .12); }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23bd2f25' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.consent { grid-column: 1 / -1; display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #3a342c; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--red); cursor: pointer; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.adh-form button[type=submit] { border: none; }
.adh-form button[type=submit]:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.45; }
.form-msg { grid-column: 1 / -1; border-radius: 8px; padding: 16px 20px; font-size: 15.5px; line-height: 1.5; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e7eee4; border: 1px solid #bcccba; color: var(--green); }
.form-msg.err { background: #f7e7e3; border: 1px solid #e3b3ad; color: var(--red); }
.form-msg b { font-weight: 600; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   MEDIA / DOWNLOAD
   ============================================================ */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0; }
.dl-doc { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px; display: flex; flex-direction: column; transition: all .2s; }
.dl-doc:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28, 24, 21, .08); }
.dl-doc .dd-pages { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.dl-doc .dd-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; margin: 6px 0 10px; line-height: 1.15; }
.dl-doc .dd-desc { font-size: 14.5px; line-height: 1.5; color: #3a342c; flex-grow: 1; margin-bottom: 16px; }
.dl-doc .dd-btn { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }

.mediapack { background: var(--ink); color: var(--paper); border-radius: 10px; padding: 36px 40px; margin: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.mediapack .mp-text { flex: 1; min-width: 260px; }
.mediapack .kicker { color: #e8a89f; }
.mediapack h3 { color: var(--paper); margin-top: 0; }
.mediapack p { color: #cdbfa6; margin-bottom: 0; font-size: 15px; }

.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; margin: 18px 0; }
.spec { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dotted var(--line); font-size: 14.5px; }
.spec .sk { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.spec .sv { font-weight: 500; }

.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.pill { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); }

/* ============================================================
   BLOG / NEWS
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.post-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28, 24, 21, .08); }
.post-card .pc-img { aspect-ratio: 16/9; overflow: hidden; background: var(--ink-2); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .pc-img img { transform: scale(1.03); }
.post-card .pc-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .pc-cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.post-card .pc-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; line-height: 1.2; margin-bottom: 10px; color: var(--ink); }
.post-card .pc-title:hover { color: var(--red); }
.post-card .pc-excerpt { font-size: 14.5px; line-height: 1.55; color: #3a342c; margin-bottom: 16px; flex: 1; }
.post-card .pc-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-card a { text-decoration: none; }

/* Single post */
.entry-header { padding: 60px 0 40px; background: var(--ink); color: var(--paper); }
.entry-header .kicker { color: #e8a89f; }
.entry-header .entry-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(34px, 5.5vw, 56px); line-height: 1.05; letter-spacing: -.025em; color: var(--paper); margin: 0; }
.entry-header .entry-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #cdbfa6; margin-top: 18px; }
.entry-content { padding: 54px 0; }
.entry-content p { font-size: 18px; line-height: 1.7; margin-bottom: 22px; }
.entry-content h2 { margin-top: 44px; margin-bottom: 18px; }
.entry-content h3 { margin-top: 34px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 22px; }
.entry-content li { font-size: 17px; line-height: 1.6; margin-bottom: 8px; }
.entry-content blockquote { border-left: 4px solid var(--red); padding-left: 22px; margin: 28px 0; }
.entry-content blockquote p { font-family: 'Fraunces', serif; font-style: italic; font-size: 21px; color: #2a2520; }
.entry-content img { border-radius: 8px; margin: 28px 0; }
.entry-nav { border-top: 1px solid var(--line); padding: 32px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.entry-nav a { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

/* Archive header */
.archive-header { background: var(--ink); color: var(--paper); padding: 60px 0 50px; }
.archive-header .kicker { color: #e8a89f; }
.archive-header h1 { color: var(--paper); font-size: clamp(34px, 5.5vw, 58px); }
.archive-header h1 em { color: var(--red-warm); }

/* Category filters */
.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 8px; }
.cat-filter a { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); transition: all .15s; }
.cat-filter a:hover, .cat-filter a.active { border-color: var(--red); color: var(--red); background: rgba(189, 47, 37, .06); }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 10px; margin: 44px 0; padding: 0; list-style: none; }
.pager a, .pager span { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 10px 16px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); }
.pager .current, .pager a:hover { border-color: var(--red); color: var(--red); background: rgba(189, 47, 37, .06); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--ink); color: var(--paper); padding: 54px 0 30px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand { font-family: 'Fraunces', serif; font-weight: 700; font-size: 26px; color: var(--paper); }
.foot-brand .h { color: var(--red-warm); }
.foot-claim { font-family: 'Newsreader', serif; font-style: italic; color: #cdbfa6; font-size: 16px; margin-top: 6px; }
.foot-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e8a89f; margin-bottom: 14px; }
.foot-col a, .foot-col a:visited { display: block; color: #cdbfa6; font-size: 14px; padding: 4px 0; transition: color .15s; text-decoration: none; }
.foot-col a:hover { color: var(--paper); }
.foot-bottom { border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   ANTI-AI BADGE
   ============================================================ */
.human-badge { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-light); border: 1px solid var(--line-dark); border-radius: 20px; padding: 6px 14px; }
.human-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); }

/* ============================================================
   WORDPRESS SPECIFICS
   ============================================================ */
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 6px; }
.sticky { /* WP sticky posts */ }

/* ============================================================
   ELEMENTOR overrides
   ============================================================ */
.elementor-page .site-main { padding: 0; }
.e-page-style-default .entry-content { padding: 0; }

/* ============================================================
   404
   ============================================================ */
.not-found { text-align: center; padding: 100px 28px; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ink); color: var(--paper); }
.not-found .code-404 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(90px, 20vw, 160px); line-height: .9; color: var(--red-warm); letter-spacing: -.04em; }
.not-found h1 { font-family: 'Fraunces', serif; font-size: clamp(26px, 4vw, 38px); color: var(--paper); margin: 18px 0 16px; }
.not-found h1 em { color: var(--red-warm); }
.not-found p { color: #cdbfa6; font-size: 18px; line-height: 1.5; margin-bottom: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 12px; gap: 2px; border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 12px; }
  .nav-toggle { display: block; }
  .four-grid { grid-template-columns: 1fr; }
  .cards, .deca-cols, .ks, .vs, .llm-grid, .support-grid, .contact-grid,
  .three-do, .dl-grid, .adh-cats, .specs, .foot-grid, .adh-form,
  .blog-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero .hash { font-size: 300px; top: -30px; right: -50px; }
  section { padding: 48px 0; }
  .dark-block, .mediapack { padding: 28px 24px; }
  .form-wrap { padding: 26px 22px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .cat-filter { gap: 6px; }
}
