@font-face {
  font-family: "DM Sans";
  src: url("/DMSans-Variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a1628;
  --blue: #1b4f8a;
  --teal: #0b8a8a;
  --teal-light: #0fa5a5;
  --teal-soft: rgba(11, 138, 138, 0.08);
  --slate: #334155;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--slate);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.header-inner {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 156px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 28px;
}

.site-nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--teal);
}

/* Intro */

.intro {
  padding: 88px 0 56px;
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.lead {
  margin: 0;
  max-width: 560px;
  color: var(--gray);
  font-size: 1.15rem;
}

.lead a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.lead a:hover {
  color: var(--teal-light);
}

/* Contact cards */

.cards {
  padding: 0 0 96px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(10, 22, 40, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  border-color: rgba(11, 138, 138, 0.35);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.08);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.initials {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.role {
  margin: 4px 0 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.details {
  margin: 0 0 32px;
  border-top: 1px solid var(--border);
}

.detail-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.detail-row dt {
  color: var(--gray-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-row dd {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.detail-row dd a {
  text-decoration: none;
}

.detail-row dd a:hover {
  color: var(--teal);
}

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-light);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.qr {
  flex: none;
  text-align: center;
}

.qr img {
  display: block;
  width: 160px;
  height: 160px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.qr span {
  display: block;
  margin-top: 8px;
  color: var(--gray-light);
  font-size: 12px;
}

/* Company strip */

.company {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.company-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
  justify-content: space-between;
  align-items: baseline;
}

.company h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.company address {
  font-style: normal;
  color: var(--gray);
  font-size: 0.95rem;
}

.company address a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.company address a:hover {
  color: var(--teal-light);
}

/* Person page */

.person-main {
  padding: 88px 0 96px;
}

.person-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.person-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  text-align: center;
}

.person-aside img {
  width: min(300px, 100%);
  height: auto;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.person-aside p {
  margin: 16px 0 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.person-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  color: var(--teal);
}

/* Footer */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--navy);
  color: var(--gray-light);
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--teal-light);
}

/* Responsive */

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .site-nav {
    justify-content: center;
  }

  .detail-row {
    grid-template-columns: 62px 1fr;
    gap: 12px;
  }

  .detail-row dd {
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .card-grid,
  .person-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    padding: 64px 0 44px;
  }

  .card {
    padding: 32px 28px;
  }

  .card-foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .qr {
    align-self: center;
  }
}
