/* ==========================================================================
   KNSA — knsa.info
   Capital Precision. Industrial Scale.
   Limited-edition editorial system: parchment, navy, ochre, Fraunces.
   ========================================================================== */

:root {
  --canvas: #f5f2eb;
  --surface: #fcfbf8;
  --ivory: #fcfbf8;
  --line: #dcd6c8;
  --line-strong: #c9c1af;
  --navy: #102542;
  --navy-deep: #0a1828;
  --ochre: #b68d40;
  --ochre-light: #d8be86;
  --ochre-wash: rgba(182, 141, 64, 0.09);
  --ink: #141923;
  --muted: #555e6b;
  --danger: #8f2d2d;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --container: 1360px;
  --sidebar: 336px;
  --gap: 56px;
  --header-h: 88px;
  --radius: 2px;
}

html[lang="ja"] {
  --serif: "Fraunces", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Plus Jakarta Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--canvas);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(182, 141, 64, 0.055), transparent 34rem),
    radial-gradient(circle at 92% 62%, rgba(16, 37, 66, 0.045), transparent 42rem);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--navy); color: var(--ivory); }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 400;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

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

.container {
  width: min(100% - 64px, var(--container));
  margin-inline: auto;
}

.read-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 2px;
  background: var(--ochre);
  z-index: 300;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Topbar and header
   ========================================================================== */

.topbar {
  background: var(--navy);
  color: rgba(252, 251, 248, 0.78);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
  padding-block: 7px;
}

.topbar-note,
.topbar-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.topbar-dot {
  width: 5px;
  height: 5px;
  background: var(--ochre);
  flex: none;
}

.topbar-sep { color: rgba(252, 251, 248, 0.32); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(245, 242, 235, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(252, 251, 248, 0.97);
  box-shadow: 0 12px 30px rgba(16, 37, 66, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--navy);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
}
.brand-mark svg { width: 46px; height: 46px; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.17em;
}
.brand-tagline {
  font-size: 0.55rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  transition: color 0.18s ease;
}
.nav-link::-webkit-details-marker { display: none; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 1px;
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--navy); }

.nav-item-drop { position: relative; }
.nav-drop { position: relative; }
.nav-drop[open] > .nav-link { color: var(--navy); }
.nav-drop[open] > .nav-link::after { transform: scaleX(1); }
.chev { transition: transform 0.2s ease; flex: none; }
.nav-drop[open] .chev,
.lang-switch[open] .chev { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 276px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(16, 37, 66, 0.14);
  z-index: 140;
}
.drop-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.drop-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(220, 214, 200, 0.55);
}
.drop-link:last-child { border-bottom: 0; }
.drop-link:hover { background: var(--ochre-wash); color: var(--navy); }
.drop-num {
  font-family: var(--serif);
  font-size: 0.72rem;
  color: var(--ochre);
  min-width: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--navy);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.72rem 0.95rem; font-size: 0.59rem; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-light { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn-light:hover { background: var(--ochre); color: var(--navy); border-color: var(--ochre); }
.btn-block { width: 100%; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  list-style: none;
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover { border-color: var(--ochre); }
.lang-btn .flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border: 1px solid rgba(20, 25, 35, 0.18);
  flex: none;
}
.lang-label { white-space: nowrap; }
.lang-code { color: var(--ochre); font-size: 0.58rem; letter-spacing: 0.08em; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 246px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(16, 37, 66, 0.16);
  z-index: 150;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(220, 214, 200, 0.55);
}
.lang-option:last-child { border-bottom: 0; }
.lang-option:hover { background: var(--ochre-wash); }
.lang-option img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border: 1px solid rgba(20, 25, 35, 0.18);
  flex: none;
}
.lang-option small {
  margin-left: auto;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  color: var(--ochre);
}
.lang-option.is-current { background: rgba(16, 37, 66, 0.045); }
.lang-option.is-current span { color: var(--navy); }
.lang-option.is-current::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ochre);
  margin-left: 2px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  place-items: center;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Mobile panel */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--canvas);
  overflow-y: auto;
  padding: 22px 24px 40px;
}
.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
}
.mobile-nav { list-style: none; margin: 18px 0 0; padding: 0; }
.mobile-nav > li { border-bottom: 1px solid var(--line); }
.mobile-nav > li > a,
.mobile-nav > li > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.mobile-about { border-bottom: 0 !important; }
.mobile-about summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.mobile-about summary::-webkit-details-marker { display: none; }
.mobile-about summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ochre);
}
.mobile-about[open] summary::after { content: "–"; }
.mobile-sub {
  list-style: none;
  margin: 0 0 14px;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--ochre);
}
.mobile-sub a {
  display: block;
  padding: 7px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.mobile-lang { margin-top: 26px; }
.mobile-lang h2 {
  margin: 0 0 10px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
}
.mobile-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile-lang-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.74rem;
  font-weight: 600;
}
.mobile-lang-grid img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border: 1px solid rgba(20, 25, 35, 0.16);
}
.mobile-panel .btn { margin-top: 24px; width: 100%; }

