/* ==========================================================================
   Growing up in the Caribbean — archive site
   Editorial system: deep-sea ink, lagoon accent, sand paper, coral rule.
   Two type families: Fraunces (display) + Source Sans 3 (UI & long-form).
   ========================================================================== */

:root {
  /* palette — light */
  --paper:      oklch(0.985 0.008 85);
  --paper-2:    oklch(0.955 0.014 85);
  --card:       oklch(1 0 0);
  --ink:        oklch(0.24 0.028 205);
  --ink-2:      oklch(0.46 0.022 205);
  --ink-3:      oklch(0.525 0.020 205);
  --line:       oklch(0.885 0.014 85);
  --line-2:     oklch(0.815 0.018 85);
  --sea:        oklch(0.255 0.048 209);
  --sea-2:      oklch(0.335 0.055 207);
  --lagoon:     oklch(0.62 0.098 196);
  --lagoon-bright: oklch(0.80 0.085 196);
  --lagoon-ink: oklch(0.44 0.088 199);
  --coral:      oklch(0.575 0.152 38);
  --on-accent:  oklch(0.99 0.008 85);
  --sand:       oklch(0.92 0.035 84);
  --on-sea:     oklch(0.97 0.008 85);
  --on-sea-2:   oklch(0.80 0.022 200);

  /* type */
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.14vw, 1.08rem);
  --step-1:  clamp(1.22rem, 1.15rem + 0.34vw, 1.45rem);
  --step-2:  clamp(1.50rem, 1.36rem + 0.70vw, 2.00rem);
  --step-3:  clamp(1.85rem, 1.60rem + 1.25vw, 2.70rem);
  --step-4:  clamp(2.30rem, 1.80rem + 2.40vw, 4.05rem);

  --rail: 1180px;
  --col: 68ch;
  --r-sm: 4px;
  --r-md: 8px;
  --shadow-1: 0 1px 2px oklch(0.24 0.028 205 / 0.06), 0 8px 24px oklch(0.24 0.028 205 / 0.05);
  --shadow-2: 0 2px 6px oklch(0.24 0.028 205 / 0.08), 0 18px 46px oklch(0.24 0.028 205 / 0.10);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.012em; font-variation-settings: "SOFT" 0, "WONK" 0; }
p { margin: 0 0 1.15em; text-wrap: pretty; }
a { color: inherit; text-decoration-color: color-mix(in oklch, var(--lagoon) 60%, transparent); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--coral); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }

.rail { width: min(100% - 2.5rem, var(--rail)); margin-inline: auto; }
@media (max-width: 640px) { .rail { width: min(100% - 1.6rem, var(--rail)); } }

/* keep in-page anchors clear of the sticky masthead + filter bar */
[id] { scroll-margin-top: calc(var(--masthead-h, 84px) + 96px); }

.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--lagoon-ink); margin: 0 0 .7rem;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- masthead */
.masthead {
  /* always above the filter bar, the atlas and any page furniture */
  position: sticky; top: 0; z-index: 500;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* logo | text tabs centred in the header itself | subscribe button */
.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1.1rem; min-height: 84px; padding: .5rem 0; }
.mark { display: flex; align-items: center; gap: .65rem; text-decoration: none;
  justify-self: start; }
/* the brand logo is the header's only left-hand element: no wordmark beside it,
   so it can carry the full height of the bar */
.mark__logo { width: 88px; height: 88px; display: block; object-fit: contain; }
.masthead nav { justify-self: center; display: flex; align-items: center; gap: .35rem; }
.masthead nav a:not(.btn) { transition: color .18s cubic-bezier(.22,.9,.28,1), box-shadow .18s cubic-bezier(.22,.9,.28,1);
  font-size: var(--step--1); font-weight: 600; letter-spacing: .01em;
  padding: .5rem .7rem; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2);
  min-height: 40px; display: inline-flex; align-items: center;
}
.masthead nav a:not(.btn):hover { color: var(--ink); background: var(--paper-2); }
.masthead nav a:not(.btn)[aria-current="page"] {
  color: var(--ink); border-radius: 0;
  box-shadow: inset 0 -2px 0 var(--coral);
}
/* ------------------------------------------------------------------- hero */
/* Sunset hero: deep teal water with the light of a setting sun in the lower right,
   where the story images sit. Every line of text stays on the teal, so contrast is
   identical at every width and height. */
.hero {
  color: var(--on-sea); position: relative; overflow: hidden;
  background:
    radial-gradient(115% 85% at 86% 94%,
      oklch(0.78 0.130 66 / 0.95) 0%,
      oklch(0.66 0.125 62 / 0.75) 22%,
      oklch(0.52 0.100 58 / 0.40) 42%,
      oklch(0.52 0.100 58 / 0.12) 58%,
      oklch(0.52 0.100 58 / 0) 72%),
    radial-gradient(90% 60% at 78% 100%,
      oklch(0.86 0.120 74 / 0.55) 0%,
      oklch(0.86 0.120 74 / 0) 60%),
    linear-gradient(180deg, var(--sea) 0%, oklch(0.215 0.045 215) 100%);
}
/* The hero is one column: the copy leads, then the four newest covers run the
   full width of the page so the words baked into them can actually be read.
   They used to sit in a half-width column at ~322px and the subtitles vanished. */
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2.5rem); align-items: start; padding: clamp(2.4rem, 5vw, 4.2rem) 0 0; }
.hero__inner > div:first-child { max-width: 60rem; }
.hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.025em; }
.hero .eyebrow { color: var(--lagoon-bright); }
.hero__deck { font-size: var(--step-1); color: var(--on-sea); max-width: 40ch; margin: 1.1rem 0 0; line-height: 1.5; }
.hero__note { color: var(--on-sea-2); font-size: var(--step--1); margin: 1.4rem 0 0; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.15rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: var(--step-0); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primary { background: var(--coral); color: var(--on-accent); }
.btn--primary:hover { background: color-mix(in oklch, var(--coral) 88%, black); transform: translateY(-1px); }
.btn--ghost { border-color: color-mix(in oklch, var(--on-sea) 34%, transparent); color: var(--on-sea); }
.btn--ghost:hover { border-color: var(--on-sea); background: color-mix(in oklch, var(--on-sea) 10%, transparent); }
.btn--quiet { border-color: var(--line-2); color: var(--ink); background: var(--card); }
.btn--quiet:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn--subscribe { justify-self: end; min-height: 32px; padding: .34rem .7rem; font-size: .82rem; letter-spacing: .01em; }
.label-short { display: none; }

.hero__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.7rem, 1.5vw, 1.2rem); margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.hero__mosaic a { position: relative; display: block; overflow: hidden; border-radius: var(--r-md);
  box-shadow: var(--shadow-2); aspect-ratio: 16 / 9; }
.hero__mosaic img { display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s cubic-bezier(.22,.9,.28,1); }
.hero__mosaic a:hover img { transform: scale(1.035); }
.hero__mosaic a:focus-visible { outline: 2px solid var(--lagoon-bright); outline-offset: 3px; }
.mosaic__label { position: absolute; inset: auto 0 0 0; display: flex; align-items: baseline; gap: .45rem;
  padding: .6rem .7rem .65rem; font-size: .78rem; line-height: 1.2; color: #fff;
  background: linear-gradient(180deg, rgb(8 20 28 / 0) 0%, rgb(8 20 28 / .66) 55%, rgb(8 20 28 / .82) 100%);
  opacity: 0; transform: translateY(.35rem);
  transition: opacity .24s ease, transform .24s ease; }
