@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2");
}

:root {
  --navy: #071526;
  --navy-2: #10243c;
  --navy-3: #1b3654;
  --ink: #152233;
  --muted: #5d6b7c;
  --paper: #f4f0e8;
  --paper-2: #e8e2d6;
  --white: #fbfaf6;
  --line: rgba(7, 21, 38, 0.12);
  --line-light: rgba(244, 240, 232, 0.18);
  --brass: #c6a15b;
  --brass-deep: #8d6a32;
  --danger: #8d2e2e;
  --ok: #1e5b3a;
  --header: 4.5rem;
  --wrap: 72rem;
  --shadow: 0 18px 50px rgba(7, 21, 38, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1, h2, h3, p {
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--navy);
  padding: 0.7rem 1rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.38), rgba(7, 21, 38, 0));
  color: var(--paper);
  border-bottom: 0;
}

.site-header.is-scrolled,
.site-header:has(.nav.is-open) {
  position: fixed;
  background: rgba(7, 21, 38, 0.38);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--paper);
  min-width: 0;
}

.logo__mark {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(244, 240, 232, 0.35);
  display: grid;
  align-content: center;
  gap: 0.16rem;
  padding: 0.26rem;
  flex: none;
}

.logo__mark span {
  display: block;
  height: 2px;
  background: var(--paper);
}

.logo__mark span:first-child {
  width: 100%;
  background: var(--brass);
}

.logo__mark span:nth-child(2) {
  width: 70%;
}

.logo__name {
  display: block;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(251, 250, 246, 0.9);
}

.logo__place {
  display: block;
  margin-top: 0.16rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: rgba(251, 250, 246, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a,
.nav__services > a {
  text-decoration: none;
}

.nav__link,
.nav__services > a,
.header-cta {
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  color: rgba(251, 250, 246, 0.78);
  font-size: 0.92rem;
  font-weight: 400;
  text-decoration: none;
}

.nav__services {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__more {
  width: 2.25rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav__sub {
  position: absolute;
  top: calc(100% - 0.2rem);
  left: 0;
  min-width: 17.5rem;
  padding: 0.45rem;
  background: var(--navy-2);
  border: 1px solid var(--line-light);
  display: none;
  box-shadow: var(--shadow);
}

@media (min-width: 1041px) {
  .nav__services:hover .nav__sub,
  .nav__services:focus-within .nav__sub,
  .nav__services.is-open .nav__sub {
    display: grid;
  }
}

.nav__sub a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  color: var(--paper);
}

.nav__sub a:hover,
.nav__sub a:focus-visible {
  background: rgba(244, 240, 232, 0.08);
}

.header-cta {
  background: transparent;
  color: rgba(251, 250, 246, 0.92);
  font-weight: 500;
  margin-left: 0.35rem;
  border-bottom: 1px solid rgba(198, 161, 91, 0.65);
  padding-inline: 0;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: transparent;
  color: #fff;
}

.hero-stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #071526;
  color: var(--paper);
}

.hero-stage__bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  filter: blur(7px);
  transform: scale(1.04);
}

.hero-stage__veil {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 38, 0.5);
}

.hero-stage__text {
  position: relative;
  z-index: 1;
  width: min(38rem, calc(100% - 2rem));
  margin-top: 2.5rem;
  padding: 2.4rem 1.6rem 2rem;
  text-align: center;
  border: 1px solid rgba(244, 240, 232, 0.32);
  background: rgba(7, 21, 38, 0.34);
}

.hero-kicker {
  margin: 0 0 1.1rem;
  color: #e7d7b2;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

.hero-stage h1 {
  max-width: min(16ch, 100%);
  margin: 0 auto;
  font-size: clamp(2.15rem, 5vw, 4.3rem);
  font-weight: 500;
  line-height: 1.02;
  color: #fff;
}

.hero-stage .lede {
  margin-right: auto;
  margin-left: auto;
}

.hero-stage .actions {
  justify-content: center;
}

.page-open__photo img.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.page-open__photo {
  position: relative;
  height: 17.5rem;
  overflow: hidden;
  background: #10243c;
}

.page-open__text {
  padding: 2.6rem 0 0.5rem;
}

.page-open h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: var(--navy);
}

.page-open .lede {
  color: var(--muted);
}

.page-open .eyebrow {
  color: var(--brass-deep);
}

.btn--line {
  border: 1px solid rgba(7, 21, 38, 0.28);
  color: var(--navy);
  background: transparent;
}

.btn--line:hover,
.btn--line:focus-visible {
  background: rgba(7, 21, 38, 0.05);
}

.lede {
  max-width: 38rem;
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: #efe8dc;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #e7d7b2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--brass);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.btn--solid {
  background: var(--brass);
  color: var(--navy);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: #e0c48a;
}

.btn--ghost {
  border-color: rgba(244, 240, 232, 0.55);
  color: var(--paper);
  background: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(244, 240, 232, 0.08);
}

.btn--navy {
  background: var(--navy);
  color: var(--paper);
}

