
/* Rediscover Earth place stories */
.story-page,
.places-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(72, 144, 121, .12), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(83, 122, 119, .08), transparent 24%),
    var(--bg);
}

.story-page .site-header,
.places-page .site-header {
  background: linear-gradient(180deg, rgba(6, 10, 9, .66), transparent);
}

.story-page .site-header.is-scrolled,
.places-page .site-header.is-scrolled {
  background: rgba(8, 13, 12, .82);
}

.story-hero {
  position: relative;
  min-height: min(860px, 92vh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}

.story-hero-media,
.story-hero-media::after {
  position: absolute;
  inset: 0;
}

.story-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
}

.story-hero-media::after {
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 9, 8, .22), rgba(5, 9, 8, .38) 42%, rgba(5, 9, 8, .96) 94%),
    linear-gradient(90deg, rgba(5, 9, 8, .76), transparent 62%);
}

.story-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.2), #000 78%);
}

.story-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: 76px;
}

.story-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: rgba(237, 242, 235, .62);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.story-breadcrumbs a:hover { color: var(--acid); }
.story-breadcrumbs span { color: rgba(237, 242, 235, .32); }

.story-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.story-kicker::before {
  width: 30px;
  height: 1px;
  content: "";
  background: currentColor;
}

.story-hero h1 {
  max-width: 1050px;
  margin: 18px 0 20px;
  font-size: clamp(4.5rem, 10vw, 9.6rem);
  font-weight: 590;
  letter-spacing: -.075em;
  line-height: .84;
}

.story-hero-lead {
  max-width: 740px;
  margin: 0;
  color: #d2dbd5;
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  line-height: 1.72;
}

.story-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.story-action,
.story-save,
.story-share {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(9, 15, 13, .46);
  color: #e6ebe7;
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}

.story-action.primary {
  border-color: rgba(185, 246, 74, .5);
  background: var(--acid);
  color: #0a100f;
}

.story-action:hover,
.story-save:hover,
.story-share:hover,
.story-save.is-saved {
  border-color: rgba(185, 246, 74, .55);
  background: rgba(185, 246, 74, .11);
  color: var(--acid);
}

.story-action.primary:hover {
  background: #c6ff5c;
  color: #0a100f;
}

.story-save svg,
.story-share svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.story-save.is-saved svg { fill: currentColor; }

.story-overview {
  padding: 120px 0 110px;
  background: #0a100f;
}

.story-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: start;
}

.story-intro h2 {
  max-width: 860px;
  margin: 18px 0 30px;
  font-size: clamp(3.2rem, 6.2vw, 6.6rem);
  font-weight: 580;
  letter-spacing: -.066em;
  line-height: .94;
}

.story-intro > p {
  max-width: 820px;
  margin: 0 0 24px;
  color: #b7c2bc;
  font-size: 1.08rem;
  line-height: 1.82;
}

.story-intro > p:first-of-type {
  color: #e2e7e3;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.62;
}

.story-fact-card {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(23, 35, 31, .94), rgba(12, 20, 18, .98));
  box-shadow: var(--shadow);
}

.story-fact-head {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.story-facts-list {
  margin: 0;
  padding: 4px 26px;
}

.story-facts-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.story-facts-list > div:last-child { border-bottom: 0; }
.story-facts-list dt {
  color: var(--muted-2);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.story-facts-list dd {
  margin: 0;
  color: #e0e6e2;
  font-size: .86rem;
  font-weight: 720;
}

.story-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 26px 28px;
  border-top: 1px solid var(--line);
}

.story-tag-cloud span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c0cac4;
  font-size: .64rem;
  font-weight: 740;
}

.story-map-section {
  padding: 0 0 120px;
  background: #0a100f;
}

.story-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.story-map-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #08100f;
}

.story-map-world {
  position: absolute;
  inset: 0;
  background-image: url('./world-map.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 94% auto;
  opacity: .72;
}

.story-map-world::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 45% 45%, rgba(74, 153, 130, .15), transparent 35%),
    linear-gradient(180deg, rgba(5,11,10,.08), rgba(5,11,10,.52));
}

