@import url("./guides.css");
@import url("./about.css");

/* ==========================================================================
   Chengdu City Guide — static stylesheet
   Palette: deep tea green, warm white, sage, restrained clay accent.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f3f6f3;
  --paper-3: #e7eee8;
  --ink: #16211d;
  --ink-2: #3d4d47;
  --muted: #627069;
  --green-950: #0d2a23;
  --green-900: #123d34;
  --green-800: #173f36;
  --green-700: #21584a;
  --green-600: #2f6b5a;
  --sage: #cadbd2;
  --line: #d9e3dd;
  --line-strong: #b8c9c0;
  --sand: #f4efe3;
  --clay: #a4512f;
  --white: #ffffff;
  --font-display: "Manrope", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shell: 1180px;
  --shadow: 0 24px 60px rgba(18, 61, 52, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.66;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 1.1em;
  color: var(--ink-2);
}

a {
  color: inherit;
}

::selection {
  background: var(--green-800);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 4px;
}

:is(.hero, .page-hero, .food-feature, .site-footer) :focus-visible {
  outline-color: #c9ddd3;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.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: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--green-950);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: none;
  object-fit: contain;
  padding: 3px;
  border-radius: 12px;
  background: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.2;
  color: var(--green-800);
}

.brand-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--green-800);
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--green-700);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--green-800);
  color: var(--green-800);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  display: grid;
  gap: 3px;
  width: 15px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
}

.mobile-nav[open] summary {
  background: var(--green-800);
  color: var(--white);
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100svh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav nav a:last-child {
  border-bottom: 0;
}

.mobile-nav nav a[aria-current="page"] {
  color: var(--green-700);
}

/* ---------- Shared type ---------- */

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-600);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #c9ddd3;
}

.lede {
  color: var(--ink-2);
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  line-height: 1.6;
}

.small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-700);
}

.btn-light {
  background: var(--white);
  color: var(--green-800);
}

