/* Editorial city guide pages (cities/<city>.json "pageStyle": "editorial") —
 * the magazine layout from the staff Lampang mock (lampang-final.html,
 * 2026-10-28), approved by the owner the same day: full-screen photo hero,
 * the staff template's type and colours since 2026-11 (the block at the end of this file). Markup:
 * tools/destination-builder/editorial-render.js (every class it writes needs
 * a rule here or in a stylesheet the page already loads — the builder test
 * fails otherwise). Behaviour: /assets/destination-editorial.js.
 *
 * Linked only by Editorial pages, AFTER tailwind.css, destination-page.css
 * and the template's inline <style>, so these rules win by source order.
 * Everything is namespaced ds-* (the mock's spec contract: data-kind,
 * data-layout, data-bg, data-size); the site header and footer are the
 * shared chrome and are not restyled here.
 *
 * Cached a year: after editing, bump ?v= in editorial-render.js CSS_HREF,
 * then republish the pages (or re-run scripts/migrate-city-editorial.js).
 */

/* ---------- tokens ---------- */
.ds-body {
  --ds-ink: #0c0f0d;
  --ds-ink-2: #141815;
  --ds-cream: #f4efe4;
  --ds-clay: #bf4b26;
  --ds-clay-deep: #8f3418;
  --ds-gold: #c9a227;
  --ds-cool: #2c6a88;
  --ds-line: rgba(12, 15, 13, 0.14);
  --ds-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ds-pad: clamp(20px, 5vw, 88px);
  --ds-maxw: 1440px;
  --ds-header: 76px; /* the sticky site header */
  --ds-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #fff;
  color: var(--ds-ink);
  -webkit-font-smoothing: antialiased;
}
/* Sliders bleed to the content edge; the page itself never scrolls sideways. */
.ds-body main { overflow-x: clip; }
/* The mock's paper grain: a fixed, click-through overlay, barely there. */
.ds-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
.ds-body ::selection { background: var(--ds-clay); color: var(--ds-cream); }

