/* Shared by the public site, partner workspace and offline driver view. */
:root {
  color-scheme: light dark;
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Display",
    "Segoe UI", sans-serif;
  --sans: var(--font);
  --serif: var(--font);
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-25: 1.5625rem;
  --fs-31: 1.9375rem;
  --fs-39: 2.4375rem;
  --fs-49: 3.0625rem;
  --fs-61: 3.8125rem;
  --fs-76: 4.75rem;
  --s-8: 0.5rem;
  --s-16: 1rem;
  --s-24: 1.5rem;
  --s-32: 2rem;
  --s-48: 3rem;
  --s-64: 4rem;
  --s-96: 6rem;
  --s-128: 8rem;
  --canvas: light-dark(#fbfbfd, #161617);
  --surface: light-dark(#ffffff, #202022);
  --soft: light-dark(#f0f0f2, #2a2a2d);
  --ink: light-dark(#1d1d1f, #f5f5f7);
  --muted: light-dark(#55555b, #c0c0c5);
  --line: light-dark(#d6d6da, #424247);
  --field: light-dark(#79797f, #8c8c94);
  --accent: light-dark(#ab412a, #ffa58c);
  --on-accent: light-dark(#fff, #2b1510);
  --inverse: #262427;
  --on-inverse: #fff;
  --on-photo: #fff;
  --land: light-dark(#123d32, #0e3028);
  --land-text: #d4e8de;
  --cover-action: #ffc091;
  --cover-ink: #321c11;
  --teal: var(--accent);
  --deep: var(--ink);
  --pale: var(--soft);
  --night: var(--inverse);
  --gold: var(--on-inverse);
  --small: 8px;
  --card: 16px;
  --panel: 32px;
  --pill: 999px;
  --grid: repeat(12, minmax(0, 1fr));
  --gutter: var(--s-24);
  --col-gap: var(--s-16);
  --section: var(--s-96);
  --heading: var(--fs-39);
  --subheading: var(--fs-31);
  --display: var(--fs-49);
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.18, 0.9, 0.32, 1.06);
  --micro: 200ms;
  --change: 480ms;
  --scene: 900ms;
  --shadow: 0 2px 8px rgb(21 19 18 / 0.05), 0 16px 48px rgb(21 19 18 / 0.07);
  --shadow-dialog:
    0 8px 32px rgb(18 18 19 / 0.1), 0 24px 64px rgb(18 18 19 / 0.12);
}
/* Unit-mass spring sampled at stiffness 300 and damping 30. */
@supports (animation-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(
      0,
      0.0862,
      0.2625,
      0.4516,
      0.6176,
      0.7483,
      0.8438,
      0.9093,
      0.9518,
      0.9777,
      0.9924,
      1,
      1.0034,
      1.0043,
      1.0041,
      1.0034,
      1
    );
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
}
@media (min-width: 768px) {
  :root {
    --gutter: var(--s-48);
    --col-gap: var(--s-24);
    --heading: var(--fs-49);
    --display: var(--fs-61);
  }
}
@media (min-width: 1100px) {
  :root {
    --col-gap: var(--s-32);
    --display: var(--fs-76);
    --section: var(--s-128);
  }
}
@media print {
  :root {
    color-scheme: light;
  }
}

@layer components {
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--field);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 15px;
  top: -60px;
  z-index: 9;
  background: var(--surface);
  color: var(--teal);
  padding: var(--s-8);
}
.skip:focus {
  top: 8px;
}
.mast {
  background: var(--surface);
}
.bar,
.tools,
.brand,
.bar nav,
.plan-link,
.lang,
.foot-links,
.foot-brand,
.search-button,
.dialog-actions,
.filters {
  display: flex;
  align-items: center;
}
.bar {
  min-height: 78px;
  gap: var(--s-32);
}
.brand,
.foot-brand {
  gap: var(--s-16);
}
.brand {
  text-decoration: none;
  color: var(--deep);
  font-size: var(--fs-20);
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.13;
  max-width: 355px;
}
.bar nav {
  gap: var(--s-24);
  font-weight: 550;
  font-size: var(--fs-14);
}
.bar nav a,
.foot-links a {
  text-decoration: none;
}
.bar nav a:hover,
.foot-links a:hover,
.foot-links button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tools {
  margin-left: auto;
  gap: var(--s-16);
}
.lang {
  gap: var(--s-8);
  color: var(--teal);
  white-space: nowrap;
}
.lang > span {
  font-size: var(--fs-20);
  line-height: 1;
}
.lang select {
  color: inherit;
  background: var(--surface);
  border: 0;
  max-width: 115px;
  padding: var(--s-8) var(--s-8);
  font-size: var(--fs-14);
}
.plan-link {
  gap: var(--s-8);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--s-8) var(--s-16);
  border-radius: var(--small);
  font-weight: 600;
  font-size: var(--fs-14);
  white-space: nowrap;
}
.plan-link:hover,
.secondary:hover {
  background: var(--pale);
}
.plan-link b {
  font-size: var(--fs-12);
  background: var(--teal);
  color: var(--on-inverse);
  border-radius: 50%;
  padding: 0 var(--s-8);
}
.bookmark {
  display: inline-block;
  width: 12px;
  height: 15px;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.hero-img,
.city-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-img {
  object-fit: cover;
  object-position: 56% 57%;
  z-index: -3;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.city-text strong {
  font-family: var(--font);
  font-weight: 500;
}
h1 {
  max-width: 15.5ch;
  font-size: var(--fs-76);
  line-height: 1.025;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.finder {
  position: relative;
  margin-top: calc(-1 * var(--s-48));
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.85fr) auto;
  align-items: center;
  gap: var(--s-16);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--small);
  box-shadow: var(--shadow);
  padding: var(--s-16) var(--s-16) var(--s-16) var(--s-24);
  min-height: 88px;
}
.finder label {
  display: grid;
  min-width: 0;
  gap: var(--s-8);
}
.finder label > span,
.fields label {
  font-size: var(--fs-12);
  color: var(--muted);
  font-weight: 620;
}
.finder input,
.finder select {
  width: 100%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  padding: var(--s-8) 0;
  min-height: 30px;
  font-size: var(--fs-16);
}
.finder input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.city-field {
  padding-left: var(--s-16);
  border-left: 1px solid var(--line);
}
.primary,
.secondary {
  min-height: 44px;
  padding: var(--s-8) var(--s-16);
  border: 1px solid transparent;
  border-radius: var(--small);
  font-weight: 650;
  line-height: 1.3;
}
.primary {
  color: var(--on-inverse);
  background: var(--teal);
}
.primary:hover {
  background: var(--inverse);
}
.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--teal);
}
.search-button {
  min-width: 135px;
  min-height: 53px;
  gap: var(--s-8);
  justify-content: center;
}
.magnify {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.magnify::after {
  content: "";
  height: 2px;
  width: 7px;
  background: currentColor;
  position: absolute;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
}
.cities,
.catalog {
  scroll-margin-top: 20px;
  padding-top: var(--s-48);
}
h2 {
  font-size: var(--fs-39);
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.section-intro {
  color: var(--muted);
  font-size: var(--fs-16);
  margin-top: var(--s-8);
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-16);
  margin-top: var(--s-24);
}
.city-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--small);
  background: var(--inverse);
  color: var(--on-inverse);
  text-align: left;
  min-height: 250px;
  aspect-ratio: 1.46;
}
.city-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  z-index: -2;
  transition: transform var(--micro) var(--spring);
}
.city-card:hover img {
  transform: scale(1.035);
}
.city-shade {
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(2, 26, 30, 0.93),
    rgba(3, 29, 33, 0.54) 38%,
    transparent 80%
  );
}
.city-text {
  position: absolute;
  left: 19px;
  right: 34px;
  bottom: 16px;
  display: grid;
  gap: var(--s-8);
}
.city-text strong {
  font-size: var(--fs-31);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.city-text > span {
  font-size: var(--fs-14);
  line-height: 1.35;
  color: var(--on-inverse);
}
.city-arrow {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #102c3080;
  color: var(--on-inverse);
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #fff9;
  border-radius: 50%;
}
.catalog {
  padding-bottom: var(--s-64);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-16);
}
.text-button,
.plain,
.foot-links button {
  border: 0;
  background: transparent;
  color: var(--teal);
  padding: var(--s-8) 0;
  font-weight: 650;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.filters {
  flex-wrap: wrap;
  gap: var(--s-8);
  margin: var(--s-24) 0 var(--s-16);
}
.filter {
  border-radius: var(--pill);
  padding: var(--s-8) var(--s-16);
  min-height: 40px;
  color: var(--teal);
  border: 1px solid var(--line);
  background: var(--surface);
}
.filter[aria-pressed="true"] {
  background: var(--teal);
  color: var(--on-inverse);
  border-color: var(--teal);
}
.filter:not([aria-pressed="true"]):hover {
  background: var(--pale);
}
#status:not(:empty) {
  margin: 0 0 var(--s-16);
  color: var(--muted);
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-16);
}
.item-card {
  padding: var(--s-16) var(--s-16);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--small);
}
.item-top {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  color: var(--muted);
  font-size: var(--fs-12);
}
.category {
  background: var(--pale);
  color: var(--ink);
  padding: var(--s-8) var(--s-8);
  border-radius: var(--small);
  font-weight: 620;
}
.category-food {
  background: var(--soft);
  color: var(--ink);
}
.category-tour {
  background: var(--soft);
  color: var(--ink);
}
.item-card h3 {
  font: 600 var(--fs-20)/1.25 var(--font);
  margin: var(--s-8) 0 var(--s-8);
}
.item-card p {
  font-size: var(--fs-14);
  line-height: 1.48;
  color: var(--muted);
  margin: 0 0 var(--s-16);
}
.item-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: var(--s-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--fs-14);
}
.item-bottom > span {
  display: grid;
  color: var(--muted);
}
.item-bottom strong {
  color: var(--ink);
}
.item-bottom small {
  font-size: var(--fs-12);
}
footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-16) var(--s-32);
  padding-block: var(--s-32) var(--s-24);
  font-size: var(--fs-14);
}
.foot-brand {
  color: var(--deep);
  font-size: var(--fs-16);
}
.foot-links {
  gap: var(--s-24);
}
.foot-links button {
  font: inherit;
  color: inherit;
}
.foot small {
  width: 100%;
  color: var(--muted);
}
dialog {
  border: 0;
  border-radius: var(--card);
  width: min(520px, calc(100% - 24px));
  max-height: 88vh;
  color: var(--ink);
  padding: var(--s-32);
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #08272bbb;
}
.modal-open {
  overflow: hidden;
}
.dialog-tools {
  position: absolute;
  right: 14px;
  top: 12px;
}
.dialog-tools button,
.plain {
  border: 0;
  background: transparent;
  font: var(--fs-25)/1 var(--font);
  width: 38px;
  height: 38px;
  color: var(--teal);
}
dialog h2 {
  font-size: var(--fs-31);
  margin: var(--s-8) var(--s-24) var(--s-8) 0;
}
dialog h3 {
  margin: var(--s-16) 0 var(--s-8);
}
dialog p {
  margin: var(--s-8) 0;
  color: var(--muted);
}
.modal-kicker {
  color: var(--teal);
  font-weight: 650;
  font-size: var(--fs-14);
}
.dialog-actions {
  margin-top: var(--s-16);
  flex-wrap: wrap;
  gap: var(--s-8);
}
.fields {
  display: flex;
  gap: var(--s-8);
  flex-wrap: wrap;
  margin: var(--s-16) 0;
}
.fields label {
  flex: 1 1 100px;
  min-width: 0;
  display: grid;
  gap: var(--s-8);
}
.fields input,
.plan-row input {
  padding: var(--s-8);
  border: 1px solid var(--line);
  border-radius: var(--small);
  width: 100%;
  min-width: 0;
  min-height: 42px;
  background: var(--surface);
  color: var(--ink);
}
.price-box,
.notice {
  background: var(--pale);
  padding: var(--s-8) var(--s-16);
  border-radius: var(--small);
  margin: var(--s-16) 0;
}
.price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
}
.notice {
  font-size: var(--fs-14);
}
.wide {
  width: 100%;
  margin-top: var(--s-8);
}
#form-error {
  color: var(--ink);
}
.order-lines {
  margin: var(--s-8) 0;
}
.order-lines div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--line);
}
.order-lines dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.plan-list,
.credit-list {
  padding: 0;
  list-style: none;
}
.plan-row {
  display: flex;
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--line);
}
.plan-row > div {
  flex: 1;
}
.plan-row small,
.credit-list small {
  display: block;
  color: var(--muted);
}
.plan-row label {
  font-size: var(--fs-12);
}
.plan-row input {
  width: 56px;
}
.credit-list li {
  padding: var(--s-8) 0;
  overflow-wrap: anywhere;
}
.credit-list a {
  color: var(--teal);
}
@media (max-width: 900px) {
  .shell {
    width: calc(100% - 52px);
  }
  .bar {
    gap: var(--s-16);
  }
  .bar nav {
    gap: var(--s-8);
  }
  .tools {
    gap: var(--s-8);
  }
  .brand {
    font-size: var(--fs-16);
    max-width: 300px;
  }
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .city-card {
    min-height: 230px;
  }
  .city-text {
    left: 13px;
    right: 13px;
  }
  .city-text > span {
    font-size: var(--fs-12);
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 32px);
  }
  .bar {
    min-height: 64px;
    gap: var(--s-8);
  }
  .bar nav {
    display: none;
  }
  .brand {
    font-size: var(--fs-16);
    max-width: 55%;
    gap: var(--s-8);
  }
  .tools {
    gap: var(--s-8);
  }
  .plan-link {
    padding: var(--s-8) var(--s-8);
    min-height: 38px;
  }
  .plan-link > span {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(100%);
    overflow: hidden;
  }
  .lang select {
    max-width: 87px;
    font-size: var(--fs-12);
  }
  .lang > span {
    display: none;
  }
  .hero-img {
    object-position: 64% 55%;
  }
  h1 {
    font-size: var(--fs-49);
  }
  .finder {
    margin-top: calc(-1 * var(--s-32));
    padding: var(--s-16) var(--s-16);
    gap: var(--s-8);
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }
  .query-field {
    grid-column: 1/-1;
    border-bottom: 1px solid var(--line);
    padding-bottom: var(--s-8);
  }
  .city-field {
    border: 0;
    padding: 0;
  }
  .search-button {
    min-width: 0;
    min-height: 44px;
  }
  .cities,
  .catalog {
    padding-top: var(--s-32);
  }
  .city-grid {
    margin-top: var(--s-16);
    gap: var(--s-8);
    grid-template-columns: 1fr;
  }
  .city-card {
    min-height: 200px;
    aspect-ratio: 2.1;
  }
  .city-text {
    left: 17px;
    right: 45px;
    bottom: 14px;
  }
  .city-text strong {
    font-size: var(--fs-31);
  }
  .city-text > span {
    font-size: var(--fs-14);
  }
  .item-grid {
    grid-template-columns: 1fr;
  }
  .filters {
    margin-top: var(--s-16);
  }
  .foot-links {
    gap: var(--s-16);
    flex-wrap: wrap;
  }
  .foot {
    padding-block: var(--s-24);
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-intro {
    font-size: var(--fs-14);
  }
  dialog {
    padding: var(--s-24) var(--s-16);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
}

@layer components {
html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
.mast {
  background: var(--night);
  color: var(--on-inverse);
}
.mast .brand,
.mast .lang {
  color: var(--on-inverse);
}
.mast .bar {
  min-height: 66px;
  gap: var(--s-48);
}
.mast .brand {
  font-size: var(--fs-20);
  font-weight: 640;
}
.mast .bar nav {
  font-size: var(--fs-14);
  gap: var(--s-24);
}
.mast .lang select {
  color: var(--on-inverse);
  background-color: var(--night);
  border: none;
}
.mast .plan-link {
  color: var(--on-inverse);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: var(--s-8) var(--s-16);
  text-decoration: none;
}
.mast .plan-link:hover {
  background: #ffffff18;
}
.mast .bookmark {
  background: var(--gold);
}
.mast .plan-link b {
  background: var(--soft);
  color: var(--ink);
}
.home .hero-img {
  object-position: 50% 60%;
}
.overline {
  font: 650 var(--fs-12)/1.45 var(--font);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.home h1 {
  font-size: var(--fs-76);
  line-height: 1.01;
  letter-spacing: -.03em;
  max-width: 20ch;
  text-wrap: balance;
  margin: auto;
  text-shadow: none;
}
.route-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: var(--s-8) var(--s-24);
  border-radius: var(--pill);
  font-size: var(--fs-14);
  line-height: 1.22;
  font-weight: 650;
  text-decoration: none;
}
.route-save {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
}
.route-save:hover {
  background: var(--soft);
}
.search-shell {
  position: relative;
  z-index: 2;
}
.home .finder {
  max-width: 960px;
  margin: calc(-1 * var(--s-32)) auto 0;
  min-height: 79px;
  box-shadow: var(--shadow);
  border-radius: var(--card);
  padding: var(--s-8) var(--s-16) var(--s-8) var(--s-24);
}
.home .search-button {
  min-height: 49px;
  border-radius: var(--small);
}
.stories,
.cities,
.catalog {
  padding-top: var(--s-96);
}
.story-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--s-32);
}
.story-head h2 {
  max-width: 18ch;
}
.story-head > p {
  max-width: 40ch;
  color: var(--muted);
  margin: 0 0 var(--s-8);
  line-height: 1.5;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.29fr 1fr 1fr;
  gap: var(--s-24);
  align-items: start;
  margin-top: var(--s-32);
}
.story {
  min-width: 0;
}
.story-image {
  display: block;
  aspect-ratio: 1.14;
  border-radius: var(--card);
  overflow: hidden;
  background: var(--soft);
}
.story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--micro) var(--spring);
}
.story-image:hover img {
  transform: scale(1.035);
}
.story-food .story-image {
  aspect-ratio: 1.18;
}
.story-craft .story-image {
  aspect-ratio: 0.97;
}
.story-bazaar .story-image {
  aspect-ratio: 1.11;
}
.story-copy {
  padding: var(--s-16) var(--s-8) 0;
}
.story-copy .overline,
.directory-lead .overline {
  color: var(--muted);
  font-size: var(--fs-12);
}
.story h3 {
  font: 500 var(--fs-31)/1.1 var(--font);
  letter-spacing: -.03em;
  margin: var(--s-8) 0;
}
.story-copy p {
  color: var(--muted);
  line-height: 1.52;
}
.ink-link,
.rail-link,
.backlink {
  display: inline-block;
  font-weight: 640;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.ink-link {
  margin-top: var(--s-16);
  color: var(--teal);
}
.home .city-card {
  aspect-ratio: 1.18;
  min-height: 235px;
  border-radius: var(--card);
}
.home .city-grid {
  gap: var(--s-16);
}
.home .city-text {
  left: 22px;
  bottom: 22px;
  right: 22px;
}
.home .city-text strong {
  font-size: var(--fs-39);
}
.home .city-text > span {
  max-width: 37ch;
  font-size: var(--fs-14);
}
.home .cities {
  padding-bottom: var(--s-96);
}
.route-feature {
  background: var(--inverse);
  color: var(--on-inverse);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.route-feature:after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 56%;
  opacity: 0.08;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 40px,
      #b6dbbe 41px 42px,
      transparent 43px 81px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0 40px,
      #b6dbbe 41px 42px,
      transparent 43px 81px
    );
  mask-image: linear-gradient(90deg, transparent, #000);
}
.route-inner {
  padding-block: var(--s-64);
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: var(--s-64);
  align-items: center;
}
.route-words .overline {
  color: var(--gold);
  margin-bottom: var(--s-16);
}
.route-words h2 {
  max-width: 14ch;
}
.route-words > p:not(.overline) {
  margin: var(--s-16) 0 var(--s-16);
  max-width: 52ch;
  color: var(--on-inverse);
}
.route-save {
  cursor: pointer;
}
.rail-link {
  color: var(--on-inverse);
  margin: var(--s-16) var(--s-8);
}
.route-diagram {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.route-diagram:before {
  content: "";
  position: absolute;
  inset: 12px 13% auto;
  border-top: 2px dashed var(--line);
}
.route-diagram li {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  flex-direction: column;
  text-align: center;
  min-width: 0;
}
.route-diagram li:before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--soft);
  outline: 4px solid var(--field);
  border: 3px solid var(--field);
  box-sizing: border-box;
  border-radius: 100%;
  margin: var(--s-8) 0 var(--s-16);
}
.route-diagram span {
  color: var(--on-inverse);
  font-size: var(--fs-12);
}
.route-diagram strong {
  font: 500 var(--fs-25)/1.25 var(--font);
  margin-block: var(--s-8);
}
.route-diagram a {
  font-size: var(--fs-14);
  color: var(--on-inverse);
  text-underline-offset: 4px;
  max-width: 16ch;
}
.item-card h3 a {
  text-decoration: none;
}
.item-card a:hover {
  text-decoration: underline;
}
.item-bottom .text-button {
  text-decoration: none;
}
.item-card {
  border-radius: var(--card);
}
.home .catalog {
  padding-bottom: var(--s-96);
}
#all-results {
  display: block;
  margin: var(--s-24) auto 0;
}
.home .filters,
.directory .filters {
  gap: var(--s-8);
}
.directory-main,
.utility-main {
  padding-block: var(--s-48) var(--s-64);
  min-height: 64vh;
}
.directory-lead {
  display: flex;
  align-items: center;
  gap: var(--s-48);
  margin: var(--s-24) 0 var(--s-48);
}
.directory-lead > div {
  flex: 1;
}
.directory-lead > img {
  width: 46%;
  height: clamp(230px, 24vw, 410px);
  object-fit: cover;
  border-radius: var(--card);
}
.directory h1,
.utility-main h1 {
  font: 500 var(--fs-61)/1.02 var(--font);
  letter-spacing: -.03em;
  margin: var(--s-8) 0 var(--s-16);
  max-width: 24ch;
}
.directory-lead p:not(.overline) {
  max-width: 60ch;
  font-size: var(--fs-16);
  line-height: 1.55;
}
.backlink {
  font-size: var(--fs-14);
  color: var(--muted);
}
.detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-16);
  margin: var(--s-24) 0;
}
.detail-actions a.primary {
  text-decoration: none;
}
.detail-actions .ink-link {
  margin: 0;
}
.directory .filter,
.directory .plan-link {
  text-decoration: none;
}
.directory .filters {
  margin-block: var(--s-16);
}
@media (max-width: 880px) {
  .mast .bar nav a:first-child {
    display: none;
  }
  .story-head {
    display: block;
  }
  .story-head > p {
    margin-top: var(--s-8);
  }
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-16);
  }
  .story-grid .story-image {
    aspect-ratio: 1;
  }
  .story h3 {
    font-size: var(--fs-25);
  }
  .route-inner {
    grid-template-columns: 1fr;
    gap: var(--s-32);
  }
  .route-diagram {
    max-width: 590px;
  }
  .home .city-grid {
    gap: var(--s-8);
  }
}
@media (max-width: 650px) {
  .shell {
    width: calc(100% - 36px);
  }
  .mast .bar {
    min-height: 58px;
    gap: var(--s-8);
  }
  .mast .bar nav {
    display: none;
  }
  .mast .tools {
    gap: var(--s-8);
  }
  .mast .brand {
    gap: var(--s-8);
    font-size: var(--fs-14);
    max-width: 45%;
    white-space: normal;
  }
  .mast .lang select {
    max-width: 79px;
    font-size: var(--fs-12);
  }
  .mast .plan-link {
    font-size: var(--fs-12);
    padding: var(--s-8) var(--s-8);
    gap: var(--s-8);
  }
  .mast .plan-link i {
    display: none;
  }
  .home .hero-img {
    object-position: 50% 65%;
  }
  .home h1 {
    font-size: var(--fs-49);
    max-width: 17ch;
    line-height: 1.04;
  }
  .route-save {
    font-size: var(--fs-14);
    padding: var(--s-8) var(--s-16);
  }
  .home .finder {
    margin: var(--s-16) auto 0;
    box-shadow: none;
    padding: var(--s-8) var(--s-16);
    gap: var(--s-8);
    border-radius: var(--small);
  }
  .home .finder .search-button {
    min-height: 42px;
  }
  .stories,
  .cities,
  .catalog {
    padding-top: var(--s-48);
  }
  .story-head h2,
  .route-words h2 {
    font-size: var(--fs-39);
  }
  .story-head > p {
    font-size: var(--fs-16);
  }
  .story-grid {
    display: block;
    margin-top: var(--s-24);
  }
  .story-grid .story-image {
    aspect-ratio: 1.55;
  }
  .story-copy {
    padding: var(--s-16) 0 0;
  }
  .story + .story {
    margin-top: var(--s-32);
  }
  .story h3 {
    font-size: var(--fs-31);
  }
  .home .city-card {
    min-height: 0;
    aspect-ratio: 1.62;
  }
  .home .city-text strong {
    font-size: var(--fs-31);
  }
  .home .city-text {
    bottom: 17px;
    left: 17px;
  }
  .home .cities {
    padding-bottom: var(--s-48);
  }
  .route-inner {
    padding-block: var(--s-48);
  }
  .route-diagram strong {
    font-size: var(--fs-14);
  }
  .route-diagram a {
    font-size: var(--fs-12);
  }
  .directory-lead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-24);
  }
  .directory-lead > img {
    width: 100%;
    height: 230px;
  }
  .directory-main,
  .utility-main {
    padding-block: var(--s-24) var(--s-48);
  }
  .rail-link {
    display: block;
    margin: var(--s-16) 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 650px) {
  .mast .plan-link {
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
  }
  .mast .plan-link i {
    display: inline-block;
    width: 13px;
    height: 16px;
  }
  .mast .plan-link span {
    position: absolute;
    display: block;
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
  }
}

