/* A clear Cyrillic wordmark for the approved Egor v gorah brand. */
.brand { gap: 12px; }
.brand svg { width: 54px; flex: 0 0 54px; color: var(--orange); }
.brand-name {
  font-family: Ride, Arial, sans-serif;
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .025em;
}
.brand-title { display: block; white-space: nowrap; }
.brand-name small {
  margin-top: 5px;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  color: #d7e3f1;
}
.footer-brand {
  font-family: Ride, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .header-phone { margin-left: auto; }
  .menu-toggle { display: block; flex-shrink: 0; }
}
@media (max-width: 740px) {
  .header-inner { min-height: 96px; gap: 12px; }
  .brand { gap: 9px; }
  .brand svg { width: 39px; flex-basis: 39px; }
  .brand-name { font-size: 1.0625rem; }
  .brand-name small { font-size: .75rem; }
}
@media (max-width: 360px) {
  .brand svg { width: 28px; flex-basis: 28px; }
  .brand-name { font-size: 1rem; }
  .brand-name small { font-size: .75rem; }
}

.cover-prices {
  width: 100%;
  margin-top: 1.5rem;
  border-block: 1px solid #d5dfe9;
}
.cover-prices > div { padding: .8rem 0; }
.cover-prices > div + div { border-top: 1px solid #d5dfe9; }
.cover-prices h2, .trip-choices h2, .trip-choices h3 {
  font-family: Ride, Arial, sans-serif;
  font-style: normal;
  text-transform: none;
  letter-spacing: -.02em;
}
.cover-prices h2 { margin: 0 0 .25rem; font-size: 1rem; line-height: 1.4; color: #354f68; }
.cover-prices p { margin: 0; font-size: 1rem; line-height: 1.55; color: #354f68; }
.cover-prices strong { color: #082951; font-size: 1.65rem; white-space: nowrap; }
.trip-choices { padding: clamp(2rem, 4vw, 4rem) 0; background: #082951; color: #fff; }
.trip-choices h2 { margin: 0 0 1.5rem; color: white; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.2; }
.choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.3rem, 3vw, 3rem); }
.choice-grid article { display: flex; flex-direction: column; border-top: 2px solid #eba058; padding-top: 1rem; }
.choice-grid h3 { margin: 0 0 .65rem; color: #fff; font-size: 1.35rem; line-height: 1.3; }
.choice-grid p { margin: 0 0 .6rem; font-size: 1rem; line-height: 1.6; color: #e1ecf6; }
.choice-grid article > div { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: auto; }
.choice-grid a { display: inline-flex; align-items: center; min-height: 44px; color: #ffbd7f; text-decoration: underline; text-underline-offset: .23em; }
.choice-grid a:focus-visible { outline: 2px solid white; outline-offset: 3px; }
#trip-choices, .route-card[id], #sunsets { scroll-margin-top: 7rem; }
@media (max-width: 800px) { .choice-grid { grid-template-columns: 1fr; } }

#trip-finder label { display: block; margin-bottom: .65rem; font-weight: 600; }
.finder-input { display: flex; align-items: center; gap: 1rem; max-width: 58rem; }
.finder-input textarea { flex: 1; min-width: 0; width: 100%; padding: .9rem 1rem; border: 1px solid #aec5d5; border-radius: .65rem; background: white; color: #102d49; font: inherit; line-height: 1.45; resize: vertical; }
.finder-examples { display: flex; flex-wrap: wrap; gap: .5rem; margin: .85rem 0 0; }
.finder-examples button, .finder-select { font: inherit; cursor: pointer; }
.finder-examples button { border: 1px solid #7992aa; border-radius: 2rem; color: white; background: transparent; padding: .55rem .9rem; }
.finder-examples button:hover, .finder-examples button:focus-visible { background: #244767; }
#finder-status:not(:empty) { margin: 1.5rem 0 1rem; color: #edf4fa; }
.finder-select { align-self: flex-start; margin-top: auto; padding: .6rem 0; color: #ffbd7f; text-decoration: underline; text-underline-offset: .22em; border: 0; background: transparent; }
#trip-finder [hidden], .trip-choices [hidden] { display: none; }
@media (max-width: 640px) {
  .finder-input { align-items: stretch; flex-direction: column; }
  .finder-input textarea { box-sizing: border-box; }
}

/* The header and invitation share the same sunset photograph. */
.site-header { position: absolute; inset: 0 0 auto; background: transparent; border: 0; }
.site-header .header-inner { text-shadow: 0 1px 5px #112333; }
.sunset-cover {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(32rem, 85svh, 54rem);
  padding: 11rem 0 clamp(3rem, 7vw, 6rem);
  background: #293c4d;
  color: white;
}
.sunset-cover picture, .sunset-cover img, .sunset-cover::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sunset-cover picture { z-index: -2; }
.sunset-cover img { object-fit: cover; object-position: 63% 50%; }
.sunset-cover::before {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, #091825a8, transparent 28%, transparent 48%, #09182593), linear-gradient(90deg, #09182555, transparent 78%);
}
.sunset-content p { font-size: .9rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.sunset-content h1 { margin: .65rem 0 1.5rem; font: 700 clamp(3.8rem, 7vw, 7rem)/1.04 Ride, Arial, sans-serif; letter-spacing: -.045em; }
.sunset-content h1 span { display: block; margin-top: .13em; font-size: .72em; font-weight: 600; }
.sunset-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.sunset-actions a { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .7rem 1.2rem; border-radius: 2rem; font-weight: 600; }
.sunset-book { background: #ffad69; color: #082951; }
.sunset-book:hover { background: #ffc18e; }
.sunset-watch { border: 1px solid #ffffff9c; background: #14263599; color: white; }
.sunset-watch span { font-size: .85em; }
.sunset-details { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; padding-block: 2rem; color: #29425a; }
.sunset-details > div > a { display: inline-block; padding: .6rem 0; color: #082951; text-decoration: underline; }
.sunset-details .cover-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0; }
.sunset-details .cover-prices > div + div { border: 0; }
#trip-film { position: fixed; inset: 0; margin: auto; padding: .65rem; border: 0; border-radius: 1rem; background: #12212f; color: white; max-width: 96vw; max-height: 96svh; }
#trip-film::backdrop { background: #06111ce3; }
#trip-film form { text-align: right; }
#trip-film button { color: white; background: transparent; border: 0; padding: .5rem .8rem; }
#trip-film video { display: block; width: auto; height: auto; max-width: 88vw; max-height: 78svh; }
@media (max-width: 740px) {
  .sunset-cover { min-height: clamp(33rem, 84svh, 49rem); padding-block: 9rem 3rem; }
  .sunset-cover img { object-position: 53% 53%; }
  .sunset-cover::before { background: linear-gradient(180deg, #09182596, transparent 27%, transparent 43%, #091825bd); }
  .sunset-content h1 { font-size: clamp(3.5rem, 13vw, 5rem); }
  .sunset-actions { gap: .5rem; }
  .sunset-actions a { padding-inline: .85rem; }
  .sunset-details { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 460px) {
  .sunset-details .cover-prices { grid-template-columns: 1fr; gap: 0; }
  .sunset-details .cover-prices > div + div { border-top: 1px solid #d5dfe9; }
}

/* Show guest stories and their navigation only when a quote has been published. */
.guest-stories, .site-header .guest-stories-link { display: none; }
.guest-stories:has(.guest-stories-list > figure blockquote) { display: block; }
body:has(.guest-stories-list > figure blockquote) .site-header .guest-stories-link { display: inline-flex; }
.guest-stories-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.guest-stories-list figure { padding: 1.5rem; border-left: 3px solid var(--orange); background: #f4f7fa; }
.guest-stories-list blockquote { margin: 0; }
.guest-stories-list figcaption { margin-top: 1rem; color: #354f68; }
