@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700&family=Playfair+Display+SC:wght@400;700&display=swap');

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --primary: #ff0000;
  --secondary: #8b00ff;
  --ink: #261717;
  --ink-deep: #1a0f0f;
  --ink-mid: #3d2222;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-bg-hover: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(16px);
  --text-primary: #f5eded;
  --text-muted: rgba(245, 237, 237, 0.65);
  --text-link: #ff6666;
  --radius-card: 28px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --header-h: 68px;
  --max-prose: 720px;
  --max-site: 1200px;
  --font-head: 'Playfair Display SC', Georgia, serif;
  --font-body: 'Karla', system-ui, sans-serif;
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.45);
  --dot-color: rgba(255, 255, 255, 0.07);
}

/* =============================================
   RESET / BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(139, 0, 255, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255, 0, 0, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(38, 23, 23, 0.8) 0%, transparent 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* =============================================
   DOT-MATRIX TEXTURE
   ============================================= */
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.2rem, 2.8vw, 1.9rem); font-weight: 700; margin-top: 2rem; margin-bottom: 0.5rem; }
h3 { font-size: clamp(1rem, 2.2vw, 1.45rem); font-weight: 400; margin-top: 1.5rem; margin-bottom: 0.4rem; }
h4 { font-size: 1.1rem; font-weight: 700; margin-top: 1.2rem; margin-bottom: 0.3rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--primary); text-decoration: underline; }

strong { font-weight: 700; color: var(--text-primary); }
em { font-style: italic; }

hr {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 0.75rem 0 1rem;
}

img { max-width: 100%; height: auto; display: block; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
th, td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--glass-border);
  text-align: left;
}
th {
  background: rgba(139, 0, 255, 0.2);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.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;
}

/* =============================================
   PAGE WRAPPER
   ============================================= */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============================================
   SITE HEADER — fixed bottom bar
   ============================================= */
.site-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(26, 15, 15, 0.82);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  height: var(--header-h);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  order: 2;
}

.logo-mark { width: 32px; height: 32px; object-fit: contain; }
.logo-glyph { font-size: 1.4rem; color: var(--primary); line-height: 1; }

.brand-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.brand-name:hover { color: var(--primary); }

/* Nav split: left half, center brand, right half */
.site-nav {
  flex: 1;
  order: 1;
  overflow: hidden;
}

.site-nav ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.site-nav ol li { display: flex; }

.site-nav ol li a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.site-nav ol li a:hover,
.site-nav ol li a:focus {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  order: 3;
}

/* CTA buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 80px;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  white-space: nowrap;
}

.cta-signup {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cta-signup:hover, .cta-signup:focus {
  background: #cc0000;
  border-color: #cc0000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,0,0,0.4);
}

.cta-login {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
}
.cta-login:hover, .cta-login:focus {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(139, 0, 255, 0.1);
  transform: translateY(-1px);
}

/* =============================================
   MAIN AREAS — push content above fixed bar
   ============================================= */
.home-main, .category-main, .entry-main, .about-main, .privacy-main, .data-main {
  flex: 1;
  padding-bottom: calc(var(--header-h) + 1.5rem);
}

/* =============================================
   HERO SECTIONS
   ============================================= */
.hero-section,
.cat-hero-section,
.entry-intro-section,
.about-hero-section,
.privacy-hero-section,
.data-intro-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139,0,255,0.18) 0%, rgba(255,0,0,0.12) 100%);
  border-bottom: 1px solid var(--glass-border);
}

/* HOME hero: ~45vh, centered */
.hero-section {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-site);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-copy {
  text-align: center;
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero-h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-media {
  flex-shrink: 0;
}

.hero-media img,
.entry-hero-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.hero-icon-glyph { font-size: 5rem; line-height: 1; display: block; }

/* Category hero */
.cat-hero-inner,
.entry-intro-inner,
.about-hero-inner,
.privacy-hero-inner,
.data-intro-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
}

