@font-face {
  font-family: CHB Serif;
  src: url("assets/serif.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: CHB Serif;
  src: url("assets/serif-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: CHB Sans;
  src: url("assets/sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: CHB Sans;
  src: url("assets/sans-semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0b1723;
  --navy-deep: #09141f;
  --ivory: #f5f0e7;
  --paper: #fcf8f0;
  --ink: #172430;
  --muted: #505964;
  --gold: #d4b17b;
  --gold-light: #e1c89f;
  --gold-ink: #745524;
  --line: #d6ccba;
  --dark-line: #ffffff26;
  --serif: "CHB Serif", Georgia, serif;
  --sans: "CHB Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 400 16px/1.65 var(--sans); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9c7841; outline-offset: 4px; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font: 400 2rem/1.06 var(--serif); }
h2 { letter-spacing: -.035em; font-size: clamp(2.45rem, 5vw, 4rem); }
h3 { font-size: clamp(1.55rem, 2.3vw, 2rem); letter-spacing: -.016em; }

.shell { width: min(100% - 112px, 1240px); margin-inline: auto; }
.section-spacing { padding-block: 90px; }
#services, #approach, #questions { scroll-margin-top: 16px; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 10;
  left: 16px;
  top: 16px;
  padding: 10px 16px;
  background: var(--paper);
}

.eyebrow {
  color: var(--gold-ink);
  font-size: .69rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.site-header {
  position: relative;
  z-index: 3;
  color: var(--ivory);
  background: var(--navy-deep);
  border-bottom: 1px solid #d4b17b33;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { flex: none; display: block; width: 122px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 54px); }
.primary-nav > a { text-decoration: none; font-size: .875rem; color: #eee7dc; }
.primary-nav > a:hover, .top-link:hover { color: var(--gold-light); }
.menu-toggle, .mobile-picker { display: none !important; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 18px;
  font-size: .815rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button-outline { color: var(--gold-light); border-color: #947952; background: transparent; }
.button-outline:hover { color: var(--navy); background: var(--gold-light); border-color: var(--gold-light); }
.button-gold { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.button-gold:hover { background: #e8c999; border-color: #e8c999; }
.button-light { color: var(--ink); background: transparent; border-color: #c5b69f; }
.button-light:hover { background: #eee4d3; }

.arrow, .diagonal-arrow {
  display: inline-block;
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
}

.arrow::before, .diagonal-arrow::before, .arrow::after, .diagonal-arrow::after {
  content: "";
  position: absolute;
}

.arrow::before { width: 14px; height: 1px; left: 0; top: 7px; background: currentColor; }
.arrow::after { border-top: 1px solid; border-right: 1px solid; width: 6px; height: 6px; top: 4.5px; right: 1px; transform: rotate(45deg); }
.diagonal-arrow::before { height: 1px; width: 13px; left: 1px; top: 7px; background: currentColor; transform: rotate(-45deg); }
.diagonal-arrow::after { border-top: 1px solid; border-right: 1px solid; width: 8px; height: 8px; top: 2px; right: 2px; }

.hero { position: relative; isolation: isolate; background: var(--navy-deep); color: var(--ivory); overflow: hidden; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #09141f 1%, #09141ff7 23%, #09141f9c 49%, #09141f20 74%, #09141f20 100%),
    linear-gradient(0deg, #09141f6b, transparent 46%),
    url("assets/architecture.webp") right 46% / min(85%, 1440px) auto no-repeat;
}

.hero-art::after {
  content: "";
  position: absolute;
  right: max(39px, calc((100vw - 1320px) / 2));
  top: 28px;
  bottom: 28px;
  width: 27%;
  border-right: 1px solid #f2d6a653;
  border-top: 1px solid #f2d6a653;
  border-bottom: 1px solid #f2d6a653;
  mask-image: linear-gradient(90deg, transparent 9%, black);
}

.hero-inner {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 92px 101px;
}

.hero-eyebrow { display: flex; align-items: center; gap: 13px; color: var(--gold-light); margin-bottom: 24px; }
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(3.3rem, 6.25vw, 6.1rem); letter-spacing: -.046em; line-height: .99; }
.hero h1 em { color: var(--gold-light); font-weight: inherit; }
.hero-lead { max-width: 430px; margin-top: 25px; color: #eee8df; font-size: 1rem; line-height: 1.7; }
.hero-actions { margin-top: 31px; }
.hero-actions .button { min-height: 54px; padding-inline: 21px; }
.hero-actions .arrow { margin-inline-start: 6px; }

.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 30px; }
.section-heading > p { color: var(--muted); max-width: 365px; margin: 0 0 3px auto; font-size: .925rem; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 32px 22px; }

.filters button {
  min-height: 43px;
  color: var(--ink);
  background: transparent;
  border: 1px solid #c5b69f;
  padding: 8px 16px;
  font-size: .8rem;
  font-weight: 600;
}

.filters button:hover { border-color: var(--gold-ink); background: #ede4d4; }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--paper); border-color: var(--navy); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 132px;
  min-width: 0;
  padding: 22px 80px 22px 26px;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  transition: background-color .18s ease;
}

.service-card:hover { background: #eee4d3; }
.service-card:focus-visible { z-index: 1; outline-offset: -4px; }
.card-title { font: 400 clamp(1.6rem, 2.4vw, 2.14rem)/1.1 var(--serif); letter-spacing: -.025em; }
.card-summary { font-size: .85rem; color: var(--muted); line-height: 1.55; }
.card-action {
  display: grid;
  place-items: center;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  color: var(--gold-ink);
  border: 1px solid #bda982;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.service-card:hover .card-action { color: var(--paper); background: var(--navy); border-color: var(--navy); }
.picker-card { color: var(--ivory); background: var(--navy); }
.picker-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.picker-card:hover { background: #152837; }
.picker-card .card-summary { color: #e3d8c9; }
.picker-card .card-action { color: var(--gold-light); border-color: #a68c62; }
.picker-card:hover .card-action { background: var(--gold-light); color: var(--navy); border-color: var(--gold-light); }

.approach { background: var(--navy); color: var(--ivory); border-top: 1px solid #254150; }
.approach .eyebrow { color: var(--gold-light); }
.approach .section-heading > p { color: #e1d7ca; }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 42px 0 0; }
.process li { position: relative; border-top: 1px solid #a4875b; padding: 24px 28px 0 0; }
.process li + li { padding-inline-start: 26px; border-left: 1px solid var(--dark-line); }
.process h3 { color: var(--gold-light); }
.process p { margin-top: 11px; color: #e1d7ca; font-size: .875rem; }

.questions-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  min-height: 61px;
  padding: 17px 32px 17px 0;
  font: 400 1.31rem/1.25 var(--serif);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  top: 29px;
  right: 5px;
  width: 13px;
  height: 1px;
  background: var(--gold-ink);
}

.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { display: none; }
.faq details p { color: var(--muted); font-size: .9rem; padding-bottom: 18px; max-width: 530px; }

.site-footer { color: var(--ivory); background: var(--navy-deep); border-top: 1px solid #a4875b; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 16px; }
.top-link { display: inline-flex; align-items: center; gap: 13px; font-size: .81rem; text-decoration: none; }
.top-link span { color: var(--gold-light); }

.panel-dialog {
  width: min(100% - 32px, 650px);
  max-height: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #ad9164;
  box-shadow: 0 20px 70px #08121f66;
  overscroll-behavior: contain;
}

body:has(dialog[open]) { overflow: hidden; }
.panel-dialog::backdrop { background: #08111edb; }
.dialog-inner { position: relative; padding: 43px 43px 36px; }
.dialog-inner .eyebrow { margin-bottom: 11px; padding-right: 40px; }
.dialog-inner h2 { font-size: clamp(2.05rem, 5vw, 3.4rem); padding-right: 22px; }
.dialog-inner h2:focus { outline: none; }
.dialog-lead { margin-top: 15px; color: var(--muted); font-size: .92rem; }
.close-form { position: absolute; top: 14px; right: 14px; }
.close-button {
  display: block;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid #c5b69f;
}

.close-button:hover { background: #eee4d3; }
.close-button::before, .close-button::after { content: ""; position: absolute; top: 20px; left: 13px; width: 16px; height: 1px; background: currentColor; transform: rotate(45deg); }
.close-button::after { transform: rotate(-45deg); }
.detail-section { border-top: 1px solid var(--line); margin-top: 19px; padding-top: 17px; }
.detail-section h3 { font-size: 1.56rem; }
.detail-section ul { margin: 9px 0 0; padding-inline-start: 20px; font-size: .875rem; }
.detail-section li + li { margin-top: 4px; }
.detail-section li::marker { color: var(--gold-ink); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dialog-actions:empty { display: none; }

.picker-options { display: grid; gap: 7px; margin-top: 20px; }
.picker-options:empty { display: none; }
.picker-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 9px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-size: .845rem;
  font-weight: 600;
  line-height: 1.35;
}

.picker-option .arrow { color: var(--gold-ink); }
.picker-option:hover { background: #eee4d3; border-color: #ae956f; }

@media (max-width: 1060px) {
  .shell { width: calc(100% - 80px); }
  .hero-art { background-size: auto, auto, cover; }
  .hero-inner { min-height: 500px; }
}

@media (max-width: 860px) {
  .section-spacing { padding-block: 67px; }
  .shell { width: calc(100% - 48px); }
  .header-inner { min-height: 76px; }
  .brand { width: 105px; }
  .header-picker { display: none; }
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 12px;
    border: 1px solid #947952;
    color: var(--gold-light);
    background: transparent;
    font-size: .84rem;
  }

  .menu-icon { display: block; position: relative; width: 16px; height: 12px; border-block: 1px solid; }
  .menu-icon::after { content: ""; position: absolute; top: 4.5px; left: 0; width: 100%; border-top: 1px solid; }
  .primary-nav { display: none; }
  .primary-nav.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 6px 24px 20px;
    border-bottom: 1px solid #947952;
    box-shadow: 0 20px 40px #09141f65;
  }

  .primary-nav > a { padding-block: 11px; border-bottom: 1px solid var(--dark-line); }
  .mobile-picker { display: inline-flex !important; align-self: flex-start; margin-top: 15px; }
  .hero-inner { min-height: 462px; padding-block: 74px 80px; }
  .service-card { padding-inline-start: 20px; }
  .section-heading { grid-template-columns: 1.2fr 1fr; gap: 22px; }
  .hero-art::after { right: 23px; }
}

@media (max-width: 600px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; }
  .brand { width: 92px; }
  .section-spacing { padding-block: 52px; }
  .hero-inner { min-height: 490px; padding-block: 57px 68px; }
  .hero-art {
    background:
      linear-gradient(90deg, #09141fe8, #09141f7a),
      linear-gradient(0deg, #09141fe8, transparent 82%),
      url("assets/architecture.webp") 65% center / cover no-repeat;
  }

  .hero-art::after { right: 15px; top: 16px; bottom: 16px; width: 35%; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(2.75rem, 10.75vw, 4rem); letter-spacing: -.045em; }
  .hero-lead { font-size: .9rem; margin-top: 22px; max-width: 350px; }
  .hero-actions { margin-top: 25px; }
  .section-heading, .questions-layout { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .section-heading > p { margin: 0; }
  .eyebrow { margin-bottom: 10px; }
  .filters { gap: 6px; margin-block: 23px 16px; }
  .filters button { padding-inline: 10px; font-size: .75rem; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { min-height: 110px; padding: 17px 62px 17px 16px; }
  .card-action { right: 15px; width: 32px; height: 32px; }
  .card-title { font-size: 1.64rem; }
  .card-summary { font-size: .8rem; }
  .process { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 25px; }
  .process li, .process li + li { padding: 15px 0 0; border-left: 0; }
  .process p { margin-top: 8px; }
  .questions-layout { gap: 22px; }
  .faq summary { font-size: 1.18rem; }
  .dialog-inner { padding: 41px 22px 23px; }
  .close-form { top: 9px; right: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
