/* 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;
  }
}
