:root {
  --ink: #20352f;
  --muted: #53655b;
  --paper: #f4f2eb;
  --card: #fffdf8;
  --line: #d5ddd1;
  --accent-dark: #9b472e;
  --sage: #e2e9dd;
  --warm: #f0d9bd;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a85636; outline-offset: 4px; }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 21px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 760; letter-spacing: -.035em; line-height: 1; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #dce98a; font-size: 18px; }
.nav { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 14px; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"], .nav a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 10px 18px; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; text-align: center; }
.button:hover { background: #304941; }
.button--accent { background: var(--accent-dark); }
.button--accent:hover { background: #803823; }
.button--light { background: var(--card); color: var(--ink); border-color: var(--line); }
.button--light:hover { background: var(--sage); }
.text-link { display: inline-block; color: var(--accent-dark); font-weight: 700; text-underline-offset: 4px; }
.trip-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 65px); align-items: center; padding: 48px 0 58px; }
.hero-text { min-width: 0; }
.eyebrow { color: var(--accent-dark); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { margin: 13px 0 20px; font-size: clamp(42px, 5.4vw, 76px); line-height: .99; }
h1 em { color: #566f58; font-weight: 500; }
.hero-lead { color: var(--muted); max-width: 530px; margin: 0 0 23px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-illustration { margin: 0; background: #f5ebdb; border: 1px solid #decec0; border-radius: 24px; overflow: hidden; }
.hero-illustration img { display: block; width: 100%; height: auto; }
.hero-illustration figcaption { margin: 0; padding: 10px 16px; color: var(--muted); font-size: 12px; }
.trip-section { padding-block: 42px; border-top: 1px solid var(--line); scroll-margin-top: 18px; }
.section-heading { display: grid; grid-template-columns: 1.12fr 1fr; align-items: end; gap: 30px; margin-bottom: 22px; }
.section-heading h2, .trip-cta h2, .method h2 { margin: 0; font-size: clamp(33px, 4.2vw, 52px); line-height: 1.04; }
.section-heading p, .trip-cta p, .method p { margin: 0; color: var(--muted); }
.section-note { margin: 15px 0 0; max-width: 900px; color: var(--muted); font-size: 14px; }
.section-note a { color: var(--accent-dark); text-underline-offset: 3px; }
.budget-layout, .map-grid, .calculator-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.budget-highlight, .calc-result { border-radius: 22px; color: #fbf9f0; background: var(--ink); padding: clamp(20px, 4vw, 38px); }
.budget-highlight > p:first-child, .calc-result > p:first-child { margin: 0 0 8px; color: #d3dfd3; }
.budget-highlight > strong, .calc-result > strong, .trip-basis > strong { display: block; font: 500 clamp(37px, 6vw, 63px)/1 var(--serif); letter-spacing: -.035em; }
.budget-highlight > span, .calc-result > span { display: block; margin-top: 8px; color: #e2ebad; }
.budget-footnote { color: #d3dfd3; font-size: 13px; margin: 21px 0 0; }
.budget-list, .trip-basis, .map-card, .schedule-card, .winter-grid article, .route-card, .trip-calculator { border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.budget-list { margin: 0; padding: 15px 23px; }
.budget-list > div, .trip-basis dl > div, .route-card dl > div, .calc-result dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.budget-list > div:last-child, .trip-basis dl > div:last-child, .route-card dl > div:last-child, .calc-result dl > div:last-child { border-bottom: 0; }
dd { margin: 0; text-align: right; flex-shrink: 0; font-weight: 700; }
.schedule-card { padding: clamp(16px, 3vw, 32px); max-width: 800px; }
.schedule-card h3 { font-size: 29px; margin: 0; }
.schedule-card > div:first-child { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.schedule-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; text-align: center; }
.day, .day-header { padding: 6px 0; border-radius: 7px; font-size: 13px; }
.day { background: #eef1e9; }
.day-header { color: var(--muted); font-weight: 700; }
.pending-day { background: var(--warm); color: #633522; font-weight: 700; }
.checkout-day { background: #faeee0; box-shadow: inset 0 0 0 1px #d1a781; }
.schedule-legend { display: flex; flex-wrap: wrap; gap: 8px 19px; margin: 14px 0 3px; color: var(--muted); font-size: 13px; }
.schedule-legend span { display: inline-flex; align-items: center; gap: 6px; }
.schedule-legend i { width: 14px; height: 14px; display: inline-block; border-radius: 3px; background: #eef1e9; }
.schedule-legend .pending-day { background: var(--warm); }
.schedule-legend .checkout-day { background: #faeee0; }
.schedule-updated { color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.map-card { overflow: hidden; }
.map-image { display: block; background: var(--sage); }
.map-image img { display: block; width: 100%; height: auto; }
.map-caption { padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.map-caption small { display: block; color: var(--muted); }
.direction-card { display: grid; grid-template-rows: auto 1fr auto; padding: 14px 19px; background: #e7ede1; }
.map-title { margin: 0; font-weight: 750; }
.directions { min-height: 300px; position: relative; isolation: isolate; }
.direction-hub, .direction { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; text-align: center; }
.direction-hub { left: 48%; top: 51%; border-radius: 999px; background: var(--ink); color: #fff; padding: 7px 12px; }
.direction { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 5px 8px; font-size: 13px; font-weight: 750; text-decoration: none; line-height: 1.4; }
.direction:hover { border-color: var(--accent-dark); }
.direction small { display: block; color: var(--muted); font-weight: 550; }
.direction-nw { left: 19%; top: 20%; }
.direction-ne { left: 73%; top: 13%; }
.direction-e { left: 82%; top: 51%; }
.direction-sw { left: 23%; top: 86%; }
.direction-se { left: 71%; top: 87%; }
.direction-spoke { position: absolute; z-index: -1; left: 48%; top: 51%; border-top: 1px dashed #637b67; transform-origin: left center; }
.spoke-nw { width: 35%; transform: rotate(214deg); }
.spoke-ne { width: 33%; transform: rotate(-42deg); }
.spoke-e { width: 34%; }
.spoke-sw { width: 32%; transform: rotate(143deg); }
.spoke-se { width: 31%; transform: rotate(42deg); }
.map-fine { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.winter-grid, .route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.winter-grid article, .route-card { padding: 17px 20px; }
.winter-grid h3, .route-card h3 { font-size: 26px; line-height: 1.11; margin: 0 0 10px; }
.winter-grid p, .route-card p { color: var(--muted); margin: 0; font-size: 14px; }
.trip-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.trip-cta p { margin-top: 7px; }
.trip-basis { padding: 26px; }
.trip-basis > p:first-child { margin: 0 0 7px; color: var(--muted); }
.trip-basis .basis-note { font-size: 13px; color: var(--muted); margin: 0; }
.route-card { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 20px; }
.route-card:target { border-color: var(--accent-dark); outline: 2px solid #c37d5d; }
.route-card > .route-kind { color: var(--accent-dark); text-transform: uppercase; font-size: 10px; letter-spacing: .09em; font-weight: 750; }
.route-card h3 { margin-top: 7px; }
.route-card .route-via { margin-top: 7px; }
.route-card .route-total { margin-top: auto; padding-top: 15px; color: var(--ink); font: 500 30px/1.15 var(--serif); }
.route-card .route-km { margin: 2px 0 10px; }
.route-card details { padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.route-card details dl { margin: 5px 0 8px; }
.route-card details dl > div { padding: 5px 0; }
.route-card summary { color: var(--ink); font-weight: 700; cursor: pointer; }
.route-card details p { margin-bottom: 7px; font-size: 12px; }
.route-card .text-link { align-self: flex-start; font-size: 13px; }
.trip-calculator { padding: clamp(14px, 3vw, 25px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 43px; font: inherit; font-weight: 500; padding: 7px 9px; border-radius: 8px; border: 1px solid #bfcdbf; background: #fffefa; color: var(--ink); }
.wide, .field-help { grid-column: 1 / -1; }
.field-help { margin: 0; font-size: 12px; color: var(--muted); }
.calc-result .button { margin-top: 6px; }
.calc-result dl { margin: 12px 0 0; color: #e2e9db; font-size: 13px; }
.calc-result dl > div { border-color: #51665b; }
.calc-result #calc-comparison { margin: 13px 0 0; }
.calc-reference { margin: 9px 0 6px; font-size: 12px; color: #d3dfd3; }
.method h2 { font-size: 31px; margin-bottom: 9px; }
.method ul { padding-left: 20px; color: var(--accent-dark); font-size: 14px; }
footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding-block: 21px 33px; color: var(--muted); font-size: 13px; }
footer a { text-underline-offset: 3px; }
@media (max-width: 920px) {
  .route-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trip-hero { gap: 21px; }
  .winter-grid article, .route-card { padding: 16px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 30px); }
  .topbar { gap: 12px; padding-block: 14px; justify-content: flex-start; flex-wrap: wrap; }
  .nav { gap: 15px; font-size: 13px; }
  .topbar > .button { display: none; }
  .trip-hero, .section-heading, .budget-layout, .map-grid, .calculator-layout, .winter-grid { grid-template-columns: 1fr; }
  .trip-hero { padding: 35px 0 38px; }
  .trip-section { padding-block: 32px; }
  .section-heading { gap: 10px; }
  .trip-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 430px) {
  .route-grid { grid-template-columns: 1fr; }
  .trip-calculator { gap: 10px; }
  .trip-calculator .field { grid-column: 1 / -1; }
  .schedule-card > div:first-child .text-link { font-size: 13px; }
  .map-caption { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
