/* =====================================================================
   Latin American Living — The Relocation Magazine
   Home page ("Cover Vibe" direction). Recreated from the Claude Design
   handoff. Design tokens mirror the handoff's documented system.
   ===================================================================== */

:root {
  /* Greens */
  --jungle: #1F3D2E;          /* primary dark — hero / dark sections */
  --green-900: #16301F;       /* footer / deepest panels */
  --green-700: #2C5340;       /* cover hatch / hover fills */
  --green-700b: #335B47;      /* cover hatch alt stripe */
  --green-border: #3C6A52;    /* hairlines on dark */
  --green-border-2: #4D7A60;  /* pill borders */
  --green-border-3: #2F5640;  /* ad slot border */
  --green-muted: #9DBBA8;     /* secondary text on dark */
  --green-muted-2: #87A492;
  --green-muted-3: #6F8C7B;
  --green-mist: #BDCFC2;      /* about supporting text */

  /* Creams / paper */
  --cream: #F4EEE2;           /* primary light background */
  --cream-2: #FBF7EE;         /* card surfaces on cream */
  --cream-3: #EFE7D5;         /* alt light band */

  /* Ink */
  --ink: #2A2622;             /* primary text on light */
  --ink-soft: #4A4339;        /* body text on light */
  --ink-soft-2: #6B6256;      /* secondary text on light */
  --taupe: #8A7F6C;           /* mono labels / captions */
  --border-light: #D9CFBC;    /* hairlines / card borders on light */

  /* Accents */
  --terracotta: #BC5A33;      /* CTAs, links, accents */
  --terracotta-dark: #A24824; /* CTA hover */
  --gold: #E8B84B;            /* masthead rule, highlights on dark */
  --gold-hover: #F4CC63;      /* gold pill hover */

  /* Warm tints */
  --nav-link: #E7DEC9;        /* utility-nav link text */
  --paper-warm: #F8F3E8;      /* text on terracotta / cover tag text */
  --coverline: #F0E6D0;       /* cover coverlines */
  --cover-caption: #BFD2C6;   /* cover caption chip */
  --dispatch-kicker: #F2D9B8;
  --dispatch-lead: #F7E7D4;
  --dispatch-input-bg: #FBF3E8;

  /* Type families */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Layout */
  --maxw: 1180px;
  --pad-x: 48px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--jungle);
  color: var(--cream);
  font-family: var(--sans);
}
/* Match the body backdrop to the page so overscroll never flashes a
   different color behind a cream or ink page. */
body:has(.page--cream) { background: var(--cream); }
body:has(.page--ink)   { background: var(--ink); }

::selection { background: var(--gold); color: var(--jungle); }

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

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

/* Visible keyboard focus across both dark and light surfaces */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

[hidden] { display: none !important; }

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--gold);
  color: var(--jungle);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------
   Page shell
   --------------------------------------------------------------------- */
.page {
  background: var(--jungle);
  color: var(--cream);
  font-family: var(--sans);
  min-height: 100vh;
  /* clip (not hidden) prevents horizontal overflow WITHOUT turning .page
     into a scroll container — which would break the sticky header and let
     the body backdrop bleed through. */
  overflow-x: clip;
}

/* ---------------------------------------------------------------------
   Utility / nav header
   --------------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad-x);
  position: relative;
  z-index: 50;
}
.utility-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nav-link);
}
.nav-link {
  transition: color .2s ease;
}
.nav-link:hover { color: var(--gold); }
.subscribe-pill {
  background: var(--gold);
  color: var(--jungle);
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 700;
  transition: background-color .2s ease;
}
.subscribe-pill:hover { background: var(--gold-hover); }

/* ---------------------------------------------------------------------
   Centered masthead
   --------------------------------------------------------------------- */
.masthead {
  text-align: center;
  padding: 34px var(--pad-x) 10px;
}
.masthead-inner { max-width: 860px; margin: 0 auto; }
.masthead-rule { height: 1.5px; background: var(--gold); margin-bottom: 18px; }
.masthead-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.italic-gold { font-style: italic; color: var(--gold); }
.masthead-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.masthead-tagline .rule { flex: 1; height: 1px; background: var(--green-border); }
.tagline-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green-muted);
}

/* ---------------------------------------------------------------------
   Cover panel
   --------------------------------------------------------------------- */