.btn--navy:hover,
.btn--navy:focus-visible {
  background: var(--navy-3);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--white {
  background: var(--white);
}

.section--navy {
  background: var(--navy);
  color: var(--paper);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 16ch;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-head p,
.prose p,
.stack > * + * {
  margin-top: 1rem;
}

.muted {
  color: var(--muted);
}

.section--navy .muted {
  color: #d5cbbd;
}

.card-grid,
.service-index,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-index {
  margin-top: 2rem;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.service-link,
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.section--white .card,
.service-link,
.related-card {
  background: var(--paper);
}

.card img,
.service-link img,
.figure img,
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  height: auto;
}

.card__body,
.service-link__body,
.related-card {
  padding: 1.15rem 1.15rem 1.3rem;
}

.card h3,
.service-link h3,
.related-card h3,
.step h3,
.faq h3 {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.index-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--brass-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.split + .split,
.stack-block + .stack-block {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.figure {
  margin: 0;
}

.figure--tall img {
  aspect-ratio: 3 / 4;
}

.figure figcaption,
.gallery figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.section--navy .figure figcaption {
  color: #d5cbbd;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.3rem;
  background: rgba(244, 240, 232, 0.05);
  border-top: 1px solid var(--brass);
  min-width: 0;
}

.section:not(.section--navy) .step {
  background: var(--white);
}

.step h3::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.8rem;
  color: var(--brass-deep);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.section--navy .step h3::before {
  color: var(--brass);
}

.prose {
  max-width: 72ch;
}

.prose h2,
.prose h3 {
  margin-top: 2.2rem;
}

.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 20ch;
}

.prose h3 {
  font-size: 1.45rem;
}

.prose a {
  color: var(--brass-deep);
}

.prose ul,
.prose ol {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 38rem;
  background: var(--white);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: #efe8db;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--brass-deep);
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding-bottom: 1rem;
  max-width: 68ch;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.gallery figure:first-child {
  grid-row: 1 / span 2;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  text-align: left;
}

.gallery img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery figure:first-child img {
  aspect-ratio: 3 / 4;
  height: 100%;
}

.crumbs {
  padding: 1rem 0 0;
  background: var(--paper);
}

.crumbs ol {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumbs a {
  color: var(--navy);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.note {
  padding: 1rem 1.1rem;
  background: #efe6d4;
  border-left: 3px solid var(--brass-deep);
}

.site-footer {
  background: var(--navy);
  color: #e7e0d4;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 12ch;
  color: var(--white);
}

.site-footer h3 {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7d7b2;
}

.site-footer p {
  margin-top: 0.8rem;
}

.site-footer a {
  color: #e7e0d4;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #c9bfb0;
  font-size: 0.92rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label span {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #cfc6b8;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-top: 0.25rem;
  flex: none;
}

.field-error {
  display: block;
  min-height: 1.2rem;
  margin-bottom: 0;
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 400;
}

.form-status {
  min-height: 1.4rem;
  font-weight: 600;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-ok {
  color: var(--ok);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

dialog.lightbox {
  width: min(68rem, calc(100% - 2rem));
  border: 0;
  padding: 0;
  background: transparent;
}

dialog.lightbox::backdrop {
  background: rgba(7, 21, 38, 0.82);
}

.lightbox__frame {
  background: var(--navy);
  color: var(--paper);
  padding: 0.75rem;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}

.lightbox__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0.2rem 0.2rem;
}

.lightbox__bar button {
  min-height: 2.75rem;
  min-width: 2.75rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-light);
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

#estimate,
.prose h2,
.prose h3 {
  scroll-margin-top: calc(var(--header) + 1rem);
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .card-grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid,
  .steps,
  .section-head,
  .split,
  .contact-layout,
  .cta-band,
  .two-col {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery figure:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .gallery figure:first-child img {
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 30;
    background: var(--navy);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.25rem 2rem;
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__services {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav__sub {
    grid-column: 1 / -1;
  }

  .nav__sub {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.4rem 0.8rem;
    background: transparent;
  }

  .nav__services.is-open .nav__sub {
    display: grid;
  }

  .header-cta {
    margin: 0.6rem 0 0;
    justify-content: center;
  }

  .form-row,
  .gallery {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid--4,
  .service-index,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stage__text {
    width: min(38rem, calc(100% - 1.5rem));
    min-width: 0;
    padding: 1.7rem 1.1rem 1.5rem;
  }

  .wrap,
  .header-inner,
  .hero__content,
  .crumbs ol {
    width: min(var(--wrap), calc(100% - 1.5rem));
  }
}

@media (max-width: 700px) {
  .hero-stage {
    padding-inline: 0.85rem;
  }

  .hero-stage__text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1.25rem 0.9rem 1.15rem;
  }

  .card-grid,
  .card-grid--4,
  .service-index,
  .related-grid,
  .gallery,
  .form-row {
    grid-template-columns: 1fr;
  }

  .logo__place {
    letter-spacing: 0.04em;
    font-size: 0.56rem;
  }

  .hero-stage h1 {
    max-width: 11ch;
    font-size: 2.05rem;
  }

  .hero-stage .lede {
    max-width: 32ch;
    font-size: 1rem;
  }

  .hero-stage .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-open h1,
  .section h2 {
    max-width: none;
  }
}