.story-map-marker {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border: 3px solid #0a100f;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 9px rgba(185,246,74,.12), 0 0 34px rgba(185,246,74,.55);
}

.story-map-marker::after {
  position: absolute;
  inset: -15px;
  content: "";
  border: 1px solid rgba(185,246,74,.26);
  border-radius: 50%;
  animation: signal 2.2s ease-out infinite;
}

.story-map-label {
  position: absolute;
  z-index: 4;
  transform: translate(18px, -50%);
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(8, 15, 13, .86);
  color: #eef2ee;
  font-size: .68rem;
  font-weight: 780;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.story-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 38px 36px;
}

.story-map-copy h2 {
  margin: 18px 0 20px;
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
  font-weight: 590;
  letter-spacing: -.055em;
  line-height: .96;
}

.story-map-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.coordinate-line {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #d7dfda;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .76rem;
}

.story-map-copy .story-action { margin-top: 28px; align-self: flex-start; }

.story-signals {
  padding: 120px 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(83, 132, 115, .1), transparent 28%),
    #0c1311;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-signals-head {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .65fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.story-signals-head h2 {
  margin: 17px 0 0;
  font-size: clamp(3.2rem, 5.8vw, 6rem);
  font-weight: 590;
  letter-spacing: -.065em;
  line-height: .94;
}

.story-signals-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.story-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-signal-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(24, 36, 32, .72), rgba(14, 22, 20, .9));
}

.story-signal-card span {
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 2.4rem;
}

.story-signal-card h3 {
  margin: 42px 0 12px;
  font-size: 1.65rem;
  letter-spacing: -.035em;
}

.story-signal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.related-section { padding: 120px 0 140px; }
.related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.related-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 590;
  letter-spacing: -.06em;
  line-height: .96;
}
.related-grid,
.places-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.story-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.story-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.story-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5,9,8,.04), rgba(5,9,8,.18) 46%, rgba(5,9,8,.94));
}
.story-card:hover img { transform: scale(1.035); }
.story-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px;
}
.story-card-location {
  color: var(--acid);
  font-size: .63rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.story-card h3 {
  margin: 9px 0 13px;
  font-size: 2.2rem;
  font-weight: 610;
  letter-spacing: -.045em;
  line-height: 1;
}
.story-card p {
  margin: 0;
  color: #b8c3bd;
  font-size: .88rem;
  line-height: 1.65;
}
.story-card-arrow {
  display: inline-flex;
  margin-top: 22px;
  color: var(--acid);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-toast {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 48px));
  padding: 15px 18px;
  transform: translateY(25px);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(15, 24, 21, .96);
  color: #e3e9e5;
  font-size: .8rem;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(18px);
}
.story-toast.is-visible { opacity: 1; transform: translateY(0); }