.cover {
  padding: 30px var(--pad-x) 56px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.cover-panel {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background-image: repeating-linear-gradient(135deg, var(--green-700) 0 22px, var(--green-700b) 22px 44px);
  border: 1px solid var(--green-border);
}
.cover-head {
  position: absolute;
  top: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 46%;
}
.cover-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: var(--paper-warm);
  padding: 6px 12px;
  border-radius: 4px;
}
.cover-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.02;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(20, 35, 28, 0.5);
  margin: 0;
}
.cover-lines {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cover-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--coverline);
}
.cover-caption {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cover-caption);
  background: rgba(20, 35, 28, 0.5);
  padding: 6px 10px;
  border-radius: 4px;
}
.cover-seal {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--jungle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  transform: rotate(-7deg);
}

/* ---------------------------------------------------------------------
   Light sections — shared section header
   --------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin: 0;
}
.section-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  transition: color .2s ease;
}
.section-link:hover { color: var(--terracotta-dark); }
.section-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------------------------------------------------------------------
   Intro band (cream)
   --------------------------------------------------------------------- */
.intro {
  background: var(--cream);
  color: var(--ink);
  padding: 60px var(--pad-x);
}
.intro-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.intro-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.italic-terra { font-style: italic; color: var(--terracotta); }
.intro-body p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.intro-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--terracotta);
  color: var(--paper-warm);
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: background-color .2s ease;
}
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-outline {
  border: 1.5px solid var(--ink);
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: background-color .2s ease, color .2s ease;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ---------------------------------------------------------------------
   Country guides strip (cream)
   --------------------------------------------------------------------- */
.guides {
  background: var(--cream);
  color: var(--ink);
  padding: 0 var(--pad-x) 64px;
}
.guides-inner { max-width: var(--maxw); margin: 0 auto; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.guide-card { display: block; }
.guide-thumb {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  /* per-card stripe colors via --g1 / --g2 */
  background-image: repeating-linear-gradient(135deg, var(--g1) 0 14px, var(--g2) 14px 28px);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease;
}
.guide-card:hover .guide-thumb { transform: translateY(-3px); }
.guide-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(31, 61, 46, 0.78));
  color: var(--cream);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

/* ---------------------------------------------------------------------
   The Cast — channel pills (green)
   --------------------------------------------------------------------- */
.cast { padding: 70px var(--pad-x); }
.cast-inner { max-width: var(--maxw); margin: 0 auto; }
.cast-head { text-align: center; margin-bottom: 40px; }
.cast-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.cast-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  margin: 14px 0 0;
}
.cast-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--green-border-2);
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  color: var(--cream);
  transition: background-color .2s ease, border-color .2s ease;
}
.pill:hover { background: var(--green-700); border-color: var(--gold); }
.pill-ours {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--jungle);
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 700;
  transition: background-color .2s ease;
}
.pill-ours:hover { background: var(--gold-hover); }
.pill-ours-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--jungle);
  color: var(--gold);
  padding: 3px 7px;
  border-radius: 3px;
}
.cast-more { text-align: center; margin-top: 30px; }
.cast-more-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
}

/* ---------------------------------------------------------------------
   Practical Resources (cream)
   --------------------------------------------------------------------- */
.resources {
  background: var(--cream);
  color: var(--ink);
  padding: 76px var(--pad-x);
  scroll-margin-top: 20px;
}
.resources-inner { max-width: var(--maxw); margin: 0 auto; }
.resources .section-head { margin-bottom: 30px; }
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;                      /* hairline gridlines via background */
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}
.resource-cell {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--cream-2);
  padding: 26px 24px;
  transition: background-color .2s ease;
}
.resource-cell:hover { background: var(--cream); }
.resource-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--terracotta);
}
.resource-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}
.resource-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft-2);
  margin: 0;
}

/* ---------------------------------------------------------------------
   About / mission (green)
   --------------------------------------------------------------------- */
