/*
 * SPDX-FileCopyrightText: Copyright (c) 2026, Cook's Code, Inc.
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.nav-link,
.btn {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.close-modal {
  background: transparent;
  border: 0;
}

.navbar-brand img {
  border-radius: 50%;
}

header.masthead,
section#contact {
  isolation: isolate;
  position: relative;
}

header.masthead::before,
section#contact::before {
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.82), rgba(0, 48, 88, 0.62));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

header.masthead > .container,
section#contact > .container {
  position: relative;
  z-index: 1;
}

section#contact .text-muted {
  color: #e2e8f0 !important;
}

.team-member .team-photo img {
  object-fit: cover;
  object-position: center 30%;
}

.team-photo {
  margin: 0;
}

.team-photo figcaption,
.team-profile figcaption {
  color: #5f6870;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.team-profile {
  margin: 1.5rem 0;
  max-width: 26rem;
  text-align: center;
}

.team-profile img {
  border-radius: 0.75rem;
  height: auto;
  width: 100%;
}

.x-brand::before {
  content: "X";
  font-family: system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
}

.text-muted {
  color: #5f6870 !important;
}

.portfolio-link:focus-visible,
.social-buttons a:focus-visible {
  box-shadow: 0 0 0 4px #ffbf47;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
