body {
  background-color: #1a2229;
}

/* -----------------------------------------------------------------------------
   Experience — desktop grid
   ----------------------------------------------------------------------------- */
.experience {
  position: relative;
}
.experience__wrap {
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.experience__grid {
  display: grid;
  grid-template-columns: 2.14fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  min-height: clamp(380px, 48vw, 520px);
}
.exp-card {
  position: relative;
  overflow: hidden;
}
.exp-card__content {
  position: absolute;
  width: 100%;
  height: 30%;
  background: linear-gradient(
    180deg,
    rgba(26, 34, 41, 0) 0%,
    rgba(26, 34, 41, 0.8) 100%
  );
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
  padding-bottom: 24px;
}
.exp-card__content.exp-card__content1 {
  height: 50%;
}
.exp-card__content .exp-card__title {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: normal;
  margin-bottom: 8px;
}
.exp-card__content .exp-card__desc {
  font-family: "en2400";
  font-size: 16px;
  line-height: 150%;
  opacity: 0.8;
}
.exp-card--large {
  grid-row: span 2;
}
.exp-card__media {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s var(--ease);
}
img.exp-card__media {
  display: block;
  object-fit: cover;
  background-image: none;
}
/* Experience — mobile blocks hidden on desktop */
.experience-m.experience--mobile {
  display: none;
}
/* -----------------------------------------------------------------------------
   Routes
   ----------------------------------------------------------------------------- */
.routes__title-line {
  display: inline;
}
.routes__title-sub {
  display: block;
  margin-top: 0.25rem;
}
.section__arrow--mobile {
  display: none;
}
.route-card__title-mobile,
.route-card__desc--mobile {
  display: none;
}
.routes__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.route-card {
  position: relative;
  display: block;
  min-height: clamp(160px, 22vw, 204px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    all 0.3s var(--ease),
    box-shadow 0.25s var(--ease);
}

.route-card:hover {
  min-height: clamp(160px, 22vw, 358px);
}
.route-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--ease);
}
.route-card__content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 14, 0.82) 0%,
    rgba(8, 10, 14, 0.35) 55%,
    rgba(8, 10, 14, 0.2) 100%
  );
}
.route-card__content:hover {
  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 0%) 0%,
    rgb(255 255 255 / 0%) 55%,
    rgb(255 255 255 / 0%) 100%
  );
}
.route-card__title {
  margin: 0 0 1rem;
  line-height: 1;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
}
.route-card__desc {
  font-size: 1rem;
  font-family: "en2400";
  opacity: 0.8;
}
/* -----------------------------------------------------------------------------
   Team — desktop
   ----------------------------------------------------------------------------- */
.team__grid {
  display: flex;
  gap: 24px;
  width: calc(100% - 144px);
  margin: 0 auto;
  justify-content: space-between;
}
.team-card {
  width: calc(calc(100% - 72px) / 4);
  display: flex;
  flex-direction: column;
}
.team-card:nth-child(2n) {
  margin-top: 64px;
}
.team-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.team-card__cap {
  margin: 40px 0 16px;
  font-size: 20px;
  text-align: center;
  line-height: 1;
}
.team-card__cap2 {
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
  font-family: "en2400";
  opacity: 0.8;
}
.team--mobile {
  display: none;
}
/* -----------------------------------------------------------------------------
   Quotes — desktop
   ----------------------------------------------------------------------------- */
.quotes__grid {
  display: flex;
  width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.quote-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.quote-card__content{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(26, 34, 41, 0) 0%, #1A2229 100%);
  width: 100%;
}
.quote-card__avatar {
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.quote-card__text {
  margin: 0 0 2rem;
  line-height: 32px;
  font-size: 1rem;
  color: #fff;
  font-family: "en2400";
}
.stars {
  color: var(--star);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.quote-card__by {
  text-align: right;
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 20px;
  color: #fff;
  line-height: 20px;
}
.quotes--mobile {
  display: none;
}
@media (max-width: 1440px) {
  .team__grid {
    width: calc(100% - 40px);
  }
}
/* =============================================================================
   Mobile layout (matches second design draft)
   ============================================================================= */
@media (max-width: 900px) {
  .team-card {
    width: calc(calc(100% - 72px) / 2);
    display: flex;
    flex-direction: column;
  }
  .experience--desktop,
  .team--desktop,
  .quotes--desktop {
    display: none;
  }
  .experience-m.experience--mobile,
  .team--mobile,
  .quotes--mobile {
    display: block;
  }
  /* Routes: left-aligned titles, stacked */
  .routes .section__title {
    font-size: 1.2rem;
  }
  .section__arrow--desktop {
    display: none;
  }
  .section__arrow--mobile {
    display: inline;
  }
  .routes__title-sub {
    display: inline;
    margin-left: 0.25rem;
  }
  .route-card__title-desktop,
  .route-card__desc--desktop {
    display: none;
  }
  .route-card__title-mobile,
  .route-card__desc--mobile {
    display: block;
  }
  .route-card__title {
    text-align: left;
    margin-inline: 0;
  }
  .route-card__desc {
    margin-inline: 0;
    text-align: left;
  }
  .route-card__content {
    text-align: left;
    justify-content: flex-end;
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .route-card__overlay {
    background: linear-gradient(
      to top,
      rgba(8, 10, 14, 0.92) 0%,
      rgba(8, 10, 14, 0.35) 50%,
      rgba(8, 10, 14, 0.2) 100%
    );
  }
  .route-card {
    min-height: 200px;
  }
  /* Story cards (mobile experience) */
  .experience-m__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .story-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--bg-elevated);
  }
  .story-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }
  .story-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .story-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
  }
  .story-card__meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--accent);
    letter-spacing: 0.06em;
  }
  .story-card__desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  /* Carousels */
  .carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin: 0 20px;
  }
  .carousel::-webkit-scrollbar {
    height: 0;
  }
  .carousel__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding-right: 1rem;
  }
  .carousel__track:last-child {
    padding-right: 0;
  }
  .team-slide {
    flex: 0 0 min(88vw, 340px);
    scroll-snap-align: center;
    overflow: hidden;
  }
  .team-slide__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
  }
  .team-slide__media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .team-slide__banner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: #0f1218;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .team-slide__body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .team-slide__title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
  }
  .team-slide__body p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  .quote-slide {
    flex: 0 0 min(88vw, 278px);
    scroll-snap-align: center;
    position: relative;
    min-height: 420px;
    overflow: hidden;
  }
  .quote-slide__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .quote-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to top,
      rgba(8, 10, 14, 0.92) 0%,
      rgba(8, 10, 14, 0.25) 100%
    );
  }
  .quote-slide__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    z-index: 2;
    background: linear-gradient(180deg, rgba(26, 34, 41, 0) 0%, #1A2229 100%);
  }
  .stars--lg {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .quote-slide__text {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
  }
  .quote-slide__by {
    font-size: 0.8125rem;
    color: var(--text-muted);
  }
}
