:root {
  --color-navy: #001f3f;
  --color-sage: #a8caba;
  --color-terracotta: #c8102e;
  --color-cream: #f8f1e9;
  --color-ink: #1f2937;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-hover {
    transition: none;
  }

  .card-hover:hover {
    transform: none;
  }

  .photo-marquee-track {
    animation: none !important;
  }

  .photo-marquee-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--color-ink);
  background-color: var(--color-cream);
}

.font-serif,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: #001f3f;
  color: #f8f1e9;
  font-weight: 600;
  font-size: 0.875rem;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #c8102e;
  outline-offset: 2px;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(0, 31, 63, 0.35);
}

#site-nav {
  min-height: 5.25rem;
}

/* Full-bleed panning image strip (home) */
.photo-marquee-bleed {
  background-color: rgba(0, 31, 63, 0.06);
}

.photo-marquee-viewport {
  overflow: hidden;
  height: 9rem;
}

.photo-marquee-track {
  display: flex;
  width: max-content;
  animation: photo-marquee-scroll 90s linear infinite;
  will-change: transform;
}

.photo-marquee-set {
  display: flex;
  flex-shrink: 0;
  gap: 0;
}

.photo-marquee-img {
  display: block;
  height: 9rem;
  width: 13rem;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .photo-marquee-viewport {
    height: 10rem;
  }

  .photo-marquee-img {
    height: 10rem;
    width: 15rem;
  }
}

@keyframes photo-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
