@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f5f1e9;
  --paper: #fcfaf6;
  --ink: #222321;
  --burgundy: #783e45;
  --terracotta: #b97154;
  --sage: #8a9784;
  --line: rgba(34, 35, 33, 0.14);
  --header: 4.75rem;
  --wrap: 76rem;
  --shadow: 0 20px 50px rgba(34, 35, 33, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
picture {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #5c3036;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
.wordmark-mark {
  font-family: "Fraunces", "Palatino Linotype", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.4rem, 5.4vw, 5.15rem);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

.button:focus-visible,
.header-cta:focus-visible,
.nav-toggle:focus-visible {
  outline-color: var(--ink);
}

.hero .button:focus-visible,
.page-hero .button:focus-visible,
.cta-band .button:focus-visible {
  outline-color: var(--paper);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(44rem, calc(100% - 2rem));
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.lede {
  max-width: 40rem;
  font-size: 1.16rem;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 241, 233, 0.96);
  border-bottom: 1px solid var(--line);
  height: var(--header);
}

.header-inner {
  height: 100%;
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  min-width: 0;
}

.wordmark-mark {
  font-size: 1.25rem;
  line-height: 1;
}

.wordmark-place {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.15rem 1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--burgundy);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  min-height: 2.75rem;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0 0.9rem;
  cursor: pointer;
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  background: var(--burgundy);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--burgundy);
  border-radius: 2px;
  cursor: pointer;
  line-height: 1.2;
}

.button:hover,
.header-cta:hover {
  background: #5c3036;
  border-color: #5c3036;
  color: var(--paper);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  color: var(--burgundy);
  border-color: var(--paper);
}

.button-light:hover {
  background: var(--ivory);
  color: #5c3036;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(32rem, calc(100svh - var(--header)));
  overflow: hidden;
  background: #2a2622;
  color: var(--paper);
}

.hero-media,
.hero-media picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  background: #2a2622;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(34, 35, 33, 0.18) 0%, rgba(34, 35, 33, 0.42) 42%, rgba(34, 35, 33, 0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero .kicker,
.page-hero .kicker,
.hero h1,
.page-hero h1,
.hero .lede,
.page-hero .lede,
.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.hero-copy {
  color: var(--paper);
}

.page-hero .breadcrumb a {
  text-decoration: none;
}

.hero .button-secondary,
.page-hero .button-secondary {
  color: var(--paper);
  border-color: var(--paper);
}

.hero .button-secondary:hover,
.page-hero .button-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero-copy .lede {
  max-width: 38rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 40rem;
}

.card-grid,
.feature-grid,
.split,
.steps,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.card,
.feature,
.step,
.material {
  background: var(--paper);
  border: 1px solid var(--line);
}

.card-media,
.feature-media,
.split-media {
  overflow: hidden;
  background: #e7e0d4;
}

.card-media img,
.feature-media img,
.split-media img,
.frame img {
  width: 100%;
  height: auto;
}

.feature {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-media {
  aspect-ratio: 4 / 3;
}

.feature-media picture,
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body,
.feature-body,
.step {
  padding: 1.2rem 1.2rem 1.35rem;
}

.card h3 a,
.feature h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card h3 a:hover,
.feature h3 a:hover {
  color: var(--burgundy);
}

.text-link {
  font-weight: 500;
}

.split-copy {
  padding: 0.4rem 0;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1.4rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin-bottom: 0.8rem;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  color: var(--burgundy);
}

.materials {
  display: grid;
  gap: 0.8rem;
}

.material {
  padding: 1.1rem 1.2rem 0.2rem;
  border-top: 3px solid var(--terracotta);
}

.note {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem 0.1rem;
  border-left: 3px solid var(--sage);
  background: rgba(138, 151, 132, 0.12);
}

.faq {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  min-height: 3rem;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.faq-body {
  padding-bottom: 0.8rem;
}

.cta-band {
  background: var(--burgundy);
  color: var(--paper);
  padding: 3.5rem 0;
}

.cta-band h2,
.cta-band p {
  color: var(--paper);
}

.cta-band a:not(.button) {
  color: var(--paper);
}

.related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.related a {
  text-decoration: none;
  border-bottom: 1px solid var(--terracotta);
}

.page-hero {
  margin-bottom: 0.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--sage);
}

.prose {
  width: min(44rem, 100%);
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}

.prose h3 {
  margin-top: 1.4rem;
}

.frame {
  margin: 1.5rem 0 0.4rem;
}

.caption {
  color: var(--ink);
  font-size: 0.92rem;
  margin-top: 0.45rem;
}

.inquiry-form {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.form-row,
.field {
  display: grid;
  gap: 0.4rem;
}

.inquiry-form .field {
  margin-bottom: 0.9rem;
}

label {
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid rgba(34, 35, 33, 0.28);
  border-radius: 2px;
  padding: 0.75rem 0.8rem;
  min-height: 2.9rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-hint,
.check {
  font-size: 0.95rem;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.8rem 0;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 1.15rem;
  flex: 0 0 1.15rem;
  margin-top: 0.25rem;
  padding: 0;
}

.form-status {
  margin-top: 0.6rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-success,
.form-status.is-error,
.notice-list {
  padding: 0.9rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.form-status.is-success {
  border-color: var(--burgundy);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0 1.4rem;
}

.site-footer a {
  color: var(--paper);
}

.site-footer .kicker,
.site-footer .wordmark-mark {
  color: var(--paper);
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.footer-base {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(252, 250, 246, 0.18);
}

.legal-index {
  columns: 1;
  padding-left: 1.1rem;
}

.legal-index a {
  text-decoration: none;
}

.error-actions {
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .wrap,
  .header-inner {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .hero-copy {
    padding: 3rem 0 3.2rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .card-grid,
  .steps,
  .materials {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  }

  .legal-index {
    columns: 2;
  }

  .cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
  }

  .cta-inner .actions {
    margin-top: 0;
    flex: none;
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }

  .split.reverse .split-media {
    order: 2;
  }

  .card-grid.three,
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
  }
}

@media (max-width: 1240px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    background: var(--ivory);
    overflow: auto;
    padding: 1.25rem 1rem 2rem;
    z-index: 35;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 1.25rem;
  }

  .nav-cta {
    display: block;
    margin-top: 0.8rem;
  }

  .nav-cta .button {
    width: 100%;
  }
}

@media (max-width: 719px) {
  .card-grid,
  .steps,
  .materials,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .actions .button,
  .inquiry-form .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
