/* Keep the existing art and add contrast close to the letters. */
:root {--photo-letter-shadow:0 0 2px #061c34,0 1px 3px #061c34,0 1px 6px #061c34,0 2px 10px rgba(6,28,52,.75)}
.nav.on-photo :is(.brand,.nav-links a:not(.btn),.menu-btn),
.hero-copy :is(h1,.connection,.hero-foot p),
.wonder :is(h2,p),.closing-copy h2,
.wild-hero-copy,.wild-close-copy h2,.meet-close-copy,
.tour-close .tour-overlay :is(h2,p) {
  text-shadow:var(--photo-letter-shadow);
}
.credit {text-shadow:0 0 1px #04172c,0 0 2px #04172c,0 1px 3px #04172c,0 1px 5px #04172c}
.wild-hero-copy .wild-label {color:var(--white)}
@media (min-width:701px) {
  .tour-hero .tour-overlay :is(h1,p) {text-shadow:var(--photo-letter-shadow)}
  .tour-hero .tour-overlay .eyebrow {color:var(--white)}
}
@media (max-width:760px) {
  .menu-btn, .menu a, .btn, .link, .policy-tabs button,
  .tour-section .faq summary, .policy-back a,
  .wild-viewer-close, .footer .brand, .footer .phone {min-height:44px}
  .menu a,.footer ul a,.footer-bottom a,.policy-index a,.policy-contact-card p > a {
    display:inline-flex;
    min-height:44px;
    align-items:center;
  }
  .menu a {display:flex}
  .footer .brand,.footer .phone {display:flex;align-items:center}
  .footer ul {gap:0}
  .listen-toggle {width:44px;height:44px;flex:0 0 44px}
  .listen-progress,.story-controls input {height:44px;min-height:44px;touch-action:none}
  :is(.listen-progress,.story-controls input)::-webkit-slider-runnable-track {height:8px;background:var(--rule);border-radius:4px}
  :is(.listen-progress,.story-controls input)::-webkit-slider-thumb {appearance:none;width:20px;height:20px;margin-top:-6px;border-radius:50%;background:var(--ink)}
  :is(.listen-progress,.story-controls input) {appearance:none;background:transparent}
  :is(.listen-progress,.story-controls input)::-moz-range-track {height:8px;background:var(--rule);border-radius:4px}
  :is(.listen-progress,.story-controls input)::-moz-range-thumb {width:20px;height:20px;border:0;border-radius:50%;background:var(--ink)}
  .wild-section .wild-dots button {min-width:44px;min-height:44px}
  .wild-section .wild-carousel-controls {gap:4px}
  .wild-section .wild-carousel-controls :is(.wild-prev,.wild-next) {width:44px;height:44px}
  .wild-section .wild-carousel-controls:has(.wild-dots button:nth-child(6)) {margin-inline:-19px}
}
@media (max-width:365px) {
  /* The six-dot row needs more space than a 320px screen provides. */
  .wild-section .wild-dots:has(button:nth-child(6)) button {min-width:clamp(30px,11vw,44px)}
  .wild-section .wild-carousel-controls:has(.wild-dots button:nth-child(6)) {margin-inline:-12px}
}
@media (max-width:420px) and (max-height:700px) {
  .hero .hero-foot {bottom:max(28px,calc(100% - 100svh + 83px + env(safe-area-inset-bottom, 0px)));gap:6px}
  .hero .hero-foot .btn {min-height:44px;padding-block:9px}
  .hero .connection {
    top:auto;
    bottom:calc(max(28px,100% - 100svh + 83px + env(safe-area-inset-bottom, 0px)) + 83px);
  }
}

/* Retain the rendered chart dimensions before the deferred images are fetched. */
.meet-charts img[data-src*="fin-chart"] {width:min(28.5vw,255px)}
.meet-charts img[data-src*="fluke-chart"] {width:min(50.6667vw,453.333px)}
@media (max-width:760px) {
  .policy-contact-card a,.policy-link {display:inline-flex;min-height:44px;align-items:center}
}

@media (max-width:640px) {
  .meet-close {height:auto;background:var(--ink)}
  .meet-close .meet-photo {position:relative;height:auto;aspect-ratio:1915 / 821}
  .meet-close .meet-photo img {position:absolute;inset:0}
  .meet-close-copy {
    position:static;
    width:auto;
    transform:none;
    padding:28px var(--gutter) 36px;
    gap:12px;
    text-shadow:none;
  }
  .meet-close-copy blockquote {font-size:clamp(20px,5vw,26px)}
  .meet-close-copy p {font-size:14px}
  .meet-close-copy h2 {margin-top:8px;font-size:clamp(24px,6vw,32px)}
  .meet-close-copy .btn {min-height:44px;padding:10px 16px;font-size:16px}
  .footer-bottom .footer-note-item {display:block}
  .footer-bottom .footer-note-separator {display:none}
}
