:root {
  --ink: #172434;
  --muted: #536170;
  --brand-blue: #087ec7;
  --brand-blue-dark: #075f95;
  --brand-orange: #ed8b00;
  --brand-gold: #ffb81c;
  --paper: #ffffff;
  --mist: #f4f7f9;
  --line: #dbe3e8;
  --max-width: 72rem;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--brand-blue-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-blue);
}

:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 4.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
}

h3 {
  font-size: 1.25rem;
}

p,
ul,
ol {
  margin: 0 0 1.25rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-200%);
  border-radius: 0.4rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(23 36 52 / 10%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.site-nav {
  position: relative;
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-nav__logo img {
  width: 9.25rem;
  height: auto;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.45rem;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  background: #eaf5fb;
  color: var(--brand-blue-dark);
}

.site-nav__toggle {
  display: none;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(38rem, 72vh);
  place-items: center;
  overflow: hidden;
  background: #263746;
  color: var(--paper);
  text-align: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgb(8 24 36 / 82%), rgb(8 24 36 / 28%)),
    url("../images/hero-coast.jpg") center / cover no-repeat;
  content: "";
}

.hero__content {
  position: relative;
  max-width: 56rem;
  padding-block: 6rem;
}

.hero__eyebrow,
.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--brand-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero p {
  max-width: 46rem;
  margin: 1.25rem auto 0;
  color: rgb(255 255 255 / 90%);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 0.55rem;
  background: var(--brand-blue);
  color: var(--paper);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-blue-dark);
  color: var(--paper);
}

.button--light {
  border-color: rgb(255 255 255 / 75%);
  background: rgb(255 255 255 / 10%);
}

.button--light:hover {
  background: rgb(255 255 255 / 20%);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tint {
  background: var(--mist);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 0 0.8rem 2rem rgb(23 36 52 / 6%);
}

.card__accent {
  width: 3rem;
  height: 0.3rem;
  margin-bottom: 1.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-gold));
}

.card ul:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: linear-gradient(135deg, #eaf5fb, #fff8e7);
}

.page-hero h1 {
  max-width: 55rem;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.page-hero p {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.team-list {
  display: grid;
  gap: 1.5rem;
}

.profile {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 0 0.8rem 2rem rgb(23 36 52 / 6%);
}

.profile img {
  width: 100%;
  height: 100%;
  min-height: 21rem;
  object-fit: cover;
  object-position: center top;
}

.profile__copy {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.profile__role {
  color: var(--brand-blue-dark);
  font-weight: 750;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
}

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eaf5fb;
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.app-hero {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3rem);
}

.app-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  overflow: hidden;
  border-radius: 22%;
  box-shadow: 0 1rem 2rem rgb(23 36 52 / 18%);
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose .updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  padding: 1rem 1.2rem;
  border-left: 0.3rem solid var(--brand-orange);
  background: #fff8e7;
}

.site-footer {
  padding-block: 3rem;
  background: var(--ink);
  color: rgb(255 255 255 / 80%);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  max-width: 32rem;
}

.site-footer a {
  color: var(--paper);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 52rem) {
  .site-nav__toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav__links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0 0 0.75rem 0.75rem;
    background: var(--paper);
    box-shadow: 0 1rem 2rem rgb(23 36 52 / 12%);
  }

  .site-nav__links[data-open="true"] {
    display: grid;
  }

  .cards,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .profile {
    grid-template-columns: 10rem minmax(0, 1fr);
  }
}

@media (max-width: 36rem) {
  .profile,
  .app-hero {
    grid-template-columns: 1fr;
  }

  .profile img {
    max-height: 25rem;
  }

  .app-icon {
    width: 7.5rem;
  }

  th,
  td {
    min-width: 8rem;
  }
}

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