.mosaic__label b { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero__mosaic a:hover .mosaic__label,
.hero__mosaic a:focus-visible .mosaic__label { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__mosaic img, .mosaic__label { transition: none; }
  .hero__mosaic a:hover img { transform: none; }
}

/* ------------------------------------------------------------ stat ribbon */

/* ----------------------------------------------------------- explore bar */
.explore { padding: clamp(2.2rem, 4vw, 3.4rem) 0 1.2rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.section-head h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
.section-head p { margin: .5rem 0 0; color: var(--ink-2); max-width: 52ch; }

/* ---- filter bar: one compact row that steps back as you scroll ------------
   Deliberately quiet: no cards, no graphics, no extra chrome. It shrinks again
   once it is pinned so the stories stay the dominant thing on the page. */
.controls {
  /* --masthead-h is measured in site.js: the header is 105px on a laptop and 127px
     on a phone, and the bar has to sit under whichever one is on screen. */
  position: sticky; top: var(--masthead-h, 84px); z-index: 400; background: var(--paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: .7rem 0 .55rem; margin-bottom: 1.6rem;
  transition: padding .18s ease, box-shadow .18s ease;
}
.controls.is-slim { padding: .4rem 0 .35rem; box-shadow: 0 6px 18px oklch(0 0 0 / .06); }
.controls.is-slim .controls__status { display: none; }
.controls__row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.field { position: relative; display: flex; align-items: center; }
.field svg { position: absolute; left: .7rem; color: var(--ink-3); pointer-events: none; }
input[type="search"], select {
  font: inherit; font-size: var(--step--1); color: var(--ink); background: var(--card);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); min-height: 42px; padding: .5rem .7rem;
}
input[type="search"] { padding-left: 2.15rem; padding-right: 1.1rem; min-width: min(320px, 60vw); }
/* a little breathing room between the search field and the filters beside it */
.filters { gap: .6rem; }
select { cursor: pointer; }
.field--search { flex: 1 1 260px; }
.field--search input { width: 100%; }
.field--select select { min-width: 11.5rem; }
.reset { min-height: 42px; }
/* Elements like .btn set their own display, which beats the browser's default
   [hidden] rule — so the Reset button appeared even with no filters active.
   Keep [hidden] authoritative. */
[hidden] { display: none !important; }
.count { font-size: var(--step--1); color: var(--ink-3); margin: .5rem 0 0; }
.controls__status { display: flex; align-items: center; gap: .8rem; }
.section-head--compact { align-items: end; margin-bottom: 1rem; }
.section-head__sub { margin: .35rem 0 0 !important; color: var(--ink-2); max-width: none !important; }
/* keep this one line whole on wide screens; let it wrap on smaller ones so it
   can never spill out of the header block */
@media (min-width: 1000px) { .section-head__sub { white-space: nowrap; } }
.chip {
  font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px;
  padding: .42rem .8rem; cursor: pointer; min-height: 38px;
}
.chip[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: var(--on-sea); }
.chip:hover { border-color: var(--ink-3); }
.count { font-size: var(--step--1); color: var(--ink-3); margin: .7rem 0 0; }
.count b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- cards */
/* ---- story grid: the page's centre of gravity ---------------------------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 2.8vw, 2.4rem); padding-bottom: 1.8rem; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .22s cubic-bezier(.22,.9,.28,1), transform .22s cubic-bezier(.22,.9,.28,1), border-color .22s cubic-bezier(.22,.9,.28,1); }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__no {
  position: absolute; top: .7rem; left: .7rem; background: var(--paper); color: var(--ink);
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; padding: .3rem .5rem; border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums;
}
.card__body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-size: var(--step--1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lagoon-ink); margin: 0 0 .45rem; }
.card__title { font-size: clamp(1.1rem, 0.6vw + 0.98rem, 1.35rem); line-height: 1.22; margin: 0 0 .55rem; }
.card__title a { text-decoration: none; }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--coral); }
.card__dek { font-size: var(--step--1); color: var(--ink-2); margin: 0 0 1.1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: .35rem .7rem; font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: .75rem; }
.card__meta em { font-style: normal; color: var(--ink-2); font-weight: 600; }
.card--feature { grid-column: span 2; }
.card--feature .card__media { flex: none; }
.card--feature .card__body { padding: 1.6rem 1.7rem 1.8rem; }
.card--feature .card__title { font-size: var(--step-2); }
.card--feature .card__dek { font-size: var(--step-0); -webkit-line-clamp: 5; }
.tag-latest { position: absolute; top: .7rem; right: .7rem; background: var(--coral); color: var(--on-accent); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .5rem; border-radius: var(--r-sm); }

.empty { border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 2.4rem 1.4rem; text-align: center; color: var(--ink-2); }
.empty b { font-family: var(--display); font-size: var(--step-1); display: block; margin-bottom: .3rem; color: var(--ink); }

/* ------------------------------------------------------------ index table */
.index-block { padding: clamp(2.4rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.ledger { border-top: 1px solid var(--line); margin-top: 1.6rem; }
.ledger__year { margin: 1.9rem 0 .35rem; padding-top: 1rem; border-top: 1px solid var(--line-2);
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ledger__year:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ledger__row {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1.5fr) minmax(0, 1fr) 7.5rem 5.4rem;
  gap: 1rem; align-items: baseline; padding: .85rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none;
}
a.ledger__row:hover { background: var(--paper-2); }
.ledger__no { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-3); font-size: .85rem; letter-spacing: .06em; }
.ledger__guest { font-family: var(--display); font-size: var(--step-0); font-weight: 600; }
.ledger__title { color: var(--ink-2); font-size: var(--step--1); }
.ledger__island { color: var(--ink-3); font-size: var(--step--1); }
.ledger__date { color: var(--ink-3); font-size: var(--step--1); font-variant-numeric: tabular-nums; text-align: right; }
.ledger__row--prelude .ledger__no { font-size: .74rem; letter-spacing: .02em; }
.ledger__row--pending { grid-template-columns: 3.4rem minmax(0, 2.5fr); color: var(--ink-3); }
.ledger__row--pending .ledger__title { color: var(--ink-3); }
.ledger__pending-note { border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: .15rem .5rem; font-size: .76rem; }

/* ------------------------------------------------------------------ prose */
.article-head { padding: clamp(1.6rem, 3vw, 2.6rem) 0 0; }
.crumbs { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 1.1rem; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.article-head h1 { font-size: var(--step-3); max-width: 34ch; letter-spacing: -0.022em; }
.article-head .deck { font-size: var(--step-1); color: var(--ink-2); max-width: 54ch; margin-top: 1rem; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-top: 1.4rem; font-size: var(--step--1); color: var(--ink-2); }
.byline .guest { font-weight: 700; color: var(--ink); font-family: var(--display); font-size: var(--step-0); }
.byline .dot { color: var(--line-2); }
.cover { margin: 1.9rem 0 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* one caption treatment for every photograph on the site: below the image, outside any
   box, separated by a hairline. Previously the cover, the in-story photographs and the
   photo pages each used a different style, so a caption was sometimes in a box and
   sometimes not. */
.cover figcaption,
.prose-figure figcaption,
.prose-video figcaption,
.shot figcaption {
  margin: .55rem 0 0; padding: .55rem .8rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: .78rem; font-style: italic; color: var(--ink-3);
}
.cover figcaption { font-style: normal; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2rem, 4vw, 3.2rem) 0 3rem; align-items: start; }
.prose { max-width: var(--col); font-size: clamp(1.06rem, 1.02rem + 0.2vw, 1.16rem); }
.prose p, .prose a, .prose li { overflow-wrap: anywhere; }
.prose a { color: var(--lagoon-ink); text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--coral); }
.prose-figure { margin: 2rem 0; }
.prose-figure img {
  width: 100%; height: auto; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--paper-2);
}
.prose-figure a { display: block; }
.prose-figure a:hover img { border-color: var(--line-2); box-shadow: var(--shadow-1); }
/* styling comes from the shared caption rule above */


/* ------------------------------------------------------------- photographs */
.photo-set { padding: clamp(1.8rem, 3.5vw, 3rem) 0; border-top: 1px solid var(--line); }
.photo-set__head { margin-bottom: 1.2rem; }
.photo-set__head h2 { font-size: var(--step-2); }
.photo-set__head h2 a { text-decoration: none; }
.photo-set__head h2 a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.photo-set__head p { font-size: var(--step--1); color: var(--ink-2); margin: .4rem 0 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; align-items: start; }
.shot { margin: 0; position: relative; }
.shot img {
  width: 100%; height: auto; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--paper-2);
}
/* styling comes from the shared caption rule above */
.prose p { margin: 0 0 1.3em; }
.prose > p:first-of-type::first-letter {
  font-family: var(--display); float: left; font-size: 3.5em; line-height: .82;
  padding: .06em .1em 0 0; color: var(--lagoon-ink); font-weight: 600;
}
.prose h2 { font-size: var(--step-2); margin: 2.4rem 0 .9rem; }
.prose blockquote {
  margin: 2rem 0; padding: 1.1rem 1.3rem; background: var(--sand); border-radius: var(--r-md);
  font-family: var(--display); font-size: var(--step-1); line-height: 1.4; color: var(--ink);
}
.prose blockquote cite { display: block; font-family: var(--text); font-size: var(--step--1); font-style: normal; color: var(--ink-3); margin-top: .7rem; letter-spacing: .02em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

.aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.4rem; }
.aside__block { border-top: 1px solid var(--line); padding-top: .9rem; }
.aside h3 { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-family: var(--text); font-weight: 700; color: var(--ink-3); margin-bottom: .7rem; }
.aside dl { margin: 0; display: grid; gap: .6rem; }
.aside dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.aside dd { margin: .1rem 0 0; font-size: var(--step--1); color: var(--ink); }
.aside ol { margin: 0; padding-left: 1.1rem; font-size: var(--step--1); color: var(--ink-2); }
.aside ol a { text-decoration: none; }
.aside ol a:hover { text-decoration: underline; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; background: var(--card); }
.pager a:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.pager span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pager strong { font-family: var(--display); font-size: var(--step-0); font-weight: 600; }
.pager .next { text-align: right; align-items: flex-end; }
.pager .disabled { border-style: dashed; color: var(--ink-3); background: transparent; }

.related { border-top: 1px solid var(--line); padding: 2.4rem 0 3.4rem; }
.related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.4rem; }
.mini { text-decoration: none; display: flex; flex-direction: column; gap: .6rem; }
.mini img { aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-sm); width: 100%; border: 1px solid var(--line); }
.mini b { font-family: var(--display); font-size: var(--step--1); font-weight: 600; line-height: 1.25; }
.mini span { font-size: .76rem; color: var(--ink-3); }
.mini:hover b { text-decoration: underline; text-decoration-color: var(--coral); }