.btn-light:hover {
  background: #e9f1ec;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
  color: var(--green-800);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow--light {
  color: var(--white);
}

.external::after {
  content: " ↗";
  font-size: 0.8em;
}

.section {
  padding-block: clamp(66px, 9vw, 112px);
}

.section--tint {
  background: var(--paper-2);
}

.section--sage {
  background: var(--paper-3);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2 {
  margin: 0;
  color: var(--green-800);
}

.section-head p:not(.eyebrow) {
  margin: 0 0 6px;
  max-width: 58ch;
}

/* ---------- Home hero ---------- */

.hero {
  --hero-overlay: linear-gradient(180deg,rgba(7,22,28,.24) 0%,rgba(7,22,28,.28) 35%,rgba(7,22,28,.53) 72%,rgba(7,22,28,.68) 100%),linear-gradient(90deg,rgba(7,26,20,.58) 0%,rgba(7,26,20,.12) 70%);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(770px, calc(100svh - 82px));
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture {
  z-index: -2;
}

.hero picture img {
  object-fit: cover;
  object-position: center 58%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--hero-overlay);
}

.hero-inner {
  position: relative;
  padding-block: 120px 52px;
}

.hero h1 {
  max-width: 13ch;
  margin: 0 0 26px;
  color: var(--white);
  font-size: clamp(3.1rem, 7.4vw, 6.4rem);
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.22);
}

.hero h1 span {
  display: block;
  font-weight: 600;
  color: #e3eee8;
}

.hero-lede {
  max-width: 54ch;
  margin: 0 0 30px;
  color: #e7f0ec;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 26px 0 0;
  color: #d3e2db;
  font-size: 0.82rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-credit {
  position: absolute;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

/* ---------- Fact bar ---------- */

.fact-bar {
  background: var(--green-950);
  color: var(--white);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-block: 0;
  margin-inline: auto;
}

.fact {
  padding: 21px 22px 21px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.fact:not(:first-child) {
  padding-left: 22px;
}

.fact:last-child {
  border-right: 0;
}

.fact dt {
  margin-bottom: 5px;
  color: #9ebbb0;
  font-family: var(--font-display);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  color: #eef5f1;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

/* ---------- Intro & quick links ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: start;
}

.intro-grid h2 {
  margin: 0 0 20px;
  color: var(--green-800);
}

.intro-copy {
  padding-top: 6px;
}

.intro-copy .lede {
  margin-bottom: 22px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 54px;
  border-top: 1px solid var(--line-strong);
}

.quick-card {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 20px 20px 22px 0;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s ease;
}

.quick-card:not(:first-child) {
  padding-left: 20px;
}

.quick-card:last-child {
  border-right: 0;
}

.quick-card:hover {
  background: rgba(23, 63, 54, 0.035);
}

.quick-card .num {
  margin-bottom: 26px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.quick-card b {
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.04rem;
}

.quick-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 24px;
}

.feature-kicker {
  color: var(--green-600);
}

.feature-main {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
}

.feature-main .media {
  overflow: hidden;
  background: var(--paper-3);
}

.feature-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.feature-main:hover img {
  transform: scale(1.025);
}

.feature-body {
  padding: 22px 0 0;
}

.feature-body h3 {
  margin: 0 0 8px;
  color: var(--green-800);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.feature-body p {
  max-width: 46ch;
  margin: 0;
  font-size: 0.95rem;
}

.feature-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-content: stretch;
}

.feature-small {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.feature-small:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-small .media {
  overflow: hidden;
  background: var(--paper-3);
}

.feature-small img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.feature-small:hover img {
  transform: scale(1.03);
}

.feature-small h3 {
  margin: 0 0 7px;
  color: var(--green-800);
  font-size: 1.12rem;
}

.feature-small p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.mini-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 30px 56px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mini-card:hover {
  background: #f8faf7;
  border-color: var(--line-strong);
}

.mini-card .eyebrow {
  margin-bottom: 9px;
}

.mini-card h3 {
  margin: 0 0 8px;
  color: var(--green-800);
  font-size: 1.35rem;
}

.mini-card p:not(.eyebrow) {
  margin: 0;
  max-width: 42ch;
  font-size: 0.9rem;
  line-height: 1.55;
}

.mini-arrow {
  position: absolute;
  top: 28px;
  right: 30px;
  color: var(--green-600);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.mini-card:hover .mini-arrow {
  transform: translateX(4px);
}

/* ---------- Mood cards ---------- */

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.length-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.length-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.length-card:hover {
  background: #f8faf7;
  border-color: var(--line-strong);
}

.length-days {
  margin-bottom: 14px;
  color: var(--green-600);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.length-card h3 {
  margin: 0 0 10px;
  color: var(--green-800);
  font-size: 1.35rem;
}

.length-card p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.6;
}

.length-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 700;
}

.mood-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.mood-card .media {
  overflow: hidden;
  background: var(--paper-3);
}

.mood-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.3s ease;
}

.mood-card:hover img {
  transform: scale(1.03);
}

.mood-card h3 {
  min-height: 2.6em;
  margin: 0 0 10px;
  color: var(--green-800);
  font-size: 1.13rem;
}

.mood-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.mood-card .tag {
  display: block;
  margin: 16px 0 10px;
  color: var(--green-600);
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Food feature ---------- */

.food-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 560px;
  background: var(--green-800);
  color: var(--white);
}

.food-feature .media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.food-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.food-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 84px);
}

.food-copy h2 {
  margin: 0 0 20px;
  color: var(--white);
}

.food-copy p {
  max-width: 44ch;
  color: #d8e5df;
  font-size: 1.03rem;
}

.dish-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 30px;
  padding: 0;
  list-style: none;
}

.dish-chips li {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #e3eee9;
  font-size: 0.78rem;
}

/* ---------- Map ---------- */

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}

.neighborhood-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.neighborhood-section .map-copy > p:not(.eyebrow) {
  max-width: 38ch;
  margin-bottom: 30px;
}

.neighborhood-section .map-copy .btn {
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  padding: 17px 24px;
}