/* Language notice */
.lang-notice {
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  background: var(--surface);
  padding: 12px 0;
}
.lang-notice-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.lang-notice p {
  margin: 0;
  max-width: 100ch;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--muted);
}
.lang-notice strong { color: var(--navy); }
.notice-close {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}
.notice-close:hover { border-color: var(--navy); color: var(--navy); }

/* ==========================================================================
   Page shell and sidebar
   ========================================================================== */

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  gap: var(--gap);
  align-items: start;
  padding-block: 40px 84px;
}
.main-column { min-width: 0; }

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-strong); }

.sidebar-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}
.sidebar-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--navy);
  color: var(--ochre-light);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}
.sidebar-kicker {
  margin: 0 0 2px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
}
.sidebar-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

.widget {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.widget-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 13px;
}
.widget-num {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ochre);
}
.widget h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.widget-resources { padding-top: 18px; }
.client-links {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--muted);
}
.client-links p { margin: 0 0 9px; }
.client-links p:last-child { margin-bottom: 0; }
.client-links a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 2px;
}
.client-links a:hover { color: var(--ochre); }

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.archive-list li {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.archive-list a {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  text-decoration: none;
}
.archive-list a:hover { color: var(--ochre); }
.archive-list span {
  flex: none;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 3px;
}

.search-form { position: relative; }
.search-input {
  width: 100%;
  min-height: 44px;
  padding: 11px 46px 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--ink);
}
.search-input::placeholder { color: #8a8f98; }
.search-input:focus {
  outline: 2px solid rgba(182, 141, 64, 0.35);
  outline-offset: 0;
  border-color: var(--navy);
}
.search-submit {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 40px;
  border: 0;
  background: var(--navy);
  color: var(--ivory);
  display: grid;
  place-items: center;
}
.search-submit:hover { background: var(--ochre); color: var(--navy); }
.search-hint {
  margin: 8px 0 0;
  font-size: 0.66rem;
  color: var(--muted);
}
.search-results:not(:empty) {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.search-count {
  margin: 8px 0 2px;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ochre);
}
.search-result {
  display: block;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}
.search-result:hover { background: var(--ochre-wash); }
.search-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ochre);
}
.search-lang { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.search-lang img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border: 1px solid rgba(20, 25, 35, 0.16);
}
.search-title {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.search-dek {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}
.search-empty {
  margin: 10px 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--muted);
}

.sector-list { list-style: none; margin: 0; padding: 0; }
.sector-list li { border-bottom: 1px dotted var(--line); }
.sector-list li:last-child { border-bottom: 0; }
.sector-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.sector-list a:hover { color: var(--ochre); }
.sector-list svg { flex: none; color: var(--ochre); }

.featured-list { list-style: none; margin: 0; padding: 0; }
.featured-list li { border-bottom: 1px solid var(--line); }
.featured-list li:last-child { border-bottom: 0; }
.featured-list a {
  display: flex;
  gap: 10px;
  padding: 12px 0;
}
.featured-num {
  flex: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ochre);
}
.featured-cat {
  display: block;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.featured-title {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--navy);
}
.featured-list a:hover .featured-title { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 3px; }

.widget-advisory {
  margin-top: 22px;
  padding: 24px 20px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--ivory);
}
.widget-advisory .widget-num { color: var(--ochre-light); }
.widget-advisory h2 {
  color: var(--ivory);
  font-size: 1.5rem;
  margin: 6px 0 8px;
}
.widget-advisory > p {
  margin: 0 0 16px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(252, 251, 248, 0.7);
}
.wa-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(252, 251, 248, 0.16);
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 600;
}
.wa-link:hover { color: var(--ochre-light); }
.wa-link small {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre-light);
}
.wa-link svg { flex: none; color: var(--ochre-light); }
.advisory-note {
  margin: 12px 0 0 !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.04em;
  color: rgba(252, 251, 248, 0.45) !important;
}

