/* ================================================================
   Destination page — generalized from nha-trang.css.
   Data-driven: used by category-public.ejs for every category.
   Scoped to .dst so it never overrides the shared nav/footer palette
   (those keep --ink / --cream / --ochre from landing.css).
   ================================================================ */

.dst {
  /* Ocean → shore palette */
  --dst-deep:    #08415C;
  --dst-blue:    #1C6E8C;
  --dst-teal:    #2FB6AE;
  --dst-aqua:    #6FD7CE;
  --dst-sand:    #E7C169;
  --dst-sun:     #EF7B45;
  --dst-shell:   #FBF6EE;
  --dst-shell-2: #F3ECE0;
  --dst-ink:     #123642;
  --dst-muted:   #5C7680;
  --dst-line:    rgba(18, 54, 66, 0.12);

  --dst-shadow:  0 18px 40px -22px rgba(8, 65, 92, 0.55);
  --dst-radius:  14px;

  background: var(--dst-shell);
  color: var(--dst-ink);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  overflow-x: hidden;
}

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

.dst-display {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
}

/* Reusable photo container with a designed CSS fallback (ocean gradient).
   Shows even before a real photo exists; the <img> covers it once loaded,
   and hides itself on error so the fallback stays visible. */
.dst-photo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 12%, rgba(111, 215, 206, 0.55), transparent 55%),
    radial-gradient(140% 120% at 12% 105%, rgba(239, 123, 69, 0.28), transparent 50%),
    linear-gradient(155deg, var(--dst-blue) 0%, var(--dst-deep) 62%, #05303f 100%);
}
.dst-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 9px),
    radial-gradient(60% 40% at 30% 25%, rgba(255, 255, 255, 0.14), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}
.dst-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* =========================== HERO =========================== */
.dst-hero {
  margin-top: 68px; /* clear the fixed nav */
  position: relative;
  min-height: min(84vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  isolation: isolate;
}
.dst-hero .dst-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.dst-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Layered scrim for text legibility on any photo:
     1) left-side deep-sea tint behind the text block (reading anchor)
     2) bottom-up dark gradient (deep ink/ocean), ~65% at the base fading out ~60% up.
     No purple — deep-sea tones only. */
  background:
    linear-gradient(
      105deg,
      rgba(5, 40, 54, 0.62) 0%,
      rgba(5, 40, 54, 0.30) 34%,
      rgba(5, 40, 54, 0) 62%
    ),
    linear-gradient(
      to top,
      rgba(4, 32, 43, 0.88) 0%,
      rgba(5, 40, 54, 0.65) 22%,
      rgba(8, 65, 92, 0.20) 60%,
      rgba(8, 65, 92, 0) 100%
    );
}
.dst-hero-inner { max-width: 780px; }
.dst-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dst-aqua);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: dst-fade 0.7s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dst-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--dst-aqua);
}
.dst-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0;
  animation: dst-fade 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dst-breadcrumb a {
  color: rgba(248, 243, 234, 0.68);
  text-decoration: none;
  transition: color 0.2s;
}
.dst-breadcrumb a:hover { color: #F8F3EA; }
.dst-breadcrumb-sep { color: rgba(248, 243, 234, 0.35); }
.dst-breadcrumb-current { color: #F8F3EA; }
.dst-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  margin: 0 0 1.3rem;
}
.dst-hero-title .dst-line { display: block; overflow: hidden; }
.dst-hero-title .dst-line > span {
  display: block;
  transform: translateY(105%);
  animation: dst-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dst-hero-title .dst-line:nth-child(1) > span { animation-delay: 0.28s; }
.dst-hero-title .dst-line:nth-child(2) > span { animation-delay: 0.4s; }
.dst-hero-title em { font-style: italic; color: var(--dst-sand); }
.dst-hero-sub {
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 2rem;
  opacity: 0;
  animation: dst-fade 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  opacity: 0;
  animation: dst-fade 0.8s 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dst-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  background: var(--dst-sun);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(239, 123, 69, 0.7);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s, background 0.25s;
}
.dst-cta:hover {
  transform: translateY(-3px);
  background: #f2884f;
  box-shadow: 0 20px 38px -12px rgba(239, 123, 69, 0.75);
}
.dst-cta svg { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.dst-cta:hover svg { transform: translateX(4px); }
.dst-cta:focus-visible,
.dst-textlink:focus-visible {
  outline: 3px solid var(--dst-aqua);
  outline-offset: 3px;
}
.dst-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.dst-textlink:hover { color: var(--dst-sand); border-color: var(--dst-sand); }

.dst-hero-meta {
  position: absolute;
  top: clamp(2rem, 5vw, 3.5rem);
  right: clamp(1.5rem, 7vw, 6.5rem);
  text-align: right;
  color: #fff;
  opacity: 0;
  animation: dst-fade 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dst-hero-meta .dst-days {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.dst-hero-meta .dst-days-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dst-aqua);
  margin-top: 0.4rem;
}

/* ===================== MAIN TWO-COLUMN ===================== */
.dst-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.5rem, 6vw, 5rem) clamp(4.5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.dst-section-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dst-blue);
  margin-bottom: 0.85rem;
}
.dst-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--dst-ink);
  margin: 0 0 2.2rem;
  text-wrap: balance;
}

