:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --surface: #fffef9;
  --ink: #1d302a;
  --muted: #52615a;
  --line: #dddfd4;
  --forest: #263f34;
  --forest-dark: #182e26;
  --green-lite: #e8eee5;
  --rust: #a13d2e;
  --rust-lite: #f6e7df;
  --masthead-height: 4.65rem;
  --serif: "Songti TC", "Noto Serif CJK TC", "Noto Serif TC", "PMingLiU", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Noto Sans CJK TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

.wrap { width: min(1200px, calc(100% - 3.5rem)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  padding: .6rem 1rem;
  transform: translateY(-150%);
  background: var(--surface);
}

.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  min-height: var(--masthead-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font: 800 1.05rem/1.25 var(--serif);
  letter-spacing: .09em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rust);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--surface);
}

.brand-mark::before {
  width: .68rem;
  height: .68rem;
  clip-path: polygon(0 100%, 34% 14%, 53% 59%, 70% 33%, 100% 100%);
  transform: translateY(-.12rem);
}

.brand-mark::after {
  width: .7rem;
  height: 1px;
  opacity: .9;
  transform: translateY(.41rem);
}

.main-nav { display: flex; align-items: center; gap: .25rem; }

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .9rem;
  border-radius: 2rem;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover { background: var(--green-lite); color: var(--ink); }