/* ==========================================================================
   Homepage hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 38px;
  align-items: end;
  padding: 14px 0 40px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
}
.eyebrow-line {
  width: 26px;
  height: 1px;
  background: var(--ochre);
  flex: none;
}
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.9vw, 4.35rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ochre);
}
.hero-dek {
  max-width: 58ch;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hero-facts div {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.hero-facts div:last-child { border-right: 0; }
.hero-facts dt {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-facts dd {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--navy);
}
.hero-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px;
}
.hero-figure img { width: 100%; height: auto; }
.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px 0;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.hero-figure figcaption span {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ochre);
}
.hero-figure figcaption span:last-child { white-space: normal; }

.register {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.register-item {
  display: flex;
  gap: 12px;
  padding: 22px 18px 22px 0;
  border-right: 1px solid var(--line);
}
.register-item + .register-item { padding-left: 18px; }
.register-item:last-child { border-right: 0; padding-right: 0; }
.register-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ochre);
  padding-top: 2px;
}
.register-item h2 {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}
.register-item p {
  margin: 0;
  font-size: 0.71rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   Section heads, filters, article cards
   ========================================================================== */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 52px 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}
.section-head .eyebrow { margin-bottom: 8px; }
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.section-head-note {
  flex: none;
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 6px;
}
.filter-btn {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.filter-btn:hover { border-color: var(--ochre); color: var(--navy); }
.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}
.filter-btn .filter-label { margin-left: 0; opacity: 1; }
.filter-btn [data-count] { margin-left: 4px; opacity: 0.55; }
.filter-status {
  margin: 4px 0 16px;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.article-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 0;
  height: 3px;
  background: var(--ochre);
  z-index: 2;
  transition: width 0.3s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(16, 37, 66, 0.08);
}
.article-card:hover::before { width: calc(100% + 2px); }
.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.article-card:hover .card-media img { transform: scale(1.035); }
.card-cat,
.card-lang {
  position: absolute;
  top: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.card-cat { left: 11px; background: var(--ivory); color: var(--navy); }
.card-lang { right: 11px; background: rgba(16, 37, 66, 0.92); color: var(--ivory); }
.card-lang img {
  width: 17px;
  height: 11px;
  object-fit: cover;
  border: 1px solid rgba(252, 251, 248, 0.3);
}
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 18px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.card-num { color: var(--ochre); }
.card-read { color: var(--muted); }
.card-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.card-body h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 3px;
}
.card-body p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.6rem;
  color: var(--muted);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.card-link svg { transition: transform 0.18s ease; }
.card-link:hover svg { transform: translateX(3px); }
.filter-empty {
  margin: 20px 0 0;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  font-size: 0.84rem;
  color: var(--muted);
}
.library-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}
.library-note a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 3px;
}

/* ==========================================================================
   Homepage principles and CTA
   ========================================================================== */

.principles { margin-top: 52px; }
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle {
  padding: 22px 22px 24px 0;
  border-right: 1px solid var(--line);
}
.principle + .principle { padding-left: 22px; }
.principle:last-child { border-right: 0; padding-right: 0; }
.principle-num {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ochre);
}
.principle h3 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--navy);
}
.principle p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding: 30px 32px;
  background: var(--navy);
  border-left: 6px solid var(--ochre);
  color: var(--ivory);
}
.cta-band h2 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ivory);
}
.cta-band p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(252, 251, 248, 0.68);
}

