/* =========================================================
   Francophone Books — design system
   Palette: forest green + terracotta + gold on warm paper.
   ========================================================= */
:root {
  --green-950: #0f211b;
  --green-900: #16302a;
  --green-800: #1e4a3a;
  --green-700: #0e6b4b;
  --green-600: #168059;
  --green-100: #d9ece2;
  --green-50:  #eef6f1;
  --terra-700: #8a381f;
  --terra-600: #a4472a;
  --terra-500: #c0643c;
  --terra-100: #f4dfd2;
  --terra-50:  #faf0e8;
  --gold:      #e8b64a;
  --gold-600:  #cf9d33;
  --gold-100:  #f8ecc9;
  --gold-50:   #fcf6e3;
  --paper:     #f4f0e6;
  --paper-2:   #ece6d6;
  --panel:     #faf8f2;
  --white:     #ffffff;
  --ink:       #1b2420;
  --ink-2:     #3a4540;
  --muted:     #66716a;
  --line:      #d9cfba;
  --line-2:    #e6dfcf;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(28, 36, 32, .06), 0 1px 1px rgba(28, 36, 32, .04);
  --shadow:    0 6px 24px -8px rgba(6, 63, 45, .18), 0 2px 6px rgba(28, 36, 32, .05);
  --shadow-lg: 0 20px 50px -20px rgba(6, 63, 45, .35);
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra-600); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.18; color: var(--green-900); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.2vw + .6rem, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terra-500); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-900); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow    { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.section   { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line-2); }
.section.tight { padding: clamp(1.8rem, 3vw, 2.6rem) 0; }