/* Reading progress (width set by destination-editorial.js). */
.ds-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--ds-clay), var(--ds-gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- hero: full-screen photo ---------- */
.ds-hero {
  position: relative;
  min-height: calc(100vh - var(--ds-header));
  min-height: calc(100svh - var(--ds-header));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ds-cream);
  overflow: hidden;
  background: var(--ds-ink);
}
.ds-hero__media { position: absolute; inset: 0; }
.ds-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  animation: ds-kenburns 22s ease-out forwards;
}
@keyframes ds-kenburns { to { transform: scale(1); } }
.ds-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 15, 13, 0.55) 0%, rgba(12, 15, 13, 0.1) 32%, rgba(12, 15, 13, 0.34) 62%, rgba(12, 15, 13, 0.92) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(191, 75, 38, 0.26), transparent 60%);
}
.ds-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--ds-maxw);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) var(--ds-pad) clamp(44px, 5.5vw, 64px);
}
.ds-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 30px;
  flex-wrap: wrap;
  padding-bottom: clamp(16px, 3vw, 30px);
  margin-bottom: clamp(12px, 2vw, 20px);
  border-bottom: 1px solid rgba(244, 239, 228, 0.2);
}
.ds-hero__crumb,
.ds-hero__coords {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.66);
}
.ds-hero__crumb a { color: inherit; text-decoration: none; }
.ds-hero__crumb a:hover { color: var(--ds-cream); text-decoration: underline; text-underline-offset: 3px; }
.ds-hero__crumb span[aria-hidden] { opacity: 0.45; margin: 0 8px; }
.ds-hero__crumb span[aria-current] { color: var(--ds-cream); }
.ds-hero__title { margin: 0; font-weight: 300; }
.ds-hero__name {
  display: block;
  margin: 0;
  font-family: var(--ds-serif);
  font-weight: 300;
  font-size: clamp(60px, 16vw, 228px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  padding-bottom: 0.13em; /* the descenders (p, g) hang below a 0.82 line */
}
.ds-hero__name--long { font-size: clamp(44px, 10vw, 150px); line-height: 0.9; }
.ds-hero__tag {
  display: block;
  max-width: 62ch;
  margin-top: clamp(14px, 2vw, 22px);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.8);
}
.ds-hero__sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 40px;
  flex-wrap: wrap;
  margin-top: clamp(18px, 3vw, 34px);
}
.ds-hero__copy { max-width: 54ch; }
.ds-hero__lead {
  margin: 0;
  font-family: var(--ds-serif);
  font-weight: 300;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.45;
  color: rgba(244, 239, 228, 0.9);
}
.ds-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 2.4vw, 28px); }
.ds-hero__meta { display: flex; flex-wrap: wrap; gap: 16px clamp(18px, 3.4vw, 54px); margin: 0; }
.ds-hero__meta div { border-left: 1px solid rgba(244, 239, 228, 0.22); padding-left: 14px; }
.ds-hero__meta dt { margin-bottom: 5px; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; }
.ds-hero__meta dd { margin: 0; font-family: var(--ds-serif); font-size: clamp(20px, 2.2vw, 30px); line-height: 1; }
.ds-hero__cue {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.55;
}
.ds-hero__cue i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--ds-cream), transparent);
  animation: ds-cue 2.2s infinite;
}
@keyframes ds-cue { 0% { opacity: 0; transform: scaleY(0.2); } 40% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

/* Hero buttons (the trip-list button is wired by the page script). */
.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ds-ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ds-btn:hover { transform: translateY(-2px); }
.ds-btn--solid { background: var(--ds-cream); color: var(--ds-ink); }
.ds-btn--solid:hover { background: var(--ds-gold); }
.ds-btn--ghost { background: transparent; color: var(--ds-cream); border-color: rgba(244, 239, 228, 0.36); }
.ds-btn--ghost:hover { background: rgba(244, 239, 228, 0.1); border-color: rgba(244, 239, 228, 0.6); }

/* ---------- sections + backgrounds ---------- */
.ds-section { position: relative; background: linear-gradient(180deg, #ffffff 0%, #fdfaf4 58%, #ffffff 100%); }
.ds-section[data-bg="bright"] {
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(201, 162, 39, 0.18), transparent 62%),
    radial-gradient(80% 65% at 92% 100%, rgba(138, 160, 127, 0.2), transparent 62%),
    linear-gradient(180deg, #fffdf8 0%, #fbf6ea 55%, #f7faf5 100%);
}
.ds-section[data-bg="warm"] {
  background:
    radial-gradient(80% 70% at 14% 0%, rgba(255, 213, 148, 0.58), transparent 62%),
    radial-gradient(70% 60% at 88% 92%, rgba(252, 176, 148, 0.44), transparent 62%),
    linear-gradient(180deg, #fffbf3 0%, #fdeddb 52%, #fbe2d4 100%);
}
.ds-section[data-bg="cool"] {
  background:
    radial-gradient(80% 70% at 86% 0%, rgba(158, 199, 236, 0.44), transparent 62%),
    radial-gradient(70% 60% at 12% 95%, rgba(174, 213, 205, 0.4), transparent 62%),
    linear-gradient(180deg, #fcfdff 0%, #eff5fb 52%, #e7f1f2 100%);
}
/* A hairline where a tinted band hands over to a plain one (the mock's rule). */
.ds-section[data-bg="bright"] + .ds-section[data-bg="plain"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--ds-pad);
  right: var(--ds-pad);
  height: 1px;
  background: var(--ds-line);
}
.ds-inner { max-width: var(--ds-maxw); margin: 0 auto; padding: clamp(60px, 9vw, 132px) var(--ds-pad); }
/* The numbers band sits close under the section before it. */
.ds-section + .ds-section[data-kind="stats"] .ds-inner { padding-top: 0; }

.ds-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  padding-bottom: clamp(24px, 3.4vw, 44px);
}
.ds-head__text { min-width: 0; }
.ds-head h2 {
  margin: 10px 0 0;
  max-width: 18ch;
  font-family: var(--ds-serif);
  font-weight: 300;
  font-size: clamp(32px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ds-ink);
  text-wrap: balance;
}
.ds-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ds-clay);
}
.ds-sub { margin: 18px 0 0; max-width: 60ch; font-size: 15px; line-height: 1.72; color: rgba(12, 15, 13, 0.66); }
.ds-head__side { display: grid; justify-items: end; gap: 14px; }
.ds-head__note {
  margin: 0;
  padding-bottom: 6px;
  font-family: var(--ds-serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ds-clay);
  white-space: nowrap;
}
.ds-after { max-width: 60ch; margin: clamp(26px, 4vw, 44px) 0 0; font-size: 15px; line-height: 1.74; color: rgba(12, 15, 13, 0.72); }
.ds-section[data-bg="cool"] .ds-eyebrow,
.ds-section[data-bg="cool"] .ds-head__note { color: var(--ds-cool); }

/* ---------- intro ---------- */
.ds-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}
.ds-intro__main { min-width: 0; }
.ds-lede {
  margin: 22px 0 0;
  max-width: 26ch;
  font-family: var(--ds-serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.32;
  letter-spacing: -0.015em;
}
.ds-lede:first-child { margin-top: 0; }
.ds-lede b { font-weight: 500; font-style: italic; color: var(--ds-clay-deep); }
.ds-intro__side { padding-top: 10px; border-top: 1px solid var(--ds-line); }
.ds-intro__side p:not(.ds-eyebrow) { margin: 14px 0 0; max-width: 34ch; font-size: 14.5px; line-height: 1.72; color: rgba(12, 15, 13, 0.66); }
.ds-intro__side p.ds-intro__note { margin-top: 20px; font-size: 12.5px; letter-spacing: 0.02em; color: rgba(12, 15, 13, 0.6); }

/* ---------- keyword strip ---------- */
.ds-marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
  background: var(--ds-ink);
  color: var(--ds-cream);
}
.ds-marquee__track { display: flex; width: max-content; animation: ds-slide 34s linear infinite; }
.ds-marquee:hover .ds-marquee__track { animation-play-state: paused; }
.ds-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 0 clamp(18px, 2.4vw, 34px);
  font-family: var(--ds-serif);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 300;
  white-space: nowrap;
  opacity: 0.92;
}
.ds-marquee__track span::after { content: "\2733"; font-size: 0.5em; color: var(--ds-gold); opacity: 0.9; }
@keyframes ds-slide { to { transform: translateX(-50%); } }

