:root {
  --primary: #f99c18;
  --navy: #273039;
  --text: #2f363e;
  --surface: #ffffff;
  --surface-alt: #f4f6f8;
  --muted: #66707c;
  --radius: 1rem;
  --shadow: 0 10px 25px rgba(39, 48, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfd 0%, var(--surface-alt) 100%);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.hero {
  position: relative;
  min-height: min(72vh, 42rem);
  isolation: isolate;
  display: grid;
  align-items: end;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(39, 48, 57, 0.88), rgba(39, 48, 57, 0.4), rgba(39, 48, 57, 0.15));
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: min(68rem, 92vw);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) 0;
}

.hero__kicker {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 0.35rem 0 0.25rem;
  font-size: clamp(1.7rem, 4.4vw, 3.15rem);
  line-height: 1.15;
}

.hero p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.96);
}

.page-content {
  width: min(72rem, 92vw);
  margin: clamp(1.2rem, 3vw, 2rem) auto 3rem;
}

.team-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
}

.team-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(39, 48, 57, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.team-card:focus-within,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(39, 48, 57, 0.16);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: #d8dde3;
}

.team-card__photo--placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 20% 20%, #f8fafc 0%, #d8dde3 100%);
}

.team-card__photo--placeholder svg {
  width: 45%;
  fill: var(--navy);
  opacity: 0.78;
}

.team-card__content {
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
}

.team-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
}

.role {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  border-radius: 0.45rem;
  padding: 0.1rem 0;
  overflow-wrap: anywhere;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  outline: none;
}

.site-footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 1.2rem 1rem;
  font-size: 0.95rem;
}

.touch .team-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

@media (min-width: 540px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 820px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1120px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 58vh;
  }

  .team-card__content {
    padding: 0.9rem;
  }

  .contact-link {
    padding: 0.2rem 0;
  }
}