/* ==========================================================================
   Article
   ========================================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--ochre); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb [aria-current="page"] { color: var(--navy); }

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  background: var(--navy);
  color: var(--ivory);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.kicker-sep {
  width: 18px;
  height: 1px;
  background: var(--ochre);
}
.lang-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lang-indicator img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border: 1px solid rgba(20, 25, 35, 0.16);
}

.article h1 {
  margin: 16px 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.3vw, 3.65rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.article-dek {
  max-width: 70ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.58;
  color: var(--muted);
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 22px 0 24px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  color: var(--muted);
}
.article-byline strong { color: var(--ink); font-weight: 700; }
.byline-dot { width: 3px; height: 3px; background: var(--ochre); border-radius: 50%; }
.copy-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.copy-link:hover { border-color: var(--ochre); color: var(--navy); }

.article-figure {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 7px;
}
.article-figure img { width: 100%; height: auto; }
.article-figure figcaption {
  padding: 8px 2px 1px;
  font-size: 0.64rem;
  line-height: 1.5;
  color: var(--muted);
}

.article-toc {
  margin: 0 0 28px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.toc-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
}
.toc-label::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--ochre);
}
.article-toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 24px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.article-toc li { counter-increment: toc; }
.article-toc a {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--muted);
}
.article-toc a::before {
  content: "0" counter(toc);
  flex: none;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ochre);
  padding-top: 1px;
}
.article-toc a:hover { color: var(--navy); }
.article-toc a.is-active { color: var(--navy); font-weight: 700; }

.article-body {
  max-width: 72ch;
  counter-reset: h2;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}
.article-body > p { margin: 0 0 18px; }
.article-body h2 {
  counter-increment: h2;
  scroll-margin-top: 112px;
  margin: 46px 0 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: clamp(1.58rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: var(--navy);
}
.article-body h2::before {
  content: "0" counter(h2);
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ochre);
}
.article-body h3 {
  margin: 27px 0 7px;
  scroll-margin-top: 108px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}
.article-body a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--ochre); }
.article-body ul,
.article-body ol { margin: 0 0 20px; padding-left: 1.25rem; }
.article-body li { margin-bottom: 7px; }
.article-body strong { font-weight: 700; color: var(--navy); }
.article-body em { font-style: italic; }
.article-body hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.takeaways {
  margin: 0 0 32px;
  padding: 24px 26px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--ivory);
}
.takeaways h2 {
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  font-size: 1.45rem;
  color: var(--ivory);
  counter-increment: none;
}
.takeaways h2::before {
  color: var(--ochre-light);
  content: "THE BRIEF / KEY TAKEAWAYS";
}
.takeaways ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.takeaways li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(252, 251, 248, 0.86);
}
.takeaways li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--ochre);
}
.takeaways strong { color: var(--ivory); }

.table-wrap {
  margin: 24px 0 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow-x: auto;
}
.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.78rem;
  line-height: 1.5;
}
.table-wrap caption {
  caption-side: top;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ochre);
}
.table-wrap th {
  padding: 9px 11px;
  background: var(--navy);
  color: var(--ivory);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  vertical-align: bottom;
}
.table-wrap td {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}
.table-wrap tbody tr:nth-child(even) { background: rgba(220, 214, 200, 0.18); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td strong { color: var(--ink); }

.callout {
  margin: 24px 0;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ochre);
  background: var(--surface);
}
.callout-label {
  margin: 0 0 5px;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
}
.callout p { margin: 0 0 10px; font-size: 0.9rem; }
.callout p:last-child { margin-bottom: 0; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--line);
}
.stat-row > div {
  padding: 0 15px;
  border-right: 1px solid var(--line);
}
.stat-row > div:first-child { padding-left: 0; }
.stat-row > div:last-child { border-right: 0; padding-right: 0; }
.stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
}
.stat-row span {
  display: block;
  margin-top: 6px;
  font-size: 0.64rem;
  line-height: 1.45;
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  font-size: 0.84rem;
  line-height: 1.55;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ochre);
  font-weight: 700;
}

.pullquote {
  margin: 30px 0;
  padding: 4px 0 4px 21px;
  border-left: 3px solid var(--ochre);
  font-family: var(--serif);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}
.pullquote p { margin: 0; }
.pullquote cite {
  display: block;
  margin-top: 9px;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq { margin: 8px 0 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--ochre);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 0 13px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.article-foot {
  max-width: 72ch;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 2px solid var(--navy);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-tags a {
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  letter-spacing: 0.05em;
}
.article-tags a:hover { border-color: var(--ochre); color: var(--navy); }
.article-disclaimer {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: rgba(220, 214, 200, 0.2);
  font-size: 0.68rem;
  line-height: 1.6;
  color: var(--muted);
}
.related { margin-top: 28px; }
.related .eyebrow { margin-bottom: 10px; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.related-link {
  display: block;
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.related-link:hover { border-color: var(--ochre); background: var(--ivory); }
.related-cat {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
}
.related-link strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.32;
  color: var(--navy);
}

/* ==========================================================================
   About / legal / contact pages
   ========================================================================== */

