:root {
  --ink: #332c31;
  --muted: #6a6066;
  --paper: #f7f3ed;
  --white: #fffefb;
  --plum: #593b4b;
  --plum-dark: #352832;
  --rose: #f0e5e4;
  --copper: #a24e3d;
  --line: #e1d8d3;
  --gold: #e5bb84;
  --shadow: 0 20px 60px rgba(61, 39, 48, .08);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--copper); }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--plum-dark);
  color: white;
  z-index: 100;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 254, 251, .98);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum-dark); flex-shrink: 0; }
.brand img { width: 43px; height: 43px; }
.brand-name { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 23px; line-height: 1.15; font-weight: bold; }
.brand-sub { display: block; text-transform: uppercase; font-size: 10px; letter-spacing: .15em; margin-top: 5px; color: var(--muted); }
.primary-menu { display: flex; align-items: center; gap: 22px; }
.nav-group { position: relative; }
.nav-group summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 650; display: flex; align-items: center; gap: 7px; padding: 16px 0; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary svg { transition: transform .2s; }
.nav-group[open] summary svg { transform: rotate(180deg); }
.nav-panel {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 270px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.nav-panel a { display: block; padding: 10px 12px; text-decoration: none; font-size: 14px; border-radius: 7px; line-height: 1.45; }
.nav-panel a:hover { background: var(--rose); color: var(--plum); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 9px 12px; border-radius: 8px; color: var(--ink); }
.eyebrow { color: var(--copper); font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 14px; }
h1, h2, h3, h4, h5 { line-height: 1.18; margin-top: 0; font-weight: 600; text-wrap: balance; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; }
h1 { font-size: clamp(35px, 4vw, 57px); letter-spacing: -.035em; margin-bottom: 25px; font-weight: 500; }
h2 { font-size: clamp(26px, 2.8vw, 37px); letter-spacing: -.02em; margin-bottom: 22px; }
h3 { font-size: 19px; }
.hero { padding: 56px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero-copy h2 { font: 650 18px/1.45 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: 0; margin: 26px 0 14px; }
.editorial-text { color: #51474f; margin: 0; font-size: 17px; line-height: 1.85; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 20px; box-shadow: var(--shadow); }
.photo-label { margin-top: 15px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; gap: 20px; }
.photo-label span:last-child { color: var(--plum); }
.hero-stats { display: flex; gap: 32px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stats strong { font: 500 28px/1.1 Georgia, serif; display: block; color: var(--plum); }
.hero-stats span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.citations { white-space: nowrap; font: 600 11px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; vertical-align: super; margin-left: 4px; }
.citations a { color: var(--copper); text-decoration: none; padding: 0 2px; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.quick-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); background: var(--white); padding: 20px 22px; border-radius: 13px; text-decoration: none; font-weight: 650; font-size: 15px; }
.quick-link:hover { border-color: var(--copper); background: #fff9f4; }
.quick-link svg { color: var(--copper); }
.orientation { background: var(--plum-dark); color: var(--white); padding: 48px 0; margin-top: 16px; }
.orientation-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.orientation h2 { font-size: 31px; margin-bottom: 0; }
.orientation .eyebrow { color: var(--gold); }
.orientation .editorial-text { color: #ede3e8; }
.orientation .citations a { color: var(--gold); }
.directory { padding: 64px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; }
.section-note { color: var(--muted); font-size: 14px; max-width: 320px; }
.search-box { display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: end; gap: 15px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; margin: 0 0 14px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.field input, .field select { width: 100%; min-height: 47px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; color: var(--ink); font-size: 15px; }
.reset-button { min-height: 47px; border: 1px solid var(--line); background: transparent; border-radius: 7px; color: var(--plum); padding: 9px 16px; font-size: 14px; }
.reset-button:disabled { opacity: .45; cursor: default; }
.search-status { margin-bottom: 26px; min-height: 24px; color: var(--muted); font-size: 13px; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.directory-card { border: 1px solid var(--line); border-radius: 15px; padding: 27px 24px 19px; background: var(--white); scroll-margin-top: 110px; }
.directory-card.country-card { grid-column: span 2; background: #f0e8e4; }
.directory-card h3 { font: 600 22px/1.2 Georgia, serif; margin-bottom: 9px; letter-spacing: -.015em; }
.group-caption { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; min-height: 42px; }
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { border-top: 1px solid var(--line); }
.guide-list a { display: flex; align-items: start; gap: 12px; justify-content: space-between; padding: 12px 0; font-size: 14px; line-height: 1.55; text-decoration: none; }
.guide-list a:after { content: '↗'; color: var(--copper); font-size: 16px; flex-shrink: 0; }
.guide-list a:hover { text-decoration: underline; }
.country-card .guide-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.empty-state { padding: 34px; border: 1px dashed var(--line); border-radius: 13px; background: var(--white); }
.empty-state strong { display: block; margin-bottom: 7px; }
.empty-state span { color: var(--muted); }
.sources-section { padding: 48px 0 64px; border-top: 1px solid var(--line); }
.sources-section h2 { max-width: 850px; }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.source-card { padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.source-number { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; color: var(--plum); background: var(--rose); border-radius: 50%; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.source-card h3 { margin-bottom: 12px; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.source-card h3 a { text-decoration: none; }
.source-card h3 a:hover { text-decoration: underline; }
.source-card .source-description { font-size: 14px; line-height: 1.75; color: var(--muted); }
.source-domain { font-size: 11px; color: var(--copper); margin-top: 17px; overflow-wrap: anywhere; letter-spacing: .015em; }
.breadcrumbs { list-style: none; padding: 0; margin: 25px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.breadcrumbs li + li:before { content: '/'; color: #b3a1aa; padding-right: 8px; }
.breadcrumbs a { text-decoration: none; }
.article-heading { max-width: 1000px; }
.article-heading h1 { font-size: clamp(34px, 3.5vw, 49px); margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; color: var(--muted); font-size: 12px; margin-bottom: 32px; }
.topic-tag { background: var(--rose); color: var(--plum); padding: 5px 11px; border-radius: 5px; font-size: 11px; font-weight: 650; }
.article-lead { display: grid; grid-template-columns: 1.05fr 1fr; gap: 42px; align-items: start; }
.article-section h2 { font-size: 28px; margin-bottom: 18px; }
.article-lead .hero-photo { margin-top: 4px; }
.second-section { display: grid; grid-template-columns: 1.65fr .75fr; gap: 55px; margin: 46px 0 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.reading-rail { padding: 25px; border-radius: 13px; background: var(--rose); align-self: start; }
.reading-rail strong { display: block; color: var(--plum); font-size: 14px; margin-bottom: 12px; }
.reading-rail a { display: block; font-size: 13px; line-height: 1.7; margin-top: 9px; text-decoration: none; }
.reading-rail a:hover { text-decoration: underline; }
.reading-rail svg { vertical-align: middle; margin-right: 7px; color: var(--copper); }
.related-section { padding: 45px 0 60px; background: #ece4e0; border-top: 1px solid var(--line); }
.related-section h2 { font-size: 29px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.related-card { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; border: 1px solid #d9cbc9; border-radius: 12px; background: var(--white); padding: 22px; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.5; }
.related-card:hover { border-color: var(--copper); }
.related-card small { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 500; }
.legal-main { padding: 38px 0 62px; }
.legal-layout { display: grid; grid-template-columns: 1fr 275px; gap: 40px; align-items: start; }
.legal-content { border: 1px solid var(--line); border-radius: 16px; padding: 38px; background: var(--white); }
.legal-content h2 { font-size: 27px; margin: 35px 0 18px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.8; margin-top: 0; margin-bottom: 13px; }
.legal-content ul { padding-left: 22px; }
.legal-content a { overflow-wrap: anywhere; color: var(--plum); }
.legal-nav { background: var(--rose); border-radius: 13px; padding: 25px; position: sticky; top: 113px; }
.legal-nav strong { display: block; font-size: 14px; margin-bottom: 12px; }
.legal-nav a { display: block; font-size: 13px; padding: 9px 0; line-height: 1.5; }
.legal-nav a[aria-current=page] { color: var(--plum); font-weight: 700; }
.site-footer { background: var(--plum-dark); color: #f4ebef; padding: 47px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 45px; }
.footer-title { font: 500 23px/1.3 Georgia, serif; margin-bottom: 13px; }
.footer-description { font-size: 13px; color: #d4c5cd; max-width: 280px; }
.footer-heading { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 14px; }
.footer-links a { display: block; padding: 4px 0; font-size: 13px; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-contact { font-size: 13px; line-height: 1.9; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-bottom { margin-top: 35px; padding-top: 20px; border-top: 1px solid #5b4552; display: flex; justify-content: space-between; gap: 20px; color: #c9b9c2; font-size: 11px; }
.not-found { padding: 70px 0 90px; max-width: 850px; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--plum); border-radius: 9px; color: white; text-decoration: none; font-size: 15px; }
.button:hover { background: var(--plum-dark); color: white; }
.not-found .button { margin-top: 24px; }
@media (max-width: 1100px) {
  .primary-menu { gap: 16px; }
  .nav-group summary { font-size: 12px; }
  .hero-grid, .article-lead { gap: 30px; }
  .brand-name { font-size: 20px; }
  .wrap { width: min(1240px, calc(100% - 48px)); }
}
@media (max-width: 900px) {
  .header-inner { min-height: 78px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .primary-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 24px 22px; background: var(--white); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 78px); overflow-y: auto; }
  .primary-menu.is-open { display: block; }
  .nav-group summary { font-size: 15px; padding: 14px 0; justify-content: space-between; }
  .nav-panel { position: static; min-width: 0; box-shadow: none; padding: 5px; background: var(--paper); margin-bottom: 8px; }
  .hero { padding-top: 36px; }
  .hero-grid, .article-lead { grid-template-columns: 1fr; }
  .hero-grid .hero-photo { max-width: 680px; width: 100%; }
  .hero-copy { max-width: 740px; }
  .hero-copy h2 { margin-top: 22px; }
  .hero-photo img { border-radius: 15px; }
  .quick-link { padding: 17px; font-size: 13px; }
  .orientation-grid { grid-template-columns: 1fr; gap: 24px; }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-card.country-card { grid-column: span 2; }
  .source-grid { gap: 13px; }
  .source-card { padding: 20px; }
  .second-section { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .reading-rail { display: flex; flex-wrap: wrap; gap: 10px 24px; }
  .reading-rail strong { flex-basis: 100%; margin: 0; }
  .reading-rail a { margin: 0; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 12px; min-height: 74px; }
  .brand img { width: 35px; height: 35px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 8px; letter-spacing: .11em; }
  .menu-toggle { font-size: 12px; padding: 8px 10px; }
  h1 { font-size: 37px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 25px; }
  .quick-links { grid-template-columns: 1fr; gap: 10px; margin-top: 25px; }
  .quick-link { padding: 15px 18px; font-size: 15px; }
  .orientation { padding: 35px 0; }
  .orientation h2 { font-size: 28px; }
  .editorial-text { font-size: 16px; }
  .directory { padding: 42px 0; }
  .section-heading { display: block; }
  .section-note { margin-top: 16px; max-width: none; }
  .search-box { grid-template-columns: 1fr; padding: 18px; }
  .reset-button { min-height: 40px; }
  .directory-grid, .source-grid { grid-template-columns: 1fr; }
  .directory-card.country-card { grid-column: auto; }
  .country-card .guide-list { grid-template-columns: 1fr; }
  .directory-card { padding: 23px 22px 15px; }
  .group-caption { min-height: 0; }
  .guide-list a { font-size: 15px; }
  .sources-section { padding: 35px 0 42px; }
  .source-card h3 { font-size: 18px; }
  .source-description { font-size: 15px; }
  .article-heading h1 { font-size: 34px; }
  .article-section h2 { font-size: 26px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { flex-direction: row; align-items: center; padding: 20px; }
  .related-card small { max-width: 110px; }
  .legal-content { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-description { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .reading-rail, .related-section, .search-box { display: none; }
  body { background: white; color: black; font-size: 11pt; }
  .wrap { width: 100%; }
  .article-lead, .second-section, .legal-layout { display: block; }
  .hero-photo { max-width: 500px; margin: 24px 0; }
  .sources-section, .legal-content { border: 0; padding: 20px 0; }
  .source-grid { display: block; }
  .source-card { break-inside: avoid; margin-bottom: 10px; }
}
