/*
  Álbum Nueva York 2023
  Diseño sin dependencias externas: funciona también al abrir index.html directamente.
*/

:root {
  --ink: #17231f;
  --ink-soft: #40504a;
  --paper: #f2eee4;
  --paper-bright: #fbf8f0;
  --cream: #e6ddca;
  --red: #a83f36;
  --gold: #d6a243;
  --sage: #788d7c;
  --blue: #64818f;
  --line: rgba(23, 35, 31, 0.18);
  --shadow: 0 24px 60px rgba(16, 25, 22, 0.16);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1440px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body.has-modal {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

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

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid #8b611a;
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 1rem;
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 750;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  background: var(--paper-bright);
  color: var(--ink);
}

.button--light:hover {
  background: #fff;
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.button--outline:hover {
  background: #fff;
  color: var(--ink);
}

.text-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.77rem;
  font-weight: 700;
  gap: 0.6rem;
  letter-spacing: 0.09em;
  padding: 0 0 0.35rem;
  text-transform: uppercase;
}

.text-button span {
  font-size: 1rem;
}

.text-button--dark {
  color: var(--ink);
}

/* Header */
.site-header {
  align-items: center;
  background: rgba(242, 238, 228, 0.9);
  border-bottom: 1px solid transparent;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  height: 78px;
  left: 0;
  padding: 0 clamp(1rem, 4vw, 4.5rem);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  z-index: 80;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  border-color: var(--line);
}

.site-header.is-on-cover:not(.is-scrolled) {
  background: transparent;
  color: var(--paper-bright);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.8rem;
  justify-self: start;
}

.brand__mark {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  font-family: var(--serif);
  font-size: 0.78rem;
  height: 36px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 36px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
}

.brand small {
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  margin-top: 0.2rem;
  opacity: 0.72;
  text-transform: uppercase;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.site-nav a {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  padding: 0.5rem 0;
  position: relative;
  text-transform: uppercase;
}

.site-nav a::after {
  background: currentColor;
  bottom: 2px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-note {
  display: flex;
  font-size: 0.62rem;
  font-weight: 650;
  gap: 1rem;
  justify-self: end;
  letter-spacing: 0.1em;
  opacity: 0.7;
  text-transform: uppercase;
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 44px;
  padding: 10px;
  width: 44px;
}

.menu-toggle span:not(.sr-only) {
  background: currentColor;
  display: block;
  height: 1px;
  margin: 7px 0;
  transition: transform 160ms ease;
  width: 24px;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Portada */
.cover {
  background:
    radial-gradient(circle at 81% 22%, rgba(214, 162, 67, 0.22), transparent 22%),
    linear-gradient(115deg, #17231f 0 57%, #243831 57% 100%);
  color: var(--paper-bright);
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.1fr);
  min-height: min(960px, 100svh);
  overflow: hidden;
  padding: 140px clamp(1.4rem, 5.8vw, 7rem) 72px;
  position: relative;
}

.cover::before,
.cover::after {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  height: 620px;
  position: absolute;
  right: -270px;
  top: -210px;
  width: 620px;
}

.cover::after {
  height: 520px;
  right: -220px;
  top: -160px;
  width: 520px;
}

.cover__grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  inset: 0;
  opacity: 0.11;
  pointer-events: none;
  position: absolute;
}

.cover__copy {
  align-self: center;
  max-width: 680px;
  padding-right: clamp(1rem, 4vw, 4rem);
  position: relative;
  z-index: 2;
}

.cover__copy .eyebrow {
  color: #d7c8ab;
}

.cover h1 {
  font-family: var(--serif);
  font-size: clamp(5.7rem, 10vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.69;
  margin: clamp(2.5rem, 6vh, 5rem) 0 3.6rem;
}

.cover h1 span {
  display: block;
}

.cover h1 span:last-child {
  font-style: italic;
  margin-left: 0.45em;
}

.cover__intro {
  color: rgba(251, 248, 240, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  margin: 0;
  max-width: 470px;
}

.cover__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.7rem;
}

.cover__collage {
  align-self: center;
  height: min(650px, 69vh);
  min-height: 530px;
  position: relative;
  z-index: 2;
}

.cover-card {
  background: #ece4d6;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  padding: 11px 11px 34px;
  position: absolute;
}

.cover-card > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cover-card--one {
  height: 64%;
  left: 3%;
  top: 8%;
  transform: rotate(-4deg);
  width: 47%;
  z-index: 2;
}

.cover-card--two {
  height: 53%;
  right: 2%;
  top: 3%;
  transform: rotate(5deg);
  width: 46%;
}

.cover-card--three {
  bottom: 1%;
  height: 46%;
  right: 17%;
  transform: rotate(-1.5deg);
  width: 48%;
  z-index: 3;
}

.cover-card::after {
  bottom: 9px;
  color: var(--ink);
  content: "NEW YORK · 2023";
  font-family: var(--serif);
  font-size: 0.66rem;
  font-style: italic;
  left: 13px;
  letter-spacing: 0.06em;
  opacity: 0.7;
  position: absolute;
}

.demo-image {
  align-items: flex-end;
  background-color: #768a86;
  display: flex;
  height: 100%;
  overflow: hidden;
  padding: 0.8rem;
  position: relative;
}

.demo-image::before,
.photo-placeholder::before {
  content: "";
  inset: 0;
  position: absolute;
}

.demo-image span {
  background: rgba(15, 25, 22, 0.74);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.55rem;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.demo-image--harbor {
  background: #8aa6ad;
}

.demo-image--harbor::before {
  background:
    linear-gradient(90deg, transparent 0 44%, #465a50 44% 48%, transparent 48%),
    radial-gradient(ellipse at 46% 41%, #617a6e 0 3%, transparent 3.4%),
    linear-gradient(170deg, transparent 0 59%, #d4c4a5 59% 62%, #6d8990 62% 100%);
}

.demo-image--city {
  background: #d4a55b;
}

.demo-image--city::before {
  background:
    linear-gradient(90deg, transparent 5%, #263732 5% 19%, transparent 19% 23%, #43524d 23% 41%, transparent 41% 45%, #263732 45% 58%, transparent 58% 63%, #34443e 63% 84%, transparent 84%),
    linear-gradient(#c8794e 0 63%, #273b36 63% 100%);
  clip-path: polygon(0 30%, 18% 30%, 18% 16%, 35% 16%, 35% 38%, 47% 38%, 47% 2%, 59% 2%, 59% 23%, 79% 23%, 79% 44%, 100% 44%, 100% 100%, 0 100%);
}

.demo-image--park {
  background: #89a07f;
}

.demo-image--park::before {
  background:
    radial-gradient(circle at 18% 53%, #425b49 0 12%, transparent 12.4%),
    radial-gradient(circle at 33% 43%, #536d57 0 17%, transparent 17.4%),
    radial-gradient(circle at 70% 48%, #3d5848 0 20%, transparent 20.4%),
    linear-gradient(165deg, transparent 0 60%, #d9c8a9 60% 66%, #718c70 66% 100%);
}

.cover-stamp {
  align-items: center;
  background: var(--red);
  border-radius: 50%;
  bottom: 14%;
  color: #fff4e4;
  display: flex;
  flex-direction: column;
  height: 104px;
  justify-content: center;
  left: 2%;
  position: absolute;
  transform: rotate(8deg);
  width: 104px;
  z-index: 4;
}

.cover-stamp span {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.cover-stamp small {
  font-size: 0.48rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  margin-top: 0.3rem;
  text-align: center;
}

.cover__footer {
  align-items: center;
  bottom: 34px;
  display: flex;
  font-size: 0.56rem;
  font-weight: 700;
  gap: 1rem;
  left: clamp(1.4rem, 5.8vw, 7rem);
  letter-spacing: 0.14em;
  opacity: 0.52;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.cover__line {
  background: currentColor;
  height: 1px;
  width: 60px;
}

/* Índice */
.index-section {
  background: var(--paper);
  margin: 0 auto;
  max-width: var(--max);
  min-height: 100vh;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.4rem, 6vw, 7rem);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 8vw, 8rem);
  grid-template-columns: minmax(350px, 1fr) minmax(260px, 0.55fr);
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.section-heading .eyebrow {
  color: var(--red);
}

.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0;
}

.section-heading > p {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.65;
  margin: 0 0 0.6rem;
}

.journey-line {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 0.58rem;
  font-weight: 720;
  gap: 0.8rem;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.journey-line i {
  background: var(--line);
  height: 1px;
  max-width: 180px;
  min-width: 24px;
  position: relative;
  width: 8vw;
}

.journey-line i::after {
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
  content: "";
  height: 5px;
  position: absolute;
  right: 0;
  top: -3px;
  width: 5px;
}

.place-index {
  border-top: 1px solid var(--ink);
}

.index-card {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.8fr) minmax(260px, 1fr) 110px 36px;
  min-height: 128px;
  padding: 1.2rem 0;
  text-align: left;
  transition: background 180ms ease, padding 180ms ease;
  width: 100%;
}

.index-card:hover,
.index-card:focus-visible {
  background: rgba(255, 255, 255, 0.52);
  padding-left: 1rem;
  padding-right: 1rem;
}

.index-card__number {
  color: var(--red);
  font-family: var(--serif);
  font-size: 0.82rem;
}

.index-card__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.index-card__desc {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.4;
  padding-right: 3rem;
}

.index-card__count {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-card__arrow {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 34px;
}

.index-card:hover .index-card__arrow {
  background: var(--ink);
  color: var(--paper-bright);
  transform: translateX(3px);
}

/* Álbum */
.album-section {
  align-items: start;
  background: var(--paper-bright);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
  position: relative;
}

.album-rail {
  border-right: 1px solid var(--line);
  max-height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  padding: 116px 2rem 2rem clamp(1.4rem, 3vw, 3.4rem);
  position: sticky;
  top: 0;
}

.album-rail__heading {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.2rem;
}

.album-rail__heading .eyebrow {
  color: var(--red);
  margin: 0;
}

.album-rail__heading > span {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.78rem;
}

.place-tabs {
  display: flex;
  flex-direction: column;
}

.place-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 22px 1fr 10px;
  min-height: 64px;
  padding: 0.8rem 0;
  text-align: left;
  transition: color 180ms ease;
}

.place-tab__number {
  font-family: var(--serif);
  font-size: 0.66rem;
  opacity: 0.55;
}

.place-tab__title {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.1;
}

.place-tab__dot {
  border: 1px solid currentColor;
  border-radius: 50%;
  height: 7px;
  opacity: 0.35;
  width: 7px;
}

.place-tab:hover,
.place-tab[aria-selected="true"] {
  color: var(--red);
}

.place-tab[aria-selected="true"] .place-tab__dot {
  background: currentColor;
  opacity: 1;
}

.album-content {
  min-width: 0;
  padding: 0 clamp(1.3rem, 5vw, 6.5rem) 6rem;
}

.place-intro {
  border-bottom: 1px solid var(--ink);
  padding: 120px 0 clamp(4rem, 7vw, 7rem);
  position: relative;
}

.place-intro__topline {
  align-items: center;
  color: var(--red);
  display: flex;
  font-size: 0.63rem;
  font-weight: 750;
  justify-content: space-between;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.place-intro__main {
  align-items: end;
  display: grid;
  gap: clamp(2.5rem, 7vw, 8rem);
  grid-template-columns: minmax(360px, 1fr) minmax(240px, 0.36fr);
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.place-intro h2 {
  font-family: var(--serif);
  font-size: clamp(4.2rem, 8vw, 8.7rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.8;
  margin: 0;
  max-width: 850px;
  overflow-wrap: anywhere;
}

.place-intro__lead {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.45;
  margin: 2.3rem 0 0;
  max-width: 700px;
}

.place-facts {
  border-top: 1px solid var(--line);
  margin: 0;
}

.place-facts > div {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 82px 1fr;
  padding: 0.8rem 0;
}

.place-facts dt {
  color: var(--ink-soft);
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.place-facts dd {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin: 0;
}

.place-intro__story {
  margin: 3rem 0 0 auto;
  max-width: 700px;
}

.place-intro__story p {
  color: var(--ink-soft);
  display: -webkit-box;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.72;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.place-intro__story.is-expanded p {
  display: block;
}

.read-more {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  padding: 0 0 0.3rem;
  text-transform: uppercase;
}

.place-intro__route {
  align-items: center;
  bottom: 2.15rem;
  display: flex;
  gap: 0.4rem;
  left: 0;
  position: absolute;
  width: 31%;
}

.route-dot {
  border: 1px solid var(--red);
  border-radius: 50%;
  flex: 0 0 7px;
  height: 7px;
}

.route-dot--start {
  background: var(--red);
}

.route-line {
  background: var(--line);
  height: 1px;
  width: 26px;
}

.route-line:nth-last-of-type(2) {
  flex: 1;
}

.route-label {
  font-size: 0.53rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-toolbar {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 150px minmax(340px, 1fr) auto;
  padding: 2rem 0;
}

.gallery-summary {
  align-items: baseline;
  display: flex;
  gap: 0.5rem;
}

.gallery-summary__number {
  font-family: var(--serif);
  font-size: 1.75rem;
}

.gallery-summary span:last-child {
  color: var(--ink-soft);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  max-width: 70px;
  text-transform: uppercase;
}

.filter-wrap {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.filter-label {
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.61rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  min-height: 32px;
  padding: 0.45rem 0.75rem;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.filter-chip:hover,
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper-bright);
}

.view-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  font-size: 0.58rem;
  font-weight: 720;
  gap: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.5rem;
  text-transform: uppercase;
}

.view-toggle__icon {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 6px);
}

.view-toggle__icon i {
  border: 1px solid currentColor;
  height: 6px;
  width: 6px;
}

.view-toggle[aria-pressed="true"] .view-toggle__icon {
  grid-template-columns: repeat(4, 3px);
}

.view-toggle[aria-pressed="true"] .view-toggle__icon i {
  height: 12px;
  width: 3px;
}

.gallery {
  display: grid;
  gap: clamp(1.4rem, 3vw, 3.4rem) clamp(1rem, 2vw, 2rem);
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.photo-card {
  grid-column: span 4;
  margin: 0;
  min-width: 0;
}

.photo-card[data-layout="wide"] {
  grid-column: span 8;
}

.photo-card[data-layout="tall"] {
  grid-column: span 4;
  grid-row: span 2;
}

.photo-card[data-layout="small"] {
  align-self: end;
  grid-column: span 4;
  margin-inline: 10%;
}

.photo-card__button {
  background: #d8d2c5;
  border: 0;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.photo-card[data-layout="wide"] .photo-card__button {
  aspect-ratio: 16 / 9;
}

.photo-card[data-layout="tall"] .photo-card__button {
  aspect-ratio: 3 / 4.25;
}

.photo-card[data-layout="small"] .photo-card__button,
.photo-card[data-layout="standard"] .photo-card__button {
  aspect-ratio: 4 / 3;
}

.photo-card__media,
.photo-card__media > img,
.photo-placeholder {
  display: block;
  height: 100%;
  width: 100%;
}

.photo-card__media > img {
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-placeholder {
  align-items: flex-end;
  background: #78908a;
  display: flex;
  overflow: hidden;
  padding: 1rem;
  position: relative;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-placeholder::after {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: rgba(255, 255, 255, 0.88);
  content: attr(data-monogram);
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.5rem;
  position: relative;
  z-index: 2;
}

.photo-card__button:hover .photo-card__media > img,
.photo-card__button:hover .photo-placeholder {
  transform: scale(1.025);
}

.photo-card__overlay {
  align-items: center;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 15, 13, 0.64));
  bottom: 0;
  color: #fff;
  display: flex;
  font-size: 0.58rem;
  font-weight: 700;
  inset: 0;
  justify-content: space-between;
  letter-spacing: 0.1em;
  opacity: 0;
  padding: 1rem;
  position: absolute;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.photo-card__button:hover .photo-card__overlay,
.photo-card__button:focus-visible .photo-card__overlay {
  opacity: 1;
}

.photo-card figcaption {
  align-items: baseline;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding-top: 0.7rem;
}

.photo-card__number,
.photo-card__meta {
  color: var(--ink-soft);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.photo-card__title {
  font-family: var(--serif);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery.is-compact {
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery.is-compact .photo-card,
.gallery.is-compact .photo-card[data-layout] {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
}

.gallery.is-compact .photo-card__button {
  aspect-ratio: 1 / 1;
}

.gallery.is-compact figcaption {
  display: none;
}

.gallery-empty {
  border: 1px dashed var(--line);
  padding: 5rem 2rem;
  text-align: center;
}

.gallery-empty > span {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
}

.gallery-empty p {
  font-family: var(--serif);
  font-size: 1.1rem;
}

.chapter-nav {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(5rem, 9vw, 9rem);
}

.chapter-nav button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  min-height: 96px;
  padding: 1rem 0;
  text-align: left;
}

.chapter-nav button:last-child {
  border-left: 1px solid var(--line);
  justify-content: flex-end;
  padding-left: 2rem;
  text-align: right;
}

.chapter-nav small,
.chapter-nav strong {
  display: block;
}

.chapter-nav small {
  color: var(--ink-soft);
  font-size: 0.54rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chapter-nav strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Paletas de demostración: se sustituyen por imágenes reales desde data.js. */
.tone-harbor::before {
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(40, 66, 62, 0.95) 44% 47%, transparent 47%),
    radial-gradient(ellipse at 45% 37%, #47665e 0 4%, transparent 4.3%),
    linear-gradient(170deg, transparent 0 59%, #d7c4a1 59% 63%, #678891 63% 100%);
}

.tone-skyline::before {
  background:
    linear-gradient(90deg, #1d302c 0 13%, transparent 13% 17%, #354842 17% 32%, transparent 32% 35%, #21342f 35% 49%, transparent 49% 54%, #43564f 54% 69%, transparent 69% 72%, #243a34 72% 91%, transparent 91%),
    linear-gradient(#d79b65 0 60%, #1f332f 60%);
  clip-path: polygon(0 36%, 13% 36%, 13% 26%, 32% 26%, 32% 44%, 39% 44%, 39% 8%, 49% 8%, 49% 31%, 69% 31%, 69% 18%, 86% 18%, 86% 43%, 100% 43%, 100% 100%, 0 100%);
}

.tone-street::before {
  background:
    linear-gradient(88deg, #9c4b38 0 19%, transparent 19% 40%, #2e4943 40% 58%, transparent 58% 80%, #d3ae6c 80%),
    linear-gradient(165deg, #b2c1bd 0 48%, #5e6358 48% 53%, #b69d75 53% 100%);
  opacity: 0.9;
  transform: skewX(-5deg) scale(1.1);
}

.tone-bridge::before {
  background:
    linear-gradient(64deg, transparent 0 39%, #314b46 39% 41%, transparent 41%),
    linear-gradient(-64deg, transparent 0 39%, #314b46 39% 41%, transparent 41%),
    repeating-linear-gradient(90deg, transparent 0 11%, rgba(49, 75, 70, 0.7) 11.3% 11.8%),
    linear-gradient(#91aab0 0 66%, #607e83 66%);
}

.tone-park::before {
  background:
    radial-gradient(circle at 13% 45%, #3f5d49 0 15%, transparent 15.4%),
    radial-gradient(circle at 35% 39%, #56745a 0 19%, transparent 19.4%),
    radial-gradient(circle at 69% 48%, #425f4a 0 23%, transparent 23.4%),
    radial-gradient(circle at 93% 36%, #54705a 0 18%, transparent 18.4%),
    linear-gradient(168deg, #9eb2a2 0 55%, #d0bb92 55% 62%, #739071 62%);
}

.tone-yellow::before {
  background:
    radial-gradient(circle at 25% 31%, rgba(255, 255, 255, 0.9) 0 3%, transparent 3.3%),
    linear-gradient(110deg, transparent 0 22%, #d5a226 22% 72%, transparent 72%),
    linear-gradient(160deg, #789297 0 54%, #a78962 54% 100%);
}

.tone-night::before {
  background:
    radial-gradient(circle at 30% 28%, #f4e59d 0 1.2%, transparent 1.5%),
    radial-gradient(circle at 44% 54%, #dc5140 0 1.6%, transparent 2%),
    radial-gradient(circle at 72% 36%, #e4bc62 0 1.3%, transparent 1.7%),
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(237, 210, 146, 0.58) 12.4% 13%, transparent 13.4% 17%),
    linear-gradient(#172c34 0 64%, #101c20 64%);
}

.tone-station::before {
  background:
    radial-gradient(circle at 70% 42%, #d7a43c 0 8%, transparent 8.4%),
    repeating-linear-gradient(90deg, transparent 0 18%, rgba(227, 214, 181, 0.25) 18.5% 19%),
    linear-gradient(168deg, #435753 0 57%, #1d302c 57% 67%, #806d53 67%);
}

.tone-ocean::before {
  background:
    linear-gradient(174deg, transparent 0 55%, #e0cfaa 55% 67%, #6c929c 67%),
    linear-gradient(#98b8c1 0 100%);
}

.tone-boardwalk::before {
  background:
    radial-gradient(circle at 70% 36%, #c94b3f 0 14%, transparent 14.4%),
    conic-gradient(from 0deg at 70% 36%, transparent 0 7deg, #f0dbb0 7deg 10deg, transparent 10deg 24deg, #f0dbb0 24deg 27deg, transparent 27deg),
    linear-gradient(170deg, #8cadb6 0 59%, #bca078 59%);
}

.tone-art::before {
  background:
    linear-gradient(130deg, transparent 0 24%, #b4493e 24% 42%, transparent 42%),
    linear-gradient(40deg, transparent 0 34%, #d7a441 34% 51%, transparent 51%),
    radial-gradient(circle at 66% 36%, #263b36 0 18%, transparent 18.4%),
    #d7cfbd;
}

.tone-detail::before {
  background:
    radial-gradient(circle at 52% 46%, transparent 0 18%, rgba(239, 220, 181, 0.7) 18.5% 20%, transparent 20.5%),
    repeating-conic-gradient(from 13deg at 52% 46%, #3a554d 0 8deg, #526d63 8deg 17deg);
  transform: scale(1.15);
}

/* Cierre */
.closing {
  background: #17231f;
  color: var(--paper-bright);
  min-height: 86vh;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 12rem) clamp(1.4rem, 8vw, 10rem) 4rem;
  position: relative;
}

.closing::before {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  height: min(60vw, 700px);
  position: absolute;
  right: -15vw;
  top: -26vw;
  width: min(60vw, 700px);
}

.closing__copy {
  position: relative;
  z-index: 2;
}

.closing__copy .eyebrow {
  color: #d6b272;
}

.closing h2 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 2.2rem 0 3.2rem;
}

.closing__note {
  bottom: 2rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  opacity: 0.48;
  position: absolute;
  right: clamp(1.4rem, 8vw, 10rem);
  text-transform: uppercase;
}

.closing__skyline {
  align-items: end;
  bottom: 0;
  display: flex;
  gap: 5px;
  height: 42%;
  opacity: 0.16;
  position: absolute;
  right: 0;
  width: 49%;
}

.closing__skyline i {
  background: #f4e9d2;
  flex: 1;
  height: 28%;
}

.closing__skyline i:nth-child(2) { height: 47%; }
.closing__skyline i:nth-child(3) { height: 35%; }
.closing__skyline i:nth-child(4) { height: 68%; }
.closing__skyline i:nth-child(5) { height: 50%; }
.closing__skyline i:nth-child(6) { height: 92%; clip-path: polygon(43% 0, 57% 0, 57% 13%, 70% 13%, 70% 100%, 30% 100%, 30% 13%, 43% 13%); }
.closing__skyline i:nth-child(7) { height: 53%; }
.closing__skyline i:nth-child(8) { height: 72%; }
.closing__skyline i:nth-child(9) { height: 39%; }
.closing__skyline i:nth-child(10) { height: 58%; }
.closing__skyline i:nth-child(11) { height: 31%; }

.site-footer {
  align-items: center;
  background: #101916;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  font-size: 0.56rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.12em;
  min-height: 72px;
  padding: 1rem clamp(1.4rem, 5vw, 6rem);
  text-transform: uppercase;
}

.site-footer button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding: 0 0 0.25rem;
  text-transform: inherit;
}

/* Lightbox y ayuda */
.lightbox,
.help-dialog {
  inset: 0;
  position: fixed;
  z-index: 120;
}

.lightbox[hidden],
.help-dialog[hidden] {
  display: none;
}

.lightbox__backdrop,
.help-dialog__backdrop {
  background: rgba(8, 13, 11, 0.94);
  inset: 0;
  position: absolute;
}

.lightbox__window {
  color: #fff;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) auto;
  height: 100%;
  position: relative;
}

.lightbox__bar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  font-size: 0.6rem;
  font-weight: 720;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.12em;
  padding: 0 clamp(1rem, 3vw, 3rem);
  text-transform: uppercase;
}

.lightbox__bar > span:nth-child(2) {
  opacity: 0.65;
}

.lightbox__bar button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 2rem;
  justify-self: end;
  line-height: 1;
}

.lightbox__stage {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  min-height: 0;
  padding: clamp(1rem, 3vh, 2rem) clamp(0.6rem, 2vw, 2rem);
}

.lightbox__media {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.lightbox__media img {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  height: 100%;
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.lightbox__media .photo-placeholder {
  aspect-ratio: 16 / 10;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  height: min(66vh, 760px);
  max-width: 1020px;
  width: 100%;
}

.lightbox__arrow {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.2rem;
  height: 48px;
  justify-content: center;
  transition: background 160ms ease, color 160ms ease;
  width: 48px;
}

.lightbox__arrow:hover {
  background: #fff;
  color: var(--ink);
}

.lightbox__caption {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: clamp(1.5rem, 5vw, 6rem);
  grid-template-columns: minmax(250px, 0.45fr) minmax(280px, 0.55fr);
  padding: 1.4rem clamp(1rem, 8vw, 9rem) 1.7rem;
}

.lightbox__caption .eyebrow {
  color: #d6b272;
  margin-bottom: 0.35rem;
}

.lightbox__caption h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.lightbox__caption > p {
  align-self: end;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--serif);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
}

.help-dialog {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.help-dialog__backdrop {
  background: rgba(8, 13, 11, 0.78);
}

.help-dialog__card {
  background: var(--paper-bright);
  box-shadow: var(--shadow);
  max-width: 540px;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  width: 100%;
}

.help-dialog__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 2rem;
  position: absolute;
  right: 1.2rem;
  top: 0.8rem;
}

.help-dialog__card .eyebrow {
  color: var(--red);
}

.help-dialog__card h2 {
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0 0 2rem;
}

.help-dialog__card dl {
  border-top: 1px solid var(--line);
  margin: 0;
}

.help-dialog__card dl > div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 120px 1fr;
  padding: 0.8rem 0;
}

.help-dialog__card dt,
.help-dialog__card dd {
  margin: 0;
}

kbd {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.67rem;
  padding: 0.24rem 0.4rem;
}

.help-dialog__card dd,
.help-dialog__card > p:last-child {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.94rem;
}

.help-dialog__card > p:last-child {
  margin: 1.8rem 0 0;
}

.noscript {
  background: #fff0cc;
  bottom: 1rem;
  box-shadow: var(--shadow);
  left: 50%;
  max-width: 480px;
  padding: 1rem;
  position: fixed;
  text-align: center;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 200;
}

/* Responsive */
@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-note {
    display: none;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav.is-open {
    align-items: flex-start;
    background: var(--paper-bright);
    box-shadow: var(--shadow);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.4rem;
    position: absolute;
    right: 1rem;
    top: 66px;
    width: min(300px, calc(100vw - 2rem));
  }

  .site-nav.is-open a {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    width: 100%;
  }

  .cover {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .cover h1 {
    font-size: clamp(5rem, 12vw, 8rem);
  }

  .album-section {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .album-rail {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .place-intro__main {
    grid-template-columns: 1fr;
  }

  .place-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .place-facts > div {
    display: block;
    padding-right: 1rem;
  }

  .place-facts dd {
    margin-top: 0.35rem;
  }

  .gallery-toolbar {
    grid-template-columns: 130px 1fr;
  }

  .view-toggle {
    grid-column: 2;
    justify-self: end;
  }

  .photo-card,
  .photo-card[data-layout="tall"],
  .photo-card[data-layout="small"] {
    grid-column: span 6;
    margin-inline: 0;
  }

  .photo-card[data-layout="wide"] {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 66px;
  }

  .site-header {
    height: 66px;
    padding-inline: 1rem;
  }

  .brand small {
    display: none;
  }

  .cover {
    display: block;
    min-height: 100svh;
    padding: 108px 1.25rem 70px;
  }

  .cover__copy {
    padding: 0;
  }

  .cover h1 {
    font-size: clamp(5.4rem, 28vw, 8.5rem);
    margin: 2.8rem 0 2.5rem;
  }

  .cover__intro {
    max-width: 90%;
  }

  .cover__actions {
    gap: 1.3rem;
    margin-top: 2rem;
  }

  .cover__collage {
    height: 460px;
    margin-top: 3rem;
    min-height: 0;
  }

  .cover-card--one {
    left: 0;
    width: 54%;
  }

  .cover-card--two {
    right: 0;
    width: 52%;
  }

  .cover-card--three {
    right: 7%;
    width: 56%;
  }

  .cover-stamp {
    height: 82px;
    width: 82px;
  }

  .cover__footer {
    display: none;
  }

  .index-section {
    padding: 6rem 1.25rem;
  }

  .section-heading {
    display: block;
    margin-bottom: 4rem;
  }

  .section-heading h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .section-heading > p {
    margin-top: 2rem;
  }

  .journey-line {
    display: none;
  }

  .index-card {
    align-items: start;
    gap: 0.4rem 1rem;
    grid-template-columns: 34px 1fr 34px;
    min-height: 126px;
    padding: 1.4rem 0;
  }

  .index-card__number {
    grid-row: 1 / 3;
  }

  .index-card__title {
    grid-column: 2;
  }

  .index-card__desc {
    display: none;
  }

  .index-card__count {
    grid-column: 2;
  }

  .index-card__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .album-section {
    display: block;
  }

  .album-rail {
    background: var(--paper-bright);
    border-bottom: 1px solid var(--line);
    border-right: 0;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    padding: 1rem 1.25rem 0;
    position: sticky;
    top: 65px;
    z-index: 30;
  }

  .album-rail__heading {
    display: none;
  }

  .place-tabs {
    flex-direction: row;
    gap: 1.6rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .place-tabs::-webkit-scrollbar {
    display: none;
  }

  .place-tab {
    border-bottom-color: transparent;
    flex: 0 0 auto;
    gap: 0.45rem;
    grid-template-columns: auto auto;
    min-height: 53px;
  }

  .place-tab__dot {
    display: none;
  }

  .place-tab[aria-selected="true"] {
    border-bottom-color: var(--red);
  }

  .album-content {
    padding: 0 1.25rem 4rem;
  }

  .place-intro {
    padding: 5rem 0 4rem;
  }

  .place-intro__main {
    display: block;
    margin-top: 2.5rem;
  }

  .place-intro h2 {
    font-size: clamp(4rem, 20vw, 7rem);
  }

  .place-facts {
    display: block;
    margin-top: 3rem;
  }

  .place-facts > div {
    display: grid;
    grid-template-columns: 90px 1fr;
  }

  .place-intro__story {
    margin-top: 2.5rem;
  }

  .place-intro__route {
    display: none;
  }

  .gallery-toolbar {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 1.5rem 0 2rem;
  }

  .filter-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .view-toggle {
    align-self: flex-end;
    margin-top: -3.1rem;
  }

  .gallery {
    gap: 2.2rem 0.75rem;
  }

  .photo-card,
  .photo-card[data-layout],
  .photo-card[data-layout="wide"] {
    grid-column: span 12;
    grid-row: auto;
  }

  .photo-card[data-layout="small"] {
    margin-inline: 9%;
  }

  .gallery.is-compact {
    gap: 0.4rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery.is-compact .photo-card,
  .gallery.is-compact .photo-card[data-layout] {
    grid-column: auto;
  }

  .chapter-nav button {
    min-width: 0;
  }

  .chapter-nav strong {
    max-width: 115px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .closing {
    min-height: 78vh;
  }

  .closing h2 {
    font-size: clamp(3.5rem, 17vw, 6rem);
  }

  .closing__skyline {
    width: 90%;
  }

  .closing__note {
    left: 1.25rem;
    right: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .lightbox__window {
    grid-template-rows: 54px minmax(0, 1fr) auto;
  }

  .lightbox__stage {
    display: block;
    padding: 0.75rem;
    position: relative;
  }

  .lightbox__media {
    height: 100%;
  }

  .lightbox__media .photo-placeholder {
    height: min(60vh, 570px);
  }

  .lightbox__arrow {
    background: rgba(12, 20, 17, 0.6);
    bottom: 1.2rem;
    position: absolute;
    z-index: 2;
  }

  .lightbox__arrow--prev {
    left: 1.2rem;
  }

  .lightbox__arrow--next {
    right: 1.2rem;
  }

  .lightbox__caption {
    display: block;
    padding: 1.1rem;
  }

  .lightbox__caption > p {
    display: none;
  }

  .lightbox__bar {
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .album-rail,
  .gallery-toolbar,
  .chapter-nav,
  .site-footer,
  .cover__actions,
  .lightbox,
  .help-dialog {
    display: none !important;
  }

  .cover,
  .closing {
    break-after: page;
    min-height: 100vh;
  }

  .album-section {
    display: block;
  }

  .album-content {
    padding: 0;
  }

  .photo-card {
    break-inside: avoid;
  }
}

/* ========================================================================== 
   EDICIÓN EDITORIAL — V2
   Una capa visual autónoma, sin dependencias ni cambios en la lógica.
   ========================================================================== */

:root {
  --ink: #151513;
  --ink-soft: #66645e;
  --paper: #f5f3ee;
  --paper-bright: #fdfcf8;
  --cream: #eae6dd;
  --red: #8d382e;
  --gold: #b99a63;
  --line: rgba(21, 21, 19, 0.14);
  --line-strong: rgba(21, 21, 19, 0.32);
  --shadow: 0 30px 80px rgba(27, 24, 18, 0.12);
  --shadow-soft: 0 14px 40px rgba(27, 24, 18, 0.08);
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --max: 1680px;
  color-scheme: light dark;
}

html {
  background: var(--paper);
  scrollbar-color: var(--ink-soft) transparent;
  scrollbar-width: thin;
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(21, 21, 19, .3); border: 3px solid transparent; background-clip: padding-box; }

body.edition-luxe {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(21,21,19,.025) calc(100% - 1px)) 0 0 / 8.333vw 100%,
    var(--paper);
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: .002em;
}

::selection { background: var(--red); color: #fff; }

.eyebrow {
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .22em;
}

.button {
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .17em;
  min-height: 52px;
  padding-inline: 1.7rem;
  transition: color .45s var(--ease-out), background .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.button:hover { box-shadow: 0 10px 30px rgba(0,0,0,.12); transform: translateY(-3px); }

.text-button {
  border: 0;
  font-size: .64rem;
  letter-spacing: .16em;
  padding-bottom: .5rem;
  position: relative;
}

.text-button::after {
  background: currentColor;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform-origin: left;
  transition: transform .45s var(--ease-out);
  width: 100%;
}

.text-button:hover::after { transform: scaleX(.35); }

/* Navegación flotante */
.site-header {
  background: rgba(248, 246, 241, .74);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 999px;
  box-shadow: 0 10px 38px rgba(22,20,16,.07);
  height: 64px;
  left: clamp(1rem, 2.5vw, 2.8rem);
  padding: 0 1.25rem;
  right: clamp(1rem, 2.5vw, 2.8rem);
  top: 18px;
  transition: background .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out), transform .45s var(--ease-out), color .45s var(--ease-out);
  width: auto;
}

.site-header.is-scrolled {
  background: rgba(248, 246, 241, .86);
  border-color: rgba(21,21,19,.08);
  box-shadow: 0 18px 48px rgba(22,20,16,.11);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.site-header.is-on-cover:not(.is-scrolled) {
  background: rgba(13,13,12,.18);
  border-color: rgba(255,255,255,.17);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand { gap: .7rem; }
.brand__mark { border-color: rgba(128,128,128,.65); font-size: .67rem; height: 32px; width: 32px; }
.brand strong { font-size: .92rem; letter-spacing: -.01em; }
.brand small { font-size: .5rem; letter-spacing: .16em; }
.site-nav { gap: 2.6rem; }
.site-nav a { font-size: .58rem; font-weight: 700; letter-spacing: .2em; }
.header-note { font-size: .5rem; letter-spacing: .18em; }

/* Portada cinematográfica */
.cover {
  background: #10100f;
  grid-template-columns: minmax(360px, .76fr) minmax(560px, 1.24fr);
  min-height: max(760px, 100svh);
  padding: 124px clamp(1.5rem, 5.5vw, 6.5rem) 70px;
}

.cover::before {
  background: radial-gradient(circle, rgba(185,154,99,.22), transparent 68%);
  border: 0;
  height: 70vw;
  max-height: 1000px;
  max-width: 1000px;
  right: -30vw;
  top: -42vw;
  width: 70vw;
}

.cover::after {
  background: linear-gradient(90deg, rgba(255,255,255,.09), transparent);
  border: 0;
  border-radius: 0;
  height: 1px;
  left: clamp(1.5rem, 5.5vw, 6.5rem);
  right: clamp(1.5rem, 5.5vw, 6.5rem);
  top: 102px;
  width: auto;
}

.cover__grain { mix-blend-mode: soft-light; opacity: .17; }

.cover__copy {
  padding: 2vh clamp(2rem, 5vw, 6rem) 2vh 0;
}

.cover__copy .eyebrow { color: rgba(239,227,206,.66); }

.cover h1 {
  font-size: clamp(6rem, 10.4vw, 11.8rem);
  letter-spacing: -.085em;
  line-height: .66;
  margin: clamp(3.2rem, 8vh, 6.7rem) 0 clamp(3rem, 6vh, 5rem);
}

.cover h1 span:last-child { color: #d5b985; margin-left: .31em; }

.cover__intro {
  color: rgba(255,255,255,.62);
  font-size: clamp(1.06rem, 1.35vw, 1.28rem);
  line-height: 1.72;
  max-width: 430px;
}

.cover__actions { gap: 2.25rem; margin-top: 2.8rem; }
.button--light { background: #f2eee6; color: #171715; }

.cover__collage {
  height: min(730px, 76vh);
  min-height: 590px;
  perspective: 1200px;
}

.cover-card {
  background: #eee9df;
  box-shadow: 0 35px 90px rgba(0,0,0,.44);
  overflow: hidden;
  padding: 0;
  transition: transform .9s var(--ease-out), filter .9s var(--ease-out), box-shadow .9s var(--ease-out);
}

.cover-card > img {
  filter: saturate(.86) contrast(1.03);
  transition: filter .9s var(--ease-out), transform 1.2s var(--ease-out);
}

.cover-card::after { display: none; }

.cover-card--one { height: 76%; left: 3%; top: 9%; transform: rotate(-2.2deg); width: 55%; z-index: 2; }
.cover-card--two { height: 57%; right: 0; top: 0; transform: rotate(2.5deg); width: 47%; }
.cover-card--three { bottom: 0; height: 48%; right: 8%; transform: rotate(-.8deg); width: 49%; z-index: 3; }

.cover__collage:hover .cover-card--one { transform: rotate(-3deg) translate3d(-8px,-10px,30px); }
.cover__collage:hover .cover-card--two { transform: rotate(3.2deg) translate3d(8px,-8px,10px); }
.cover__collage:hover .cover-card--three { transform: rotate(-1.3deg) translate3d(5px,9px,45px); }
.cover__collage:hover img { filter: saturate(1) contrast(1.02); transform: scale(1.018); }

.cover-stamp {
  background: rgba(14,14,13,.88);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 15px 35px rgba(0,0,0,.3);
  height: 92px;
  left: 0;
  width: 92px;
}

.cover-stamp span { font-size: 1.45rem; }
.cover-stamp small { opacity: .65; }

.cover__edition {
  color: rgba(255,255,255,.46);
  display: flex;
  font-size: .52rem;
  font-weight: 650;
  justify-content: space-between;
  left: clamp(1.5rem, 5.5vw, 6.5rem);
  letter-spacing: .2em;
  position: absolute;
  right: clamp(1.5rem, 5.5vw, 6.5rem);
  text-transform: uppercase;
  top: 105px;
}

.cover__footer { bottom: 32px; font-size: .5rem; letter-spacing: .18em; }

.cover__scroll {
  align-items: center;
  bottom: 31px;
  color: rgba(255,255,255,.42);
  display: flex;
  font-size: .48rem;
  font-weight: 650;
  gap: .75rem;
  letter-spacing: .2em;
  position: absolute;
  right: clamp(1.5rem, 5.5vw, 6.5rem);
  text-transform: uppercase;
}

.cover__scroll i { background: rgba(255,255,255,.35); height: 1px; overflow: hidden; position: relative; width: 58px; }
.cover__scroll i::after { animation: scrollLine 2.4s var(--ease-soft) infinite; background: #fff; content: ""; inset: 0; position: absolute; transform: translateX(-100%); }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 45%, 60% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* Índice: ritmo de revista */
.index-section {
  background: transparent;
  max-width: var(--max);
  padding: clamp(8rem, 12vw, 14rem) clamp(1.5rem, 7vw, 8rem);
}

.section-heading {
  align-items: start;
  gap: clamp(3rem, 10vw, 11rem);
  grid-template-columns: minmax(430px, 1fr) minmax(260px, .38fr);
  margin-bottom: clamp(6rem, 10vw, 11rem);
}

.section-heading h2 {
  font-size: clamp(4rem, 7.4vw, 8rem);
  letter-spacing: -.068em;
  line-height: .86;
}

.section-heading > p {
  border-top: 1px solid var(--line-strong);
  font-size: 1.04rem;
  line-height: 1.8;
  margin: 3.2rem 0 0;
  padding-top: 1.5rem;
}

.journey-line { margin-bottom: 2.6rem; opacity: .78; }
.place-index { border-color: var(--line-strong); }

.index-card {
  gap: 1.5rem;
  grid-template-columns: 68px minmax(210px,.75fr) minmax(260px,1fr) 100px 46px;
  min-height: 154px;
  overflow: hidden;
  padding: 1.7rem 0;
  position: relative;
  transition: color .5s var(--ease-out), padding .5s var(--ease-out), background .5s var(--ease-out);
}

.index-card::before {
  background: var(--ink);
  content: "";
  inset: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}

.index-card > span { position: relative; z-index: 1; }
.index-card:hover, .index-card:focus-visible { background: transparent; color: var(--paper-bright); padding-left: 1.25rem; padding-right: 1.25rem; }
.index-card:hover::before, .index-card:focus-visible::before { transform: scaleY(1); }
.index-card__number { color: var(--red); font-size: .72rem; }
.index-card:hover .index-card__number { color: #d3b57f; }
.index-card__title { font-size: clamp(1.75rem, 2.5vw, 2.8rem); letter-spacing: -.04em; }
.index-card__desc { font-size: .96rem; line-height: 1.6; opacity: .78; }
.index-card__count { font-size: .54rem; letter-spacing: .17em; }
.index-card__arrow { border-color: currentColor; height: 40px; width: 40px; }
.index-card:hover .index-card__arrow { background: var(--paper-bright); color: var(--ink); transform: rotate(-45deg); }

/* Capítulos */
.album-section {
  background: var(--paper-bright);
  grid-template-columns: 300px minmax(0,1fr);
}

.album-rail {
  background: color-mix(in srgb, var(--paper-bright) 94%, transparent);
  padding: 118px 2.2rem 3rem clamp(1.5rem, 3vw, 3.6rem);
  scrollbar-color: rgba(21,21,19,.25) transparent;
}

.album-rail__heading { margin-bottom: 2.8rem; }
.place-tab { border-bottom-color: rgba(21,21,19,.1); min-height: 70px; transition: color .4s var(--ease-out), padding .4s var(--ease-out); }
.place-tab:hover { padding-left: .45rem; }
.place-tab__number { font-size: .58rem; letter-spacing: .12em; }
.place-tab__title { font-size: 1.02rem; letter-spacing: -.015em; }
.place-tab__dot { height: 6px; transition: background .4s, transform .4s var(--ease-out); width: 6px; }
.place-tab[aria-selected="true"] .place-tab__dot { transform: scale(1.45); }

.album-content { padding: 0 clamp(1.4rem, 5.5vw, 7.5rem) clamp(7rem, 10vw, 12rem); }

.place-intro {
  border-bottom-color: var(--line-strong);
  padding: clamp(9rem, 12vw, 13rem) 0 clamp(6rem, 8vw, 9rem);
}

.place-intro__topline { font-size: .56rem; letter-spacing: .2em; }
.place-intro__main { align-items: start; gap: clamp(3rem, 9vw, 11rem); grid-template-columns: minmax(420px,1fr) minmax(230px,.3fr); margin-top: clamp(3rem,6vw,6.5rem); }
.place-intro h2 { font-size: clamp(5rem, 9.2vw, 10.5rem); letter-spacing: -.08em; line-height: .77; }
.place-intro__lead { font-size: clamp(1.22rem,1.65vw,1.55rem); line-height: 1.58; margin-top: 3.2rem; max-width: 760px; }
.place-facts { border-top-color: var(--line-strong); }
.place-facts > div { padding: 1rem 0; }
.place-facts dt { font-size: .5rem; letter-spacing: .16em; }
.place-facts dd { font-size: .92rem; }
.place-intro__story { margin-top: 4rem; max-width: 760px; }
.place-intro__story p { font-size: 1.08rem; line-height: 1.85; }
.read-more { border: 0; font-size: .57rem; letter-spacing: .17em; margin-top: 1.4rem; padding-bottom: .4rem; position: relative; }
.read-more::after { background: currentColor; bottom: 0; content: ""; height: 1px; left: 0; position: absolute; transition: width .4s var(--ease-out); width: 100%; }
.read-more:hover::after { width: 30%; }
.place-intro__route { bottom: 2.8rem; opacity: .72; }

.gallery-toolbar { border-bottom: 1px solid var(--line); grid-template-columns: 160px minmax(320px,1fr) auto; margin-bottom: clamp(3rem,5vw,6rem); padding: 1.7rem 0; }
.gallery-summary__number { font-size: 2rem; }
.gallery-summary span:last-child { font-size: .5rem; letter-spacing: .13em; }
.filter-label { font-size: .5rem; letter-spacing: .16em; }
.filter-chip { border-color: var(--line); font-size: .54rem; letter-spacing: .13em; min-height: 34px; padding-inline: .85rem; transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out); }
.filter-chip:hover { transform: translateY(-1px); }
.view-toggle { font-size: .52rem; letter-spacing: .14em; }

/* Retícula fotográfica editorial */
.gallery { gap: clamp(3.5rem,7vw,8rem) clamp(1.3rem,2.5vw,3rem); }
.photo-card { grid-column: span 4; }
.photo-card[data-layout="wide"] { grid-column: span 8; }
.photo-card[data-layout="tall"] { grid-column: span 4; }
.photo-card[data-layout="small"] { grid-column: span 4; margin-inline: 13%; }
.photo-card:nth-child(7n + 2) { transform: translateY(clamp(1.5rem,4vw,4.5rem)); }
.photo-card:nth-child(9n + 5)[data-layout="standard"] { grid-column: 2 / span 5; }

.photo-card__button {
  background: #dedbd4;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow .7s var(--ease-out), transform .7s var(--ease-out);
}

.photo-card__button:hover { box-shadow: 0 28px 70px rgba(22,20,16,.16); transform: translateY(-5px); }
.photo-card__media > img { filter: saturate(.93); transition: filter .8s var(--ease-out), transform 1.15s var(--ease-out); }
.photo-card__button:hover .photo-card__media > img { filter: saturate(1.04); transform: scale(1.035); }
.photo-card__overlay { background: linear-gradient(180deg, transparent 45%, rgba(7,7,6,.58)); font-size: .53rem; letter-spacing: .16em; padding: 1.25rem; transition: opacity .45s var(--ease-out); }
.photo-card figcaption { border-top: 1px solid var(--line); gap: .75rem; margin-top: .85rem; padding-top: .75rem; }
.photo-card__number, .photo-card__meta { font-size: .48rem; letter-spacing: .15em; }
.photo-card__title { font-size: .96rem; letter-spacing: -.01em; }

.gallery.is-compact { gap: 1px; }
.gallery.is-compact .photo-card { transform: none; }
.gallery.is-compact .photo-card__button:hover { box-shadow: none; transform: none; }

.chapter-nav { border-color: var(--line-strong); margin-top: clamp(8rem,12vw,15rem); }
.chapter-nav button { min-height: 126px; transition: background .4s var(--ease-out), padding .4s var(--ease-out); }
.chapter-nav button:hover { background: rgba(21,21,19,.035); padding-left: 1rem; padding-right: 1rem; }
.chapter-nav strong { font-size: 1.18rem; }

/* Cierre */
.closing {
  background: #10100f;
  min-height: 100svh;
  padding: clamp(9rem,15vw,16rem) clamp(1.5rem,8vw,10rem) 4rem;
}

.closing::before { border-color: rgba(255,255,255,.09); height: min(68vw,900px); width: min(68vw,900px); }
.closing h2 { font-size: clamp(4rem,9vw,10rem); letter-spacing: -.075em; line-height: .84; }
.closing__copy .eyebrow { color: #c7aa75; }
.closing__skyline { opacity: .09; }
.closing__note { font-size: .49rem; letter-spacing: .18em; }

.site-footer { background: #0b0b0a; border-top: 1px solid rgba(255,255,255,.1); font-size: .5rem; letter-spacing: .18em; min-height: 84px; }
.site-footer button { transition: color .3s; }
.site-footer button:hover { color: #fff; }

/* Lightbox inmersivo */
.lightbox__backdrop { background: rgba(7,7,6,.975); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lightbox__window { grid-template-rows: 68px minmax(0,1fr) auto; }
.lightbox__bar { border-color: rgba(255,255,255,.1); font-size: .52rem; letter-spacing: .18em; }
.lightbox__bar button { align-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: flex; font-family: var(--sans); font-size: 1.25rem; height: 38px; justify-content: center; transition: background .35s, color .35s, transform .35s var(--ease-out); width: 38px; }
.lightbox__bar button:hover { background: #fff; color: #111; transform: rotate(90deg); }
.lightbox__stage { gap: 2rem; grid-template-columns: 58px minmax(0,1fr) 58px; padding: clamp(1rem,3vh,2.5rem) clamp(1rem,3vw,3.5rem); }
.lightbox__media img { box-shadow: 0 35px 100px rgba(0,0,0,.58); max-height: 72vh; }
.lightbox__arrow { border-color: rgba(255,255,255,.25); height: 52px; transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out); width: 52px; }
.lightbox__arrow:hover { border-color: #fff; transform: scale(1.06); }
.lightbox__caption { border-color: rgba(255,255,255,.1); padding-bottom: 2rem; padding-top: 1.7rem; }
.lightbox__caption h2 { font-size: clamp(1.5rem,2.2vw,2.25rem); }
.lightbox__caption > p { font-size: .9rem; line-height: 1.7; }

.help-dialog__backdrop { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.help-dialog__card { border-radius: 2px; box-shadow: 0 40px 110px rgba(0,0,0,.26); }

/* Modo oscuro automático */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ebe7de;
    --ink-soft: #a8a49b;
    --paper: #141412;
    --paper-bright: #1a1917;
    --cream: #2d2b27;
    --red: #cf796b;
    --gold: #c4a873;
    --line: rgba(240,235,224,.12);
    --line-strong: rgba(240,235,224,.28);
    --shadow: 0 30px 80px rgba(0,0,0,.34);
    --shadow-soft: 0 14px 40px rgba(0,0,0,.24);
  }

  body.edition-luxe { background: var(--paper); }
  .site-header { background: rgba(27,26,23,.72); border-color: rgba(255,255,255,.08); }
  .site-header.is-scrolled { background: rgba(27,26,23,.88); border-color: rgba(255,255,255,.1); }
  .site-nav.is-open { background: #211f1c; color: var(--ink); }
  .album-rail { background: rgba(26,25,23,.96); }
  .photo-card__button { background: #2a2926; }
  .index-card:hover, .index-card:focus-visible { color: #151513; }
  .index-card::before { background: #ece7dd; }
  .index-card:hover .index-card__arrow { background: #171715; color: #f5f2eb; }
  .filter-chip:hover, .filter-chip[aria-pressed="true"] { background: #ece7dd; color: #161513; }
  .help-dialog__card { background: #1e1d1a; }
  .button--outline:hover { background: #f4f1e9; color: #151513; }
}

/* Adaptación intermedia */
@media (max-width: 1180px) {
  .cover { grid-template-columns: .82fr 1.18fr; }
  .cover h1 { font-size: clamp(5.5rem,11.5vw,9rem); }
  .album-section { grid-template-columns: 240px minmax(0,1fr); }
  .album-rail { padding-left: 1.5rem; padding-right: 1.5rem; }
  .place-intro__main { grid-template-columns: 1fr; }
  .place-facts { display: grid; grid-template-columns: repeat(3,1fr); }
  .gallery-toolbar { grid-template-columns: 140px 1fr; }
  .view-toggle { grid-column: 2; justify-self: end; }
}

/* Móvil y tableta */
@media (max-width: 760px) {
  body.edition-luxe { background-image: none; }
  .site-header { height: 58px; left: .7rem; padding-inline: .85rem; right: .7rem; top: .7rem; }
  .site-header.is-on-cover:not(.is-scrolled) { background: rgba(13,13,12,.35); }
  .site-nav.is-open { border: 1px solid var(--line); border-radius: 16px; right: 0; top: 66px; }
  .brand__mark { height: 30px; width: 30px; }

  .cover { min-height: 100svh; padding: 96px 1.15rem 65px; }
  .cover::after { left: 1.15rem; right: 1.15rem; top: 80px; }
  .cover__edition { left: 1.15rem; right: 1.15rem; top: 83px; }
  .cover h1 { font-size: clamp(5.3rem,27vw,8.2rem); margin: 3.3rem 0 2.6rem; }
  .cover__intro { font-size: 1rem; max-width: 94%; }
  .cover__actions { align-items: flex-start; flex-direction: column; gap: 1.3rem; }
  .cover__collage { height: 430px; margin-top: 4rem; }
  .cover-card--one { height: 70%; left: 0; width: 58%; }
  .cover-card--two { height: 54%; right: 0; width: 50%; }
  .cover-card--three { height: 45%; right: 4%; width: 57%; }
  .cover-stamp { height: 72px; width: 72px; }
  .cover-stamp span { font-size: 1.15rem; }
  .cover__scroll { display: none; }

  .index-section { padding: 7rem 1.15rem; }
  .section-heading { margin-bottom: 5rem; }
  .section-heading h2 { font-size: clamp(3.6rem,16vw,5.5rem); }
  .section-heading > p { margin-top: 2.5rem; }
  .index-card { gap: .6rem 1rem; grid-template-columns: 28px 1fr 38px; min-height: 134px; padding: 1.5rem 0; }
  .index-card:hover, .index-card:focus-visible { padding-left: .7rem; padding-right: .7rem; }
  .index-card__title { font-size: 1.7rem; }

  .album-rail { background: color-mix(in srgb, var(--paper-bright) 91%, transparent); padding: .5rem 1.15rem 0; top: 69px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .place-tab { min-height: 54px; }
  .album-content { padding: 0 1.15rem 5rem; }
  .place-intro { padding: 6rem 0 5rem; }
  .place-intro h2 { font-size: clamp(4.3rem,21vw,7.2rem); }
  .place-intro__lead { margin-top: 2.5rem; }
  .place-facts { display: block; }
  .gallery-toolbar { margin-bottom: 3.5rem; }
  .gallery { gap: 4rem .7rem; }
  .photo-card, .photo-card[data-layout], .photo-card[data-layout="wide"] { grid-column: span 12; transform: none; }
  .photo-card[data-layout="small"] { margin-inline: 8%; }
  .photo-card__button:hover { transform: none; }
  .gallery.is-compact { gap: 1px; }
  .chapter-nav { margin-top: 8rem; }
  .chapter-nav button { min-height: 105px; }
  .closing { min-height: 88svh; padding-top: 9rem; }
  .closing h2 { font-size: clamp(3.8rem,18vw,6rem); }
  .lightbox__window { grid-template-rows: 58px minmax(0,1fr) auto; }
  .lightbox__stage { padding: .65rem; }
  .lightbox__arrow { height: 46px; width: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover__scroll i::after { animation: none; }
  .cover-card, .cover-card > img, .photo-card, .photo-card__button { transform: none !important; }
}