/* ---------- highlights ---------- */
.ds-hl {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: start;
}
.ds-hl__aside { position: sticky; top: calc(var(--ds-header) + 28px); }
.ds-hl__aside h2 {
  margin: 12px 0 0;
  font-family: var(--ds-serif);
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.ds-hl__note { margin: 20px 0 0; max-width: 32ch; font-size: 14px; line-height: 1.72; color: rgba(12, 15, 13, 0.6); }
.ds-hl__list { display: grid; margin: 0; padding: 0; list-style: none; }
.ds-hl__item {
  display: grid;
  grid-template-columns: clamp(38px, 4vw, 56px) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid var(--ds-line);
  transition: padding-left 0.45s var(--ds-ease), background 0.45s ease;
}
.ds-hl__item:last-child { border-bottom: 1px solid var(--ds-line); }
.ds-hl__item:hover { padding-left: 10px; background: rgba(255, 255, 255, 0.5); }
.ds-hl__num { padding-top: 6px; font-family: var(--ds-serif); font-size: 13px; letter-spacing: 0.16em; color: var(--ds-clay); }
.ds-hl__item h3 { margin: 0 0 8px; font-family: var(--ds-serif); font-weight: 400; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.14; letter-spacing: -0.02em; }
.ds-hl__item p { margin: 0; max-width: 54ch; font-size: 14px; line-height: 1.72; color: rgba(12, 15, 13, 0.66); }

/* ---------- cards: shared ---------- */
.ds-grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.ds-card { position: relative; min-width: 0; margin: 0; }
.ds-card__media { position: relative; overflow: hidden; border-radius: 2px; background: var(--ds-ink-2); }
.ds-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ds-ease), opacity 0.5s ease, filter 0.6s ease; }
.ds-card:hover .ds-card__media img { transform: scale(1.05); }
/* No photo yet: a quiet block instead of a broken image. */
.ds-card__media--empty { background: linear-gradient(135deg, #1d2420 0%, #0c0f0d 100%); }
.ds-card__body h3 { margin: 0; font-family: var(--ds-serif); }
.ds-card__tag,
.ds-card__text { margin: 0; }

/* rail: portrait photos that slide sideways (drag, arrows, swipe) */
.ds-rail-nav { display: flex; gap: 8px; justify-content: flex-end; }
.ds-rail-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ds-line);
  border-radius: 50%;
  background: transparent;
  color: var(--ds-ink);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.ds-rail-btn:hover { background: var(--ds-ink); color: var(--ds-cream); transform: translateY(-2px); }
.ds-rail-btn svg { width: 15px; height: 15px; }
.ds-section[data-layout="rail"] .ds-grid {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(var(--ds-pad) * -1);
  padding: 4px var(--ds-pad) 20px;
  scroll-padding-left: var(--ds-pad);
  cursor: grab;
}
.ds-section[data-layout="rail"] .ds-grid::-webkit-scrollbar { display: none; }
.ds-section[data-layout="rail"] .ds-grid.is-drag { cursor: grabbing; scroll-snap-type: none; }
.ds-section[data-layout="rail"] .ds-card {
  flex: 0 0 clamp(240px, 27vw, 360px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ds-ink);
  scroll-snap-align: start;
}
.ds-section[data-layout="rail"] .ds-card__media { position: absolute; inset: 0; border-radius: 0; }
.ds-section[data-layout="rail"] .ds-card__media img { opacity: 0.92; }
.ds-section[data-layout="rail"] .ds-card:hover .ds-card__media img { transform: scale(1.06); opacity: 1; }
.ds-section[data-layout="rail"] .ds-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(12, 15, 13, 0.86) 100%);
}
.ds-section[data-layout="rail"] .ds-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: var(--ds-cream); }
.ds-section[data-layout="rail"] .ds-card__tag { margin-bottom: 8px; font-family: var(--ds-serif); font-size: 11px; letter-spacing: 0.2em; opacity: 0.62; }
.ds-section[data-layout="rail"] .ds-card__body h3 { margin: 0 0 8px; font-weight: 300; font-size: clamp(21px, 2.2vw, 29px); line-height: 1.1; letter-spacing: -0.02em; }
.ds-section[data-layout="rail"] .ds-card__text { font-size: 12.5px; line-height: 1.6; color: rgba(244, 239, 228, 0.78); }

