@font-face {
  font-family: Cormorant Garamond;
  font-weight: 600;
  font-display: swap;
  src: url('/media/heading-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  --ink: #24382b;
  --muted: #526455;
  --paper: #f8f6ef;
  --line: #d8ded1;
  --heading: 'Cormorant Garamond', Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 Inter, system-ui, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid #a76328; outline-offset: 4px; }

.layout { width: min(82rem, calc(100% - 4rem)); margin-inline: auto; }

.topbar, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar { min-height: 5rem; }
.brand { font-size: 1.22rem; font-weight: 760; letter-spacing: -.04em; text-decoration: none; }
.topbar nav { display: flex; gap: clamp(.9rem, 3vw, 2.4rem); }
.topbar nav a, .footer > a:last-child { font-size: .9rem; text-decoration: none; }
.topbar nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(33rem, 64vw, 46rem);
  overflow: hidden;
  border-radius: .7rem;
  background: #2a4034;
  color: #fffdf5;
}

.hero-photo, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }

.hero::after {
  content: '';
  background: linear-gradient(85deg, rgba(12, 32, 23, .85), rgba(12, 32, 23, .36) 54%, transparent 80%),
              linear-gradient(0deg, rgba(12, 32, 23, .6), transparent 62%);
}

.hero-content { width: min(52rem, 100%); padding: clamp(2rem, 6vw, 5rem); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  line-height: 1.02;
}

h1 { font-size: clamp(3.45rem, 7.8vw, 7.35rem); letter-spacing: -.048em; }
.hero-content p { max-width: 28rem; margin: 1.15rem 0 1.6rem; font-size: clamp(1rem, 2vw, 1.18rem); }

.action {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  border-radius: .3rem;
  background: #f6edca;
  color: #26382a;
  padding: .72rem 1.05rem;
  font-weight: 660;
  text-decoration: none;
}

.action:hover { background: #fff8de; }
.routes { padding-block: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.35rem); letter-spacing: -.035em; }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.2rem); margin-top: 1.55rem; }

.route {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #fdfbf4;
}

.route img { width: 100%; aspect-ratio: 780 / 440; object-fit: cover; height: auto; }
.route-body { padding: clamp(1.2rem, 3vw, 2rem); }
.route h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.route p, .packing p { margin-top: .55rem; color: var(--muted); }
.route details { margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.route summary { cursor: pointer; font-weight: 650; }

.packing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.6rem, 4vw, 4rem);
  background: #e6eddf;
  border-radius: .6rem;
}

.packing ul { margin: 0; padding-left: 1.2rem; columns: 2; }
.packing li { padding: .22rem 0; break-inside: avoid; }
.footer { min-height: 7rem; }

@media (max-width: 700px) {
  .layout { width: calc(100% - 2rem); }
  .hero { min-height: 34rem; }
  .hero::after { background: linear-gradient(0deg, rgba(12, 32, 23, .94), rgba(12, 32, 23, .48) 53%, transparent 87%); }
  .hero-content { padding: 2rem 1.3rem; }
  h1 { font-size: clamp(2.85rem, 10vw, 4.7rem); }
  .route-grid, .packing { grid-template-columns: minmax(0, 1fr); }
  .packing ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
