:root {
  --navy:         #08111F;
  --navy-mid:     #0D1E35;
  --blue:         #0D47A1;
  --blue-mid:     #1565C0;
  --blue-light:   #1E88E5;
  --blue-pale:    #EDF3FD;
  --accent:       #E55A00;
  --accent-hover: #CC5000;
  --accent-glow:  rgba(229, 90, 0, 0.22);
  --white:        #FFFFFF;
  --off-white:    #F7F5F0;
  --parchment:    #F2EFE8;
  --rule:         rgba(0,0,0,0.08);
  --rule-light:   rgba(255,255,255,0.12);
  --gray-200:     #E8E6E1;
  --gray-400:     #9E9A93;
  --gray-600:     #5C5A56;
  --gray-800:     #1A1917;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  --shadow-card: 0 4px 16px rgba(0,0,0,0.08),0 1px 4px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --section-pad: 7rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.section-rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.section-rule::before,
.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.section-rule::before { max-width: 2rem; }
.section-rule-pin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-rule-pin i { font-size: 0.6rem; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--rule);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}
.header-logo:hover { opacity: 0.8; }
.header-logo img { height: 30px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.header-nav a {
  color: var(--gray-600);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.header-nav a:hover { color: var(--navy); background: var(--parchment); }
.header-nav .nav-cta {
  color: var(--white);
  background: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition: background 0.18s;
  margin-left: 0.5rem;
}
.header-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white);
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
.mobile-menu {
  display: flex;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 2rem 2rem 3rem;
  z-index: 899;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 500;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  display: block;
  font-family: var(--font-display);
  transition: color 0.18s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a.mobile-cta {
  margin-top: 2rem;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  border-bottom: none;
}
.mobile-menu a.mobile-cta:hover { background: var(--accent-hover); color: var(--white); }

.search-band {
  background: var(--navy);
  padding: 0.8rem 2.5rem;
  margin-top: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}
.search-form { position: relative; width: 100%; max-width: 540px; }
.search-form input {
  width: 100%;
  padding: 0.7rem 3rem 0.7rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s;
}
.search-form input::placeholder { color: rgba(255,255,255,0.4); }
.search-form input:focus {
  outline: none;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.32);
}
.search-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: var(--white);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: background 0.18s;
  flex-shrink: 0;
}
.search-form button:hover { background: var(--accent-hover); }

.article-hero {
  width: 100%;
  background: var(--navy);
  line-height: 0;
}
.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 620px;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.article-hero img.loaded { opacity: 1; }
.caption-bar {
  background: var(--parchment);
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 2.5rem;
  text-align: center;
}
.caption-bar p { font-size: 0.82rem; color: var(--gray-600); margin: 0; }
.caption-bar a { color: var(--blue); font-weight: 600; transition: color 0.18s; }
.caption-bar a:hover { color: var(--accent); }

.article-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 0;
}
.article-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.article-header-eyebrow i { font-size: 0.6rem; }
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.article-header-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.meta-left { flex: 0 0 auto; }
.meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.meta-author {
  font-size: 0.9rem;
  color: var(--gray-800);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.meta-author a { color: var(--navy); }
.meta-date {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}
.meta-updated {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.3;
}
.article-header-meta a {
  color: var(--gray-800);
  font-weight: 600;
  transition: color 0.18s;
}
.article-header-meta a:hover { color: var(--accent); }

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2.5rem 3.5rem;
}
.article-lead {
  font-family: var(--font-body);
  font-size: 1.22rem;
  line-height: 1.85;
  color: var(--gray-800);
  margin: 2.5rem 0 2.5rem;
  padding: 0 0 2.5rem 1.75rem;
  border-left: 3px solid var(--accent);
  border-bottom: 1px solid var(--rule);
}
.article-lead p {
  margin: 0;
  font-style: italic;
  color: var(--gray-800);
}
.article-lead::first-letter {
  font-family: var(--font-display);
  font-size: 3.5em;
  font-weight: 900;
  color: var(--navy);
  float: left;
  line-height: 0.72;
  margin: 0.05em 0.1em 0 0;
}
.article-prose {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-800);
}
.article-prose p { margin-bottom: 1.75rem; }
.article-prose p:last-child { margin-bottom: 0; }

.meta-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.meta-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.meta-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.meta-box-head {
  background: var(--navy);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.meta-box-head i { color: rgba(255,255,255,0.45); font-size: 0.8rem; }
.meta-box-head h4 {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.meta-box-body { padding: 1.25rem 1.5rem; }
.meta-facts { display: flex; flex-direction: column; }
.meta-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
  gap: 1rem;
}
.meta-fact:last-child { border-bottom: none; }
.meta-fact-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}
.meta-fact-val {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-800);
  text-align: right;
}
.meta-timeline {
  position: relative;
  padding-left: 1.6rem;
}
.meta-timeline::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--blue), var(--navy));
  border-radius: 2px;
}
.meta-tl-item {
  position: relative;
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px dashed var(--rule);
}
.meta-tl-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.meta-tl-item::before {
  content: '';
  position: absolute;
  left: -1.4rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
}
.meta-tl-item:nth-child(1)::before,
.meta-tl-item:nth-child(2)::before { border-color: var(--accent); }
.meta-tl-item:nth-child(3)::before,
.meta-tl-item:nth-child(4)::before,
.meta-tl-item:nth-child(5)::before { border-color: var(--blue); }
.meta-tl-item:nth-child(6)::before,
.meta-tl-item:nth-child(7)::before,
.meta-tl-item:nth-child(8)::before { border-color: var(--navy); background: var(--navy); }
.meta-tl-yr {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.22rem;
}
.meta-tl-item:nth-child(3) .meta-tl-yr,
.meta-tl-item:nth-child(4) .meta-tl-yr,
.meta-tl-item:nth-child(5) .meta-tl-yr { color: var(--blue); }
.meta-tl-item:nth-child(6) .meta-tl-yr,
.meta-tl-item:nth-child(7) .meta-tl-yr,
.meta-tl-item:nth-child(8) .meta-tl-yr { color: var(--navy); }
.meta-tl-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0;
}

