:root {
  --ink: #22201d;
  --ivory: #faf8f3;
  --paper: #f2ede4;
  --sand: #cbbb9f;
  --sand-dark: #ac966e;
  --gold: #b58a3a;
  --charcoal: #1b1c1b;
  --line: #d8cebe;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  padding: 28px 0;
  background: #d7cbb8;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.page-shell {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
  overflow: clip;
  background: var(--ivory);
  box-shadow: 0 18px 55px rgba(54, 43, 27, .12);
}

.site-header {
  height: 78px;
  padding: 0 clamp(24px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(90deg, #d6c9b3, #c7b493);
  border-bottom: 1px solid rgba(65, 53, 34, .14);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand img { width: 47px; height: 47px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-size: 18px; letter-spacing: 3.2px; font-weight: 900; }
.brand-name small { margin-top: 6px; font-size: 9px; letter-spacing: 3px; font-weight: 500; }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.2vw, 34px); font-size: 12px; font-weight: 700; }
.site-header nav > a { padding: 10px 0; border-bottom: 2px solid transparent; transition: border-color .2s ease; white-space: nowrap; }
.site-header nav > a:hover, .site-header nav > a:focus-visible { border-color: var(--gold); }
.header-cta {
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--ivory);
  padding: 13px 17px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.header-cta:hover, .header-cta:focus-visible { background: transparent; color: var(--charcoal); }
.menu-button { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px; transition: transform .2s ease, opacity .2s ease; }

.hero {
  min-height: 590px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--charcoal) url("images/hero-construction.webp?v=2") center top / cover no-repeat;
  border-bottom: 1px solid rgba(235, 228, 216, .3);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 19, 18, .62) 0%, rgba(18, 19, 18, .25) 42%, rgba(250, 248, 243, 0) 69%);
}
.hero-inner { width: min(1210px, 86%); margin: auto; padding: 94px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 11px; font-weight: 900; color: #9b742d; margin: 0 0 22px; }
.hero-eyebrow { color: #d8bd82; }
.hero h1 {
  max-width: 670px;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(54px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: -4px;
  font-weight: 650;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .2);
}
.hero h1 span, .section h2 span, .modal-panel h2 span { color: var(--gold); }
.hero-subtitle { margin: 27px 0 0; max-width: 540px; color: #f0ece4; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 14px 19px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.25px;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button-primary { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.hero .button-primary { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.button-secondary { border-color: rgba(250, 248, 243, .75); color: var(--ivory); background: rgba(27, 28, 27, .16); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--ivory); color: var(--ink); }

.section { padding: 105px clamp(28px, 7vw, 110px); }
.company { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: #f5f0e8; }
.company h2, .services h2 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.08; letter-spacing: -2px; margin: 0; }
.company-copy { font-size: 18px; line-height: 1.75; color: #504b44; }
.company-copy p { margin: 0 0 22px; text-align: justify; text-justify: inter-word; hyphens: auto; }
.company-copy strong { color: #26231f; }
.services { background: #fbfaf6; }
.centered { text-align: center; }
.services h2 { font-size: clamp(34px, 4vw, 52px); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 68px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { padding: 34px 28px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 270px; }
.service-number { font-size: 11px; letter-spacing: 2px; color: var(--gold); font-weight: 800; }
.service-grid h3 { font-size: 19px; margin: 42px 0 15px; }
.service-grid p { font-size: 14px; line-height: 1.7; color: #625d55; margin: 0; }

.works { position: relative; padding: 55px clamp(44px, 7vw, 110px) 72px; background: #efe8dd; overflow: hidden; }
.slider-viewport { overflow: hidden; width: 100%; }
.slider-track { --visible: 3; display: flex; gap: 18px; transition: transform .6s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.slide { flex: 0 0 calc((100% - 36px) / var(--visible)); height: 250px; margin: 0; background: #e7dfd2; border: 1px solid rgba(90, 75, 50, .12); overflow: hidden; }
.slide img { width: 100%; height: 100%; display: block; object-fit: contain; }
.slider-arrow { position: absolute; top: 45%; transform: translateY(-50%); z-index: 3; border: 0; background: transparent; color: var(--gold); font-size: 48px; font-weight: 200; cursor: pointer; padding: 14px; }
.slider-arrow.previous { left: 12px; }
.slider-arrow.next { right: 12px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 25px; }
.slider-dots span { width: 7px; height: 7px; border-radius: 50%; background: #c8bca9; transition: .2s; }
.slider-dots span.active { background: var(--gold); transform: scale(1.25); }

footer { display: grid; grid-template-columns: .8fr 1fr 1.5fr .8fr; gap: 0; background: var(--charcoal); color: #f5f2eb; padding: 48px clamp(28px, 7vw, 110px); align-items: center; }
.footer-logo { height: 105px; padding-right: 36px; border-right: 1px solid rgba(181, 138, 58, .55); }
.footer-logo img { width: 150px; height: 100%; object-fit: contain; filter: invert(1) grayscale(1) brightness(2); }
.footer-item { min-height: 90px; padding: 15px 32px; border-right: 1px solid rgba(181, 138, 58, .4); display: flex; flex-direction: column; justify-content: center; }
.footer-item:last-child { border-right: 0; }
.footer-item span { font-size: 9px; text-transform: uppercase; letter-spacing: 2px; color: #bda56f; margin-bottom: 10px; }
.footer-item strong { font-size: 13px; line-height: 1.65; font-weight: 500; }

.contact-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 19, 17, .78); backdrop-filter: blur(4px); }
.modal-panel { position: relative; width: min(720px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--paper); padding: clamp(30px, 5vw, 54px); box-shadow: 0 28px 80px rgba(0, 0, 0, .3); }
.modal-close { position: absolute; top: 15px; right: 18px; width: 38px; height: 38px; border: 0; background: transparent; font-size: 31px; font-weight: 200; line-height: 1; cursor: pointer; }
.modal-panel h2 { max-width: 570px; margin: 0; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; letter-spacing: -1.8px; }
.modal-intro { max-width: 590px; margin: 18px 0 29px; color: #5b554c; font-size: 15px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#contact-form > label, .form-grid label { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
#contact-form label > span:not(.file-help) { color: var(--gold); }
#contact-form input:not([type="checkbox"]), #contact-form textarea { width: 100%; border: 1px solid #cfc3b2; border-radius: 0; background: var(--ivory); color: var(--ink); padding: 14px 15px; outline: none; font-size: 15px; font-weight: 400; letter-spacing: normal; text-transform: none; }
#contact-form input:focus, #contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(181, 138, 58, .13); }
#contact-form textarea { resize: vertical; min-height: 130px; }
.file-field small { color: #6c655c; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.file-help { color: #746d63; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: 0 !important; line-height: 1.45; text-transform: none !important; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--charcoal); flex: 0 0 auto; }
.consent span { color: #565047 !important; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; }
.form-status { flex: 1; margin: 0; color: #655d51; font-size: 13px; line-height: 1.45; }
.form-status.success { color: #4b634a; }
.form-status.error { color: #8b3b32; }
.submit-button[disabled] { opacity: .58; cursor: wait; }
.success-panel { width: min(600px, 100%); text-align: center; }
.success-panel .eyebrow { margin-bottom: 18px; }
.success-panel h2, .success-panel .modal-intro { margin-left: auto; margin-right: auto; }
.success-panel .modal-intro { margin-bottom: 30px; }
.success-close-button { min-width: 150px; }

.cookie-banner { position: fixed; z-index: 900; right: 24px; bottom: 24px; width: min(420px, calc(100% - 48px)); padding: 18px; background: var(--charcoal); color: var(--ivory); box-shadow: 0 16px 45px rgba(0, 0, 0, .25); }
.cookie-banner p { margin: 0 0 14px; font-size: 13px; line-height: 1.5; }
.cookie-banner div { display: flex; justify-content: flex-end; gap: 9px; }
.cookie-banner button { border: 1px solid #bda56f; background: transparent; color: var(--ivory); padding: 9px 13px; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; cursor: pointer; }
.cookie-banner .cookie-accept { background: var(--sand); color: var(--ink); border-color: var(--sand); }

@media (max-width: 1050px) {
  .brand-name strong { font-size: 16px; letter-spacing: 2.5px; }
  .brand-name small { letter-spacing: 2.4px; }
  .site-header { padding: 0 28px; }
  .site-header nav { gap: 17px; }
  .header-cta { padding: 12px 13px; }
}

@media (max-width: 900px) {
  body { padding: 14px 0; }
  .page-shell { width: calc(100% - 28px); }
  .site-header { height: 76px; padding: 0 5vw; }
  .brand img { width: 43px; height: 43px; }
  .menu-button { display: block; }
  .site-header nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #d0c0a4; padding: 17px 5vw 23px; box-shadow: 0 16px 28px rgba(43, 34, 22, .16); }
  .site-header nav > a { width: 100%; padding: 13px 0; }
  .site-header nav .header-cta { width: 100%; margin-top: 10px; }
  .menu-open nav { display: flex; }
  .menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-button span:nth-child(2) { opacity: 0; }
  .menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 540px; }
  .hero-inner { padding: 75px 0; }
  .company { grid-template-columns: 1fr; gap: 42px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .slider-track { --visible: 2; }
  .slide { flex-basis: calc((100% - 18px) / 2); height: 220px; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-logo, .footer-item { border-right: 0; border-bottom: 1px solid rgba(181, 138, 58, .35); padding: 24px 20px; }
  .footer-item:last-child { border-bottom: 0; }
}

@media (max-width: 580px) {
  html { scroll-padding-top: 72px; }
  body { padding: 0; }
  .page-shell { width: 100%; box-shadow: none; }
  .site-header { height: 72px; padding: 0 15px; }
  .brand { gap: 9px; }
  .brand img { width: 39px; height: 39px; }
  .brand-name strong { font-size: 14px; letter-spacing: 2px; }
  .brand-name small { margin-top: 5px; font-size: 8px; letter-spacing: 2px; }
  .site-header nav { top: 72px; padding-left: 18px; padding-right: 18px; }
  .hero { min-height: 540px; background-position: 59% center; }
  .hero::before { background: linear-gradient(90deg, rgba(18, 19, 18, .82), rgba(18, 19, 18, .52) 65%, rgba(18, 19, 18, .25)); }
  .hero-inner { width: calc(100% - 32px); padding: 65px 0; text-align: center; }
  .hero h1 { font-size: clamp(46px, 14vw, 60px); letter-spacing: -2.7px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .section { padding: 72px 6vw; }
  .company h2, .services h2 { font-size: 36px; }
  .company-copy { font-size: 16px; }
  .company-copy p { text-align: left; hyphens: none; }
  .service-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .service-grid article { min-height: 0; }
  .works { padding: 42px 48px 58px; }
  .slider-track { --visible: 1; gap: 0; }
  .slide { flex-basis: 100%; height: 230px; }
  .slider-arrow { font-size: 40px; }
  .slider-arrow.previous { left: 5px; }
  .slider-arrow.next { right: 5px; }
  footer { grid-template-columns: 1fr; padding: 35px 6vw; }
  .footer-logo, .footer-item { padding: 22px 0; min-height: 0; }
  .footer-logo { height: 95px; }
  .contact-modal { padding: 0; place-items: end center; }
  .modal-panel { width: 100%; max-height: 94dvh; padding: 34px 20px 26px; }
  .modal-close { top: 10px; right: 10px; }
  .modal-panel h2 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-status { text-align: center; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
