@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/newsreader-500.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/newsreader-600.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

:root {
  --bg: #f5f3ef;
  --ink: #202020;
  --muted: #5c5c5c;
  --accent: #e8e3da;
  --white: #ffffff;
  --line: rgba(32, 32, 32, 0.14);
  --header: 76px;
  --wrap: 1180px;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --error: #8a3d2f;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
}

h1,
h2,
h3,
.logo {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7.4vw, 6.4rem);
  max-width: 12ch;
}

section,
article,
h2 {
  scroll-margin-top: 96px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.15;
}

p {
  margin: 0;
}

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

.lede,
.prose p,
.intro-copy p,
.narrow p {
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  min-height: var(--header);
  color: var(--ink);
  background: rgba(245, 243, 239, 0.96);
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.has-hero .site-header {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0));
  color: var(--white);
  backdrop-filter: none;
}

body.has-hero .site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(245, 243, 239, 0.98);
  color: var(--ink);
}

.header-inner {
  width: min(1360px, calc(100% - 32px));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  font-size: 1.35rem;
  line-height: 1;
  flex: 0 1 auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav > a,
.nav-services > a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-services {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(460px, 70vw);
  margin: 0;
  padding: 18px 18px 14px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(32, 32, 32, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-services:hover .submenu,
.nav-services:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.submenu a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-reach {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: right;
}

.header-reach a {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.burger {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: currentColor;
}

.burger::before { top: -7px; }
.burger::after { top: 7px; }

body.nav-open .burger {
  background: transparent;
}

body.nav-open .burger::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.site-header .header-cta:hover {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

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

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.header-cta {
  white-space: nowrap;
}

.cta-short { display: none; }

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--white);
}

.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
}

.hero .btn-solid,
.cta-band .btn {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.hero .btn-solid:hover,
.cta-band .btn:hover {
  background: transparent;
  color: var(--bg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #d9d3c8;
  overflow: hidden;
}

.hero.hero-center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.46) 0%, rgba(20, 20, 20, 0.08) 34%, rgba(20, 20, 20, 0.22) 58%, rgba(20, 20, 20, 0.74) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 48px;
}

.hero.hero-center .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 104px 0 48px;
}

.hero.hero-center h1,
.hero.hero-center .hero-lede {
  margin-inline: auto;
}

.hero.hero-center .hero-actions {
  justify-content: center;
}

.hero.hero-center::after {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.52) 0%, rgba(20, 20, 20, 0.4) 46%, rgba(20, 20, 20, 0.5) 100%);
}

.hero .eyebrow,
.hero .caption {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
}

.hero-lede {
  max-width: 38rem;
  margin-top: 18px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.caption {
  display: block;
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-tight {
  padding-top: 0;
}

.intro-grid,
.split,
.cta-inner {
  display: grid;
  gap: 28px;
}

.intro-copy,
.narrow,
.prose {
  display: grid;
  gap: 16px;
}

.intro-copy a,
.prose a {
  border-bottom: 1px solid currentColor;
}

.intro-copy p,
.split p,
.block-copy p,
.card p,
.step p,
.faq p,
.prose p {
  max-width: 62ch;
}

.card-grid,
.detail-grid,
.step-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.card-media,
.block-media,
.figure {
  background: var(--accent);
}

.block-media.is-wide {
  aspect-ratio: 16 / 9;
}

.card a {
  display: block;
}

.card-media,
.block-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.card-media img,
.block-media img,
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3,
.block-copy h2,
.block-copy h3 {
  margin-top: 16px;
}

.card p,
.block-copy p {
  margin-top: 10px;
}

.card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

p .text-link {
  display: inline;
  margin-top: 0;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: inherit;
}

.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.more-links a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.step-grid {
  counter-reset: step;
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--muted);
}

.mosaic {
  display: grid;
  gap: 14px;
}

.figure figcaption {
  padding-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

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

.cta-band {
  background: var(--ink);
  color: var(--bg);
}

.cta-band .eyebrow,
.cta-band p {
  color: rgba(245, 243, 239, 0.78);
}

.cta-band h2 {
  max-width: 14ch;
  color: var(--bg);
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
}

.jump-links a {
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.service-block {
  display: grid;
  gap: 22px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: 1px solid var(--line);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
}

.kind-list,
.check-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.kind-list li,
.check-list li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.kind-list strong,
.check-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
}

.page-intro {
  padding: 132px 0 20px;
}

.prose {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 80px;
}

.prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-top: 36px;
}

.prose h3 {
  margin-top: 22px;
  font-size: 1.35rem;
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
}

.prose a {
  border-bottom: 1px solid currentColor;
}

.form-card {
  background: var(--white);
  padding: 22px 18px 24px;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg);
  border: 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.28);
  padding: 14px 12px;
  border-radius: 0;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #202020 50%), linear-gradient(135deg, #202020 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: var(--error);
}

