/* One visual language for the atlas and the field reader. */
.atlas-catalog {
  --paper: #f5f0e4;
  --paper-bright: #fffaf0;
  --ink: #163d35;
  --muted: #5c6b60;
  --copper: #a54f35;
  --line: #c8cbb9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  margin: 0;
  color: var(--ink);
  background: var(--paper) url('/shared/grain.png');
  background-size: 180px;
  font-family: var(--sans);
  overflow-x: clip;
}
.atlas-catalog * {
  box-sizing: border-box;
}
.atlas-catalog a {
  color: inherit;
  text-decoration: none;
}
.atlas-catalog button,
.atlas-catalog input,
.atlas-catalog select {
  font: inherit;
  color: inherit;
}
.atlas-catalog button,
.atlas-catalog a {
  -webkit-tap-highlight-color: transparent;
}
.atlas-catalog button {
  cursor: pointer;
}
.atlas-catalog :is(button, a, input, select):focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 5px;
}
.atlas-catalog img,
.atlas-catalog svg {
  display: block;
}
.atlas-catalog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atlas-catalog :is(h1, h2, h3, p, figure) {
  margin: 0;
}
.atlas-catalog [hidden] {
  display: none !important;
}
.atlas-catalog .wrap {
  width: min(1340px, calc(100% - clamp(36px, 8vw, 128px)));
  margin-inline: auto;
}
.atlas-catalog .mono {
  font:
    600 10px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.atlas-catalog .skip {
  position: fixed;
  top: -90px;
  left: 14px;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 14px;
}
.atlas-catalog .skip:focus {
  top: 14px;
}
.atlas-catalog .masthead {
  position: relative;
  z-index: 3;
}
.atlas-catalog .mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 85px;
  border-bottom: 1px solid var(--line);
}
.atlas-catalog .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 clamp(21px, 2vw, 28px) / 1 var(--serif);
  letter-spacing: -0.055em;
}
.atlas-catalog .compass {
  width: 37px;
  height: 37px;
  flex: none;
  transition: transform 0.7s var(--ease);
}
.atlas-catalog .brand:hover .compass {
  transform: rotate(45deg);
}
.atlas-catalog .mast-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.atlas-catalog .mast-caption {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
}
.atlas-catalog .lang {
  display: flex;
  align-items: center;
  gap: 7px;
}
.atlas-catalog .lang svg {
  width: 17px;
  height: 17px;
}
.atlas-catalog .lang select {
  border: 0;
  background: transparent;
  padding: 10px 2px;
  font-size: 12px;
  max-width: 110px;
  min-height: 44px;
  cursor: pointer;
}
.atlas-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  align-items: center;
  gap: 30px;
  padding: clamp(38px, 5vw, 72px) 0 52px;
  min-height: 570px;
}
.atlas-catalog .hero-copy {
  position: relative;
  z-index: 1;
}
.atlas-catalog .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--copper);
}
.atlas-catalog .eyebrow:before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
}
.atlas-catalog .hero-title {
  font: 400 clamp(55px, 6.5vw, 99px) / 0.99 var(--serif);
  letter-spacing: -0.075em;
  margin: 23px 0;
}
.atlas-catalog .hero-title span {
  display: block;
}
.atlas-catalog .hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
}
.atlas-catalog .lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  max-width: 490px;
  color: var(--muted);
}
.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-top: 29px;
  padding: 15px 20px;
  background: var(--ink);
  color: var(--paper-bright) !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  box-shadow: 0 3px 0 #0c2b23;
  transition:
    background 0.25s,
    transform 0.25s;
}
.hero-action svg {
  width: 19px;
  height: 19px;
}
.hero-action:hover {
  background: #2c5748;
  transform: translateY(-2px);
}
.hero-art {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 30px 13px 18px 25px;
}
.folio-back {
  position: absolute;
  inset: 20px 30px 19px 20px;
  border: 1px solid #bdc1ad;
  background: #dfddc7;
  transform: rotate(4deg);
  z-index: -1;
}
.hero-folio {
  padding: 12px 12px 0;
  background: var(--paper-bright);
  border: 1px solid #b7bfaa;
  box-shadow: 0 22px 48px -29px #1b382766;
  transform: rotate(-3deg);
  position: relative;
}
.hero-folio:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px #fff8;
}
.hero-visual {
  aspect-ratio: 1.32;
  position: relative;
  overflow: hidden;
  background: #e5e6d1;
}
.hero-visual > img {
  position: absolute;
  inset: 0;
  filter: saturate(0.8);
}
.hero-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #17372c00 40%, #12382b99);
}
.hero-visual .atlas-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  color: #fff1cc;
}
.atlas-route .hero-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.atlas-route .route-dots {
  stroke: currentColor;
  stroke-dasharray: 2 6;
  stroke-width: 0.8;
  opacity: 0.65;
}
.atlas-route text {
  font: 11px var(--serif);
  fill: currentColor;
  letter-spacing: 0.03em;
}
.hero-caption {
  padding: 12px 1px 13px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.hero-caption > span:last-child {
  font: italic 17px/1.1 var(--serif);
  letter-spacing: -0.03em;
}
.hero-stamp {
  position: absolute;
  right: -8px;
  top: 0;
  width: 98px;
  height: 98px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform: rotate(13deg);
  background: #f5f0e4db;
  box-shadow:
    inset 0 0 0 4px var(--paper),
    inset 0 0 0 5px var(--copper);
  z-index: 2;
}
.hero-stamp strong {
  font: italic 33px/0.9 var(--serif);
}
.hero-stamp span {
  font:
    600 7px/1.4 ui-monospace,
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.little-ticket {
  position: absolute;
  left: -5px;
  bottom: 45px;
  background: var(--paper-bright);
  padding: 12px 18px;
  z-index: 2;
  border: 1px solid #a6b39c;
  box-shadow: 0 8px 18px -10px #183d3955;
  transform: rotate(5deg);
  font: italic 18px/1.2 var(--serif);
  max-width: 200px;
}
.atlas-catalog .hero-rail {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.atlas-catalog .hero-rail > span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.rail-stat {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.rail-stat strong {
  font: 400 25px/1 var(--serif);
  letter-spacing: -0.04em;
}
.rail-stat span {
  font-size: 11px;
  color: var(--muted);
}
.atlas-catalog .collection {
  padding: clamp(38px, 5vw, 66px) 0;
}
.atlas-catalog .section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 25px;
}
.atlas-catalog .section-head h2 {
  font: 400 clamp(36px, 4.5vw, 61px) / 1.05 var(--serif);
  letter-spacing: -0.055em;
  margin-top: 8px;
}
.index-no {
  font: italic 68px/0.9 var(--serif);
  color: #a6b199;
  letter-spacing: -0.07em;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter {
  border: 1px solid #a8b79e;
  background: transparent;
  border-radius: 50px;
  padding: 9px 15px;
  min-height: 41px;
  font-size: 12px !important;
  transition:
    background 0.2s,
    color 0.2s;
}
.filter[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper-bright);
  border-color: var(--ink);
}
.search-wrap {
  position: relative;
  flex: 0 1 280px;
  min-width: 180px;
}
.search-wrap svg {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 17px;
  height: 17px;
  pointer-events: none;
  color: var(--muted);
}
.search-wrap input {
  border: 1px solid #a8b79e;
  background: #fff9ed77;
  border-radius: 3px;
  min-height: 44px;
  width: 100%;
  padding: 10px 13px 10px 40px;
  font-size: 13px !important;
}
.search-wrap input::placeholder {
  color: var(--muted);
}
.results-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 17px;
}
.results-line [data-passport-count] {
  font-variant-numeric: tabular-nums;
}
.atlas-catalog .shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.city-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-bright);
  border: 1px solid #b8c1ab;
  transition:
    box-shadow 0.4s var(--ease),
    border-color 0.4s;
  isolation: isolate;
}
.city-card:before {
  content: '';
  position: absolute;
  inset: 6px -6px -6px 6px;
  border: 1px solid #c8ccb8;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.4s var(--ease);
  background: #e8e6d4;
}
.card-picture {
  position: relative;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: #dce2ce;
  border-bottom: 1px solid #b8c1ab;
}
.card-picture img {
  transition:
    transform 0.75s var(--ease),
    filter 0.75s;
  filter: saturate(0.85);
}
.edition {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 5px 8px;
  background: #fff9e8ed;
  color: #536453;
  border: 1px solid #bcc2aa;
}
.card-country {
  position: absolute;
  left: 15px;
  bottom: 13px;
  color: #fffaf0;
  font-size: 11px;
  z-index: 1;
}
.card-picture:after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #12342b94);
  pointer-events: none;
}
.card-arrow {
  position: absolute;
  right: 14px;
  bottom: 11px;
  width: 32px;
  height: 32px;
  border: 1px solid #fff9;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  z-index: 1;
  font-size: 20px;
  transition: transform 0.3s;
}
.card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px 20px 17px;
  gap: 9px;
}
.atlas-catalog .card-title {
  font: 400 clamp(33px, 3vw, 43px) / 1 var(--serif);
  letter-spacing: -0.055em;
}
.card-caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font:
    600 10px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0.02em;
  color: #5a6d59;
  margin-top: auto;
  padding-top: 9px;
}
.card-open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  gap: 9px;
}
.card-open b {
  font-weight: 400;
  font-size: 21px;
}
.card-progress {
  padding-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f705b;
  font-size: 10px;
  min-height: 18px;
}
.progress-track {
  width: 42px;
  height: 3px;
  background: #d9ddcd;
  flex: none;
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--copper);
}
.city-card.is-complete .edition {
  background: var(--ink);
  color: var(--paper-bright);
  border-color: var(--ink);
}
.empty-state {
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed #b4bda6;
}
.empty-state h3 {
  font: 400 30px/1.2 var(--serif);
  letter-spacing: -0.04em;
}
.empty-state p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 20px;
}
.empty-state button {
  border: 1px solid var(--ink);
  padding: 10px 15px;
  background: var(--ink);
  color: var(--paper-bright);
  border-radius: 3px;
  min-height: 44px;
}
.field-note {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 7vw, 110px);
  padding: 50px 0 62px;
  border-top: 1px solid var(--line);
}
.field-note h2 {
  font: 400 clamp(32px, 3.5vw, 49px) / 1.07 var(--serif);
  letter-spacing: -0.05em;
  max-width: 13ch;
}
.field-note p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 47ch;
  margin-top: 18px;
}
.pillars {
  display: grid;
  gap: 0;
}
.pillar {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.pillar:first-child {
  padding-top: 0;
}
.pillar-no {
  color: var(--copper);
  padding-top: 3px;
}
.pillar h3 {
  font: 400 25px/1.1 var(--serif);
  letter-spacing: -0.035em;
}
.pillar p {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
}
.catalog-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 30px;
}
.footer-inner {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  align-items: center;
}
.footer-inner p {
  color: var(--muted);
  font-size: 11px;
}
.footer-inner nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
}
.footer-inner a {
  padding-block: 8px;
  text-underline-offset: 4px;
}
.footer-inner a:hover {
  text-decoration: underline;
}
/* Claude's draw-and-settle, tactile landing and photographic reveal signatures,
   adapted to avoid layout animation, continuous loops and hidden no-JS content. */