.utility-intro {
  font-size: var(--fs-20);
  max-width: 67ch;
  color: var(--muted);
  margin: var(--s-8) 0 var(--s-16);
}
.utility-main .service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 740px;
  gap: var(--s-16);
}
.service-form label,
.share-link {
  display: grid;
  gap: var(--s-8);
  font-weight: 600;
}
.service-form input,
.service-form select,
.service-form textarea,
.share-link input {
  border: 1px solid var(--line);
  border-radius: var(--small);
  padding: var(--s-8) var(--s-8);
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  min-width: 0;
  max-width: 100%;
}
.service-form .primary {
  width: fit-content;
}
.info-box {
  background: var(--soft);
  padding: var(--s-24) var(--s-24);
  border-radius: var(--card);
  margin: var(--s-24) 0;
  max-width: 830px;
}
.info-box h2,
.utility-main section h2 {
  font-size: var(--fs-31);
}
.info-box p {
  margin: var(--s-8) 0;
}
.info-box a {
  color: var(--teal);
}
.utility-actions,
.view-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16);
}
.share-link {
  margin-top: var(--s-16);
}
.dialog-actions a.primary {
  text-decoration: none;
}
.trip-days {
  list-style: none;
  padding: 0;
  max-width: 760px;
}
.trip-days li {
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}
.trip-days h3 {
  font: 500 var(--fs-31)/1.3 var(--font);
  margin: var(--s-8) 0;
}
.trip-days .overline {
  color: var(--teal);
}
.geo-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--small);
  overflow: hidden;
}
.geo-frame canvas {
  display: block;
  width: 100%;
  height: clamp(240px, 36vw, 450px);
  cursor: pointer;
}
.geo-frame small {
  position: absolute;
  bottom: 4px;
  right: 8px;
  color: var(--muted);
  background: #ffffffdf;
  padding: var(--s-8) var(--s-8);
}
.geo-index {
  padding: 0;
  list-style: none;
  display: flex;
  gap: var(--s-8) var(--s-16);
  flex-wrap: wrap;
  margin: var(--s-8) 0;
}
.geo-index li {
  line-height: 1.2;
}
@media (max-width: 650px) {
  .utility-main .service-form {
    grid-template-columns: 1fr;
  }
  .view-actions {
    gap: var(--s-8);
    text-align: right;
    justify-content: flex-end;
  }
}
@media print {
  .mast,
  footer,
  .utility-actions,
  .backlink,
  .dialog-tools,
  .skip,
  .view-actions,
  .dialog-actions,
  button {
    display: none !important;
  }
  .utility-main,
  .directory-main {
    width: 100% !important;
    max-width: none;
    padding: 0;
  }
  .utility-main h1 {
    font-size: var(--fs-39);
  }
  .trip-days li {
    break-inside: avoid;
  }
  .trip-days a {
    text-decoration: none;
    color: var(--ink);
  }
  .print-note {
    display: block;
  }
  body.modal-open > main,
  body.modal-open > .mast,
  body.modal-open > footer {
    display: none !important;
  }
  dialog[open] {
    display: block !important;
    position: static;
    border: 0;
    width: 100%;
    max-width: none;
    max-height: none;
    box-shadow: none;
  }
  dialog::backdrop {
    background: var(--surface);
  }
}