.about {
  padding: 80px var(--pad-x);
  scroll-margin-top: 20px;
}
.about-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.about-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.about-statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 20px 0 22px;
  color: var(--cream);
}
.about-support {
  font-size: 16px;
  line-height: 1.6;
  color: var(--green-mist);
  max-width: 36em;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------
   The Dispatch — newsletter (terracotta band)
   --------------------------------------------------------------------- */
.dispatch {
  background: var(--terracotta);
  color: var(--paper-warm);
  padding: 64px var(--pad-x);
  scroll-margin-top: 20px;
}
.dispatch-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.dispatch-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dispatch-kicker);
}
.dispatch-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.04;
  margin: 14px 0 14px;
}
.dispatch-lead {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--dispatch-lead);
  margin: 0 0 26px;
}
.dispatch-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.dispatch-input {
  flex: 1;
  padding: 15px 18px;
  border-radius: 8px;
  border: none;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--dispatch-input-bg);
}
.dispatch-btn {
  padding: 15px 24px;
  border-radius: 8px;
  border: none;
  background: var(--jungle);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.dispatch-btn:hover { background: var(--green-900); }
.dispatch-confirm {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper-warm);
  margin: 16px 0 0;
}

/* ---------------------------------------------------------------------
   Ad slot (green 900)
   --------------------------------------------------------------------- */
.ad { background: var(--green-900); padding: 40px var(--pad-x); }
.ad-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  border: 1px solid var(--green-border-3);
  border-radius: 8px;
  padding: 24px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ad-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-muted-3);
}
.ad-size {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green-muted-2);
}

/* ---------------------------------------------------------------------
   Footer (green 900)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--green-900);
  color: var(--green-muted);
  padding: 12px var(--pad-x) 48px;
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--green-border-3);
}
.footer-lockup { margin-bottom: 14px; }
.footer-rule {
  height: 1.5px;
  background: var(--gold);
  width: 220px;
  margin-bottom: 10px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-muted-3);
  margin-top: 7px;
}
.footer-blurb {
  font-size: 14px;
  line-height: 1.6;
  max-width: 28em;
  margin: 0;
  color: var(--green-muted-2);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.footer-link {
  font-size: 14px;
  transition: color .2s ease;
}
.footer-link:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green-muted-3);
}
.footer-credit { transition: color .2s ease; }
.footer-credit:hover { color: var(--gold); }

/* =====================================================================
   INNER PAGES (Shows, Magazine, Destinations) — shared + page-specific.
   Defined before the responsive layer so the .m-* breakpoint hooks win.
   ===================================================================== */

:root {
  --green-label: #2E5C44;   /* category labels on light inner pages */
  --live-red: #E0524B;      /* "On Air" dot */
  --ink-card: #322E29;      /* dark creator card surface */
  --ink-border: #463F38;    /* borders on the ink-dark Shows page */
  --dark-muted: #CBBFA8;    /* intro / footer text on dark */
  --dark-muted-2: #B8AC97;  /* card blurb on dark */
  --dark-muted-3: #9C8F7C;  /* handle / tagline on dark */
  --nav-dark: #E0D6C2;      /* nav links on the dark page */
}

/* Page background variants (base .page is the jungle-green home) */
.page--cream { background: var(--cream); color: var(--ink); }
.page--ink   { background: var(--ink);   color: var(--cream); }
.page--wide  { --maxw: 1280px; }

/* --- Sticky header + masthead lockup + nav (shared light/dark) --- */
.inner-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px var(--pad-x);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.inner-header--light { border-bottom: 1px solid var(--border-light); background: rgba(244, 238, 226, 0.93); }
.inner-header--dark  { border-bottom: 1px solid var(--ink-border);   background: rgba(42, 38, 34, 0.92); }

.logo-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-lockup .rule { height: 1.5px; width: 100%; margin-bottom: 6px; }
.logo-lockup .name { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.logo-lockup .tag  { font-family: var(--mono); font-size: 8px; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 5px; }
.inner-header--light .logo-lockup .rule { background: var(--ink); }
.inner-header--light .logo-lockup .name { color: var(--ink); }
.inner-header--light .logo-lockup .tag  { color: var(--taupe); }
.inner-header--dark  .logo-lockup .rule { background: var(--gold); }
.inner-header--dark  .logo-lockup .name { color: var(--cream); }
.inner-header--dark  .logo-lockup .tag  { color: var(--dark-muted-3); }

.inner-nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.inner-header--dark .inner-nav { color: var(--nav-dark); }
.inner-nav .nav-item { padding: 4px 0; border-bottom: 1.5px solid transparent; transition: color .2s ease, border-color .2s ease; }
.inner-nav .nav-item:hover { border-bottom-color: var(--terracotta); }
.inner-nav .nav-item.is-active { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.inner-header--dark .inner-nav .nav-item.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-subscribe {
  background: var(--terracotta); color: var(--paper-warm);
  padding: 10px 20px; border-radius: 100px; font-weight: 600;
  transition: background-color .2s ease;
}
.nav-subscribe:hover { background: var(--terracotta-dark); }

/* --- Simplified inner-page footer (shared brand-green single row) --- */
.inner-footer { background: var(--green-900); color: var(--green-muted); padding: 48px var(--pad-x) 40px; }
.inner-footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.inner-footer-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.inner-footer-lockup .rule { height: 1.5px; width: 100%; background: var(--gold); margin-bottom: 9px; }
.inner-footer-lockup .name { font-family: var(--serif); font-size: 21px; color: var(--cream); }
.inner-footer-lockup .tag  { font-family: var(--mono); font-size: 8px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green-muted-3); margin-top: 6px; }
.inner-footer-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--green-muted-3); }
.inner-footer-meta a { transition: color .2s ease; }
.inner-footer-meta a:hover { color: var(--gold); }