/* ---------- Buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; font: 600 .95rem/1 var(--sans);
  padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none;
  background: var(--green-700); color: #fff; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--green-900); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.terra { background: var(--terra-600); } .btn.terra:hover { background: var(--terra-700); }
.btn.ghost { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn.ghost:hover { background: var(--green-700); color: #fff; }
.btn.small { padding: .65rem 1rem; font-size: .85rem; }
.btn.light { background: #fff; color: var(--green-900); } .btn.light:hover { background: var(--terra-100); color: var(--green-900); }

.chip {
  display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .8rem; border-radius: 999px;
  background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100);
  font: 500 .82rem/1.2 var(--sans); text-decoration: none; transition: .15s; white-space: nowrap;
}
a.chip:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.chip.terra { background: var(--terra-50); color: var(--terra-700); border-color: var(--terra-100); }
a.chip.terra:hover { background: var(--terra-600); color: #fff; border-color: var(--terra-600); }
.chip.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.chip small { opacity: .65; font-size: .75rem; }
.badge { display: inline-block; font: 700 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .35rem .55rem; border-radius: 6px; background: var(--terra-600); color: #fff; }
.badge.green { background: var(--green-700); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.eyebrow { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-600); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker { font: 700 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra-600); text-decoration: none; }
.kicker:hover { color: var(--terra-700); text-decoration: underline; }
.meta { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 240, 230, .93); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(6, 63, 45, .35); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; align-items: center; }
.nav a, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 8px; background: none; border: 0;
  font: 600 .93rem/1 var(--sans); color: var(--ink-2); text-decoration: none; cursor: pointer;
}
.nav a:hover, .nav button.nav-link:hover, .nav .current > a, .nav .current > button { color: var(--green-700); background: var(--green-50); }
.nav .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .6rem; display: none; z-index: 60;
}
.menu.wide { min-width: 560px; display: none; grid-template-columns: repeat(3, 1fr); gap: .4rem 1.2rem; padding: 1.2rem; }
.has-menu.open > .menu { display: block; } .has-menu.open > .menu.wide { display: grid; }
@media (hover: hover) and (min-width: 960px) { .has-menu:hover > .menu { display: block; } .has-menu:hover > .menu.wide { display: grid; } }
.menu a { display: block; padding: .5rem .7rem; font-weight: 500; font-size: .9rem; }
.menu .menu-title { font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-600); padding: .4rem .7rem .5rem; }
.menu .sub a { padding-left: 1.4rem; color: var(--muted); font-size: .86rem; }
.menu .all { border-top: 1px solid var(--line-2); margin-top: .3rem; padding-top: .3rem; }
.search-link { width: 42px; height: 42px; justify-content: center; padding: 0 !important; }
.search-link svg { width: 20px; height: 20px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--green-900); border-radius: 2px; position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; } .nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); } .nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; margin: 0; padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav button.nav-link { width: 100%; padding: 1rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); border-radius: 0; justify-content: space-between; }
  .menu, .menu.wide { position: static; box-shadow: none; border: 0; padding: .2rem 0 .6rem .8rem; min-width: 0; background: transparent; }
  .menu.wide { grid-template-columns: 1fr; }
  .nav .search-link { width: 100%; justify-content: flex-start; height: auto; padding: 1rem .5rem !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); background:
  radial-gradient(900px 420px at 88% -10%, var(--terra-100), transparent 70%),
  radial-gradient(700px 400px at -10% 110%, var(--green-100), transparent 70%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--terra-600); }
.hero .lede { font-size: 1.22rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.searchbox { position: relative; max-width: 520px; }
.searchbox input { width: 100%; padding: 1rem 1.2rem 1rem 3.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 500 1rem var(--sans); color: var(--ink); box-shadow: var(--shadow-sm); }
.searchbox input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }
.searchbox svg { position: absolute; left: 1.05rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.hero-panel { position: relative; }
.hero-card { background: var(--green-900); color: #fff; border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: url(../img/logo-mark-light.png) center/contain no-repeat; opacity: .13; transform: rotate(12deg); }
.hero-card h2 { color: #fff; font-size: 1.15rem; font-family: var(--sans); letter-spacing: .04em; margin-bottom: 1.1rem; font-weight: 600; opacity: .9; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; position: relative; z-index: 1; }
.stat { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 1.1rem 1.2rem; text-decoration: none; color: #fff; transition: .15s; display: block; }
.stat:hover { background: rgba(255, 255, 255, .16); color: #fff; transform: translateY(-2px); }
.stat strong { display: block; font: 700 2.4rem/1 var(--serif); color: #fff; }
.stat span { font-size: .85rem; opacity: .8; letter-spacing: .04em; }
.hero-note { margin: 1.1rem 0 0; font-size: .92rem; color: rgba(255, 255, 255, .78); position: relative; z-index: 1; }
.hero-note a { color: #ffd2b9; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-panel { order: -1; display: none; } }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .5rem 0 0; color: var(--muted); max-width: 44em; }
.more { font: 600 .92rem var(--sans); text-decoration: none; white-space: nowrap; }
.more::after { content: " →"; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--green-50); overflow: hidden; position: relative; }
.card-media img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img.photo { transform: scale(1.04); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--green-800), var(--green-600)); }
.ph img { width: 34%; height: auto !important; object-fit: contain !important; opacity: .55; filter: none; }
.ph-1 { background: linear-gradient(135deg, var(--terra-700), var(--terra-500)); }
.ph-2 { background: linear-gradient(135deg, var(--green-950), var(--green-700)); }
.ph-3 { background: linear-gradient(135deg, #7a5a2b, #b98a45); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-title { font: 700 1.22rem/1.28 var(--serif); margin: 0; color: var(--green-900); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-title a { color: var(--terra-600); }
.card-excerpt { margin: 0; color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.card .kicker, .card .tags a { position: relative; z-index: 2; }

.card-post.is-featured { grid-column: span 2; flex-direction: row; }
.card-post.is-featured .card-media { aspect-ratio: auto; flex: 1 1 52%; min-height: 280px; }
.card-post.is-featured .card-body { flex: 1 1 48%; justify-content: center; padding: 2rem; }
.card-post.is-featured .card-title { font-size: 1.75rem; }
@media (max-width: 1000px) { .card-post.is-featured { grid-column: auto; flex-direction: column; } .card-post.is-featured .card-media { aspect-ratio: 16/10; min-height: 0; } }

.feature-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; }
.feature-layout .stack { display: grid; gap: 1.2rem; align-content: start; }
.card-post.compact { flex-direction: row; }
.card-post.compact .card-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
.card-post.compact .card-body { padding: 1rem 1.1rem; }
.card-post.compact .card-title { font-size: 1.05rem; }
@media (max-width: 900px) { .feature-layout { grid-template-columns: 1fr; } }

/* Authors */
.avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; font: 700 1.5rem/1 var(--serif); letter-spacing: .02em; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.avatar { position: relative; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar.t1 { background: linear-gradient(135deg, var(--terra-600), var(--terra-700)); }
.avatar.t2 { background: linear-gradient(135deg, #7a5a2b, #a47a3b); }
.avatar.lg { width: 168px; height: 168px; font-size: 3.2rem; }
.card-author { flex-direction: row; align-items: center; gap: 1.1rem; padding: 1.25rem; }
.card-author .card-body { padding: 0; gap: .35rem; }
.card-author .card-title { font-size: 1.15rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .15rem; }
.tags .chip { font-size: .74rem; padding: .22rem .6rem; }

/* Books */
.cover { position: relative; aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px; padding: 1.3rem 1.1rem 1.1rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; background: var(--green-800); box-shadow: 6px 8px 18px -8px rgba(6, 63, 45, .5), inset -2px 0 0 rgba(255, 255, 255, .08); }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .06) 60%, transparent); }
.cover::after { content: ""; position: absolute; right: -18%; bottom: -12%; width: 70%; aspect-ratio: 1; background: url(../img/logo-mark-light.png) center/contain no-repeat; opacity: .12; }
.cover.c1 { background: linear-gradient(160deg, var(--terra-600), var(--terra-700)); }
.cover.c2 { background: linear-gradient(160deg, #20372f, #0b6b4a); }
.cover.c3 { background: linear-gradient(160deg, #6f5326, #a77c38); }
.cover.c0 { background: linear-gradient(160deg, var(--green-700), var(--green-950)); }
.cover .t { font: 700 1.25rem/1.15 var(--serif); position: relative; z-index: 1; text-wrap: balance; }
.cover .a { font: 600 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .85; position: relative; z-index: 1; }
.cover img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; border-radius: inherit; }
.card-book a { text-decoration: none; }
.card-book { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.card-book:hover { box-shadow: none; transform: translateY(-4px); }
.card-book .card-body { padding: 1rem .2rem 0; gap: .25rem; }
.card-book .card-title { font-size: 1.08rem; }

/* Movements */
.card-movement { padding: 1.6rem; background: linear-gradient(180deg, #fff, var(--paper)); }
.card-movement .period { font: 700 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-600); }
.card-movement .card-title { font-size: 1.6rem; }
.card-movement .card-body { padding: 0; }
.card-movement .origin { font-size: .85rem; color: var(--muted); }

/* Browse tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); text-decoration: none; color: var(--green-900); font: 700 1.05rem var(--serif); transition: .15s; box-shadow: var(--shadow-sm); }
.tile:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); transform: translateY(-2px); }
.tile small { font: 600 .78rem var(--sans); color: var(--terra-600); background: var(--terra-50); padding: .25rem .6rem; border-radius: 999px; }
.tile:hover small { background: rgba(255, 255, 255, .2); color: #fff; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--line); }
.timeline a { position: relative; padding-top: 2.2rem; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; padding-right: 1rem; line-height: 1.35; }
.timeline a::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--green-700); transition: .15s; }
.timeline a:hover::before { background: var(--terra-600); border-color: var(--terra-600); }
.timeline a small { display: block; color: var(--muted); font-weight: 500; margin-top: .2rem; }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; gap: 1.2rem; } .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .timeline a { padding: 0 0 0 2.2rem; } .timeline a::before { top: 3px; } }

.cta-band { background: var(--green-900); color: #fff; border-radius: 26px; padding: clamp(2rem, 5vw, 3.8rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 320px; height: 320px; background: url(../img/logo-mark-light.png) center/contain no-repeat; opacity: .1; }
.cta-band h2 { color: #fff; margin-bottom: .4em; } .cta-band p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 40em; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page header / breadcrumbs ---------- */
.page-head { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line-2); padding: clamp(2rem, 4vw, 3.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.page-head h1 { margin-bottom: .3em; font-size: clamp(2rem, 3.4vw + .5rem, 3.1rem); }
.page-head .intro { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin: 0 0 1.1rem; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--terra-600); text-decoration: underline; }

/* ---------- Filters ---------- */
.filters { display: grid; gap: .9rem; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem .6rem; align-items: center; }
.filter-row > strong { font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 5.5rem; }
.result-count { color: var(--muted); font-size: .92rem; margin: 0 0 1.2rem; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); background: #fff; }

.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.pager a:hover { border-color: var(--green-700); color: var(--green-700); }
.pager .current { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ---------- Article / prose ---------- */
.article-head { padding: clamp(2rem, 4vw, 3.4rem) 0 1.6rem; }
.article-head h1 { font-size: clamp(2rem, 3.6vw + .5rem, 3.2rem); margin: .3em 0 .5em; }
.byline { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .92rem; align-items: center; }
.hero-img { margin: 0 auto 2.4rem; width: min(100% - 2.5rem, 980px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-img img { width: 100%; max-height: 520px; object-fit: cover; }
.prose { font: 1.12rem/1.8 var(--serif); color: #24302a; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.75rem; margin: 2.1em 0 .1em; padding-top: .2em; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 0; }
.prose a { color: var(--terra-600); text-decoration: underline; text-decoration-color: rgba(181, 83, 42, .4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.4em; } .prose li { margin: .35em 0; } .prose li::marker { color: var(--terra-600); font-weight: 700; }
.prose blockquote { margin: 1.8em 0; padding: .4em 0 .4em 1.4em; border-left: 4px solid var(--terra-500); font-style: italic; font-size: 1.2em; color: var(--green-900); }
.prose img { border-radius: var(--radius-sm); margin-inline: auto; }
.prose figure { margin: 1.8em 0; } .prose figcaption { font: .85rem var(--sans); color: var(--muted); text-align: center; margin-top: .5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font: .95rem var(--sans); } .prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem .5rem; text-align: left; }
.prose > p:first-of-type { font-size: 1.28rem; line-height: 1.65; color: var(--ink); }
.prose dl { margin: 0; border-top: 1px solid var(--line); }
.prose dt { font: 700 1.2rem var(--serif); color: var(--green-900); padding-top: 1.1rem; }
.prose dd { margin: .25rem 0 0; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); font-size: 1.03rem; line-height: 1.65; }
.toc { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 0 0 2.2rem; font: 1rem var(--sans); }
.toc strong { display: block; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; } .toc li { margin: .3rem 0; } .toc a { text-decoration: none; color: var(--green-800); } .toc a:hover { color: var(--terra-600); text-decoration: underline; }
.article-foot { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.article-foot h4 { font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }

/* ---------- Profile layouts (author / book / movement) ---------- */
.profile-head { padding: clamp(2rem, 4vw, 3.4rem) 0; background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line-2); }
.profile-head .row { display: flex; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; }
.profile-head h1 { margin: 0 0 .2em; font-size: clamp(2rem, 3.4vw + .5rem, 3.2rem); }
.profile-head .sub { color: var(--ink-2); font-size: 1.15rem; margin: 0 0 1rem; }
.profile-photo { flex: none; width: 168px; height: 168px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), var(--shadow); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .profile-head .row { flex-direction: column; align-items: flex-start; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.2rem; }
@media (max-width: 960px) { .aside { position: static; } }
.panel { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { font: 700 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-600); margin: 0 0 1rem; }
.facts { margin: 0; display: grid; gap: .85rem; }
.facts dt { font: 600 .74rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .15rem 0 0; font-size: 1rem; color: var(--ink); }
.facts dd ul { margin: 0; padding-left: 1.1rem; }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.linklist a { font-weight: 600; font-size: .95rem; text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.linklist a::before { content: "↗"; color: var(--terra-600); font-weight: 700; }
.book-hero { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.book-hero .cover { box-shadow: 14px 18px 34px -14px rgba(6, 63, 45, .55); }
.book-hero .orig { font: italic 1.25rem var(--serif); color: var(--terra-600); margin: 0 0 .3rem; }
.book-hero .by { font-size: 1.15rem; margin-bottom: 1rem; }
.book-hero .by a { font-weight: 600; }
@media (max-width: 700px) { .book-hero { grid-template-columns: 1fr; } .book-hero .cover { max-width: 220px; } }
.buy { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field label { display: block; font: 600 .9rem var(--sans); color: var(--green-900); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .9rem 1rem; font: 1rem var(--sans); border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }
.field .err { color: #b3261e; font-size: .85rem; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: 10px; border: 1px solid var(--green-100); background: var(--green-50); color: var(--green-900); margin-bottom: 1.4rem; }
.notice.error { background: #fdeceb; border-color: #f5c6c2; color: #7d1a14; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: .6rem; max-width: 640px; margin-top: 1.2rem; }
.search-form .searchbox { flex: 1; max-width: none; }
.result-group { margin-bottom: 2.6rem; }
.result-group h2 { font-size: 1.3rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-bottom: 1rem; }
.result { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.result strong { font: 700 1.15rem var(--serif); color: var(--green-900); display: block; }
.result span { color: var(--ink-2); font-size: .95rem; } .result:hover strong { color: var(--terra-600); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(3rem, 10vw, 7rem) 0; }
.notfound .big { font: 700 clamp(5rem, 16vw, 10rem)/1 var(--serif); color: var(--terra-600); opacity: .9; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .78); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.4rem; padding: clamp(2.6rem, 5vw, 4rem) 0 2.4rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; text-decoration: none; }
.footer-brand img { width: 58px; height: 58px; }
.footer-brand b { font: 700 1.35rem/1.1 var(--serif); color: #fff; display: block; } .footer-brand small { color: #f0a078; font: 600 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.site-footer h3 { font: 700 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #f0a078; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.3rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .85rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

@media print { .site-header, .site-footer, .toc, .aside, .related, .cta-band { display: none !important; } body { background: #fff; font-size: 12pt; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Worldwide layout: region groups, mega-menu, milestones ---- */
.world { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.world-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.1rem; box-shadow: var(--shadow-sm); }
.world-card h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--green-900); }
.world-card p { margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.world-regions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.world-regions li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--line-2); }
.world-regions li:last-child { border-bottom: 0; }
.world-regions a { font-weight: 600; text-decoration: none; }
.world-regions small { font: 600 .74rem var(--sans); color: var(--terra-600); background: var(--terra-50); padding: .15rem .55rem; border-radius: 999px; }
.menu.mega { min-width: 760px; left: 50%; transform: translateX(-50%); display: none; grid-template-columns: repeat(4, 1fr); gap: .4rem 1rem; padding: 1.2rem; }
.has-menu.open > .menu.mega { display: grid; }
@media (hover: hover) and (min-width: 960px) { .has-menu:hover > .menu.mega { display: grid; } }
.menu.mega .all { grid-column: 1 / -1; }
@media (max-width: 960px) { .menu.mega { transform: none; left: auto; min-width: 0; grid-template-columns: 1fr; } }
.milestones { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.milestones div { border-top: 3px solid var(--terra-600); padding-top: .7rem; }
.milestones strong { display: block; font: 700 1.6rem var(--serif); color: var(--green-900); }
.milestones span { font-size: .88rem; color: var(--muted); line-height: 1.45; display: block; }
.region-block { margin-bottom: 3rem; scroll-margin-top: 6rem; }
.region-authors { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }
.chips.jump { margin-bottom: 2.4rem; }
.page-hero { padding: 2.5rem 0 1rem; }

/* ---- Bookstore ---- */
.stores { list-style: none; margin: 0 0 .8rem; padding: 0; }
.stores li { border-bottom: 1px solid var(--line-2); }
.stores a { display: flex; justify-content: space-between; gap: .6rem; padding: .6rem 0; text-decoration: none; font-weight: 600; }
.stores a span { font: 500 .76rem var(--sans); color: var(--muted); }
.shelf-links { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.shelf-links .chip { font-size: .74rem; padding: .25rem .6rem; }
.cover .photo { background: #fff; }

/* ---- Search ---- */
.result mark, .suggest mark { background: #fbe9c8; color: inherit; border-radius: 3px; padding: 0 1px; }
.result .alt { font: 500 .95rem var(--sans); color: var(--muted); font-style: normal; }
.result .meta-line { display: block; color: var(--muted); font-size: .85rem; margin: .1rem 0 .25rem; }
.result-group h2 small, .search-tabs small { color: var(--muted); font: 600 .8rem var(--sans); margin-left: .25rem; }
.search-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.4rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.search-tabs a { padding: .45rem .95rem; border-radius: 999px; text-decoration: none; font: 600 .92rem var(--sans); color: var(--green-900); background: var(--green-50, #eef6f1); border: 1px solid var(--green-100); }
.search-tabs a.active { background: var(--green-800, #0a5c3f); color: #fff; border-color: transparent; } .search-tabs a.active small { color: #cfe7dc; }
.topic-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 1.4rem; } .topic-row strong { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .3rem; }
.notice { background: #fff8e8; border: 1px solid #f0dcaa; padding: .8rem 1rem; border-radius: 10px; font-size: .93rem; margin: 0 0 1.4rem; }
.did-you-mean { font-size: 1.05rem; } .more-row { margin: 1rem 0 0; } .try { margin-top: 1rem; }
.filter-search { margin: 0 0 1.2rem; align-items: center; flex-wrap: wrap; max-width: none; } .filter-search .searchbox { max-width: 560px; }
.suggest { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(20,40,30,.16); overflow: hidden; text-align: left; max-height: 70vh; overflow-y: auto; }
.suggest-h { padding: .55rem 1rem .2rem; font: 700 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.suggest a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .5rem 1rem; text-decoration: none; color: var(--ink); font-size: .96rem; }
.suggest a small { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.suggest a:hover, .suggest a.on { background: var(--green-50, #eef6f1); }
.suggest .suggest-all { border-top: 1px solid var(--line-2); color: var(--green-800, #0a5c3f); font-weight: 600; margin-top: .3rem; }

/* =========================================================
   Clean refresh: dark page headers, gold accent, sidebar filters
   ========================================================= */
.page-head { background: var(--green-900); border-bottom: 5px solid var(--gold); color: #fff; }
.page-head h1 { color: #f7f3e8; }
.page-head .intro, .page-head .hint { color: #c9d6cf; }
.page-head .hint { font-size: .85rem; margin-top: .8rem; opacity: .85; }
.page-head .crumbs, .page-head .crumbs a { color: #a9bdb3; } .page-head .crumbs a:hover { color: var(--gold); }
.page-head .btn { background: var(--gold); color: var(--green-950); } .page-head .btn:hover { background: #f1c768; color: var(--green-950); }
.page-head .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.page-head .searchbox input { border-color: transparent; }
.page-head a:not(.btn):not(.chip) { color: var(--gold); }
.hero { background: var(--green-900); border-bottom: 5px solid var(--gold); color: #fff; }
.hero h1 { color: #f7f3e8; } .hero h1 em { color: var(--gold); }
.hero .lede { color: #c9d6cf; } .hero .eyebrow { color: var(--gold); }
.hero .btn { background: var(--gold); color: var(--green-950); } .hero .btn:hover { background: #f1c768; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); } .hero .btn.ghost:hover { background: #fff; color: var(--green-900); }
.hero-card { background: var(--green-800); border: 1px solid rgba(255,255,255,.08); }
.hero-note a { color: var(--gold); }
.btn { background: var(--green-700); }
.eyebrow, .kicker { color: var(--terra-600); }
.chip { background: var(--panel); border-color: var(--line); color: var(--green-800); }
.chip.active, a.chip:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.card, .world-card, .empty { background: var(--panel); border-color: var(--line-2); }
.site-footer { background: var(--green-950); } .site-footer h3, .footer-brand small { color: var(--gold); }

/* listing = sidebar + results */
.listing { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }
.filter-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; position: sticky; top: calc(var(--header-h) + 14px); max-height: calc(100vh - var(--header-h) - 28px); overflow-y: auto; }
.filter-panel > summary { list-style: none; padding: 1.05rem 1.3rem; font: 700 1.05rem var(--sans); color: var(--ink); border-bottom: 1px solid var(--line); cursor: default; display: flex; justify-content: space-between; align-items: center; }
.filter-panel > summary::-webkit-details-marker { display: none; }
.filter-panel .active-count { background: var(--gold); color: var(--green-950); border-radius: 999px; font: 700 .72rem var(--sans); padding: .15rem .55rem; }
.filter-panel form { padding: 1.1rem 1.3rem 1.3rem; display: grid; gap: 1.05rem; }
.fp-field { display: grid; gap: .4rem; }
.fp-field > span { font: 600 .88rem var(--sans); color: var(--ink-2); }
.fp-field select, .fp-field input[type=search], .sort-by select {
  width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: 500 .98rem var(--sans); appearance: none; -webkit-appearance: none;
}
.fp-field select, .sort-by select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2366716a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.4rem; }
.fp-field select.on { border-color: var(--green-700); background-color: var(--green-50); font-weight: 600; }
.fp-field select:focus, .fp-field input:focus, .sort-by select:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }
.fp-search { position: relative; } .fp-search svg { position: absolute; left: .9rem; bottom: .95rem; width: 18px; height: 18px; color: var(--muted); }
.fp-search input { padding-left: 2.6rem; }
.switch { display: flex; gap: .75rem; align-items: center; cursor: pointer; font-size: .92rem; color: var(--ink-2); line-height: 1.35; }
.switch input { position: absolute; opacity: 0; }
.switch .track { flex: none; width: 46px; height: 26px; border-radius: 999px; background: #cfc6b2; position: relative; transition: .2s; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s; }
.switch input:checked + .track { background: var(--green-700); } .switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--terra-500); outline-offset: 2px; }
.fp-actions { border-top: 1px solid var(--line); padding-top: .9rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.fp-actions .clear { color: var(--terra-600); font-weight: 600; font-size: .92rem; }
.js-on .fp-actions .btn { display: none; }
.list-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--green-900); margin-bottom: 1.3rem; }
.list-toolbar .count { font-size: .98rem; color: var(--muted); margin: 0; } .list-toolbar .count strong { color: var(--ink); font-size: 1.1rem; }
.sort-by { display: grid; gap: .3rem; min-width: 210px; } .sort-by > span { font-size: .85rem; color: var(--muted); }
.list-main .grid.c3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.list-main .grid.c4 { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* inline variant (search page) */
.filter-panel.inline { position: static; max-height: none; margin-bottom: 1.4rem; }
.filter-panel.inline form { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; }
.filter-panel.inline > summary { display: none; }
.filter-panel.inline .fp-actions { grid-column: 1 / -1; }

/* book rows */
.rows { display: grid; gap: .9rem; }
.row-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem; background: var(--panel); border: 1px solid var(--line-2); border-left: 5px solid var(--gold); border-radius: 16px; padding: 1.1rem 1.4rem; transition: box-shadow .15s, transform .15s; }
.row-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.row-card h3 { font: 700 1.2rem var(--sans); margin: 0 0 .35rem; letter-spacing: 0; } .row-card h3 a { color: var(--ink); text-decoration: none; } .row-card h3 a:hover { color: var(--terra-600); }
.row-card .by { display: inline-block; margin-bottom: .55rem; font-size: 1rem; color: var(--ink); text-decoration-color: var(--line); } .row-card .by:hover { color: var(--terra-600); }
.row-card .orig { color: var(--muted); font-size: .9rem; margin: 0 0 .4rem; font-style: italic; }
.row-card .blurb { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.row-side { text-align: right; display: grid; gap: .35rem; align-content: start; min-width: 130px; font-size: .95rem; color: var(--muted); }
.row-side .year { font: 700 1.2rem var(--sans); color: var(--terra-700); }
.row-side .tags { justify-content: flex-end; margin-top: .3rem; }
.row-side .chip { background: var(--paper-2); border-color: transparent; color: var(--ink); font-weight: 600; font-size: .78rem; } .row-side .chip.gold { background: var(--gold); color: var(--green-950); }

/* home finder + genre tiles */
.finder { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1rem; display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: .7rem; margin-top: -2.2rem; position: relative; z-index: 5; box-shadow: var(--shadow); }
.finder input, .finder select { padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 500 .97rem var(--sans); color: var(--ink); width: 100%; appearance: none; -webkit-appearance: none; }
.finder select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2366716a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.4rem; }
.finder .btn { background: var(--gold); color: var(--green-950); justify-content: center; } .finder .btn:hover { background: #f1c768; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.tile { position: relative; overflow: hidden; border-radius: 14px; padding: 1.1rem 1rem; min-height: 96px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: end; }
.tile b { font: 700 1.02rem var(--sans); } .tile span { font-size: .9rem; opacity: .85; }
.tile i { position: absolute; right: .6rem; top: -.35rem; font: 800 3.8rem/1 var(--sans); opacity: .22; font-style: normal; }
.tile:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.tile.c0 { background: #1e3d33; } .tile.c1 { background: #8e3f23; } .tile.c2 { background: #3f7b74; } .tile.c3 { background: #5f2d58; } .tile.c4 { background: #44693a; } .tile.c5 { background: #38588a; }

@media (max-width: 960px) {
  .listing { grid-template-columns: 1fr; }
  .filter-panel { position: static; max-height: none; }
  .filter-panel > summary { cursor: pointer; }
  .finder { grid-template-columns: 1fr 1fr; margin-top: 1rem; } .finder input { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .row-card { grid-template-columns: 1fr; } .row-side { text-align: left; grid-auto-flow: column; justify-content: start; gap: .9rem; align-items: center; } .row-side .tags { justify-content: flex-start; margin: 0; } .finder { grid-template-columns: 1fr; } }
.fp-field.fp-search input[type=search] { padding-left: 2.6rem; }
.fp-search svg { bottom: .85rem; }
.tile b, .tile span { font-family: var(--sans); }
.tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.hero-actions { margin-bottom: .4rem; }
.hero { padding-bottom: clamp(4rem, 7vw, 5.5rem); }
.js-on .fp-actions:not(:has(.clear)) { display: none; }

/* ---------- Guide ---------- */
.eyebrow.gold { color: var(--gold); }
.guide-head .intro { max-width: 50em; }
.guide-search { display: flex; gap: .6rem; margin-top: 1.4rem; max-width: 36rem; }
.guide-search input { flex: 1; padding: .85rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: 1rem var(--sans); }
.guide-search input::placeholder { color: #b9cac1; }
.guide-search .btn { border-radius: 999px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick-card { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--line-2); border-top: 4px solid var(--terra-600); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.1rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.quick-card .qi { width: 30px; height: 30px; border-radius: 50%; background: var(--green-800); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font: 700 .9rem var(--sans); }
.quick-card strong { font: 700 1.05rem/1.3 var(--sans); color: var(--green-900); }
.quick-card small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.guide-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.gs { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.4rem 1.5rem 1rem; box-shadow: var(--shadow-sm); }
.gs-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: .8rem; }
.gs-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--green-800); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.gs h2 { font-size: 1.3rem; margin: 0 0 .2rem; color: var(--green-900); }
.gs-head p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.gs-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.gs-list li { border-bottom: 1px solid var(--line-2); } .gs-list li:last-child { border-bottom: 0; }
.gs-list a { display: block; padding: .7rem .1rem; text-decoration: none; color: inherit; }
.gs-list a strong { display: block; font: 700 .98rem var(--sans); color: var(--green-800); }
.gs-list a span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: .1rem; }
.gs-list a:hover strong { color: var(--terra-600); }
.guide-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 3rem; padding-top: 2.4rem; padding-bottom: 4rem; align-items: start; }
.guide-nav { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; font: .92rem var(--sans); padding-right: .4rem; }
.guide-nav summary { font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); margin-bottom: .6rem; cursor: pointer; list-style: none; }
.guide-nav summary::-webkit-details-marker { display: none; }
.guide-nav .gn-home { display: block; padding: .4rem .6rem; border-radius: 8px; font-weight: 700; color: var(--green-900); text-decoration: none; }
.guide-nav .gn-sec { font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-600); margin: 1.1rem 0 .3rem .6rem; }
.guide-nav ul { list-style: none; margin: 0; padding: 0; }
.guide-nav a { display: block; padding: .38rem .6rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; line-height: 1.3; border-left: 3px solid transparent; }
.guide-nav a:hover { background: var(--green-50); color: var(--green-700); }
.guide-nav a.on { background: var(--green-50); color: var(--green-800); font-weight: 700; border-left-color: var(--gold); }
.guide-main { min-width: 0; max-width: 46rem; }
.guide-main .toc { margin-top: 0; }
.guide-extra { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.guide-extra h2 { font-size: 1.4rem; margin: 0 0 .4rem; }
.guide-extra .muted { margin: 0 0 1.1rem; font-size: .95rem; }
.guide-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.guide-pager a { display: flex; flex-direction: column; gap: .2rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: .9rem 1.1rem; text-decoration: none; color: var(--green-900); }
.guide-pager a:hover { border-color: var(--green-700); }
.guide-pager small { font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-600); }
.guide-pager span { font: 700 1rem var(--sans); }
.guide-pager .next { text-align: right; grid-column: 2; }
/* content helpers used inside guide text */
.prose .callout { background: var(--green-50); border-left: 4px solid var(--green-700); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.3rem; font: 1rem/1.65 var(--sans); }
.prose .callout.gold { background: #fbf3dc; border-left-color: var(--gold); }
.prose .callout p { margin: 0; } .prose .callout p + p { margin-top: .6em; }
.prose table { width: 100%; border-collapse: collapse; font: .95rem/1.5 var(--sans); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .55rem .7rem; border-bottom: 1px solid var(--line-2); }
.prose th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-800); border-bottom: 2px solid var(--green-800); }
.prose .scroll { overflow-x: auto; }
.prose .twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; font: 1rem/1.6 var(--sans); }
.prose .twocol > div { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: .9rem 1.1rem; }
.prose .twocol h3, .prose .twocol h4 { margin: 0 0 .3rem; font-size: 1rem; color: var(--green-800); }
.prose .twocol p { margin: 0; }
.prose ol.timeline { list-style: none; margin: 1.6rem 0; padding: 0 0 0 1.6rem; border-left: 3px solid var(--green-700); font: 1rem/1.6 var(--sans); }
.prose ol.timeline > li { position: relative; margin: 0 0 1.35rem; padding-left: .3rem; }
.prose ol.timeline > li::before { content: ""; position: absolute; left: calc(-1.6rem - 8px); top: .45rem; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); border: 3px solid var(--green-800); box-sizing: border-box; }
.prose ol.timeline .yr { display: block; font: 700 .85rem var(--sans); letter-spacing: .06em; color: var(--terra-600); }
.prose ol.timeline .era { font: 700 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); margin: 2rem 0 .9rem -1.6rem; padding-left: 1.6rem; }
.prose ol.timeline > li.era::before { display: none; }
.prose ul.pick { list-style: none; padding: 0; margin: 1.2rem 0; font: 1rem/1.55 var(--sans); }
.prose ul.pick > li { padding: .75rem 0; border-bottom: 1px solid var(--line-2); }
.prose ul.pick > li:last-child { border-bottom: 0; }
.prose ul.pick b { color: var(--green-900); }
.prose ul.pick .why { display: block; color: var(--muted); font-size: .93rem; margin-top: .15rem; }
@media (max-width: 1000px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .guide-nav { position: static; max-height: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
  .guide-nav summary { margin: 0; padding: .3rem 0; font-size: .8rem; } .guide-nav summary::after { content: " ▾"; }
  .guide-nav details[open] summary { margin-bottom: .6rem; }
  .guide-sections { grid-template-columns: 1fr; } .prose .twocol { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .quick { grid-template-columns: 1fr; } .guide-pager { grid-template-columns: 1fr; } .guide-pager .next { grid-column: 1; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 1; }

/* Guide mega-menu */
.menu.mega.guide-menu { min-width: 860px; grid-template-columns: repeat(3, 1fr); gap: .8rem 1.4rem; }
.menu.mega.guide-menu a { line-height: 1.3; }
@media (max-width: 960px) { .menu.mega.guide-menu { min-width: 0; grid-template-columns: 1fr; } }
.nav > ul > li > a, .nav button.nav-link { white-space: nowrap; }
/* Guide prose: breathing room between blocks, and keep the home timeline styles out of guide timelines */
.guide-body.prose > * + *, .prose.guide-prose > * + * { margin-top: 1.15em; }
.guide-body.prose p + p, .prose.guide-prose p + p { margin-top: 1.15em; }
.prose ol.timeline a { position: static; padding: 0; font: inherit; color: var(--terra-600); }
.prose ol.timeline a::before { content: none; }
.prose.guide-prose p + ul, .prose.guide-prose p + ol, .prose.guide-prose p + table, .prose.guide-prose p + dl { margin-top: 1.15em; }
.prose.guide-prose ul.pick { list-style: none; padding: 0; }

/* =========================================================
   Home page: lively hero, symbols of the Francophone world
   ========================================================= */
.sym { width: 1em; height: 1em; fill: currentColor; stroke: none; display: inline-block; flex: none; }
.btn.gold { background: var(--gold); color: var(--green-950); } .btn.gold:hover { background: #f1c768; color: var(--green-950); }
.btn.outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); } .btn.outline:hover { background: #fff; color: var(--green-900); }
.eyebrow.gold { color: var(--gold); }

.home-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3rem, 7vw, 6rem) 0 0; min-height: min(86vh, 700px); display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, #0c1f19 0%, #14392e 38%, #2f6a4f 62%, #b5563a 92%, #e8944a 100%); }
.hh-sun { position: absolute; right: 9%; bottom: 70px; width: clamp(180px, 26vw, 360px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffe08a 0 52%, #f4b64a 53% 68%, rgba(244, 182, 74, .35) 69% 82%, rgba(244, 182, 74, 0) 83%); filter: drop-shadow(0 0 60px rgba(244, 182, 74, .55)); animation: hh-sun 9s ease-in-out infinite alternate; }
@keyframes hh-sun { to { transform: translateY(-14px) scale(1.03); } }
.hh-pattern { position: absolute; inset: 0; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 2 46 24 24 46 2 24z' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M24 14 34 24 24 34 14 24z' fill='%23fff'/%3E%3C/svg%3E"); background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hh-inner { position: relative; z-index: 2; max-width: var(--container); padding-bottom: clamp(7rem, 16vw, 12rem); }
.home-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw + .6rem, 4.4rem); line-height: 1.04; max-width: 14em; text-shadow: 0 2px 30px rgba(5, 25, 18, .35); }
.home-hero .lede { color: rgba(255, 255, 255, .88); font-size: 1.2rem; line-height: 1.6; max-width: 38em; }
.home-hero .hero-actions { margin-bottom: 0; }
.hh-skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(130px, 18vw, 230px); z-index: 1; display: block; }
.hh-skyline .back { fill: #1f4d3b; color: #1f4d3b; opacity: .75; }
.hh-skyline .front { fill: var(--green-950); color: var(--green-950); }

.home-stats { position: relative; z-index: 3; margin-top: -2.6rem; }
.hs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hs { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 1.1rem 1.3rem; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: .2s; }
.hs:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.hs .sym { grid-row: 1 / 3; width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 14px; background: var(--terra-50); color: var(--terra-600); box-sizing: content-box; }
.hs:nth-child(2) .sym { background: var(--green-50); color: var(--green-700); }
.hs:nth-child(3) .sym { background: var(--gold-50); color: var(--gold-600); }
.hs:nth-child(4) .sym { background: var(--green-50); color: var(--green-700); }
.hs strong { font: 700 1.9rem/1 var(--serif); color: var(--green-900); }
.hs span { font: 600 .74rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 800px) { .hs-grid { grid-template-columns: 1fr 1fr; } .hs strong { font-size: 1.5rem; } .hh-sun { right: -40px; } }

/* Hello ticker */
.greetings { overflow: hidden; margin: 2.2rem 0 0; border-block: 1px solid var(--line); background: var(--gold-50); }
.gr-track { display: flex; width: max-content; animation: gr-scroll 60s linear infinite; }
.greetings:hover .gr-track { animation-play-state: paused; }
.gr { display: inline-flex; align-items: baseline; gap: .7rem; padding: .95rem 1.8rem; white-space: nowrap; }
.gr b { font: italic 700 1.35rem var(--serif); color: var(--green-900); }
.gr small { font: 600 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--terra-600); }
.gr::after { content: "✦"; color: var(--gold-600); margin-left: 1.6rem; font-size: .9rem; }
@keyframes gr-scroll { to { transform: translateX(-50%); } }

/* Guide band */
.guide-band { padding-top: clamp(2.5rem, 5vw, 4rem); }
.gb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gb { position: relative; display: block; padding: 1.4rem 1.5rem 1.3rem 5.4rem; border-radius: 18px; color: #fff; text-decoration: none; overflow: hidden; transition: .2s; min-height: 118px; }
.gb:hover { transform: translateY(-4px) rotate(-.4deg); color: #fff; box-shadow: var(--shadow-lg); }
.gb .sym { position: absolute; left: 1.3rem; top: 1.3rem; width: 2.8rem; height: 2.8rem; opacity: .95; }
.gb b { display: block; font: 700 1.2rem var(--serif); margin-bottom: .25rem; }
.gb span { font-size: .9rem; line-height: 1.45; opacity: .9; }
.gb::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.gb.c1 { background: linear-gradient(135deg, #0e6b4b, #16302a); } .gb.c2 { background: linear-gradient(135deg, #c0643c, #8a381f); } .gb.c3 { background: linear-gradient(135deg, #1e4a3a, #2f7a5a); }
.gb.c4 { background: linear-gradient(135deg, #b0782a, #7a5a2b); } .gb.c5 { background: linear-gradient(135deg, #0f7d86, #0b4f63); } .gb.c6 { background: linear-gradient(135deg, #7a2f6b, #4a1d55); }
@media (max-width: 900px) { .gb-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .gb-grid { grid-template-columns: 1fr; } }

/* Region cards with a symbol each */
.world-card { position: relative; overflow: hidden; transition: .2s; border-top: 4px solid var(--terra-600); }
.world-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wc-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 2.1rem; margin-bottom: .8rem; background: var(--terra-50); color: var(--terra-600); }
.world-card::after { content: ""; position: absolute; right: -26px; top: -26px; width: 100px; height: 100px; border-radius: 50%; background: var(--gold-50); z-index: 0; }
.world-card > * { position: relative; z-index: 1; }
.wc-europe { border-top-color: #0e6b4b; } .wc-europe .wc-icon { background: var(--green-50); color: var(--green-700); }
.wc-north-america { border-top-color: #2f7a5a; } .wc-north-america .wc-icon { background: #e3f1ea; color: #2f7a5a; }
.wc-caribbean { border-top-color: #0f7d86; } .wc-caribbean .wc-icon { background: #dff2f3; color: #0f7d86; }
.wc-africa { border-top-color: var(--terra-600); }
.wc-middle-east { border-top-color: #7a2f6b; } .wc-middle-east .wc-icon { background: #f3e5f0; color: #7a2f6b; }
.wc-indian-ocean { border-top-color: var(--gold-600); } .wc-indian-ocean .wc-icon { background: var(--gold-50); color: var(--gold-600); }
.wc-asia-pacific { border-top-color: #b0782a; } .wc-asia-pacific .wc-icon { background: #f6ecda; color: #8a5a17; }

/* Call-to-action: symbols instead of the logo mark */
.cta-band { background: linear-gradient(135deg, #16302a, #0e6b4b); }
.cta-band::after { content: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-sym { position: absolute !important; right: 9rem; bottom: -.6rem; width: 150px; height: 150px; fill: rgba(255, 255, 255, .1); z-index: 0 !important; }
.cta-sym.two { right: 1.5rem; width: 190px; height: 190px; bottom: -1rem; }
@media (max-width: 760px) { .cta-sym { display: none; } }

/* Geometric band between sections */
.section.alt { position: relative; }
.section.alt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--terra-600) 0 24px, var(--gold) 24px 36px, var(--green-700) 36px 60px, var(--paper-2) 60px 66px); }

/* Reveal on scroll (only when JS is on) */
.js-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-on .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gr-track, .hh-sun { animation: none; } .js-on .rv { opacity: 1; transform: none; transition: none; } .gr-track { flex-wrap: wrap; width: auto; } }
.hs-grid > * { min-width: 0; }
@media (max-width: 800px) {
  .hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .hs { padding: .8rem .8rem; column-gap: .6rem; }
  .hs .sym { width: 1.7rem; height: 1.7rem; padding: .45rem; }
  .hs strong { font-size: 1.25rem; } .hs span { font-size: .64rem; letter-spacing: .06em; }
  .hh-sun { width: 150px; right: -34px; bottom: 30px; opacity: .9; }
  .hh-inner { padding-bottom: 8.5rem; }
  .home-hero .hero-actions .btn.outline:nth-of-type(2) { display: none; }
}

/* =========================================================
   Home hero v2: editorial, sober (replaces the illustrated version)
   ========================================================= */
.home-hero { min-height: 0; display: block; padding: clamp(3.2rem, 6vw, 5.5rem) 0 0; color: #fff; overflow: hidden; border-bottom: 5px solid var(--gold);
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(30, 74, 58, .9), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #0f211b, #12302a); }
.hh-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.home-hero h1 { font-weight: 600; font-size: clamp(2.4rem, 3.6vw + 1rem, 4.1rem); line-height: 1.06; letter-spacing: -.012em; max-width: 13em; text-shadow: none; margin-bottom: .5em; }
.home-hero .lede { font-size: 1.15rem; line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 35em; }
.hh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.8rem; margin-top: 2rem; }
.hh-btn.primary { display: inline-block; background: var(--gold); color: var(--green-950); font: 700 .92rem var(--sans); letter-spacing: .02em; padding: .9rem 1.5rem; border-radius: 3px; text-decoration: none; transition: .15s; }
.hh-btn.primary:hover { background: #f1c768; color: var(--green-950); }
.hh-link { color: #fff; font: 600 .92rem var(--sans); text-decoration: none; border-bottom: 1px solid rgba(232, 182, 74, .6); padding-bottom: 2px; transition: .15s; }
.hh-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.hh-link span { color: var(--gold); }

.hh-index { border: 1px solid rgba(232, 182, 74, .38); background: rgba(255, 255, 255, .035); padding: 1.5rem 1.7rem 1.2rem; position: relative; }
.hh-index::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(232, 182, 74, .14); pointer-events: none; }
.hh-index-title { margin: 0 0 .6rem; font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hh-index ul { list-style: none; margin: 0; padding: 0; }
.hh-index li { border-top: 1px solid rgba(255, 255, 255, .1); }
.hh-index li:first-child { border-top: 0; }
.hh-index a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .7rem .1rem; color: #fff; text-decoration: none; transition: .15s; }
.hh-index .sym { font-size: 1.35rem; color: var(--gold); opacity: .8; }
.hh-i-t b { display: block; font: 600 1.05rem/1.2 var(--serif); }
.hh-i-t small { display: block; font: 500 .74rem var(--sans); color: rgba(255, 255, 255, .55); margin-top: .15rem; letter-spacing: .02em; }
.hh-index i { font-style: normal; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: .15s; }
.hh-index a:hover { padding-left: .5rem; color: #fff; } .hh-index a:hover i { opacity: 1; transform: none; }

.hh-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .16); }
.hh-stats a { padding: 1.4rem 1.2rem 1.6rem; text-decoration: none; color: #fff; border-left: 1px solid rgba(255, 255, 255, .12); transition: .15s; }
.hh-stats a:first-child { border-left: 0; padding-left: 0; }
.hh-stats a:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.hh-stats strong { display: block; font: 600 2.3rem/1 var(--serif); letter-spacing: -.01em; }
.hh-stats span { display: block; margin-top: .45rem; font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .hh-grid { grid-template-columns: 1fr; } .hh-stats { grid-template-columns: 1fr 1fr; } .hh-stats a:nth-child(3) { border-left: 0; padding-left: 0; } .hh-stats a:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); } }

/* Cities line replaces the ticker */
.cities { text-align: center; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--paper); font: 600 .74rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.cities i { font-style: normal; color: var(--terra-600); margin: 0 .55rem; }

/* Guide band: sober cards */
.gb-grid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.gb, .gb.c1, .gb.c2, .gb.c3, .gb.c4, .gb.c5, .gb.c6 { background: #fff; color: var(--ink); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.5rem 1.6rem 1.4rem 4.9rem; min-height: 0; }
.gb::after { content: none; }
.gb:hover { transform: none; box-shadow: none; background: var(--green-50); color: var(--ink); }
.gb .sym { left: 1.5rem; top: 1.5rem; width: 2.2rem; height: 2.2rem; color: var(--terra-600); opacity: 1; }
.gb b { color: var(--green-900); font-size: 1.15rem; } .gb span { color: var(--muted); opacity: 1; }
.gb:hover b { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hh-index a, .hh-index i { transition: none; } }
.cities { font-size: .68rem; letter-spacing: .12em; }
.cities i { margin: 0 .4rem; }

/* Region tiles (/regions/): readable name + count on a light card */
.tiles .tile.tile-region { flex-direction: row; align-items: center; justify-content: space-between; gap: .8rem; min-height: 0; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--line-2); color: var(--green-900); box-shadow: var(--shadow-sm); }
.tiles .tile.tile-region span { font: 700 1.02rem var(--serif); opacity: 1; color: var(--green-900); }
.tiles .tile.tile-region small { font: 600 .78rem var(--sans); color: var(--terra-600); background: var(--terra-50); padding: .25rem .6rem; border-radius: 999px; }
.tiles .tile.tile-region:hover { background: var(--green-700); border-color: var(--green-700); }
.tiles .tile.tile-region:hover span { color: #fff; }
.tiles .tile.tile-region:hover small { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* Desktop menus: invisible bridge so the submenu stays open while the pointer crosses the gap */
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
@media (max-width: 960px) { .menu::before { display: none; } }

/* Footer: partner sites + credits */
.footer-partners { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; }
.footer-partners h3 { margin: 0; }
.footer-partners ul { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-credit { margin: 0; padding: 0 0 1.6rem; font-size: .85rem; color: rgba(255,255,255,.62); }
.footer-credit a { font-size: inherit; text-decoration: underline; }
.footer-bottom { padding-bottom: .9rem; }
