/* «Трипскан»: a separate editorial identity for trip-map81.info. */
@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/noto-serif-display-cyrillic.woff2") format("woff2");
  unicode-range:
    U+0400-052F, U+1C80-1C8A, U+20B4, U+2116, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}

@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/noto-serif-display-latin.woff2") format("woff2");
}

:root {
  --paper: #f8f5ec;
  --ink: #183d43;
  --muted: #69766d;
  --line: #d9ddd0;
  --blue: #183d43;
  --blue-dark: #0c2a30;
  --blue-soft: #e7eeea;
  --green: #56705b;
  --green-soft: #e9eee2;
  --sand: #eee6d6;
  --copper: #bd603c;
  --copper-strong: #9f4a2e;
  --gold: #d4b77b;
  --display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --shadow: 0 16px 46px rgb(39 59 46 / 9%);
  --radius: 12px;
  --header-height: 92px;
  background: var(--paper);
}

body {
  background: var(--paper);
}

::selection {
  color: var(--ink);
  background: #edcfad;
}

.site-header {
  border-bottom-color: #d9ddd0;
  background: rgb(248 245 236 / 95%);
}

.header-inner {
  gap: 24px;
}

.brand {
  gap: 12px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.brand > span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.brand b {
  color: #7a8274;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 1.65px;
  text-transform: uppercase;
}

.site-header nav a,
.main-nav a {
  color: #425d57;
  font-size: 12px;
  font-weight: 650;
}

.site-header nav a:hover,
.main-nav a:hover {
  color: var(--copper-strong);
}

.btn {
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 700;
}

.btn-primary {
  color: #fffdf8;
  background: var(--ink);
}

.btn-primary:hover {
  background: #0c2a30;
}

.btn-secondary {
  border-color: #bcc8bc;
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: #fffdf7;
}

.btn-ghost {
  color: var(--copper-strong);
}

.btn-ghost:hover {
  color: #77331e;
}

.icon-button {
  border-radius: 50%;
  border-color: #d5dccf;
  background: #fffdf8;
}

.header-actions .btn-secondary {
  border-radius: 999px;
}

.header-actions .btn-secondary .plan-count {
  border-radius: 50%;
  color: var(--ink);
  background: #e5e9de;
}

.hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(34px, 5.2vw, 78px);
  padding-block: 44px 66px;
}

.hero .hero-visual {
  order: -1;
  height: 526px;
  border-radius: 12px;
  background: #829486;
  box-shadow: 16px 18px 0 #e8e6d8;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 17px;
  border: 1px solid rgb(255 253 245 / 38%);
  border-radius: 4px;
  pointer-events: none;
}

.hero-visual::after {
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgb(10 40 43 / 78%));
}

.hero-visual > img {
  object-position: center;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(45px, 4.65vw, 67px);
  font-weight: 500;
  line-height: 1.075;
  letter-spacing: -2px;
}

.hero h1 em,
.hero h1 span.accent {
  color: var(--copper);
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
}

.eyebrow {
  color: #687755;
  font-size: 9px;
  letter-spacing: 1.65px;
}

.eyebrow::before,
.blue-dot {
  background: var(--copper);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin-top: 24px;
  color: #63716a;
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  gap: 17px;
  margin-top: 28px;
}

.hero-stats {
  gap: 24px;
  margin-top: 28px;
}

.hero-stats > * {
  padding-right: 22px;
  border-right-color: #d8dece;
}

.hero-stats b,
.hero-stats strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -0.7px;
}

.hero-stats > span,
.hero-stats small {
  color: #748070;
  font-size: 9px;
}

.hero-coordinate {
  left: 35px;
  right: 35px;
  bottom: 66px;
}

.hero-coordinate > span {
  color: #f2eddb;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.hero-coordinate strong {
  margin-top: 15px;
  font-family: var(--display);
  font-size: 35px;
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.hero-coordinate small {
  margin-top: 15px;
  color: #f4f0df;
  font-size: 8px;
  letter-spacing: 1px;
}

.hero-photo-credit {
  left: 35px;
  bottom: 28px;
  color: #e3e6d6;
  font-size: 7px;
}

.mood-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 500px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.mood-links > span,
.mood-links > p {
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: #7c8674;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.mood-links button,
.mood-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 33px;
  padding: 7px 12px;
  border: 1px solid #d6d9c9;
  border-radius: 999px;
  color: #5c715d;
  background: transparent;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}

.mood-links button:hover,
.mood-links a:hover,
.mood-links button[aria-pressed="true"],
.mood-links button.is-active {
  border-color: var(--copper-strong);
  color: var(--copper-strong);
  background: #f4e7d8;
}

.atlas {
  padding-block: 65px 38px;
  border-block: 1px solid #d6ddcf;
  background: #edf0e7;
}

.section-title,
.destination-hero h1,
.article-header h1,
.empty-page h1 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -1.25px;
}