.cat-hero-section { min-height: 28vh; display: flex; align-items: center; }
.entry-intro-section { min-height: 30vh; display: flex; align-items: center; }
.about-hero-section { min-height: 26vh; display: flex; align-items: center; }
.privacy-hero-section { min-height: 22vh; display: flex; align-items: center; }
.data-intro-section { min-height: 24vh; display: flex; align-items: center; }

.cat-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cat-desc, .about-desc, .privacy-desc { color: var(--text-muted); font-size: 1rem; margin-top: 0.75rem; }

/* =============================================
   LAYOUT WITH ASIDE
   ============================================= */
.layout-with-aside {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.page-aside {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 1.5rem;
  order: -1;
}

.aside-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-glass);
}

.aside-heading {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.aside-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-toc li { margin-bottom: 0.2rem; }

.aside-toc a {
  display: block;
  padding: 0.3rem 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

.aside-toc a:hover, .aside-toc a:focus {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.aside-empty, .aside-parent {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.aside-parent { margin-top: 0.75rem; }
.aside-parent a { color: var(--secondary); text-decoration: none; font-size: 0.82rem; }
.aside-parent a:hover { color: var(--primary); }

.content-main {
  flex: 1;
  min-width: 0;
}

/* =============================================
   PROSE AREA
   ============================================= */
.prose {
  max-width: var(--max-prose);
}

.prose h2 { margin-top: 2.2rem; }

.prose a {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  border-left: 3px solid var(--secondary);
  padding: 0.6rem 1rem;
  margin: 1.2rem 0;
  background: rgba(139,0,255,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

.prose table { font-size: 0.88rem; }

/* =============================================
   GLASS CARD
   ============================================= */
.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-glass);
  transition: background 0.25s, transform 0.2s;
}

.glass-card:hover { background: var(--glass-bg-hover); transform: translateY(-2px); }

/* =============================================
   CHILD CARDS (sibling <a> blocks per contract)
   ============================================= */
.child-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.child-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 380px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  border-bottom: 3px solid var(--primary);
  padding: 1.25rem 1.25rem 1rem;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-glass);
  transition: background 0.2s, transform 0.2s, border-bottom-color 0.2s;
  position: relative;
  overflow: hidden;
}

.child-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.2s;
}

.child-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-3px);
  border-bottom-color: var(--secondary);
  text-decoration: none;
  color: var(--text-primary);
}

.child-card:hover::before { opacity: 1; }

.child-card > strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.child-card > span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.child-card .card-date {
  font-size: 0.72rem;
  color: rgba(245,237,237,0.45);
  margin-top: 0.25rem;
}

/* Category child links — wider */
.category-child-links .child-card { min-width: 300px; }

/* =============================================
   STAGE LABEL
   ============================================= */