/* ---- Left: itinerary timeline ---- */
.dst-day {
  position: relative;
  padding: 0 2.6rem 2.4rem 2.6rem;
  border-left: 2px solid var(--dst-line);
}
.dst-day:last-child { border-left-color: transparent; padding-bottom: 0; }
.dst-day-marker {
  position: absolute;
  left: -19px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dst-shell);
  border: 2px solid var(--dst-teal);
  color: var(--dst-blue);
  box-shadow: 0 0 0 5px var(--dst-shell);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.dst-day-head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.35rem;
}
.dst-day-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dst-sun);
}
.dst-day-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--dst-ink);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
.dst-day-desc {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--dst-muted);
  margin: 0;
  white-space: pre-line;
}
/* Structured description (paragraphs + bullets from PDF import) */
.dst-day-desc p { margin: 0 0 0.75rem; }
.dst-day-desc > :last-child { margin-bottom: 0; }
.dst-day-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
}
.dst-day-list li { margin-bottom: 0.35rem; }
.dst-day-list li::marker { color: var(--dst-teal); }
.dst-day-time-header {
  margin: 0.9rem 0 0.4rem !important;
}
.dst-day-time-header:first-child { margin-top: 0 !important; }
.dst-day-time-header strong {
  color: var(--dst-blue);
  font-weight: 600;
}

/* ---- Day row: this day's own text + its own photo, side by side ---- */
.dst-day-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.dst-day-text { flex: 1 1 auto; min-width: 0; }

/* ---- Right column: every photo for this day, uniform size, stacked ---- */
.dst-day-photos {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  flex: 0 0 auto;
  margin-left: auto;
}

/* ---- Per-day photo card (polaroid-consistent) — all photos in a day share the same size ---- */
.dst-day-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 360px;
  background: #fff;
  padding: 10px 10px 0;
  border-radius: 5px;
  box-shadow: var(--dst-shadow);
  transform: rotate(-1.2deg);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s;
  will-change: transform;
}
.dst-day-photos .dst-day-photo:nth-child(even) { transform: rotate(1.4deg); }
.dst-day-photo::after {
  content: "";
  display: block;
  height: 8px;
}
.dst-day-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
}
.dst-day-photo:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 24px 48px -22px rgba(8, 65, 92, 0.6);
}

@media (max-width: 640px) {
  .dst-day-row { flex-direction: column; }
  .dst-day-text { flex: 1 1 auto; }
  .dst-day-photos { flex: 1 1 auto; flex-direction: row; flex-wrap: wrap; margin-left: 0; }
  .dst-day-photo,
  .dst-day-photos .dst-day-photo:nth-child(even) { transform: rotate(0deg); width: 100%; max-width: 220px; }
  .dst-day { padding: 0 0 2.4rem 2.6rem; }
}

/* ---- Right: staggered polaroid gallery ---- */
.dst-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.7rem);
}
.dst-card {
  background: #fff;
  padding: 12px 12px 0;
  border-radius: 6px;
  box-shadow: var(--dst-shadow);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s;
  will-change: transform;
}
.dst-card:nth-child(6n+1) { transform: rotate(-1.6deg); }
.dst-card:nth-child(6n+2) { transform: rotate(1.2deg); margin-top: 2.2rem; }
.dst-card:nth-child(6n+3) { transform: rotate(1.4deg); }
.dst-card:nth-child(6n+4) { transform: rotate(-1.1deg); margin-top: -0.8rem; }
.dst-card:nth-child(6n+5) { transform: rotate(-1.3deg); margin-top: 1.6rem; }
.dst-card:nth-child(6n+6) { transform: rotate(1.5deg); }
.dst-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 28px 55px -24px rgba(8, 65, 92, 0.6);
  z-index: 2;
}
.dst-card .dst-photo {
  border-radius: 3px;
  aspect-ratio: 4 / 5;
}
.dst-card:nth-child(6n+2) .dst-photo,
.dst-card:nth-child(6n+5) .dst-photo { aspect-ratio: 1 / 1; }
.dst-card-caption { padding: 0.85rem 0.4rem 0.9rem; }
.dst-card-caption h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dst-ink);
  margin: 0 0 0.25rem;
}
.dst-card-caption p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--dst-muted);
  margin: 0;
}

/* Tour card variant: clickable polaroid */
.dst-card--tour { cursor: pointer; }
.dst-card--tour:focus-visible { outline: 2px solid var(--dst-blue); outline-offset: 4px; }

