/* =========================================
   Box Commons — style.css
   ========================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #0F172A;
  background: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #0F172A;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #0F172A;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
}

/* --- Mobile Toggle --- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0F172A;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 180px 0 100px;
  background: #0F172A url('images/hero-bg.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(15, 23, 42, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 700px;
  color: #FFFFFF;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-heading-center {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  font-size: 1.05rem;
  opacity: 0.7;
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* --- Our Approach (blue gradient) --- */
.section-approach {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 40%, #1D4ED8 70%, #1E40AF 100%);
  color: #FFFFFF;
}

.section-approach .section-heading-center {
  color: #FFFFFF;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.pillar {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 40px 32px;
  backdrop-filter: blur(4px);
}

.pillar-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 12px;
}

.pillar h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pillar p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* --- Status Section --- */
.section-status {
  position: relative;
  background: #F1F5F9;
  overflow: hidden;
}

.section-status::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 120%;
  background: url('images/accent-geometric.png') no-repeat center center;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
}

.status-text {
  text-align: center;
  font-size: 1.05rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.callout-card {
  max-width: 500px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 12px;
  border-left: 4px solid #3B82F6;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.callout-card p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #0F172A;
}

.callout-card a {
  font-size: 0.95rem;
  color: #3B82F6;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.callout-card a:hover {
  color: #1D4ED8;
}

/* --- CTA Form --- */
.cta-form {
  text-align: left;
}

.cta-form-fields {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.cta-form-fields input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cta-form-fields input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-form-fields input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
}

.cta-form-fields button {
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1D4ED8;
  background: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}

.cta-form-fields button:hover {
  background: #F1F5F9;
}

.cta-form-fields button:active {
  transform: scale(0.98);
}

.cta-role-select {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}

.cta-role-select legend {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.cta-role-select label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.cta-role-select input[type="radio"] {
  accent-color: #FFFFFF;
}

.cta-privacy {
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  max-width: 540px;
}

@media (max-width: 560px) {
  .cta-form-fields {
    flex-direction: column;
  }

  .cta-role-select label {
    display: flex;
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* --- Footer --- */
.footer {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 8px;
  max-width: 400px;
}

.footer-meta {
  font-size: 0.75rem;
  opacity: 0.4;
  margin-top: 8px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer-nav a {
  font-size: 0.85rem;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 16px;
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* =========================================
   Publication Pages
   ========================================= */

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 100px 0 0;
  font-size: 0.8rem;
  opacity: 0.5;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb span {
  margin: 0 8px;
}

/* --- Publication Header --- */
.pub-header {
  padding: 32px 0 48px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pub-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 24px;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.pub-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pub-meta-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Executive Summary --- */
.pub-summary {
  padding: 48px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pub-summary h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3B82F6;
  margin-bottom: 16px;
}

.pub-summary p {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 800px;
  opacity: 0.85;
}

/* --- Publication Body --- */
.pub-body {
  padding: 48px 0;
  max-width: 800px;
}

.pub-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.pub-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.pub-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.pub-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
  opacity: 0.85;
}

.pub-body ul,
.pub-body ol {
  margin: 0 0 16px 24px;
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

.pub-body li {
  margin-bottom: 8px;
}

.pub-body strong {
  font-weight: 600;
}

.pub-body em {
  font-style: italic;
}

.pub-body blockquote {
  border-left: 3px solid #3B82F6;
  padding-left: 20px;
  margin: 24px 0;
  opacity: 0.8;
  font-style: italic;
}

.pub-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.85rem;
}

.pub-body th,
.pub-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.pub-body th {
  font-weight: 600;
  background: #F1F5F9;
}

.pub-body hr {
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin: 48px 0;
}

/* --- FAQ Section --- */
.pub-faq {
  padding: 48px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #F1F5F9;
}

.pub-faq h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.faq-item {
  margin-bottom: 24px;
  max-width: 800px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0F172A;
}

.faq-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.75;
}

/* --- Related Publications --- */
.pub-related {
  padding: 48px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.pub-related h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.related-card {
  display: block;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  border-color: #3B82F6;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.1);
}

.related-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.related-card p {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* =========================================
   Publications Index Page
   ========================================= */

.pub-index-header {
  padding: 120px 0 48px;
}

.pub-index-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pub-index-header p {
  font-size: 1.05rem;
  opacity: 0.7;
  max-width: 700px;
  line-height: 1.7;
}

/* --- CSS-only filter --- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.filter-bar label {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.filter-bar label:hover {
  background: #F1F5F9;
}

/* Hide radios (placed as siblings outside filter-bar for ~ selector) */
input[name="filter"] {
  display: none;
}

#filter-all:checked ~ .filter-bar label[for="filter-all"],
#filter-comments:checked ~ .filter-bar label[for="filter-comments"],
#filter-frameworks:checked ~ .filter-bar label[for="filter-frameworks"],
#filter-whitepapers:checked ~ .filter-bar label[for="filter-whitepapers"] {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.pub-list {
  padding: 32px 0 80px;
}

.pub-card {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: opacity 0.2s ease;
}

.pub-card:hover {
  opacity: 0.85;
}

.pub-card-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3B82F6;
  margin-bottom: 8px;
}

.pub-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pub-card p {
  font-size: 0.9rem;
  opacity: 0.65;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.pub-card-date {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* CSS-only filter visibility — cards */
#filter-all:checked ~ .pub-list .pub-card { display: block; }
#filter-comments:checked ~ .pub-list .pub-card[data-type="framework"],
#filter-comments:checked ~ .pub-list .pub-card[data-type="whitepaper"] { display: none; }
#filter-frameworks:checked ~ .pub-list .pub-card[data-type="comment"],
#filter-frameworks:checked ~ .pub-list .pub-card[data-type="whitepaper"] { display: none; }
#filter-whitepapers:checked ~ .pub-list .pub-card[data-type="comment"],
#filter-whitepapers:checked ~ .pub-list .pub-card[data-type="framework"] { display: none; }

/* CSS-only filter visibility — category descriptions */
.category-description { display: none; }
#filter-frameworks:checked ~ .pub-list .category-description[data-type="framework"] { display: block; }
#filter-whitepapers:checked ~ .pub-list .category-description[data-type="whitepaper"] { display: block; }
#filter-comments:checked ~ .pub-list .category-description[data-type="comment"] { display: block; }

/* =========================================
   Document Layout (Sidebar TOC)
   ========================================= */

.doc-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 64px;
}

.doc-sidebar {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 16px;
}

.doc-sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3B82F6;
  margin-bottom: 16px;
}

.doc-sidebar a {
  display: block;
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 6px 0 6px 12px;
  border-left: 2px solid rgba(15, 23, 42, 0.06);
  color: #0F172A;
  opacity: 0.5;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.doc-sidebar a:hover { opacity: 0.8; }

.doc-sidebar a.active {
  opacity: 1;
  border-left-color: #3B82F6;
  font-weight: 600;
}

/* Mobile TOC */
.doc-mobile-toc {
  display: none;
  position: sticky;
  top: 72px;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px 24px;
}

.doc-mobile-toc summary {
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: #3B82F6;
  list-style: none;
}

.doc-mobile-toc summary::-webkit-details-marker { display: none; }
.doc-mobile-toc summary::before { content: '+ '; }
.doc-mobile-toc[open] summary::before { content: '- '; }

.doc-mobile-toc nav { padding: 12px 0 4px; }

.doc-mobile-toc nav a {
  display: block;
  font-size: 0.8rem;
  padding: 8px 0;
  color: #0F172A;
  opacity: 0.7;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

/* Document body */
.doc-body {
  max-width: 680px;
}

.doc-body h2 {
  scroll-margin-top: 96px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 56px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.doc-body h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.doc-body h3 {
  scroll-margin-top: 96px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.doc-body p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 16px;
  opacity: 0.85;
}

.doc-body ul, .doc-body ol {
  margin: 0 0 16px 24px;
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.85;
}

.doc-body li { margin-bottom: 8px; }
.doc-body strong { font-weight: 600; }
.doc-body em { font-style: italic; }

.doc-body blockquote {
  border-left: 3px solid #3B82F6;
  padding-left: 20px;
  margin: 24px 0;
  opacity: 0.8;
  font-style: italic;
}

.doc-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.82rem;
}

.doc-body th, .doc-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.doc-body th {
  font-weight: 600;
  background: #F1F5F9;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.doc-body hr {
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin: 48px 0;
}

/* Progressive disclosure */
.doc-body details {
  margin: 24px 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.doc-body details summary {
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: #F8FAFC;
  list-style: none;
  transition: background 0.2s ease;
}

.doc-body details summary::-webkit-details-marker { display: none; }
.doc-body details summary::before { content: '+ '; color: #3B82F6; font-weight: 700; margin-right: 4px; }
.doc-body details[open] summary::before { content: '- '; }
.doc-body details summary:hover { background: #F1F5F9; }

.doc-body details .details-content { padding: 20px; }
.doc-body details .details-content table { margin: 0; }

/* Key takeaway callout */
.key-takeaway {
  background: #F0F7FF;
  border-left: 4px solid #3B82F6;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 0.88rem;
  line-height: 1.7;
}

.key-takeaway strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3B82F6;
  margin-bottom: 6px;
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 999;
  appearance: none;
  border: none;
  background: transparent;
}

.reading-progress::-webkit-progress-bar { background: transparent; }
.reading-progress::-webkit-progress-value { background: #3B82F6; transition: width 0.1s linear; }
.reading-progress::-moz-progress-bar { background: #3B82F6; }

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 960px) {
  .pillars-grid,
  .pillars-grid[style*="repeat(2"] {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .doc-sidebar { display: none; }
  .doc-mobile-toc { display: block; }
  .doc-body table { display: block; overflow-x: auto; }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding: 140px 0 72px;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading-center {
    font-size: 1.7rem;
  }

  .pub-header h1 {
    font-size: 1.7rem;
  }

  .pub-index-header {
    padding: 100px 0 32px;
  }

  .pub-index-header h1 {
    font-size: 1.7rem;
  }

  .pub-meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- Accessibility: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