/* ------------------------------------------------------------------ about */
.page-head { padding: clamp(2.4rem, 5vw, 4rem) 0 1rem; }
.page-head h1 { font-size: var(--step-4); max-width: 22ch; letter-spacing: -0.025em; }
.page-head .lede { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; margin-top: 1.2rem; }
.page-head__sub {
  font-family: var(--display); font-size: var(--step-0);
  color: var(--ink-2); margin: .9rem 0 0; letter-spacing: .01em;
}
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3.4rem); padding: 1.6rem 0 3rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem 1.7rem; }
.panel h2 { font-size: var(--step-1); margin-bottom: .8rem; }
.panel ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); font-size: var(--step--1); }
.panel li { margin-bottom: .5rem; }
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.method article { border-top: 2px solid var(--sea); padding-top: 1rem; }
.method h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.method p { font-size: var(--step--1); color: var(--ink-2); }

/* --------------------------------------------------------------- subscribe */
.subscribe-band { padding: clamp(2rem, 4vw, 3.2rem) 0; margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.subscribe-band__inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem); align-items: center;
  background: var(--sea); color: var(--on-sea); border-radius: var(--r-md);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.subscribe-band h2 { font-size: var(--step-2); }
.subscribe-band p { color: var(--on-sea-2); font-size: var(--step--1); margin: .6rem 0 0; max-width: 46ch; }
.subscribe-band .eyebrow { color: var(--lagoon-bright); }
.signup { display: flex; gap: .5rem; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 14rem; min-height: 46px; font: inherit; font-size: var(--step-0); padding: .6rem .8rem;
  border-radius: var(--r-sm); border: 1px solid color-mix(in oklch, var(--on-sea) 34%, transparent);
  background: color-mix(in oklch, var(--paper) 96%, transparent); color: var(--ink);
}
.signup input[type="email"]::placeholder { color: var(--ink-3); }
.signup .btn { flex: 0 0 auto; }
.signup__note { font-size: var(--step--1); color: var(--on-sea-2) !important; }
.signup__note a { color: var(--on-sea); }
.subscribe-band--compact .subscribe-band__inner { padding: clamp(1.3rem, 2.5vw, 2rem); }
.subscribe-band--compact h2 { font-size: var(--step-1); }