/* ===================== GALLERY-ONLY LAYOUT ===================== */
/* When a category has no itinerary yet: full-width picturesque wall. */
.dst-picturesque {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.5rem, 6vw, 5rem) clamp(4.5rem, 8vw, 7rem);
}
.dst-picturesque .dst-section-head { margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.dst-gallery--full {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 780px) {
  .dst-gallery--full { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== EMPTY STATE ===================== */
.dst-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--dst-muted);
}
.dst-empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.dst-empty p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.dst-empty span { font-size: 0.85rem; opacity: 0.7; }

/* ===================== TOPIC TABS ===================== */
.dst-topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.dst-topic-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid var(--dst-line);
  border-radius: 999px;
  background: var(--dst-shell-2);
  color: var(--dst-muted);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.dst-topic-tab:hover {
  background: #fff;
  color: var(--dst-ink);
  border-color: var(--dst-teal);
}
.dst-topic-tab:focus-visible {
  outline: 3px solid var(--dst-teal);
  outline-offset: 2px;
}
.dst-topic-tab.is-active,
.dst-topic-tab[aria-selected="true"] {
  background: var(--dst-deep);
  color: #fff;
  border-color: var(--dst-deep);
  box-shadow: 0 4px 14px rgba(8, 65, 92, 0.35);
}
.dst-topic-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}
.dst-topic-tab.is-active .dst-topic-count,
.dst-topic-tab[aria-selected="true"] .dst-topic-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
/* Panel carries the section's bottom spacing while the tours section
   is hidden (the topics section itself has padding-bottom: 0). */
.dst-topic-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}
.dst-topic-panel[hidden] { display: none; }
.dst-topic-panel .dst-gallery {
  animation: dst-fade 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Topic cards read like travel-journal polaroids: sentence-case
   italic captions, unlike the uppercase product names on tour cards. */
.dst-card--topic .dst-card-caption p {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--dst-ink);
}

@media (max-width: 560px) {
  .dst-topic-tabs { gap: 0.35rem; }
  .dst-topic-tab { padding: 0.55rem 1rem; font-size: 0.85rem; }
}

/* Topics section sits tight above the tours/panel content */
.dst-picturesque--topics {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 0;
}
.dst-picturesque--topics .dst-section-head { margin-bottom: 0; }
.dst-picturesque--tours {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  scroll-margin-top: 84px; /* clear the fixed nav when scrolled into view */
}

/* ---- Tour card affordances: duration chip + action hint ---- */
.dst-card-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(4, 32, 43, 0.72);
  color: #fff;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}
.dst-card-caption .dst-card-hint {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dst-blue);
  transition: color 0.25s;
}
.dst-card--tour:hover .dst-card-hint,
.dst-card--tour:focus-visible .dst-card-hint { color: var(--dst-sun); }

/* ---- Skeleton polaroids while tours load ---- */
.dst-card--skeleton { pointer-events: none; }
.dst-card--skeleton .dst-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: dst-shimmer 1.4s infinite;
}
@keyframes dst-shimmer {
  to { transform: translateX(100%); }
}

/* ---- Back to tour list ---- */
.dst-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--dst-line);
  border-radius: 999px;
  background: #fff;
  color: var(--dst-blue);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.dst-back:hover {
  border-color: var(--dst-teal);
  color: var(--dst-ink);
  transform: translateX(-2px);
}
.dst-back:focus-visible {
  outline: 3px solid var(--dst-teal);
  outline-offset: 2px;
}

/* ---- PDF itinerary detail button ---- */
.dst-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--dst-teal);
  border-radius: 999px;
  background: var(--dst-teal);
  color: #fff;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.dst-pdf-btn:hover {
  background: #0d6b7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 107, 122, 0.3);
}
.dst-pdf-btn:focus-visible {
  outline: 3px solid var(--dst-teal);
  outline-offset: 2px;
}
.dst-pdf-btn svg { flex-shrink: 0; }

/* ===================== CLOSING STRIP ===================== */
.dst-closing {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 7vw, 6.5rem);
  text-align: center;
  color: #fff;
}
.dst-closing .dst-photo { position: absolute; inset: 0; z-index: -1; }
.dst-closing::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(8, 65, 92, 0.9), rgba(47, 182, 174, 0.72));
}
.dst-closing h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 auto 1rem;
  max-width: 18ch;
}
.dst-closing p {
  max-width: 52ch;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

/* ===================== SCROLL REVEAL ===================== */
.dst .reveal-delay-7 { transition-delay: 0.9s; }
.dst .reveal-delay-8 { transition-delay: 1.05s; }

/* ===================== ANIMATIONS ===================== */
@keyframes dst-fade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dst-rise {
  to { transform: translateY(0); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 940px) {
  .dst-main { grid-template-columns: 1fr; }
  .dst-hero-meta { position: static; text-align: left; margin-bottom: 1.6rem; }
  .dst-hero { flex-direction: column; align-items: flex-start; }
  .dst-hero-inner { margin-top: auto; }
}
@media (max-width: 560px) {
  .dst-gallery { grid-template-columns: 1fr; }
  .dst-gallery--full { grid-template-columns: 1fr; }
  .dst-card,
  .dst-card:nth-child(n) { transform: rotate(0deg); margin-top: 0; }
  .dst-card .dst-photo,
  .dst-card:nth-child(n) .dst-photo { aspect-ratio: 4 / 3; }
  .dst-hero { min-height: 78vh; }
}

/* ===================== A11Y — reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  .dst *,
  .dst *::before,
  .dst *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .dst-hero-title .dst-line > span { transform: none; }
}
