:root {
  --bg: #fffaf6;
  --bg-soft: #fff2ea;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdfb;
  --surface-accent: #fff1ea;
  --ink: #372a2b;
  --muted: #715f61;
  --line: rgba(157, 112, 105, 0.18);
  --rose: #d98383;
  --rose-deep: #c86f6f;
  --peach: #f4cbb8;
  --apricot: #efb595;
  --gold: #d6a56c;
  --sage: #d9e5d7;
  --shadow-soft: 0 20px 60px rgba(191, 136, 120, 0.12);
  --shadow-card: 0 18px 45px rgba(204, 146, 123, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(252, 225, 215, 0.8), transparent 34%),
    radial-gradient(circle at 85% 14%, rgba(245, 219, 201, 0.75), transparent 24%),
    linear-gradient(180deg, #fffaf6 0%, #fff7f2 24%, #fffaf7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at 1px 1px, rgba(217, 131, 131, 0.08) 1px, transparent 0);
  background-size: 100% 100%, 18px 18px;
  opacity: 0.8;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--rose-deep);
  color: #fff;
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 248, 242, 0.84);
  border-bottom: 1px solid rgba(157, 112, 105, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f6d7c6, #e7a89a);
  color: #6d4146;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 26px rgba(217, 131, 131, 0.18);
}

.brand-lockup {
  display: grid;
  gap: 0.12rem;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 0.95;
}

.brand-tagline {
  font-size: 0.82rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  color: var(--muted);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: rgba(200, 111, 111, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero,
.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 242, 234, 0.7), rgba(255, 250, 246, 0.35));
  border-top: 1px solid rgba(157, 112, 105, 0.08);
  border-bottom: 1px solid rgba(157, 112, 105, 0.08);
}

.section-accent {
  background:
    radial-gradient(circle at top right, rgba(244, 203, 184, 0.5), transparent 36%),
    linear-gradient(135deg, rgba(255, 239, 232, 0.9), rgba(255, 247, 242, 0.9));
}

.section-meta {
  background: rgba(255, 252, 249, 0.9);
}

.hero-grid,
.map-layout,
.guest-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  align-items: center;
}

.eyebrow,
.panel-label,
.sidebar-label,
.highlight-label,
.modal-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2,
.guest-copy-wrap h2,
.modal h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: #2d2324;
}

.hero-copy h1 {
  margin-top: 0.85rem;
  font-size: clamp(3.25rem, 7vw, 6.1rem);
  max-width: 10ch;
}

.hero-intro {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button,
.hero-ctas a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.hero-ctas a:hover,
.hero-ctas a:focus-visible {
  transform: translateY(-1px);
}

.button-primary,
.hero-ctas a.primary {
  background: linear-gradient(135deg, #e8a398, #d77f7f);
  color: #fffaf7;
  box-shadow: 0 12px 28px rgba(215, 127, 127, 0.26);
}

.button-secondary,
.hero-ctas a.secondary,
.button {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(157, 112, 105, 0.16);
  box-shadow: 0 10px 24px rgba(197, 152, 130, 0.08);
}

.hero-notes {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(157, 112, 105, 0.14);
}

.hero-notes p {
  margin: 0;
  color: var(--muted);
}

.hero-facts {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.hero-facts div {
  display: grid;
  gap: 0.15rem;
}

.hero-facts dt {
  font-size: 0.82rem;
  color: var(--rose-deep);
  font-weight: 700;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
}

.hero-aside {
  position: relative;
  min-height: 100%;
}

.hero-panel {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.88), rgba(255, 244, 236, 0.94)),
    linear-gradient(120deg, rgba(244, 203, 184, 0.2), rgba(217, 229, 215, 0.18));
  border: 1px solid rgba(157, 112, 105, 0.14);
  box-shadow: var(--shadow-soft);
}

.panel-quote {
  margin: 1rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.08;
}

.hero-panel-divider {
  width: 4rem;
  height: 1px;
  margin: 1.4rem 0;
  background: rgba(200, 111, 111, 0.28);
}

.hero-highlight {
  display: grid;
  gap: 0.4rem;
}

.highlight-title {
  margin: 0;
  color: var(--muted);
}

.hero-orbit {
  position: absolute;
  inset: auto 0 -2rem auto;
  width: 12rem;
  height: 12rem;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(217, 131, 131, 0.16);
}

.orbit-a {
  transform: scale(1);
}

.orbit-b {
  transform: scale(0.74) rotate(18deg);
}

.orbit-c {
  transform: scale(0.48) rotate(-22deg);
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
  max-width: 64rem;
}

.section-heading h2,
.guest-copy-wrap h2,
.modal h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.section-heading p:last-child,
.guest-copy,
.guest-note,
.modal-summary,
.modal-meta,
.modal-countries {
  margin: 0;
  color: var(--muted);
}

.section-heading-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: end;
}

.listen-grid,
.community-grid,
.stories-grid {
  display: grid;
  gap: 1.25rem;
}

.listen-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.community-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.stories-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.listen-card,
.community-card,
.story-card,
.sidebar-card,
.guest-cta-card,
.sources-panel {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.listen-card,
.community-card,
.story-card,
.sidebar-card,
.sources-panel {
  padding: 1.35rem;
}

.listen-card {
  display: grid;
  gap: 0.9rem;
}

.platform-row,
.community-meta,
.story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  min-height: 1.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(244, 203, 184, 0.42);
  color: #815352;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-soft {
  background: rgba(217, 229, 215, 0.58);
  color: #53695a;
}

.meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.listen-card h3,
.community-card h3,
.story-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.listen-card p,
.community-card p,
.story-card p,
.sidebar-card p {
  margin: 0;
  color: var(--muted);
}

.listen-card .button,
.community-card .button {
  width: fit-content;
}

.map-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  align-items: start;
}

.map-card {
  padding: 1rem;
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 253, 251, 0.85), rgba(255, 243, 236, 0.92)),
    rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.map-visual {
  position: relative;
  min-height: clamp(260px, 38vw, 520px);
  aspect-ratio: 25 / 13;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.65), transparent 28%),
    linear-gradient(180deg, rgba(255, 247, 242, 0.65), rgba(253, 238, 229, 0.85));
}

#globe-root,
.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

#globe-root {
  display: block;
  z-index: 2;
  pointer-events: none;
}

#globe-root canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: auto;
}

.world-map {
  z-index: 1;
  border-radius: var(--radius-lg);
}

.map-sea {
  fill: url(#seaTone);
}

.map-graticule line {
  stroke: rgba(189, 149, 139, 0.2);
  stroke-width: 1;
}

.map-landmasses path {
  fill: rgba(235, 208, 191, 0.95);
  stroke: rgba(177, 133, 121, 0.18);
  stroke-width: 2;
}

.route-line {
  fill: none;
  stroke: url(#routeTone);
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0.68;
  transition: opacity 160ms ease, stroke-width 160ms ease, filter 160ms ease;
}

.route-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 28;
  cursor: pointer;
}

.map-point {
  fill: #fffaf7;
  stroke: var(--rose-deep);
  stroke-width: 3;
  transition: transform 160ms ease, fill 160ms ease, stroke 160ms ease;
  transform-origin: center;
}

.map-point-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 18;
  cursor: pointer;
}

.map-route.is-active .route-line,
.map-route:focus-within .route-line,
.map-route:hover .route-line {
  opacity: 1;
  stroke-width: 8;
  filter: drop-shadow(0 8px 18px rgba(217, 131, 131, 0.28));
}

.map-point-group.is-active .map-point,
.map-point-group:hover .map-point,
.map-point-group:focus-within .map-point {
  fill: var(--rose);
  stroke: #fff;
  transform: scale(1.08);
}

.map-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.map-sidebar {
  display: grid;
  gap: 1rem;
}

.theme-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.7rem;
}

.pill {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(157, 112, 105, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.pill.is-active {
  background: rgba(244, 203, 184, 0.72);
  color: #674545;
  border-color: rgba(217, 131, 131, 0.28);
}

.story-card {
  display: grid;
  gap: 1rem;
  min-height: 100%;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.story-card:hover,
.story-card:focus-visible,
.story-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(217, 131, 131, 0.28);
  box-shadow: 0 22px 46px rgba(209, 139, 120, 0.18);
}

.story-card[hidden] {
  display: none;
}

.story-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.02;
}

.story-countries {
  font-size: 0.92rem;
  color: #865e5f;
}

.story-tags,
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.story-tags span,
.modal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(217, 229, 215, 0.52);
  color: #4f6254;
  font-size: 0.78rem;
  font-weight: 700;
}

.community-card {
  display: grid;
  gap: 0.9rem;
}

.guest-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: start;
}

.guest-copy {
  display: grid;
  gap: 1rem;
}

.guest-copy p,
.guest-copy ul {
  margin: 0;
}

.guest-copy ul {
  padding-left: 1.15rem;
  color: var(--muted);
}

.guest-cta-card {
  padding: 1.6rem;
}

.guest-cta-card .button {
  width: 100%;
  margin-top: 1rem;
}

.guest-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

.sources-list {
  display: grid;
  gap: 1rem;
}

.sources-panel dl {
  display: grid;
  gap: 0.85rem 1rem;
  margin: 0;
}

.sources-panel div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(157, 112, 105, 0.1);
}

.sources-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sources-panel dt {
  font-weight: 700;
}

.sources-panel dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.sources-panel a {
  color: #875d56;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(58, 38, 39, 0.36);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 80;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: min(100%, 720px);
  max-height: min(90vh, 860px);
  overflow: auto;
  padding: 2rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(255, 244, 238, 0.98));
  box-shadow: 0 30px 80px rgba(77, 48, 49, 0.18);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-body {
  display: grid;
  gap: 1rem;
}

.modal h2 {
  padding-right: 3rem;
}

.modal-primary-cta {
  margin-top: 0.5rem;
  width: fit-content;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(157, 112, 105, 0.12);
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.modal-open {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid rgba(200, 111, 111, 0.4);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-grid,
  .map-layout,
  .guest-layout,
  .section-heading-split {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-aside {
    max-width: 40rem;
  }

  .map-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 0.75rem 1rem;
  }

  .hero,
  .section {
    padding: 3.5rem 0;
  }

  .hero-panel,
  .map-card,
  .modal {
    padding: 1.25rem;
  }

  .map-sidebar {
    grid-template-columns: 1fr;
  }

  .map-visual {
    min-height: 240px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .modal-primary-cta,
  .listen-card .button,
  .community-card .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100%, calc(100% - 1.2rem));
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .guest-copy-wrap h2,
  .modal h2 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .hero-ctas,
  .theme-filters {
    gap: 0.6rem;
  }

  .button,
  .hero-ctas a,
  .pill {
    width: 100%;
  }

  .platform-row,
  .story-topline,
  .community-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-caption {
    flex-direction: column;
  }
}
