:root {
  --paper: #f3efe6;
  --paper-2: #e8e1d4;
  --ink: #12353a;
  --muted: #5c5850;
  --line: #d9d0c2;
  --teal: #12353a;
  --accent: #12353a;
  --accent-hover: #0c282c;
  --ember: #c45c26;
  --white: #fffdf9;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 70rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  display: block;
  width: 2rem;
  height: 2px;
  margin: 0.85rem 0 1.15rem;
  background: var(--ember);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.15rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-full {
  height: 2.6rem;
  width: auto;
}

.logo-mark {
  display: none;
  height: 2.1rem;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.05rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--white);
  border-color: var(--teal);
}

.btn-on-dark {
  background: var(--white);
  color: var(--teal);
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: var(--paper);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0 clamp(3rem, 7vw, 5.25rem);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(11rem, 0.65fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.lede {
  max-width: 38rem;
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.hero-mark {
  justify-self: end;
  width: min(100%, 17.5rem);
  color: var(--teal);
}

.hero-mark svg {
  width: 100%;
  height: auto;
}

/* Sections */

.hero,
.section {
  scroll-margin-top: 4.75rem;
}

.section {
  padding: clamp(2.6rem, 5.5vw, 4.4rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0;
  max-width: 28ch;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--teal);
}

.intro {
  max-width: 40rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service {
  padding: 1.35rem 1.3rem 1.45rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.service .num {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ember);
}

.service h3 {
  margin: 0.45rem 0 0.4rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
}

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

.serve-block {
  max-width: 42rem;
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
}

.serve-block p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.serve-block p:last-child {
  margin-bottom: 0;
}

.serve-block strong {
  color: var(--ink);
  font-weight: 600;
}

.pricing {
  background: var(--teal);
  color: #e6ddd0;
  border-top: 0;
}

.pricing .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 1.75rem;
  align-items: center;
}

.pricing h2 {
  color: var(--white);
  max-width: 24ch;
}

.pricing .intro {
  color: #d4cbb8;
}

.pricing .eyebrow {
  color: #c9b8a4;
}

.section.pricing + .section {
  border-top: 0;
}

/* Contact */

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  margin-top: 1.5rem;
}

.contact-row a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer strong {
  color: var(--teal);
  font-weight: 600;
}

/* Mobile */

@media (max-width: 820px) {
  .hero .wrap,
  .services,
  .pricing .wrap {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .nav .nav-link {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header .wrap {
    min-height: 3.7rem;
  }

  .logo-full {
    display: none;
  }

  .logo-mark {
    display: block;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  .pricing .btn {
    justify-self: start;
  }

  .contact-row {
    flex-direction: column;
    gap: 0.55rem;
  }

  .site-footer .wrap {
    flex-direction: column;
  }
}

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