:root {
  --navy: #0c2340;
  --cream: #f6f1e7;
  --ink: #161410;
  --line: rgba(12, 35, 64, 0.16);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  background: var(--navy);
  color: #fff;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 22px;
  margin-right: auto;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.button-quiet {
  background: transparent;
  color: var(--navy);
  outline: 1.5px solid var(--navy);
}

.hero,
.band,
.services,
.team,
.cta,
.site-footer {
  width: min(var(--max), calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  padding: 88px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.band-intro p {
  margin: 12px 0 0;
  max-width: 22rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  scroll-margin-top: 6.75rem;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.steps h3,
.service-grid h3 {
  margin: 0;
  font-size: 1.55rem;
}

.services {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.service-grid article {
  padding: 32px;
  background: var(--navy);
  color: #fff;
}

.service-grid p {
  margin: 14px 0 0;
  max-width: 28rem;
  font-size: 1.08rem;
  line-height: 1.45;
}

.team {
  padding: 8px 0 72px;
}

.team ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.team li {
  padding-top: 18px;
  border-top: 1px solid var(--navy);
}

.team strong,
.team span {
  display: block;
}

.team strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.team span {
  margin-top: 6px;
  color: var(--navy);
}

.cta {
  margin-bottom: 0;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.cta p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 22px 0 0;
}

.cta a {
  color: var(--navy);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.cta a:hover,
.cta a:focus-visible,
.button:hover,
.button:focus-visible,
.logo:focus-visible {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: none;
  padding: 22px 32px;
  background: var(--navy);
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  font-weight: 800;
}

@media (max-width: 800px) {
  h2 {
    scroll-margin-top: 9rem;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 16px;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    margin-right: 0;
  }

  .hero,
  .band,
  .services,
  .team,
  .cta {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero {
    padding: 48px 0 40px;
  }

  .band,
  .service-grid,
  .team ul {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding: 20px 16px;
  }
}