/* ---------------------------------------------------------------- map ——— */
.map-section { padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
/* ---- the atlas: a drawn map, not a tiled one ------------------------------
   Coastlines come from data/caribbean_map.json (Natural Earth), so there are no
   raster tiles, no third-party map library and nothing that can stack above the
   header. The map sits in its own stacking context to be certain of that. */
/* the panel is exactly as tall as the map: grid stretch, then the panel's own
   column layout keeps its header and detail fixed while the list scrolls */
.atlas { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem); align-items: start; }
.atlas__mapwrap {
  position: relative; z-index: 0; isolation: isolate; overflow: hidden;
  border-radius: var(--r-lg, 18px); box-shadow: var(--shadow-2); background: #a8d5d8;
}
.atlas__map { display: block; width: 100%; height: auto; }
.atlas__frame { transform-origin: 76% 58%; transition: transform .7s cubic-bezier(.22,.7,.3,1); }
.atlas.is-zoomed .atlas__frame { transform: scale(2.15); }
.atlas__land { fill: none; }
.atlas__land path { fill: #f4e3c8; stroke: #d5b98f; stroke-width: .85; }
.atlas__hint {
  position: absolute; left: .75rem; bottom: .75rem; right: .75rem; margin: 0;
  font-size: .8rem; color: #0c3b46; background: color-mix(in oklch, #fff8ee 88%, transparent);
  border-radius: 999px; padding: .35rem .75rem; width: fit-content; max-width: 100%;
}
.pin { cursor: pointer; outline: none; }
.pin__hit { fill: transparent; }
.pin__halo { fill: #fff8ee; opacity: .9; transition: opacity .25s ease; }
.pin__dot { fill: var(--sea); stroke: #0b3a44; stroke-width: 1.1; transform-box: fill-box; transform-origin: center; transition: fill .2s ease, transform .22s cubic-bezier(.2,.7,.3,1); }
.pin__label {
  font-size: 13px; font-weight: 700; fill: #08303a; opacity: 0;
  paint-order: stroke; stroke: #fff8ee; stroke-width: 3.5px; stroke-linejoin: round;
  transition: opacity .18s ease; pointer-events: none;
}
.pin:hover .pin__dot, .pin:focus-visible .pin__dot { transform: scale(1.22); fill: var(--lagoon-bright); }
.pin:hover .pin__label, .pin:focus-visible .pin__label { opacity: 1; }
.pin.is-active .pin__dot { fill: var(--coral); transform: scale(1.3); }
.pin.is-active .pin__halo { opacity: 1; }
.pin.is-active .pin__label { opacity: 1; }
.pin.is-dim { opacity: .4; }
.pin { transition: opacity .25s ease; }

.atlas__panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg, 18px);
  padding: .85rem .95rem; display: flex; flex-direction: column; min-height: 0;
  /* the exact height is set from the map by script, never by stretching the row */
}
.atlas { align-items: start; }
.atlas__panel-head { flex: 0 0 auto; }
.atlas__panel-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 .6rem;
}
/* equal-height rows that fill the panel; once the minimum can no longer be met the
   list itself scrolls, so more islands never make the panel taller than the map */
.tabs { list-style: none; margin: 0; padding: 0; flex: 1 1 auto; min-height: 0;
  overflow-y: auto; display: grid; grid-auto-rows: minmax(2.7rem, 1fr); align-content: stretch; }
.tab-item { border-top: 1px solid var(--line); display: flex; min-height: 0; }
.tab-item:first-child { border-top: 0; }
.tab {
  position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: .6rem; background: none; border: 0; padding: .55rem .5rem .55rem .75rem;
  font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--ink-2);
  cursor: pointer; text-align: left; transition: color .18s cubic-bezier(.22,.9,.28,1), background .18s cubic-bezier(.22,.9,.28,1);
}
.tab-item.is-active { background: var(--sand); }
.tab:hover { color: var(--ink); background: var(--paper-2); }
.tab-item.is-active .tab { color: var(--ink); }
.tab__count { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.tab-item.is-active .tab__count { color: var(--coral); }
.atlas__detail { flex: 0 0 auto; min-height: 8.4rem; max-height: 8.4rem; overflow-y: auto;
  border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .2rem; }
.atlas__set-head { margin: 0 0 .45rem; font-size: var(--step--1); font-weight: 700; color: var(--ink-2); }
.atlas__set-list { list-style: none; margin: 0 0 .5rem; padding: 0; }
.tab__stories { list-style: none; margin: 0 0 .65rem; padding: 0 .2rem 0 .75rem; }
.tab__stories li { margin: 0 0 .5rem; font-size: var(--step--1); line-height: 1.35; }
.tab__stories a { color: var(--lagoon-ink); text-decoration: none; }
.tab__stories a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.tab__meta { display: block; font-size: .76rem; color: var(--ink-3); margin-top: .1rem; }
.tab__more { margin-top: .2rem !important; }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-size: var(--step--1); color: var(--lagoon-ink); text-decoration: underline; cursor: pointer; }
.chip__count { margin-left: .45rem; font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 700; }
.chip[aria-pressed="true"] .chip__count { color: var(--lagoon-bright); }
.leaflet-container { font: inherit; background: var(--paper-2); }
.leaflet-tooltip { font-size: .78rem; }

/* ----------------------------------------------------------- spotlight ——— */
.spotlight { padding: clamp(1.8rem, 3.5vw, 2.8rem) 0; border-top: 1px solid var(--line); }
.spotlight__inner {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(1.2rem, 3vw, 3rem);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.spotlight__blurb { font-size: var(--step--1); color: var(--ink-2); margin: .6rem 0 0; }
.saying-list { list-style: none; margin: 0; padding: 0; }
.saying { margin: 0; }
.saying[hidden] { display: none; }
.saying__text {
  margin: 0; font-family: var(--display); font-size: var(--step-2); line-height: 1.28;
  font-weight: 600; letter-spacing: -0.015em; text-wrap: balance;
}
.saying__meaning { margin: .9rem 0 0; font-size: var(--step--1); color: var(--ink-2); }
.saying__label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--lagoon-ink); margin-bottom: .25rem; }
.saying__context { margin: .8rem 0 0; font-size: var(--step--1); color: var(--ink-2); }
.saying__source { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; font-size: var(--step--1); border-top: 1px solid var(--line); padding-top: .8rem; }
.saying__who { font-family: var(--display); font-weight: 600; font-size: var(--step-0); }
.saying__from { color: var(--ink-3); }
.spotlight__controls { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* ------------------------------------------------------------- sayings ——— */
.sayings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.2rem; padding-bottom: 1rem; }
.say-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column;
}
.say-card__text { margin: 0; font-family: var(--display); font-size: var(--step-1); line-height: 1.3; font-weight: 600; }
.say-card__meaning { margin: .9rem 0 0; font-size: var(--step--1); color: var(--ink-2); }
.say-card__meaning--none { color: var(--ink-3); font-style: italic; }
.say-card__context { margin: .8rem 0 0; font-size: var(--step--1); color: var(--ink-3); }
.say-card__source { margin: 1rem 0 0; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .3rem .8rem; font-size: var(--step--1); }
.say-card__source a { color: var(--lagoon-ink); }

/* -------------------------------------------------------------- logo ——— */
.hero__logo { position: relative; z-index: 0; isolation: isolate; }/* the artwork's own placement, unchanged */
.hero__logo-image {
  width: clamp(150px, 17vw, 210px); height: auto; margin: 0 0 1.1rem;
  filter: drop-shadow(0 10px 26px oklch(0 0 0 / 0.35));
}
/* a warm sun behind the logo: a light disc, not a glow, because the navy in the
   artwork needs light *behind* it to be legible on the teal */
