:root {
  color-scheme: dark;
  --ink: #e8e8df;
  --muted: #9c9e96;
  --faint: #696c65;
  --paper: #111411;
  --paper-light: #171b17;
  --line: rgba(232, 232, 223, .14);
  --accent: #c3a878;
  --copy: #aeb0a7;
  --field: #111411;
  --button-bg: #e8e8df;
  --button-fg: #171a16;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #25291f;
  --muted: #656b61;
  --faint: #85897e;
  --paper: #f5f4ee;
  --paper-light: #eae9e1;
  --line: rgba(37, 41, 31, .15);
  --accent: #8d6c3e;
  --copy: #555b52;
  --field: #fffefa;
  --button-bg: #25291f;
  --button-fg: #f5f4ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: #101311; background: var(--accent); }

.site-header { position: absolute; z-index: 5; top: 0; left: 0; display: flex; width: 100%; height: 88px; align-items: center; justify-content: space-between; padding: 0 7.2%; border-bottom: 1px solid rgba(255,255,255,.16); }
.site-header:not(.manage-header) { --ink: #e8e8df; --muted: #9c9e96; --accent: #c3a878; }
.theme-toggle { display: inline-flex; flex: none; gap: 3px; padding: 3px; border: 1px solid var(--line); }
.theme-option { display: grid; width: 31px; height: 29px; place-items: center; padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.theme-option svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.theme-option[aria-pressed="true"] { color: var(--paper); background: var(--accent); }
.theme-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.manage-header .theme-toggle { margin-left: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 39px; height: 32px; overflow: visible; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.brand-mark circle { fill: var(--accent); stroke: none; }
.wordmark-name { display: grid; gap: 3px; color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1; }
.wordmark-name span + span { color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: .24em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 48px); font-size: 11px; letter-spacing: .06em; }
.site-nav > a:not(.nav-cta) { color: rgba(255,255,255,.8); transition: color .2s; }
.site-nav > a:hover, .text-link:hover, .card-link:hover { color: var(--accent); }
.nav-cta { padding: 12px 16px; border: 1px solid rgba(255,255,255,.48); transition: background .2s, color .2s; }
.nav-cta:hover { color: var(--paper); background: var(--ink); }
.site-header:not(.manage-header) .nav-cta:hover { color: #171a16; background: #e8e8df; }
.nav-cta span { padding-left: 9px; }
.menu-toggle { display: none; }

.hero { --ink: #e8e8df; --accent: #c3a878; --button-bg: #e8e8df; --button-fg: #171a16; position: relative; display: flex; min-height: min(760px, 100svh); align-items: center; overflow: hidden; padding: 120px 11.5% 100px; background: #222927; }
.closing { --ink: #e8e8df; --accent: #c3a878; --button-bg: #e8e8df; --button-fg: #171a16; }
.hero-image, .closing-image { position: absolute; inset: 0; background-position: center 47%; background-size: cover; }
.hero-image { background-image: linear-gradient(90deg, rgba(10,14,13,.83) 0%, rgba(10,14,13,.55) 43%, rgba(10,14,13,.08) 100%), linear-gradient(0deg, rgba(10,14,13,.3), transparent 40%), url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2200&q=85"); }
.hero-content { position: relative; z-index: 1; width: min(600px, 100%); margin-top: 14px; }
.eyebrow { margin: 0; color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: .22em; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; margin: 0 12px 3px 0; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 24px 0 22px; font-size: clamp(64px, 9.2vw, 132px); font-weight: 400; letter-spacing: -.075em; line-height: .96; }
h1 em, h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero-copy { max-width: 380px; margin-bottom: 33px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.8; }
.button { display: inline-flex; min-height: 48px; align-items: center; gap: 25px; padding: 0 19px; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.button span { font-size: 15px; }
.button-light { color: var(--button-fg); background: var(--button-bg); transition: background .2s; }
.button-light:hover { background: var(--accent); }
.hero-caption { position: absolute; z-index: 1; right: 7.2%; bottom: 40px; display: flex; gap: 18px; color: rgba(255,255,255,.64); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-caption span + span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.45); }
.hero-index { position: absolute; z-index: 1; bottom: 39px; left: 7.2%; font-size: 10px; letter-spacing: .12em; }
.hero-index span { padding: 0 5px; color: var(--accent); }

.section-wrap { width: min(1110px, 85.6%); margin: 0 auto; }
.intro { display: grid; grid-template-columns: 25% 1fr; gap: 4%; padding-top: 128px; padding-bottom: 132px; }
.intro-label { display: flex; align-items: flex-start; gap: 22px; padding-top: 13px; }
.intro-label .eyebrow { white-space: nowrap; }
.label-rule { width: 100%; height: 1px; margin-top: 5px; background: var(--line); }
.intro-content h2, .section-heading h2, .route-copy h2, .closing h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); font-weight: 400; letter-spacing: -.06em; line-height: 1.12; }
.intro-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-top: 37px; }
.body-copy { max-width: 470px; margin: 0; color: var(--copy); font-size: 13px; line-height: 1.9; text-align: justify; text-align-last: left; }
.body-copy strong { color: var(--ink); font-weight: 500; }
.text-link, .card-link { display: inline-flex; flex: none; align-items: center; gap: 14px; color: var(--ink); font-size: 10px; font-weight: 600; transition: color .2s; }
.text-link span, .card-link span { color: var(--accent); font-size: 15px; }
.empty-journey { grid-column: 1 / -1; color: var(--muted); font-size: 13px; line-height: 1.8; }

.history-section { padding: 105px 0 114px; background: var(--paper-light); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.section-heading h2 { margin-top: 15px; }
.section-note { margin: 0 0 5px; color: var(--muted); font-size: 11px; line-height: 1.8; text-align: right; }
.filter-row { display: flex; gap: 28px; margin: 48px 0 27px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.filter-button { position: relative; padding: 0; border: 0; color: var(--muted); background: none; cursor: pointer; font-size: 10px; transition: color .2s; }
.filter-button::after { position: absolute; right: 0; bottom: -18px; left: 0; height: 1px; background: transparent; content: ""; }
.filter-button.is-active { color: var(--ink); }
.filter-button.is-active::after { background: var(--accent); }
.filter-button span { margin-left: 5px; color: var(--accent); font-size: 8px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.journey-card { min-width: 0; }
.journey-image { display: block; height: 255px; margin-bottom: 20px; overflow: hidden; background-color: #343a35; transition: filter .3s; }
.journey-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.journey-image:hover { filter: brightness(1.15); }
.journey-image:hover .journey-photo { transform: scale(1.04); }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--accent); font-size: 8px; font-weight: 600; letter-spacing: .16em; }
.journey-card h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.journey-card > p { min-height: 40px; margin-bottom: 15px; color: var(--muted); font-size: 11px; line-height: 1.8; text-align: justify; text-align-last: left; }
.journey-card .card-link { margin-top: 3px; }
.journey-card[hidden] { display: none; }
.route-section[hidden] { display: none; }
.edit-note { margin: 26px 0 0; color: var(--faint); font-size: 10px; }
code { color: var(--muted); font-family: "Consolas", monospace; font-size: .95em; }

.route-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 675px; }
.route-visual { position: relative; display: grid; min-height: 620px; overflow: hidden; place-items: center; background: #1c2420; }
.route-visual::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,13,.4), transparent 60%); content: ""; }
.route-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.map-stamp { position: absolute; z-index: 1; right: 8%; bottom: 9%; display: grid; width: 71px; height: 71px; align-content: center; border: 1px solid rgba(195,168,120,.8); border-radius: 50%; color: var(--accent); background: rgba(17,20,17,.4); font-size: 8px; letter-spacing: .12em; line-height: 1.5; text-align: center; transform: rotate(12deg); }
.map-stamp b { font-size: 10px; }
.route-copy { align-self: center; width: min(470px, 78%); margin: 0 auto; padding: 72px 0; }
.route-copy h2 { margin: 15px 0 22px; }
.route-stops { margin: 34px 0 0; padding: 0; list-style: none; }
.route-stops li { display: grid; grid-template-columns: 36px 1fr 15px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.route-stops li:last-child { border-bottom: 1px solid var(--line); }
.route-stops li > span { color: var(--accent); font-size: 9px; }
.route-stops li strong { display: block; font-size: 11px; font-weight: 500; }
.route-stops li small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.route-stops li > b { color: var(--accent); font-size: 13px; font-weight: 400; }
.route-disclaimer { margin: 13px 0 0; color: var(--faint); font-size: 9px; }
.route-detail-link { margin-top: 23px; }

.trip-detail { padding-top: 88px; }
.trip-detail-image-wrap { position: relative; display: flex; min-height: clamp(440px, 62vw, 680px); align-items: flex-end; overflow: hidden; background: #202722; }
.trip-detail-image { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.trip-image-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,15,13,.87), rgba(12,15,13,.08) 80%); }
.trip-detail-heading { --ink: #e8e8df; --accent: #c3a878; position: relative; width: min(1110px, 85.6%); margin: 0 auto; padding: 50px 0 68px; }
.trip-back-link { display: inline-block; margin-bottom: 38px; color: var(--ink); font-size: 11px; }
.trip-back-link:hover { color: var(--accent); }
.trip-detail-heading h1, .trip-not-found h1 { margin: 15px 0 0; font-size: clamp(52px, 8vw, 100px); font-weight: 400; letter-spacing: -.07em; line-height: 1; }
.trip-detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-top: 88px; padding-bottom: 105px; }
.trip-gallery { padding-bottom: 100px; }
.trip-gallery[hidden] { display: none; }
.trip-gallery h2 { margin: 15px 0 28px; font-size: clamp(38px, 5vw, 58px); font-weight: 400; letter-spacing: -.06em; line-height: 1.12; }
.trip-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.trip-gallery-grid figure, .preview-gallery figure { min-width: 0; margin: 0; }
.trip-gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-light); }
.trip-gallery-grid figcaption, .preview-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.trip-story { padding-top: 10px; }
.trip-description { max-width: 490px; margin: 20px 0 35px; color: var(--copy); font-size: 15px; line-height: 1.9; text-align: justify; text-align-last: left; }
.trip-id-label { color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.trip-id-label code { margin-left: 8px; color: var(--accent); }
.trip-itinerary h2 { margin: 15px 0 25px; font-size: clamp(38px, 5vw, 58px); font-weight: 400; letter-spacing: -.06em; line-height: 1.12; }
.trip-not-found { min-height: 65vh; padding-top: 190px; padding-bottom: 100px; }
.trip-not-found h1 { margin-bottom: 20px; }
.trip-not-found .body-copy { margin-bottom: 28px; }
.trip-not-found[hidden], .trip-detail[hidden] { display: none; }

.manage-header { position: relative; }
.manage-header { border-bottom-color: var(--line); }
.manage-header .back-top { color: var(--ink); }
.manage-main { padding-top: 75px; padding-bottom: 90px; }
.manage-heading { max-width: 650px; margin: 0 0 54px; }
.manage-heading h1 { margin: 17px 0 20px; font-size: clamp(48px, 7vw, 82px); font-weight: 400; letter-spacing: -.07em; line-height: 1.04; }
.manage-heading .body-copy { max-width: 560px; }
.manage-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; }
.editor-form { display: grid; gap: 17px; padding: 27px; border: 1px solid var(--line); background: var(--paper-light); }
.delete-story-button { justify-self: start; padding: 0 0 12px; border: 0; color: #d78c80; background: transparent; cursor: pointer; font: 500 10px var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.delete-story-button:hover { color: #f0b4a9; }
.delete-story-button[hidden] { display: none; }
.field-label { display: grid; gap: 8px; color: var(--ink); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.field-label input, .field-label textarea, .editor-form select { width: 100%; min-height: 43px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0; outline: none; color: var(--ink); background: var(--field); font: 400 12px var(--sans); }
.field-label textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.field-label input:focus, .field-label textarea:focus, .editor-form select:focus { border-color: var(--accent); }
.field-label input::placeholder, .field-label textarea::placeholder { color: var(--faint); }
.field-label input[type="file"] { padding: 7px; color: var(--muted); }
.field-label input[type="file"]::file-selector-button { margin-right: 12px; padding: 6px 10px; border: 1px solid var(--line); color: var(--ink); background: var(--paper-light); font: 10px var(--sans); }
.field-hint { display: block; color: var(--faint); font-size: 9px; font-weight: 400; line-height: 1.7; letter-spacing: 0; }
.field-hint code { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.feature-option { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.feature-option input { accent-color: var(--accent); }
.gallery-editor { min-width: 0; margin: 0; padding: 0; border: 0; }
.gallery-editor legend { margin-bottom: 8px; color: var(--ink); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.gallery-editor > .field-hint { margin-bottom: 12px; }
.gallery-fields { display: grid; gap: 12px; }
.gallery-photo-field { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); background: var(--paper); }
.gallery-row-heading { display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.gallery-row-heading .text-button { color: var(--muted); font-size: 9px; text-transform: none; }
.add-photo-button { justify-self: start; margin-top: 12px; color: var(--accent); }
.form-error { margin: 0; padding: 11px; border-left: 2px solid #d27e70; color: #efb4aa; background: rgba(210,126,112,.08); font-size: 11px; line-height: 1.6; }
.form-error[hidden] { display: none; }
.preview-button { justify-self: start; border: 0; cursor: pointer; }
.preview-panel { position: sticky; top: 24px; min-width: 0; }
.preview-panel > .eyebrow { margin-bottom: 15px; }
.preview-card { overflow: hidden; border: 1px solid var(--line); background: var(--paper-light); }
.preview-image-wrap { position: relative; height: 245px; overflow: hidden; background: #202722; }
.preview-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.preview-image-wrap img[hidden] { display: none; }
.preview-placeholder { position: absolute; inset: 0; display: grid; place-content: center; color: var(--faint); font-family: var(--serif); font-size: 22px; text-align: center; }
.preview-placeholder[hidden] { display: none; }
.preview-copy { padding: 23px; }
.preview-copy h2 { margin: 15px 0 10px; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.preview-copy > p:not(.trip-id-label) { margin: 0 0 15px; color: var(--muted); font-size: 11px; line-height: 1.8; text-align: justify; text-align-last: left; }
.preview-copy .route-stops { margin-top: 19px; }
.preview-copy .route-stops li { padding: 11px 0; }
.preview-copy .trip-id-label { margin: 16px 0 0; }
.preview-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.preview-gallery[hidden] { display: none; }
.preview-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.preview-gallery figcaption { font-size: 9px; }
.preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 17px; }
.preview-actions[hidden], .save-panel[hidden] { display: none; }
.preview-actions .button, .save-panel .button { border: 0; cursor: pointer; }
.text-button { padding: 8px 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font: 500 10px var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: var(--accent); }
.save-panel { margin-top: 18px; padding: 21px; border: 1px solid rgba(195,168,120,.35); background: rgba(195,168,120,.05); }
.save-panel > p:not(.eyebrow) { color: var(--ink); font-size: 11px; line-height: 1.7; }
.save-panel .text-button { display: block; margin-top: 10px; }
.save-panel .field-hint { margin-top: 16px; }
.manage-note { max-width: 650px; margin-top: 32px; line-height: 1.8; }

.next-section { padding-top: 112px; padding-bottom: 120px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 47px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.next-card { position: relative; display: flex; min-height: 230px; gap: 20px; padding: 27px 22px 26px 0; }
.next-card + .next-card { padding-left: 25px; border-left: 1px solid var(--line); }
.next-number { color: var(--accent); font-family: var(--serif); font-size: 17px; }
.next-content { padding-top: 3px; }
.next-content .card-meta { color: var(--muted); font-size: 8px; }
.next-content h3 { margin: 17px 0 9px; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.next-content p { max-width: 235px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; text-align: justify; text-align-last: left; }
.next-arrow { position: absolute; right: 16px; bottom: 27px; color: var(--accent); }

.closing { position: relative; display: flex; min-height: 470px; align-items: center; overflow: hidden; padding: 70px 11.5%; }
.closing-image { background-image: linear-gradient(90deg, rgba(13,17,15,.8), rgba(13,17,15,.2)), linear-gradient(0deg, rgba(13,17,15,.3), transparent 60%), url("https://images.unsplash.com/photo-1464278533981-50106e6176b1?auto=format&fit=crop&w=2000&q=85"); background-position: center 55%; }
.closing-content { position: relative; z-index: 1; }
.closing h2 { margin: 17px 0 28px; font-size: clamp(43px, 6vw, 76px); }
.closing-coord { position: absolute; right: 7.2%; bottom: 32px; color: rgba(255,255,255,.62); font-size: 8px; letter-spacing: .13em; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 20px; min-height: 100px; padding: 20px 7.2%; }
.site-footer p { margin: 0; color: var(--muted); font-size: 10px; }
.back-top { justify-self: center; color: var(--muted); font-size: 10px; }
.back-top:hover { color: var(--accent); }
.copyright { color: var(--faint); font-size: 8px; letter-spacing: .1em; }

@media (min-width: 1500px) {
  .hero { min-height: 800px; }
}

@media (max-width: 800px) {
  .site-header { height: 72px; padding: 0 6%; }
  .menu-toggle { z-index: 7; display: grid; width: 38px; height: 38px; align-content: center; justify-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.4); background: transparent; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 0; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 83px 6% 25px; background: var(--paper); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { align-self: flex-start; margin-top: 15px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.48); }
  .site-nav.is-open > a:not(.nav-cta) { color: var(--ink); }
  .site-nav.is-open .nav-cta { border-color: var(--line); }
  :root[data-theme="light"] .site-header:not(.manage-header) .site-nav.is-open { --ink: #25291f; --accent: #8d6c3e; }
  .hero { min-height: 690px; padding: 130px 8% 100px; }
  .hero-image { background-position: 58% center; }
  .hero-caption { right: 8%; bottom: 34px; font-size: 8px; }
  .hero-index { bottom: 34px; left: 8%; }
  .intro { grid-template-columns: 1fr; gap: 31px; padding-top: 90px; padding-bottom: 95px; }
  .intro-label { max-width: 240px; }
  .intro-bottom { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 25px; }
  .history-section { padding: 85px 0 90px; }
  .journey-grid { gap: 15px; }
  .journey-image { height: 195px; }
  .journey-card h3 { font-size: 21px; }
  .route-section { grid-template-columns: 1fr; }
  .route-visual { min-height: 490px; }
  .route-copy { width: min(540px, 85%); padding: 75px 0 85px; }
  .trip-detail-content { gap: 7%; }
  .trip-gallery { padding-bottom: 80px; }
  .manage-layout { gap: 24px; }
  .editor-form { padding: 20px; }
  .preview-image-wrap { height: 205px; }
  .next-section { padding-top: 85px; padding-bottom: 90px; }
  .next-card { gap: 14px; padding-right: 13px; }
  .next-card + .next-card { padding-left: 15px; }
  .next-content h3 { font-size: 19px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 24px 7%; }
  .back-top { justify-self: start; }
  .copyright { justify-self: end; }
}

@media (max-width: 560px) {
  .section-wrap { width: 86%; }
  .hero { min-height: 690px; align-items: center; padding-right: 7%; padding-left: 7%; }
  .hero h1 { font-size: clamp(64px, 16vw, 92px); }
  .hero-copy { max-width: 300px; font-size: 12px; }
  .hero-caption { right: 7%; bottom: 28px; display: block; max-width: 140px; line-height: 1.8; text-align: right; }
  .hero-caption span { display: block; }
  .hero-caption span + span { padding: 0; border: 0; }
  .hero-index { bottom: 29px; left: 7%; }
  .intro-content h2, .section-heading h2, .route-copy h2 { font-size: clamp(38px, 10vw, 52px); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-note { text-align: left; }
  .filter-row { gap: 19px; margin-top: 34px; overflow-x: auto; }
  .filter-button { flex: none; }
  .journey-grid { grid-template-columns: 1fr; gap: 40px; }
  .journey-image { height: 260px; }
  .journey-card > p { min-height: auto; }
  .route-visual { min-height: 360px; }
  .map-stamp { right: 5%; bottom: 5%; width: 60px; height: 60px; font-size: 7px; }
  .route-copy { width: 86%; padding: 65px 0 72px; }
  .trip-detail { padding-top: 72px; }
  .trip-detail-image-wrap { min-height: 510px; }
  .trip-detail-heading { width: 86%; padding-bottom: 45px; }
  .trip-back-link { margin-bottom: 27px; }
  .trip-detail-heading h1, .trip-not-found h1 { font-size: clamp(48px, 13vw, 68px); }
  .trip-detail-content { grid-template-columns: 1fr; gap: 53px; padding-top: 62px; padding-bottom: 75px; }
  .trip-gallery { padding-bottom: 70px; }
  .trip-gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .trip-description { font-size: 13px; }
  .trip-not-found { min-height: 75vh; padding-top: 155px; }
  .manage-main { padding-top: 53px; padding-bottom: 65px; }
  .manage-heading { margin-bottom: 36px; }
  .manage-heading h1 { font-size: clamp(46px, 13vw, 64px); }
  .manage-layout { grid-template-columns: 1fr; gap: 35px; }
  .preview-panel { position: static; grid-row: 1; }
  .editor-form { padding: 18px; }
  .preview-image-wrap { height: 235px; }
  .form-grid { gap: 11px; }
  .manage-header { padding-right: 6%; padding-left: 6%; }
  .manage-header .back-top { font-size: 9px; }
  .manage-header .theme-toggle { margin-left: 8px; }
  .next-grid { grid-template-columns: 1fr; }
  .next-card { min-height: 185px; padding: 24px 25px 24px 0; }
  .next-card + .next-card { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .next-content h3 { font-size: 24px; }
  .closing { min-height: 430px; padding-right: 7%; padding-left: 7%; }
  .closing-image { background-position: 60% center; }
  .closing-coord { right: 7%; font-size: 7px; }
  .site-footer { grid-template-columns: 1fr auto; row-gap: 15px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .back-top { grid-column: 1; grid-row: 3; }
  .copyright { grid-column: 2; grid-row: 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
