/* Always dark, whatever the visitor's device setting (a deliberate brand choice).
   Brand colours from the logo artwork: navy #024171, teal #23c5eb.
   --navy is the "heading" colour; on the dark background it's white. */
:root {
  color-scheme: dark;
  --navy: #ffffff;
  --teal: #23c5eb;
  --text: #dbe3ea;
  --muted: #9aa7b4;
  --bg: #0b1a2a;
  --rule: #22364b;
  --link: #23c5eb;
  --link-hover: #7fdcf3;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.card {
  width: 100%;
  max-width: 38rem;
  padding: 3rem 1.25rem;
}

.brand {
  margin: 0 0 2.5rem;
}

.brand img {
  display: block;
  width: 15rem;
  max-width: 70%;
  height: auto;
}

h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.role {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

/* Keep names and role phrases together only where there's room; phones wrap normally. */
@media (min-width: 40rem) {
  .role span,
  .nowrap { white-space: nowrap; }
}

.place {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.links {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--rule);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-weight: 500;
}

.links::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--teal);
}

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 2px; }

.lede { font-size: 1.1rem; margin: 0; }

.intro {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0;
  text-wrap: pretty;
}

.people {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
}

.person {
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

/* Thin teal bar down the left edge of each person's block. */
.person {
  padding-left: 1.1rem;
}

.person::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 0;
  width: 1px;
  background: var(--teal);
}

.person h2 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.person .role {
  font-size: 0.98rem;
  margin: 0 0 0.6rem;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0;
  font-weight: 500;
  font-size: 0.98rem;
}

.person .background {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: -0.3rem 0 0.7rem;
}

.footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.footer p { margin: 0; }

.footer span { white-space: nowrap; }
