/* Colours sampled from the Pennybacker Labs badge: navy field, orange ring. */
:root {
  --background: #0b1120;
  --card: #0d182f;
  --foreground: #f5f6f8;
  --muted: #a3abbd;
  --border: rgb(255 255 255 / 8%);
  --accent: #fc9b26;
  --radius: 1rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.container {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.band {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 2%);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgb(11 17 32 / 85%);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.wordmark {
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.875rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--foreground);
}

/* Hero */

.hero {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  text-align: center;
}

.badge {
  width: 20rem;
  margin: 0 auto;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 600;
}

.lead {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Cards */

.pair {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pair {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.card-accent {
  border-color: rgb(252 155 38 / 35%);
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.card-accent h2 {
  font-size: 1.75rem;
}

.pill {
  padding: 0.2rem 0.7rem;
  border: 1px solid rgb(252 155 38 / 45%);
  border-radius: 999px;
  background: rgb(252 155 38 / 12%);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Leadership */

.leader {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .leader {
    grid-template-columns: 2fr 3fr;
  }
}

.portrait {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.leader h2 {
  font-size: 1.75rem;
  font-weight: 600;
}

.role {
  margin-top: 0.25rem;
  color: var(--accent);
  font-weight: 500;
}

.leader .role + p {
  margin-top: 1rem;
  color: var(--muted);
}

/* Contact */

#contact h2 {
  font-size: 1.75rem;
  font-weight: 600;
}

.contact {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

@media (min-width: 640px) {
  .contact {
    grid-template-columns: repeat(2, max-content);
    gap: 1rem 4rem;
  }
}

.contact dt {
  color: var(--muted);
  font-size: 0.875rem;
}

.contact dd {
  margin: 0.125rem 0 0;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}