.stage-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.stage-awareness { background: rgba(255,0,0,0.18); color: #ff9999; border: 1px solid rgba(255,0,0,0.3); }
.stage-consideration { background: rgba(139,0,255,0.18); color: #cc99ff; border: 1px solid rgba(139,0,255,0.3); }
.stage-decision { background: rgba(255,165,0,0.18); color: #ffcc77; border: 1px solid rgba(255,165,0,0.3); }

/* =============================================
   BYLINE
   ============================================= */
.byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.byline-by { font-weight: 600; color: var(--text-primary); }
.byline-sep { color: var(--secondary); }
.byline time { color: var(--text-muted); }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb { margin-bottom: 1rem; }

.breadcrumb ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.breadcrumb ol li + li::before {
  content: '›';
  margin-right: 0.25rem;
  color: var(--secondary);
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }

/* =============================================
   HERO ENTRY MEDIA
   ============================================= */
.entry-hero-media { margin-top: 1.25rem; }
.entry-hero-img {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

/* =============================================
   ABOUT AUTHOR SECTION
   ============================================= */
.author-section {
  margin-top: 2.5rem;
}

.author-card {
  padding: 1.5rem;
  margin-top: 1rem;
}

.author-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-credentials {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-bio {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.75rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover, .btn-primary:focus {
  background: #cc0000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,0,0,0.35);
  text-decoration: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: rgba(26, 15, 15, 0.92);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  margin-bottom: var(--header-h);
}

.footer-top {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 160px;
}

.footer-col dt {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-col dd {
  margin: 0 0 0.45rem;
}

.footer-col dd a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col dd a:hover, .footer-col dd a:focus {
  color: var(--text-primary);
}

.footer-subscribe-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.footer-form input[type="email"]::placeholder { color: var(--text-muted); }
.footer-form input[type="email"]:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
  background: rgba(255,255,255,0.13);
}

.btn-subscribe {
  height: 40px;
  padding: 0 1rem;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-subscribe:hover { background: #6f00cc; }

.footer-contact a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
  align-items: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.rg-notice {
  font-size: 0.75rem;
  color: rgba(245,237,237,0.5);
  margin: 0;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
}

.footer-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-trust a {
  color: var(--text-muted);
  text-decoration: underline;
  font-size: 0.78rem;
}

.footer-trust a:hover { color: var(--primary); }

/* =============================================
   BODY SECTION PADDING
   ============================================= */
.cat-body-section,
.entry-body-section,
.about-body-section,
.privacy-body-section,
.data-body-section {
  flex: 1;
}

/* =============================================
   SCROLL REVEAL — vanilla JS driven
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .child-card, .glass-card, .btn-primary, .cta { transition: none; }
  html { scroll-behavior: auto; }
}

/* =============================================
   RESPONSIVE — TABLET ≤900px
   ============================================= */
@media (max-width: 900px) {
  .layout-with-aside {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  .page-aside {
    width: 100%;
    position: static;
    order: 0;
  }

  .aside-glass { padding: 1rem; }

  .aside-toc { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .aside-toc li { margin-bottom: 0; }
  .aside-toc a { padding: 0.3rem 0.55rem; }

  .footer-top { gap: 1.25rem; }
  .footer-col { flex-basis: 140px; }
}

/* =============================================
   RESPONSIVE — MOBILE ≤600px
   ============================================= */
@media (max-width: 600px) {
  :root { --header-h: 60px; }

  .header-inner { gap: 0.4rem; padding: 0 0.75rem; }

  .brand-name { font-size: 0.82rem; }

  .site-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ol { gap: 0; }
  .site-nav ol li a {
    padding: 0 0.5rem;
    font-size: 0.7rem;
    height: 44px;
  }

  .cta { padding: 0 0.6rem; font-size: 0.72rem; min-width: 60px; }

  .hero-section { min-height: 45vh; }
  .hero-content { padding: 2rem 1rem 1.75rem; gap: 1.25rem; }
  .hero-h1 { font-size: 1.6rem; }
  .hero-desc { font-size: 0.92rem; }
  .hero-media img { width: 120px; height: 120px; }
  .hero-icon-glyph { font-size: 3.5rem; }

  .cat-hero-inner,
  .entry-intro-inner,
  .about-hero-inner,
  .privacy-hero-inner,
  .data-intro-inner { padding: 1.75rem 1rem 1.5rem; }

  .layout-with-aside { padding: 1.25rem 0.9rem; }

  .child-card { flex-basis: 100%; max-width: 100%; min-width: 0; }

  .footer-top { flex-direction: column; padding: 1.75rem 1rem 1.5rem; gap: 1.5rem; }
  .footer-col { flex-basis: auto; min-width: 0; }
  .footer-bottom { padding: 1rem; gap: 0.4rem 1rem; }

  .author-card { padding: 1.1rem; }

  .entry-hero-img { max-width: 100%; }
}

/* =============================================
   FOCUS VISIBLE
   ============================================= */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 3px;
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}