/* =====================================================================
   SHOWS — "The Cast" (dark ink page)
   ===================================================================== */
.shows-head { padding: 72px var(--pad-x) 48px; max-width: var(--maxw); margin: 0 auto; }
.onair { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.onair-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--live-red); flex: 0 0 auto; }
.onair-text { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.shows-h1 { font-family: var(--serif); font-weight: 400; font-size: 66px; line-height: 1; letter-spacing: -0.02em; margin: 0 0 22px; max-width: 16em; }
.shows-intro { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--dark-muted); max-width: 38em; margin: 0; }

/* Official feature row */
.official { padding: 12px var(--pad-x) 28px; max-width: var(--maxw); margin: 0 auto; }
.official-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #33463B, #26352C);
  border: 1px solid #4A5C4E; border-radius: 14px; padding: 32px; overflow: hidden;
  transition: border-color .2s ease;
}
.official-card:hover { border-color: var(--gold); }
.official-thumb {
  aspect-ratio: 16 / 10; border-radius: 8px;
  background-image: repeating-linear-gradient(135deg, #3E5046 0 16px, #46584C 16px 32px);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.play-btn { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(232, 184, 75, 0.95); color: var(--ink); font-size: 20px; position: relative; z-index: 1; }
.official-thumb .thumb-caption { position: absolute; bottom: 14px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #C9D6CC; background: rgba(38, 53, 44, 0.7); padding: 5px 9px; border-radius: 4px; }
.official-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 3px 8px; border-radius: 3px; font-weight: 500; }
.official-name { font-family: var(--serif); font-size: 38px; font-weight: 500; margin: 16px 0 10px; }
.official-handle { font-family: var(--mono); font-size: 12px; color: #9FB3A4; }
.official-blurb { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: #D6E0D8; margin: 16px 0 20px; max-width: 30em; }
.btn-ghost-gold { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--gold); color: var(--gold); padding: 11px 22px; border-radius: 100px; font-weight: 600; font-size: 14px; }

/* Cast grid */
.cast-grid-section { padding: 28px var(--pad-x) 40px; max-width: var(--maxw); margin: 0 auto; }
.cast-grid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--ink-border); padding-bottom: 14px; }
.cast-grid-title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 22px; margin: 0; }
.cast-grid-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); }
.creator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.creator-card { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--ink-card); border: 1px solid var(--ink-border); border-radius: 12px; overflow: hidden; transition: border-color .2s ease; }
.creator-card:hover { border-color: var(--terracotta); }
.creator-thumb { background-image: repeating-linear-gradient(135deg, #3C372F 0 14px, #443E36 14px 28px); position: relative; min-height: 190px; display: flex; align-items: center; justify-content: center; }
.play-btn-sm { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(188, 90, 51, 0.92); color: var(--cream); font-size: 16px; }
.creator-body { padding: 24px; }
.creator-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); }
.creator-name { font-family: var(--serif); font-size: 25px; font-weight: 500; margin: 8px 0 3px; }
.creator-handle { font-family: var(--mono); font-size: 11px; color: var(--dark-muted-3); }
.creator-blurb { font-size: 14px; line-height: 1.55; color: var(--dark-muted-2); margin: 12px 0 0; }
.loc-chip { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.loc-text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-muted-3); }
.compass { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--gold); flex: 0 0 auto; position: relative; }
.compass::before, .compass::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); }
.compass::before { width: 9px; height: 1px; transform: translate(-50%, -50%); }
.compass::after  { width: 1px; height: 9px; transform: translate(-50%, -50%); }