.hero__logo::before {
  content: ""; position: absolute; inset: -22%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle,
    oklch(0.97 0.045 92 / 0.95) 0%,
    oklch(0.94 0.070 88 / 0.80) 42%,
    oklch(0.92 0.080 84 / 0.35) 62%,
    oklch(0.92 0.080 84 / 0) 74%);
}
.foot-logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sand); border-radius: var(--r-md); padding: .45rem;
  margin-bottom: .9rem;
}
.foot-logo img { width: 112px; height: 112px; display: block; }
/* the footer's own brand line, a step larger than the column headings beside it */
.site-foot .foot-logo + h4, .site-foot .foot-brand { font-size: 1.24rem; line-height: 1.25; }
.about-logo { width: 170px; height: auto; margin: 0 0 1rem; }

/* ----------------------------------------------------------------- footer */
.site-foot { background: var(--sea); color: var(--on-sea-2); margin-top: 2rem; padding: 3rem 0 2rem; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-foot p, .site-foot li, .site-foot__base span { overflow-wrap: anywhere; }
.site-foot h4 { color: var(--on-sea); font-size: var(--step-0); font-family: var(--display); margin-bottom: .6rem; }
.site-foot p { font-size: var(--step--1); max-width: 46ch; }
.site-foot a { color: var(--on-sea); text-decoration-color: color-mix(in oklch, var(--lagoon) 70%, transparent); }
.site-foot ul { list-style: none; margin: 0; padding: 0; font-size: var(--step--1); }
.site-foot li { margin-bottom: .45rem; }
.site-foot__base { border-top: 1px solid color-mix(in oklch, var(--on-sea) 20%, transparent); margin-top: 2.2rem; padding-top: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; }

/* ------------------------------------------------------------------ utils */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; } }
.hidden { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--card); padding: .6rem 1rem; z-index: 600; }
.skip:focus { left: .5rem; top: .5rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature { grid-column: span 2; flex-direction: column; }
  .card--feature .card__media { aspect-ratio: 16/9; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; order: 2; }
  .ledger__row { grid-template-columns: 3.4rem minmax(0, 1.6fr) minmax(0, 1fr) 6rem; }
  .ledger__date { display: none; }
}
@media (max-width: 900px) {
  .mark__sub { display: none; }
  .masthead nav a[href$="#series-index"] { display: none; }
}
@media (max-width: 940px) {
  .atlas { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .atlas__panel { height: auto; }
  .tabs { max-height: 24rem; grid-auto-rows: minmax(2.7rem, auto); }
  .atlas__detail { max-height: none; }
  .atlas__hint { font-size: .74rem; }
}
@media (max-width: 760px) {
  /* phones get a real nav: the tabs move to their own row under the logo and scroll
     sideways, instead of being hidden entirely (they were unreachable before) */
  .masthead nav a:not(.btn) { transition: color .18s cubic-bezier(.22,.9,.28,1), box-shadow .18s cubic-bezier(.22,.9,.28,1);
    display: inline-block; white-space: nowrap; padding: .45rem .55rem; }
  .masthead nav { grid-area: nav; justify-self: stretch; overflow-x: auto;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .masthead nav::-webkit-scrollbar { display: none; }
  .masthead__inner { gap: .5rem; min-height: 74px; grid-template-columns: 1fr auto;
    grid-template-areas: "logo btn" "nav nav"; row-gap: .3rem; padding-bottom: .35rem; }
  .mark { grid-area: logo; }
  .btn--subscribe { grid-area: btn; }
  .mark__logo { width: 74px; height: 74px; }
  .mark { min-width: 0; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .btn--subscribe { margin-left: 0; padding-left: .85rem; padding-right: .85rem; }
  /* filter bar: search on its own line, two compact dropdowns beneath */
  .controls { padding: .6rem 0 .5rem; }
  .controls__row { gap: .5rem; }
  .field--search { flex: 1 1 100%; }
  .field--select { flex: 1 1 calc(50% - .25rem); }
  .field--select select { min-width: 0; width: 100%; }
  .reset { flex: 0 1 auto; padding-left: .8rem; padding-right: .8rem; }
}
@media (max-width: 480px) {
  .mark__logo { width: 68px; height: 68px; }
  .masthead nav { gap: .2rem; }
  .btn--subscribe { padding: .34rem .6rem; font-size: .8rem; }
}
@media (max-width: 420px) {
  /* the hero carries the series name; keep the bar compact at tiny widths */
  .rail { width: min(100% - 2rem, var(--rail)); }
}
@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; }
  .card--feature { grid-column: span 1; }
  .two-col, .method { grid-template-columns: 1fr; }
  .subscribe-band__inner { grid-template-columns: 1fr; }
  .spotlight__inner { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .related__grid { grid-template-columns: 1fr 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; align-items: flex-start; }
  .masthead nav a { padding: .5rem .5rem; }
  .mark__sub { display: none; }
  /* Pinned at phone widths too, so a name or an island can be searched from
     anywhere in the list. Pinned, it drops to one row (search + island) and
     costs about 60px instead of 145px. */
  .controls.is-slim .controls__row { flex-wrap: nowrap; }
  .controls.is-slim .field--search { flex: 1 1 0; min-width: 0; }
  .controls.is-slim .field--island { flex: 0 1 42%; min-width: 0; }
  .controls.is-slim .field--year,
  .controls.is-slim .field--sort,
  .controls.is-slim .reset,
  .controls.is-slim .controls__status { display: none; }
  .ledger__row { grid-template-columns: 3.4rem minmax(0, 1.6fr); }
  .ledger__island, .ledger__title { grid-column: 2; }
  .ledger__row--pending { grid-template-columns: 2.2rem minmax(0, 1fr); }
}

/* the "also mentions" divider inside an island's tab */
.tab__also {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-3); margin: .7rem 0 .45rem !important; padding-top: .5rem;
  border-top: 1px solid var(--line);
}

.atlas__sea-name { font-size: 15px; font-weight: 600; letter-spacing: .34em;
  fill: #0e3b52; opacity: .42; text-anchor: middle; pointer-events: none; }
.tab-item--sub .tab { padding-left: 1.5rem; font-weight: 500; }

/* ---- community voices ---------------------------------------------------- */
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.8rem); padding-bottom: 1rem; }
.voice { margin: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }


.voice__quote { margin: 0 0 .8rem; font-size: var(--step-1); line-height: 1.42; color: var(--ink); max-width: 46ch; }
.voice__who { display: block; font-size: var(--step--1); color: var(--ink-2); }
.voice__line { display: block; }
.voice__line b { display: inline; font-weight: 700; color: var(--ink); }
.voice__role { display: block; color: var(--ink-3); }
.voice__who span { color: var(--ink-3); }

/* margin-block, not margin: the shorthand would zero the inline margins that
   .rail uses to centre its content */
.community-band { padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); margin-block: clamp(2rem, 4vw, 3rem); }
.community-band__label { margin: 0 0 .7rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); }
.community-band__quote { margin: 0 0 .7rem; font-family: var(--display); font-size: var(--step-2);
  line-height: 1.3; max-width: 60ch; color: var(--ink); transition: opacity .3s cubic-bezier(.22,.9,.28,1); }
.community-band__quote.is-fading { opacity: 0; }
.community-band__who { margin: 0; font-size: var(--step--1); color: var(--ink-3); }
.community-band__more { margin: .8rem 0 0; font-size: var(--step--1); }
.community-band__more a { color: var(--lagoon-ink); }

