@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/merriweather-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/merriweather-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/merriweather-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/merriweather-700-italic.woff2') format('woff2');
}

:root {
  --navy-950: #000a1e;
  --navy-900: #002147;
  --navy-800: #0d3462;
  --navy-700: #236391;
  --navy-600: #3d7fac;
  --celeste-100: #cee5ff;
  --celeste-200: #96ccff;
  --celeste-300: #91c9fe;
  --white: #ffffff;
  --paper: #f3f3f3;
  --ink-900: #1a1c1c;
  --ink-700: #44474e;
  --ink-500: #5c5f67;
  --ink-300: #74777f;
  --line: #c4c6cf;
  --line-strong: #74777f;
  --success: #1c7a4d;
  --danger: #ba1a1a;

  --font-serif: 'Merriweather', Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 10, 30, 0.06), 0 1px 1px rgba(0, 10, 30, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 10, 30, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 10, 30, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; }

body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: #f9f9f9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-950);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-950);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: 24px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.section { padding: clamp(56px, 9vw, 108px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy-950); }
.section-dark .eyebrow { color: var(--celeste-300); }
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.72); }
.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.wide { max-width: 980px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-top: 10px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; color: var(--ink-500); }
@media (min-width: 720px) { .nowrap-lg { white-space: nowrap; } }
.section-head.center { margin-inline: auto; text-align: center; }

.text-lede { font-size: 1.1rem; color: var(--ink-500); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--navy-950); color: var(--white); }
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { transform: scale(0.98); }
.btn-outline { border-color: var(--navy-950); color: var(--navy-950); background: transparent; }
.btn-outline:hover { background: var(--navy-950); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-950); }
.btn-light:hover { background: var(--celeste-100); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #f9f9f9;
  border-bottom: 1px solid var(--line);
}
.navbar.is-open { background: var(--white); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-700);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--navy-700); border-bottom-color: var(--navy-700); }
.nav-blog-link {
  margin-left: 6px;
  padding: 6px 16px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 999px;
  color: var(--navy-950) !important;
}
.nav-blog-link:hover,
.nav-blog-link:hover.is-active { background: var(--navy-950); color: var(--white) !important; border-color: var(--navy-950) !important; }
.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.navbar.is-open .nav-toggle .icon-menu { display: none; }
.navbar.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .navbar.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    padding: 10px 24px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .navbar.is-open .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .navbar.is-open .nav-links a.nav-blog-link { margin-left: 0; border: none; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink-700) !important; }
  .navbar.is-open .nav-links a.nav-blog-link:hover { background: none; color: var(--navy-700) !important; }
  .navbar.is-open .nav-actions .btn { display: inline-flex; margin-top: 4px; }
  .navbar.is-open .nav-actions { position: absolute; top: 236px; left: 24px; right: 24px; }
  .nav-toggle { display: inline-flex; }
}

.hero {
  position: relative;
  padding-top: clamp(48px, 8vw, 80px);
  padding-bottom: clamp(64px, 8vw, 96px);
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: #f9f9f9;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 10, 30, 0.09) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 130% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 130% at 50% 50%, #000 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
}
.hero-role {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--navy-700);
  font-weight: 700;
}
.hero-desc { margin-top: 18px; max-width: 46ch; font-size: 1.08rem; color: var(--ink-500); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.hero-photo { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
.hero-photo-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  transform: translate(16px, 16px);
  z-index: 0;
}
.hero-photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; order: -1; }
}

.feature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #f9f9f9;
  border: 1px solid var(--line);
  padding: 36px 24px;
  min-height: 220px;
  transition: border-color 0.25s var(--ease);
}
.feature-card:hover { border-color: var(--navy-700); }
.feature-card .feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-card .icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  transition: transform 0.3s var(--ease);
}
.feature-card:hover .icon { transform: translateY(-3px); }
.feature-card .icon svg { width: 36px; height: 36px; }
.feature-card h3 {
  display: inline-block;
  font-size: 1.25rem;
  white-space: nowrap;
  padding-bottom: 3px;
  background-image: linear-gradient(var(--navy-700), var(--navy-700));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  transition: background-size 0.35s var(--ease);
}
.feature-card:hover h3 { background-size: 100% 2px; }
.feature-card p { margin-top: 12px; font-size: 1.05rem; line-height: 1.55; color: var(--ink-500); }

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.timeline { position: relative; margin-top: 12px; max-width: 1120px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: #74777f;
}
.timeline-item {
  position: relative;
  padding-left: 30px;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--navy-950);
  transition: transform 0.2s var(--ease);
}
.timeline-item:hover .timeline-dot { transform: scale(1.5); }
.timeline-period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-700);
}
.timeline-card { margin-top: 6px; }
.timeline-card h3 { font-size: 1.15rem; }
.timeline-card h3 + h3 { margin-top: 8px; }
.timeline-card .role-detail { font-family: var(--font-sans); font-weight: 400; color: var(--ink-700); font-size: 0.9rem; }
.timeline-card .org { display: block; margin-top: 2px; font-family: var(--font-sans); font-weight: 700; color: var(--ink-700); font-size: 0.95rem; }
.timeline-card p { margin-top: 10px; font-size: 0.94rem; color: var(--ink-500); }
.timeline-card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