.section-title {
  font-size: clamp(36px, 3.55vw, 52px);
  line-height: 1.14;
}

.section-heading > p {
  color: #6c7a6e;
}

.atlas-toolbar {
  gap: 12px;
}

.search-field,
.select-field,
.view-toggle {
  border-color: #d4dccd;
  border-radius: 11px;
  background: #fffdf8;
}

.search-field input,
.select-field select {
  color: #25474a;
}

.select-field > span {
  color: #72806f;
  font-size: 9px;
}

.view-toggle button[aria-pressed="true"],
.view-toggle button.active {
  color: #fffdf5;
  background: var(--ink);
}

.filter-chips > button {
  border-color: #d5ddcc;
  color: #64745f;
  background: transparent;
}

.filter-chips > button[aria-pressed="true"],
.filter-chips > button.is-active {
  border-color: var(--copper-strong);
  color: #fffdf5;
  background: var(--copper-strong);
}

.filter-chips > button[aria-pressed="true"] > span,
.filter-chips > button.is-active > span {
  color: inherit;
  background: rgb(255 255 255 / 12%);
}

.atlas-workspace {
  border-color: #d1d9c9;
  border-radius: 17px;
  box-shadow: 0 13px 35px rgb(46 65 47 / 5%);
}

.results-panel,
.results-header {
  background: #fffdf7;
}

.place-card {
  border-bottom-color: #e8e9dc;
}

.place-card:hover,
.place-card.is-active {
  background: #f1f2e9;
}

.place-card > img,
.place-card-image,
.place-image {
  border-radius: 9px;
}

.place-card h3,
.place-card h4 {
  color: var(--ink);
  font-weight: 750;
}

.place-card .save-button {
  color: #8b9484;
}

.place-card .save-button[aria-pressed="true"] {
  color: var(--copper-strong);
}

.place-card-footer button,
.results-header .text-button {
  color: var(--copper-strong);
}

.map-pin {
  background: #295960;
}

.map-pin.nature {
  background: #6d8567;
}

.map-pin.cities {
  background: #b8815d;
}

.map-pin.mountains {
  background: #8b806b;
}

.map-pin.is-selected,
.map-pin.is-active {
  background: var(--copper-strong);
  box-shadow:
    0 0 0 5px rgb(189 96 60 / 17%),
    0 3px 10px rgb(20 42 54 / 25%);
}

.map-legend,
.map-status {
  border-color: #d2d9c9;
  color: #5e715e;
  background: rgb(255 253 246 / 95%);
}

.chapter-band,
.editorial-band {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  align-items: center;
  gap: 60px;
  width: min(100% - 80px, 1160px);
  margin: 70px auto 0;
  padding: 40px 0;
  border-block: 1px solid #ccd5c5;
}

.chapter-band .eyebrow,
.editorial-band .eyebrow {
  max-width: 150px;
  margin: 0;
  line-height: 1.8;
}