/* bento: a 12-column mosaic; card.size picks the span */
.ds-section[data-layout="bento"] .ds-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(12px, 1.5vw, 20px);
}
.ds-section[data-layout="bento"] .ds-card {
  grid-column: span 4;
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 24vw, 300px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 2px;
  background: var(--ds-ink-2);
}
.ds-section[data-layout="bento"] .ds-card[data-size="wide"] { grid-column: span 6; min-height: clamp(260px, 32vw, 420px); }
.ds-section[data-layout="bento"] .ds-card[data-size="tall"] { grid-row: span 2; }
.ds-section[data-layout="bento"] .ds-card[data-size="hero"] { grid-column: span 7; grid-row: span 2; min-height: clamp(420px, 52vw, 620px); }
/* Beside a hero card (7 of 12 columns) the next one or two normal/tall cards fill the other 5. */
.ds-section[data-layout="bento"] .ds-card[data-size="hero"] + .ds-card:not([data-size="hero"]):not([data-size="wide"]),
.ds-section[data-layout="bento"] .ds-card[data-size="hero"] + .ds-card:not([data-size="hero"]):not([data-size="wide"]) + .ds-card:not([data-size="hero"]):not([data-size="wide"]) { grid-column: span 5; }
.ds-section[data-layout="bento"] .ds-card__media { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.ds-section[data-layout="bento"] .ds-card__media img { filter: saturate(0.94); transition: transform 1.2s var(--ds-ease), filter 0.6s ease; }
.ds-section[data-layout="bento"] .ds-card:hover .ds-card__media img { transform: scale(1.055); filter: saturate(1.05); }
.ds-section[data-layout="bento"] .ds-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 15, 13, 0.06) 30%, rgba(12, 15, 13, 0.88) 100%);
}
.ds-section[data-layout="bento"] .ds-card__body { position: relative; width: 100%; padding: clamp(18px, 2vw, 30px); color: var(--ds-cream); }
.ds-section[data-layout="bento"] .ds-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 239, 228, 0.34);
  border-radius: 100px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.86);
}
.ds-section[data-layout="bento"] .ds-card__body h3 { margin: 0 0 8px; font-weight: 300; font-size: clamp(21px, 2.3vw, 31px); line-height: 1.08; letter-spacing: -0.02em; }
.ds-section[data-layout="bento"] .ds-card__text { max-width: 44ch; font-size: 13px; line-height: 1.66; color: rgba(244, 239, 228, 0.8); }

/* Over-the-photo text on the slider and the mosaic: shown on hover where
 * there is one (the mock); always shown on touch screens. */
@media (hover: hover) {
  .ds-section[data-layout="rail"] .ds-card__text,
  .ds-section[data-layout="bento"] .ds-card__text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.55s var(--ds-ease), opacity 0.45s ease, margin 0.4s ease;
  }
  .ds-section[data-layout="rail"] .ds-card:hover .ds-card__text,
  .ds-section[data-layout="rail"] .ds-card:focus-within .ds-card__text,
  .ds-section[data-layout="bento"] .ds-card:hover .ds-card__text,
  .ds-section[data-layout="bento"] .ds-card:focus-within .ds-card__text { max-height: 16em; opacity: 1; }
  .ds-section[data-layout="rail"] .ds-card:hover .ds-card__text,
  .ds-section[data-layout="rail"] .ds-card:focus-within .ds-card__text { margin-top: 4px; }
}
.ds-card:focus-visible { outline: 2px solid var(--ds-gold); outline-offset: 3px; }

/* Touch screens show that text all the time: a darker veil keeps it readable,
 * and a slider card grows with a long description instead of cutting it. */
@media (hover: none) {
  .ds-section[data-layout="rail"] .ds-card__media::after,
  .ds-section[data-layout="bento"] .ds-card__media::after {
    background: linear-gradient(180deg, rgba(12, 15, 13, 0.12) 0%, rgba(12, 15, 13, 0.55) 38%, rgba(12, 15, 13, 0.9) 100%);
  }
  .ds-section[data-layout="rail"] .ds-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: auto;
    min-height: calc(clamp(240px, 27vw, 360px) * 4 / 3);
  }
  .ds-section[data-layout="rail"] .ds-card__body { position: relative; }
}