.desk-gate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-16);
}
.desk-section {
  padding: var(--s-24);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card);
  margin-top: var(--s-16);
  min-width: 0;
}
.desk-section > h2 {
  margin-bottom: var(--s-16);
}
.desk-section h3 {
  font-size: var(--fs-20);
}
.desk-section label {
  font-size: var(--fs-14);
  display: grid;
  gap: var(--s-8);
}
.desk-section .service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--s-16);
}
.desk-gate .service-form,
.desk-section fieldset {
  grid-template-columns: 1fr;
}
.desk-section fieldset {
  padding: var(--s-8);
  border: 1px solid var(--line);
  border-radius: var(--small);
  min-width: 0;
  display: grid;
  gap: var(--s-8);
}
.desk-section fieldset legend {
  font-weight: 650;
}
.desk-section textarea {
  width: 100%;
  min-height: 74px;
}
.desk-bar,
.desk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
  align-items: center;
  margin: var(--s-24) 0 var(--s-8);
}
.desk-bar {
  justify-content: space-between;
}
.work-row {
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--line);
}
.work-row p {
  margin: var(--s-8) 0;
}
.desk-section select,
.desk-section input {
  max-width: 100%;
  min-width: 0;
}
.table-scroll {
  overflow: auto;
  margin-block: var(--s-16);
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
}
.table-scroll th,
.table-scroll td {
  padding: var(--s-8) var(--s-8);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table-scroll th {
  color: var(--muted);
  font-size: var(--fs-12);
}
.ledger-totals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-24);
  margin: var(--s-16) 0;
}
.ledger-totals strong,
.local-receipt small {
  display: block;
}
.work-row .utility-actions {
  margin: var(--s-8) 0;
}
.desk-section .utility-actions {
  margin: var(--s-16) 0;
}
.consent,
.service-form label.consent {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--fs-14);
  margin: var(--s-16) 0;
}
.consent input {
  width: 17px;
  height: 17px;
  flex: none;
}
.price-detail summary {
  cursor: pointer;
  color: var(--teal);
}
.price-detail ul {
  padding-left: var(--s-16);
}
.pay-fields {
  margin: var(--s-16) 0;
}
.fields select {
  padding: var(--s-8);
  border: 1px solid var(--line);
  border-radius: var(--small);
  background: var(--surface);
}
.local-receipt {
  background: var(--pale);
  padding: var(--s-8) var(--s-8);
  overflow-wrap: anywhere;
}
.desk-section > label select {
  width: 100%;
  padding: var(--s-8);
  border-radius: var(--small);
  border: 1px solid var(--line);
  background: var(--surface);
}
.utility-main #desk-status {
  margin: var(--s-8) 0;
  color: var(--teal);
  font-weight: 650;
}
@media (max-width: 820px) {
  .desk-gate {
    grid-template-columns: 1fr;
  }
  .desk-section {
    padding: var(--s-16);
  }
}
@media (max-width: 560px) {
  .desk-section .service-form {
    grid-template-columns: 1fr;
  }
  .table-scroll th,
  .table-scroll td {
    padding: var(--s-8);
  }
}

.availability-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-8) var(--s-24);
  margin: var(--s-16) 0 var(--s-8);
  color: var(--muted);
  font-size: var(--fs-14);
}
.availability-options input {
  accent-color: var(--teal);
}
.availability-options input[type="date"] {
  border: 1px solid var(--line);
  border-radius: var(--small);
  padding: var(--s-8);
}
.partner-strip {
  background: var(--soft);
  padding: var(--s-32) 0;
}
.partner-strip > .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-24);
}
.partner-strip h2 {
  font-size: var(--fs-31);
}
.partner-strip p {
  max-width: 66ch;
  margin-top: var(--s-8);
  color: var(--muted);
}
.partner-strip a {
  border-color: var(--field);
  white-space: nowrap;
}
.detail-source {
  font-size: var(--fs-14) !important;
  color: var(--muted);
  margin: var(--s-8) 0;
}
.scenario-label {
  display: grid;
  margin: var(--s-8) 0;
  gap: var(--s-8);
}
.local-receipt,
.private-link {
  overflow-wrap: anywhere;
}
.utility-main input[type="checkbox"] {
  accent-color: var(--teal);
}
.mast .plan-link:has(i):focus-visible {
  outline-offset: 1px;
}
@media (max-width: 650px) {
  .partner-strip > .shell {
    display: block;
  }
  .partner-strip a {
    margin-top: var(--s-16);
  }
}

.directory .filter[aria-current="page"] {
  background: var(--teal);
  color: var(--on-inverse);
  border-color: var(--teal);
}
@media (max-width: 650px) {
}