@keyframes atlas-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes atlas-title {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes atlas-print {
  from {
    opacity: 0.3;
    transform: translate(20px, 16px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: rotate(-3deg);
  }
}
@keyframes atlas-stamp {
  from {
    opacity: 0;
    transform: translateY(-9px) rotate(19deg) scale(1.09);
  }
  to {
    opacity: 1;
    transform: rotate(13deg) scale(1);
  }
}
@keyframes atlas-card {
  from {
    opacity: 0.4;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .atlas-catalog .hero-title .hero-line {
    animation: atlas-title 0.85s var(--ease) both;
  }
  .atlas-catalog .hero-title .hero-line:nth-child(2) {
    animation-delay: 0.1s;
  }
  .hero-folio {
    animation: atlas-print 1s var(--ease) both;
  }
  .hero-stamp {
    animation: atlas-stamp 0.5s 0.55s var(--ease) both;
  }
  .atlas-route .hero-line {
    animation: atlas-draw 1.7s 0.4s var(--ease) backwards;
  }
  .city-card.is-revealed {
    animation: atlas-card 0.65s var(--ease) both;
    animation-delay: calc(var(--index, 0) * 50ms);
  }
}
@media (hover: hover) {
  .city-card:hover {
    border-color: #6f8871;
    box-shadow: 0 18px 35px -24px #17392a99;
  }
  .city-card:hover:before {
    transform: translate(2px, 2px) rotate(0.4deg);
  }
  .city-card:hover .card-picture img {
    transform: scale(1.045);
    filter: saturate(1);
  }
  .city-card:hover .card-arrow {
    transform: rotate(45deg);
  }
  .filter:hover:not([aria-pressed='true']) {
    background: #e4e8d8;
  }
}
@media (min-width: 1450px) {
  .atlas-hero {
    min-height: 640px;
  }
  .atlas-catalog .hero-title {
    font-size: 105px;
  }
  .atlas-catalog .shelf {
    gap: 36px 28px;
  }
}
@media (max-width: 1050px) {
  .atlas-catalog .mast-caption {
    display: none;
  }
  .atlas-hero {
    gap: 14px;
    min-height: 520px;
  }
  .atlas-catalog .hero-title {
    font-size: clamp(54px, 7vw, 78px);
  }
  .hero-art {
    padding-left: 15px;
  }
  .hero-stamp {
    width: 80px;
    height: 80px;
  }
  .hero-stamp strong {
    font-size: 28px;
  }
  .little-ticket {
    font-size: 16px;
    max-width: 170px;
    padding: 10px;
  }
  .atlas-catalog .shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 22px;
  }
  .catalog-toolbar {
    align-items: flex-start;
  }
  .filters {
    max-width: 65%;
  }
  .search-wrap {
    flex-basis: 240px;
  }
  .atlas-catalog .hero-rail > span:last-child {
    font-size: 9px;
  }
}
@media (max-width: 720px) {
  .atlas-catalog .wrap {
    width: calc(100% - 36px);
  }
  .atlas-catalog .mast {
    min-height: 65px;
    gap: 12px;
  }
  .atlas-catalog .brand {
    font-size: 22px;
    gap: 8px;
  }
  .atlas-catalog .compass {
    width: 31px;
    height: 31px;
  }
  .atlas-catalog .lang select {
    max-width: 87px;
    font-size: 11px;
  }
  .atlas-hero {
    grid-template-columns: 1fr;
    padding: 33px 0 24px;
    gap: 16px;
    min-height: 0;
  }
  .atlas-catalog .eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
    gap: 8px;
  }
  .atlas-catalog .eyebrow:before {
    width: 20px;
  }
  .atlas-catalog .hero-title {
    font-size: clamp(51px, 10.7vw, 77px);
    line-height: 1.02;
    letter-spacing: -0.065em;
    margin: 17px 0;
  }
  .atlas-catalog .lead {
    font-size: 14px;
    line-height: 1.6;
    max-width: 47ch;
  }
  .hero-action {
    margin-top: 21px;
    padding: 13px 17px;
    font-size: 12px;
    gap: 24px;
  }
  .hero-art {
    width: min(490px, 91%);
    margin: 10px auto 0;
    padding: 17px 7px 13px 13px;
  }
  .hero-visual {
    aspect-ratio: 1.7;
  }
  .hero-folio {
    padding: 8px 8px 0;
  }
  .hero-caption {
    padding: 10px 0;
  }
  .hero-caption > span:last-child {
    font-size: 15px;
  }
  .hero-caption .mono {
    font-size: 7px;
  }
  .hero-stamp {
    right: -8px;
    top: -2px;
    width: 76px;
    height: 76px;
  }
  .hero-stamp span {
    font-size: 6px;
  }
  .little-ticket {
    left: -13px;
    bottom: 29px;
    font-size: 15px;
    max-width: 150px;
    padding: 9px 12px;
  }
  .folio-back {
    inset: 12px 20px 10px 14px;
  }
  .atlas-catalog .hero-rail {
    gap: 18px;
    padding: 12px 0;
  }
  .rail-stat strong {
    font-size: 24px;
  }
  .rail-stat span {
    font-size: 10px;
  }
  .atlas-catalog .hero-rail > span:last-child {
    max-width: 120px;
    font-size: 7px;
    letter-spacing: 0.1em;
    text-align: right;
  }
  .atlas-catalog .collection {
    padding: 35px 0 40px;
  }
  .atlas-catalog .section-head {
    margin-bottom: 20px;
    gap: 15px;
  }
  .atlas-catalog .section-head h2 {
    font-size: 40px;
    margin-top: 6px;
  }
  .index-no {
    font-size: 56px;
  }
  .catalog-toolbar {
    flex-direction: column-reverse;
    gap: 14px;
    padding-bottom: 18px;
  }
  .search-wrap {
    flex: auto;
    width: 100%;
    max-width: none;
  }
  .filters {
    max-width: 100%;
    gap: 5px;
  }
  .filter {
    font-size: 11px !important;
    padding: 8px 12px;
    min-height: 39px;
  }
  .results-line {
    font-size: 9px;
    margin-bottom: 15px;
    gap: 10px;
  }
  .atlas-catalog .shelf {
    gap: 24px 16px;
  }
  .card-copy {
    padding: 17px 15px 13px;
  }
  .atlas-catalog .card-title {
    font-size: 34px;
  }
  .card-caption {
    font-size: 12px;
    line-height: 1.5;
  }
  .card-meta {
    font-size: 9px;
    letter-spacing: 0;
  }
  .card-open {
    font-size: 11px;
    padding-top: 10px;
  }
  .card-country {
    font-size: 10px;
    bottom: 11px;
    left: 11px;
  }
  .edition {
    left: 10px;
    top: 10px;
    font-size: 8px;
  }
  .card-arrow {
    width: 28px;
    height: 28px;
    bottom: 9px;
    right: 10px;
    font-size: 18px;
  }
  .field-note {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 0 40px;
  }
  .field-note h2 {
    font-size: 36px;
    max-width: 19ch;
  }
  .field-note p {
    font-size: 13px;
    max-width: none;
    margin-top: 12px;
  }
  .pillar h3 {
    font-size: 25px;
  }
  .pillar p {
    font-size: 12px;
    margin-top: 5px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .footer-inner p {
    font-size: 10px;
  }
  .footer-inner nav {
    gap: 18px;
  }
}
@media (max-width: 470px) {
  .atlas-catalog .shelf {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .card-picture {
    aspect-ratio: 1.7;
  }
  .card-copy {
    padding: 19px 18px 15px;
  }
  .atlas-catalog .card-title {
    font-size: 42px;
  }
  .card-caption {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
  .card-meta {
    font-size: 10px;
  }
  .card-open {
    font-size: 12px;
  }
  .card-progress {
    font-size: 10px;
  }
  .results-line {
    flex-wrap: wrap;
    gap: 4px;
  }
  .atlas-catalog .hero-rail > span:last-child {
    display: none;
  }
  .rail-stat {
    gap: 6px;
  }
  .atlas-catalog .hero-title {
    font-size: clamp(45px, 11.9vw, 58px);
  }
  .hero-caption > span:last-child {
    font-size: 13px;
  }
  .hero-stamp {
    width: 67px;
    height: 67px;
  }
  .hero-stamp strong {
    font-size: 25px;
  }
  .little-ticket {
    font-size: 13px;
    max-width: 130px;
  }
  .atlas-catalog .section-head h2 {
    font-size: 36px;
  }
  .index-no {
    font-size: 50px;
  }
}
html[lang^='zh'] .atlas-catalog :is(.hero-title, .section-head h2, .card-title) {
  letter-spacing: -0.02em;
}
html[lang^='zh'] .atlas-catalog .hero-title {
  font-size: clamp(45px, 5.5vw, 85px);
  line-height: 1.2;
}
html[lang^='zh'] .atlas-catalog .field-note h2 {
  max-width: 15ch;
  line-height: 1.3;
}
/* Field-reader enhancements. Existing IDs, media and navigation are preserved. */
body:not(.atlas-catalog) {
  --exp-paper: #faf6e9;
  --exp-ink: #163d35;
  --exp-copper: #a54f35;
  --exp-line: #c4cbb6;
  --exp-muted: #52675a;
}
body:not(.atlas-catalog) .day-card {
  box-shadow: 0 7px 18px -19px #244333;
  transition:
    box-shadow 0.35s,
    border-color 0.35s;
}
body:not(.atlas-catalog) .day-card .card-art img {
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1);
}
body:not(.atlas-catalog) .jsv-plate {
  box-shadow: 0 15px 30px -24px #173d3580;
}
body:not(.atlas-catalog) .journey-ribbon {
  padding-bottom: 14px;
  border-bottom: 1px solid #c4cbb6;
}
body:not(.atlas-catalog) #jr-stop {
  border-radius: 4px 4px 0 0;
  box-shadow: 0 15px 32px -28px #183d3980;
}
.exp-panel {
  position: relative;
  margin: 22px 0;
  padding: 23px 0;
  color: var(--exp-ink, #163d35);
  border-top: 1px solid var(--exp-line, #c4cbb6);
  border-bottom: 1px solid var(--exp-line, #c4cbb6);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.exp-panel > * + * {
  margin-top: 13px;
}
.exp-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font:
    700 9px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--exp-copper, #a54f35);
}
.exp-kicker:before {
  content: '';
  display: inline-block;
  width: 21px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.exp-heading {
  font:
    400 clamp(27px, 4vw, 39px) / 1.09 Georgia,
    serif;
  letter-spacing: -0.045em;
  max-width: 25ch;
}
.exp-panel :is(p, li) {
  font-size: 14px;
  line-height: 1.65;
  color: var(--exp-muted, #52675a);
}
.exp-panel :is(small, .exp-source, .exp-credit) {
  font-size: 11px;
  line-height: 1.5;
  color: var(--exp-muted, #52675a);
}
.exp-panel a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.exp-panel a:hover {
  color: var(--exp-copper, #a54f35);
}
.exp-panel :is(button, select) {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #a8b69e;
  background: #f5f3e6;
  color: var(--exp-ink, #163d35);
  border-radius: 3px;
  font:
    600 12px/1.35 system-ui,
    sans-serif;
  transition:
    background 0.2s,
    transform 0.2s;
}
.exp-panel button:disabled {
  cursor: default;
  opacity: 0.6;
}
.exp-panel :is(button, select, a, summary):focus-visible {
  outline: 3px solid var(--exp-copper, #a54f35);
  outline-offset: 4px;
}
.exp-panel button[aria-pressed='true'],
.exp-panel button.exp-primary {
  background: var(--exp-ink, #163d35);
  color: #fff9e8;
  border-color: var(--exp-ink, #163d35);
}
.exp-panel summary {
  cursor: pointer;
  font:
    600 13px/1.4 system-ui,
    sans-serif;
  min-height: 44px;
  padding: 12px 0;
  color: var(--exp-ink, #163d35);
}
.exp-panel details[open] > summary {
  color: var(--exp-copper, #a54f35);
}
.exp-progress {
  display: flex;
  gap: 11px;
  align-items: center;
  font:
    600 10px/1.5 ui-monospace,
    monospace;
  color: var(--exp-muted, #52675a);
}
.exp-progress-bar {
  height: 3px;
  background: #d8ddcb;
  flex: 1;
  min-width: 60px;
  overflow: hidden;
  border-radius: 2px;
}
.exp-progress-bar > i,
.exp-progress-bar > span {
  display: block;
  height: 100%;
  background: var(--exp-copper, #a54f35);
  transition: width 0.45s;
}
.exp-clue {
  position: relative;
  padding: 13px 16px 13px 19px;
  background: #e8eddd;
  border-left: 2px solid var(--exp-copper, #a54f35);
  font:
    italic 19px/1.4 Georgia,
    serif;
  color: var(--exp-ink, #163d35);
}
.exp-choices {
  display: grid;
  gap: 8px;
  margin: 15px 0;
}
.exp-choice {
  text-align: left !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.exp-choice:hover {
  background: #e8eddd;
}
.exp-status {
  min-height: 1.5em;
  font-size: 12px !important;
  color: var(--exp-ink, #163d35) !important;
}
.exp-status:empty {
  min-height: 0;
}
.exp-hook {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #b7c1aa;
  font:
    italic 21px/1.45 Georgia,
    serif;
  color: var(--exp-copper, #a54f35);
}
.exp-interior,
.exp-walk {
  padding: 14px 0;
  border-top: 1px solid #d4d9c8;
}
.exp-interior > p,
.exp-walk > p {
  margin-top: 8px;
}
.exp-audio {
  display: block;
  width: 100%;
  margin-top: 12px;
  max-width: 100%;
  height: 44px;
}
.exp-passport {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #b3bda6;
  border-radius: 40px;
  font:
    600 11px/1.35 system-ui,
    sans-serif;
  background: #e8eddc;
  color: var(--exp-ink, #163d35);
}
.exp-badge[aria-disabled='true'] {
  background: transparent;
  color: #677761;
}
.exp-badge:before {
  content: '✧';
  font:
    21px/1 Georgia,
    serif;
  color: var(--exp-copper, #a54f35);
}
.exp-plan {
  padding-top: 15px;
}
.exp-plan-days {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.exp-plan-days label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #b3bda6;
  border-radius: 3px;
  font:
    600 12px system-ui,
    sans-serif;
}
.exp-plan-days input {
  accent-color: var(--exp-ink, #163d35);
  width: 17px;
  height: 17px;
}
.exp-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.exp-download-progress {
  width: 100%;
  height: 4px;
  accent-color: var(--exp-copper, #a54f35);
}
.exp-recommendations {
  display: grid;
  gap: 0;
  margin-top: 14px;
}
.exp-recommendation {
  padding: 15px 0;
  border-top: 1px solid #d1d7c4;
}
.exp-recommendation h3 {
  font:
    400 24px/1.2 Georgia,
    serif;
  letter-spacing: -0.025em;
}
.exp-recommendation p {
  margin-top: 7px;
}
.exp-recommendation small {
  display: block;
  margin-top: 7px;
}
.exp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}
.exp-actions button:first-child {
  background: var(--exp-ink, #163d35);
  color: #fff9e8;
  border-color: var(--exp-ink, #163d35);
}
.exp-panel [role='alert'] {
  color: #8b3328;
}
.exp-panel [role='status'] {
  scroll-margin-top: 25px;
}
@media (hover: hover) {
  body:not(.atlas-catalog) .day-card:hover {
    box-shadow: 0 12px 27px -23px #24433399;
  }
  body:not(.atlas-catalog) .day-card:hover .card-art img {
    transform: scale(1.025);
  }
  .exp-panel button:not(:disabled):hover {
    transform: translateY(-1px);
  }
}
@media (max-width: 640px) {
  .exp-panel {
    margin: 17px 0;
    padding: 18px 0;
  }
  .exp-heading {
    font-size: 28px;
  }
  .exp-panel :is(p, li) {
    font-size: 13px;
  }
  .exp-clue {
    font-size: 18px;
    padding: 12px 14px;
  }
  .exp-hook {
    font-size: 19px;
  }
  .exp-actions {
    gap: 7px;
  }
  .exp-actions button {
    flex: 1 1 auto;
  }
  .exp-passport {
    gap: 7px;
  }
  .exp-badge {
    font-size: 10px;
    padding: 8px 10px;
  }
  .exp-plan-days label {
    padding: 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .atlas-catalog *,
  .atlas-catalog *:before,
  .atlas-catalog *:after,
  .exp-panel *,
  .exp-reveal,
  .day-card {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .atlas-route .hero-line {
    stroke-dashoffset: 0;
  }
}
@media print {
  .atlas-catalog .mast-right,
  .atlas-catalog .catalog-toolbar,
  .atlas-catalog .hero-action,
  .atlas-catalog .hero-art,
  .atlas-catalog .catalog-footer,
  .atlas-catalog .skip {
    display: none !important;
  }
  .atlas-catalog .atlas-hero {
    display: block;
    min-height: 0;
    padding: 25px 0;
  }
  .atlas-catalog .shelf {
    grid-template-columns: repeat(2, 1fr);
  }
  .city-card {
    break-inside: avoid;
  }
  .city-card:before {
    display: none;
  }
  .card-picture {
    max-height: 150px;
  }
  .atlas-catalog .wrap {
    width: 100%;
  }
  .exp-actions,
  .exp-download,
  .exp-audio,
  .exp-plan {
    display: none !important;
  }
  .exp-panel {
    break-inside: avoid;
  }
}
/* Memorial chapters use quiet typography and navigation, never celebratory motion. */
body[data-memorial='true'] #jr-stop .jsv,
body[data-memorial='true'] .exp-panel,
body[data-memorial='true'] .exp-panel *,
body[data-memorial='true'] .exp-badge,
.exp-memorial,
.exp-memorial * {
  animation: none !important;
  transition: none !important;
}
body[data-memorial='true'] .exp-badge:before,
.exp-memorial .exp-badge:before {
  content: none;
}

.exp-archive figure {
  margin: 18px 0 0;
}
.exp-archive img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #ede7d7;
}
.exp-archive figcaption {
  margin: 10px 0;
  font:
    italic 18px/1.4 Georgia,
    serif;
}
.exp-map-toggle {
  margin: 8px 0;
  padding: 8px 13px;
  min-height: 40px;
  border: 1px solid #9aaa94;
  background: #f5f1e4;
  color: #214b3e;
  border-radius: 3px;
  font: 600 12px system-ui;
}
.exp-map-toggle[aria-pressed='true'] {
  background: #214b3e;
  color: #fff7e5;
}
.exp-map-toggle:focus-visible {
  outline: 3px solid #a54f35;
  outline-offset: 3px;
}
#city-map[data-explore='true']
  .km-marker:not(.is-seen):not(.is-current):not(:focus-within):not(:hover)
  .km-name {
  opacity: 0;
}
