:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --white: #fff;
  --ink: #16141f;
  --navy: #3c3876;
  --coral: #ffa37c;
  --coral-ink: #9a3412;
  --muted: #5c5870;
  --hero: #141226;
  --line: rgba(60, 56, 118, 0.16);
  --site-header-h: calc(0.85rem + 2.25rem + 0.85rem + 1px);
  --serif: "Iowan Old Style", Palatino, Georgia, serif;
  --sans: system-ui, sans-serif;
  font-family: var(--sans);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
}

.first-screen {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--site-header-h));
  min-height: calc(100dvh - var(--site-header-h));
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.wordmark img {
  display: block;
  height: 2.25rem;
  width: auto;
}

.site-footer .wordmark img {
  height: 1.65rem;
}

.site-header a,
.site-footer a {
  color: var(--navy);
  text-decoration: none;
}

.site-header nav a,
.site-footer nav a {
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.hero {
  box-sizing: border-box;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  padding: 40px 0;
  overflow-x: clip;
  background-color: #3c3876;
  background-image:
    linear-gradient(135deg, rgba(252, 0, 255, 0.9), rgba(0, 219, 222, 0.9)),
    url("images/seo.jpg");
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  text-align: center;
}

.hero-still {
  display: block;
  width: min(100%, 30rem);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: rotate(-15deg);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero h1,
.band h2,
.work h3,
.offerings h3,
.contact-facts h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
}

.lede {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: #fff;
  font-size: 1.25rem;
}

.button {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.hero .button {
  padding-inline: 3rem;
  border: 1px solid #fff;
  background: #fff;
  color: var(--navy);
  letter-spacing: 0.08em;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.button:hover,
.hero .button:hover {
  background: #fff;
}

.band {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.band-paper {
  background: var(--paper);
}

.band-white {
  background: var(--white);
}

.band-photo {
  background-color: #3c3876;
  background-image:
    linear-gradient(135deg, rgba(255, 159, 46, 0.9), #bacdeb),
    url("images/web-design-l.jpg");
  background-size: auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--navy);
  text-align: center;
}

.hero,
.band-photo {
  background-attachment: scroll;
}

.band h2 {
  margin: 0 0 2rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.band h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--coral);
}

.offerings {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.offerings article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.offer-index {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 0.15rem;
  color: var(--coral-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.offerings h3,
.offerings p,
.work h3,
.contact-facts p {
  margin: 0;
}

.offerings h3 {
  font-size: 1.35rem;
  color: var(--navy);
}

.offerings p,
.contact-facts p {
  color: var(--muted);
}

.works {
  display: grid;
  gap: 2.5rem;
}

.band-photo h2,
.band-photo .work h3 {
  color: var(--navy);
}

.band-photo h2::after {
  margin-inline: auto;
}

.work img,
.contact-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

.work img {
  aspect-ratio: 1525 / 858;
  margin-bottom: 1.15rem;
}

.work h3 {
  font-size: 1rem;
  color: var(--navy);
}

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

.contact-facts h2 {
  margin-bottom: 1.25rem;
}

.contact-facts a {
  color: var(--navy);
  font-size: 1.15rem;
}

.contact-facts p + p {
  margin-top: 0.7rem;
}

.contact-grid img {
  aspect-ratio: 4 / 3;
}

section[id] {
  scroll-margin-top: calc(var(--site-header-h) + 1.2rem);
}

a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.hero a:focus-visible {
  outline-color: var(--coral);
}

@media (min-width: 800px) {
  .works {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .offerings article {
    grid-template-columns: 3.5rem minmax(12rem, 18rem) 1fr;
    align-items: baseline;
    column-gap: 1.5rem;
  }

  .offer-index {
    grid-row: auto;
    padding-top: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

@media (min-width: 992px) {
  .hero {
    padding: 132px 0;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 7vw, 4.4rem);
  }

  .hero-grid {
    grid-template-columns: 2fr 3fr;
    align-items: center;
    justify-items: stretch;
    text-align: start;
  }

  .hero-still {
    justify-self: center;
  }
}

@media (min-width: 800px) and (prefers-reduced-motion: no-preference) {
  .hero,
  .band-photo {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-motion] {
    opacity: 0;
  }
}

.legal {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem;
  overflow-wrap: break-word;
}

.legal h1,
.legal h2,
.legal h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
}

.legal h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

.legal h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--coral);
}

.legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
}

.legal h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal p,
.legal li {
  margin: 0.75rem 0 0;
  line-height: 1.65;
}

.legal ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.45rem;
}

.legal a {
  color: var(--navy);
  text-underline-offset: 0.15em;
}