.chapter-line {
  color: var(--muted);
  font: 650 var(--fs-14)/1.5 var(--font);
  margin: 0 0 var(--s-8);
}
.city-intro {
  max-width: 40ch;
  color: var(--muted);
}
.city-intro .ink-link {
  margin-top: var(--s-8);
}
.welcome {
  background: var(--soft);
  color: var(--ink);
  padding-block: var(--s-96);
}
.welcome-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.86fr);
  gap: var(--s-64);
  align-items: center;
}
.welcome-portrait {
  margin: 0;
}
.welcome-portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--card);
}
.welcome-portrait figcaption {
  color: var(--muted);
  font-size: var(--fs-12);
  line-height: 1.45;
  margin-top: var(--s-8);
}
.welcome-words h2 {
  font-size: var(--fs-49);
  line-height: 1.04;
  text-wrap: balance;
}
.welcome-story {
  font-size: var(--fs-20);
  line-height: 1.52;
  margin-top: var(--s-16);
}
.welcome-budget {
  border-top: 1px solid var(--line);
  padding-top: var(--s-24);
  margin-top: var(--s-24);
}
.welcome-budget h3 {
  font: 500 var(--fs-31)/1.2 var(--font);
  letter-spacing: -.03em;
  margin: 0;
}
.welcome-budget > p {
  margin: var(--s-8) 0 var(--s-16);
  line-height: 1.52;
}
.welcome-budget label {
  display: block;
  margin-bottom: var(--s-8);
  font-weight: 640;
  font-size: var(--fs-14);
}
.budget-inputs {
  display: flex;
  align-items: stretch;
  gap: var(--s-8);
}
.budget-inputs input {
  border: 1px solid var(--field);
  border-radius: var(--small);
  background: var(--surface);
  color: var(--ink);
  padding: var(--s-8) var(--s-16);
  min-width: 0;
  width: 11em;
  font: inherit;
}
.budget-inputs .primary {
  border-radius: var(--small);
  height: auto;
  min-height: 45px;
}
.welcome-budget .ink-link {
  margin-top: var(--s-16);
}
.budget-state {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-8) var(--s-16);
  padding: var(--s-8) var(--s-16);
  margin: var(--s-8) 0;
  background: var(--soft);
  color: var(--ink);
  border-radius: var(--small);
  width: fit-content;
  font-size: var(--fs-14);
}
.budget-state a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
#empty-walk {
  margin: var(--s-8) 0 var(--s-16);
}
@media (max-width: 820px) {
  .welcome-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-24);
  }
  .budget-inputs {
    flex-wrap: wrap;
  }
  .budget-inputs input {
    flex: 1 1 8em;
  }
}
@media (max-width: 650px) {
  .welcome-inner {
    grid-template-columns: 1fr;
    gap: var(--s-24);
  }
  .welcome-words h2 {
    font-size: var(--fs-39);
  }
  .welcome-budget {
    margin-top: var(--s-16);
    padding-top: var(--s-16);
  }
  .city-intro {
    margin-top: var(--s-8);
  }
  .chapter-line {
    margin: 0 0 var(--s-8);
  }
  .welcome-portrait img {
    border-radius: var(--small);
  }
}

.stop-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
}
.stop-actions button {
  min-width: 28px;
  min-height: 34px;
}
.stop-actions button:disabled {
  opacity: 0.35;
}
.rail-notes {
  margin: var(--s-16) 0 0;
}
.rail-notes summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rail-notes ul {
  padding-left: var(--s-16);
}
.rail-notes li,
.rail-notes p {
  margin: var(--s-8) 0;
}
.rail-notes a {
  color: inherit;
}
.rail-notes time {
  display: block;
  font-size: var(--fs-14);
}
.trip-days small {
  color: var(--muted);
}
@media (max-width: 420px) {
  .stop-row {
    flex-wrap: wrap;
    gap: var(--s-8) var(--s-8);
  }
  .stop-row > div {
    flex-basis: 100%;
  }
}
}

@layer components {
.collection-grid { display:grid; gap:var(--s-16); grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr)); margin-block:var(--s-16); }
.collection-grid .collection-place { display:flex; flex-direction:column; align-items:flex-start; padding:var(--s-24); border:1px solid var(--line); border-radius:var(--card); background:var(--surface); overflow-wrap:anywhere; }
.collection-place h3 { margin-top:0; }
.collection-place .utility-actions { margin-top:auto; padding-top:var(--s-8); }
.collection-place blockquote { margin:var(--s-8) 0 var(--s-16); padding-inline-start:var(--s-16); border-inline-start:3px solid var(--field); }
#collections .check-line {display:flex; align-items:center; gap:var(--s-8);}
#collections .check-line input {width:auto;}
.guide-form .check-line { display:flex; align-items:center; gap:var(--s-8); }
.guide-form .check-line input { width:auto; }
#ai-itinerary [data-preview]:not(:empty) { margin-top:var(--s-24); }
#ai-itinerary [data-replacement] { max-width:28rem; margin-block:var(--s-8); }
.second-route {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1.3fr;
  align-items: center;
  gap: var(--s-48);
  padding-block: var(--s-48);
}
.second-route img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: var(--card);
}
.second-route h2,
.journey-section h2 {
  font-family: var(--font);
  line-height: 1.12;
}
.second-route p {
  margin-block: var(--s-16);
}
.journey-section {
  margin: var(--s-32) 0;
  padding: var(--s-24);
  border: 1px solid var(--line);
  border-radius: var(--card);
  background: var(--surface);
  color: var(--ink);
}
.journey-section .fields,
.journey-grid,
#managed-fields .fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: var(--s-16);
}
.journey-section label,
#managed-fields label {
  display: grid;
  gap: var(--s-8);
  align-content: start;
}
.journey-section input,
.journey-section select,
#managed-fields input,
#managed-fields select {
  font: inherit;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding: var(--s-8);
  border: 1px solid var(--field);
  border-radius: var(--small);
  background: var(--surface);
  color: var(--ink);
}
.journey-card {
  border-top: 1px solid var(--line);
  padding: var(--s-16) 0;
  overflow-wrap: anywhere;
}
.journey-card h3 {
  margin: 0 0 var(--s-8);
}
.journey-card p {
  margin: var(--s-8) 0;
}
.journey-actions {
  display: flex;
  gap: var(--s-16);
  align-items: center;
  flex-wrap: wrap;
}
.journey-section button {
  margin-block: var(--s-8);
}
.journey-section [role="status"] {
  min-height: 1.3rem;
}
.journey-section fieldset {
  min-width: 0;
}
.journey-section :focus-visible {
  outline: 3px solid var(--field);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .second-route {
    grid-template-columns: 1fr;
  }
  .utility-main {
    min-width: 0;
  }
  .journey-section {
    padding: var(--s-16);
  }
  .journey-section .fields {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  }
}
.host-visit {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 1.5fr;
  gap: var(--s-24);
}
.host-visit img {
  width: 100%;
  height: auto;
  border-radius: var(--card);
}
.driver-display {
  font:
    var(--fs-16)/1.5 system-ui,
    sans-serif;
  color: var(--ink);
  margin: 0;
  background: var(--surface);
}
.driver-display main {
  max-width: 44rem;
  margin: auto;
  padding: var(--s-48);
}
.driver-display button {
  font: inherit;
  padding: var(--s-8);
  border: 1px solid var(--field);
  border-radius: var(--small);
  background: var(--surface);
}
.guide-panel {
  margin-block: var(--s-16);
  max-width: 48rem;
  color: var(--ink);
}
.guide-panel > summary {
  cursor: pointer;
  font-size: var(--fs-16);
  font-weight: 700;
  padding-block: var(--s-8);
}
.guide-card .guide-panel > summary { font-size: var(--fs-25); }
.guide-form { display: grid; gap: var(--s-16); margin-top: var(--s-8); }
.guide-form label { display: grid; gap: var(--s-8); font-size: var(--fs-16); font-weight: 600; }
.guide-form :is(textarea,select,input) {
  width: 100%; min-width: 0; padding: var(--s-8) var(--s-16); font: inherit;
  border: 1px solid var(--field); border-radius: var(--small); background: var(--surface); color: var(--ink);
}
.guide-form textarea { resize: vertical; }
.guide-suggestions,.guide-links,.guide-options { display:flex; flex-wrap:wrap; gap:var(--s-8); }
.guide-options label { flex:1 1 9rem; }
.guide-suggestions button {
  border: 1px solid var(--line); border-radius: var(--card); background: var(--surface);
  color: var(--ink); padding: var(--s-8) var(--s-8); cursor:pointer; font: inherit; font-size: var(--fs-14);
}
.guide-form button[type=submit] { justify-self: start; }
.guide-result:not(:empty) { margin-top: var(--s-16); padding: var(--s-16) var(--s-16); border-left: 3px solid var(--field); background: var(--soft); }
.guide-result p { margin: var(--s-8) 0 var(--s-8); }
.guide-answer { font-size: var(--fs-16); white-space: pre-line; }
.guide-sources,.guide-note { font-size: var(--fs-14); overflow-wrap:anywhere; }
.driver-display a {
  color: var(--ink);
}
.driver-display p {
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .host-visit {
    grid-template-columns: 1fr;
  }
}
}

@layer components {
.exp-main {
  padding-block: var(--s-48);
  color: var(--ink);
}
.exp-heading,
.exp-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--s-64);
  align-items: center;
  margin-bottom: var(--s-48);
}
.exp-heading h1,
.exp-lead h1 {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.03em;
  font-size: var(--fs-61);
  margin: 0 0 var(--s-16);
}
.exp-heading > div > p,
.exp-intro {
  font-size: var(--fs-20);
  line-height: 1.6;
  margin: 0 0 var(--s-16);
}
.exp-index-photo {
  margin: 0;
}
.exp-index-photo > a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--card);
  background: var(--inverse);
  color: var(--on-inverse);
}
.exp-index-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.93;
  object-fit: cover;
  display: block;
}
.exp-index-photo span {
  position: absolute;
  inset: auto 0 0;
  padding: var(--s-48) var(--s-16) var(--s-16);
  color: var(--on-inverse);
  font-weight: 650;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.87));
}
.exp-index-photo figcaption {
  text-align: end;
  font-size: var(--fs-12);
  margin-top: var(--s-8);
}
.exp-method {
  border-inline-start: 2px solid var(--field);
  padding-inline-start: var(--s-24);
  line-height: 1.7;
  max-width: 34rem;
}
.exp-kicker {
  color: var(--muted);
  font-weight: 650;
  font-size: var(--fs-14);
  margin: 0 0 var(--s-8);
}
.exp-filters,
.exp-add {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--s-16);
  margin: var(--s-24) 0 var(--s-32);
}
.exp-filters label,
.exp-add label {
  display: grid;
  gap: var(--s-8);
  font-weight: 650;
}
.exp-filters select,
.exp-add input {
  font: inherit;
  border: 1px solid var(--field);
  border-radius: var(--small);
  padding: var(--s-8);
  background: var(--surface);
  color: var(--ink);
  min-height: 2.65rem;
  max-width: 100%;
}
.exp-grid {
  display: grid;
  gap: var(--s-24);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.exp-card {
  min-width: 0;
}
.exp-cover {
  display: block;
  border-radius: var(--card);
  overflow: hidden;
  background: var(--soft);
}
.exp-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.49;
  object-fit: cover;
  display: block;
}
.exp-card-copy {
  padding: var(--s-16) var(--s-8) var(--s-8);
}
.exp-card :is(h2, h3),
.exp-compare h3 {
  font:
    normal var(--fs-25)/1.2 var(--font);
  margin: 0 0 var(--s-8);
}
.exp-card :is(h2, h3) a,
.exp-compare h3 a {
  text-decoration: none;
  color: var(--ink);
}
.exp-card :is(h2, h3) a:hover,
.exp-compare h3 a:hover {
  text-decoration: underline;
}
.exp-card p:last-child,
.exp-reading p,
.exp-compare p {
  line-height: 1.65;
}
.exp-shelf {
  margin-block: var(--s-64);
}
.exp-shelf .story-head {
  margin-bottom: var(--s-24);
}
.exp-shelf .ink-link {
  display: inline-block;
  margin: var(--s-8) 0;
}
.exp-compare {
  margin-block: var(--s-64) var(--s-16);
  background: var(--soft);
  border-radius: var(--card);
  padding: var(--s-32);
}
.exp-compare h2,
.exp-reading h2 {
  font:
    normal var(--fs-31)/1.2 var(--font);
  margin: 0 0 var(--s-8);
}
.exp-compare article {
  padding: var(--s-16) 0 var(--s-8);
  border-top: 1px solid var(--line);
}
.exp-main .backlink {
  display: inline-block;
  margin-bottom: var(--s-24);
}
.exp-photo {
  margin: 0;
}
.exp-photo img {
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: contain;
  border-radius: var(--card);
  display: block;
}
.exp-photo figcaption {
  font-size: var(--fs-12);
  color: var(--muted);
  margin-top: var(--s-8);
  overflow-wrap: anywhere;
}
.exp-reading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--s-64);
}
.exp-reading section,
.exp-reading .exp-add {
  margin: 0 0 var(--s-32);
}
.exp-reading p {
  margin: var(--s-8) 0 var(--s-16);
}
.exp-verdict,
.exp-review {
  padding: var(--s-24);
  border-radius: var(--card);
  background: var(--soft);
}
.exp-review {
  background: var(--soft);
}
.exp-add {
  align-items: center;
}
.exp-add h2,
.exp-add p {
  width: 100%;
}
.exp-add input {
  max-width: 6rem;
}
@media (max-width: 850px) {
  .exp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .exp-heading,
  .exp-lead,
  .exp-reading {
    grid-template-columns: minmax(0, 1fr);
  }
  .exp-method {
    max-width: none;
  }
  .exp-photo img {
    max-height: 32rem;
  }
}
@media (max-width: 540px) {
  .exp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .exp-filters > * {
    width: 100%;
  }
  .exp-heading h1,
  .exp-lead h1 {
    font-size: var(--fs-49);
  }
  .exp-kicker {
    margin-bottom: var(--s-8);
  }
}
}

