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

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

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --milk: #f3efe6;
  --paper: #f8f4ec;
  --white: #fffcf8;
  --ink: #1b2822;
  --muted: #314239;
  --green: #1c4636;
  --green-mid: #2a624c;
  --sage: #d7e6dc;
  --sage-2: #edf4ef;
  --clay: #8d6b49;
  --line: #e3d8c8;
  --danger: #8d2e2e;
  --header-h: 4.75rem;
  --measure: 68ch;
  --shadow: 0 18px 40px rgba(28, 40, 34, 0.08);
  --radius: 18px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-mid);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

h1,
h2,
h3,
.logo-name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
}

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

.lede {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 42rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.7rem 1.1rem;
  background: rgba(243, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
  min-width: 0;
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
}

.logo-name {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
}

.logo-place {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 999px;
}

.primary-nav a[aria-current="page"] {
  background: var(--sage);
}

.has-sub {
  position: relative;
}

.has-sub > ul {
  display: none;
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  min-width: 18.5rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0.1rem;
  padding: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.has-sub:hover > ul,
.has-sub:focus-within > ul {
  display: flex;
}

.has-sub > ul a {
  border-radius: 10px;
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-phone {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  min-height: 2.7rem;
  padding: 0 0.9rem;
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  background: var(--green);
  color: #f7f4ee;
}

.btn-primary:hover {
  background: var(--green-mid);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--sage);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

.hero-copy h1 {
  max-width: 12ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-figure,
.frame {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-figure img,
.frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.frame.portrait img,
.frame.square img {
  aspect-ratio: 4 / 3;
}

.caption {
  margin: 0;
  padding: 0.7rem 0.9rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head p {
  max-width: 36rem;
  color: var(--muted);
  margin: 0;
}

.card-grid,
.split,
.stat-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two,
.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.panel,
.faq-list details,
.quote-form,
.note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body,
.panel,
.quote-form,
.note {
  padding: 1.15rem 1.2rem 1.25rem;
}

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

.card a.more {
  font-weight: 600;
  text-decoration: none;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 1.1rem 1rem 1.2rem;
  background: var(--sage-2);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

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

.steps li {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 1rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: #f7f4ee;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.stack-top {
  margin-top: 2rem;
}

.band {
  background: var(--green);
  color: #f6f3ec;
  border-radius: 28px;
  padding: 2rem 1.5rem;
}

.band h2,
.band p,
.band a {
  color: #f6f3ec;
}

.band .btn-primary {
  background: #f6f3ec;
  color: var(--green);
}

.band .btn-secondary {
  border-color: #f6f3ec;
  color: #f6f3ec;
}

.prose {
  width: min(var(--measure), 100%);
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  list-style: none;
  padding: 1.1rem 0 0;
  margin: 0;
  font-size: 0.95rem;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--clay);
}

.crumbs a {
  text-decoration: none;
}

.page-hero {
  padding: 1.2rem 0 0.4rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.media-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin: 1.4rem 0 0.4rem;
}

.faq-list details {
  padding: 0.9rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list details p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 0.85rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field.wide {
  grid-column: 1 / -1;
}

.field span,
.quote-form legend {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc3b2;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.95rem;
  min-height: 0;
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  accent-color: var(--green);
}

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

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-ok {
  color: var(--green);
}

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

.toc {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--sage-2);
  border-radius: 16px;
}

.toc a {
  text-decoration: none;
}

.policy-meta {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.policy-meta p {
  margin: 0.15rem 0;
}

.site-footer {
  background: #16382c;
  color: #f3efe6;
  padding: 2.6rem 0 1.4rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #f3efe6;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  color: #f3efe6;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}

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

.site-footer li {
  margin: 0.28rem 0;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(243, 239, 230, 0.2);
  margin-top: 1.6rem;
  padding-top: 1rem;
  color: #e4ddd0;
  font-size: 0.95rem;
}

.fine {
  color: var(--muted);
  font-size: 0.98rem;
}

.map-note {
  background: var(--sage-2);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
  }

  .logo {
    order: 1;
    flex: 1 1 auto;
  }

  .header-actions {
    order: 2;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    order: 3;
    position: static;
    flex: 1 0 100%;
    display: none;
    max-height: calc(100dvh - 6rem);
    overflow: auto;
    padding: 0.4rem 0 1rem;
    background: transparent;
    transform: none;
    visibility: visible;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul,
  .has-sub > ul {
    display: flex;
    position: static;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .has-sub > ul {
    padding-left: 0.6rem;
  }

  .header-phone-long {
    display: none;
  }

  .hero,
  .card-grid,
  .card-grid.two,
  .split,
  .stat-grid,
  .steps,
  .media-row,
  .footer-grid,
  .form-grid,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-head {
    align-items: start;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .stat-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .logo,
  .header-actions,
  .primary-nav {
    flex-basis: 100%;
  }

  .header-actions {
    order: 2;
    justify-content: flex-start;
  }

  .primary-nav {
    order: 3;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--milk);
  }
}

@media (min-width: 981px) {
  .header-phone-short {
    display: none;
  }
}
