@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("fonts/roboto-heavy.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --carbon: #181917;
  --ink: #1c1e1a;
  --secondary: #555952;
  --paper: #f5f3ee;
  --white: #fffefb;
  --rule: #dcd9d1;
  --orange: #ff7029;
  --orange-hover: #ff8649;
  --accent-dark: #a63d13;
  --radius: 5px;
  --gutter: clamp(22px, 4.5vw, 76px);
  --header-height: 78px;
  font-family: Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--carbon); color: var(--ink); line-height: 1.5; }
body:has(dialog[open]) { overflow: hidden; }
main, section, #home { scroll-margin-top: var(--header-height); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; }
:focus-visible { outline: 3px solid #a94418; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .services-section :focus-visible,
.site-footer :focus-visible, .lightbox :focus-visible { outline-color: #ffa579; }

.frame { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 10;
  background: var(--white);
  padding: 12px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--carbon);
  color: var(--white);
  border-bottom: 1px solid #333530;
}
.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand { display: inline-flex; width: 112px; align-items: center; justify-self: start; }
.brand img { width: 100%; }
.navigation { display: flex; align-items: center; gap: clamp(22px, 3.3vw, 52px); }
.navigation a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #efeee9;
  font-size: .94rem;
  font-weight: 700;
  transition: color .15s ease;
}
.navigation a:hover, .footer-links a:hover { color: #ff9c6b; }
.header-cta { justify-self: end; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 47px;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 17px;
  font-size: .94rem;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.button-primary { color: #191813; background: var(--orange); }
.button-primary:hover { background: var(--orange-hover); }
.button-dark { color: var(--white); background: var(--carbon); }
.button-dark:hover { background: #353630; }
.button-outline { background: transparent; color: var(--ink); border-color: #a5a299; }
.button-outline:hover { background: var(--white); border-color: var(--ink); }
.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.arrow::before {
  content: "";
  position: absolute;
  inset: 6px 2px auto 1px;
  height: 2px;
  background: currentColor;
}
.arrow::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.arrow-diagonal { transform: rotate(-45deg); }
.arrow-down { transform: rotate(90deg); }
.arrow-up { transform: rotate(-90deg); }
.arrow-left { transform: rotate(180deg); }

.hero { background: var(--carbon); color: var(--white); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(27px, 4.2vw, 63px);
  padding-block: 30px 42px;
}
.hero-copy { padding-block: 12px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f4eee5;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.eyebrow span { display: block; width: 28px; height: 2px; background: var(--orange); }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(3.4rem, 5.75vw, 6.05rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.061em;
}
.hero h1 span { color: #ff8246; }
.hero-summary {
  margin-block: 24px 25px;
  max-width: 30ch;
  color: #d1d1c7;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.58;
}
.hero-photo {
  position: relative;
  display: block;
  aspect-ratio: 1.54;
  background: #393c36;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transition: transform .3s ease;
}
.hero-photo:hover img { transform: scale(1.018); }
.photo-label, .photo-open { position: absolute; bottom: 15px; color: var(--white); background: #181917eb; }
.photo-label { left: 15px; font-size: .75rem; padding: 7px 10px; border-radius: 3px; }
.photo-open {
  right: 15px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #ffffff5c;
  border-radius: 3px;
}
.hero-photo:hover .photo-open, .project-type-photo:hover .photo-open { background: var(--orange); color: var(--ink); border-color: var(--orange); }

.gallery-section { background: var(--paper); padding-block: 46px 58px; }
.section-heading h2, .about-copy h2, .contact-inner h2 {
  font-size: clamp(2.2rem, 4vw, 4.05rem);
  letter-spacing: -.056em;
  font-weight: 900;
}
.section-heading p { margin-top: 10px; color: var(--secondary); }
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px 24px;
  margin-bottom: 23px;
}
.filters { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.filters button {
  min-height: 41px;
  padding: 7px 11px;
  white-space: nowrap;
  border: 1px solid transparent;
  background: transparent;
  color: #3e423a;
  font-size: .83rem;
  font-weight: 700;
  border-radius: 4px;
}
.filters button:hover { border-color: #b5b1a8; }
.filters button[aria-pressed="true"] { background: var(--carbon); border-color: var(--carbon); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.project-card:hover { border-color: #af6c4d; box-shadow: 0 7px 20px #231c1415; }
.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 2.04;
  overflow: hidden;
  background: #ded9ce;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .26s ease;
}
.project-card:hover img { transform: scale(1.045); }
.card-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; flex: 1; padding: 11px 12px; }
.card-type {
  color: #854420;
  font-size: .67rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .072em;
  text-transform: uppercase;
}
.card-title { font-weight: 700; line-height: 1.25; }
.card-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent-dark);
}
.gallery-actions:has(button:not([hidden])) { margin-top: 23px; text-align: center; }

.services-section { padding-block: 66px 72px; background: #22241f; color: var(--white); }
.process-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.53fr);
  align-items: start;
  gap: clamp(30px, 5vw, 72px);
}
.process-heading h2 { font-size: clamp(2.4rem, 4vw, 3.9rem); }
.process-heading h2 span {
  display: block;
  margin-top: 13px;
  color: #ff9e6f;
  font-size: .53em;
  line-height: 1.14;
  letter-spacing: -.035em;
}
.process-heading p { max-width: 43ch; color: #d0d1c8; margin-top: 16px; }
.process-heading .process-scope {
  margin-top: 25px;
  border-top: 1px solid #51544a;
  padding-top: 15px;
  color: #c8cbbf;
  font-size: .89rem;
  line-height: 1.55;
}
.step-list, .project-type-grid { list-style: none; margin: 0; padding: 0; }
.step-list { display: grid; gap: 8px; }
.step-card {
  --step-padding: 17px;
  --step-number-width: 2rem;
  border: 1px solid #45483f;
  border-radius: var(--radius);
  background: #292c25;
}
.step-card:hover, .step-card[open] { border-color: #a46d50; }
.step-summary {
  display: grid;
  grid-template-columns: var(--step-number-width) minmax(0, 1fr) 31px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px var(--step-padding);
  border-radius: var(--radius);
  list-style: none;
  cursor: pointer;
}
.step-summary::-webkit-details-marker { display: none; }
.step-summary::marker { content: ""; }
.step-summary:hover { background: #30332a; }
.step-summary:focus-visible { outline-offset: -3px; }
.step-number {
  color: #ff9e6f;
  font-size: .86rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-title { font-size: clamp(1.02rem, 1.45vw, 1.22rem); font-weight: 700; line-height: 1.28; }
.step-icon {
  position: relative;
  width: 31px;
  height: 31px;
  color: #ff9e6f;
  border: 1px solid #8a6854;
  border-radius: 3px;
}
.step-icon::before, .step-icon::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 13px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: currentColor;
  content: "";
}
.step-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.step-card[open] .step-icon { border-color: #ff9e6f; background: #ff9e6f; color: #22241f; }
.step-card[open] .step-icon::after { display: none; }
.step-body { padding: 6px var(--step-padding) 19px calc(var(--step-padding) + var(--step-number-width) + 10px); }
.step-body p { color: #f5f3ee; font-weight: 700; }
.step-body ul {
  margin: 13px 0 0;
  padding-left: 1.1em;
  columns: 285px 2;
  column-gap: 28px;
  color: #d1d3c8;
  font-size: .94rem;
}
.step-body li { padding-bottom: 6px; break-inside: avoid; }
.step-body li::marker { color: #ff9e6f; }

.project-types-section { padding-block: 56px 64px; background: var(--paper); }
.project-types-heading { margin-bottom: 23px; }
.project-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.project-type {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
}
.project-type-photo { position: relative; display: block; }
.project-type-photo:focus-visible { outline-offset: -3px; z-index: 1; }
.project-type-photo .photo-open { right: 9px; bottom: 9px; width: 34px; height: 34px; }
.project-type img { width: 100%; height: auto; aspect-ratio: 2.28; object-fit: cover; }
.project-type h3 { padding: 12px 13px 14px; font-size: 1.06rem; line-height: 1.25; }

.about-section { padding-block: 64px; background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 80px); align-items: center; }
.about-image { width: 100%; height: 100%; min-height: 390px; object-fit: cover; border-radius: var(--radius); }
.about-copy > p { margin-block: 13px 15px; max-width: 48ch; color: var(--secondary); }
.process { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.process li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-block: 12px;
}
.process li::before { content: counter(steps, decimal-leading-zero); color: var(--accent-dark); font-weight: 700; font-size: .85rem; margin-top: 2px; }
.process h3 { font-size: 1.1rem; letter-spacing: -.013em; }
.process p { color: var(--secondary); font-size: .91rem; margin-top: 4px; }

.contact-section { padding-block: 48px; background: var(--orange); color: var(--carbon); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 34px; }
.contact-inner h2 { font-size: clamp(2.05rem, 3.8vw, 3.7rem); }
.contact-inner p { margin-top: 10px; max-width: 61ch; font-size: .96rem; }
.contact-actions { display: flex; align-items: start; flex-direction: column; gap: 8px; }
.contact-call { min-height: 34px; display: inline-flex; align-items: center; font-size: .88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { min-height: 109px; color: var(--white); }
.footer-inner {
  min-height: inherit;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px 20px;
  padding-block: 17px;
}
.footer-brand { font-weight: 700; }
.footer-brand span { display: block; color: #bdbeb4; font-size: .87rem; font-weight: 400; }
.footer-links { display: flex; flex-wrap: wrap; gap: 5px 20px; align-items: center; font-size: .91rem; }
.footer-links a { overflow-wrap: anywhere; }

dialog { border: 0; padding: 0; border-radius: 8px; }
dialog[open] { animation: dialog-in .17s ease both; }
dialog::backdrop { background: #10120ee0; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 13px; }
.dialog-header h2 { font-size: clamp(1.65rem, 4vw, 2.28rem); letter-spacing: -.05em; font-weight: 900; }
.icon-button {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #bdbbb2;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: 400 1.65rem/1 Arial, sans-serif;
}
.icon-button:hover { background: #d7d2c936; }

.lightbox {
  width: min(calc(100% - 32px), 1100px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  color: var(--white);
  background: #1e211b;
  border: 1px solid #55594e;
}
.lightbox-body { display: flex; flex-direction: column; gap: 12px; padding: 13px; }
.lightbox-header { align-items: center; padding-inline: 3px; }
.lightbox-header h2 { font-size: clamp(1.15rem, 3vw, 1.65rem); letter-spacing: -.022em; }
.lightbox .icon-button { border-color: #767a6f; }
.lightbox-image { display: grid; place-items: center; background: #11130f; touch-action: pan-y; }
.lightbox-image img { height: auto; max-height: calc(100dvh - 176px); object-fit: contain; }
.lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #e0dfd5; }
.lightbox-button { min-height: 40px; gap: 8px; color: var(--white); background: transparent; border-color: #72776a; }
.lightbox-button:hover { background: #394035; }
#lightbox-count { text-align: center; font-variant-numeric: tabular-nums; }

.information-dialog {
  width: min(calc(100% - 36px), 590px);
  max-width: none;
  max-height: calc(100dvh - 36px);
  color: var(--ink);
  background: var(--white);
}
.dialog-body { padding: clamp(19px, 4vw, 32px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.form-grid label { display: grid; align-content: start; gap: 5px; font-size: .9rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  min-height: 43px;
  padding: 9px 10px;
  border-radius: 4px;
  border: 1px solid #a7a89e;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.form-grid textarea { resize: vertical; }
.form-note { margin-block: 9px 17px; color: var(--secondary); font-size: .87rem; }


@media (max-width: 1050px) {
  .gallery-heading { align-items: start; flex-direction: column; }
  .project-grid { gap: 11px; }
  .card-title { font-size: .94rem; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 2; }
}
@media (max-width: 900px) {
  .process-layout { grid-template-columns: 1fr; gap: 24px; }
  .process-heading p { max-width: 62ch; }
}
@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .brand { width: 97px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 21px; }
  .hero h1 { font-size: clamp(3rem, 6.8vw, 4rem); }
  .hero-photo { aspect-ratio: 1.18; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --gutter: 18px; --header-height: 65px; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 8px; }
  .brand { width: 91px; }
  .header-cta { grid-column: 2; grid-row: 1; min-height: 42px; padding-inline: 10px; gap: 7px; font-size: .81rem; }
  .navigation { grid-column: 1 / -1; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
  .enhanced .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #5f6157;
    border-radius: var(--radius);
    padding: 7px 8px;
    background: transparent;
    color: var(--white);
    font-size: .81rem;
    font-weight: 700;
  }
  .menu-icon { position: relative; width: 13px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .menu-icon::after { content: ""; position: absolute; top: 3px; right: 0; left: 0; height: 1px; background: currentColor; }
  .enhanced .navigation { display: none; }
  .enhanced .navigation.is-open { display: flex; padding-block: 1px 7px; border-top: 1px solid #44463d; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 19px 22px; gap: 19px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-top: 12px; font-size: clamp(3.1rem, 10.8vw, 4.6rem); }
  .hero-summary { margin-block: 13px 16px; max-width: 39ch; }
  .hero-photo { aspect-ratio: 1.62; }
  .photo-label, .photo-open { bottom: 9px; }
  .photo-label { left: 9px; }
  .photo-open { right: 9px; width: 38px; height: 38px; }
  .gallery-section, .services-section, .project-types-section, .about-section, .contact-section { padding-block: 32px 36px; }
  .gallery-heading { margin-bottom: 16px; }
  .filters { gap: 1px; }
  .filters button { min-height: 40px; padding-inline: 5px; font-size: .75rem; }
  .project-grid { gap: 9px; }
  .card-caption { padding: 8px; }
  .card-title { font-size: .84rem; }
  .card-type { font-size: .58rem; letter-spacing: .045em; }
  .project-types-heading { margin-bottom: 16px; }
  .project-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .project-type h3 { padding: 9px; font-size: .9rem; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-image { min-height: 0; height: auto; aspect-ratio: 1.89; }
  .contact-inner { align-items: start; flex-direction: column; }
  .contact-actions { flex-direction: row; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .inquiry-submit { width: 100%; }
  .step-card { --step-padding: 12px; --step-number-width: 1.45rem; }
  .step-body { padding-left: var(--step-padding); }
  .footer-inner { gap: 10px 12px; }
  .footer-brand { font-size: .91rem; }
  .footer-links { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
