/* Final interaction, accessibility and treatment-journey refinements. */
.desktop-nav > a[aria-current="page"],
.nav-dropdown.is-current > summary {
  box-shadow: inset 0 -3px 0 var(--ink);
  color: var(--ink);
}

.text-link::after {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-intro .intro-lead {
  max-width: 48ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.48;
}

.journey-overview { border-top: 0; }
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.journey-card {
  position: relative;
  display: block;
  min-height: 290px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.journey-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(19, 31, 46, .84));
}
.journey-card img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  aspect-ratio: 1.1;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.journey-card > span {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 600 16px/1.4 Unbounded, Arial, sans-serif;
}
.journey-card svg { flex: none; }
.journey-card:hover { color: #fff; }
.journey-card:hover img { transform: scale(1.035); }

.content-section details summary::after {
  content: "";
  top: 20px;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
.content-section details[open] summary::after {
  content: "";
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E");
}

@media (max-width: 1280px) {
  .desktop-nav > a,
  .nav-dropdown > summary { font-size: 12px; }
}

@media (max-width: 1020px) {
  .mobile-menu > summary {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-menu > summary::before,
  .mobile-menu[open] > summary::before { content: none; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary svg { width: 21px; height: 21px; }
  .mobile-menu .menu-close,
  .mobile-menu[open] .menu-open { display: none; }
  .mobile-menu[open] .menu-close { display: block; }
  .mobile-menu a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
}

@media (max-width: 720px) {
  .location-bar > div { font-size: 11px; }
  .header-book {
    flex-basis: 152px;
    padding: 10px 11px;
    font-size: 10px;
  }
  .mobile-menu > summary svg { width: 23px; height: 23px; }
  .journey-grid { grid-template-columns: 1fr; gap: 22px; }
  .journey-card,
  .journey-card img { min-height: 250px; }
  .journey-card img { aspect-ratio: 1.28; }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .journey-card img { transition: none; }
  .button:hover { transform: none; }
}