.main-nav a[aria-current="page"] { color: #fff; background: var(--forest); }
#nav-foliage-map:not([aria-current]) { box-shadow: inset 0 0 0 1px #e6c9b9; color: var(--rust); }
#nav-foliage-map:hover:not([aria-current]) { background: var(--rust-lite); }

.hero {
  position: relative;
  display: flex;
  isolation: isolate;
  min-height: clamp(350px, 34vw, 448px);
  align-items: flex-end;
  border-radius: .85rem;
  overflow: hidden;
  background: #253a35 url("./images/biwa.webp") center 45% / cover no-repeat;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(12 27 22 / 62%), transparent 72%),
    linear-gradient(90deg, rgb(12 27 22 / 66%), rgb(18 36 28 / 22%) 56%, transparent 85%);
}

.hero-copy { padding: clamp(1.5rem, 5.25vw, 4.25rem); }

.hero-date {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  font: 600 .96rem/1.25 var(--mono);
  letter-spacing: .055em;
  color: #f1f5e8;
}

.hero-date span[aria-hidden] { width: 1.5rem; height: 1px; background: currentColor; }
.hero-year { border-left: 1px solid #fff8; padding-left: .65rem; }

.hero h1 {
  margin-block: .65rem .65rem;
  font: 800 clamp(2.65rem, 6vw, 5rem)/1.17 var(--serif);
  letter-spacing: .11em;
  text-shadow: 0 2px 16px #101c1990;
}

.hero-route { font-size: 1.03rem; font-weight: 650; color: #f2f5ee; }

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 1.45rem;
  padding: .65rem 1rem;
  border: 1px solid #fff8;
  border-radius: .36rem;
  background: #fffef1;
  color: var(--forest-dark);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.hero-action:hover { background: #e9f0e3; }
.hero-action:focus-visible { outline-color: white; }

.hero-caption {
  position: absolute;
  right: 1.1rem;
  bottom: .95rem;
  color: #fff;
  background: #172d26a8;
  border-radius: .25rem;
  padding: .24rem .55rem;
  font-size: .8rem;
  white-space: nowrap;
}

.view { margin-block: clamp(2rem, 4.4vw, 4.15rem); scroll-margin-top: calc(var(--masthead-height) + .75rem); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .45rem 1.25rem;
  margin-bottom: 1.1rem;
}

.section-head h2 {
  font: 800 clamp(1.8rem, 2.75vw, 2.45rem)/1.25 var(--serif);
  letter-spacing: .075em;
}

.section-head p { color: var(--muted); font-size: .88rem; }

.itinerary-layout {
  display: grid;
  grid-template-columns: minmax(13.25rem, .9fr) minmax(0, 3.1fr);
  gap: 1rem;
  align-items: start;
}

.day-nav {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .38rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--surface);
}

.day-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 61px;
  padding: .54rem .51rem;
  border-radius: .35rem;
  text-decoration: none;
}

.day-link + .day-link { border-top: 1px solid #eaece3; }
.day-link:hover { background: #eef0e8; }
.day-link[aria-current="true"] { background: var(--forest); border-top-color: transparent; color: #fff; }
.day-link[aria-current="true"] + .day-link { border-top-color: transparent; }
.day-link[aria-current="true"] .day-week { color: #d6e3d7; }

.day-link-date {
  display: grid;
  text-align: center;
  gap: .13rem;
  flex: 0 0 3.4rem;
  line-height: 1.23;
}

.day-date { font: 700 .9rem/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.day-week { color: var(--muted); font-size: .79rem; }
.day-link-name { font-weight: 750; font-size: .94rem; }
.day-link-feature { box-shadow: inset 3px 0 var(--rust); }
.day-link-feature[aria-current="true"] { box-shadow: inset 3px 0 #e8a083; }

.day-panel {
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--surface);
}

.day-head { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
.day-head-copy { padding: clamp(1.12rem, 3vw, 2.15rem); }
.day-stamp { color: var(--rust); font-size: .9rem; font-weight: 750; }
.day-stamp time { margin-right: .35rem; font: 700 1.04rem/1 var(--mono); }

.day-head h3 {
  margin-block: .5rem .55rem;
  font: 800 clamp(1.55rem, 3vw, 2.2rem)/1.33 var(--serif);
  letter-spacing: .045em;
}

.day-head-copy > p:last-child { color: var(--muted); }
.day-head-image { width: 100%; height: 100%; max-height: 249px; min-height: 175px; object-fit: cover; }
.photo-osaka { object-position: center 58%; }
.photo-biwa { object-position: center 42%; }
.photo-hikone { object-position: center 58%; }

.flight-card {
  padding: 1rem clamp(1.12rem, 3vw, 2.15rem);
  border-top: 1px solid #d9e1d6;
  background: var(--green-lite);
}

.flight-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .3rem .8rem;
  margin-bottom: .55rem;
}

.flight-heading h4 { font-size: 1rem; }
.flight-heading > span { color: var(--muted); font-size: .94rem; }
.flight-heading strong { color: var(--ink); font-family: var(--mono); }

.flight-stops {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(.7rem, 3vw, 2rem);
}

.flight-stop { display: grid; gap: .1rem; font-size: .9rem; }
.flight-stop:last-child { text-align: right; }
.flight-terminal { color: var(--muted); font: 700 .86rem/1 var(--mono); white-space: nowrap; }
.flight-stop time { font: 750 clamp(1.52rem, 4vw, 2.07rem)/1.2 var(--mono); }
.flight-date, .flight-local { color: var(--muted); font-size: .875rem; }
.flight-line { border-top: 1px dashed #7d9686; }
.flight-local { margin-top: .48rem; }

.day-body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(1.12rem, 3vw, 2.15rem);
  border-top: 1px solid var(--line);
}

.minor-heading { margin-bottom: .8rem; font-size: 1.02rem; font-weight: 800; }
.timeline { margin: 0; padding: 0; list-style: none; }

.timeline li {
  position: relative;
  padding: .05rem 0 1.2rem 1.15rem;
  border-left: 1px solid #ccd7cb;
}

.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }

.timeline li::before {
  content: "";
  position: absolute;
  top: .52rem;
  left: -.27rem;
  width: .5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 3px var(--surface);
}

.step-time { color: var(--rust); font-size: .88rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.step-title { margin-block: .08rem .2rem; font-weight: 800; }
.step-detail { color: var(--muted); }

.day-plan { min-width: 0; }
.afternoon-plan { margin-top: 1.5rem; }
.afternoon-list { display: grid; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.day-side { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.fact-box { padding: .85rem; border: 1px solid #e1e5d9; border-radius: .5rem; background: #f1f3eb; }
.fact-box h4 { font-size: .89rem; color: var(--muted); }
.fact-box h4:not(:first-child) { margin-top: .7rem; }
.fact-line { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .55rem; margin-top: .2rem; }
.fact-box p { margin-top: .2rem; }
.stay-note { color: var(--muted); font-size: .92rem; }

.status {
  display: inline-flex;
  border-radius: .25rem;
  background: #e3e9dd;
  color: #325041;
  padding: .04rem .39rem;
  align-items: center;
  font-size: .86rem;
  font-weight: 750;
  white-space: nowrap;
}

.status-pending { background: var(--rust-lite); color: #8b3528; }

.small-link {
  display: inline-block;
  padding-block: .3rem;
  margin-top: .3rem;
  font-size: .89rem;
  color: #2a5041;
  font-weight: 700;
  text-underline-offset: .18em;
}

.small-link:hover { color: var(--rust); }

.parking-guide, .local-transport {
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #f7f8f2;
}

.parking-guide h4, .local-transport h4 { font-size: .95rem; }
.parking-guide ul, .local-transport ul, .leaf-guide ul { padding: 0; margin: 0; list-style: none; }
.parking-guide li + li { margin-top: .55rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.parking-guide .small-link, .local-transport .small-link { margin-top: 0; padding-block: .32rem; }
.parking-guide li p { font-size: .92rem; color: var(--muted); }

.leaf-guide {
  margin-top: 1.55rem;
  padding: .92rem;
  border: 1px solid #e9d5c7;
  border-radius: .5rem;
  background: #fbf1e7;
  color: #633a2f;
}

.leaf-header {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .75rem;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .5rem;
}

.leaf-header span { font-size: .875rem; }
.leaf-guide li + li { margin-top: .55rem; padding-top: .55rem; border-top: 1px solid #e8d6c9; }
.leaf-guide li > strong { margin-right: .45rem; }
.leaf-guide p, .sight-leaves p { margin-top: .25rem; font-size: .91rem; }
.leaf-guide .small-link, .sight-leaves .small-link { margin-top: 0; color: #793c2f; }

.leaf-status {
  display: inline-block;
  padding: .07rem .4rem;
  border-radius: .27rem;
  background: #f1e2d6;
  color: #6e4238;
  font-size: .875rem;
  font-weight: 750;
}

.leaf-status-priority { background: #ecd3bd; color: #703c24; }

.callout {
  border-left: 3px solid var(--rust);
  border-radius: 0 .3rem .3rem 0;
  padding: .6rem .8rem;
  background: #f9ede6;
  color: #653a30;
}

.day-side .callout { font-size: .92rem; }
.route-list { display: grid; gap: .5rem; padding: 0; margin: 0; list-style: none; }

.route-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 49px;
  gap: .55rem;
  padding: .6rem .68rem;
  border: 1px solid #d2ddd0;
  border-radius: .37rem;
  background: #f7f9f4;
  text-decoration: none;
  line-height: 1.45;
}

.route-link:hover { background: #eaf1e6; border-color: #a9c0ad; }
.route-link-main { display: grid; gap: .2rem; min-width: 0; }
.route-link-main strong { font-size: .91rem; }
.route-link-time { color: var(--muted); font-size: .85rem; }
.route-link-action { flex: none; color: #31574a; font-size: .86rem; font-weight: 800; }

.sights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.sight {
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .55rem;
}

.sight-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.sight-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.sight-text-card .sight-body { background: linear-gradient(180deg, #e9eee3, var(--surface) 68%); }
.sight-area { color: var(--rust); font-size: .89rem; font-weight: 760; }
.sight h3 { margin-block: .31rem .5rem; font: 800 1.6rem/1.3 var(--serif); }
.sight-description { color: var(--muted); margin-bottom: 1.05rem; }
.sight-leaves { margin-bottom: .85rem; padding: .63rem .72rem; border-radius: .35rem; background: #fbf1e7; color: #633a2f; }

.sight-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .8rem;
  margin-top: auto;
}

.sight-actions .small-link { margin-top: 0; }

.rental-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .68fr)) auto;
  align-items: center;
  gap: 1rem;
  background: var(--forest);
  border-radius: .53rem;
  color: #fff;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.rental-summary h3 { font-size: 1.05rem; }
.rental-summary p { font-size: .875rem; color: #dce9dd; }
.rental-summary strong { display: block; margin-top: .15rem; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.rental-summary .small-link { color: #fff; margin-top: 0; }
.rental-summary .small-link:hover { color: #ffe0d4; }
.rental-summary .small-link:focus-visible { outline-color: white; }

.driving-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }

.drive-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--surface);
}

.drive-card-feature { border-top: 3px solid var(--rust); }
.drive-card-date { display: inline-block; color: var(--rust); font-weight: 750; }
.drive-card h3 { margin-block: .3rem .8rem; font: 800 1.44rem/1.32 var(--serif); }
.drive-card > p { margin-top: .7rem; color: var(--muted); }
.drive-card > .small-link { margin-top: .45rem; }
.drive-card .parking-guide, .drive-card .local-transport { margin-top: .8rem; }

.foliage-regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
  margin-bottom: .75rem;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: var(--green-lite);
}

.foliage-regions a {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  justify-content: center;
  padding: .35rem .75rem;
  border-radius: .38rem;
  color: var(--forest);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.foliage-regions span { margin-top: .15rem; color: var(--muted); font-size: .77rem; font-weight: 500; }
.foliage-regions a:hover { background: #f4f7f0; }
.foliage-regions a[aria-current="page"] { background: var(--surface); box-shadow: 0 1px 4px #20342a1a; color: var(--rust); }

.foliage-layout { display: grid; grid-template-columns: minmax(0, 2.45fr) minmax(17rem, 1fr); gap: .75rem; align-items: start; }
.foliage-map-frame { isolation: isolate; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: .62rem; background: var(--surface); }
.foliage-map-viewport { position: relative; }
#foliage-canvas { position: relative; z-index: 0; height: clamp(25rem, 47vw, 34rem); background: #f3f1e7; font-family: var(--sans); }
.foliage-map-caption { padding: .48rem .7rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

.foliage-north {
  position: absolute;
  z-index: 1;
  right: .7rem;
  bottom: .55rem;
  color: var(--forest);
  font-size: .8rem;
  font-weight: 800;
  pointer-events: none;
}

.foliage-reference span {
  position: absolute;
  transform: translate(-50%, -50%);
  color: #546c53;
  font: 750 .75rem/1.25 var(--sans);
  white-space: nowrap;
  text-shadow: 0 1px 2px #f5f3e5;
  pointer-events: none;
}

.foliage-reference-water span, .foliage-reference-lake span { color: #4a6971; }
.foliage-reference-lake span { font: 800 1.22rem/1.2 var(--serif); letter-spacing: .16em; }
.foliage-reference-station span { transform: translate(-50%, .42rem); color: #3f554d; }
.foliage-reference-station::before {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: #667d70;
  content: '';
}

.foliage-reset {
  position: absolute;
  z-index: 1;
  top: .65rem;
  left: .65rem;
  min-height: 35px;
  padding: .24rem .58rem;
  border: 1px solid #d4dcd1;
  border-radius: .35rem;
  background: var(--surface);
  color: var(--forest);
  cursor: pointer;
  font-size: .81rem;
  font-weight: 750;
  box-shadow: 0 2px 8px #182e261a;
}

.foliage-reset:hover { background: #f2f6ed; }
.foliage-reset:disabled { visibility: hidden; }

.foliage-map-message {
  position: absolute;
  z-index: 1;
  right: .65rem;
  bottom: 2.1rem;
  left: .65rem;
  width: fit-content;
  margin-inline: auto;
  padding: .35rem .65rem;
  border-radius: .3rem;
  background: var(--surface);
  color: var(--muted);
  font-size: .82rem;
}

.foliage-pin::before {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 1px 4px #1d302a5e;
  content: '';
}

.foliage-pin button {
  position: absolute;
  left: 8px;
  top: 0;
  min-height: 32px;
  transform: translateY(-50%);
  padding: .25rem .53rem;
  border: 1px solid #aebeb1;
  border-radius: .38rem;
  background: var(--surface);
  color: var(--forest-dark);
  box-shadow: 0 2px 7px #20342a2b;
  cursor: pointer;
  font: 800 .82rem/1.2 var(--sans);
  white-space: nowrap;
}

.foliage-pin-left button { right: 8px; left: auto; }
.foliage-pin-above button, .foliage-pin-below button { left: 0; transform: translateX(-50%); }
.foliage-pin-above button { top: auto; bottom: 8px; }
.foliage-pin-below button { top: 8px; }
.foliage-pin button:hover { background: var(--green-lite); }
.foliage-pin-selected::before { background: var(--rust); }
.foliage-pin-selected button, .foliage-pin-selected button:hover { background: var(--rust); border-color: var(--rust); color: #fff; }

.foliage-details { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: .62rem; background: var(--surface); }
.foliage-selection { padding: 1rem 1.05rem; }
.foliage-selection-area { color: var(--rust); font-size: .82rem; font-weight: 750; }
.foliage-selection h3 { margin-block: .27rem .55rem; font: 800 1.68rem/1.25 var(--serif); }
.foliage-selection > p:not(.foliage-selection-area) { color: var(--muted); font-size: .93rem; }
.foliage-season { margin-top: .75rem; padding: .55rem .65rem; border-radius: .38rem; background: #fbf1e7; color: #673b30; font-size: .86rem; }
.foliage-season strong { display: block; margin-bottom: .14rem; }
.foliage-links { display: flex; flex-wrap: wrap; gap: .1rem .59rem; margin-top: .25rem; }

.foliage-stops {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: .78rem 1.05rem;
  border-top: 1px solid var(--line);
  background: #f2f4ec;
  list-style: none;
}

.foliage-stops button {
  min-height: 38px;
  padding: .25rem .59rem;
  border: 1px solid #d3dace;
  border-radius: .35rem;
  background: var(--surface);
  color: var(--forest);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 750;
}

.foliage-stops button:hover { border-color: #a9b9ab; }
.foliage-stops button[aria-pressed="true"] { border-color: #e3c0b0; background: var(--rust-lite); color: var(--rust); }

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.credits { max-width: 32rem; }
.credits summary { width: fit-content; cursor: pointer; font-weight: 700; }
.credits h2 { font-size: .94rem; margin-top: .9rem; }
.credits ul { margin-block: .2rem .6rem; padding-inline-start: 1.3rem; }
.credits a { text-underline-offset: .15em; }
.no-script { padding-inline-start: 1.25rem; }

@media (max-width: 900px) {
  .itinerary-layout { grid-template-columns: minmax(11rem, .88fr) minmax(0, 3.12fr); }
  .day-link { gap: .48rem; }
  .day-link-date { flex-basis: 2.95rem; }
  .day-body { gap: 1rem; }
  .sights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 710px) {
  :root { --masthead-height: 4rem; }
  .wrap { width: calc(100% - 1.7rem); }
  .masthead { gap: .35rem; }
  .brand { font-size: .98rem; letter-spacing: .05em; gap: .4rem; }
  .brand-mark { width: 1.5rem; }
  .main-nav { gap: .05rem; }
  .main-nav a { padding: .35rem .58rem; }
  .hero { min-height: 332px; background-position: 57% 44%; }
  .hero-copy { padding-bottom: 2.6rem; }
  .hero h1 { letter-spacing: .075em; }
  .hero-caption { right: .65rem; bottom: .55rem; font-size: .75rem; }
  .section-head { margin-bottom: .85rem; }
  .itinerary-layout { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .day-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .2rem; }
  .day-link + .day-link { border-top: none; }
  .day-link { flex-direction: column; justify-content: center; gap: .24rem; padding: .35rem .15rem; text-align: center; }
  .day-link-date { flex: none; display: flex; align-items: baseline; gap: .16rem; }
  .day-link-name { font-size: .87rem; line-height: 1.22; }
  .day-link-feature { box-shadow: inset 0 -2px var(--rust); }
  .day-link-feature[aria-current="true"] { box-shadow: inset 0 -2px #e8a083; }
  .rental-summary { grid-template-columns: 1fr 1fr; gap: .6rem .85rem; }
  .rental-summary div:first-child { grid-column: 1 / -1; }
  .rental-summary > a { width: fit-content; }
  .foliage-layout { grid-template-columns: minmax(0, 1fr); }
  #foliage-canvas { height: clamp(21.5rem, 95vw, 28rem); }
}

@media (max-width: 530px) {
  :root { --masthead-height: 3.65rem; }
  .brand { letter-spacing: .02em; }
  .main-nav a { padding-inline: .37rem; font-size: .84rem; }
  .hero { min-height: 308px; }
  .hero::before { background: linear-gradient(0deg, #10231eea, #172c2399 62%, #172c2317); }
  .hero-date { font-size: .88rem; }
  .hero h1 { font-size: clamp(2.15rem, 9.5vw, 3.05rem); }
  .hero-route { font-size: .93rem; }
  .hero-action { margin-top: .95rem; }
  .section-head { flex-wrap: wrap; }
  .day-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .day-link { min-height: 55px; }
  .day-head { grid-template-columns: minmax(0, 1fr); }
  .day-head-image { height: 154px; min-height: 0; }
  .day-body { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .day-side .minor-heading { margin-bottom: .45rem; }
  .sights-grid, .driving-grid { grid-template-columns: minmax(0, 1fr); }
  .sight-image { aspect-ratio: 16 / 8.5; }
  .site-footer { flex-direction: column; gap: .5rem; }
  .foliage-regions a { padding-inline: .34rem; }
  .foliage-regions span { font-size: .7rem; }
}

@media (max-width: 345px) {
  .wrap { width: calc(100% - 1.15rem); }
  .masthead { position: static; flex-wrap: wrap; padding-block: .5rem; }
  .view { scroll-margin-top: .75rem; }
  .main-nav { justify-content: flex-end; margin-left: auto; }
}
