/* Fraunces and Outfit are licensed under the SIL Open Font License. See OFL.txt. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --paper: #f4f1ec;
  --ink: #1c1c1a;
  --beige: #dcd4c8;
  --taupe: #8d7358;
  --white: #ffffff;
  --muted: #3f3b36;
  --line: rgba(28, 28, 26, 0.16);
  --danger: #7d2d2a;
  --focus: #1c1c1a;
  --header: 4.75rem;
  --pad: clamp(1.15rem, 3.2vw, 3.5rem);
  --measure: 68ch;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

a:hover {
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: 0.75rem;
  z-index: 50;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  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(1440px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 241, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-bar {
  width: min(1440px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-place {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-toggle {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--pad) 1.25rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.site-nav.is-open {
  display: flex;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.site-nav a {
  text-decoration: none;
}

.site-nav li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.05rem;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.nav-phone {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  font: 500 0.98rem/1 var(--sans);
  letter-spacing: 0.01em;
  cursor: pointer;
}

.button:hover {
  background: #2a2926;
  color: var(--paper);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: #e8e2d8;
  color: var(--ink);
}

.nav-cta {
  margin-top: 0.4rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
  overflow-wrap: break-word;
}

p,
li,
td {
  overflow-wrap: break-word;
}

.form-status:empty,
.form-errors:empty {
  display: none;
}

h1 {
  font-size: clamp(2.45rem, 6.4vw, 5.35rem);
  max-width: min(16ch, 100%);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  max-width: min(18ch, 100%);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - var(--header));
  padding: 3rem var(--pad);
  overflow: hidden;
  color: #f7f4ef;
  text-align: center;
}

.hero > *,
.split > *,
.frame,
.hero-media,
.form-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero,
.site-header,
.header-bar,
main {
  max-width: 100%;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-color: #1c1c1a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 15, 0.42);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  margin-inline: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.hero .eyebrow,
.hero .lede {
  color: rgba(247, 244, 239, 0.9);
}

.hero h1 {
  margin-inline: auto;
  color: #f7f4ef;
}

.hero .button-secondary {
  color: #f7f4ef;
  border-color: rgba(247, 244, 239, 0.75);
}

.hero .button-secondary:hover {
  background: rgba(247, 244, 239, 0.14);
  color: #fff;
}

.hero-copy > *,
.band,
.prose {
  min-width: 0;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.section {
  padding: 4.2rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  gap: 1.75rem;
}

.split p,
.prose p,
.prose li {
  max-width: var(--measure);
}

.prose h2,
.stack h2 {
  margin-bottom: 1rem;
}

.prose h3 {
  margin: 2rem 0 0.7rem;
}

.frame {
  position: relative;
  isolation: isolate;
  margin: 2.4rem 0 2.8rem;
  background: transparent;
}

.frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  background: #e3dbd0;
  top: 0.75rem;
  right: 0;
  bottom: -0.75rem;
  left: 0.75rem;
}

.frame img {
  position: relative;
  z-index: 1;
  width: calc(100% - 0.75rem);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.frame.wide {
  clear: both;
  margin: 3.2rem 0 3.6rem;
}

.frame.wide::before {
  top: 1.15rem;
  left: 1.2rem;
  bottom: -1.15rem;
}

.frame.wide img {
  width: calc(100% - 1.2rem);
  aspect-ratio: 16 / 10;
}

.contact-layout {
  display: grid;
  gap: 1.75rem;
  margin-top: 0.5rem;
}

.contact-layout .frame {
  margin: 0;
}

.contact-layout .frame img {
  aspect-ratio: 4 / 5;
  width: calc(100% - 0.85rem);
}

.caption {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 46rem;
}

.work-index {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.work-index a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.work-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--taupe);
  grid-row: span 2;
}

.work-title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.work-text {
  grid-column: 2;
  color: var(--muted);
  max-width: 58ch;
}

.work-index a:hover .work-title {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.8rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.steps strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
}

.faq {
  margin-top: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 0;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 1.5rem;
}

.compare caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.4rem;
  padding-bottom: 0.8rem;
}

.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 0.9rem 0.8rem 0.9rem 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
}

.compare th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related ul,
.link-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.related li,
.link-list li {
  border-top: 1px solid var(--line);
}

.related a,
.link-list a {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  text-decoration: none;
}

.related a span,
.link-list a span {
  color: var(--muted);
}

.band {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.band a[href^="tel"] {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.crumbs {
  margin-bottom: 1.4rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
}

.crumbs a {
  color: var(--ink);
}

.policy-domain {
  margin: 0 0 1.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.policy h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.policy h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  max-width: 22ch;
}

.policy p,
.policy li {
  max-width: 72ch;
  overflow-wrap: anywhere;
}

.policy ul,
.policy ol {
  padding-left: 1.15rem;
}

.estimate-form {
  margin-top: 1.5rem;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

label,
legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.optional {
  color: var(--muted);
  font-size: 0.85rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  padding: 0.8rem 0.85rem;
  border-radius: 0;
  appearance: none;
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

.field-hint,
.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
}

.field-error {
  color: var(--danger);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
}

.choice input {
  width: 1.1rem;
  height: 1.1rem;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.form-status,
.form-errors {
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  background: var(--white);
  margin: 0 0 1rem;
}

.form-status.is-success {
  background: #efe8dc;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.form-aside {
  margin-top: 1.2rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: #efeae3;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.footer-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.missing {
  background: #e7e0d6;
  color: transparent;
}

.page-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem var(--pad) 4rem;
}

@media (min-width: 860px) {
  .prose {
    display: flow-root;
  }

  .prose .frame:not(.wide) {
    float: right;
    width: min(22rem, 42%);
    margin: 0.35rem max(0rem, calc(100% - 66rem)) 1.5rem 2rem;
  }

  .prose .frame:not(.wide) img,
  .split .frame img,
  .contact-layout .frame img {
    aspect-ratio: 4 / 5;
  }

  .prose .frame:not(.wide)::before {
    top: 1.15rem;
    right: 0.2rem;
    bottom: -1.2rem;
    left: -1.15rem;
  }

  .prose .frame:not(.wide) img {
    width: calc(100% - 0.15rem);
  }

  .split .frame {
    margin: 0.4rem 0 0;
  }

  .split .frame::before {
    top: 1.2rem;
    right: 1.15rem;
    bottom: -1.2rem;
    left: -1.05rem;
  }

  .split > .frame:first-child::before {
    left: 1.15rem;
    right: -1.05rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }

  .prose .contact-layout .frame:not(.wide) {
    float: none;
    width: 100%;
    margin: 0;
  }

  .contact-layout .frame::before {
    top: 1.25rem;
    right: 1.1rem;
    bottom: -1.25rem;
    left: -1.1rem;
  }
}

@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .form-span {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .split.align-center {
    align-items: center;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    width: auto;
    gap: 1.15rem;
  }

  .site-nav li a,
  .nav-phone {
    min-height: 0;
    font-size: 0.98rem;
  }

  .nav-cta {
    margin-top: 0;
  }

  .nav-phone {
    display: none;
  }

  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 4vw, 4.5rem);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .steps li {
    padding-right: 1.5rem;
  }
}

@media (min-width: 1180px) {
  .nav-phone {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