@media (min-width: 900px) {
  .timeline::before { left: 50%; margin-left: -0.5px; }
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-bottom: 56px;
  }
  .timeline-item:nth-child(odd) { margin-right: 50%; padding-right: 40px; }
  .timeline-item:nth-child(even) { margin-left: 50%; padding-left: 40px; }
  .timeline-item:nth-child(odd) .timeline-dot { left: auto; right: -6px; }
  .timeline-item:nth-child(even) .timeline-dot { left: -6px; }
  .timeline-item:last-child { padding-bottom: 0; }
}
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 12px;
  background: var(--celeste-100);
  color: var(--navy-800);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid var(--navy-900);
  padding: 28px 24px;
  background: transparent;
  transition: background-color 0.25s var(--ease);
}
.service-card:hover { background: rgba(255, 255, 255, 0.05); }
.service-card h3 {
  display: inline-block;
  font-size: 1.08rem;
  color: var(--white);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--celeste-300), var(--celeste-300));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  transition: background-size 0.35s var(--ease);
}
.service-card:hover h3 { background-size: 100% 2px; }
.service-card p { margin-top: 8px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (min-width: 1101px) { .credentials-heading { white-space: nowrap; } }
.reg-panel-row { margin-top: 40px; }
.credential-list { display: flex; flex-direction: column; gap: 18px; }
.credential-item { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.credential-item:last-child { border-bottom: none; padding-bottom: 0; }
.credential-item .icon { width: 22px; height: 22px; color: var(--navy-700); flex: none; margin-top: 2px; transition: transform 0.3s var(--ease); }
.credential-item:hover .icon { transform: translateX(3px); }
.credential-item .icon svg { width: 22px; height: 22px; }
.credential-item h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; color: var(--navy-950); }
.credential-item p { font-size: 0.85rem; color: var(--ink-500); margin-top: 4px; }
.reg-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.reg-panel h3 { font-size: 1.15rem; }
.reg-panel ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.reg-panel li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-700); align-items: flex-start; }
.reg-panel li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--navy-700); }
.lang-panel { background: var(--paper); border: 1px solid var(--line); padding: 32px; }
.lang-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.lang-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-900);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  transition: color .25s var(--ease), transform .25s var(--ease), padding-left .25s var(--ease);
}
.lang-item:last-child { border-bottom: none; padding-bottom: 0; }
.lang-item:hover { color: var(--navy-700); transform: translateX(6px); padding-left: 4px; }
@media (max-width: 1100px) { .credentials-grid { grid-template-columns: 1fr; } }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--navy-700); background: var(--paper); }
.post-cover {
  aspect-ratio: 16/10;
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
}
.post-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.4s var(--ease); }
.post-card:hover .post-cover svg { transform: scale(1.08); }
.post-body {
  padding: 22px 22px 26px;
  display: grid;
  grid-template-rows: auto 2.6em 1fr auto;
  gap: 10px;
  flex: 1;
}
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--ink-500); }
.post-meta .cat { color: var(--navy-700); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.post-body h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.post-body p { font-size: 0.92rem; color: var(--ink-500); overflow: hidden; }
.post-link { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--navy-950); }
.post-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.post-card:hover .post-link svg { transform: translateX(4px); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-hero { padding-top: clamp(48px, 8vw, 72px); padding-bottom: 40px; background: var(--celeste-100); }
.blog-hero .section-head { max-width: 720px; }
.search-row { display: flex; gap: 12px; margin-top: 26px; max-width: 480px; flex-wrap: wrap; }
.search-row input {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.94rem;
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 0 4px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--white);
  transition: all 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--navy-700); }
.filter-chip.is-active { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }
.no-results { display: none; padding: 40px 0; text-align: center; color: var(--ink-500); }
.no-results.is-visible { display: block; }