@layer components {
.j-mast-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--s-48);
  align-items: center;
}
.j-mast-row .j-editors {
  margin: 0;
  border: 0;
  border-inline-start: 1px solid var(--line);
  padding: var(--s-8) 0 var(--s-8) var(--s-24);
}
.j-mast-row .j-editors h2 {
  font-size: var(--fs-25);
  margin: var(--s-8) 0 var(--s-8);
}
.j-mast-row .j-editors > div {
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
.j-mast-row .j-editors small {
  margin: 0;
}
.j-mast-row .j-avatar {
  width: 3.1rem;
  height: 3.1rem;
}
.j-mast-row .j-desk-bio {
  font-size: var(--fs-14);
  max-width: 44ch;
}
.j-mast-row .j-editors a {
  align-items: center;
}
@media (max-width: 760px) {
  .j-mast-row {
    display: block;
  }
  .j-mast-row .j-heading {
    margin-bottom: var(--s-24);
  }
  .j-mast-row .j-editors {
    padding: var(--s-8) 0;
    margin-bottom: var(--s-16);
    border: 0;
    border-block: 1px solid var(--line);
  }
  .j-mast-row .j-editors h2 {
    font-size: var(--fs-16);
  }
  .j-mast-row .j-editors > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .j-mast-row .j-editors .j-desk-bio,
  .j-mast-row .j-editors small {
    display: none;
  }
  .j-mast-row .j-editors a {
    flex-flow: column;
    gap: var(--s-8);
    font-size: var(--fs-14);
  }
  .j-mast-row .j-editors .j-avatar {
    width: 2.8rem;
    height: 2.8rem;
  }
  .j-mast-row .j-editors h2 {
    color: var(--muted);
  }
}
.j-mobile-nav {
  display: none;
}
@media (max-width: 760px) {
  .j-mobile-nav {
    display: flex;
    justify-content: center;
    gap: var(--s-24);
    padding: var(--s-8) var(--s-8);
    border-top: 1px solid var(--field);
  }
  .j-mobile-nav a {
    color: var(--on-inverse);
    text-decoration: none;
    font-size: var(--fs-14);
  }
  .j-mobile-nav a:hover {
    text-decoration: underline;
  }
}
.j-main {
  padding-block: var(--s-48);
  color: var(--ink);
}
.j-main h1 {
  font:
    400 var(--fs-61)/1.04 var(--font);
  letter-spacing: -.03em;
  margin: var(--s-8) 0;
}
.j-main h2,
.j-shelf h2 {
  font:
    400 var(--fs-31)/1.14 var(--font);
  color: var(--ink);
}
.j-heading {
  display: flex;
  align-items: center;
  gap: var(--s-16);
  margin-bottom: var(--s-32);
}
.j-heading > div > p,
.j-shelf > p {
  max-width: 65ch;
  line-height: 1.6;
}
.j-tools,
.j-filter,
#j-plan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-16);
}
.j-filter {
  margin: var(--s-16) 0 var(--s-32);
  align-items: flex-end;
}
.j-main label,
.j-desk label {
  display: grid;
  gap: var(--s-8);
  font-weight: 600;
}
.j-main :is(input, select, textarea),
.j-desk textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--field);
  border-radius: var(--small);
  padding: var(--s-8) var(--s-8);
  background: var(--surface);
  max-width: 100%;
  min-width: 0;
}
.j-grid {
  display: grid;
  gap: var(--s-24);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.j-card {
  border: 1px solid var(--line);
  border-radius: var(--card);
  overflow: hidden;
  background: var(--surface);
  min-width: 0;
}
.j-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 1.64;
  height: auto;
  object-fit: cover;
}
.j-card-in {
  padding: var(--s-16);
}
.j-card h2 {
  font:
    400 var(--fs-25)/1.16 var(--font);
  margin: var(--s-8) 0;
}
.j-card-in p {
  overflow-wrap: anywhere;
  line-height: 1.52;
}
.j-card h2 a,
.j-editors a,
.j-by {
  text-decoration: none;
  color: var(--ink);
}
.j-card h2 a:hover,
.j-editors a:hover strong,
.j-by:hover strong {
  text-decoration: underline;
}
.j-eyebrow,
.j-disclosure,
.j-card small,
.j-by small,
.j-editors small,
.j-story-cover figcaption {
  color: var(--muted);
  font-size: var(--fs-14);
}
.j-by {
  display: inline-flex;
  gap: var(--s-8);
  align-items: center;
}
.j-by span,
.j-editors span {
  display: grid;
}
.j-avatar {
  flex: none;
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  object-fit: cover;
}
.j-heading > .j-avatar {
  width: clamp(4rem, 10vw, 8rem);
  height: auto;
}
.j-shelf {
  margin-block: var(--s-64);
}
.j-shelf > .ink-link {
  display: inline-block;
  margin-top: var(--s-16);
}
.j-shelf .story-head {
  align-items: center;
}
.j-editors {
  margin: var(--s-48) 0 var(--s-16);
  border-top: 1px solid var(--line);
  padding-top: var(--s-16);
}
.j-editors > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-24);
}
.j-editors a {
  display: flex;
  gap: var(--s-16);
  align-items: flex-start;
  line-height: 1.4;
}
.j-editors .j-avatar {
  width: 4.25rem;
  height: 4.25rem;
}
.j-editors small {
  margin-bottom: var(--s-8);
}
.j-article,
.j-compose {
  max-width: 780px;
  margin: var(--s-16) auto;
}
.j-article h1,
.j-prose,
.j-stops,
.j-mine {
  overflow-wrap: anywhere;
}
.j-story-cover {
  margin: var(--s-24) 0;
}
.j-story-cover img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  display: block;
  background: var(--soft);
  border-radius: var(--card);
}
.j-story-cover figcaption {
  margin: var(--s-8) 0;
}
.j-prose p {
  white-space: pre-line;
  line-height: 1.75;
}
.j-intro {
  font-size: var(--fs-20);
}
.j-stops,
.j-desk article {
  background: var(--soft);
  border-radius: var(--card);
  padding: var(--s-24);
  margin: var(--s-32) 0;
}
.j-stops li,
.j-compose li {
  margin: var(--s-8) 0;
}
.j-stops small {
  display: inline-block;
  color: var(--muted);
}
.j-flag,
.j-compose details {
  margin: var(--s-16) 0;
}
.j-flag summary,
.j-compose summary,
.j-desk summary {
  cursor: pointer;
  color: var(--ink);
}
.j-compose,
.j-flag form {
  display: grid;
  gap: var(--s-16);
}
.j-compose fieldset {
  border: 1px solid var(--line);
  border-radius: var(--small);
  padding: var(--s-16);
  min-width: 0;
}
.j-compose fieldset > button,
.j-compose details > button {
  margin: var(--s-8) 0;
}
.j-compose :is(input, textarea, select) {
  width: 100%;
}
.j-compose input[type="checkbox"] {
  width: 1.3rem;
}
.j-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-16);
}
.j-remove {
  margin-inline-start: var(--s-8);
}
.j-mine article {
  border-top: 1px solid var(--line);
  padding: var(--s-16) 0;
}
.j-mine h2 {
  margin: var(--s-8) 0;
}
.j-desk {
  padding: var(--s-16) 0;
}
.j-desk article {
  margin: var(--s-16) 0;
}
.j-desk button,
.j-desk a {
  margin: var(--s-8) var(--s-8) var(--s-8) 0;
}
.j-desk textarea {
  display: block;
  width: 100%;
}
#j-plan input {
  max-width: 5rem;
}
.j-main .primary,
.j-main .secondary,
.j-desk button {
  cursor: pointer;
}
.j-main a:focus-visible,
.j-main button:focus-visible {
  outline: 3px solid var(--field);
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .j-grid,
  .j-editors > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .j-grid,
  .j-editors > div,
  .j-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .j-filter label {
    flex: 1;
    min-width: 8rem;
  }
  .j-filter select {
    width: 100%;
  }
  .j-shelf {
    margin-block: var(--s-32);
  }
  .j-article h1 {
    font-size: var(--fs-39);
  }
  .j-main {
    padding-block: var(--s-32);
  }
  .j-tools {
    row-gap: var(--s-8);
  }
}
}