.page-head {
  padding: 4px 0 24px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--navy);
}
.page-head h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.page-dek {
  max-width: 68ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
}
.page-body {
  max-width: 74ch;
  font-size: 0.98rem;
  line-height: 1.75;
}
.page-body h2 {
  margin: 36px 0 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.page-body h3 {
  margin: 24px 0 7px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}
.page-body p { margin: 0 0 17px; }
.page-body ul,
.page-body ol { margin: 0 0 18px; padding-left: 1.25rem; }
.page-body li { margin-bottom: 6px; }
.page-body a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 3px;
}
.page-body a:hover { color: var(--ochre); }
.page-body strong { color: var(--navy); }
.page-body code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  background: rgba(220, 214, 200, 0.25);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82em;
  color: var(--navy);
}
.page-body .lede {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 18px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-meta span { color: var(--ochre); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0 30px;
}
.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-card--wide { grid-column: 1 / -1; }
.contact-card .label {
  margin: 0 0 5px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
}
.contact-card h2,
.contact-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
  border: 0;
  padding: 0;
}
.contact-card p { margin: 0 0 8px; font-size: 0.82rem; color: var(--muted); }
.contact-card a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--ochre);
  text-underline-offset: 3px;
}
.contact-card a:hover { color: var(--ochre); }
.contact-card .small { font-size: 0.7rem; font-weight: 400; color: var(--muted); }

.form {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.form h2 {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  font-size: 1.5rem;
}
.form > p { margin: 0 0 16px; font-size: 0.8rem; color: var(--muted); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 13px;
}
.field label {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
}
.field label .req { color: var(--ochre); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ivory);
  font-size: 0.86rem;
  color: var(--ink);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(182, 141, 64, 0.3);
  outline-offset: 0;
  border-color: var(--navy);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field .error {
  min-height: 0;
  font-size: 0.68rem;
  color: var(--danger);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 15px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}
.consent input { width: 15px; height: 15px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.form-status:empty { display: none; }
.form-status {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--ochre-wash);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--navy);
}
.form-status a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--ochre); }

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}
.sitemap-group {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.sitemap-group--wide { grid-column: 1 / -1; }
.sitemap-group h2 {
  margin: 0 0 9px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
}
.sitemap-group ul { list-style: none; margin: 0; padding: 0; }
.sitemap-group li {
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.78rem;
}
.sitemap-group li:last-child { border-bottom: 0; }
.sitemap-group a { text-decoration: none; }
.sitemap-group a:hover { color: var(--ochre); text-decoration: underline; text-decoration-color: var(--ochre); }

.lang-matrix {
  width: 100%;
  margin: 18px 0 24px;
  border-collapse: collapse;
  font-size: 0.74rem;
  background: var(--surface);
}
.lang-matrix caption {
  caption-side: top;
  padding: 0 0 8px;
  text-align: left;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
}
.lang-matrix th,
.lang-matrix td { padding: 8px 9px; border: 1px solid var(--line); text-align: left; }
.lang-matrix th {
  background: var(--navy);
  color: var(--ivory);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lang-matrix td { color: var(--muted); }
.lang-matrix a { text-decoration: none; font-weight: 600; color: var(--navy); }
.lang-matrix a:hover { color: var(--ochre); }

.legal-body { counter-reset: legal; }
.legal-body h2 { counter-increment: legal; }
.legal-body h2::before {
  content: counter(legal) ". ";
  color: var(--ochre);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  color: var(--muted);
}
.legal-meta strong { color: var(--navy); }

.rate-table {
  width: 100%;
  margin: 18px 0 24px;
  border-collapse: collapse;
  font-size: 0.78rem;
  background: var(--surface);
}
.rate-table th,
.rate-table td { padding: 10px 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.rate-table th {
  background: var(--navy);
  color: var(--ivory);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rate-table td { color: var(--muted); }
.rate-table td strong { color: var(--navy); }

.contact-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin: 26px 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-banner img { border: 1px solid var(--line); }
.contact-banner h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 1.5rem; }
.contact-banner p { font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 20px;
  background: var(--navy);
  color: rgba(252, 251, 248, 0.78);
  border-top: 6px solid var(--ochre);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 54px 0 38px;
}
.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
}
.footer-brand svg { width: 40px; height: 40px; }
.footer-brand .name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}
.footer-tagline {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ochre-light);
}
.footer-brand p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(252, 251, 248, 0.58);
}
.footer-editions {
  margin-top: 14px !important;
  font-size: 0.56rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre-light) !important;
}
.footer-col h2 {
  margin: 0 0 13px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ochre-light);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-col a {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(252, 251, 248, 0.68);
}
.footer-col a:hover { color: var(--ivory); }
.footer-contact a { display: block; margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(252, 251, 248, 0.14);
  font-size: 0.62rem;
  color: rgba(252, 251, 248, 0.45);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ochre-light); }