.article-hero { padding-top: clamp(40px, 8vw, 64px); padding-bottom: 30px; }
.article-hero .cat-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: var(--celeste-100);
  padding: 6px 14px;
  border-radius: 999px;
}
.article-hero h1 { margin-top: 16px; font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 32ch; text-wrap: balance; }
.article-hero .sub { margin-top: 14px; font-size: 1.08rem; color: var(--ink-500); max-width: 84ch; }
.article-meta-row { display: flex; gap: 18px; align-items: center; margin-top: 22px; font-size: 0.86rem; color: var(--ink-500); flex-wrap: wrap; }
.article-cover { margin-top: 34px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21/9; background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); }
.article-cover svg { width: 100%; height: 100%; }

.article-layout { display: grid; grid-template-columns: 200px 1fr 260px; gap: 44px; align-items: start; }
.article-toc { position: sticky; top: 110px; }
.article-toc h4 { font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.article-toc ul { display: flex; flex-direction: column; gap: 10px; }
.article-toc a { font-size: 0.88rem; color: var(--ink-500); border-left: 2px solid var(--line); padding-left: 12px; display: block; }
.article-toc a.is-active { color: var(--navy-950); font-weight: 700; border-left-color: var(--navy-800); }
.share-col { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; }
.share-buttons { display: flex; gap: 10px; }
.share-buttons button, .share-buttons a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.share-buttons button:hover, .share-buttons a:hover { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }
.share-buttons svg { width: 17px; height: 17px; }
.author-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.author-card .name { font-weight: 700; color: var(--navy-950); font-size: 0.98rem; }
.author-card .role { font-size: 0.82rem; color: var(--ink-500); margin-top: 2px; }
.author-card p { margin-top: 10px; font-size: 0.85rem; color: var(--ink-500); }
.prose { max-width: 68ch; font-size: 1.06rem; color: var(--ink-700); }
.prose h2 { font-size: 1.5rem; margin-top: 40px; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 16px; }
.prose ul, .prose ol { margin-top: 16px; padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.prose ol { list-style: decimal; }
.prose blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--navy-700);
  background: var(--paper);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy-900);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose .callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--celeste-100);
  border: 1px solid var(--celeste-300);
}
.prose .callout strong { display: block; color: var(--navy-950); margin-bottom: 4px; font-size: 0.92rem; }
.prose .callout p { margin-top: 0; font-size: 0.92rem; }

.cta-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
  margin-top: 60px;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-banner p { color: var(--celeste-300); margin-top: 10px; max-width: 56ch; margin-inline: auto; }
.cta-banner .hero-cta { justify-content: center; margin-top: 26px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; margin-bottom: 72px; }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { display: none; }
  .share-col { position: static; }
  .share-buttons { justify-content: center; }
}
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-heading { font-size: clamp(2.1rem, 4.2vw, 3rem); }
.contact-links { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact-link { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; font-weight: 600; color: var(--navy-700); }
.contact-link:is(a):hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-link.is-muted { color: var(--ink-700); font-weight: 500; }
.contact-link svg { width: 20px; height: 20px; flex: none; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.form-row .field { margin-top: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-950); }
.required-mark { color: var(--navy-700); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(26, 74, 115, 0.14);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { font-size: 0.78rem; color: var(--danger); min-height: 1em; }
.field.hp { position: absolute; left: -9999px; top: -9999px; }
.form-submit { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 0.88rem; }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="pending"] { color: var(--ink-300); }

@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.back-top {
  position: fixed;
  right: 22px; bottom: 90px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s var(--ease);
}
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; }

.site-footer { background: var(--celeste-100); color: var(--ink-700); padding: 64px 0 28px; border-top: 1px solid var(--celeste-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 32ch; color: var(--ink-500); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--celeste-300);
  color: var(--ink-700);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,0.5); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h5 { color: var(--ink-900); font-size: 0.85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--ink-500); }
.footer-col a:hover { color: var(--ink-900); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--celeste-300);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-500);
}
.footer-bottom a { font-weight: 600; color: var(--ink-700); }
.footer-bottom a:hover { color: var(--ink-900); text-decoration: underline; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.error-page {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--celeste-100);
}
.error-page .code { font-family: var(--font-serif); font-size: clamp(4rem, 14vw, 7rem); color: var(--navy-800); }
.error-page p { margin-top: 10px; color: var(--ink-500); max-width: 44ch; }
.error-page .btn { margin-top: 26px; }