.chapter-band p:not(.eyebrow),
.editorial-band p:not(.eyebrow),
.chapter-band blockquote,
.editorial-band blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(25px, 2.9vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.route-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.route-card {
  border-color: #d6dccd;
  border-radius: 12px;
  background: #fffdf8;
}

.route-image,
.route-card > img,
.route-card > a > img,
.route-card-image > img {
  height: 260px;
}

.route-card-image .badge {
  left: 22px;
  bottom: 20px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff8e9;
}

.route-copy {
  padding: 26px;
}

.route-card h3 {
  max-width: 490px;
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.7px;
}

.route-card p {
  font-size: 12px;
}

.route-card .btn {
  border-color: #bccbbc;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
}

.route-card .btn:hover {
  border-color: var(--ink);
  color: #fffdf6;
  background: var(--ink);
}

.places-catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.places-catalog .route-card h2 {
  color: var(--ink);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
}

.journal-section {
  padding-block: 72px;
  border-block: 1px solid var(--line);
  background: #eee9db;
}

.journal-grid {
  gap: 23px;
}

a.journal-card {
  min-height: 370px;
  padding: 32px 28px 26px;
  border: 1px solid #d4d9c8;
  border-top: 3px solid #c79b6e;
  border-radius: 2px 2px 12px 12px;
  background: #fffdf7;
}

.journal-card:hover {
  border-top-color: var(--copper-strong);
}

.journal-card h3 {
  max-width: none;
  margin-block: 17px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.journal-index {
  top: 22px;
  right: 24px;
  color: #c4a880;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 400;
}

.journal-card .eyebrow {
  padding-right: 30px;
  font-size: 7px;
}

.journal-arrow {
  color: var(--copper-strong);
  border-color: #d4bca2;
  background: #fbf3e5;
}

.journal-card:hover .journal-arrow {
  border-color: var(--copper-strong);
  background: var(--copper-strong);
}

.intro-guide > div:first-child .section-title {
  font-size: 37px;
}

.guide-body,
.article-body,
.dialog-copy p,
.dialog-tips {
  color: #5b6d61;
}

.guide-body h2,
.article-body h2,
.guide-body h3,
.dialog-copy h2,
.plan-header h2 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.8px;
}

.faq-list {
  border-top-color: #b7c5b0;
}

.faq-list details {
  border-bottom-color: #d3dccb;
}

.faq-list summary > b {
  color: var(--copper-strong);
}

.newsletter-banner {
  border-radius: 12px;
  background: var(--ink);
}

.newsletter-banner h2 {
  color: #fff8e8;
  font-family: var(--display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.6px;
}

.newsletter-banner .eyebrow,
.newsletter-banner p:not(.eyebrow) {
  color: #c8d6c1;
}

.newsletter-banner .btn {
  color: var(--ink);
  background: #f4e3bd;
}

.newsletter-banner .btn:hover {
  background: #fff2d5;
}

.site-footer {
  border-top: 0;
  background: var(--paper);
}

.footer-main {
  padding: 34px;
  border: 1px solid #d7dece;
  border-radius: 12px;
  background: #fffdf7;
}

.footer-top .footer-nav a {
  color: #5a705e;
}

.footer-bottom {
  color: #7a8877;
}

.place-dialog,
.plan-drawer {
  background: var(--paper);
}

.place-dialog {
  border-radius: 15px;
}

.place-dialog::backdrop,
dialog.plan-drawer::backdrop {
  background: rgb(13 41 42 / 50%);
}

.plan-item {
  border-color: #d9dfcd;
  background: #fffdf8;
}

.plan-item-number {
  color: var(--copper-strong);
  background: #f4e7d7;
}

.plan-share-box {
  border-color: #d7ddcb;
  background: #ecefdf;
}

.destination-hero figure > img,
.credits-grid img {
  border-radius: 10px;
}

.access-note {
  border-left-color: var(--copper);
  background: #f0e7d5;
}

.destination-sidebar {
  border-color: #d3ddc8;
  background: #fffdf8;
}

.toast {
  border-color: #35585a;
  background: var(--ink);
}

@media (max-width: 1150px) {
  .hero {
    gap: 35px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero .hero-visual {
    height: 500px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    padding-inline: 18px;
    font-size: 11px;
  }

  .brand {
    font-size: 24px;
  }

  .header-inner {
    gap: 18px;
  }

  .site-header nav,
  .main-nav {
    gap: 22px;
  }

  .journal-card h3 {
    font-size: 25px;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }

  .hero h1 {
    font-size: 45px;
    letter-spacing: -1.25px;
  }

  .hero .hero-visual {
    height: 510px;
    box-shadow: 9px 12px 0 #e8e6d8;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 12px;
  }

  .hero-stats {
    gap: 13px;
  }

  .hero-stats > * {
    padding-right: 13px;
  }

  .hero-stats b,
  .hero-stats strong {
    font-size: 24px;
  }

  .hero-coordinate {
    left: 28px;
    right: 28px;
  }

  .hero-coordinate strong {
    font-size: 29px;
  }

  .hero-photo-credit {
    left: 28px;
    right: 28px;
  }

  .section-title {
    font-size: 40px;
  }

  .route-card h3 {
    font-size: 28px;
  }

  .places-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  a.journal-card {
    min-height: 240px;
  }

  .journal-card h3 {
    max-width: 600px;
    font-size: 29px;
  }

  .chapter-band,
  .editorial-band {
    grid-template-columns: 0.35fr 1fr;
    gap: 30px;
    width: calc(100% - 56px);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 23px;
    letter-spacing: -0.9px;
  }

  .brand > span {
    gap: 5px;
  }

  .brand b {
    font-size: 7px;
    letter-spacing: 1.2px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-actions .btn-secondary {
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 999px;
    font-size: 9px;
  }

  .header-actions .plan-count {
    width: 16px;
    min-width: 16px;
    height: 16px;
    font-size: 8px;
  }

  .mobile-menu-toggle {
    width: 31px;
    min-width: 31px;
    min-height: 34px;
    padding: 7px;
  }

  .site-header nav,
  .main-nav {
    background: var(--paper);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    padding-block: 37px 46px;
  }

  .hero-copy {
    order: 0;
  }

  .hero .hero-visual {
    order: 1;
    height: 390px;
    margin-right: 7px;
    border-radius: 9px;
    box-shadow: 7px 9px 0 #e8e6d8;
  }

  .hero h1 {
    max-width: 600px;
    font-size: clamp(38px, 10.1vw, 54px);
    line-height: 1.09;
    letter-spacing: -1.25px;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 500px;
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.85;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }

  .hero-actions {
    gap: 14px;
    margin-top: 25px;
  }

  .hero-actions .btn {
    min-height: 43px;
    padding: 13px 20px;
    font-size: 10px;
  }

  .hero-stats {
    gap: 22px;
    margin-top: 25px;
  }

  .hero-stats > * {
    padding-right: 21px;
  }

  .hero-stats b,
  .hero-stats strong {
    font-size: 27px;
  }

  .hero-stats > span,
  .hero-stats small {
    font-size: 8px;
  }

  .mood-links {
    gap: 7px;
    margin-top: 22px;
    padding-top: 17px;
  }

  .mood-links > span,
  .mood-links > p {
    font-size: 8px;
  }

  .mood-links button,
  .mood-links a {
    min-height: 32px;
    padding-inline: 11px;
    font-size: 9px;
  }

  .hero-coordinate {
    left: 28px;
    right: 28px;
    bottom: 61px;
  }

  .hero-coordinate strong {
    margin-top: 13px;
    font-size: 30px;
    line-height: 1.2;
  }

  .hero-coordinate > span {
    font-size: 7px;
  }

  .hero-coordinate small {
    font-size: 7px;
  }

  .hero-photo-credit {
    bottom: 26px;
    font-size: 6px;
  }

  .atlas {
    padding-block: 47px 28px;
  }

  .section-title {
    font-size: clamp(33px, 8.8vw, 44px);
    line-height: 1.17;
    letter-spacing: -1px;
  }

  .filter-chips > button {
    border-radius: 999px;
  }

  .atlas-workspace {
    border-radius: 12px;
  }

  .route-grid,
  .places-catalog {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .route-image,
  .route-card > img,
  .route-card > a > img,
  .route-card-image > img {
    height: 230px;
  }

  .route-copy {
    padding: 23px;
  }

  .route-card h3 {
    font-size: 29px;
  }

  .journal-section {
    padding-block: 52px;
  }

  a.journal-card {
    min-height: 300px;
    padding: 28px 23px 23px;
  }

  .journal-card h3 {
    font-size: 28px;
  }

  .chapter-band,
  .editorial-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: calc(100% - 36px);
    margin-top: 45px;
    padding-block: 29px;
  }

  .chapter-band .eyebrow,
  .editorial-band .eyebrow {
    max-width: none;
  }

  .chapter-band p:not(.eyebrow),
  .editorial-band p:not(.eyebrow),
  .chapter-band blockquote,
  .editorial-band blockquote {
    font-size: 28px;
  }

  .newsletter-banner {
    border-radius: 10px;
  }

  .newsletter-banner h2 {
    font-size: 34px;
  }

  .footer-main {
    padding: 25px;
    border-radius: 10px;
  }

  .footer-main .brand {
    font-size: 25px;
  }

  .dialog-copy h2 {
    font-size: 35px;
    font-weight: 500;
  }

  .destination-hero h1,
  .article-header h1 {
    font-size: 42px;
    line-height: 1.12;
  }
}

@media (max-width: 420px) {
  .site-header .brand b {
    display: none;
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 7px;
  }

  .brand {
    gap: 6px;
    font-size: 21px;
  }

  .brand b {
    font-size: 5.5px;
    letter-spacing: 0.85px;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .header-actions .btn-secondary {
    gap: 6px;
    padding-inline: 9px;
    font-size: 9px;
  }

  .header-actions .btn-secondary svg {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .hero-visual {
    height: 355px;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-stats > * {
    padding-right: 14px;
  }

  .route-card h3 {
    font-size: 27px;
  }

  .destination-hero h1,
  .article-header h1 {
    font-size: 37px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}

@media print {
  body,
  .plan-drawer {
    color: #173536;
    background: white;
  }
}