/* Place directory */
.places-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 92px;
  border-bottom: 1px solid var(--line);
}
.places-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 25%, rgba(185,246,74,.08), transparent 27%),
    linear-gradient(135deg, rgba(35, 69, 59, .18), transparent 48%);
}
.places-hero .shell { position: relative; }
.places-hero h1 {
  max-width: 1000px;
  margin: 18px 0 24px;
  font-size: clamp(4.4rem, 9vw, 9rem);
  font-weight: 590;
  letter-spacing: -.075em;
  line-height: .86;
}
.places-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.places-directory { padding: 72px 0 140px; }
.places-toolbar {
  position: sticky;
  z-index: 20;
  top: 82px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 36px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 19, 17, .9);
  backdrop-filter: blur(18px);
}
.places-search {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.places-search svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.places-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.places-search input::placeholder { color: var(--muted-2); }
.places-filters { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.places-filters::-webkit-scrollbar { display: none; }
.places-filter {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #aab6af;
  font-size: .67rem;
  font-weight: 790;
  cursor: pointer;
}
.places-filter.is-active,
.places-filter:hover { border-color: rgba(185,246,74,.42); background: rgba(185,246,74,.1); color: var(--acid); }
.places-count { margin: 0 0 24px; color: var(--muted); font-size: .77rem; }
.places-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.places-grid .story-card { min-height: 460px; }
.places-grid .story-card[hidden] { display: none; }
.empty-state {
  display: none;
  padding: 70px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  text-align: center;
  color: var(--muted);
}
.empty-state.is-visible { display: block; }

@media (max-width: 1180px) {
  .story-overview-grid { grid-template-columns: 1fr minmax(330px, .65fr); gap: 65px; }
  .places-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .story-overview-grid,
  .story-map-shell,
  .story-signals-head { grid-template-columns: 1fr; }
  .story-fact-card { position: static; }
  .story-map-visual { border-right: 0; border-bottom: 1px solid var(--line); }
  .story-signal-grid,
  .related-grid { grid-template-columns: 1fr 1fr; }
  .story-signal-card:last-child { grid-column: span 2; }
  .places-toolbar { grid-template-columns: 1fr; }
  .places-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .story-hero { min-height: 760px; }
  .story-hero-content { padding-top: 135px; padding-bottom: 48px; }
  .story-hero h1 { font-size: clamp(4rem, 19vw, 6.2rem); }
  .story-breadcrumbs { margin-bottom: 24px; }
  .story-action-row { align-items: stretch; }
  .story-action,
  .story-save,
  .story-share { flex: 1 1 calc(50% - 8px); }
  .story-action.primary { flex-basis: 100%; }
  .story-overview { padding: 82px 0 76px; }
  .story-map-section { padding-bottom: 84px; }
  .story-map-visual { min-height: 390px; }
  .story-map-shell { min-height: 0; border-radius: 22px; }
  .story-map-copy { padding: 32px 24px 28px; }
  .story-signals { padding: 84px 0; }
  .story-signal-grid,
  .related-grid,
  .places-grid { grid-template-columns: 1fr; }
  .story-signal-card:last-child { grid-column: auto; }
  .related-section { padding: 84px 0 100px; }
  .related-heading { align-items: flex-start; flex-direction: column; }
  .story-card,
  .places-grid .story-card { min-height: 440px; }
  .places-hero { padding: 145px 0 72px; }
  .places-hero h1 { font-size: clamp(4rem, 18vw, 6.5rem); }
  .places-directory { padding: 52px 0 100px; }
  .places-toolbar { top: 72px; margin-inline: -4px; }
  .story-facts-list > div { grid-template-columns: 98px 1fr; }
  .story-toast { right: 16px; bottom: 16px; max-width: calc(100% - 32px); }
}

/* Photo journal */
.story-gallery-section {
  padding: 0 0 120px;
  background: #0a100f;
}

.story-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .64fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.story-gallery-head h2 {
  max-width: 920px;
  margin: 17px 0 0;
  font-size: clamp(3.2rem, 5.8vw, 6.2rem);
  font-weight: 590;
  letter-spacing: -.065em;
  line-height: .94;
}

.story-gallery-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.story-gallery-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #101816;
  cursor: zoom-in;
  isolation: isolate;
}

.story-gallery-card--featured {
  grid-column: span 7;
  grid-row: span 2;
}

.story-gallery-card:nth-child(2),
.story-gallery-card:nth-child(3) {
  grid-column: span 5;
}

.story-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.03);
  transition: transform .7s var(--ease), filter .4s ease, opacity .35s ease;
}

.story-gallery-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5,9,8,.02), transparent 54%, rgba(5,9,8,.78));
  pointer-events: none;
}

.story-gallery-card:hover img {
  transform: scale(1.035);
  filter: saturate(.96) contrast(1.02);
}

.story-gallery.is-loading .story-gallery-card::before {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.075), transparent);
  animation: galleryLoading 1.55s ease-in-out infinite;
  pointer-events: none;
}

@keyframes galleryLoading {
  to { transform: translateX(100%); }
}

