@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlowcondensed.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/publicsans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --paper-dark: #e8e1d4;
  --ink: #202a28;
  --muted: #5f6964;
  --green: #3d6258;
  --green-dark: #243d37;
  --mint: #c9d7cc;
  --clay: #a84b32;
  --line: rgba(32, 42, 40, .24);
  --display: "Barlow Condensed", Impact, sans-serif;
  --text: "Public Sans", Arial, sans-serif;
  font-family: var(--text);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-160%); background: white; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  min-height: 88px;
  padding: 0 clamp(20px, 5.3vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: 240px; }
.brand__mark { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: white; font: 400 23px/1 var(--display); letter-spacing: -.04em; }
.brand__name { font: 500 14px/1.15 var(--text); letter-spacing: .015em; }
.brand__name span { color: var(--clay); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 50px); font-size: 13px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { text-decoration: none; text-underline-offset: 5px; }
.main-nav > a:not(.nav-cta):hover { text-decoration: underline; }
.nav-cta { display: inline-flex; flex-direction: column; gap: 1px; padding: 10px 17px; border: 1px solid var(--ink); text-align: center; text-decoration: none; transition: background .18s ease, color .18s ease; }
.nav-cta span { font: 400 17px/1.1 var(--display); letter-spacing: .04em; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(380px, 1.11fr);
  min-height: min(735px, calc(100vh - 88px));
  padding: 54px clamp(20px, 5.3vw, 80px) 88px;
  column-gap: clamp(36px, 7.4vw, 112px);
  align-items: center;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; left: 0; top: 42px; bottom: 48px; width: 8px; background: var(--clay); }