/* ==========================================================================
   404
   ========================================================================== */

.error-page {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  min-height: 58vh;
  padding: 30px 0;
}
.error-code {
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 11rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--ochre);
}
.error-copy h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.error-copy p {
  max-width: 50ch;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}
.error-links { display: flex; flex-wrap: wrap; gap: 9px; }

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

@media (max-width: 1280px) {
  :root { --sidebar: 318px; --gap: 42px; }
  .container { width: min(100% - 48px, var(--container)); }
  .brand-tagline { letter-spacing: 0.07em; }
}

@media (max-width: 1120px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 32px 64px;
  }
  .sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    padding-top: 20px;
    border-top: 2px solid var(--navy);
  }
  .sidebar-head { grid-column: 1 / -1; border-bottom-width: 1px; }
  .widget-advisory { margin-top: 0; }
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr); }
}

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-inner { min-height: 76px; }
  :root { --header-h: 76px; }
  .sidebar { top: auto; }
  .hero h1 { font-size: clamp(2.6rem, 6vw, 3.7rem); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .hero-figure { max-width: 560px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
  .footer-contact { grid-column: 1 / -1; }
  .register { grid-template-columns: 1fr; }
  .register-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .register-item + .register-item { padding-left: 0; }
  .register-item:last-child { border-bottom: 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .principle + .principle { padding-left: 0; }
  .principle:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, var(--container)); }
  .topbar-inner { min-height: 32px; font-size: 0.56rem; }
  .topbar-meta { display: none; }
  .brand-mark, .brand-mark svg { width: 40px; height: 40px; }
  .brand-name { font-size: 1.35rem; }
  .brand-tagline { font-size: 0.49rem; }
  .hero { padding-top: 8px; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 3.2rem); }
  .hero-dek { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .card-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-head-note { text-align: left; }
  .article h1 { font-size: clamp(2.05rem, 7.5vw, 2.9rem); }
  .article-dek { font-size: 1.04rem; }
  .article-body { font-size: 0.97rem; }
  .article-toc ol { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; padding: 0; }
  .stat-row > div { padding: 13px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-row > div:last-child { border-bottom: 0; }
  .checklist { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card--wide { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .contact-banner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding: 42px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .error-page { grid-template-columns: 1fr; gap: 16px; min-height: 50vh; }
  .error-code { font-size: 6rem; }
  .cta-band { padding: 26px 22px; }
  .cta-band h2 { font-size: 1.55rem; }
  .library-note { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 620px) {
  .sidebar { grid-template-columns: 1fr; }
  .sidebar-head { grid-column: auto; }
  .page-shell { padding-block: 24px 52px; }
  .article-byline { font-size: 0.63rem; }
  .copy-link { margin-left: 0; }
  .takeaways { padding: 20px 18px; }
  .table-wrap { margin-inline: -4px; }
  .hero-facts dd { font-size: 1.3rem; }
  .filter-row { gap: 6px; }
  .filter-btn { padding: 6px 10px; font-size: 0.55rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand-tagline { display: none; }
  .brand-mark, .brand-mark svg { width: 36px; height: 36px; }
  .brand-name { font-size: 1.22rem; }
  .mobile-lang-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .article-kicker { font-size: 0.55rem; }
  .article-tags { font-size: 0.55rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar, .site-header, .sidebar, .site-footer, .lang-notice, .read-progress, .article-toc, .copy-link { display: none !important; }
  .page-shell { display: block; padding: 0; }
  body { background: #fff; color: #000; }
  .article-body, .article-foot { max-width: none; }
  .article-figure { break-inside: avoid; }
  a { text-decoration: none; color: #000; }
}