.story-gallery-number {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: grid;
  min-width: 38px;
  height: 28px;
  padding-inline: 9px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(8,14,12,.42);
  color: #f0f3ef;
  font-family: Georgia, serif;
  font-size: .68rem;
  place-items: center;
  backdrop-filter: blur(9px);
}

.story-gallery-credit {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 13px;
  left: 14px;
  overflow: hidden;
  color: rgba(241,245,242,.76);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: right;
  text-overflow: ellipsis;
  text-shadow: 0 1px 12px rgba(0,0,0,.72);
  white-space: nowrap;
}

.story-gallery-source {
  margin: 14px 2px 0;
  color: var(--muted-2);
  font-size: .62rem;
}

.gallery-lightbox {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  visibility: hidden;
  padding: 28px;
  opacity: 0;
  place-items: center;
  transition: opacity .24s ease, visibility .24s ease;
}

.gallery-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3,7,6,.88);
  cursor: zoom-out;
  backdrop-filter: blur(16px);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 2;
  width: min(1380px, 94vw);
  height: min(880px, 88vh);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #080d0c;
  box-shadow: 0 40px 120px rgba(0,0,0,.66);
}

.gallery-lightbox-panel figure {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.gallery-lightbox-panel figure > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #050807;
}

.gallery-lightbox-panel figcaption {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 86px 18px 24px;
  border-top: 1px solid var(--line);
  background: #0c1311;
}

.gallery-lightbox-panel figcaption > div {
  min-width: 0;
}

.gallery-lightbox-panel figcaption strong {
  display: block;
  overflow: hidden;
  color: #e6ece8;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-lightbox-panel figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: .61rem;
}

.gallery-lightbox-panel figcaption a {
  flex: 0 0 auto;
  color: var(--acid);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gallery-lightbox-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(7,11,10,.62);
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(10px);
}

.gallery-lightbox-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(7,11,10,.62);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  place-items: center;
  backdrop-filter: blur(10px);
}

.gallery-lightbox-prev { left: 16px; }
.gallery-lightbox-next { right: 16px; }
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  border-color: rgba(185,246,74,.55);
  color: var(--acid);
}

@media (max-width: 980px) {
  .story-gallery-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
  }

  .story-gallery-card,
  .story-gallery-card:nth-child(2),
  .story-gallery-card:nth-child(3) {
    grid-column: span 1;
  }

  .story-gallery-card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .story-gallery-section {
    padding-bottom: 84px;
  }

  .story-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .story-gallery-card,
  .story-gallery-card:nth-child(2),
  .story-gallery-card:nth-child(3),
  .story-gallery-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  .story-gallery-card--featured {
    min-height: 390px;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox-panel {
    width: 100%;
    height: 84vh;
    border-radius: 18px;
  }

  .gallery-lightbox-panel figcaption {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: 128px;
    transform: none;
  }
}


