:root {
  --ink: #172033;
  --muted: #5f6878;
  --line: #d9dee7;
  --panel: #f5f7fa;
  --white: #ffffff;
  --navy: #263f68;
  --teal: #0f8f8c;
  --gold: #b9821c;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 143, 140, 0.45);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding: 8px clamp(14px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.1);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 54px;
  max-width: min(430px, 42vw);
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-nav a,
.phone-link,
.button {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active,
.phone-link:hover {
  color: var(--teal);
}

.phone-link {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--navy);
}

.section {
  width: min(100% - 36px, var(--max-width));
  margin-inline: auto;
  padding: 64px 0;
}

.hero {
  width: min(100% - 36px, var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.2vw, 3.9rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-lede,
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-lede {
  max-width: 640px;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
}

.hero-panel,
.card,
.bio-card,
.work-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel {
  align-self: start;
  margin-top: 6px;
  padding: 18px;
}

.dots-image {
  width: 100%;
  margin-bottom: 16px;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.facts div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--teal);
  font-size: 1.05rem;
  font-weight: 800;
}

.facts dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.fact-muted dt {
  color: var(--muted);
  font-size: 0.95rem;
}

.fact-muted dd {
  font-size: 0.9rem;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.section-heading > * {
  grid-column: 1 / span 2;
  max-width: none;
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - var(--max-width)) / 2));
  background: var(--panel);
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.bio-card,
.work-card {
  padding: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
}

.role {
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.work-card img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.work-card p,
.card p,
.bio-card p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 26px;
  font-style: normal;
}

.contact-card strong {
  margin-bottom: 6px;
  color: var(--navy);
}

.contact-card a {
  width: fit-content;
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  padding: 28px 18px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    order: 3;
    display: none;
    flex-basis: 100%;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 0;
    padding: 6px 0 2px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > * {
    grid-column: 1;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand img {
    height: 48px;
    max-width: min(290px, 64vw);
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 52px 0;
  }

  .hero {
    width: min(100% - 28px, var(--max-width));
    min-height: auto;
    padding: 46px 0 52px;
  }

  .hero-actions {
    display: grid;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 220px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
