/* V4: a control layer. Content and photographic compositions retain V3. */
:root {
  --v4-blue: #006d9b;
  --v4-blue-deep: #075f8d;
  --v4-ink: #102b3c;
  --v4-glass-light: #eef7fb;
  --v4-glass-dark: #075f8d;
  --v4-glass-filter: none;
  --v4-control-shadow: 0 5px 15px rgba(5, 56, 83, .13), inset 0 1px 0 rgba(255, 255, 255, .42);
  --v4-rim: #62869a;
  --v4-focus: #075f8d;
}
.button,
.v3-experiences .button,
.v3-contact .button,
main .v3-call {
  position: relative;
  isolation: isolate;
  border-radius: 999px;
  border: 1px solid var(--v4-rim);
  min-height: 54px;
  padding: 6px 7px 6px 19px;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: var(--v4-control-shadow);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.button::before,
main .v3-call::before {
  content: '';
  position: absolute;
  inset: 1px 18% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  pointer-events: none;
  border-radius: 999px;
}
.button-primary,
.v3-experiences .button-primary,
.v3-contact .button-primary,
main .v3-call {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--v4-glass-dark);
  background-image: linear-gradient(145deg, rgba(255,255,255,.04), transparent 48%, rgba(0,31,59,.12));
  color: #fff;
  border-color: #075782;
}
.button-secondary,
.button-light {
  padding: 12px 20px;
  color: var(--v4-ink);
  background: var(--v4-glass-light);
  background-image: linear-gradient(135deg, rgba(255,255,255,.35), transparent 65%);
  border-color: var(--v4-rim);
}
.v4-button-arrow,
main .v3-call > .v3-call-arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075f8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px;
  font-size: 0;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 5px rgba(4,44,65,.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.v3-hero .v3-call,
.trip-v2-hero .button-primary,
.cta-panel .button-primary,
.v2-closing .button-primary {
  background: var(--v4-glass-light);
  background-image: linear-gradient(130deg, rgba(255,255,255,.4), transparent 60%);
  color: var(--v4-ink);
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 6px 22px rgba(0,24,42,.2), inset 0 1px 0 #fff;
}
.v3-hero .v3-call { font-weight: 750; }
.v3-hero-top .v3-mono:last-child {
  color: #fff;
  background: rgba(16,43,60,.91);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  padding: 5px 9px;
  font-weight: 500;
  text-shadow: none;
}
.v3-hero .v3-call > .v3-call-arrow,
.trip-v2-hero .v4-button-arrow,
.cta-panel .v4-button-arrow,
.v2-closing .v4-button-arrow {
  background-color: var(--v4-blue-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E");
}
.v3-hero .v3-call { min-height: 58px; padding: 7px 8px 7px 21px; }
.v3-hero .v3-call > .v3-call-arrow { width: 42px; height: 42px; flex-basis: 42px; }
.trip-v2-hero .button-secondary,
.cta-panel .button-secondary,
.button-ghost {
  color: #fff;
  background: var(--v4-glass-dark);
  background-image: linear-gradient(145deg, rgba(255,255,255,.05), transparent 60%);
  border-color: #b9dcea;
}
.v3-experiences .v3-route-filters { gap: 8px; }
.v3-experiences .v3-filter {
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #62869a;
  background: #edf5f8;
  color: var(--v4-ink);
  box-shadow: inset 0 1px 0 #fff;
  font-weight: 600;
  transition: background-color 160ms ease, transform 160ms ease;
}
.v3-experiences .v3-filter[aria-pressed="true"] {
  background: #075f8d;
  background-image: linear-gradient(140deg, rgba(255,255,255,.04), transparent 60%);
  color: #fff;
  border-color: #075f8d;
  box-shadow: 0 3px 10px rgba(7,95,141,.16), inset 0 1px 0 rgba(255,255,255,.4);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.v3-experiences a:focus-visible,
.v3-experiences button:focus-visible,
.v3-contact a:focus-visible,
.v3-contact summary:focus-visible {
  outline: 3px solid var(--v4-focus);
  outline-offset: 4px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 7px var(--v4-focus);
}
.text-link,
.v3-text-link,
.section-links a { text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --v4-glass-light: rgba(240,248,252,.89);
    --v4-glass-dark: rgba(4,79,123,.94);
    --v4-glass-filter: blur(9px) saturate(1.18);
  }
  .v3-hero .v3-call,
  .trip-v2-hero .button-primary,
  .trip-v2-hero .button-secondary {
    -webkit-backdrop-filter: var(--v4-glass-filter);
    backdrop-filter: var(--v4-glass-filter);
  }
}
@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .v3-experiences .button:hover,
  .v3-contact .button:hover,
  main .v3-call:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 19px rgba(5,56,83,.19), inset 0 1px 0 rgba(255,255,255,.75);
  }
  .button-primary:hover,
  .v3-experiences .button-primary:hover,
  .v3-contact .button-primary:hover,
  main .v3-call:hover { background-color: #075782; color: #fff; }
  .v3-hero .v3-call:hover,
  .trip-v2-hero .button-primary:hover,
  .cta-panel .button-primary:hover,
  .v2-closing .button-primary:hover,
  .button-secondary:hover,
  .button-light:hover { background-color: #eef8fc; color: var(--v4-ink); }
  .trip-v2-hero .button-secondary:hover,
  .cta-panel .button-secondary:hover,
  .button-ghost:hover { background-color: #075782; color: #fff; }
  .button:hover .v4-button-arrow,
  main .v3-call:hover > .v3-call-arrow { transform: translate(1px,-1px); }
  .v3-experiences .v3-filter:hover:not([aria-pressed="true"]) { background: #dcecf4; border-color: #075f8d; }
  .text-link:hover,.v3-text-link:hover { text-decoration: underline; }
}
.button:active,
main .v3-call:active,
.v3-experiences .v3-filter:active { transform: translateY(1px); }
@media (max-width: 540px) {
  .button,.v3-experiences .button,.v3-contact .button { padding-left: 17px; gap: 9px; }
  .v4-button-arrow { width: 38px; height: 38px; flex-basis: 38px; }
  .v3-hero .v3-call { font-size: 1rem; min-height: 56px; padding: 6px 7px 6px 17px; gap: 10px; }
  .v3-hero .v3-call > .v3-call-arrow { width: 40px; height: 40px; flex-basis: 40px; }
  .v3-experiences .v3-filter { padding-inline: 12px; font-size: 1rem; }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --v4-glass-light: #eef7fb; --v4-glass-dark: #075f8d; --v4-glass-filter: none; }
  .v3-hero-top .v3-mono,
  .v3-hero-top .v3-mono:first-child,
  .v3-hero-top .v3-mono:last-child { background: #102b3c; }
  .v3-hero .v3-call,.trip-v2-hero .button-primary,.trip-v2-hero .button-secondary {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,main .v3-call,.v4-button-arrow,main .v3-call > .v3-call-arrow,.v3-experiences .v3-filter {
    transition: none; transform: none !important;
  }
}
@media (forced-colors: active) {
  .button,main .v3-call,.v3-experiences .v3-filter { border: 1px solid ButtonText; background: ButtonFace; color: ButtonText; box-shadow: none; }
  .v4-button-arrow,main .v3-call > .v3-call-arrow { border: 1px solid ButtonText; }
}