/* v1.3.0 - editorial depth and regional collections */
.story-facts-list dd a { color: var(--acid); }
.story-editorial {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 28%, rgba(185,246,74,.055), transparent 25%),
    #0b1210;
}
.story-editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: 58px;
}
.story-editorial-heading h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  font-weight: 590;
  letter-spacing: -.065em;
  line-height: .94;
}
.story-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.story-editorial-block {
  min-height: 360px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(24,36,32,.7), rgba(12,20,18,.94));
}
.story-editorial-block--wide { grid-column: 1 / -1; min-height: 300px; }
.story-editorial-block > span {
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 2rem;
}
.story-editorial-block h3 {
  margin: 4px 0 24px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -.045em;
}
.story-editorial-block p {
  max-width: 900px;
  margin: 0;
  color: #b7c2bc;
  font-size: 1rem;
  line-height: 1.85;
}
.related-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.related-grid--four .story-card { min-height: 470px; }
.related-grid--four .story-card h3 { font-size: 1.85rem; }
.region-index {
  padding: 100px 0 20px;
  background: #0a100f;
}
.region-index-heading,
.region-introduction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
  margin-bottom: 42px;
}
.region-index-heading h2,
.region-introduction-grid h2 {
  margin: 16px 0 0;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 590;
  letter-spacing: -.06em;
  line-height: .95;
}
.region-index-heading > p,
.region-introduction-grid > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.region-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.region-index-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(23,35,31,.82), rgba(12,20,18,.96));
  transition: transform .25s ease, border-color .25s ease;
}
.region-index-card:hover { transform: translateY(-4px); border-color: rgba(185,246,74,.38); }
.region-index-card > span { color: var(--acid); font-family: Georgia, serif; font-size: 2rem; }
.region-index-card strong { display: block; margin: 32px 0 14px; font-size: 1.8rem; letter-spacing: -.04em; }
.region-index-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.region-index-card em { color: var(--acid); font-size: .66rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.region-hero .story-breadcrumbs { margin-bottom: 36px; }
.region-hero h1 { max-width: 1120px; font-size: clamp(4rem, 8vw, 8rem); }
.region-introduction { padding: 100px 0; border-bottom: 1px solid var(--line); }
.region-introduction-grid { margin-bottom: 0; }
.region-directory { padding-top: 90px; }
.region-collection-head { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 32px; }
.region-collection-head p { margin: 0; color: var(--muted); }
.other-regions { padding: 100px 0 130px; border-top: 1px solid var(--line); }
.other-regions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.other-regions-grid a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); }
.other-regions-grid a:hover { border-color: rgba(185,246,74,.38); }
.other-regions-grid span { color: var(--acid); font-family: Georgia, serif; font-size: 1.4rem; }
.other-regions-grid strong { color: var(--muted); }
.story-card--compact p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
@media (max-width: 1280px) {
  .region-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .story-editorial-heading,
  .region-index-heading,
  .region-introduction-grid { grid-template-columns: 1fr; }
  .story-editorial-grid { grid-template-columns: 1fr; }
  .story-editorial-block--wide { grid-column: auto; }
  .other-regions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .story-editorial { padding: 84px 0; }
  .story-editorial-heading { margin-bottom: 36px; }
  .story-editorial-block { min-height: 0; grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 22px; }
  .story-editorial-block p { font-size: .94rem; }
  .related-grid--four,
  .region-index-grid,
  .other-regions-grid { grid-template-columns: 1fr; }
  .region-index { padding-top: 76px; }
  .region-index-card { min-height: 250px; }
  .region-collection-head { align-items: flex-start; flex-direction: column; }
}


/* v1.4.0: expanded ten-image journals */
.story-gallery-card:nth-child(7),
.story-gallery-card:nth-child(10) {
  grid-column: span 7;
}

.story-gallery-card:nth-child(8),
.story-gallery-card:nth-child(9) {
  grid-column: span 5;
}

@media (max-width: 980px) {
  .story-gallery-card:nth-child(7),
  .story-gallery-card:nth-child(8),
  .story-gallery-card:nth-child(9),
  .story-gallery-card:nth-child(10) {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .story-gallery-card:nth-child(7),
  .story-gallery-card:nth-child(8),
  .story-gallery-card:nth-child(9),
  .story-gallery-card:nth-child(10) {
    grid-column: auto;
  }
}

/* BEGIN REDISCOVER PLACE INTRO SCALE v1.5.12 */
.story-intro h2 {
  max-width: 760px;
  margin: 14px 0 24px;
  font-family: Avenir Next, Avenir, Inter, Segoe UI, system-ui, Arial, sans-serif;
  font-size: clamp(1.75rem, 2.3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: pretty;
}

@media (min-width: 1500px) {
  .story-intro h2 {
    font-size: clamp(1.9rem, 2.15vw, 2.9rem);
  }
}

@media (max-width: 980px) {
  .story-intro h2 {
    max-width: 700px;
    font-size: clamp(1.7rem, 4.2vw, 2.5rem);
    line-height: 1.085;
  }
}

@media (max-width: 640px) {
  .story-intro h2 {
    margin: 12px 0 20px;
    font-size: clamp(1.6rem, 6.6vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -0.022em;
    line-height: 1.1;
  }
}
/* END REDISCOVER PLACE INTRO SCALE v1.5.12 */