/* Shared typography and interaction */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--s-24);
  background: var(--canvas);
}
body {
  background: var(--canvas);
  color: var(--ink);
  font: 400 var(--fs-16)/1.5 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6,
.city-text strong {
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: -0.035em;
  text-wrap: balance;
  line-height: 1.08;
  color: inherit;
}
h1 {
  font-size: var(--heading);
  max-width: 24ch;
}
h2 {
  font-size: var(--subheading);
}
h3 {
  font-size: var(--fs-25);
}
h4 {
  font-size: var(--fs-20);
}
p,
blockquote {
  font-size: var(--fs-16);
  line-height: 1.5;
  text-wrap: pretty;
  max-width: 65ch;
}
small,
figcaption,
.overline,
.chapter-line,
.exp-kicker,
.j-eyebrow,
.category {
  font-family: var(--font);
  font-size: var(--fs-14);
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}
button,
input,
select,
textarea,
summary {
  font-family: var(--font);
}
button,
select,
summary {
  cursor: pointer;
}
table,
.item-bottom,
.budget-inputs,
.route-diagram,
.plan-link b,
input[type="number"],
time {
  font-variant-numeric: tabular-nums;
}
a {
  text-underline-offset: 0.2em;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  background: var(--ink);
  color: var(--canvas);
}
.shell {
  width: min(1200px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  max-width: none;
}
.ui-icon {
  display: inline-block;
  flex: none;
  width: var(--s-24);
  height: var(--s-24);
  vertical-align: middle;
}
a.primary,
button.primary,
.route-save,
.secondary,
.plan-link,
.filter,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  padding: var(--s-8) var(--s-16);
  min-height: var(--s-48);
  border: 0;
  border-radius: var(--small);
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: transform var(--micro) var(--spring);
  text-align: center;
}
a.primary,
button.primary,
.route-save {
  background: var(--accent);
  color: var(--on-accent);
}
.secondary,
.plan-link,
.filter,
.theme-toggle {
  background: var(--soft);
  color: var(--ink);
}
button:disabled,
button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
a.ink-link,
.backlink,
.text-button,
.quiet-link {
  color: var(--accent);
  font-size: var(--fs-16);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
a:active,
button:not(:disabled):active {
  transform: scale(0.97);
}
:is(.primary, .secondary, .plan-link, .route-save) {
  position: relative;
  isolation: isolate;
}
:is(.primary, .secondary, .plan-link, .route-save)::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity var(--micro) var(--ease-enter);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.primary, .secondary, .plan-link, .route-save):not(
      :disabled
    ):hover::before {
    opacity: 1;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(
      .primary,
      .secondary,
      .plan-link,
      .theme-toggle,
      .route-save,
      .filter
    ):not(:disabled):hover {
    transform: scale(1.02);
  }
  a:is(.quiet-link, .ink-link, .backlink):hover {
    text-decoration-thickness: 2px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :is(
      .primary,
      .secondary,
      .plan-link,
      .theme-toggle,
      .route-save,
      .filter
    ):not(:disabled):active {
    transform: scale(0.97);
  }
}
.type-keep {
  display: inline;
  white-space: nowrap;
}
.more-nav {
  position: relative;
  margin-left: auto;
  font-size: var(--fs-14);
  color: var(--ink);
}
.more-nav summary {
  display: flex;
  gap: var(--s-8);
  align-items: center;
  white-space: nowrap;
  font-weight: 550;
  list-style: none;
}
.more-nav summary::-webkit-details-marker {
  display: none;
}
.more-nav .ui-icon {
  width: var(--s-16);
  height: var(--s-16);
}
.more-nav[open] summary svg {
  transform: rotate(180deg);
}
.more-nav[open] > nav {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 5;
  min-width: 12rem;
  background: var(--surface);
  border-radius: var(--small);
  box-shadow: var(--shadow);
  display: grid;
  gap: var(--s-8);
  padding: var(--s-16);
}
.more-nav nav a {
  display: block;
  padding: var(--s-8);
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-24);
  margin-top: var(--s-24);
}
/* Masthead */
.mast {
  background: var(--canvas);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mast .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-8);
  min-height: var(--s-64);
}
.mast .brand,
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--fs-16);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
  max-width: none;
}
.brand-symbol {
  width: var(--s-32);
  height: var(--s-32);
  color: var(--accent);
}
.mast .brand span {
  max-width: 15ch;
  min-width: 0;
}
.mast .tools {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin: 0;
}
.mast .lang select {
  background: var(--canvas);
  color: var(--ink);
  border: 0;
  padding: var(--s-8) 0;
  max-width: var(--s-96);
  font-size: var(--fs-14);
  min-height: var(--s-48);
}
.mast .plan-link,
.mast .theme-toggle {
  padding: var(--s-8);
  min-width: var(--s-32);
  min-height: var(--s-48);
  background: transparent;
  border: 0;
  color: var(--ink);
  border-radius: var(--small);
  font-size: var(--fs-14);
}
.mast .plan-link svg,
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.mast .plan-link span {
  display: none;
}
.mast .plan-link b {
  background: var(--ink);
  color: var(--surface);
  font-size: var(--fs-12);
  border-radius: var(--pill);
}
@media (max-width: 767px) {
  .mast .plan-link b {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    padding: 0;
    min-width: var(--s-16);
    line-height: var(--s-16);
    text-align: center;
  }
}
.theme-toggle .sun-icon,
:root[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}
.mast .bar nav {
  display: none;
}
.j-mobile-nav {
  display: flex;
  justify-content: flex-start;
  gap: var(--s-24);
  width: min(1200px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 0 0 var(--s-8);
  border: 0;
}
.j-mobile-nav a,
.mast nav a {
  font-size: var(--fs-14);
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
}
.j-mobile-nav a:hover,
.mast nav a:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .mast .bar {
    min-height: var(--s-64);
  }
  .mast .brand {
    font-size: var(--fs-20);
  }
  .mast .brand span {
    max-width: none;
  }
  .mast .plan-link span {
    display: inline;
  }
  .mast .plan-link {
    background: var(--soft);
    padding-inline: var(--s-16);
  }
}
@media (min-width: 1050px) {
  .mast .bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--s-32);
  }
  .mast .bar nav {
    display: flex;
    justify-content: center;
    gap: var(--s-24);
  }
  .j-mobile-nav {
    display: none;
  }
}
@media (max-width: 359px) {
  .mast .brand-symbol {
    display: none;
  }
  .mast .bar,
  .mast .tools {
    gap: 0;
  }
  .mast .brand span {
    font-size: var(--fs-14);
  }
  .album-words h1 {
    --display: var(--fs-39);
  }
}
/* A photograph fills the cover. Keep the headline and controls readable across all frames. */
.album-hero {display:block; position:relative; height:auto; min-height:0; padding-block:var(--s-16) 0; background:none; color:var(--ink); overflow:visible}
.album-poster {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: var(--grid);
  align-content: end;
  min-height: 30rem;
  overflow: hidden;
  border-radius: var(--panel);
  background: var(--land);
  color: var(--on-photo);
}
.album-view {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.album-view a,
.album-view picture,
.album-view .hero-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.album-view a:focus-visible {
  outline-offset: -6px;
  z-index: 1;
}
.album-view .hero-img {
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
}
.album-poster::after {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgb(8 21 18/0.96),
    rgb(8 21 18/0.82) 31%,
    rgb(8 21 18/0.43) 64%,
    transparent 89%
  );
}
.album-words {
  position: relative;
  z-index: 2;
  grid-column: 1/-1;
  min-width: 0;
  padding: var(--s-24);
  pointer-events: none;
}
.album-words h1 {
  font: 680 var(--display)/1.05 var(--font);
  letter-spacing: -0.04em;
  color: var(--on-photo);
  margin: 0 0 var(--s-16);
  max-width: 15ch;
  text-align: start;
  text-shadow: none;
}
.album-intro {
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--on-photo);
  margin: 0;
  max-width: 38ch;
}
.album-actions {
  display: flex;
  align-items: center;
  gap: var(--s-8) var(--s-24);
  flex-wrap: wrap;
  margin-top: var(--s-24);
}
.album-actions a {
  pointer-events: auto;
  font-size: var(--fs-14);
  min-height: var(--s-48);
}
.album-actions .primary {
  background: var(--cover-action);
  color: var(--cover-ink);
  padding: var(--s-8) var(--s-16);
  border-radius: var(--small);
}
.album-actions .quiet-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  color: var(--on-photo);
  text-decoration-color: rgb(255 255 255/0.68);
}
.album-actions .ui-icon,
.album-place .ui-icon,
.more-nav .ui-icon,
.mast .blog-nav .ui-icon,
.front-all .ui-icon,
.front-write .ui-icon {
  width: var(--s-16);
  height: var(--s-16);
}
.album-actions a:focus-visible,
.landscape-band a:focus-visible {
  outline-color: var(--cover-action);
}
.album-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  min-height: var(--s-64);
  font-size: var(--fs-14);
}
.album-place {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  color: var(--ink);
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none;
}
.album-place:hover {
  text-decoration: underline;
}
.album-place .ui-icon {
  color: var(--accent);
}
.album-controls {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  flex: none;
}
.album-controls[hidden] {
  display: none;
}
.album-controls button {
  background: transparent;
  color: var(--accent);
  border: 0;
  border-radius: var(--small);
  position: relative;
  display: grid;
  place-items: center;
  padding: var(--s-8) 0;
  min-height: var(--s-48);
}
.album-controls img {
  width: var(--s-32);
  height: var(--s-24);
  display: block;
  object-fit: cover;
  border-radius: var(--small);
  opacity: 0.64;
}
.album-controls button[aria-pressed="true"] img,
.album-controls button:hover img {
  opacity: 1;
}
.album-controls button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset-inline: var(--s-8);
  bottom: 2px;
  height: 2px;
  background: currentColor;
}
.mast a.blog-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  font-weight: 650;
}
.mast a.blog-nav .ui-icon {
  color: var(--accent);
}
.j-mobile-nav {
  align-items: center;
  gap: var(--s-16);
}
@media (max-width: 359px) {
  .j-mobile-nav {
    gap: var(--s-8);
  }
  .j-mobile-nav > .mobile-experiences {
    display: none;
  }
}
@media (max-width: 699px) {
  .album-hero.shell {
    width: 100%;
    padding-top: 0;
  }
  .album-poster {
    border-radius: 0;
    min-height: 24rem;
  }
  .album-caption {
    margin-inline: var(--gutter);
    padding: var(--s-8) 0;
  }
}
@media (min-width: 700px) {
  .album-poster {
    min-height: 32rem;
  }
  .album-words {
    grid-column: 1/10;
    padding: var(--s-48);
  }
  .album-poster::after {
    background:
      linear-gradient(
        90deg,
        rgb(7 24 19/0.85),
        rgb(7 24 19/0.76) 26%,
        rgb(7 24 19/0.43) 49%,
        transparent 75%
      ),
      linear-gradient(0deg, rgb(4 20 14/0.17), transparent 36%);
  }
  .album-intro {
    font-size: var(--fs-20);
    max-width: 36ch;
  }
  .album-actions a,
  .album-caption {
    font-size: var(--fs-16);
  }
  .album-controls img {
    width: var(--s-48);
    height: var(--s-32);
  }
}
@media (min-width: 1050px) {
  .album-poster {
    min-height: 33rem;
  }
  .album-words {
    grid-column: 1/8;
  }
  .album-words h1 {
    max-width: 14ch;
  }
}