/* Suggest a channel */
.suggest { padding: 32px var(--pad-x) 80px; max-width: var(--maxw); margin: 0 auto; }
.suggest-box { border: 1px dashed #5A5249; border-radius: 12px; padding: 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.suggest-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); }
.suggest-title { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0; }
.suggest-text { font-size: 15px; color: var(--dark-muted-2); max-width: 32em; margin: 0 0 8px; }
.suggest-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--terracotta); color: var(--paper-warm); padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: 14px; transition: background-color .2s ease; }
.suggest-btn:hover { background: var(--terracotta-dark); }

/* =====================================================================
   MAGAZINE — article index (cream page)
   ===================================================================== */
.mag-head { padding: 64px var(--pad-x) 40px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.mag-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta); }
.mag-h1 { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1.02; letter-spacing: -0.02em; margin: 18px 0; }
.italic { font-style: italic; }
.mag-intro { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 34em; margin: 0 auto; }

.cat-pills { padding: 0 var(--pad-x) 36px; max-width: var(--maxw); margin: 0 auto; }
.cat-pills-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cat-pill { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--border-light); color: var(--ink-soft-2); transition: color .2s ease, border-color .2s ease; }
.cat-pill:hover { border-color: var(--terracotta); color: var(--terracotta); }
.cat-pill.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.lead { padding: 0 var(--pad-x) 64px; max-width: var(--maxw); margin: 0 auto; }
.lead-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; border-top: 2px solid var(--ink); padding-top: 36px; }
.lead-thumb { aspect-ratio: 16 / 10; border-radius: 8px; background-image: repeating-linear-gradient(135deg, #D8CFB6 0 18px, #E2D9C1 18px 36px); border: 1px solid var(--border-light); position: relative; }
.lead-caption { position: absolute; bottom: 16px; left: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe); background: rgba(244, 238, 226, 0.85); padding: 6px 10px; border-radius: 4px; }
.lead-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-label); }
.lead-title { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.04; letter-spacing: -0.01em; margin: 16px 0 14px; }
.lead-dek { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-soft-2); }
.byline-name { font-weight: 600; color: var(--ink); }
.byline-dot { opacity: 0.5; }

.articles { padding: 0 var(--pad-x) 40px; max-width: var(--maxw); margin: 0 auto; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { display: flex; flex-direction: column; gap: 14px; }
.article-thumb { aspect-ratio: 4 / 3; border-radius: 8px; background-image: repeating-linear-gradient(135deg, var(--g1) 0 16px, var(--g2) 16px 32px); border: 1px solid var(--border-light); position: relative; }
.article-caption { position: absolute; bottom: 12px; left: 12px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--taupe); background: rgba(244, 238, 226, 0.85); padding: 4px 8px; border-radius: 3px; }
.article-cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-label); }
.article-title { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.12; margin: 0; }
.article-dek { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft-2); margin: 0; }
.article-read { font-size: 12.5px; color: var(--taupe); }

.mag-ad { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x) 56px; }
.mag-ad-inner { border: 1px solid var(--border-light); border-radius: 8px; background: var(--cream-3); padding: 24px; min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.mag-ad-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #A89C84; }
.mag-ad-size { font-family: var(--mono); font-size: 11px; color: var(--taupe); }

.more-stories { padding: 16px var(--pad-x) 72px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.more-btn { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); padding: 12px 26px; border-radius: 100px; font-weight: 600; font-size: 14px; transition: background-color .2s ease, color .2s ease; }
.more-btn:hover { background: var(--ink); color: var(--cream); }
.more-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-top: 18px; }

/* =====================================================================
   DESTINATIONS — 17 country guides (cream page)
   ===================================================================== */
.dest-head { padding: 64px var(--pad-x) 40px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.dest-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta); }
.dest-h1 { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1.02; letter-spacing: -0.02em; margin: 16px 0 18px; }
.dest-intro { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 36em; margin: 0 auto; }

