/* Destinations & Landscapes page — extends styles.css */

/* 1. Atlas hero */
.atlas-hero { position: relative; isolation: isolate; width: min(94vw, 1600px); min-height: 720px; margin: 22px auto 0; overflow: hidden; border-radius: 32px; background: #15130f; color: #fffdf6; }
.atlas-hero__image, .atlas-hero__shade { position: absolute; z-index: -1; inset: 0; }
.atlas-hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.atlas-hero__shade { background: linear-gradient(90deg, rgba(10,12,9,0.78) 0%, rgba(14,16,12,0.5) 42%, rgba(14,16,12,0.08) 78%), linear-gradient(180deg, rgba(10,12,9,0.35) 0%, transparent 30%, transparent 62%, rgba(10,12,9,0.65) 100%); }
.atlas-hero__inner { display: grid; min-height: 720px; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); align-items: end; gap: 6%; padding: 170px 6.3% 54px; }
.atlas-hero h1 { margin: 0; color: #fffdf6; font-family: var(--serif); font-size: clamp(64px, 7.6vw, 122px); font-weight: 400; letter-spacing: -0.02em; line-height: 0.9; }
.atlas-hero h1 em { display: block; color: #e3c58e; font-style: italic; }
.atlas-hero__note { max-width: 470px; margin: 24px 0 0; color: rgba(255,252,244,0.82); font-size: 13px; line-height: 1.85; }
.atlas-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.circuit-snapshot { padding: 26px 26px 22px; border: 1px solid rgba(255,255,255,0.2); border-radius: 26px; background: rgba(251,249,244,0.95); color: var(--ink); box-shadow: 0 18px 45px rgba(0,0,0,0.22); }
.circuit-snapshot h2 { margin: 0 0 14px; color: var(--forest); font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: 0; line-height: 1; text-transform: uppercase; }
.circuit-snapshot ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.circuit-snapshot li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); counter-increment: step; }
.circuit-snapshot li::before { color: var(--clay); content: '0' counter(step); font-family: var(--serif); font-size: 16px; }
.circuit-snapshot strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 11px; }
.circuit-snapshot li p { margin: 0; color: #666a60; font-size: 9.5px; line-height: 1.7; }

/* 2. Filter + quick-jump strip */
.atlas-strip { position: sticky; z-index: 15; top: var(--header-bar); margin-top: 40px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(244,240,230,0.94); backdrop-filter: blur(12px); }
.atlas-strip__inner { display: grid; gap: 12px; }
.atlas-strip__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.atlas-strip__label { min-width: 118px; color: var(--moss); font-size: 8px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.terrain-button { min-height: 34px; padding: 0 14px; border: 1px solid rgba(38,57,45,0.2); border-radius: 999px; background: transparent; color: var(--forest); font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.terrain-button:hover { background: rgba(38,57,45,0.07); }
.terrain-button.is-active { border-color: var(--forest); background: var(--forest); color: #fffdf6; }
.terrain-count { margin-left: auto; color: #84857a; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.quick-jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.quick-jump::-webkit-scrollbar { display: none; }
.quick-jump a { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; color: #5f655a; font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; transition: background 160ms ease, color 160ms ease; }
.quick-jump a:hover, .quick-jump a.is-current { background: #e2dccd; color: var(--forest); }
.quick-jump a.is-filtered-out { opacity: 0.35; }

/* 3. Deep-dive profiles */
.profiles { padding-top: 96px; padding-bottom: 40px; }
.profiles .section-heading { margin-bottom: 70px; }
.profile { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 6.5%; align-items: center; padding: 0 0 110px; scroll-margin-top: var(--atlas-strip-height, 160px); }
.profile:nth-of-type(even) .profile__media { order: 2; }
.profile__media { position: relative; overflow: hidden; aspect-ratio: 1.12; border-radius: 26px; background: #cfc8b6; }
.profile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.profile__media:hover img { transform: scale(1.03); }
.profile__open { position: absolute; z-index: 2; inset: 0; }
.profile__body h3 a:hover { color: var(--clay); }
.profile__badge { position: absolute; top: 16px; left: 16px; padding: 8px 11px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; background: rgba(20,26,20,0.34); color: #fff; font-size: 7.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.profile__index { position: absolute; right: 18px; bottom: 6px; color: rgba(255,255,255,0.88); font-family: var(--serif); font-size: 74px; font-style: italic; line-height: 1; text-shadow: 0 6px 26px rgba(0,0,0,0.35); }
.profile__body h3 { margin: 0 0 6px; color: var(--forest); font-family: var(--display); font-size: clamp(44px, 4.6vw, 70px); font-weight: 700; letter-spacing: -0.012em; line-height: 0.9; text-transform: uppercase; }
.profile__tagline { margin: 0 0 22px; color: var(--clay); font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); font-style: italic; line-height: 1.15; }
.profile__section { margin: 0 0 16px; }
.profile__section h4 { margin: 0 0 6px; color: #7c7f72; font-size: 7.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.profile__section p { margin: 0; color: #5f6359; font-size: 11px; line-height: 1.85; }
.profile__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile__facts div { padding: 14px 14px 14px 0; }
.profile__facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.profile__facts dt { margin-bottom: 6px; color: #84867a; font-size: 7px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.profile__facts dd { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.15; }
.profile__facts dd small { display: block; margin-top: 4px; color: #7d8075; font-family: var(--sans); font-size: 8px; font-weight: 500; line-height: 1.5; }
.profile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.profile__actions .button { min-height: 44px; }
.profile__sources { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; }
.profiles-empty { padding: 40px 0 100px; color: #6d7066; font-family: var(--serif); font-size: 24px; font-style: italic; text-align: center; }

/* 4. Route & pacing */
.route-section { padding: 105px 0 110px; background: #eae7dc; }
.route-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 7%; }
.route-story p { margin: 0 0 16px; color: #5f6359; font-size: 11px; line-height: 1.9; }
.route-story .intro-lead { margin-bottom: 20px; }
.transit-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.transit-table caption { margin-bottom: 12px; color: var(--moss); font-size: 8px; font-weight: 800; letter-spacing: 0.16em; text-align: left; text-transform: uppercase; }
.transit-table th, .transit-table td { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.transit-table thead th { color: #7d8075; font-size: 7.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.transit-table tbody th { color: var(--forest); font-family: var(--serif); font-size: 17px; font-weight: 500; }
.transit-table td { color: #555a50; line-height: 1.6; }
.transit-note { margin: 14px 0 0; color: #7d8075; font-size: 8px; line-height: 1.7; }
.combo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 70px; }
.combo-card { display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 22px; background: var(--paper-light); }
.combo-card__route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--clay); font-size: 8px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.combo-card__route i { color: #b7b2a2; font-style: normal; }
.combo-card h3 { margin: 0 0 10px; color: var(--forest); font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 0.95; text-transform: uppercase; }
.combo-card p { flex: 1; margin: 0 0 18px; color: #62665c; font-size: 10px; line-height: 1.8; }
.combo-card__nights { margin-bottom: 16px; color: var(--ink); font-family: var(--serif); font-size: 19px; }

/* 5. Season matrix */
.season-section { padding-top: 110px; padding-bottom: 110px; }
.season-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.season-col { padding: 24px 20px 26px 0; }
.season-col + .season-col { padding-left: 20px; border-left: 1px solid var(--line); }
.season-col__months { margin: 0 0 4px; color: var(--forest); font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.season-col__label { margin: 0 0 14px; color: var(--clay); font-family: var(--serif); font-size: 18px; font-style: italic; }
.season-col > p { margin: 0 0 16px; color: #5f6359; font-size: 10px; line-height: 1.8; }
.season-col__where { display: flex; flex-wrap: wrap; gap: 5px; }
.season-col__where span { padding: 6px 9px; border-radius: 999px; background: #e6e0d1; color: var(--forest); font-size: 7.5px; font-weight: 700; }
.matrix-wrap { margin-top: 60px; overflow-x: auto; border-radius: 22px; background: var(--paper-light); }
.season-matrix { width: 100%; min-width: 720px; border-collapse: collapse; }
.season-matrix caption { padding: 20px 22px 4px; color: var(--moss); font-size: 8px; font-weight: 800; letter-spacing: 0.16em; text-align: left; text-transform: uppercase; }
.season-matrix th, .season-matrix td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.season-matrix thead th { color: #7d8075; font-size: 7.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.season-matrix tbody th { color: var(--forest); font-family: var(--serif); font-size: 17px; font-weight: 500; white-space: nowrap; }
.season-matrix tbody tr:last-child th, .season-matrix tbody tr:last-child td { border-bottom: 0; }
.season-matrix td { color: #5c6056; font-size: 9px; line-height: 1.5; }
.rating { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.rating::before { width: 9px; height: 9px; border-radius: 50%; content: ''; }
.rating--prime::before { background: var(--forest); }
.rating--good::before { border: 1px solid var(--forest); background: #a3a187; }
.rating--quiet::before { border: 1px solid #9b9c8f; background: transparent; }
.matrix-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 22px 20px; color: #6d7066; font-size: 8.5px; }

/* 6. Stewardship */
.stewardship { padding: 0 0 110px; }
.stewardship__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: 30px; background: var(--forest-deep); color: #f5f1e7; }
.stewardship__media { min-height: 100%; }
.stewardship__media img { width: 100%; height: 100%; object-fit: cover; }
.stewardship__copy { padding: 70px 7% 64px; }
.stewardship__copy h2 { margin: 0 0 18px; color: #fbf7ec; font-family: var(--display); font-size: clamp(50px, 5vw, 76px); font-weight: 700; line-height: 0.88; text-transform: uppercase; }
.stewardship__copy h2 em { color: #d8bb85; font-family: var(--serif); font-size: 0.84em; font-weight: 400; text-transform: none; }
.stewardship__copy > p { max-width: 520px; margin: 0 0 26px; color: rgba(245,241,231,0.74); font-size: 11px; line-height: 1.85; }
.stewardship__list { display: grid; gap: 0; margin: 0 0 26px; padding: 0; list-style: none; border-top: 1px solid rgba(245,241,231,0.16); }
.stewardship__list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(245,241,231,0.16); }
.stewardship__list span { color: #d8bb85; font-family: var(--serif); font-size: 16px; }
.stewardship__list p { margin: 0; color: rgba(245,241,231,0.72); font-size: 10px; line-height: 1.7; }
.stewardship__list strong { color: #fbf7ec; font-size: 11px; }
.stewardship .source-link { color: rgba(245,241,231,0.6); }
.stewardship .source-link:hover { color: #fff; }

/* 7. Bespoke banner (black & white) */
.bespoke-banner { position: relative; isolation: isolate; width: min(94vw, 1600px); margin: 0 auto 70px; overflow: hidden; border-radius: 32px; background: #0d0d0c; color: #fff; }
.bespoke-banner__image { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; filter: grayscale(1) contrast(1.2) brightness(0.5); }
.bespoke-banner__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 6%; padding: 110px 6.3% 90px; }
.bespoke-banner h2 { margin: 0; color: #fff; font-family: var(--display); font-size: clamp(56px, 6.6vw, 104px); font-weight: 800; line-height: 0.86; text-transform: uppercase; }
.bespoke-banner h2 em { color: #fff; font-family: var(--serif); font-size: 0.8em; font-weight: 400; text-transform: none; }
.bespoke-banner p { margin: 0 0 22px; color: rgba(255,255,255,0.78); font-size: 12px; line-height: 1.85; }
.bespoke-ideas { display: grid; gap: 0; margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.22); }
.bespoke-ideas li a { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.22); color: #fff; font-family: var(--serif); font-size: 19px; transition: padding 160ms ease; }
.bespoke-ideas li a:hover { padding-left: 8px; }
.bespoke-banner .button--light { background: #fff; color: #0d0d0c; }
.bespoke-banner .button--light:hover { background: #e6e6e6; }

/* Responsive */
@media (max-width: 1100px) {
  /* The stacked hero is very tall: keep the photo sharp at the top and fade it into the dark background */
  .atlas-hero__image { bottom: auto; height: 700px; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .atlas-hero__shade { background: linear-gradient(180deg, rgba(10,12,9,0.56) 0%, rgba(10,12,9,0.6) 420px, rgba(10,12,9,0.5) 700px, rgba(10,12,9,0.5) 100%); }
  .atlas-hero__inner { grid-template-columns: 1fr; align-items: start; gap: 34px; padding-top: 150px; }
  .circuit-snapshot { max-width: 620px; }
  .route-grid { grid-template-columns: 1fr; gap: 50px; }
  .combo-grid { grid-template-columns: 1fr 1fr; }
  .combo-card:last-child { grid-column: span 2; }
  .season-grid { grid-template-columns: 1fr 1fr; }
  .season-col:nth-child(3) { padding-left: 0; border-left: 0; }
  .season-col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bespoke-banner__inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  .profile, .profile:nth-of-type(even) { grid-template-columns: 1fr; gap: 30px; padding-bottom: 80px; }
  .profile:nth-of-type(even) .profile__media { order: 0; }
  .profile__media { aspect-ratio: 1.45; }
  .stewardship__inner { grid-template-columns: 1fr; }
  .stewardship__media { min-height: 300px; }
}
@media (max-width: 680px) {
  .atlas-hero { width: calc(100% - 20px); min-height: 0; margin-top: 10px; border-radius: 24px; }
  .atlas-hero__image { object-position: 55% center; }
  .atlas-hero__inner { min-height: 0; padding: 120px 7% 22px; }
  .atlas-hero h1 { font-size: clamp(54px, 15vw, 76px); }
  .atlas-hero__note { font-size: 11px; }
  .circuit-snapshot { padding: 20px 18px 16px; border-radius: 20px; }
  .circuit-snapshot h2 { font-size: 24px; }
  .atlas-strip { margin-top: 26px; padding: 11px 0; }
  .atlas-strip__label { min-width: 0; flex-basis: 100%; font-size: 7px; }
  .atlas-strip__row--filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .atlas-strip__row--filters .atlas-strip__label { display: none; }
  .terrain-button { flex: 0 0 auto; min-height: 31px; padding: 0 11px; font-size: 8px; }
  .terrain-count { display: none; }
  .quick-jump .atlas-strip__label { display: none; }
  .profiles { padding-top: 70px; }
  .profiles .section-heading { margin-bottom: 40px; }
  .profile__media { border-radius: 18px; }
  .profile__index { font-size: 54px; }
  .profile__body h3 { font-size: 46px; }
  .profile__facts { grid-template-columns: 1fr; }
  .profile__facts div, .profile__facts div + div { padding: 12px 0; border-left: 0; }
  .profile__facts div + div { border-top: 1px solid var(--line); }
  .route-section { padding: 76px 0; }
  .transit-table { font-size: 9px; }
  .transit-table tbody th { font-size: 15px; }
  .combo-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .combo-card:last-child { grid-column: auto; }
  .season-section { padding-top: 76px; padding-bottom: 76px; }
  .season-grid { grid-template-columns: 1fr; }
  .season-col, .season-col + .season-col { padding: 20px 0; border-left: 0; }
  .season-col + .season-col { border-top: 1px solid var(--line); }
  .stewardship { padding-bottom: 76px; }
  .stewardship__inner { border-radius: 22px; }
  .stewardship__copy { padding: 44px 7% 40px; }
  .bespoke-banner { width: calc(100% - 20px); border-radius: 24px; }
  .bespoke-banner__inner { padding: 70px 7% 50px; }
  .bespoke-banner h2 { font-size: clamp(50px, 14vw, 72px); }
}
