:root {
  --forest: #293b30;
  --ink: #30291f;
  --muted: #62574a;
  --wood: #8d4b31;
  --paper: #f4eee3;
  --line: #cbbba6;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.17' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--wood);
  outline-offset: 4px;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 30;
  padding: 12px;
  background: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px max(48px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.logo {
  font-family: var(--serif);
  font-size: 31px;
  letter-spacing: -1px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.logo span {
  display: block;
  margin-top: 7px;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
}
nav {
  display: flex;
  gap: clamp(18px, 3.3vw, 46px);
}
nav a {
  text-decoration: none;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
nav a:hover,
nav a[aria-current] {
  border-color: currentColor;
  color: var(--wood);
}
.header-phone {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.icon-definitions {
  position: absolute;
  overflow: hidden;
}
.icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero {
  padding-block: clamp(18px, 3vw, 40px) clamp(40px, 5vw, 70px);
}
.hero-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 3.05;
  object-fit: cover;
  object-position: center 42%;
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding-top: clamp(26px, 4vw, 56px);
}
.eyebrow {
  color: var(--wood);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 0 0 17px;
}
.hero .eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 26px;
  margin-right: 12px;
  border-top: 1px solid currentColor;
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(49px, 6vw, 88px);
  margin-bottom: 0;
}
h1 em {
  display: block;
  color: var(--wood);
}
h2 {
  font-size: clamp(37px, 4.4vw, 64px);
  margin-bottom: 0;
}
.hero-description {
  max-width: 36ch;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid transparent;
  background: var(--forest);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: #3e5345;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-color: var(--wood);
}
.text-link:hover {
  color: var(--wood);
}
.work-photo {
  margin: 0;
}
.work-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.35;
  object-fit: cover;
  object-position: center 74%;
}
.work-photo figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}
.work-photo figcaption::before {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.section {
  padding-block: clamp(54px, 7.2vw, 104px);
}
.services-section {
  border-top: 1px solid var(--line);
}
.services-layout,
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(36px, 7vw, 100px);
}
.services-list {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.services-list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: baseline;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.services-list dt {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.15;
}
.services-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.projects-section {
  border-block: 1px solid var(--line);
  background: #e9dfcf;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 30px;
  margin-bottom: 34px;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px 22px;
}
.gallery figure {
  grid-column: span 3;
  margin: 0;
}
.gallery figure:first-child {
  grid-column: span 7;
}
.gallery figure:nth-child(2) {
  grid-column: span 5;
}
.project-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: #d8ccbb;
  cursor: zoom-in;
}
.project-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery figure:nth-child(-n + 2) img {
  height: clamp(280px, 35vw, 445px);
  object-position: center 62%;
}
.project-image:hover img {
  transform: scale(1.025);
}
.project-image > span {
  position: absolute;
  bottom: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--paper);
}
.gallery figcaption {
  padding-top: 9px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.25;
}
.about {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}
.about h2 {
  max-width: 16ch;
  margin-bottom: 18px;
}
.about-copy p:not(.eyebrow) {
  max-width: 48ch;
  color: var(--muted);
}
.about-copy p:last-child {
  margin-bottom: 0;
}
.contact-section {
  background: var(--forest);
  color: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "intro form" "details form";
  gap: 28px clamp(30px, 6vw, 84px);
}
.contact-intro {
  grid-area: intro;
}
.contact-section h2 {
  max-width: 12ch;
}
.contact-section h2 + p {
  max-width: 42ch;
  color: #e1dacd;
  margin: 20px 0 25px;
}
.button-light {
  background: var(--paper);
  color: var(--forest);
}
.button-light:hover {
  background: #e4d6c4;
}
.contact-details {
  grid-area: details;
  max-width: 400px;
  font-style: normal;
}
.contact-details > div {
  border-bottom: 1px solid #f4eee34d;
  padding: 14px 0;
}
.contact-details span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.09em;
  color: #e6bd9b;
  margin-bottom: 5px;
}
.contact-details a {
  display: inline-block;
  font-size: clamp(16px, 1.8vw, 21px);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-details a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#contact-form {
  grid-area: form;
  padding-left: clamp(22px, 4vw, 50px);
  border-left: 1px solid #f4eee34d;
}
#contact-form h3 {
  margin: 0 0 10px;
  font: 400 clamp(26px, 3.2vw, 38px) / 1.1 var(--serif);
}
#email-help,
.form-status {
  color: #e1dacd;
  font-size: 14px;
}
#contact-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
}
#contact-form label span {
  font-weight: 400;
}
#contact-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
#contact-form textarea {
  resize: vertical;
}
#contact-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-status {
  margin: 0;
}
.form-status:not(:empty) {
  margin-top: 12px;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 28px;
  padding-block: 26px 75px;
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.site-footer > .text-link {
  font-size: 13px;
}
.whatsapp-shortcut {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 11;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--paper);
  border-radius: 4px;
  background: #2c5d45;
  color: white;
}
.whatsapp-shortcut:hover {
  background: var(--forest);
}
.whatsapp-shortcut .icon {
  width: 25px;
  height: 25px;
}
.whatsapp-shortcut:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--forest);
}
body:has(dialog[open]) .whatsapp-shortcut {
  visibility: hidden;
}
.contact-section :focus-visible,
dialog button:focus-visible {
  outline-color: #f4c6a3;
}
body:has(dialog[open]) {
  overflow: hidden;
}
dialog {
  position: fixed;
  width: min(1100px, 95vw);
  height: min(900px, 95dvh);
  max-width: 95vw;
  max-height: 95dvh;
  padding: 14px;
  border: 0;
  background: #17241e;
  color: white;
  overflow: hidden;
}
dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px;
}
.modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-controls {
  display: flex;
  gap: 8px;
}
.modal-controls button {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #ffffff60;
  border-radius: 5px;
  background: transparent;
  color: white;
  cursor: pointer;
}
.modal-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.image-viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: zoom-in;
}
.image-viewport.is-zoomed {
  cursor: grab;
}
.image-viewport.is-zoomed:active {
  cursor: grabbing;
}
dialog::backdrop {
  background: #0b1713ed;
}
.image-viewport img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
}
dialog p {
  text-align: center;
  font-size: 13px;
  margin: 0;
}
dialog .zoom-help {
  font-size: 11px;
  color: #d2d8cc;
}
.modal-close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: white;
  font-size: 32px;
  cursor: pointer;
}
@media (max-width: 960px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .site-header {
    padding-inline: 28px;
  }
}
@media (max-width: 760px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about h2 {
    max-width: 18ch;
  }
  .gallery {
    gap: 24px 16px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 123px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    flex-wrap: wrap;
    gap: 9px;
    padding: 12px 18px 4px;
  }
  .logo {
    font-size: 27px;
  }
  .logo span {
    font-size: 9px;
  }
  nav {
    order: 2;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  nav a {
    font-size: 13px;
  }
  .header-phone {
    font-size: 13px;
  }
  .hero-banner {
    aspect-ratio: 2;
  }
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  h1 {
    font-size: clamp(43px, 10vw, 63px);
  }
  h1 em {
    display: inline;
    white-space: nowrap;
  }
  .hero .eyebrow {
    margin-bottom: 9px;
  }
  .services-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-block: 14px;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery figure:nth-child(n) {
    grid-column: auto;
  }
  .gallery figure:first-child {
    grid-column: 1 / -1;
  }
  .gallery figure:nth-child(-n + 2) img {
    height: auto;
  }
  .gallery figure:first-child img {
    aspect-ratio: 1.22;
  }
  .gallery figure:last-child {
    grid-column: 1 / -1;
  }
  .gallery figure:last-child img {
    aspect-ratio: 1.4;
    object-position: center 70%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "intro" "form" "details";
  }
  #contact-form {
    padding: 26px 0 0;
    border-top: 1px solid #f4eee34d;
    border-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