.field-error {
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.9rem;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--ink);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  overflow-wrap: anywhere;
}

.form-status.is-error { color: var(--error); }
.form-status.is-success { color: #1f4d3a; }
.form-status.is-pending { color: var(--muted); }

.form-card .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.site-footer {
  background: var(--accent);
  padding: 64px 0 28px;
}

.footer-grid a:hover {
  border-bottom: 1px solid currentColor;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-note {
  max-width: 36ch;
  color: var(--muted);
}

.footer-contact,
.contact-facts {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.footer-contact a,
.contact-facts a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  border-bottom: 0;
}

.contact-facts {
  margin-bottom: 8px;
}

html.motion .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.motion .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (min-width: 720px) {
  .wrap,
  .hero-copy {
    width: min(var(--wrap), calc(100% - 64px));
  }

  .wrap-wide,
  .header-inner {
    width: min(1360px, calc(100% - 64px));
  }

  .card-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 1fr;
  }

  .form-card {
    padding: 32px 28px;
  }

  .mosaic {
    grid-template-columns: 1.35fr 1fr;
  }

  .mosaic .figure:first-child {
    grid-row: span 2;
  }

  .mosaic .figure:first-child img {
    height: 100%;
    min-height: 460px;
  }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }

  .intro-grid,
  .split,
  .service-block,
  .cta-inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }

  .intro-grid {
    align-items: start;
  }

  .service-block:nth-child(even) .block-media {
    order: 2;
  }

  .card-grid.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .step-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 1fr 1fr;
    gap: 32px;
  }

  .card:hover img,
  .service-block:hover img {
    transform: scale(1.035);
  }

  .card img,
  .service-block img {
    transition: transform 0.7s ease;
  }
}

@media (max-width: 979px) {
  html.js .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  html.js .site-nav {
    position: fixed;
    z-index: 30;
    inset: var(--header) 0 0 0;
    margin: 0;
    padding: 12px 22px 40px;
    background: var(--bg);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    overflow: auto;
    transform: translateX(100%);
    visibility: hidden;
  }

  html.js body.nav-open .site-nav {
    transform: none;
    visibility: visible;
  }

  html.js .site-nav > a,
  html.js .nav-services > a {
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: -0.03em;
    text-transform: none;
    padding: 8px 0;
  }

  html.js .submenu {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    grid-template-columns: 1fr;
    padding: 0 0 12px 2px;
  }

  html.js .submenu a {
    font-family: var(--sans);
    font-size: 1rem;
    padding: 7px 0;
  }

  .header-tools { margin-left: auto; }

  :root { --header: 118px; }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-reach {
    order: 3;
    flex: 1 0 100%;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 6px;
  }

  .hero-copy { padding-top: 154px; }

  .hero.hero-center .hero-copy { padding-top: 142px; }
}

@media (max-width: 420px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .logo { font-size: 1.12rem; }
  .wrap,
  .hero-copy,
  .wrap-wide {
    width: calc(100% - 32px);
  }
  .header-inner { width: calc(100% - 24px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

@media (min-width: 1440px) {
  :root { --wrap: 1240px; }
}

@media (min-width: 1920px) {
  .hero-copy,
  .header-inner,
  .wrap-wide {
    width: min(1440px, calc(100% - 120px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html.motion .reveal {
    opacity: 1;
    transform: none;
  }
}