.turn { padding: clamp(2rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 2rem); }
.turn h2 { font-size: var(--step-3); letter-spacing: -.02em; margin: 0 0 .6rem; }
.turn p { max-width: 58ch; color: var(--ink-2); }

@media (max-width: 760px) { .voices { grid-template-columns: minmax(0, 1fr); } }

/* ---- books ---------------------------------------------------------------- */
.books { display: grid; gap: clamp(2rem, 4vw, 3rem); padding-bottom: 1rem; }
.book { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem); align-items: start; }
.book__cover img { width: 100%; height: auto; display: block; border-radius: var(--r-md);
  box-shadow: var(--shadow-2); }
.book__title { font-size: var(--step-3); letter-spacing: -.02em; margin: 0 0 .25rem; }
.book__subtitle { font-size: var(--step-1); color: var(--ink-2); margin: 0 0 1rem; max-width: 40ch; }
.book__facts { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1.4rem 0;
  padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--step--1); max-width: 40ch; }
.book__facts dt { color: var(--ink-3); }
.book__facts dd { margin: 0; color: var(--ink-2); }
.book__buy { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }
@media (max-width: 760px) { .book { grid-template-columns: minmax(0, 1fr); }
  .book__cover { max-width: 260px; } }

.story-note { margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 1.2rem 1.3rem; background: var(--sand);
  border-radius: var(--r-md); }
.story-note p { margin: 0 0 .9rem; max-width: 60ch; }
.story-note p:last-child { margin-bottom: 0; }
.book__origin { font-size: var(--step--1); color: var(--ink-3); margin: 1.2rem 0 0; }
.book__origin a { color: var(--lagoon-ink); }

.book__letter { margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.book__letter-head { font-size: var(--step-2); letter-spacing: -.015em; margin: 0 0 .9rem; }
.book__letter p { font-family: var(--display); font-size: var(--step-1); line-height: 1.55;
  color: var(--ink); max-width: 56ch; margin: 0 0 1.05rem; }
.book__letter p:first-of-type { font-size: var(--step-2); line-height: 1.4; max-width: 46ch; }
.book__letter p:last-child { margin-bottom: 0; }

.story-note__quote { font-family: var(--display); font-size: var(--step-2); line-height: 1.32;
  color: var(--ink); max-width: 48ch; margin: 0 0 1.1rem !important; }

.coverage__sub { list-style: none; margin: .45rem 0 .2rem; padding-left: 1rem;
  border-left: 1px solid var(--line); }
.coverage__sub li { font-size: var(--step--1); color: var(--ink-2); margin-bottom: .25rem; }
.coverage__sub li b { color: var(--ink-2); font-weight: 600; }
.coverage__rest { color: var(--ink-3); font-style: italic; }

/* share row at the end of a story */
.share { margin: 2.2rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.share__label { margin: 0 0 .7rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); }
.share__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.share__btn { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .9rem;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper-2);
  color: var(--ink); font-size: var(--step--1); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease; }
.share__btn:hover { border-color: var(--coral); background: var(--paper); }
.share__btn--copy[data-copied] { border-color: var(--coral); color: var(--coral); }

