:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --cream: #fffdf7;
  --ink: #1d2b24;
  --muted: #526158;
  --pine: #1c4033;
  --dark: #142e25;
  --leaf: #c5dfab;
  --terra: #9e4c3f;
  --line: #d7ddd1;
  --outline: #2d6e53;
  --body-font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-font: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.57 var(--body-font); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: var(--pine); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--outline); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font: 400 1em/1.03 var(--display-font); }
p { text-wrap: pretty; }
.shell { width: min(100% - 5.5rem, 75rem); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; inset: 1rem auto auto 1rem; z-index: 5; background: var(--cream); padding: .65rem 1rem; }

.site-header { background: var(--cream); border-bottom: 1px solid #ccd5cb; }
.header-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: inherit; text-decoration: none; font: bold 1.07rem/1 var(--display-font); }
.brand-small { display: block; font: 700 .76rem/1.2 var(--body-font); text-transform: uppercase; letter-spacing: .13em; margin-top: .18rem; }
.brand-mark { width: 2rem; height: 2rem; position: relative; display: block; border: 1px solid #57776a; border-radius: 50%; overflow: hidden; flex: none; }
.brand-mark::before, .brand-mark::after { position: absolute; content: ""; display: block; width: 2.3rem; height: 1rem; border: 1px solid currentColor; border-radius: 50%; transform: rotate(-27deg); }
.brand-mark::before { left: -.52rem; top: .66rem; }
.brand-mark::after { left: -.07rem; top: 1rem; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 4vw, 3.25rem); }
.main-nav a, .plan-link { color: var(--ink); font-size: .94rem; font-weight: 630; text-decoration: none; }
.main-nav a[aria-current], .main-nav a:hover { text-decoration: underline; text-underline-offset: .48rem; }
.plan-link { display: inline-flex; gap: .55rem; align-items: center; min-height: 2.75rem; border: 1px solid #afbfb1; border-radius: .32rem; padding: .45rem .72rem; }
.plan-link:hover, .plan-link[aria-current] { background: #e7efdf; }
.plan-count { display: grid; place-items: center; min-width: 1.35rem; padding: .06rem .35rem; border-radius: .9rem; font-size: .82rem; background: var(--pine); color: white; }
.bookmark-icon { width: .72rem; height: 1rem; display: inline-block; flex: none; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%, 0 0, 13% 12%, 13% 76%, 50% 54%, 87% 76%, 87% 12%, 13% 12%); }
[aria-pressed="true"] > .bookmark-icon { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }

.button { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; min-height: 2.85rem; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .3rem; font-weight: 680; font-size: .94rem; text-align: center; line-height: 1.35; text-decoration: none; }
.button--light { background: #d8e8c0; color: #142e25; }
.button--light:hover { background: #edf7db; }
.button--glass { background: rgb(14 28 22 / 35%); border-color: #b2c2b9; color: white; }
.button--glass:hover { background: #27483a; }
.button--dark, .button--save { background: var(--pine); color: white; }
.button--dark:hover, .button--save:hover { background: var(--dark); }
.button--save[aria-pressed="true"] { background: #d8e8c0; color: var(--dark); }
.button--outline { background: transparent; border-color: #91a194; color: var(--pine); }
.button--outline:hover { background: #e8ecdf; }
.text-link { display: inline-flex; align-items: center; align-self: end; min-height: 2.75rem; text-underline-offset: .33em; color: var(--pine); font-weight: 680; }
.text-link:hover { color: var(--terra); }
.eyebrow { color: var(--terra); font-size: .81rem; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }

.hero { position: relative; isolation: isolate; color: #fffdf5; background: radial-gradient(ellipse at 78% 25%, #5e6e55 0, #1c433a 34%, #10291f 72%); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-position: center 48%; }
.hero-shade { background: linear-gradient(90deg, rgb(9 25 20 / 86%) 1%, rgb(11 30 23 / 69%) 37%, rgb(11 26 20 / 22%) 76%), linear-gradient(0deg, rgb(8 25 18 / 48%), transparent 44%); }
.hero-inner { min-height: clamp(34rem, 70vh, 45.5rem); display: grid; align-content: center; padding-block: 4.75rem; }
.hero-copy { position: relative; max-width: 39rem; }
.hero-eyebrow { color: #e0edc9; font-size: .84rem; }
.hero h1 { font-size: clamp(4.25rem, 9vw, 8rem); margin-block: 1.1rem 1.45rem; line-height: .86; letter-spacing: -.062em; text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { max-width: 30rem; font-size: clamp(1.08rem, 1.9vw, 1.34rem); color: #f5f7ec; }
.hero-actions { display: flex; gap: .65rem; margin-top: 1.85rem; flex-wrap: wrap; }
.hero a:focus-visible, .site-footer a:focus-visible, .atlas-callout a:focus-visible, .atlas-diagram button:focus-visible { outline-color: #e1f3b7; }
.hero-legend { position: absolute; bottom: 2.25rem; right: max(2.75rem, (100% - 75rem) / 2); display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #f6f9ee; font-size: .84rem; }
.hero-legend span { display: inline-block; width: .43rem; height: .43rem; border: 1px solid currentColor; border-radius: 50%; }
.hero-legend b { width: 5.5rem; border-top: 1px solid #c0d0c3; }

.section { padding-block: clamp(3rem, 6.5vw, 5.6rem); }
.section-intro { display: flex; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.6rem; }
.section-intro h2, .callout-inner h2, .planner-heading h2, .about-body h2, .atlas-index h2 { font-size: clamp(2.1rem, 4.8vw, 3.35rem); letter-spacing: -.036em; margin-block: .28rem .53rem; }
.section-description { max-width: 45rem; font-size: 1.08rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.destination-card { min-width: 0; border: 1px solid var(--line); background: var(--cream); border-radius: .48rem; overflow: clip; }
.card-visual { position: relative; }
.route-photo { overflow: hidden; background: linear-gradient(160deg, #5b7661, #224a3e 52%, #122b25); }
.route-photo img { object-position: center; }
.landscape-kurshskaya-kosa { background: linear-gradient(155deg, #a9c1a4, #7b8a5f 45%, #b79a6c 47%, #4b6a5a); }
.landscape-kizhi { background: linear-gradient(165deg, #a7b7b3, #6c8074 47%, #465f55 48%, #213d35); }
.landscape-derbent { background: linear-gradient(150deg, #abb9a1, #a49576 46%, #817451 48%, #5a5643); }
.landscape-altai { background: linear-gradient(148deg, #9da990, #617960 48%, #34493a 49%, #1a3b32); }
.landscape-krugobaikalka { background: linear-gradient(164deg, #87a3a7, #5b7e85 49%, #42615a 50%, #2b3f33); }
.landscape-kamchatka { background: linear-gradient(143deg, #9baab2, #667783 44%, #4b5d60 46%, #263d3a); }
.card-visual .route-photo { aspect-ratio: 1.8; }
.destination-card--feature .card-visual .route-photo { aspect-ratio: 1.51; }
.save-button { display: inline-grid; place-items: center; flex: none; width: 2.65rem; height: 2.65rem; color: var(--pine); border-radius: .32rem; border: 1px solid var(--line); background: var(--cream); }
.save-button:hover, .save-button[aria-pressed="true"] { background: var(--leaf); }
.card-visual .save-button { position: absolute; right: .68rem; top: .68rem; }
.card-body { padding: 1rem 1.1rem 1.3rem; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .38rem .65rem; color: var(--muted); font-size: .86rem; font-weight: 580; }
.topic-mark { display: inline-flex; align-items: center; gap: .32rem; font-weight: 740; color: var(--pine); }
.topic-mark::before { content: ""; width: .48rem; height: .48rem; border-radius: 50%; background: #668656; }
.topic-mark--culture::before { background: #a45141; }
.topic-mark--engineering::before { background: #526f82; }
.card-body h3 { margin-block: .44rem .46rem; font-size: clamp(1.55rem, 2.35vw, 2.05rem); letter-spacing: -.036em; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--terra); text-decoration: underline; text-underline-offset: .18em; }
.card-body p { color: var(--muted); }

.atlas-callout { background: var(--pine); color: var(--cream); }
.callout-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 4.5rem; padding-block: clamp(2.25rem, 6vw, 5rem); }
.callout-inner .eyebrow { color: var(--leaf); }
.callout-inner p:last-child { max-width: 25rem; }
.topic-links { display: grid; gap: .55rem; }
.topic-links a { display: grid; gap: .2rem; padding: .64rem 1rem .8rem; border: 1px solid #648374; border-radius: .35rem; color: var(--cream); text-decoration: none; }
.topic-links a:hover { background: #284e3f; }
.topic-links .topic-mark { font-size: .83rem; color: #e1f1cd; }
.topic-links .topic-mark--culture::before { background: #df9583; }
.topic-links .topic-mark--engineering::before { background: #a8c6d8; }
.topic-links strong { font: 400 1.4rem/1.2 var(--display-font); }
.topic-links span:last-child { font-size: .92rem; color: #edf1e6; }

.page-intro { padding-block: clamp(2.75rem, 7vw, 5.5rem) 2.3rem; }
.page-intro h1, .detail-intro h1, .not-found h1 { margin-block: .35rem .75rem; color: var(--dark); font-size: clamp(3.15rem, 7vw, 6.25rem); letter-spacing: -.056em; }
.catalogue { padding-bottom: 4.75rem; }
.catalogue-controls { display: flex; justify-content: space-between; gap: .9rem 1.5rem; }
.topic-filter { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.topic-filter button { min-height: 2.65rem; border-radius: .3rem; padding: .36rem .72rem; border: 1px solid #a6b3a6; background: var(--cream); font-weight: 660; }
.topic-filter button:hover { background: #e5ecdf; }
.topic-filter button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.search-field { display: flex; align-items: center; padding-inline: .8rem; width: min(100%, 19rem); gap: .65rem; border: 1px solid #a6b3a6; background: var(--cream); border-radius: .32rem; }
.search-field:focus-within { outline: 3px solid var(--outline); outline-offset: 2px; }
.search-field input { width: 100%; min-height: 2.65rem; padding: .38rem 0; outline: none; border: 0; background: unset; }
.search-icon { width: .82rem; height: .82rem; border: 1.5px solid #587265; border-radius: 50%; position: relative; flex: none; }
.search-icon::after { position: absolute; content: ""; right: -.28rem; bottom: -.11rem; width: .38rem; border-top: 1.5px solid #587265; transform: rotate(45deg); }
.result-count { margin-block: .72rem .85rem; font-size: .9rem; color: var(--muted); }
.empty-state { display: grid; justify-items: start; gap: .6rem; padding: 1.4rem; background: var(--cream); border: 1px solid var(--line); border-radius: .36rem; }
.empty-state h2, .empty-state h3 { font-size: 1.85rem; }
.empty-state p { color: var(--muted); }

.atlas-section { padding-bottom: 4.75rem; }
.atlas-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.atlas-diagram { position: relative; isolation: isolate; min-height: 23rem; border-radius: .5rem; background: #183c30; color: #f0f5e9; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.atlas-grid-lines { position: absolute; inset: 1rem; z-index: -1; opacity: .35; background: radial-gradient(ellipse at 67% 65%, #7da78b 0%, transparent 61%), repeating-linear-gradient(90deg, transparent 0%, transparent calc(16.67% - 1px), #91a697 calc(16.67% - 1px), #91a697 16.67%), repeating-linear-gradient(0deg, transparent 0%, transparent calc(20% - 1px), #91a697 calc(20% - 1px), #91a697 20%); mask-image: linear-gradient(0deg, transparent, black 25%, black 77%, transparent); }
.atlas-diagram-head, .atlas-diagram-foot { display: flex; justify-content: space-between; font-size: .83rem; font-weight: 690; letter-spacing: .06em; color: #e4eddb; }
.atlas-diagram-foot { font-weight: 500; letter-spacing: 0; }
.atlas-points { position: relative; flex: 1; min-height: 17rem; }
.atlas-point { display: grid; justify-items: center; gap: .38rem; position: absolute; top: var(--y); left: var(--x); transform: translate(-50%, -35%); min-height: 2.75rem; min-width: 2.75rem; padding: .2rem; background: none; border: none; color: white; line-height: 1.15; }
.point-kurshskaya-kosa { --x: 8%; --y: 45%; }
.point-kizhi { --x: 21%; --y: 18%; }
.point-derbent { --x: 29%; --y: 78%; }
.point-altai { --x: 48%; --y: 62%; }
.point-krugobaikalka { --x: 66%; --y: 50%; }
.point-kamchatka { --x: 91%; --y: 35%; }
.point-dot { width: .95rem; height: .95rem; border: 2px solid #d0e6ad; background: #173a2e; border-radius: 50%; box-shadow: 0 0 0 .23rem #53755a; }
.point-title { background: #1e4436; border-radius: .22rem; padding: .25rem .4rem; font-size: .86rem; font-weight: 700; }
.atlas-point:hover .point-dot, .atlas-point[aria-pressed="true"] .point-dot { background: #d4eba8; box-shadow: 0 0 0 .25rem #648863; }
.atlas-point[aria-pressed="true"] .point-title { color: var(--dark); background: #d4eba8; }
.atlas-result { border: 1px solid var(--line); border-radius: .5rem; background: var(--cream); overflow: clip; }
.atlas-story .route-photo { aspect-ratio: 2.02; }
.atlas-story-body { padding: 1rem 1.15rem; }
.atlas-story-body h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.035em; margin-block: .4rem; }
.atlas-story-body p { color: var(--muted); }
.atlas-story-actions { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: .6rem; }
.atlas-index { padding-top: 2.4rem; }
.atlas-index h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.atlas-index ol { padding-inline-start: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2.1rem; }
.atlas-index li { padding-inline-start: .25rem; }
.atlas-index li::marker { color: var(--muted); }
.atlas-index a { font-weight: 680; text-underline-offset: .2em; }
.atlas-index li span { display: block; color: var(--muted); font-size: .9rem; }

.detail-intro { padding-block: 1.3rem 0; }
.breadcrumbs { display: flex; gap: .5rem; align-items: center; margin-block: 0 1.5rem; font-size: .9rem; color: var(--muted); }
.detail-intro-grid { display: flex; justify-content: space-between; align-items: end; gap: 1.1rem 2rem; margin-bottom: 1.45rem; }
.detail-intro h1 { font-size: clamp(3.1rem, 6.2vw, 5.7rem); }
.detail-lead { color: var(--muted); max-width: 42rem; font-size: clamp(1.05rem, 1.9vw, 1.24rem); }
.detail-actions { display: grid; justify-items: end; gap: .25rem; flex: none; }
.route-photo--detail { border-radius: .48rem; aspect-ratio: 2.7; }
.route-photo--detail img { object-position: center 47%; }
.detail-body { padding-block: clamp(2.35rem, 5vw, 3.8rem) 4.5rem; }
.story-columns { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.story-text section + section { margin-top: 2.25rem; }
.story-text h2, .field-notes h2 { font-size: clamp(1.95rem, 4vw, 3rem); letter-spacing: -.037em; margin-bottom: .56rem; }
.story-text p { font-size: 1.08rem; line-height: 1.7; }
.field-notes { background: #e7ecdf; border: 1px solid #cdd8c8; border-radius: .45rem; padding: 1.15rem 1.3rem; }
.field-notes h2 { margin-top: .25rem; font-size: 2.35rem; }
.field-notes ol { padding-inline-start: 1.4rem; margin-block: .65rem 0; }
.field-notes li + li { margin-top: .85rem; }
.field-notes li::marker { color: var(--terra); font-size: .86rem; font-weight: 800; }
.field-notes h3 { font-size: 1.21rem; margin: 0 0 .3rem; }
.field-notes li p { font-size: .96rem; color: #46574c; }
.source-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: 1rem; border-block: 1px solid var(--line); margin-top: 2.65rem; padding-block: 1.2rem; }
.source-box h2 { font-size: 1.8rem; margin-bottom: .4rem; }
.source-box p, .source-box li { color: var(--muted); }
.source-box ul { margin-block: .12rem; padding-inline-start: 1.3rem; }
.source-box li + li { margin-top: .5rem; }
.next-route { display: grid; gap: .2rem; background: var(--pine); color: white; border-radius: .42rem; margin-top: 2.1rem; padding: 1rem 1.2rem; text-decoration: none; }
.next-route:hover { background: var(--dark); }
.next-route span { color: var(--leaf); font-weight: 670; font-size: .86rem; }
.next-route strong { font: 400 1.8rem/1.2 var(--display-font); }

.planner-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.35rem; padding-bottom: 4.75rem; align-items: start; }
.planner-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.planner-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.plan-list { margin: 0; padding-inline-start: 1.55rem; }
.plan-item { padding: .9rem .12rem .9rem .5rem; border-bottom: 1px solid #cdd7cd; }
.plan-item::marker { color: var(--terra); font-weight: 760; }
.plan-item-meta { color: var(--muted); font-size: .88rem; }
.plan-item h3 { font-size: 1.62rem; margin: .12rem 0 .58rem; }
.plan-item h3 a { text-decoration-thickness: 1px; text-underline-offset: .15em; }
.plan-item-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.plan-item-actions button { min-height: 2rem; padding: .2rem .55rem; background: var(--cream); border: 1px solid #9caba0; border-radius: .24rem; font-size: .88rem; }
.plan-item-actions button:hover:not(:disabled) { background: var(--leaf); }
.plan-item-actions button:disabled { color: #5d665e; border-style: dashed; background: #eeeee5; }
.planner-notes { display: grid; gap: .5rem; border: 1px solid var(--line); background: var(--cream); border-radius: .42rem; padding: 1.1rem; }
.planner-notes label { font: 400 1.85rem/1.2 var(--display-font); }
.planner-notes textarea { resize: vertical; min-height: 7rem; padding: .55rem; border: 1px solid #9caba0; border-radius: .3rem; background: #fdfaf2; width: 100%; }
.notes-hint { color: var(--muted); font-size: .9rem; }
.print-notes { display: none; }
.about-body { padding-bottom: 4.75rem; max-width: 53rem; }
.about-body section + section { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.about-body h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.about-body p + p, .about-body li + li { margin-top: .6rem; }
.about-body li a { text-underline-offset: .2em; }
.not-found { padding-block: 4.5rem; }
.not-found .button { margin-top: 1.25rem; }

.site-footer { background: #152f25; color: #f9fbf4; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.1rem 2rem; padding-block: 2.2rem; }
.footer-inner p { margin-top: .7rem; color: #d3ded2; max-width: 22rem; font-size: .91rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; }
.site-footer nav a { color: #f9fbf4; font-weight: 590; text-underline-offset: .2em; }

@media (max-width: 55rem) {
  .shell { width: calc(100% - 2.5rem); }
  .hero-inner { min-height: 36rem; }
  .hero-legend { right: 1.25rem; }
  .card-grid { gap: .7rem; }
  .card-body { padding-inline: .75rem; }
  .atlas-layout, .story-columns { grid-template-columns: minmax(0, 1fr); }
  .atlas-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .atlas-story .route-photo { aspect-ratio: auto; min-height: 12rem; }
  .story-columns { gap: 1.65rem; }
  .callout-inner { gap: 1.65rem; }
}

@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: .6rem .9rem; padding-block: .75rem .5rem; }
  .main-nav { order: 3; flex: 1 0 100%; gap: clamp(.78rem, 6vw, 1.7rem); border-top: 1px solid #e0e6dc; padding-top: .36rem; }
  .main-nav a { min-height: 2.25rem; display: inline-flex; align-items: center; }
  .hero-inner { min-height: 31rem; padding-block: 3.4rem 4.2rem; }
  .hero h1 { font-size: clamp(3.45rem, 14vw, 5.25rem); }
  .hero-shade { background: linear-gradient(90deg, rgb(9 26 20 / 86%), rgb(9 26 20 / 52%)), linear-gradient(0deg, rgb(12 31 22 / 70%), transparent 65%); }
  .hero-legend { right: 1rem; bottom: 1rem; }
  .hero-legend b { width: 3rem; }
  .section-intro, .catalogue-controls { flex-direction: column; }
  .section-intro .text-link { align-self: start; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .card-visual .route-photo, .destination-card--feature .card-visual .route-photo { aspect-ratio: 1.93; }
  .card-body { padding: .85rem 1rem 1rem; }
  .callout-inner, .planner-layout { grid-template-columns: minmax(0, 1fr); }
  .search-field { width: 100%; }
  .atlas-diagram { min-height: 21rem; padding-inline: .6rem; }
  .atlas-point { padding-inline: .12rem; }
  .point-title { max-width: 5.7rem; padding-inline: .2rem; overflow-wrap: anywhere; }
  .point-kurshskaya-kosa { --x: 10%; --y: 45%; }
  .point-kamchatka { --x: 89%; --y: 28%; }
  .point-krugobaikalka { --x: 70%; --y: 53%; }
  .atlas-story { grid-template-columns: minmax(0, 1fr); }
  .atlas-story .route-photo { aspect-ratio: 2; min-height: auto; }
  .atlas-index ol { grid-template-columns: minmax(0, 1fr); }
  .detail-intro-grid { flex-direction: column; align-items: start; }
  .detail-actions { justify-items: start; }
  .route-photo--detail { aspect-ratio: 1.7; }
  .source-box { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 24rem) {
  .brand { font-size: 1rem; gap: .45rem; }
  .brand-mark { width: 1.7rem; height: 1.7rem; }
  .plan-link { gap: .36rem; padding-inline: .5rem; }
  .atlas-points { min-height: 16rem; }
  .point-title { max-width: 4.65rem; font-size: .8rem; }
}

@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .skip-link, .plan-item-actions, [data-print-plan], .planner-notes textarea, .notes-hint { display: none; }
  .shell { width: 100%; }
  .planner-layout { display: block; }
  .page-intro { padding-block: 1rem; }
  .planner-notes { display: block; margin-top: 1rem; padding: .5rem 0; border: none; }
  .print-notes { display: block; white-space: pre-wrap; }
}