/* Search is a separate, grounded tool. */
.search-shell {
  z-index: auto;
}
.home .finder {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: var(--grid);
  align-items: end;
  gap: var(--s-16);
  background: var(--soft);
  border: 0;
  border-radius: var(--card);
  box-shadow: none;
  padding: var(--s-16);
  min-height: 0;
}
.finder .query-field {
  grid-column: 1/-1;
}
.finder .city-field {
  grid-column: 1/8;
}
.finder .search-button {
  grid-column: 8/-1;
}
.finder label {
  gap: 0;
}
.finder label > span {
  font-size: var(--fs-12);
  color: var(--muted);
}
.finder input,
.finder select {
  background: transparent;
  color: var(--ink);
  padding: var(--s-8) 0;
  font-size: var(--fs-16);
  min-height: var(--s-32);
}
.finder input::placeholder {
  color: var(--muted);
}
.finder select option {
  background: var(--surface);
  color: var(--ink);
}
.home .finder .search-button {
  min-height: var(--s-48);
  border: 0;
  border-radius: var(--small);
  padding: var(--s-8);
  color: var(--surface);
  background: var(--ink);
}
.search-button svg {
  width: var(--s-16);
  height: var(--s-16);
}
@media (min-width: 700px) {
  .home .finder {
    padding: var(--s-16) var(--s-24);
    gap: var(--col-gap);
    align-items: center;
  }
  .finder .query-field {
    grid-column: span 6;
  }
  .finder .city-field {
    grid-column: span 4;
    padding-inline-start: var(--s-24);
    border-inline-start: 1px solid var(--field);
  }
  .finder .search-button {
    grid-column: span 2;
  }
}
/* Photo essays, places, journal and services share the same axes. */
.home
  main
  > :is(
    .exp-shelf,
    .j-shelf,
    .stories,
    .cities,
    .second-route,
    .catalog,
    .route-feature,
    .welcome,
    .partner-strip
  ) {
  margin-block: var(--section) 0;
  padding-block: 0;
}
.home :is(.story-head, .section-heading) {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-24);
  margin: 0 0 var(--s-24);
  flex-wrap: wrap;
}
.story-head h2,
.section-heading h2,
.j-shelf h2,
.route-words h2,
.welcome-words h2,
.exp-main > h2 {
  font: 650 var(--heading)/1.08 var(--font);
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 23ch;
}
.story-head p,
.section-heading p,
.j-shelf > p {
  margin: var(--s-8) 0 0;
  color: var(--muted);
  max-width: 65ch;
}
.story-head .ink-link {
  margin: 0;
}
.exp-grid,
.story-grid,
.city-grid,
.j-grid,
.item-grid {
  display: grid;
  grid-template-columns: var(--grid);
  gap: var(--s-32) var(--col-gap);
  align-items: start;
}
:is(.exp-grid, .story-grid, .city-grid, .j-grid, .item-grid) > * {
  grid-column: span 12;
  min-width: 0;
}
.exp-cover,
.story-image,
.j-cover,
.city-card {
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: var(--card);
  box-shadow: none;
}
.exp-cover img,
.story-image img,
.j-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform var(--change) var(--ease-move);
}
.exp-card,
.story,
.j-card {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  overflow-wrap: anywhere;
}
.exp-card-copy,
.story-copy,
.j-card-in {
  padding: var(--s-16) 0 0;
}
.exp-kicker,
.j-eyebrow,
.story-copy .overline,
.chapter-line {
  margin: 0 0 var(--s-8);
  font: 550 var(--fs-14)/1.5 var(--font);
  color: var(--muted);
  letter-spacing: 0.01em;
  text-transform: none;
}
:is(.exp-card, .story, .j-card, .item-card, .j-mine) :is(h2, h3) {
  font: 650 var(--fs-25)/1.1 var(--font);
  letter-spacing: -0.03em;
  margin: 0 0 var(--s-8);
  max-width: 35ch;
}
:is(.exp-card, .story, .j-card, .item-card) :is(h2, h3) a {
  color: var(--ink);
  text-decoration: none;
}
:is(.exp-card-copy, .story-copy, .j-card-in) p:not(.exp-kicker, .j-eyebrow) {
  color: var(--muted);
  margin: 0 0 var(--s-8);
}
.stories .story-image,
.stories .story-image img {
  aspect-ratio: 3/2;
  height: auto;
}
.j-shelf .j-grid {
  margin-block: var(--s-24);
}
.j-card .j-by {
  margin-top: var(--s-16);
}
.j-card .j-avatar {
  width: var(--s-32);
  height: var(--s-32);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.exp-card, .story, .j-card, .city-card):hover
    :is(.exp-cover img, .story-image img, .j-cover img) {
    transform: scale(1.02);
  }
}
@media (min-width: 700px) {
  :is(.exp-grid, .story-grid, .city-grid, .j-grid, .item-grid) > * {
    grid-column: span 6;
  }
  .exp-shelf .exp-grid > :first-child {
    grid-column: span 12;
  }
}
@media (min-width: 960px) {
  :is(.exp-grid, .story-grid, .city-grid, .j-grid, .item-grid) > * {
    grid-column: span 4;
  }
  .exp-shelf .exp-grid > :first-child {
    grid-column: span 6;
  }
  .exp-shelf .exp-grid > :nth-child(n + 2) {
    grid-column: span 3;
  }
  .exp-shelf .exp-card:first-child img {
    aspect-ratio: 1.6;
  }
  .exp-shelf .exp-card:not(:first-child) img {
    aspect-ratio: 1;
  }
  .exp-shelf .exp-card:first-child h3 {
    font-size: var(--fs-31);
  }
}
.home .city-grid {
  grid-template-columns: var(--grid);
  gap: var(--col-gap);
  margin-top: 0;
}
.city-card,
.home .city-card {
  display: grid;
  isolation: isolate;
  aspect-ratio: 4/3;
  min-height: 0;
  color: var(--on-photo);
  background: var(--inverse);
}
.city-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgb(15 16 17/0.94),
    rgb(15 16 17/0.5) 32%,
    transparent 77%
  );
}
.home .city-text {
  inset: auto var(--s-16) var(--s-16);
  gap: var(--s-8);
}
.city-text strong {
  color: var(--on-photo);
  font-size: var(--subheading);
}
.city-text > span,
.home .city-text > span {
  color: var(--on-photo);
  font-size: var(--fs-14);
}
.item-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  padding: var(--s-24);
  height: 100%;
  border-radius: var(--card);
  border: 0;
  background: var(--soft);
  color: var(--ink);
  box-shadow: none;
}
.item-grid {
  align-items: stretch;
}
.item-card .item-top {
  color: var(--muted);
  font-size: var(--fs-14);
}
.item-card p {
  color: var(--muted);
  margin: 0;
}
.item-card .category {
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-size: var(--fs-14);
}
.item-card .item-bottom {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: var(--s-16);
}
.item-photo {
  display: block;
  margin: calc(-1 * var(--s-24)) calc(-1 * var(--s-24)) var(--s-8);
  overflow: hidden;
  border-radius: var(--card) var(--card) 0 0;
}
.item-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 2;
}
@media (min-width: 960px) {
  .j-main .j-grid > .j-card:first-child {
    grid-column: 1/8;
    grid-row: span 2;
  }
  .j-main .j-grid > .j-card:first-child h2 {
    font-size: var(--fs-31);
  }
  .j-main .j-grid > .j-card:nth-child(2),
  .j-main .j-grid > .j-card:nth-child(3) {
    grid-column: 8/-1;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--s-16);
    align-items: start;
  }
  .j-main .j-grid > .j-card:is(:nth-child(2), :nth-child(3)) .j-cover img {
    aspect-ratio: 4/5;
  }
  .j-main .j-grid > .j-card:is(:nth-child(2), :nth-child(3)) .j-card-in {
    padding: 0;
  }
  .j-main .j-grid > .j-card:is(:nth-child(2), :nth-child(3)) h2 {
    font-size: var(--fs-20);
  }
  .j-main .j-card:not(:has(.j-cover)) .j-card-in {
    grid-column: 1/-1;
  }
}
.j-editors .j-desk-bio {
  display: block;
  max-width: 48ch;
}
@media (max-width: 760px) {
  .j-mast-row .j-editors .j-desk-bio {
    display: none;
  }
}
.j-heading .j-tools {
  margin-top: var(--s-16);
}
/* The front page links to live articles, then opens into a band of landscapes. */
.journal-front {
  margin-block: var(--s-64) 0;
}
.front-header,
.landscape-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-16) var(--s-32);
  flex-wrap: wrap;
  margin: 0 0 var(--s-24);
}
.front-header h2,
.landscape-heading h2 {
  margin: 0;
  max-width: 20ch;
  font: 660 var(--heading)/1.08 var(--font);
  letter-spacing: -0.035em;
}
.front-header h2,
.landscape-heading h2 {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 409px) {
  .front-header h2 {
    font-size: var(--fs-31);
  }
}
.front-all,
.front-write {
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
  min-height: var(--s-32);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.23em;
}
.front-write {
  margin-top: var(--s-16);
  font-size: var(--fs-14);
  color: var(--muted);
}
.front-grid,
.landscape-grid {
  display: grid;
  grid-template-columns: var(--grid);
  gap: var(--s-16) var(--col-gap);
}
.front-story {
  grid-column: 1/-1;
  min-width: 0;
}
.front-link,
.landscape-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.front-story h3,
.landscape-card h3 {
  margin: 0;
  font: 650 var(--fs-20)/1.1 var(--font);
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.front-meta,
.front-by {
  margin: 0;
  font-size: var(--fs-12);
  color: var(--muted);
  letter-spacing: 0.01em;
}
.front-meta {
  margin-bottom: var(--s-8);
}
.front-by {
  margin-top: var(--s-8);
}
.front-photo {
  overflow: hidden;
  border-radius: var(--card);
  background: var(--soft);
}
.front-photo img,
.landscape-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--change) var(--ease-move);
}
.front-story:not(.front-lead) .front-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--s-16);
  align-items: center;
  padding-block: var(--s-8);
}
.front-story:not(.front-lead):not(.has-photo) .front-copy {
  grid-column: 1/-1;
}
.front-story:not(.front-lead) .front-photo {
  aspect-ratio: 1.3;
  max-height: var(--s-128);
}
.front-story:not(.front-lead) + .front-story {
  border-top: 1px solid var(--line);
}
.front-excerpt {
  margin: var(--s-8) 0 0;
  max-width: 56ch;
}
.front-lead .front-link {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: var(--card);
  background: var(--land);
  color: var(--on-photo);
  min-height: 19rem;
  height: 100%;
}
.front-lead .front-copy {
  position: relative;
  z-index: 1;
  padding: var(--s-24);
}
.front-lead .front-photo {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.front-lead.has-photo .front-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgb(8 18 15/0.97),
    rgb(8 18 15/0.78) 34%,
    rgb(8 18 15/0.31) 66%,
    transparent 93%
  );
}
.front-lead .front-meta,
.front-lead .front-by,
.front-lead .front-excerpt {
  color: var(--on-photo);
}
.front-lead h3 {
  font-size: var(--fs-31);
  max-width: 24ch;
}
.front-lead:only-child {
  grid-column: 1/-1;
}
@media (max-width: 699px) {
  .album-actions { column-gap: var(--s-16); }
  .journal-front { margin-block-start: var(--s-48); }
  .front-lead .front-link { align-content: start; }
  .front-lead .front-copy { padding: var(--s-16) var(--s-24); }
  .front-lead .front-excerpt { display: none; }
  .front-lead.has-photo .front-link::before {
    background: linear-gradient(180deg, rgb(8 18 15 / .94), rgb(8 18 15 / .76) 35%, rgb(8 18 15 / .2) 65%, transparent 90%);
  }
}
.landscape-band {
  margin-block: var(--section) 0;
  background: var(--land);
  color: var(--on-photo);
  padding-block: var(--s-48);
}
.landscape-heading h2,
.landscape-caption h3 {
  color: var(--on-photo);
}
.landscape-heading p {
  max-width: 40ch;
  margin: 0;
  color: var(--land-text);
}
.landscape-grid {
  row-gap: var(--s-32);
}
.landscape-card {
  grid-column: span 12;
  min-width: 0;
}
.landscape-photo {
  overflow: hidden;
  border-radius: var(--card);
  background: var(--land);
  aspect-ratio: 3/2;
}
.landscape-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  padding-top: var(--s-16);
}
.landscape-caption p {
  margin: 0 0 var(--s-8);
  color: var(--land-text);
  font-size: var(--fs-14);
}
.landscape-caption .ui-icon {
  color: var(--cover-action);
  flex: none;
  width: var(--s-24);
  height: var(--s-24);
}
.landscape-all {
  color: var(--on-photo);
}
.landscape-band + .search-shell {
  margin-top: var(--section);
}
@media (min-width: 700px) {
  .front-header,
  .landscape-heading {
    margin-bottom: var(--s-32);
  }
  .front-lead .front-link {
    min-height: 25rem;
  }
  .landscape-band {
    padding-block: var(--s-64);
  }
  .landscape-card {
    grid-column: span 4;
  }
  .landscape-photo {
    aspect-ratio: 4/5;
  }
}
@media (min-width: 768px) {
  .front-grid {
    row-gap: var(--s-8);
    align-items: stretch;
  }
  .front-story {
    grid-column: 8/-1;
  }
  .front-lead {
    grid-column: 1/8;
    grid-row: 1 / span 3;
  }
  .front-lead:only-child {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .front-lead .front-copy {
    padding: var(--s-24);
  }
}
@media (min-width: 900px) {
  .front-lead .front-copy {
    padding: var(--s-32);
  }
  .front-lead h3 {
    font-size: var(--fs-39);
  }
  .landscape-card:first-child {
    grid-column: span 5;
  }
  .landscape-card:nth-child(2) {
    grid-column: span 4;
  }
  .landscape-card:nth-child(3) {
    grid-column: span 3;
  }
  .landscape-card:only-child {
    grid-column: 1/-1;
  }
  .landscape-grid:has(> :last-child:nth-child(2)) .landscape-card {
    grid-column: span 6;
  }
  .landscape-photo {
    aspect-ratio: auto;
    height: 18rem;
  }
  .landscape-card h3 {
    font-size: var(--fs-25);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .front-link:hover img,
  .landscape-card a:hover img {
    transform: scale(1.02);
  }
}
.front-link:hover h3,
.landscape-card a:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

/* Places, articles, forms and the partner desk. */
.directory-main,
.utility-main,
.exp-main,
.j-main {
  padding-block: var(--s-48) var(--section);
  color: var(--ink);
}
.directory h1,
.exp-heading h1,
.exp-lead h1,
.j-heading h1,
.j-article h1,
.utility-main h1 {
  font: 650 var(--heading)/1.08 var(--font);
  letter-spacing: -0.035em;
  margin: var(--s-16) 0;
  max-width: 25ch;
}
.exp-lead,
.exp-heading,
.directory-lead,
.j-mast-row,
.second-route,
.welcome-inner,
.route-inner {
  display: grid;
  grid-template-columns: var(--grid);
  gap: var(--s-24) var(--col-gap);
  align-items: center;
}
:is(
    .exp-lead,
    .exp-heading,
    .directory-lead,
    .j-mast-row,
    .second-route,
    .welcome-inner,
    .route-inner
  )
  > * {
  grid-column: 1/-1;
  min-width: 0;
}
.directory-lead > div {
  padding: 0;
}
.directory-lead > img,
.exp-photo img,
.exp-index-photo a,
.second-route img,
.welcome-portrait img,
.j-story-cover img {
  border-radius: var(--card);
  object-fit: cover;
}
.directory-lead > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
}
.exp-index-photo img {
  aspect-ratio: 3/2;
}
.exp-index-photo span {
  color: var(--on-photo);
}
.exp-photo figcaption,
.j-story-cover figcaption,
.welcome-portrait figcaption,
.exp-index-photo figcaption {
  font-size: var(--fs-12);
  color: var(--muted);
  line-height: 1.5;
  margin-top: var(--s-8);
}
.exp-reading h2,
.exp-compare h2,
.j-stops h2,
.j-prose h2,
.utility-main h2,
.journey-section h2,
.welcome-budget h3,
.second-route h2 {
  font: 650 var(--subheading)/1.1 var(--font);
  letter-spacing: -0.03em;
}
.exp-compare,
.exp-practical,
.exp-review,
.exp-overview,
.j-stops,
.j-disclosure,
.welcome-budget,
.collection-place,
.guide-card,
.journey-section,
.desk-card,
.order-card,
.desk-section {
  background: var(--soft);
  border: 0;
  border-radius: var(--card);
  color: var(--ink);
}
.journey-section,
.exp-compare,
.j-stops,
.welcome-budget {
  padding: var(--s-24);
  margin-block: var(--s-32);
}
:is(.j-stops, .journey-section, .exp-reading, .exp-compare, .j-prose)
  :is(p, li) {
  color: var(--ink);
}
.exp-method,
.j-disclosure {
  border-inline-start: 2px solid var(--accent);
  padding-inline-start: var(--s-16);
}
.exp-lead > div > p,
.exp-heading > div > p,
.j-heading > div > p,
.directory-lead p:not(.overline),
.utility-intro {
  color: var(--muted);
  font-size: var(--fs-16);
  line-height: 1.5;
}
.exp-reading,
.j-prose,
.j-article {
  max-width: 65ch;
}
.j-article {
  margin-inline: auto;
}
.j-story-cover img {
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
}
:is(.j-article, .exp-reading) :is(h2, h3) {
  margin-block: var(--s-32) var(--s-8);
}
.j-mast-row .j-editors {
  border-color: var(--line);
}
.j-mast-row .j-editors h2 {
  font: 650 var(--fs-20)/1.1 var(--font);
  color: var(--ink);
}
.j-editors small,
.j-by small,
.j-desk-bio {
  color: var(--muted);
  font-size: var(--fs-12);
}
.j-mast-row .j-avatar,
.j-avatar {
  border-radius: 50%;
}
.j-heading {
  margin-bottom: var(--s-24);
}
.j-filter {
  margin-block: var(--s-24) var(--s-48);
}
.j-main label,
.j-desk label,
.exp-filters label,
.fields label,
.journey-section label {
  color: var(--ink);
  font-size: var(--fs-14);
}
:where(input, select, textarea):not(
  [type="checkbox"],
  [type="radio"],
  [type="hidden"],
  [type="file"]
) {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--field);
  border-radius: var(--small);
  font-size: var(--fs-16);
  max-width: 100%;
  min-width: 0;
}
:is(input[type="checkbox"], input[type="radio"]) {
  width: var(--s-24);
  height: var(--s-24);
  min-width: var(--s-24);
  margin: 0 var(--s-8) 0 0;
  vertical-align: middle;
  accent-color: var(--accent);
}
:is(input, textarea)::placeholder {
  color: var(--muted);
  opacity: 1;
}
.filter[aria-pressed="true"],
.filter[aria-current="page"] {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
#items[aria-busy="true"] .item-card {
  position: relative;
  overflow: hidden;
}
#items[aria-busy="true"] .item-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line) 0 0) var(--s-24) var(--s-24) / 32% var(--s-8)
      no-repeat,
    linear-gradient(var(--line) 0 0) var(--s-24) var(--s-48) / 70% var(--s-16)
      no-repeat,
    linear-gradient(var(--line) 0 0) var(--s-24) var(--s-96) / 55% var(--s-8)
      no-repeat,
    var(--soft);
}
#items[aria-busy="true"] .item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--surface) 72%, transparent),
    transparent
  );
  animation: skeleton 1s var(--ease-move) infinite;
}
@keyframes skeleton {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
.journey-section [role="status"],
.exp-status,
.utility-main [role="status"],
.j-main [role="status"] {
  color: var(--muted);
  overflow-wrap: anywhere;
}
dialog {
  background: var(--surface);
  color: var(--ink);
  border: 0;
  border-radius: var(--card);
  box-shadow: var(--shadow-dialog);
  max-width: min(38rem, calc(100vw - var(--gutter) * 2));
  max-height: 85dvh;
}
dialog::backdrop {
  background: rgb(20 20 23/0.55);
}
#dialog-close {
  display: grid;
  place-items: center;
  min-width: var(--s-48);
  min-height: var(--s-48);
  padding: var(--s-8);
  background: var(--soft);
  color: var(--ink);
  border: 0;
  border-radius: var(--small);
}
.rail-notes summary,
.route-feature .rail-link,
.route-diagram a {
  color: var(--on-inverse);
}
.route-feature,
.partner-strip {
  background: var(--inverse);
  color: var(--on-inverse);
}
.route-feature:after {
  content: none;
}
.route-inner,
.partner-strip > .shell {
  padding-block: var(--s-64);
}
.route-words h2,
.route-words .overline,
.route-words > p:not(.overline),
.route-diagram span,
.route-diagram strong,
.partner-strip p,
.partner-strip h2 {
  color: var(--on-inverse);
}
.route-feature .route-save,
.partner-strip .route-save {
  background: #fff;
  color: #252326;
}
.route-feature .rail-notes :is(a, p) {
  color: var(--on-inverse);
}
.route-diagram {
  border-color: #777;
}
.route-diagram::before,
.route-diagram li::before {
  background: var(--on-inverse);
}
.welcome {
  background: var(--soft);
  color: var(--ink);
}
.welcome-inner {
  padding-block: var(--s-48);
}
.welcome-budget {
  background: var(--surface);
}
.welcome-words p,
.welcome-portrait figcaption {
  color: var(--muted);
}
footer {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.foot {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-24);
  padding-block: var(--s-48);
  color: var(--ink);
}
.foot-brand,
.foot-links a,
.foot-links button {
  color: var(--ink);
}
.foot-links {
  gap: var(--s-16);
  flex-wrap: wrap;
}
.foot small {
  flex-basis: 100%;
  color: var(--muted);
}
.locale-links summary,
.locale-links a {
  font-size: var(--fs-14);
  color: var(--muted);
}
.locale-links div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-16);
}
.error-view {
  display: grid;
  align-content: center;
  min-height: 55vh;
  padding-block: var(--s-64);
  gap: var(--s-16);
}
.error-view h1 {
  margin: 0;
}
.error-view .primary {
  width: fit-content;
}
@media (min-width: 768px) {
  .directory-main,
  .utility-main,
  .exp-main,
  .j-main {
    padding-top: var(--s-64);
  }
  .exp-photo img,
  .exp-index-photo a,
  .directory-lead > img,
  .j-story-cover img,
  .welcome-portrait img {
    border-radius: var(--panel);
  }
}
@media (min-width: 960px) {
  :is(
      .exp-heading,
      .exp-lead,
      .directory-lead,
      .j-mast-row,
      .second-route,
      .welcome-inner,
      .route-inner
    )
    > :first-child {
    grid-column: 1/7;
  }
  :is(
      .exp-heading,
      .exp-lead,
      .directory-lead,
      .j-mast-row,
      .second-route,
      .welcome-inner,
      .route-inner
    )
    > :nth-child(2) {
    grid-column: 7/-1;
  }
  .welcome-portrait {
    position: sticky;
    top: var(--s-32);
    align-self: start;
  }
  .welcome-portrait img {
    aspect-ratio: 4/3;
  }
  .exp-heading > div > p,
  .j-heading > div > p,
  .exp-lead > div > p,
  .utility-intro {
    font-size: var(--fs-20);
  }
  .journey-section,
  .exp-compare,
  .j-stops,
  .welcome-budget {
    padding: var(--s-32);
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .album-view picture {
      animation: album-travel var(--scene) linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
  }
}
@keyframes album-travel {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: page-out 180ms var(--ease-move) both;
}
::view-transition-new(root) {
  animation: page-in var(--change) var(--ease-enter) both;
}
@keyframes page-out {
  to {
    opacity: 0;
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .album-view picture,
  #items[aria-busy="true"] .item-card::after {
    animation: none;
  }
  :is(button, a, .city-card):hover,
  :is(button, a):active,
  .exp-card:hover .exp-cover img,
  .story:hover .story-image img,
  .j-card:hover .j-cover img {
    transform: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: short-fade 150ms linear;
  }
  @keyframes short-fade {
    from {
      opacity: 0.8;
    }
    to {
      opacity: 1;
    }
  }
}
@media print {
  .mast .theme-toggle,
  .album-controls,
  .locale-links {
    display: none;
  }
  .route-feature,
  .partner-strip {
    background: white;
    color: black;
  }
  .foot {
    background: white;
    color: black;
  }
}