/* photographs open larger */
.prose figure img { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); margin: auto; }
.lightbox::backdrop { background: rgb(12 22 28 / .86); }
.lightbox__img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.lightbox__cap { margin: .8rem 0 0; color: #fff; font-size: var(--step--1); }
.lightbox__close { position: absolute; top: -.2rem; right: 0; transform: translateY(-100%);
  min-height: 40px; padding: .4rem .8rem; border: 1px solid rgb(255 255 255 / .5); border-radius: var(--r-sm);
  background: rgb(12 22 28 / .6); color: #fff; font-weight: 600; cursor: pointer; }

.edition-links { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.edition-links__label { margin: 0 0 .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); }
.edition-links ul { margin: 0; padding-left: 1.1rem; }
.edition-links li { margin-bottom: .35rem; font-size: var(--step--1); color: var(--ink-2); }
.edition-links a { color: var(--lagoon-ink); overflow-wrap: anywhere; }

/* year headings inside the archive grid, added by script once a second season exists */
.grid__year { grid-column: 1 / -1; margin: 1.4rem 0 -.4rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.grid__year:first-child { margin-top: 0; }
/* a card filtered out by year, whatever the island filter is doing */
.card[data-year-hidden] { display: none !important; }

/* the creator's own account of herself on the About page */
.creator-note p { margin: 0 0 1.05rem; max-width: 68ch; }
.creator-note p:first-of-type { font-family: var(--display); font-size: var(--step-1); line-height: 1.5; }
.creator-note p:last-child { margin-bottom: 0; }

/* a video carries its own controls; the still frame is what the reader sees first */
.prose-video { margin: 1.8rem 0; }
.prose-video video { display: block; width: 100%; height: auto; background: #08141c;
  border: 1px solid var(--line); border-radius: var(--r-sm); }

.prose-figure picture { display: block; }

/* one caption box, one position - a photograph is either captioned everywhere or nowhere */
.prose-figure figcaption,
.prose-video figcaption,
.shot figcaption,
.cover figcaption {
  margin-top: .5rem; padding: .62rem .85rem; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--panel); color: var(--ink-soft);
  font-size: .84rem; line-height: 1.45;
}

/* a flag picture, in place of the two letters a device without flag glyphs would show */
.flag { display: inline-block; width: 1.15em; height: auto; vertical-align: -0.12em; margin-right: .35em; }

/* ---------------------------------------------------------------- free guide */
.guide-invite{margin:2.6rem auto 0;max-width:68ch;padding:1.15rem 1.4rem;background:var(--paper-2);
  border-left:3px solid var(--lagoon);border-radius:var(--r-md)}
.guide-invite-h{margin:0 0 .35rem;font-size:var(--step-1);font-family:var(--display)}
.guide-invite p{margin:0;color:var(--ink-2)}
.guide{max-width:74ch}
.guide-kicker{text-transform:uppercase;letter-spacing:.09em;font-size:var(--step--1);color:var(--ink-3);margin:0 0 .4rem}
.guide-logo{display:block;width:140px;height:auto;margin:0 0 .8rem}
.guide-h{margin:2.3rem 0 .2rem}
.guide-q,.guide-tips{margin:.5rem 0 0 1.05rem;padding-left:1rem}
.guide-q li,.guide-tips li{margin:.55rem 0;color:var(--ink-2)}
.guide-cta{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;margin:1.7rem 0 2.2rem}
.guide-cta .btn-primary{background:var(--coral);color:var(--on-accent);padding:.72rem 1.15rem;
  border-radius:var(--r-md);font-weight:600;text-decoration:none}
.guide-note{color:var(--ink-3);font-size:var(--step--1)}
.guide-close{margin-top:2rem;font-style:italic}

/* the free-guide strip, high on the home page
   It reads as the top line of the hero band rather than a panel floating on it: no inset, no radius,
   no background of its own, just a hairline under it and the content held on the site's rail. */
.guide-strip{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:center;
  margin:0 auto;max-width:none;padding:.9rem 1.25rem;background:none;color:var(--on-sea);
  border-bottom:1px solid oklch(1 0 0 / 0.14)}
.guide-strip p{margin:0;font-size:var(--step-0)}
.guide-strip .btn-primary{background:var(--coral);color:var(--on-accent);padding:.62rem 1.05rem;
  border-radius:var(--r-md);font-weight:600;text-decoration:none;white-space:nowrap}

.guide-name{margin:.2rem 0 1rem;font-size:var(--step-2);font-family:var(--display);color:var(--ink)}

/* the guide reads left-aligned on the rail, like every other page on the site */
.guide,.guide *,.guide-about,.guide-about *{text-align:left}
.guide-kicker,.guide-note{text-align:left}


/* Subscribe dialog: one clear action, with LinkedIn offered underneath as a place to read */
.subscribe-dialog { border: 1px solid var(--line-2); border-radius: var(--r-md, 12px); background: var(--card); color: var(--ink);
  max-width: min(30rem, 92vw); padding: 1.6rem 1.5rem 1.3rem; box-shadow: 0 24px 60px rgba(8, 28, 44, .28); }
.subscribe-dialog::backdrop { background: rgba(8, 22, 36, .55); }
.subscribe-dialog h2 { margin: 0 0 .45rem; font-size: var(--step-2, 1.5rem); }
.subscribe-dialog p { margin: 0 0 1rem; color: var(--ink-2, #40525f); }
.sd-close { position: absolute; top: .5rem; right: .6rem; margin: 0; }
.sd-close button { border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink-3, #6b7a86); }
.sd-form { display: flex; flex-wrap: wrap; gap: .5rem; }
.sd-form input[type="email"] { flex: 1 1 12rem; min-height: 44px; font: inherit; padding: .6rem .8rem;
  border: 1px solid var(--line-2); border-radius: var(--r-sm, 8px); background: var(--paper, #fff); color: var(--ink); }
.sd-form input.is-invalid { border-color: var(--coral, #d9694a); }
.sd-alt { margin: .9rem 0 0 !important; font-size: var(--step--1); }
.foot-follow { margin: .8rem 0 0; font-size: var(--step--1); }


/* The subscribe band carries the field itself, so the modal and the band are one and the same signup */
.signup--band { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.signup--band input[type="email"] { flex: 1 1 14rem; min-height: 46px; font: inherit; padding: .6rem .9rem;
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-sm, 8px); background: rgba(255,255,255,.96); color: #10222e; }
.signup--band .btn { min-height: 46px; }


/* The four newest covers must read as one row: whatever else sets their shape, they are all the
   same rectangle and the picture fills it. Peter's was a different ratio from the rest. */
.hero__mosaic a, .hero__mosaic .mini, .hero__mosaic .card__media, .hero__mosaic figure {
  aspect-ratio: 16 / 9 !important;
}
.hero__mosaic img, .hero__mosaic .mini img {
  width: 100%; height: 100%; object-fit: cover;
}


/* Series Rewinds: one card per quarter, showing its opening slide, sitting with the story cards */
.rewinds-title { margin: 2rem 0 .3rem; font-size: var(--step-2, 1.4rem); }
/* 2rem above the cards and 2rem below them: the same air on both sides of the row,
   which sits on the hero's dark panel. */
.rewinds-dek { margin: 0 0 2rem; color: var(--ink-2, #40525f); }
.rewinds-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.card--rewind { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-md, 12px); overflow: hidden; box-shadow: var(--shadow-1, 0 2px 10px rgba(10,30,45,.08)); }
.card--rewind .card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.card--rewind .card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card--rewind .card__body { padding: .8rem .95rem 1rem; }
.card__eyebrow { margin: 0 0 .25rem; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3, #6b7a86); }
.card--rewind .card__title { margin: 0 0 .2rem; font-size: var(--step-1, 1.15rem); }
.card--rewind .card__dek { margin: 0 0 .35rem; color: var(--ink-2, #40525f); }
.card--rewind .card__meta { margin: 0; font-size: var(--step--1); color: var(--ink-3, #6b7a86); }
.card--rewind:hover { border-color: var(--line-2); box-shadow: var(--shadow-2, 0 6px 22px rgba(10,30,45,.14)); }


/* The Rewind cards are light cards, so their words must be dark - the story-card title
   colour is set for dark cards and made this title near-invisible on Keshia's screen. */
.card--rewind .card__body { background: var(--card); }
.card--rewind .card__title, .card--rewind h3 { color: var(--ink); }
.card--rewind .card__dek { color: var(--ink-2); }
.card--rewind .card__meta { color: var(--ink-3); }
.card--rewind .card__eyebrow { color: var(--ink-3); }


/* Sponsor line: quiet, one row, under the header. Empty json = no strip at all. */
.sponsor-strip { border-bottom: 1px solid var(--line); background: color-mix(in oklch, var(--paper, #fff) 92%, var(--ink, #10313f) 8%); }
.sponsor-strip__inner { display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; padding: .5rem 0; }
.sponsor-label { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3, #6b7a86); }
.sponsor-strip img { max-height: 30px; width: auto; display: block; }
.sponsor-strip a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.sponsor-line { font-size: var(--step--1); color: var(--ink-2, #40525f); }
@media (max-width: 34rem) { .sponsor-line { display: none; } }


/* The mission statement, set apart at the top of the About page */
.mission { max-width: 46rem; }
.mission__text { margin: 0; line-height: 1.65; color: var(--ink); }
.mission__who { margin: 1.1rem 0 0; line-height: 1.65; color: var(--ink); }


.mission__label { font-size: 0.92rem; letter-spacing: 0.12em; margin-bottom: 0.75rem; }


/* ---- the supported-by strip, under the navigation ---- */
.support-strip{background:#f3ece0;border-bottom:1px solid #e3d6bf}
.support-strip__inner{max-width:1180px;margin:0 auto;padding:1rem 1.5rem;display:flex;
  align-items:center;gap:1.2rem;flex-wrap:wrap;justify-content:center}
.support-strip__label{font:600 .82rem/1.4 system-ui,sans-serif;letter-spacing:.18em;
  text-transform:uppercase;color:#7d6b56}
.support-strip__logo{display:block;max-height:none;width:auto;background:transparent;
  box-shadow:0 2px 6px rgba(18,37,46,.18)}
.support-strip__name{font:600 1.18rem/1.3 Georgia,serif;color:#12252e;text-decoration:none;
  border-bottom:1px solid rgba(18,37,46,.28);letter-spacing:.01em}
.support-strip__name:hover{color:#8a4b32;border-bottom-color:currentColor}
@media (max-width:640px){.support-strip__inner{padding:.75rem 1rem;gap:.75rem}
  .support-strip__logo{max-height:44px}
  .support-strip__name{font-size:1rem}}
  .support-strip__logo{max-height:34px}}

.support-strip a{background:transparent}
.support-strip img{background:transparent;box-shadow:none;border:0}

/* Keshia's portrait in the creator block */
.about-portrait{display:block;width:min(260px,60vw);height:auto;border-radius:4px;
  margin:0 0 1.1rem;box-shadow:0 6px 18px rgba(18,37,46,.16)}

/* the quarterly sponsor credit, under the Series Rewinds */
.quarter-credit{max-width:1100px;margin:1.6rem auto 0;padding:1.4rem 1.7rem;
  background:#12252e;border-radius:4px;display:flex;align-items:center;gap:1.4rem;
  flex-wrap:wrap;justify-content:center}
.quarter-credit__label{font:700 .74rem/1.4 system-ui,sans-serif;letter-spacing:.2em;
  text-transform:uppercase;color:#e8a98c}
.quarter-credit__logo{display:block;height:58px;width:auto;background:#fff;padding:5px;
  border-radius:3px}
.quarter-credit__name{color:#fff;font:600 1.12rem/1.3 Georgia,serif;text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.35)}
.quarter-credit__name:hover{color:#e8a98c;border-bottom-color:currentColor}
@media (max-width:640px){.quarter-credit{gap:.8rem;padding:1.1rem 1rem}
  .quarter-credit__logo{height:44px}}

/* Kit's inline signup in the subscribe band */
.kit-signup{margin:1rem 0 0}
.kit-signup form{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;justify-content:center}
.kit-signup input[type=email]{flex:0 1 320px;min-height:44px;padding:.6rem .85rem;
  border:1px solid #cdbfa6;border-radius:2px;font:400 1rem/1.3 system-ui,sans-serif;
  background:#fff;color:#12252e}
.kit-signup input[type=email]:focus{outline:2px solid #1b6b73;outline-offset:1px}
.kit-signup button,.kit-signup input[type=submit]{min-height:44px;padding:.6rem 1.35rem;
  border:0;border-radius:2px;background:#1b6b73;color:#fff;font:600 1rem/1.3 system-ui,sans-serif;
  cursor:pointer}
.kit-signup button:hover,.kit-signup input[type=submit]:hover{background:#8a4b32}
.kit-signup p,.kit-signup .formkit-alert{font-size:.86rem;color:#6b7b84;margin:.5rem 0 0}

/* ---- the subscribe band, built around Kit's inline form ---- */
.subscribe-band { padding: 2.4rem 0 2.6rem; }
.subscribe-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
/* the leftover third column from the old layout */
.subscribe-band__form { display: none; }

/* Kit's form, stripped to its field and button */
.kit-signup { margin: 0; }
.kit-signup .formkit-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 30rem !important;
  min-height: 0 !important;
}
/* its own headline repeats the line above it - drop it */
.kit-signup .formkit-header { display: none !important; }
.kit-signup .formkit-background { display: none !important; }

.kit-signup .formkit-fields,
.kit-signup .seva-fields {
  display: flex !important;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin: 0 !important;
}
.kit-signup .formkit-field { flex: 1 1 16rem; margin: 0 !important; }
.kit-signup .formkit-input {
  width: 100% !important;
  min-height: 46px !important;
  padding: .62rem .9rem !important;
  border: 1px solid #cdbfa6 !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #12252e !important;
  font: 400 1rem/1.3 system-ui, sans-serif !important;
}
.kit-signup .formkit-input:focus { outline: 2px solid #1b6b73; outline-offset: 1px; }
.kit-signup .formkit-submit {
  min-height: 46px !important;
  padding: .62rem 1.5rem !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: #1b6b73 !important;
  color: #fff !important;
  font: 600 1rem/1.3 system-ui, sans-serif !important;
  cursor: pointer;
  margin: 0 !important;
}
.kit-signup .formkit-submit:hover { background: #8a4b32 !important; }
.kit-signup .formkit-submit span { color: #fff !important; }
.kit-signup .formkit-disclaimer {
  margin: .7rem 0 0 !important;
  font: 400 .82rem/1.5 system-ui, sans-serif !important;
  color: #b9c6cc !important;
}
.kit-signup .formkit-powered-by-convertkit-container {
  margin: .5rem 0 0 !important;
  opacity: .55;
}
.kit-signup .formkit-powered-by-convertkit-container a,
.kit-signup .formkit-powered-by-convertkit-container svg { height: 12px !important; }

/* the band's own copy, above the field */
.subscribe-band h2 { margin: .1rem 0 .5rem; }
.subscribe-band p { margin: 0 0 .9rem; }

@media (max-width: 640px) {
  .subscribe-band { padding: 1.8rem 0 2rem; }
  .kit-signup .formkit-fields, .kit-signup .seva-fields { flex-direction: column; }
  .kit-signup .formkit-submit { width: 100%; }
}

/* Kit's own wrapper adds 40px all round and stacks the field above the button */
.kit-signup .formkit-column {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.kit-signup .seva-fields,
.kit-signup .formkit-fields {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}
.kit-signup .formkit-submit {
  flex: 0 0 auto !important;
  width: auto !important;
}
.kit-signup .formkit-submit span {
  padding: 0 !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}
/* the band reads: heading, copy, then the field */
.subscribe-band__inner > .subscribe-band__copy { order: 1; }
.subscribe-band__inner > .kit-signup { order: 2; }

/* one message, and it is Keshia's: Kit's line, not a duplicate above it */
.subscribe-band__copy { display: none !important; }
.kit-signup .formkit-header {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 .9rem !important;
}
.kit-signup .formkit-header h2,
.kit-signup .formkit-header div {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem) !important;
  line-height: 1.3 !important;
  color: #fbf7ef !important;
  margin: 0 !important;
  text-align: center;
}
/* Kit's template photo is not part of this design */
.kit-signup .formkit-column > img,
.kit-signup .formkit-guarantee,
.kit-signup img { display: none !important; }
.kit-signup .formkit-form { max-width: 34rem !important; }


/* "Now it's your turn": the three things to include, kept as a short list
   rather than a paragraph, so they read as instructions and not as prose. */
.turn__ask { margin: .2rem 0 1.1rem 1.15rem; padding: 0; }
.turn__ask li { margin-bottom: .4rem; line-height: 1.5; }


/* Series Rewinds sit under the newest four, as their own three-across row.
   They are secondary to the current edition, so they no longer compete with it
   for the first screen, but they stay above the archive. */
/* The covers need air under them, and the gap has to match the one the Explore
   section opens with, so the page keeps one rhythm: 3.2rem at desktop, tighter
   as the screen narrows. */
/* Same air above and below the three cards. The row sits on the hero's dark panel,
   and with no bottom padding the cards ran flush to its lower edge while the
   heading above them had 3.2rem. */
.rewinds-row { padding: clamp(2.4rem, 4vw, 3.4rem) 0 2rem; }
.rewinds-row .rewinds-title { margin-top: 0; }
.rewinds-row .rewinds-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 60rem) { .rewinds-row .rewinds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .rewinds-row .rewinds-grid { grid-template-columns: minmax(0, 1fr); } }


/* One cover per row on phones: two side by side put each at ~160px and the
   artwork became unreadable, which is the whole reason these covers exist. */
@media (max-width: 40rem) {
  .hero__mosaic { grid-template-columns: minmax(0, 1fr); }
}


/* With no island selected the detail panel is empty, but its top border still drew a
   line under the last name in the list - Bahamas - which read as an extra, stray rule. */
.atlas__detail:not(:has(.atlas__set:not([hidden]))) {
  border-top: 0; min-height: 0; max-height: 0; padding-top: 0; margin-top: 0; overflow: hidden;
}