.license-wrap, .share-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2.5rem 2.5rem;
}
.license-inner {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.license-inner p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.license-inner a { color: var(--blue); font-weight: 600; }

.share-wrap { padding-bottom: 3.5rem; }
.share-inner {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-card);
}
.share-lbl {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}
.share-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--gray-800);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  font-family: var(--font-body);
  min-height: 44px;
  flex: 1;
  min-width: 120px;
}
.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--white);
}
.share-btn.primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  flex: 2;
  min-width: 180px;
}
.share-btn.primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}

.bib-section {
  background: var(--off-white);
  padding: var(--section-pad) 2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.bib-inner { max-width: 1100px; margin: 0 auto; }
.bib-header {
  margin-bottom: 2.5rem;
  text-align: center;
}
.bib-header .section-rule { justify-content: center; }
.bib-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}
.bib-list { list-style: none; padding: 0; margin: 0; }
.bib-item {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gray-800);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.bib-item:last-child { border-bottom: none; }
.bib-item a { color: var(--blue); font-weight: 600; transition: color 0.18s; }
.bib-item a:hover { color: var(--accent); }

.cite-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,17,31,0.6);
  z-index: 1000;
  backdrop-filter: blur(6px);
}
.cite-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  z-index: 1001;
  width: 90%;
  max-width: 560px;
  overflow: hidden;
}
.cite-popup-head {
  background: var(--navy);
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cite-popup-head h5 {
  margin: 0;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cite-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
  padding: 0;
  line-height: 1;
}
.cite-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.cite-body {
  margin: 1.25rem;
  padding: 1.2rem;
  background: var(--parchment);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--gray-800);
}
.cite-foot {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cite-feedback {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}
.cite-feedback.show { opacity: 1; }

.further-section {
  background: var(--white);
  padding: var(--section-pad) 2rem;
}
.further-inner { max-width: 1200px; margin: 0 auto; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.75rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.further-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.further-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s;
}
.further-card:hover { border-color: var(--gray-400); }
.further-card-img {
  overflow: hidden;
  background: var(--gray-200);
  height: 280px;
  flex-shrink: 0;
}
.further-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.further-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.further-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.further-card-excerpt {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}
.further-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  letter-spacing: 0.01em;
  transition: gap 0.18s, color 0.18s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-family: var(--font-body);
}
.further-card-btn:hover { gap: 0.75rem; color: var(--navy); }

.mnthen-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  z-index: 800;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.mnthen-fab:hover {
  background: var(--navy-mid);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.mnthen-fab::before {
  content: 'Back to Blog';
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.mnthen-fab:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.mnthen-fab::after {
  content: '';
  position: absolute;
  right: calc(100% + 0.35rem);
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mnthen-fab:hover::after { opacity: 1; }

.site-footer {
  background: var(--navy);
  padding: 5rem 2rem 2.5rem;
  color: rgba(255,255,255,0.55);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-light);
  margin-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-brand img { height: 26px; width: auto; }
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 220px;
}
.footer-col h4 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.18s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.775rem; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; align-items: center; gap: 0.6rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.footer-social a:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.15);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (max-width: 960px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .site-header { padding: 0 1.5rem; }
  .article-wrap { padding: 0 1.5rem 4rem; }
  .meta-boxes { grid-template-columns: 1fr; gap: 1.25rem; }
  .further-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .license-wrap, .share-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .bib-section { padding: 4rem 1.5rem; }
}
@media (max-width: 640px) {
  :root { --section-pad: 4.5rem; }
  .article-header { padding: 2rem 1.25rem 0; }
  .article-header h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .meta-right { align-items: flex-start; }
  .article-lead {
    margin: 2rem 0 2rem;
    padding: 0 0 2rem 1rem;
    font-size: 1.1rem;
  }
  .caption-bar { padding: 0.75rem 1.25rem; }
  .article-prose { font-size: 1rem; }
  .article-wrap { padding: 0 1.25rem 3.5rem; }
  .further-grid { grid-template-columns: 1fr; }
  .further-section { padding: var(--section-pad) 1.25rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .search-band { padding: 0.75rem 1.25rem; }
  .license-wrap, .share-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .share-btns { flex-direction: column; }
  .share-btn {
    width: 100%;
    flex: none;
    min-width: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 52px;
  }
  .share-btn.primary { flex: none; }
  .cite-popup { width: 95vw; }
  .bib-section { padding: 3rem 1.25rem; }
  .article-hero img { max-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