/* poster: tall photos with the title on the photo */
.ds-section[data-layout="poster"] .ds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-section[data-layout="poster"] .ds-grid[data-cols="1"] { grid-template-columns: minmax(0, 560px); }
.ds-section[data-layout="poster"] .ds-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-section[data-layout="poster"] .ds-card { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--ds-ink-2); }
.ds-section[data-layout="poster"] .ds-card__media { position: absolute; inset: 0; border-radius: 0; }
.ds-section[data-layout="poster"] .ds-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  align-items: end;
  padding: 72px clamp(16px, 2vw, 26px) clamp(16px, 2vw, 26px);
  background: linear-gradient(rgba(12, 15, 13, 0), rgba(12, 15, 13, 0.9) 58%);
  color: var(--ds-cream);
}
.ds-section[data-layout="poster"] .ds-card__body h3 { grid-column: 1; grid-row: 1; margin: 0; font-weight: 300; font-size: clamp(19px, 2.1vw, 27px); line-height: 1.1; letter-spacing: -0.02em; }
.ds-section[data-layout="poster"] .ds-card__tag { grid-column: 2; grid-row: 1; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ds-gold); white-space: nowrap; }
.ds-section[data-layout="poster"] .ds-card__text { grid-column: 1 / -1; max-width: 52ch; margin-top: 10px; font-size: 13px; line-height: 1.6; color: rgba(244, 239, 228, 0.8); }
/* Three posters in a row leave no room beside the title: the badges go above it. */
.ds-section[data-layout="poster"] .ds-grid[data-cols="3"] .ds-card__tag { grid-column: 1 / -1; margin-bottom: 8px; white-space: normal; }
.ds-section[data-layout="poster"] .ds-grid[data-cols="3"] .ds-card__body h3 { grid-row: 2; }

/* split: a big photo beside the text, with label|text points */
.ds-section[data-layout="split"] .ds-grid { gap: clamp(48px, 7vw, 110px); }
.ds-section[data-layout="split"] .ds-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}
.ds-section[data-layout="split"] .ds-card[data-side="right"] .ds-card__media { order: 2; }
.ds-section[data-layout="split"] .ds-card__media { width: 100%; aspect-ratio: 5 / 6; max-height: 72vh; }
.ds-section[data-layout="split"] .ds-card__tag { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ds-clay); }
.ds-section[data-layout="split"] .ds-card__body h3 { margin: 0 0 16px; font-weight: 400; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.02em; }
.ds-section[data-layout="split"] .ds-card__text { font-family: var(--ds-serif); font-weight: 300; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.42; letter-spacing: -0.01em; color: var(--ds-ink); }
.ds-section[data-bg="cool"][data-layout="split"] .ds-card__tag { color: var(--ds-cool); }
.ds-points { display: grid; margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ds-line); }
.ds-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--ds-line);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(12, 15, 13, 0.82);
}
.ds-points li > span:only-child { grid-column: 1 / -1; }
.ds-points b { font-family: var(--ds-serif); font-weight: 300; font-size: 15px; letter-spacing: 0.06em; color: var(--ds-clay); }
.ds-section[data-bg="cool"] .ds-points b { color: var(--ds-cool); }

/* top: the photo-top grid, 3–4 columns, the badges as a pill on the photo */
.ds-section[data-layout="top"] .ds-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-section[data-layout="top"] .ds-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ds-section[data-layout="top"] .ds-card__media { aspect-ratio: 3 / 4; }
.ds-section[data-layout="top"] .ds-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  max-width: calc(100% - 28px);
  padding: 6px 11px;
  border-radius: 100px;
  background: rgba(244, 239, 228, 0.92);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-ink);
}
.ds-section[data-layout="top"] .ds-card__body { padding-top: 16px; }
.ds-section[data-layout="top"] .ds-card__body h3 { margin: 0 0 6px; font-weight: 400; font-size: clamp(19px, 2vw, 26px); line-height: 1.14; letter-spacing: -0.02em; }
.ds-section[data-layout="top"] .ds-card__text { font-size: 13.5px; line-height: 1.66; color: rgba(12, 15, 13, 0.66); }

/* ---------- numbers band ---------- */
.ds-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
}
.ds-stats[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.ds-stats[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-stats[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-stats li { padding: clamp(24px, 3.4vw, 44px) clamp(14px, 2vw, 28px); border-right: 1px solid var(--ds-line); }
.ds-stats li:last-child { border-right: 0; }
.ds-stats b { display: block; font-family: var(--ds-serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 74px); line-height: 0.9; letter-spacing: -0.04em; }
.ds-stats span { display: block; max-width: 24ch; margin-top: 12px; font-size: 10.5px; line-height: 1.6; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(12, 15, 13, 0.6); }

/* ---------- "Tour Packages That Include <City>" (tools/destination-builder/city-tours-render.js) ---------- */
.ds-tours .ds-inner { padding-top: clamp(48px, 7vw, 100px); }
.ds-tours__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.ds-tour { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.ds-tour__photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px; background: var(--ds-ink-2); }
.ds-tour__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ds-ease); }
.ds-tour:hover .ds-tour__photo img { transform: scale(1.05); }
.ds-tour__body { padding-top: 16px; }
.ds-tour__days { margin: 0 0 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ds-clay); }
.ds-tour__body h3 { margin: 0 0 10px; font-family: var(--ds-serif); font-weight: 400; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.18; letter-spacing: -0.015em; }
.ds-tour__more,
.ds-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ds-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ds-line);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.ds-tour:hover .ds-tour__more,
.ds-link:hover { color: var(--ds-clay); border-color: var(--ds-clay); }
.ds-tours__all { margin: clamp(28px, 4vw, 44px) 0 0; }