.region { padding: 36px var(--pad-x) 20px; max-width: var(--maxw); margin: 0 auto; }
.region:first-of-type { padding-top: 24px; }
.region-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.region-title { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0; }
.region-count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); }
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.country-card { display: flex; flex-direction: column; gap: 10px; background: var(--cream-2); border: 1px solid var(--border-light); border-radius: 10px; padding: 20px 22px; transition: border-color .2s ease; }
.country-card:hover { border-color: var(--terracotta); }
.country-head { display: flex; align-items: center; gap: 11px; }
.country-name { font-family: var(--serif); font-size: 23px; font-weight: 500; margin: 0; }
.country-desc { font-size: 14px; line-height: 1.55; color: var(--ink-soft-2); margin: 0; }
.country-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-label); margin-top: auto; }

.dest-note { padding: 8px var(--pad-x) 72px; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.dest-note-1 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe); margin: 0 0 6px; }
.dest-note-2 { font-size: 14px; color: var(--ink-soft-2); margin: 0; }

/* =====================================================================
   FLAG CHIPS — recreated from the prototype's CSS-built flags.
   Base 28x19 (Destinations); .flag--sm 22x15 (Shows location chips).
   ===================================================================== */
.flag { width: 28px; height: 19px; border-radius: 3px; overflow: hidden; flex: 0 0 auto; position: relative; display: block; box-shadow: 0 0 0 1px rgba(42, 38, 34, 0.12); }
.flag--sm { width: 22px; height: 15px; border-radius: 2px; }
.flag--ondark { box-shadow: 0 0 0 1px rgba(244, 238, 226, 0.18); }

