:root {
  --brown: #6a4a3a;
  --caramel: #a86f45;
  --beige: #f5f1e8;
  --ink: #222222;
  --muted: #6e6e6e;
  --accent: #c9c03a;
  --white: #ffffff;
  --line: rgba(34, 34, 34, 0.12);
  --shadow: 0 18px 50px rgba(42, 31, 24, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 99;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(34, 34, 34, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 82px;
}

.brand img {
  width: 212px;
  height: auto;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(34, 34, 34, 0.82);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--brown);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(106, 74, 58, 0.22);
}

.btn-primary:hover {
  background: #5a3f32;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-light {
  background: var(--white);
  color: var(--brown);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0 72px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 18, 15, 0.78) 0%, rgba(24, 18, 15, 0.52) 42%, rgba(24, 18, 15, 0.1) 100%),
    linear-gradient(0deg, rgba(24, 18, 15, 0.45), rgba(24, 18, 15, 0.04) 52%);
}

.hero-content {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--caramel);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  width: min(760px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.nowrap {
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-text {
  width: min(650px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(780px, 100%);
  gap: 1px;
  margin: 54px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  padding: 18px;
  background: rgba(17, 14, 12, 0.24);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-weight: 760;
}

.section {
  padding: 92px 0;
}

.section-copy p,
.section-head p,
.trust p,
.cta-band p,
.contact-info p,
.quote-form p,
.site-footer p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 70px;
  align-items: center;
}

.section-copy > p {
  margin: 22px 0 0;
  font-size: 1.04rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list span,
.trust-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 720;
}

.image-stack {
  position: relative;
}

.feature-photo,
.gallery-item,
.why-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd2c4;
  box-shadow: var(--shadow);
}

.feature-photo {
  aspect-ratio: 4 / 5;
}

.feature-photo img,
.gallery-item img,
.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-photo img {
  object-position: center 44%;
}

.quote-panel {
  position: absolute;
  right: -22px;
  bottom: 28px;
  width: min(280px, 76%);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 720;
}

.quote-panel svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: 0 0 auto;
}

.services,
.process,
.contact-section {
  background: var(--beige);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  margin: 0;
  font-size: 1.04rem;
}

.section-head.compact {
  max-width: 620px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 228px;
  padding: 24px;
  border: 1px solid rgba(106, 74, 58, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: rgba(201, 192, 58, 0.18);
  color: var(--brown);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gallery-item {
  position: relative;
  min-height: 0;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  object-position: center;
}

.gallery-item:nth-child(2) img {
  object-position: center 55%;
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown);
  font-weight: 780;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 58px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid rgba(106, 74, 58, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 750;
}

.process-list span {
  color: var(--caramel);
  font-weight: 860;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.48fr) 1fr;
  gap: 58px;
  align-items: center;
}

.why-photo {
  aspect-ratio: 4 / 5;
}

.why-photo img {
  object-position: center top;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.check-grid span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 720;
}

.check-grid svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 2px;
}

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-layout {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 50px;
  align-items: center;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-band {
  background: var(--brown);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 44px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(106, 74, 58, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 720;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--brown);
  flex: 0 0 auto;
  margin-top: 2px;
}

.hours {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(106, 74, 58, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.hours p {
  margin: 4px 0 0;
}

.map {
  width: 100%;
  height: 260px;
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius);
  background: #ddd2c4;
}

.quote-form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(106, 74, 58, 0.12);
  box-shadow: var(--shadow);
}

.quote-form h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.quote-form p {
  margin: 10px 0 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 740;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(34, 34, 34, 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(106, 74, 58, 0.12);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0 !important;
  font-weight: 720;
}

.form-status.is-success {
  color: #2f6f42;
}

.form-status.is-error {
  color: #a33124;
}

.site-footer {
  background: #191512;
  color: rgba(255, 255, 255, 0.78);
  padding: 54px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 36px;
}

.site-footer img {
  max-width: 230px;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.88rem;
}

.privacy-page {
  padding-top: 128px;
}

.privacy-content {
  max-width: 860px;
  padding-bottom: 80px;
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
}

.projects-hero {
  padding: 154px 0 72px;
  background:
    linear-gradient(90deg, rgba(25, 21, 18, 0.82), rgba(25, 21, 18, 0.48)),
    url("../img/projets/project-10.jpg") center / cover;
  color: var(--white);
}

.projects-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: end;
}

.projects-hero h1 {
  max-width: 760px;
}

.projects-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.projects-hero-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.projects-hero-card span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.projects-hero-card strong {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 1.3rem;
}

.projects-hero-card p {
  margin-top: 8px;
  font-size: 0.95rem;
}

.projects-feature {
  padding: 72px 0;
  background: var(--beige);
}

.projects-feature-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) 1fr;
  gap: 54px;
  align-items: center;
}

.projects-feature figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #ddd2c4;
}

.projects-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-feature p {
  color: var(--muted);
}

.projects-page {
  background: var(--white);
}

.project-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.project-tile {
  position: relative;
  min-height: 230px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #ddd2c4;
  color: var(--white);
  cursor: zoom-in;
  padding: 0;
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.08);
}

.project-tile.wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.project-tile.tall {
  grid-row: span 2;
  aspect-ratio: 1 / 2;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.project-tile:hover img {
  transform: scale(1.035);
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(20, 15, 12, 0.72), rgba(20, 15, 12, 0));
  pointer-events: none;
}

.project-tile span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 780;
}

.projects-contact {
  padding: 72px 0;
  background: var(--brown);
  color: var(--white);
}

.projects-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.projects-contact p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(14, 11, 9, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-frame {
  width: min(1040px, 100%);
  max-height: calc(100vh - 72px);
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--white);
}

.lightbox-frame img {
  width: 100%;
  max-height: calc(100vh - 126px);
  object-fit: contain;
  border-radius: var(--radius);
  background: #111;
}

.lightbox-frame figcaption {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 720;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-nav.prev {
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
}

.lightbox-nav.next {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 190px auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .split,
  .process-layout,
  .why-layout,
  .trust-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item,
  .gallery-item.large {
    aspect-ratio: 16 / 10;
    grid-row: auto;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .projects-hero-inner,
  .projects-feature-grid {
    grid-template-columns: 1fr;
  }

  .projects-hero-card {
    max-width: 420px;
  }

  .project-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .projects-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 178px;
  }

  .nav {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 0 46px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(24, 18, 15, 0.82), rgba(24, 18, 15, 0.56)),
      linear-gradient(0deg, rgba(24, 18, 15, 0.36), rgba(24, 18, 15, 0));
  }

  h1 {
    font-size: clamp(2.42rem, 12vw, 3.75rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .section {
    padding: 64px 0;
  }

  .quote-panel {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .service-grid,
  .check-grid,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .gallery-item,
  .gallery-item.large {
    aspect-ratio: 4 / 3;
  }

  .projects-hero {
    padding: 124px 0 56px;
  }

  .projects-hero p {
    font-size: 1rem;
  }

  .projects-feature {
    padding: 58px 0;
  }

  .project-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .project-tile,
  .project-tile.tall,
  .project-tile.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .project-tile:nth-child(5n + 1) {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-frame {
    max-height: calc(100vh - 130px);
  }

  .lightbox-frame img {
    max-height: calc(100vh - 178px);
  }

  .quote-form {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