.hero__copy { z-index: 1; max-width: 560px; padding: 16px 0 26px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 21px; font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--green); }
.eyebrow__line { display: inline-block; width: 31px; height: 1px; background: currentColor; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; text-transform: uppercase; }
h1 { max-width: 650px; font-size: clamp(62px, 7.7vw, 112px); line-height: .84; }
h1 > span { color: var(--clay); }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero__intro { max-width: 430px; margin: 29px 0 25px; color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.65; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 0 18px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button > span { font-size: 19px; line-height: 1; }
.button--dark { background: var(--green-dark); color: #fff; }
.button--dark:hover { background: var(--clay); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--green-dark); font-size: 13px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link span { color: var(--clay); font-size: 17px; text-decoration: none; }
.hero__note { display: flex; gap: 14px; align-items: center; margin-top: 43px; padding-top: 19px; border-top: 1px solid var(--line); max-width: 435px; }
.hero__note-mark { flex: 0 0 auto; color: var(--clay); font: 400 32px/.9 var(--display); }
.hero__note p { margin: 0; font-size: 12px; line-height: 1.55; }
.hero__note p span { color: var(--muted); }
.hero__image { position: relative; align-self: stretch; min-height: 480px; margin: 0; background: var(--paper-dark); }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 66%, rgba(18, 30, 27, .55)); pointer-events: none; }
.hero__image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 58%; }
.hero__image figcaption { z-index: 1; position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: white; font-size: 11px; letter-spacing: .04em; }
.hero__image figcaption span:first-child { font-weight: 700; font-size: 13px; }
.hero__image-index { position: absolute; z-index: 1; top: 22px; right: 22px; padding: 8px 10px; background: var(--paper); color: var(--ink); font-size: 10px; letter-spacing: .12em; }
.hero__scroll { position: absolute; left: clamp(20px, 5.3vw, 80px); bottom: 24px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.hero__scroll span { color: var(--clay); font-size: 17px; }

.section-shell { padding-left: clamp(20px, 9.5vw, 144px); padding-right: clamp(20px, 9.5vw, 144px); }
.services { padding-top: 116px; padding-bottom: 108px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(190px, 280px); column-gap: 50px; align-items: end; margin-bottom: 58px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 19px; }
h2 { font-size: clamp(50px, 6.2vw, 84px); line-height: .88; }
.section-heading h2 { max-width: 650px; }
.section-heading__aside { margin: 0 0 2px; max-width: 255px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 58px minmax(180px, .8fr) minmax(250px, 1.3fr) 40px; gap: clamp(18px, 4vw, 60px); align-items: start; padding: 26px 0 29px; border-bottom: 1px solid var(--line); }
.service-row__number { padding-top: 9px; color: var(--clay); font: 400 18px/1 var(--display); }
.service-row h3 { font: 400 clamp(29px, 3vw, 39px)/.92 var(--display); letter-spacing: -.015em; text-transform: uppercase; }
.service-row__body p { max-width: 535px; margin: 0; font-size: 14px; line-height: 1.65; }
.service-row__body .service-row__detail { margin-top: 9px; color: var(--muted); font-size: 12px; }
.service-row__arrow { justify-self: end; padding-top: 5px; color: var(--green); font-size: 20px; }
.services__tail { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }

.gallery { padding: 100px clamp(20px, 5.3vw, 80px) 32px; background: var(--green-dark); color: #f6f2e8; }
.gallery__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 0 clamp(0px, 4.2vw, 64px) 43px; }
.eyebrow--light { color: var(--mint); }
.gallery h2 { font-size: clamp(58px, 7vw, 96px); }
.gallery h2 em { color: #d9a28d; }
.gallery__heading > p { max-width: 280px; margin: 0 0 3px; color: #d1dad3; font-size: 13px; line-height: 1.7; }
.gallery-grid { display: grid; grid-template-columns: .86fr 1.14fr 1fr; grid-template-rows: minmax(250px, 25vw) minmax(235px, 22vw); gap: 12px; }
.gallery-item { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #52685e; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(16, 31, 27, .76)); pointer-events: none; }
.gallery-item figcaption { position: absolute; z-index: 1; right: 17px; bottom: 14px; left: 17px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; color: white; font-size: 11px; font-weight: 600; }
.gallery-item figcaption span:last-child { color: #d2ddd5; font: 400 16px/1 var(--display); }
.gallery-item--interior { grid-column: 1; grid-row: 1 / 3; }
.gallery-item--interior img { object-position: center; }
.gallery-item--kitchen { grid-column: 2; grid-row: 1; }
.gallery-item--roof { grid-column: 3; grid-row: 1; }
.gallery-item--simulation { grid-column: 2 / 4; grid-row: 2; }
.gallery-item--simulation img { object-position: center 47%; }
.gallery__credit { margin: 17px clamp(0px, 4.2vw, 64px) 0; color: #c1cec5; font-size: 10px; }

.simulation { display: grid; grid-template-columns: minmax(70px, .5fr) 1.8fr auto; align-items: center; gap: 44px; padding-top: 92px; padding-bottom: 92px; background: var(--mint); }
.simulation__number { align-self: start; color: var(--green-dark); font: 400 56px/.75 var(--display); letter-spacing: -.05em; }
.simulation__number span { display: inline-block; padding-top: 19px; color: var(--clay); font-size: 18px; }
.simulation__copy { max-width: 620px; }
.simulation__copy .eyebrow { margin-bottom: 16px; }
.simulation h2 { font-size: clamp(48px, 5.6vw, 74px); }
.simulation__copy > p:last-child { max-width: 460px; margin: 17px 0 0; color: #495d55; font-size: 14px; }
.button--outline { border: 1px solid var(--green-dark); color: var(--green-dark); }
.button--outline:hover { background: var(--green-dark); color: white; }

.contact { position: relative; display: grid; grid-template-columns: 1.05fr .8fr; gap: clamp(50px, 12vw, 180px); padding: 91px clamp(20px, 9.5vw, 144px) 94px; background: var(--clay); color: white; }
.contact__main { max-width: 600px; }
.contact .eyebrow { color: #fae6da; }
.contact h2 { font-size: clamp(60px, 7.4vw, 102px); }
.contact h2 em { color: var(--paper); }
.contact__main > p:not(.eyebrow) { max-width: 420px; margin: 21px 0 24px; color: #f9e9e2; font-size: 14px; }
.button--cream { background: var(--paper); color: var(--ink); }
.button--cream:hover { background: var(--green-dark); color: white; }
.contact__details { align-self: center; border-top: 1px solid rgba(255,255,255,.44); }
.contact-detail { display: grid; grid-template-columns: minmax(112px, .8fr) minmax(170px, 1.2fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.44); font-size: 13px; }
.contact-detail__label { color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-detail a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-detail a:hover { color: #392d28; }
.contact__back { position: absolute; right: clamp(20px, 4vw, 60px); bottom: 24px; color: white; font-size: 21px; text-decoration: none; }
.site-footer { min-height: 93px; padding: 18px clamp(20px, 5.3vw, 80px); display: flex; gap: 25px; align-items: center; justify-content: space-between; background: var(--paper); }
.brand--footer { min-width: 0; }
.brand--footer .brand__mark { width: 36px; height: 36px; font-size: 20px; }
.brand--footer .brand__name { font-size: 12px; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer__top { font-size: 11px; text-underline-offset: 4px; }
.legal-note { padding: 0 clamp(20px, 5.3vw, 80px) 21px; background: var(--paper); color: var(--muted); font-size: 10px; }
.legal-note summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.legal-note p { margin: 9px 0 0; line-height: 1.7; }

@media (min-width: 1600px) {
  .hero { padding-right: max(80px, calc((100vw - 1440px) / 2)); padding-left: max(80px, calc((100vw - 1440px) / 2)); }
}

@media (max-width: 1000px) {
  .site-header { gap: 16px; }
  .main-nav { gap: 19px; }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(300px, 1fr); column-gap: 34px; }
  .hero__image { min-height: 450px; }
  .service-row { grid-template-columns: 40px minmax(155px, .8fr) minmax(230px, 1.4fr) 26px; gap: 18px; }
  .simulation { grid-template-columns: 55px 1fr auto; gap: 28px; }
  .contact { gap: 50px; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .site-header { min-height: 72px; padding-inline: 20px; }
  .brand { min-width: 0; gap: 10px; }
  .brand__mark { width: 39px; height: 39px; }
  .brand__name { font-size: 12px; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 10px; border: 0; background: transparent; color: var(--ink); font: 700 11px/1 var(--text); cursor: pointer; }
  .menu-toggle__icon { display: grid; gap: 5px; width: 19px; }
  .menu-toggle__icon i { display: block; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 9px 20px 21px; align-items: stretch; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(32,42,40,.07); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { align-self: flex-start; margin-top: 13px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: unset; padding: 43px 20px 68px; }
  .hero::before { top: 36px; bottom: 58px; width: 4px; }
  .hero__copy { padding: 9px 0 29px 8px; }
  .eyebrow { gap: 8px; font-size: 9px; letter-spacing: .11em; }
  .eyebrow__line { width: 24px; }
  h1 { max-width: none; font-size: clamp(59px, 13.5vw, 88px); line-height: .85; }
  .hero__intro { margin: 22px 0 20px; font-size: 14px; }
  .hero__actions { gap: 15px 20px; }
  .button { min-height: 48px; padding-inline: 15px; gap: 19px; font-size: 12px; }
  .hero__note { margin-top: 27px; padding-top: 15px; }
  .hero__note-mark { font-size: 29px; }
  .hero__note p { font-size: 11px; }
  .hero__image { min-height: 0; height: min(112vw, 470px); margin-left: 8px; }
  .hero__image figcaption { left: 14px; right: 14px; bottom: 14px; font-size: 9px; }
  .hero__image figcaption span:first-child { font-size: 11px; }
  .hero__image-index { top: 13px; right: 13px; padding: 7px 8px; font-size: 9px; }
  .hero__scroll { left: 20px; bottom: 22px; font-size: 9px; }
  .section-shell { padding-inline: 20px; }
  .services { padding-top: 76px; padding-bottom: 74px; }
  .section-heading { grid-template-columns: 1fr; gap: 17px; margin-bottom: 34px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  h2 { font-size: clamp(48px, 11vw, 70px); }
  .section-heading__aside { max-width: 300px; font-size: 12px; }
  .service-row { grid-template-columns: 31px 1fr 25px; gap: 10px 15px; padding: 21px 0 23px; }
  .service-row__number { grid-column: 1; grid-row: 1; padding-top: 5px; font-size: 15px; }
  .service-row h3 { grid-column: 2; grid-row: 1; font-size: 32px; }
  .service-row__body { grid-column: 2 / 4; grid-row: 2; }
  .service-row__body p { font-size: 13px; }
  .service-row__body .service-row__detail { font-size: 11px; }
  .service-row__arrow { grid-column: 3; grid-row: 1; font-size: 17px; }
  .services__tail { padding-top: 18px; font-size: 9px; }
  .gallery { padding: 72px 20px 25px; }
  .gallery__heading { display: block; padding: 0 0 27px; }
  .gallery__heading > p { margin-top: 17px; font-size: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px 220px; gap: 8px; }
  .gallery-item--interior { grid-column: 1 / 3; grid-row: 1; }
  .gallery-item--kitchen { grid-column: 1; grid-row: 2; }
  .gallery-item--roof { grid-column: 2; grid-row: 2; }
  .gallery-item--simulation { grid-column: 1 / 3; grid-row: 3; }
  .gallery-item figcaption { left: 11px; right: 11px; bottom: 10px; font-size: 9px; }
  .gallery-item figcaption span:last-child { font-size: 13px; }
  .gallery__credit { margin: 13px 0 0; font-size: 9px; }
  .simulation { grid-template-columns: 38px 1fr; gap: 10px 17px; padding-top: 58px; padding-bottom: 60px; }
  .simulation__number { font-size: 39px; }
  .simulation__number span { padding-top: 13px; font-size: 14px; }
  .simulation__copy .eyebrow { margin-bottom: 12px; }
  .simulation h2 { font-size: clamp(44px, 9.5vw, 61px); }
  .simulation__copy > p:last-child { margin-top: 12px; font-size: 12px; }
  .simulation > .button { grid-column: 2; justify-self: start; margin-top: 9px; }
  .contact { grid-template-columns: 1fr; gap: 38px; padding: 66px 20px 74px; }
  .contact h2 { font-size: clamp(58px, 12vw, 82px); }
  .contact__main > p:not(.eyebrow) { margin: 18px 0 19px; font-size: 13px; }
  .contact-detail { grid-template-columns: minmax(106px, .75fr) minmax(150px, 1.25fr); gap: 10px; padding: 14px 0; font-size: 12px; }
  .contact-detail__label { font-size: 9px; }
  .contact__back { right: 19px; bottom: 19px; }
  .site-footer { min-height: 0; padding: 19px 20px; display: grid; grid-template-columns: 1fr auto; gap: 9px; }
  .site-footer > p { grid-column: 1; grid-row: 2; font-size: 9px; }
  .site-footer__top { grid-column: 2; grid-row: 1 / 3; font-size: 10px; }
  .legal-note { padding: 0 20px 19px; font-size: 9px; }
}

@media (max-width: 360px) {
  .hero { padding-inline: 16px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero__image { margin-left: 8px; height: 112vw; }
  .gallery-grid { grid-template-rows: 225px 170px 195px; }
  .contact-detail { grid-template-columns: 1fr; gap: 3px; }
  .section-shell { padding-inline: 16px; }
}

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