/* Vertical tribands */
.flag-mx { background: linear-gradient(to right, #006847 0 33.333%, #fff 33.333% 66.666%, #CE1126 66.666%); }
.flag-gt { background: linear-gradient(to right, #4997D0 0 33.333%, #fff 33.333% 66.666%, #4997D0 66.666%); }
.flag-pe { background: linear-gradient(to right, #D91023 0 33.333%, #fff 33.333% 66.666%, #D91023 66.666%); }
/* Horizontal tribands */
.flag-sv { background: linear-gradient(to bottom, #0F47AF 0 33.333%, #fff 33.333% 66.666%, #0F47AF 66.666%); }
.flag-hn { background: linear-gradient(to bottom, #0073CF 0 33.333%, #fff 33.333% 66.666%, #0073CF 66.666%); }
.flag-ni { background: linear-gradient(to bottom, #0067C6 0 33.333%, #fff 33.333% 66.666%, #0067C6 66.666%); }
.flag-ve { background: linear-gradient(to bottom, #FFCC00 0 33.333%, #00247D 33.333% 66.666%, #CF142B 66.666%); }
.flag-bo { background: linear-gradient(to bottom, #D52B1E 0 33.333%, #F9E300 33.333% 66.666%, #007934 66.666%); }
.flag-py { background: linear-gradient(to bottom, #D52B1E 0 33.333%, #fff 33.333% 66.666%, #0038A8 66.666%); }
/* Top-weighted yellow band (Colombia / Ecuador) */
.flag-co { background: linear-gradient(to bottom, #FCD116 0 50%, #003893 50% 75%, #CE1126 75%); }
.flag-ec { background: linear-gradient(to bottom, #FFDD00 0 50%, #034EA2 50% 75%, #ED1C24 75%); }
/* Costa Rica — 5 stripes */
.flag-cr { background: linear-gradient(to bottom, #002B7F 0 16.667%, #fff 16.667% 33.333%, #CE1126 33.333% 66.667%, #fff 66.667% 83.333%, #002B7F 83.333%); }
/* Argentina — light-blue triband + sun */
.flag-ar { background: linear-gradient(to bottom, #75AADB 0 33.333%, #fff 33.333% 66.666%, #75AADB 66.666%); }
.flag-ar .fa-sun { position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #F6B40E; transform: translate(-50%, -50%); }
/* Chile — white/red split + blue canton with star */
.flag-cl { background: linear-gradient(to bottom, #fff 0 50%, #D52B1E 50%); }
.flag-cl .fc-canton { position: absolute; top: 0; left: 0; width: 11px; height: 9.5px; background: #0039A6; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 7px; line-height: 1; }
/* Panama — quadrants + two stars */
.flag-pa { background: #fff; }
.flag-pa .fp-tr { position: absolute; top: 0; right: 0; width: 50%; height: 50%; background: #D21034; }
.flag-pa .fp-bl { position: absolute; bottom: 0; left: 0; width: 50%; height: 50%; background: #072357; }
.flag-pa .fp-star-tl { position: absolute; top: 1px; left: 4px; color: #072357; font-size: 7px; line-height: 1; }
.flag-pa .fp-star-br { position: absolute; bottom: 1px; right: 4px; color: #D21034; font-size: 7px; line-height: 1; }
/* Brazil — green field, yellow diamond, blue disc */
.flag-br { background: #009C3B; }
.flag-br .fb-diamond { position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; background: #FFDF00; transform: translate(-50%, -50%) rotate(45deg); }
.flag-br .fb-disc { position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: #002776; transform: translate(-50%, -50%); }
/* Uruguay — 4 stripes + sun canton */
.flag-uy { background: linear-gradient(to bottom, #fff 0 25%, #0038A8 25% 50%, #fff 50% 75%, #0038A8 75%); }
.flag-uy .fu-canton { position: absolute; top: 0; left: 0; width: 11px; height: 11px; background: #fff; display: flex; align-items: center; justify-content: center; }
.flag-uy .fu-sun { width: 5px; height: 5px; border-radius: 50%; background: #F6B40E; }

/* --- Channel avatars on the Shows listing cards --- */
.creator-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   SHOW PAGE — one per channel (/shows/<slug>), dark theme
   ===================================================================== */
.show-hero { padding: 48px var(--pad-x) 28px; max-width: var(--maxw); margin: 0 auto; }
.show-back { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; transition: color .2s ease; }
.show-back:hover { color: var(--gold-hover); }
.show-hero-inner { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; }
.show-hero-meta { min-width: 0; }
.show-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink-border); background: var(--ink-card); }
.show-avatar--mono { display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 48px; color: var(--gold); }
.show-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }
.show-name { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.05; margin: 8px 0 4px; }
.show-handle { font-family: var(--mono); font-size: 12px; color: var(--dark-muted-3); }
.show-blurb { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--dark-muted); margin: 14px 0 16px; max-width: 46em; }
.show-hero-inner .loc-chip { margin-top: 0; margin-bottom: 16px; }
.show-watch { margin-top: 4px; }

.latest { padding: 8px var(--pad-x) 72px; max-width: var(--maxw); margin: 0 auto; }
.latest-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--ink-border); padding-bottom: 14px; }
.latest-title { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 22px; margin: 0; }
.latest-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ink-card); border: 1px solid var(--ink-border); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(188, 90, 51, 0.92); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.video-title { font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.25; margin: 0; color: var(--cream); }
.video-date { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-muted-3); }
.show-empty { color: var(--dark-muted-2); font-family: var(--serif); font-size: 18px; }
@media (max-width: 560px) {
  .show-hero-inner { grid-template-columns: 1fr; gap: 18px; }
  .show-name { font-size: 34px; }
}

/* --- Real imagery: cover photo + country-card photos --- */
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Scrim keeps the cream headline/coverlines legible over any photo:
   darker on the left (text column) and along the bottom. */
.cover-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(98deg, rgba(20, 35, 28, 0.74) 0%, rgba(20, 35, 28, 0.32) 40%, rgba(20, 35, 28, 0) 64%),
    linear-gradient(0deg, rgba(20, 35, 28, 0.52) 0%, rgba(20, 35, 28, 0) 34%);
}
.guide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.guide-card:hover .guide-img { transform: scale(1.04); }

/* ---------------------------------------------------------------------
   Responsive layer (matches the prototype's breakpoints)
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .m-nav { flex-wrap: wrap; gap: 10px 18px; }
  .m-stack { grid-template-columns: 1fr; }
  .m-g4 { grid-template-columns: repeat(2, 1fr); }
  .m-g3 { grid-template-columns: repeat(2, 1fr); }
  .m-g2 { grid-template-columns: 1fr; }
  .m-foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .page > section,
  .page > header,
  .page > footer,
  .page > aside { padding-left: 20px; padding-right: 20px; }
  .m-head { flex-wrap: wrap; gap: 14px; }
  .m-nav { width: 100%; gap: 10px 16px; font-size: 13px; }
  .m-g4, .m-g3 { grid-template-columns: 1fr; }
  .m-foot { grid-template-columns: 1fr 1fr; }
  .m-card { grid-template-columns: 1fr; }
  .m-d1 { font-size: 40px; line-height: 1.04; max-width: none; }
  .m-h2 { font-size: 30px; }
}
@media (max-width: 380px) {
  .m-foot { grid-template-columns: 1fr; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
