@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,500&family=Outfit:wght@400;500;600&display=swap");

:root {
  --cream: #f4f1ea;
  --cloud: #f7fbfe;
  --sky: #e3f0f9;
  --sky-deep: #cfe4f4;
  --navy: #0e2744;
  --ink: #1b3c5a;
  --mist: #3e5a74;
  --line: #e4ddd0;
  --cyan: #1aa4d4;
  --cyan-deep: #0c92cc;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

::selection {
  background: var(--sky-deep);
  color: var(--navy);
}

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

.site-footer :focus-visible {
  outline-color: var(--cream);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-200%);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.sky {
  background:
    radial-gradient(ellipse 70% 80% at 12% -10%, var(--cloud) 0%, transparent 58%),
    radial-gradient(ellipse 55% 70% at 88% 0%, var(--cloud) 0%, transparent 52%),
    linear-gradient(180deg, var(--sky-deep) 0%, var(--sky) 48%, var(--cream) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--sky) 92%, transparent);
  backdrop-filter: blur(10px);
}

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

@media (min-width: 48rem) {
  .bar,
  .wrap {
    width: min(64rem, calc(100% - 4rem));
  }
}

.bar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 0.75rem;
}

@media (min-width: 40rem) {
  .bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  align-self: flex-start;
  min-height: 2.75rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  color: #16384f;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.875rem;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--navy) 35%, transparent);
  text-underline-offset: 0.3rem;
}

.nav-list a:hover {
  text-decoration-color: var(--navy);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.25rem 0 3.25rem;
  text-align: center;
}

.hero .mark {
  width: 10.5rem;
  height: 10.5rem;
}

@media (min-width: 48rem) {
  .hero {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 4rem;
    text-align: left;
  }

  .hero .mark {
    width: 12.5rem;
    height: 12.5rem;
  }
}

h1,
h2,
h3,
p {
  margin: 0;
  text-wrap: pretty;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.2rem + 3vw, 3rem);
}

.kicker {
  margin: 0;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
}

.welcome {
  padding-top: 0.5rem;
  scroll-margin-top: 5.5rem;
}

.prose {
  max-width: 46rem;
}

.stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.welcome h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.25rem);
}

blockquote {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--navy);
}

blockquote q {
  color: var(--navy);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.35;
  text-wrap: balance;
}

.services {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

@media (min-width: 48rem) {
  .services {
    padding-bottom: 6rem;
  }
}

.services h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
}

.service-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

@media (min-width: 48rem) {
  .service {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 2.5rem;
    padding-block: 2.5rem;
  }
}

.service img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.service h3 {
  font-size: 1.5rem;
}

.service .sub {
  margin-top: 0.25rem;
  color: var(--navy);
  font-size: 1.125rem;
  line-height: 1.4;
}

.service .body {
  max-width: 65ch;
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-inline: 1.25rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.cta:hover {
  background: var(--ink);
}

.cta svg {
  width: 1rem;
  height: 1rem;
}

.domain {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 0.875rem;
}

.domain::before {
  content: "";
  width: 1px;
  height: 1rem;
  background: var(--line);
}

.site-footer {
  background: var(--navy);
  color: var(--cream);
}

.footer-in {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 2.5rem 0;
}

@media (min-width: 48rem) {
  .footer-in {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-block: 3rem 0;
  }
}

.word-navy {
  color: var(--navy);
}

.word-sky {
  color: var(--cyan);
}

.site-footer .brand {
  color: var(--cream);
}

.site-footer .mark {
  color: #e7f4fb;
}

.site-footer .word-navy {
  color: var(--cream);
}

.site-footer .word-sky {
  color: #8fdcf6;
}

.site-footer .nav-list {
  margin-top: 0.5rem;
}

.site-footer .nav-list a {
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  text-decoration: none;
}

.site-footer .nav-list a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.contact {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-style: normal;
}

.contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact li,
.contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: inherit;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-block: 1.25rem 2rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  color: color-mix(in srgb, var(--cream) 72%, transparent);
  font-family: var(--sans);
  font-size: 0.875rem;
}

@media (min-width: 40rem) {
  .legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.legal p:first-child {
  color: color-mix(in srgb, var(--cream) 86%, transparent);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}