/* ---------- reveal on scroll ---------- */
/* Hidden only while scripts run (html.ds-js, set in the head; the head script
 * takes it away again if the page script has not started within 3 s). */
.ds-js .ds-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ds-ease), transform 0.9s var(--ds-ease); }
.ds-js .ds-reveal.is-in { opacity: 1; transform: none; }
.ds-js .ds-reveal--d1 { transition-delay: 0.08s; }
.ds-js .ds-reveal--d2 { transition-delay: 0.16s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ds-intro,
  .ds-hl { grid-template-columns: minmax(0, 1fr); }
  .ds-hl__aside { position: static; }
  .ds-section[data-layout="bento"] .ds-card,
  .ds-section[data-layout="bento"] .ds-card[data-size],
  .ds-section[data-layout="bento"] .ds-card[data-size="hero"] + .ds-card:not([data-size="hero"]):not([data-size="wide"]),
  .ds-section[data-layout="bento"] .ds-card[data-size="hero"] + .ds-card:not([data-size="hero"]):not([data-size="wide"]) + .ds-card:not([data-size="hero"]):not([data-size="wide"]) {
    grid-column: span 12;
    grid-row: auto;
    min-height: 300px;
  }
  .ds-section[data-layout="bento"] .ds-card[data-size="normal"] { min-height: 240px; }
  .ds-section[data-layout="split"] .ds-card { grid-template-columns: minmax(0, 1fr); }
  .ds-section[data-layout="split"] .ds-card[data-side="right"] .ds-card__media { order: 0; }
  .ds-section[data-layout="top"] .ds-grid,
  .ds-section[data-layout="top"] .ds-grid[data-cols="4"],
  .ds-section[data-layout="poster"] .ds-grid[data-cols="3"],
  .ds-tours__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-stats,
  .ds-stats[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-stats li:nth-child(2n) { border-right: 0; }
  .ds-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--ds-line); }
  .ds-stats[data-count="1"] li,
  .ds-stats[data-count="2"] li { border-bottom: 0; }
}
@media (max-width: 900px) {
  /* The cue would sit on the hero's buttons and facts. */
  .ds-hero__cue { display: none; }
}
@media (max-width: 720px) {
  .ds-hero__meta div { padding-left: 10px; }
  .ds-head { grid-template-columns: minmax(0, 1fr); }
  .ds-head__side { justify-items: start; }
  .ds-head__note { padding-bottom: 0; white-space: normal; }
  .ds-section[data-layout="poster"] .ds-grid,
  .ds-section[data-layout="poster"] .ds-grid[data-cols="3"] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .ds-section[data-layout="top"] .ds-grid,
  .ds-section[data-layout="top"] .ds-grid[data-cols="4"],
  .ds-tours__grid { grid-template-columns: minmax(0, 1fr); }
}
/* Touch screens swipe the slider; the arrows are for mouse users. */
@media (hover: none) {
  .ds-rail-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ds-hero__media img { animation: none; transform: none; }
  .ds-hero__cue i,
  .ds-marquee__track { animation: none; }
  .ds-js .ds-reveal { opacity: 1; transform: none; transition: none; }
  .ds-card__media img,
  .ds-tour__photo img,
  .ds-btn,
  .ds-rail-btn,
  .ds-hl__item { transition: none; }
}

