:root {
  --rf-burgundy: #7F1734;
  --rf-burgundy-dark: #5C1126;
  --rf-cream: #FFF5D2;
  --rf-cream-dark: #F0E6BC;
  --rf-background: #FFFDF7;
  --rf-text: #2D1018;
  --rf-text-muted: #5C3A44;
  --rf-white: #FFFFFF;
  --rf-font: "Asap", system-ui, -apple-system, sans-serif;
  --rf-wrap: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--rf-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--rf-text);
  background: var(--rf-background);
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  color: var(--rf-burgundy);
}

a {
  color: var(--rf-burgundy);
}

a:hover {
  color: var(--rf-burgundy-dark);
}

:focus-visible {
  outline: 3px solid var(--rf-burgundy);
  outline-offset: 3px;
}

main:focus,
main:focus-visible {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 10;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: var(--rf-burgundy);
  color: var(--rf-white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0.75rem);
  color: var(--rf-white);
}

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

.site-header {
  background: var(--rf-cream);
  border-bottom: 3px solid var(--rf-burgundy);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  min-height: 6.5rem;
}

.logo-link {
  display: block;
  line-height: 0;
}

.logo-link img {
  display: block;
  height: 6.75rem;
  width: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--rf-cream);
  padding-block: 3.5rem 5rem;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.65fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rf-burgundy);
}

h1 {
  margin-bottom: 1.25rem;
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.hero-copy p + p {
  margin-top: 1rem;
}

.hero-copy p {
  max-width: 38rem;
}

.notice {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-left: 4px solid var(--rf-burgundy);
  background: var(--rf-background);
  font-size: 1.125rem;
  font-weight: 600;
}

.contact a,
.site-footer a {
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  display: block;
  width: min(100%, 22rem);
  margin-inline: auto;
}

.curve {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(40rem, 62vw);
  pointer-events: none;
  opacity: 0.28;
}

.services {
  padding-block: 4.25rem 4.75rem;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.section-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 1.25rem 1.15rem 1.4rem;
  background: var(--rf-white);
  border: 1px solid var(--rf-cream-dark);
  border-top: 4px solid var(--rf-burgundy);
}

.service-list h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.site-footer {
  border-top: 3px solid var(--rf-burgundy);
  padding-block: 2.25rem 2.75rem;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-footer img {
  width: 4.75rem;
  flex: none;
}

.site-footer .org {
  color: var(--rf-burgundy);
  font-weight: 700;
}

.site-footer p + p {
  margin-top: 0.2rem;
}

@media (max-width: 60rem) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 42rem) {
  .site-header .wrap {
    min-height: 5rem;
  }

  .logo-link img {
    height: 3.75rem;
  }

  .hero {
    padding-block: 2.5rem 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-figure img {
    width: min(100%, 14rem);
  }

  .curve {
    width: 14rem;
    opacity: 0.1;
  }

  .services {
    padding-block: 3rem;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .site-footer .wrap {
    align-items: flex-start;
  }
}

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