.neighborhood-section .map-figure {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.map-copy h2 {
  margin: 0 0 20px;
  color: var(--green-800);
}

.map-legend {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.map-legend li {
  display: grid;
  grid-template-columns: 15px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.map-legend b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.swatch {
  width: 13px;
  height: 13px;
  margin-top: 5px;
  border-radius: 50%;
}

.swatch--area {
  background: #9db8ab;
}

.swatch--park {
  background: #b9d3ae;
}

.swatch--river {
  background: #8fc0cf;
}

.swatch--metro {
  background: var(--clay);
}

.map-figure {
  margin: 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(18, 61, 52, 0.07);
}

.map-graphic {
  width: 100%;
}

.map-figure svg {
  width: 100%;
  height: auto;
}

.map-svg text {
  font-family: var(--font-display);
}

.map-label--river {
  font-style: italic;
}

.map-label--note {
  letter-spacing: 0.02em;
}

.map-label--metro {
  font-family: var(--font-body);
}

.data-table .small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
}

.map-figure figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.map-mobile {
  display: none;
}

.map-text {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.map-text summary {
  color: var(--green-800);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.map-text p {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

/* ---------- Practical list ---------- */

.practical-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.practical-copy h2 {
  margin: 0 0 20px;
  color: var(--green-800);
}

.practical-list {
  border-top: 1px solid var(--line-strong);
}

.practical-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
}

.practical-list b {
  display: block;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}

.practical-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.practical-list .arrow {
  color: var(--green-800);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.practical-list a:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Season table ---------- */

.season-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.season-layout h2 {
  margin: 0 0 20px;
  color: var(--green-800);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table caption {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  background: var(--green-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table tbody th {
  background: var(--paper-2);
  color: var(--green-800);
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) td {
  background: #f7f9f6;
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.faq-layout h2 {
  margin: 0 0 20px;
  color: var(--green-800);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--green-600);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0 0 18px;
  max-width: 66ch;
  font-size: 0.94rem;
}

/* ---------- About strip ---------- */

.about-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 6vw, 80px);
  align-items: center;
}

.about-strip .media {
  overflow: hidden;
}

.about-strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about-strip h2 {
  margin: 0 0 20px;
  color: var(--green-800);
}

.about-strip p {
  max-width: 52ch;
}

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  padding: clamp(64px, 9vw, 104px) 0 clamp(56px, 8vw, 92px);
  background:
    radial-gradient(1100px 420px at 88% -10%, rgba(93, 139, 122, 0.35), transparent 65%),
    var(--green-800);
  color: var(--white);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .crumbs {
  margin: 0 0 26px;
  color: #b9d0c6;
  font-size: 0.78rem;
}

.page-hero .crumbs a {
  color: #dce9e3;
  text-decoration: none;
}

.page-hero .crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0 0 24px;
  color: var(--white);
  font-size: clamp(2.6rem, 5.4vw, 4.7rem);
}

.page-hero .page-lede {
  max-width: 62ch;
  margin: 0;
  color: #d5e4dd;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.62;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #b9d0c6;
  font-size: 0.78rem;
}

.page-meta b {
  color: #e8f2ed;
  font-weight: 600;
}

/* ---------- Guides index ---------- */

.guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.guide-intro h2 {
  margin: 0 0 18px;
  color: var(--green-800);
}

.answer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.answer-links li {
  border-bottom: 1px solid var(--line);
}

.answer-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  text-decoration: none;
}

.answer-links a:hover {
  color: var(--green-700);
}

.answer-links span {
  color: var(--green-600);
}

.guide-cards {
  display: grid;
  gap: 26px;
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
}

.guide-card .media {
  overflow: hidden;
  background: var(--paper-3);
}

.guide-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.guide-card:hover img {
  transform: scale(1.025);
}

.guide-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.guide-card-body h2 {
  margin: 0 0 12px;
  color: var(--green-800);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.guide-card-body p {
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.inside-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.85rem;
}

.inside-list li {
  padding: 5px 0 5px 16px;
  position: relative;
}

.inside-list li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-600);
}

.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.76rem;
}

.guide-card-meta b {
  color: var(--green-700);
  font-weight: 700;
}

/* Article styles are shared with the preview in guides.css. */

/* ---------- Simple pages ---------- */

.simple-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(40px, 7vw, 96px);
  padding-block: clamp(54px, 8vw, 96px) clamp(66px, 9vw, 112px);
  align-items: start;
}

.simple-aside {
  position: sticky;
  top: 108px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.simple-aside h2 {
  margin: 0 0 12px;
  color: var(--green-800);
  font-size: 1.3rem;
}

.simple-aside p {
  font-size: 0.9rem;
}

.simple-body {
  max-width: 760px;
}

.simple-body h2 {
  margin: 42px 0 14px;
  color: var(--green-800);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.simple-body h2:first-child {
  margin-top: 0;
}

.simple-body p,
.simple-body li {
  color: #364640;
  font-size: 1.05rem;
  line-height: 1.75;
}

.simple-body ul {
  padding-left: 1.2em;
}

.simple-body li {
  margin: 0.45em 0;
}

.simple-body a {
  color: var(--green-700);
  text-underline-offset: 3px;
}

.contact-box {
  margin: 28px 0;
  padding: 24px;
  background: var(--sand);
  border-left: 3px solid #c49a55;
}

.contact-box h2,
.contact-box h3 {
  margin: 0 0 8px;
  color: var(--green-800);
  font-size: 1.08rem;
}

.contact-box p {
  margin: 0 0 10px;
  font-size: 0.94rem;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-list b {
  display: block;
  margin-bottom: 3px;
  color: var(--green-800);
  font-family: var(--font-display);
  font-size: 1rem;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 66px 0 28px;
  background: var(--green-900);
  color: #d8e5df;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand-text {
  color: var(--white);
}

.footer-brand .brand-text span {
  color: #b9d0c6;
}

.footer-brand p {
  max-width: 34ch;
  margin: 0;
  color: #b9d0c6;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col b {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 3px 0;
  color: #d8e5df;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #9fb9ae;
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

.footer-bottom a {
  color: #c9dbd3;
  text-decoration: none;
}

/* ---------- Motion & responsive ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1020px) {
  .primary-nav {
    gap: 20px;
  }

  .mood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(n) {
    padding: 20px 22px 20px 0;
    border: 0;
  }

  .fact:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .fact:nth-child(odd):not(:last-child) {
    padding-right: 22px;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .fact:last-child {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: min(720px, calc(100svh - 82px));
  }

  .section-head,
  .intro-grid,
  .map-layout,
  .practical-layout,
  .season-layout,
  .faq-layout,
  .guide-intro,
  .about-strip {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-head {
    align-items: start;
  }

  .intro-grid {
    gap: 20px;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 38px;
  }

  .quick-card:nth-child(2) {
    border-right: 0;
  }

  .quick-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .quick-card:nth-child(odd) {
    padding-left: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .length-grid {
    grid-template-columns: 1fr;
  }

  .feature-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 24px;
  }

  .feature-small {
    grid-template-columns: 1fr;
    gap: 12px;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .feature-small img {
    aspect-ratio: 16 / 10;
  }

  .food-feature {
    grid-template-columns: 1fr;
  }

  .food-feature .media {
    min-height: 380px;
  }

  .map-mobile {
    display: block;
  }

  .map-desktop {
    display: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 40px 76px;
  }

  .toc {
    display: none;
  }

  .toc-mobile {
    display: block;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line);
  }

  .toc-mobile summary {
    padding: 14px 0;
    color: var(--green-800);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
  }

  .toc-mobile ol {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0 0 16px;
    list-style: none;
  }

  .toc-mobile a {
    display: block;
    padding: 10px 0;
    min-height: 44px;
    color: var(--muted);
    font-size: 0.86rem;
    text-decoration: none;
  }

  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-card img {
    min-height: 240px;
    max-height: 300px;
  }

  .simple-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .simple-aside {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 48ch;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 94px;
  }
  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text b {
    font-size: 1.2rem;
  }

  .brand-text span {
    font-size: 0.75rem;
  }

  .hero {
    min-height: min(700px, calc(100svh - 70px));
    align-items: flex-end;
  }

  .hero-inner {
    padding-block: 90px 46px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-credit {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .fact:nth-child(n) {
    padding: 15px 12px 15px 0;
  }

  .fact:nth-child(even) {
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card,
  .quick-card:not(:first-child) {
    min-height: 0;
    padding: 18px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .quick-card:first-child {
    border-top: 0;
  }

  .quick-card .num {
    margin-bottom: 12px;
  }

  .feature-side {
    grid-template-columns: 1fr;
  }

  .mood-grid {
    grid-template-columns: 1fr;
  }

  .mood-card img {
    aspect-ratio: 4 / 3;
  }

  .mood-card h3 {
    min-height: 0;
  }

  .food-feature .media {
    min-height: 300px;
  }

  .food-copy {
    padding: 36px 24px 42px;
  }

  .map-figure {
    padding: 10px;
  }

  .map-legend {
    gap: 10px;
  }

  .article-body > section {
    padding: 34px 0;
  }

  .article-body p,
  .article-body li,
  .simple-body p,
  .simple-body li {
    font-size: 1rem;
    line-height: 1.72;
  }

  .article-body table {
    min-width: 560px;
  }

  .fact-list,
  .stay-grid {
    grid-template-columns: 1fr;
  }

  .timeline > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-cta {
    grid-template-columns: 1fr;
  }

  .answer-links {
    grid-template-columns: 1fr;
  }

  .guide-card-body {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-col a {
    min-height: 44px;
    padding-block: 10px;
  }

  .site-footer {
    padding-top: 52px;
  }
}

/* ---------- Stacked tables on narrow screens ---------- */

@media (max-width: 700px) {
  .table-wrap {
    overflow: visible;
  }

  .article-body table,
  .data-table {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .article-body thead,
  .data-table thead {
    display: none;
  }

  .article-body tbody,
  .data-table tbody {
    display: block;
  }

  .article-body tbody tr,
  .data-table tbody tr {
    display: block;
    margin: 0 0 14px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .article-body tbody th,
  .data-table tbody th {
    display: block;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
    white-space: normal;
    font-size: 1rem;
  }

  .article-body tbody td,
  .data-table tbody td {
    display: block;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .article-body tbody td:last-child,
  .data-table tbody td:last-child {
    border-bottom: 0;
  }

  .article-body tbody td::before,
  .data-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .article-body caption,
  .data-table caption {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
  }
}

/* One destination heading; phone copy sits beneath an unobstructed image. */
.hero-heading{text-align:center}
.hero h1{max-width:none;margin-inline:auto;font-size:clamp(3rem,6.5vw,6rem);line-height:1.08}
@media(max-width:620px){
  .hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;height:auto;background:var(--green-950)}
  .hero picture{position:relative;inset:auto;flex:0 0 auto;width:100%;height:clamp(280px,80vw,350px);min-height:0;z-index:0}
  .hero picture img{object-position:center 50%}
  .hero picture::after{content:"";position:absolute;inset:0;z-index:1;background:var(--hero-overlay);pointer-events:none}
  .hero::after{display:none}
  .hero-inner{display:block;flex:0 0 auto;width:100%;min-height:0;padding:20px 16px 22px}
  .hero-inner::before{content:none}
  .hero-heading{min-height:0;padding:0;margin:0 0 12px;text-align:left}
  .hero h1{max-width:none;margin:0;font-size:clamp(1.625rem,7.2vw,2rem);line-height:1.15;letter-spacing:-.035em;text-shadow:none}
  .hero-lede{max-width:38ch;width:auto;margin:0 0 18px;font-size:.95rem;line-height:1.65;color:#eef5f2;text-shadow:none}
  .hero-actions{width:100%;margin:0;padding:0}
  .hero-actions .btn{width:100%;min-height:48px}
  .hero-note{display:none}
  .fact-bar{border-top:1px solid rgba(255,255,255,.14);padding-top:0}
  .fact-bar .fact:nth-child(n){padding-block:12px}
}

/* Desktop hero: a left-aligned content group nearer the image center. */
@media(min-width:901px){
  .hero{align-items:flex-end}
  .hero-inner{padding-block:120px 68px}
  .hero-heading{max-width:860px;text-align:left}
  .hero h1{max-width:100%;margin-left:0;margin-right:0;font-size:clamp(2.75rem,4.4vw,4.25rem);line-height:1.1;text-wrap:balance}
}

/* Four visual entry points into Chengdu. */
.explore-section{padding-top:80px;padding-bottom:88px}
.explore-section h2{margin:0 0 12px;color:#173f36;font-size:clamp(1.65rem,2.5vw,2rem);line-height:1.2;letter-spacing:-.03em}
.explore-intro{margin:0 0 24px;color:#3d4d47;font-size:1rem;line-height:1.6;max-width:100ch}
.explore-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.explore-card{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:12px;background:#173f36;text-decoration:none;isolation:isolate}
.explore-card picture{position:absolute;inset:0}
.explore-card picture,.explore-card img{display:block;width:100%;height:100%}
.explore-card img{object-fit:cover;transition:transform .35s ease}
.explore-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 35%,rgba(5,18,15,.2) 58%,rgba(5,18,15,.8) 100%)}
.explore-card h3{position:absolute;z-index:1;bottom:22px;left:12px;right:12px;margin:0;text-align:center;color:#fff;font-size:clamp(1.1rem,1.65vw,1.55rem);line-height:1.2;letter-spacing:-.025em;text-shadow:0 1px 8px rgba(0,0,0,.3)}
.explore-card:hover img{transform:scale(1.035)}
.explore-card:focus-visible{outline:3px solid #2f6b5a;outline-offset:5px}
@media(max-width:700px){.explore-section{padding-top:48px;padding-bottom:56px}.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.explore-card h3{bottom:16px;left:8px;right:8px;font-size:clamp(1rem,4vw,1.4rem)}.explore-intro{font-size:.95rem;margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.explore-card:hover img{transform:none}}


/* Distinguish discovery, practical planning and the itinerary. */
.planning-intro{background:#edf3ee;border-block:1px solid #dbe5dd;padding-block:64px}
.route-section{background:#fff}
@media(max-width:700px){.planning-intro{padding-block:44px}}

@media(max-width:620px){.hero{--hero-overlay:linear-gradient(180deg,rgba(0,0,0,.26) 0%,rgba(0,0,0,.18) 45%,rgba(0,0,0,.42) 100%)}}

/* Modern Chengdu: real Taikoo Li photography and an evening palette. */
.modern-chengdu{background:#142d35;color:#fff;padding-block:88px}
.modern-heading{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:end;margin-bottom:36px}
.modern-chengdu .eyebrow,.modern-chengdu .kicker{color:#d9c79e}
.modern-chengdu h2{color:#fff;margin:0;font-size:clamp(2rem,4.2vw,3.35rem);line-height:1.08}
.modern-heading p:not(.eyebrow):not(.kicker){color:#d8e2e3;font-size:1rem;line-height:1.7;margin:0 0 16px}
.modern-heading p:last-child{margin-bottom:0}
.modern-gallery{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}
.modern-gallery figure{margin:0;min-width:0}
.modern-gallery picture{display:block;height:clamp(340px,36vw,470px);overflow:hidden;border-radius:10px}
.modern-gallery img{display:block;width:100%;height:clamp(340px,36vw,470px);object-fit:cover;object-position:center 65%;border-radius:10px}
.modern-gallery picture img{height:100%}
.modern-gallery figure:last-child img{object-position:center 80%}
.modern-gallery figcaption{color:#becfd1;font-size:.8rem;line-height:1.5;margin-top:12px}
.modern-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:36px;padding-top:28px;border-top:1px solid #486068}
.modern-notes h3{margin:0 0 10px;color:#fff;font-size:1.12rem;line-height:1.3}
.modern-notes p{margin:0;color:#c4d4d6;font-size:.93rem;line-height:1.6}
.modern-chengdu .modern-credits{margin:28px 0 0;color:#b3c5c8;font-size:.75rem;line-height:1.5}
.modern-credits a{color:inherit;text-underline-offset:3px}
.modern-chengdu a:focus-visible{outline-color:#e1d2af}
@media(max-width:900px){.modern-heading{grid-template-columns:1fr;gap:24px}.modern-gallery{gap:16px}}
@media(max-width:700px){.modern-chengdu{padding-block:56px}.modern-gallery{grid-template-columns:1fr;gap:26px}.modern-gallery picture{height:auto;aspect-ratio:4/3}.modern-gallery img{height:auto;aspect-ratio:4/3}.modern-gallery picture img{height:100%}.modern-notes{grid-template-columns:1fr;gap:22px;margin-top:28px}.modern-heading{margin-bottom:28px}}

.modern-gallery figure:first-child img{object-position:center 82%}

/* Full-width closing panorama, immediately before the shared footer. */
.snow-mountain-banner{position:relative;isolation:isolate;width:100%;height:clamp(360px,33.333vw,680px);overflow:hidden;background:#6b8390;color:#fff}
.snow-mountain-banner>picture{position:absolute;inset:0;display:block}
.snow-mountain-banner>picture>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.snow-mountain-banner::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,transparent 40%,rgba(9,25,31,.18) 60%,rgba(9,25,31,.78) 100%);pointer-events:none}
.snow-mountain-caption{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding-block:40px}
.snow-mountain-caption .snow-mountain-label{margin:0 0 12px;color:#edf2f0;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.snow-mountain-caption h2{max-width:850px;margin:0 0 12px;color:#fff;font-size:clamp(28px,3vw,46px);line-height:1.12;letter-spacing:-.025em}
.snow-mountain-caption p:last-child{max-width:560px;margin:0;color:#eef2f2;font-size:16px;line-height:1.5}
@media(max-width:620px){
 .snow-mountain-banner{height:340px}
 .snow-mountain-banner>picture>img{object-position:52% 40%}
 .snow-mountain-caption{padding-block:26px}
 .snow-mountain-caption .snow-mountain-label{font-size:10px;margin-bottom:10px}
 .snow-mountain-caption h2{max-width:330px;font-size:28px}
 .snow-mountain-caption p:last-child{max-width:290px;font-size:14px}
}
