@font-face {
  font-family: Fraunces; src: url("../fonts/fraunces.ttf") format("truetype"); font-style: normal;
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: Hanken; src: url("../fonts/hanken.woff2") format("woff2"); font-style: normal;
  font-weight: 100 900; font-display: swap;
}
:root {
  --paper: #f7f5ec; --ink: #20342c; --accent: #803825; --muted: #526256; --line: #c4c8b8;
  --font-display: Fraunces, Georgia, serif; --font-body: Hanken, Arial, sans-serif;
  --side: clamp(1.2rem, 5.3vw, 6.1rem); --atlas-header-height: 70px;
  background: var(--paper); color: var(--ink); font: 100%/1.5 var(--font-body);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #a04428; outline-offset: 4px;
}
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.planner-shell fieldset { min-inline-size: 0; padding: 0; border: 0; margin: 0; }
:where(h1,h2,h3,p,figure) { margin: 0; }
:where(h1,h2,h3) { font-family: var(--font-display); font-weight: 480; line-height: 1.03; letter-spacing: -.056em; text-wrap: balance; }
main:focus { outline: none; }
[data-mini-atlas] { min-height: calc(100svh - var(--atlas-header-height)); }
[data-mini-atlas] .atlas-static { min-height: inherit; position: relative; display: grid; align-content: end; padding: 2.2rem 3.6vw; overflow: hidden; background: linear-gradient(155deg,#dcece5,#f2e4cf); }
.static-name { position: absolute; inset: 5% 0 auto; text-align: center; font: 520 min(16vw,17rem)/.95 var(--font-display); text-transform: uppercase; color: #536b5c2b; letter-spacing: -.065em; }
.static-model { position: absolute; width: min(42.5vw,680px); top: 45%; left: 50%; transform: translate(-50%,-50%); }
.static-copy { position: relative; max-width: 27rem; }
.static-copy h1 { font-size: clamp(2.8rem,5.45vw,6rem); }
.static-copy .ink-button { margin-top: .8rem; }
@media (min-width:1180px) { [data-mini-atlas] { min-height: max(40rem,calc(100svh - var(--atlas-header-height))); } }
@media (max-width:639px) {
  [data-mini-atlas] .atlas-static { padding: 1.5rem 5vw 5rem; text-align: center; }
  .static-model { width: 92vw; top: 41%; }
  .static-name { top: 8%; font-size: 21vw; }
  .static-copy { margin-inline: auto; }
}
.skip { position: fixed; z-index: 40; top: 10px; left: 12px; transform: translateY(-180%); background: var(--paper); padding: .8rem 1.25rem; }
.skip:focus { transform: none; }
.mast { position: relative; z-index: 6; min-height: var(--atlas-header-height); padding: 0 var(--side); display: grid;
  align-items: center; grid-template-columns: 1fr auto 1fr; gap: 2rem; border-bottom: 1px solid #30483728; background: var(--paper); }
.wordmark { font: 600 clamp(1.7rem, 2.5vw, 2.1rem)/1 var(--font-display); letter-spacing: -.077em; text-decoration: none; }
.mast-nav, .mast-actions, .mobile-nav { display: flex; align-items: center; }
.mast-nav { gap: clamp(1.5rem, 3.3vw, 4rem); }
.mast-nav a, .mobile-nav a, .site-foot nav a { text-decoration: none; }
.mast-nav a, .menu-toggle { font-weight: 560; font-size: .93rem; }
.mast-nav a:hover, .mast-nav a[aria-current], .mobile-nav a:hover, .site-foot nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mast-actions { justify-content: flex-end; gap: .8rem; }
.paper-button, .ink-button, .light-button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: 43px; padding: .6rem 1.35rem; font: 620 .94rem/1.2 var(--font-body); border: 1px solid currentColor; border-radius: 3px; text-decoration: none; }
.paper-button { background: var(--paper); border-color: var(--ink); box-shadow: -2px 2px 0 var(--paper), -3px 3px 0 var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.paper-button:hover { transform: translate(1px,-1px); box-shadow: -3px 3px 0 var(--paper), -4px 4px 0 var(--ink); }
.paper-button:active { transform: translate(-1px,1px); box-shadow: none; }
.ink-button { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.ink-button:hover { background: #365445; }
.ink-button:disabled { cursor: wait; }
.light-button { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.light-button:hover { background: #fffdf5; }
.menu-toggle, .mobile-nav { display: none; }
.sheet-section, .reading { width: 100%; max-width: 1600px; margin-inline: auto; padding: clamp(3.7rem, 7vw, 8rem) var(--side); }
.first-section { padding-top: clamp(2.8rem, 6vw, 6.2rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-block-end: clamp(1.6rem, 3.3vw, 3.4rem); }
.section-head h2, .studio-block h2, .reading h2, .stops h2 { font-size: clamp(2.6rem, 5vw, 5.6rem); }
.text-link { display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; font-weight: 620; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.text-link:hover { color: var(--accent); }
.eyeline, .results-count, .registry-list .place-zone, .card-caption small { font-size: .77rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; }
.eyeline { color: var(--accent); }
.intro { margin: 0 0 clamp(2.3rem,4.5vw,4.4rem); }
.intro h1, .about-cover h1, .planner-copy h1, .manual h1, .registry-words h1 { margin: .35em 0 .25em; font-size: clamp(3.1rem,8.1vw,8.7rem); }
.lead { max-width: 42ch; font-size: clamp(1.18rem,1.65vw,1.63rem); line-height: 1.42; }
.route-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.8rem,3.5vw,4rem); }
.routes-all { row-gap: clamp(2rem,4.6vw,5rem); }
.route-card { display: block; text-decoration: none; }
.photo-window { overflow: hidden; background: #d4dbca; }
.photo-window img { width: 100%; aspect-ratio: 1.76; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.route-card:hover .photo-window img, .route-card:focus-visible .photo-window img { transform: scale(1.026); }
.card-caption { padding: 1rem 0 .2rem; display: grid; gap: .35rem; }
.card-caption small, .results-count { color: var(--muted); }
.card-caption h3 { font-size: clamp(1.95rem,3.35vw,3.7rem); }
.card-caption p { color: var(--muted); font-size: 1rem; }
.studio-block { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); width: 100%; background: #e7e5d5; }
.studio-block img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.studio-words { align-self: center; padding: clamp(2.5rem,6.6vw,7.3rem) var(--side); }
.studio-words h2 { margin: .28em 0; }
.studio-words p:not(.eyeline) { max-width: 38ch; font-size: clamp(1.05rem,1.35vw,1.34rem); }
.studio-words a { margin-top: 1.2rem; }
.site-foot { background: var(--ink); color: #f5f3e5; }
.foot-inner { max-width: 1600px; padding: clamp(2.5rem,5.7vw,6rem) var(--side); margin: auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.7rem 4rem; }
.foot-inner p { margin-top: .8rem; color: #d5dbca; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.foot-inner nav a { min-height: 40px; }
.book-cover { position: relative; min-height: clamp(560px,calc(100svh - var(--atlas-header-height)),920px); display: grid; align-items: end; color: #fffef2; isolation: isolate; }
.cover-image, .book-cover::after { position: absolute; inset: 0; height: 100%; width: 100%; }
.cover-image { z-index: -2; object-fit: cover; }
.book-cover::after { content: ''; z-index: -1; background: linear-gradient(0deg,#102018b8,transparent 75%),linear-gradient(80deg,#10201865,transparent 72%); }
.book-type { max-width: 47rem; padding: clamp(2.5rem,6vw,6rem) 0 clamp(3.5rem,6vw,6.8rem) var(--side); }
.book-type .eyeline { display: flex; align-items: center; gap: .75rem; color: #fffef2; }
.book-type .eyeline span::before { content: ''; display: inline-block; width: 1.9rem; height: 1px; background: currentColor; vertical-align: middle; margin: 0 .75rem 0 0; }
.book-type h1 { margin: .18em 0 .19em; font-size: clamp(4.1rem,8.5vw,9.4rem); line-height: .89; }
.book-type > p:not(.eyeline) { font-size: clamp(1.17rem,1.65vw,1.6rem); max-width: 39ch; }
.book-type .light-button { margin-top: 1.45rem; }
.route-line { display: grid; grid-template-columns: clamp(100px,17vw,245px) 1fr auto; align-items: center; gap: clamp(1rem,3vw,3.3rem); padding: 1.1rem 0; border-top: 1px solid var(--line); text-decoration: none; }
.route-line:last-child { border-bottom: 1px solid var(--line); }
.route-line img { width: 100%; height: clamp(80px,9vw,134px); object-fit: cover; }
.route-line h3 { font-size: clamp(1.7rem,3.65vw,4.2rem); }
.route-line:hover h3, .registry-list a:hover strong { color: var(--accent); }
.route-line > span { color: var(--muted); }
.registry-shell { background: #e7e9dc; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-items: start; gap: clamp(1.5rem,5vw,5rem); padding: clamp(2.5rem,5vw,5rem) var(--side); }
.registry-words h1 { font-size: clamp(2.7rem,5.65vw,6.4rem); margin-top: .15em; }
.registry-list { margin-top: clamp(1.4rem,3vw,3rem); }
.registry-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .15rem; min-height: 46px; border-top: 1px solid #a7b09f; text-decoration: none; }
.registry-row:last-child { border-bottom: 1px solid #a7b09f; }
.preview-toggle { display: none; }
.registry-list a strong { font: 460 clamp(1.48rem,2.9vw,3rem)/1.1 var(--font-display); letter-spacing: -.045em; }
.registry-list a[data-selected] strong { color: var(--accent); }
.registry-list .place-zone { color: var(--muted); font-size: .65rem; }
.registry-proof { position: sticky; top: 1.5rem; align-self: start; background: var(--plate,#d1e0d4); padding: 0 clamp(1rem,2vw,2rem) .9rem; border: 1px solid #73827266; transition: background .24s ease; }
.registry-proof img { width: 100%; height: clamp(290px,37vw,610px); object-fit: contain; }
.registry-proof figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .7rem; border-top: 1px solid #71807488; }
.registry-proof figcaption span { font: 500 clamp(1.6rem,2.5vw,3rem)/1.1 var(--font-display); letter-spacing: -.045em; }
.registry-proof figcaption small { color: var(--muted); }
.filter-bar { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.filters button { background: transparent; border: 1px solid #8d9b8a; border-radius: 2rem; padding: .45rem 1rem; min-height: 41px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search-label { display: grid; font-size: .83rem; gap: .25rem; }
.search-label input, .planner-shell :is(input,select,textarea) { min-height: 44px; border: 1px solid #7b897c; border-radius: 2px; background: #fffdf4; padding: .65rem .8rem; }
.results-count { margin: 1rem 0; }
.place-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem 1.25rem; }
.place-card { display: grid; text-decoration: none; }
.place-plate { background: var(--plate); overflow: hidden; }
.place-plate img { width: 100%; aspect-ratio: 1.13; object-fit: contain; transition: transform .35s ease; }
.place-card:hover .place-plate img { transform: scale(1.04); }
.place-card h3 { font-size: clamp(1.45rem,2.4vw,2.7rem); }
.empty-state { grid-column: 1/-1; padding: 1.2rem 0 3rem; }
.empty-state .text-link { border: 0; padding: 0; background: transparent; }
.place-head, .itinerary-head, .about-cover { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); align-items: center; }
.place-head { background: var(--plate); }
.place-head .detail-words, .itinerary-head .detail-words, .about-cover > div { padding: clamp(2.4rem,6.5vw,7.5rem) var(--side); }
.detail-words h1 { font-size: clamp(3.5rem,7.9vw,8.2rem); margin: .24em 0; }
.detail-words .eyeline, .detail-words .text-link { color: var(--ink); }
.detail-words .ink-button { margin-top: 1.6rem; }
.place-head .detail-model { width: 100%; height: clamp(320px,41vw,650px); object-fit: contain; }
.detail-crop { overflow: hidden; }
.detail-crop .detail-model { transform: scale(1.27); transform-origin: 50% 54%; }
.registry-proof figcaption a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
.registry-proof:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.reading { max-width: 1400px; }
.split-reading { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(2rem,7vw,9rem); }
.reading p, .stops p, .manual-body p, .manual-body li { font-size: clamp(1.06rem,1.35vw,1.24rem); max-width: 59ch; }
.reading p + p, .reading p + a { margin-top: 1.1rem; }
.reading h3 { font-size: 1.8rem; margin-top: 1.6rem; }
.feature-list { padding-left: 1.25rem; }
.feature-list li { margin-top: .4rem; }
.detail-links { padding: 1.45rem var(--side); border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1.6rem; }
.itinerary-head { background: #e8e7d8; }
.itinerary-head > img, .about-cover > img { width: 100%; height: 100%; min-height: 390px; max-height: 740px; object-fit: cover; }
.stops { max-width: 1200px; margin: auto; }
.stops h2 { margin-bottom: clamp(1.5rem,4vw,4rem); }
.stop { display: grid; grid-template-columns: minmax(160px,.65fr) minmax(0,1fr); align-items: center; gap: clamp(1rem,4vw,4.3rem); border-top: 1px solid var(--line); padding-block: 1.45rem; }
.stop img { width: 100%; height: clamp(165px,21vw,280px); object-fit: contain; background: var(--plate); }
.stop h3 { font-size: clamp(2.1rem,3.6vw,4rem); margin: .15em 0; }
.stop a { margin-top: .7rem; }
.about-cover { background: #e7e5d4; }
.about-cover h1 { font-size: clamp(3rem,6.65vw,7.4rem); }
.planner-shell { display: grid; grid-template-columns: 1fr minmax(0,.94fr); gap: clamp(2.5rem,8vw,10rem); max-width: 1470px; margin: auto; padding: clamp(2.5rem,6vw,6.8rem) var(--side); }
.planner-copy h1 { margin-top: .15em; font-size: clamp(3rem,6.8vw,7.1rem); }
.planner-photo { margin-top: 2.5rem; }
.planner-photo img { width: 100%; max-height: 250px; object-fit: cover; }
.planner-shell form { align-self: start; }
.form-note { padding: .75rem 1rem; margin-bottom: 1.4rem; border-left: 3px solid #8c5535; background: #efebdc; }
.planner-shell form label { display: flex; align-items: baseline; justify-content: space-between; font-weight: 620; margin: 1.05rem 0 .3rem; }
.planner-shell form small { font-weight: 420; color: var(--muted); }
.planner-shell :is(input,select,textarea) { width: 100%; }
.planner-shell textarea { resize: vertical; }
.submit-area { position: relative; padding: 1rem 0; }
.submit-area .ink-button { min-height: 47px; }
.submit-area .fold-stage { position: absolute; pointer-events: none; inset: -7rem 0 -.5rem; }
.form-result:not(:empty) { border-top: 1px solid var(--line); padding-top: 1rem; }
.form-result:focus { outline: none; }
.form-result h2 { margin-bottom: .45rem; font-size: 1.8rem; }
.form-result[data-state="error"] { color: #7a2e22; }
.manual { max-width: 1180px; }
.manual h1 { font-size: clamp(3.3rem,7.5vw,7rem); }
.manual-body { margin-top: 3rem; }
.manual-body section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(1rem,4vw,4rem); padding: 1.7rem 0; border-top: 1px solid var(--line); }
.manual-body h2 { font-size: clamp(1.7rem,3vw,2.6rem); }
.manual-body p + p, .manual-body p + ul { margin-top: .7rem; }
.manual-body ul { margin: .25rem 0; padding-left: 1.25rem; }
.manual-body code { overflow-wrap: anywhere; font: .83em/1.5 ui-monospace,Consolas,monospace; background: #e8e8db; padding: .1em .25em; }
.place-dialog { color: var(--ink); background: var(--paper); width: min(560px,calc(100vw - 2rem)); max-height: 86svh; border: 1px solid var(--ink); padding: clamp(1.15rem,3.5vw,2.8rem); overscroll-behavior: contain; }
.place-dialog::backdrop { background: #17271fd1; }
.place-dialog .dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.place-dialog h2 { font-size: clamp(2rem,5vw,3.6rem); }
.place-dialog .dialog-close, .menu-toggle { border: 0; padding: .5rem; min-height: 42px; background: transparent; text-decoration: underline; text-underline-offset: .3em; }
.dialog-places { display: grid; }
.dialog-places a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 44px; padding: .4rem .16rem; border-top: 1px solid var(--line); text-decoration: none; }
.dialog-places a:hover, .dialog-places a:focus-visible { background: #e7ebdf; }
.dialog-places strong { font: 470 1.42rem/1.2 var(--font-display); }
.dialog-places small { color: var(--muted); }
@media (max-width:900px) {
  .place-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mast { gap: 1rem; }
  .registry-proof img { height: clamp(245px,40vw,440px); }
}
@media (max-width:700px) {
  :root { --atlas-header-height: 64px; }
  .mast { grid-template-columns: 1fr auto; }
  .mast-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .mobile-nav { position: absolute; display: grid; top: 100%; left: 0; right: 0; padding: .65rem var(--side) 1rem; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 12px 18px #17271f18; }
  .mobile-nav a { padding: .65rem 0; border-top: 1px solid var(--line); }
  .wordmark { font-size: 1.7rem; }
  .mast-actions { gap: .35rem; }
  .paper-button { min-height: 37px; padding: .45rem .9rem; }
  .section-head { align-items: start; }
  .studio-words { padding-block: 2rem; min-width: 0; }
  .studio-block, .about-cover, .itinerary-head, .place-head, .planner-shell, .split-reading { grid-template-columns: 1fr; }
  .studio-block img { min-height: 0; height: auto; aspect-ratio: 1.55; }
  .foot-inner { flex-direction: column; }
  .foot-inner nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .book-cover { min-height: min(740px,calc(100svh - var(--atlas-header-height))); }
  .book-type { padding: 5rem var(--side) 3.3rem; }
  .route-line { grid-template-columns: 80px 1fr; gap: 1rem; }
  .route-line > span { display: none; }
  .registry-shell { grid-template-columns: minmax(0,1fr); gap: .25rem; grid-template-areas: "eyeline" "title" "proof" "list"; }
  .registry-words { display: contents; }
  .registry-words > .eyeline { grid-area: eyeline; }
  .registry-words > h1 { grid-area: title; }
  .registry-list { grid-area: list; }
  .registry-proof { position: static; grid-area: proof; }
  .registry-proof img { height: clamp(150px,39vw,240px); }
  .registry-words h1 { font-size: clamp(2.7rem,9vw,4rem); }
  .registry-list { margin-top: 1rem; }
  .registry-row { display: flex; align-items: stretch; gap: .65rem; border-top: 1px solid #a7b09f; }
  .registry-row a { flex: 1; min-width: 0; border: 0; }
  .preview-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .25rem .42rem; align-self: center; border: 0; border-bottom: 1px solid #84917d; background: transparent; font: 590 .82rem var(--font-body); color: var(--ink); }
  .preview-toggle:hover { color: var(--accent); border-color: var(--accent); }
  .place-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .place-head .detail-words { padding-bottom: .5rem; }
  .place-head .detail-model { height: clamp(260px,78vw,460px); }
  .itinerary-head > img, .about-cover > img { min-height: 0; height: auto; aspect-ratio: 1.7; }
  .planner-photo { display: none; }
  .planner-shell { gap: 2rem; }
  .manual-body section { grid-template-columns: 1fr; }
}
@media (max-width:480px) {
  .mast { display: flex; flex-wrap: wrap; justify-content: space-between; padding-block: .4rem; gap: .3rem .6rem; }
  .mast-actions { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  :is(.studio-words,.reading,.foot-inner,.registry-shell,.sheet-section,.detail-words,.planner-shell,.about-cover,.book-type) { overflow-wrap: anywhere; }
  .foot-inner nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem 1rem; }
  .route-grid { grid-template-columns: 1fr; }
  .place-grid { gap: 1.3rem .7rem; }
  .card-caption { padding-top: .6rem; }
  .place-card h3 { font-size: 1.45rem; }
  .book-type h1 { font-size: clamp(3.1rem,14vw,4.8rem); }
  .stop { grid-template-columns: minmax(0,.62fr) minmax(0,1fr); }
  .stop img { height: 140px; }
  .stop p { font-size: 1rem; }
  .route-line h3 { font-size: 1.65rem; }
  .search-label, .search-label input { width: 100%; }
}
@media (max-width:360px) {
  .registry-row a { display: grid; grid-template-columns: minmax(0,1fr); justify-items: start; align-content: center; gap: .15rem; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .paper-button, .photo-window img, .place-plate img, .registry-proof { transition: none; }
  .photo-window img, .place-plate img { transform: none !important; }
}