/* ---------- staff template, 2026-11: the same markup, the template's layout + style ---------- */
.ds-body {
  --ds-ink: #1b3022;
  --ds-ink-2: #12332e;
  --ds-cream: #f9f7f2;
  --ds-clay: #c8421c;      /* the template's accent for small text and buttons: 4.9:1 on white */
  --ds-clay-deep: #a93615;
  --ds-gold: #c9a24a;
  --ds-cool: #0a6f79;
  --ds-soft: #4b5a53;
  --ds-forest: #12332e;
  --ds-line: rgba(27, 48, 34, .12);
  --ds-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ds-pad: 18px;
  --ds-maxw: 1216px;
  background: var(--ds-cream);
}
.ds-body::after { display: none; }
.ds-progress { background: linear-gradient(90deg, #e4572e, var(--ds-gold)); }

/* hero: photo band, name, lead, two buttons, the facts in a glass card */
.ds-hero { min-height: min(78vh, 680px); color: #fff; background: var(--ds-forest); }
.ds-hero__media::after { background: linear-gradient(180deg, rgba(18,51,46,.34) 0%, rgba(18,51,46,.56) 45%, rgba(12,30,28,.88) 100%); }
.ds-hero__inner { padding: 56px var(--ds-pad) 64px; }
.ds-hero__top { padding-bottom: 0; margin-bottom: 18px; border-bottom: 0; }
.ds-hero__crumb, .ds-hero__coords { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.82); }
.ds-hero__crumb span[aria-current] { color: #fff; }
.ds-hero__name, .ds-hero__name--long { font-size: clamp(52px, 9vw, 92px); font-weight: 400; line-height: .92; letter-spacing: 0; padding-bottom: .06em; color: #fff; }
.ds-hero__tag { font-family: var(--em-sans, inherit); max-width: 56ch; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.88); }
.ds-hero__sub { margin-top: 16px; align-items: flex-end; flex-wrap: nowrap; gap: 28px; }
.ds-hero__copy { max-width: 58ch; }
.ds-hero__lead { font-family: inherit; font-weight: 400; font-size: 16.5px; line-height: 1.5; color: rgba(255,255,255,.92); }
.ds-hero__actions { gap: 10px; margin-top: 26px; }
.ds-hero__cue { display: none; }
.ds-hero__meta {
  flex: 0 0 auto; width: min(340px, 40%); display: grid; gap: 14px; margin: 0; padding: 22px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ds-hero__meta div { border-left: 0; padding-left: 0; }
.ds-hero__meta dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; opacity: .85; }
.ds-hero__meta dd { font-size: 24px; line-height: 1.1; }

.ds-btn { padding: 13px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.ds-btn--solid { background: var(--ds-clay); color: #fff; }
.ds-btn--solid:hover { background: var(--ds-clay-deep); }
.ds-btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.75); }
.ds-btn--ghost:hover { background: #fff; color: var(--ds-ink); border-color: #fff; }

/* sections: cream, sand, peach, as staff picked them in the builder */
.ds-section { background: var(--ds-cream); }
.ds-section[data-layout="bento"] { background: linear-gradient(180deg, var(--ds-cream), #eef3f6 100%); }
.ds-section[data-bg="cool"] { background: #eef3f6; }
.ds-section[data-bg="warm"] { background: linear-gradient(180deg, #f6ebe3, #f8f1ea 100%); }
.ds-section[data-bg="bright"] { background: linear-gradient(180deg, #f8f4ec, #f2efe9); }
.ds-section[data-bg="bright"] + .ds-section[data-bg="plain"]::before { display: none; }
.ds-inner { padding: 72px var(--ds-pad) 40px; }
.ds-section:last-of-type .ds-inner { padding-bottom: 72px; }
.ds-head { padding-bottom: 28px; }
.ds-eyebrow { font-family: var(--ds-serif); font-size: 18px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ds-clay); }
.ds-head h2, .ds-hl__aside h2 { margin-top: 8px; max-width: 24ch; font-weight: 400; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: 0; color: var(--ds-ink); }
.ds-sub { margin-top: 12px; max-width: 48ch; font-size: 15.5px; line-height: 1.55; color: var(--ds-soft); }
.ds-card__body h3, .ds-hl__item h3 { letter-spacing: 0 !important; font-weight: 400 !important; }
.ds-rail-btn { width: 42px; height: 42px; border: 1.5px solid rgba(27,48,34,.16); }
.ds-rail-btn:hover { background: transparent; border-color: #e4572e; color: var(--ds-clay); transform: none; }

/* rail = the food cards */
.ds-section[data-layout="rail"] .ds-grid { gap: 16px; }
.ds-section[data-layout="rail"] .ds-card { flex: 0 0 clamp(230px, 22vw, 270px); aspect-ratio: auto; min-height: 340px; border-radius: 18px; background: var(--ds-forest); display: flex; flex-direction: column; justify-content: flex-end; }
.ds-section[data-layout="rail"] .ds-card__media::after { background: linear-gradient(transparent 42%, rgba(18,51,46,.9)); }
.ds-section[data-layout="rail"] .ds-card__body { position: relative; padding: 20px 16px; color: #fff; }
.ds-section[data-layout="rail"] .ds-card__tag { margin-bottom: 6px; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0; color: rgba(255,255,255,.88); opacity: 1; }
.ds-section[data-layout="rail"] .ds-card__body h3 { font-size: 26px; line-height: 1.08; margin-bottom: 0; }
.ds-section[data-layout="rail"] .ds-card__text { color: rgba(255,255,255,.9); margin-top: 8px; }

/* bento = the mosaic */
.ds-section[data-layout="bento"] .ds-grid { gap: 14px; }
.ds-section[data-layout="bento"] .ds-card { border-radius: 16px; background: var(--ds-forest); }
.ds-section[data-layout="bento"] .ds-card__media::after { background: linear-gradient(transparent 40%, rgba(18,51,46,.9)); }
.ds-section[data-layout="bento"] .ds-card__body { padding: 18px 16px; color: #fff; }
.ds-section[data-layout="bento"] .ds-card__tag { border: 0; padding: 0; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.88); }
.ds-section[data-layout="bento"] .ds-card__body h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; margin-bottom: 0; }
.ds-section[data-layout="bento"] .ds-card[data-size="hero"] .ds-card__body h3 { font-size: clamp(26px, 3vw, 36px); }
.ds-section[data-layout="bento"] .ds-card__text { max-width: 44ch; font-size: 13px; color: rgba(255,255,255,.9); margin-top: 6px; }

/* top = the white photo-top cards */
.ds-section[data-layout="top"] .ds-grid { gap: 18px; }
.ds-section[data-layout="top"] .ds-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(27,48,34,.06); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(27,48,34,.05); }
.ds-section[data-layout="top"] .ds-card__media { aspect-ratio: auto; height: 190px; border-radius: 0; }
.ds-section[data-layout="top"] .ds-card__tag { background: rgba(255,255,255,.94); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: none; padding: 5px 10px; }
.ds-section[data-layout="top"] .ds-card__body { padding: 16px 16px 18px; }
.ds-section[data-layout="top"] .ds-card__body h3 { font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.ds-section[data-layout="top"] .ds-card__text { font-size: 13.5px; line-height: 1.55; color: var(--ds-soft); }

/* poster = the evening cards */
.ds-section[data-layout="poster"] .ds-grid { gap: 16px; }
.ds-section[data-layout="poster"] .ds-card { aspect-ratio: auto; min-height: 400px; border-radius: 18px; background: var(--ds-forest); display: flex; flex-direction: column; justify-content: flex-end; }
.ds-section[data-layout="poster"] .ds-card__body { position: relative; display: block; padding: 72px 18px 22px; background: linear-gradient(rgba(18,51,46,0), rgba(18,51,46,.92) 44%); color: #fff; }
.ds-section[data-layout="poster"] .ds-card__tag, .ds-section[data-layout="poster"] .ds-grid[data-cols="3"] .ds-card__tag { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-sun, #ffe3a3); white-space: normal; }
.ds-section[data-layout="poster"] .ds-card__body h3 { font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.ds-section[data-layout="poster"] .ds-card__text { margin-top: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.92); }

/* split = the photo + notes */
.ds-section[data-layout="split"] .ds-grid { gap: 40px; }
.ds-section[data-layout="split"] .ds-card { grid-template-columns: .9fr 1.1fr; gap: 28px; }
.ds-section[data-layout="split"] .ds-card[data-side="right"] { grid-template-columns: 1.1fr .9fr; }
.ds-section[data-layout="split"] .ds-card__media { aspect-ratio: auto; min-height: 420px; max-height: none; height: 100%; border-radius: 22px; box-shadow: 0 18px 40px rgba(27,48,34,.1); }
.ds-section[data-layout="split"] .ds-card__tag { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.ds-section[data-layout="split"] .ds-card__body h3 { margin-bottom: 10px; font-size: 30px; }
.ds-section[data-layout="split"] .ds-card__text { font-family: inherit; font-size: 15.5px; font-weight: 400; line-height: 1.6; letter-spacing: 0; color: var(--ds-soft); max-width: 48ch; }

/* intro, keyword strip, numbers: Lampang's extra kinds, same type */
.ds-marquee { background: var(--ds-forest); color: #fff; border: 0; }
.ds-lede { font-weight: 400; letter-spacing: 0; }
.ds-stats b { font-weight: 400; letter-spacing: 0; }
.ds-card__media--empty { background: linear-gradient(135deg, #1a4a44 0%, #12332e 100%); }
.ds-tour__photo { border-radius: 18px; }

/* Touch screens show the card text all the time: keep it readable over bright photos. */
@media (hover: none) {
  .ds-section[data-layout="rail"] .ds-card__media::after,
  .ds-section[data-layout="bento"] .ds-card__media::after {
    background: linear-gradient(180deg, rgba(18,51,46,.16) 0%, rgba(18,51,46,.66) 38%, rgba(18,51,46,.94) 100%);
  }
}

/* "Want <city> in your outline?" */
.ds-cta { background: var(--ds-cream); padding: 56px var(--ds-pad) 64px; text-align: center; }
.ds-cta h2 { margin: 0 0 10px; font-family: var(--ds-serif); font-weight: 400; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.08; color: var(--ds-ink); }
.ds-cta p { margin: 0 auto 20px; max-width: 44ch; color: var(--ds-soft); }
.ds-cta .ds-btn--solid { display: inline-flex; }

@media (max-width: 980px) {
  .ds-hero__sub { flex-wrap: wrap; }
  .ds-hero__meta { width: 100%; }
  .ds-section[data-layout="split"] .ds-card, .ds-section[data-layout="split"] .ds-card[data-side="right"] { grid-template-columns: 1fr; }
  .ds-section[data-layout="split"] .ds-card__media { min-height: 280px; }
}
