:root {
  --forest: #1e3328;
  --forest-deep: #132018;
  --moss: #4e6a56;
  --leaf: #6d8a72;
  --timber: #9a6b45;
  --gold: #c4a574;
  --cream: #f7f3ec;
  --sand: #efe8dc;
  --paper: #fffdf8;
  --ink: #1c1916;
  --muted: #5c564e;
  --line: rgba(30, 51, 40, 0.12);
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(19, 32, 24, 0.16);
  --radius: 18px;
  --header: 84px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

ul {
  list-style: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--forest);
  color: var(--cream);
  padding: 8px 14px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(calc(100% - 40px), 1320px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--forest-deep);
}

h1,
.display {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--muted);
  max-width: 42rem;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  color: var(--cream);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.theme-light {
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(16px);
  color: var(--forest);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  z-index: 2;
}

.logo svg {
  width: 42px;
  height: 42px;
}

.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.92rem;
  opacity: 0.86;
  position: relative;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.phone-link {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--forest-deep);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease);
}

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

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.1);
}

.btn-dark {
  background: var(--forest);
  color: var(--cream);
}

.btn-dark:hover {
  background: #274233;
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.hero {
  min-height: 100svh;
  min-height: 100dvh;
  position: relative;
  display: grid;
  align-items: end;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 32, 24, 0.28) 0%, rgba(19, 32, 24, 0.18) 40%, rgba(19, 32, 24, 0.78) 100%),
    linear-gradient(90deg, rgba(19, 32, 24, 0.52), transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header) + 16px) 0 72px;
}

.hero-content .eyebrow {
  color: #f3d89a;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 2px rgba(19, 32, 24, 0.7), 0 8px 22px rgba(19, 32, 24, 0.5);
}

.hero-content .eyebrow::before {
  background: #f3d89a;
  height: 2px;
  width: 32px;
  box-shadow: 0 1px 8px rgba(19, 32, 24, 0.4);
}

.hero h1 {
  color: var(--cream);
  max-width: 14ch;
  margin: 18px 0 20px;
}

.hero p {
  max-width: 36rem;
  font-size: 1.12rem;
  color: rgba(247, 243, 236, 0.86);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 243, 236, 0.18);
  font-size: 0.92rem;
}

.hero-meta strong {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.scroll-hint {
  position: absolute;
  right: 36px;
  bottom: 36px;
  z-index: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  opacity: 0.7;
}

.section {
  padding: 108px 0;
}

.section-tight {
  padding: 72px 0;
}

.bg-sand {
  background: var(--sand);
}

.bg-forest {
  background: var(--forest-deep);
  color: var(--cream);
}

.bg-forest h2,
.bg-forest h3 {
  color: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow);
}

.frame-tall {
  min-height: 620px;
}

.kicker {
  margin-bottom: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head p {
  max-width: 28rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 32px;
}

.pillar-num {
  font-family: var(--serif);
  color: var(--timber);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.pillar p {
  margin-top: 10px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--cream);
  display: flex;
  align-items: end;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(19, 32, 24, 0.82));
}

.service-card div {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.service-card span {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.service-card h3 {
  color: var(--cream);
  margin: 8px 0 10px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(247, 243, 236, 0.14);
}

.process li::marker {
  content: none;
}

.process li {
  padding: 32px 32px 8px 0;
  border-right: 1px solid rgba(247, 243, 236, 0.14);
}

.process li:last-child {
  border-right: 0;
  padding-right: 0;
}

.process strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 12px 0 10px;
}

.process span {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.gallery button,
.gallery a {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery button:hover img,
.gallery a:hover img {
  transform: scale(1.06);
}

.gallery .wide {
  grid-column: 1 / 3;
}

.gallery .tall {
  grid-row: 1 / 3;
  grid-column: 3;
}

.caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--cream);
  font-size: 0.88rem;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: var(--forest);
  color: var(--cream);
  border-radius: 28px;
  overflow: hidden;
}

.cta-band > div:first-child {
  padding: 56px;
}

.cta-band h2 {
  color: var(--cream);
  margin: 10px 0 16px;
}

.cta-band img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.areas span {
  border: 1px solid rgba(247, 243, 236, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--cream);
  background: rgba(247, 243, 236, 0.08);
}

.site-footer {
  background: var(--forest-deep);
  color: rgba(247, 243, 236, 0.82);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.12);
}

.site-footer h3,
.site-footer .logo {
  color: var(--cream);
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.84rem;
  opacity: 0.75;
}

.page-hero {
  padding: calc(var(--header) + 72px) 0 64px;
  background:
    linear-gradient(180deg, rgba(19, 32, 24, 0.55), rgba(19, 32, 24, 0.35)),
    var(--forest) center / cover no-repeat;
  color: var(--cream);
}

.page-hero h1 {
  color: var(--cream);
  max-width: 16ch;
}

.page-hero p {
  margin-top: 16px;
  max-width: 38rem;
  color: rgba(247, 243, 236, 0.86);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.form .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  font-size: 16px;
}

input:focus,
textarea:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(78, 106, 86, 0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
}

.form-status.is-success {
  color: var(--moss);
}

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

.contact-aside {
  display: grid;
  gap: 18px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card a {
  color: var(--forest);
  font-weight: 500;
}

.whatsapp {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.whatsapp svg {
  width: 28px;
  height: 28px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(19, 32, 24, 0.88);
  display: grid;
  place-items: center;
  z-index: 80;
  opacity: 0;
  transition: opacity 0.22s ease;
  padding: 32px;
}

.lightbox.is-open {
  opacity: 1;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  border-radius: 12px;
}

.lightbox p {
  color: var(--cream);
  margin-top: 12px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: 0;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

.prose {
  max-width: 44rem;
}

.prose p + p,
.prose p + h2,
.prose ul + p {
  margin-top: 1rem;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step span {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}

.filter-bar button.is-active {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

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

.work-grid button {
  height: 300px;
  border: 0;
  padding: 0;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: transform 0.7s var(--ease);
}

.work-grid button:hover img {
  transform: scale(1.05);
}

@media (max-width: 980px) {
  .split,
  .service-grid,
  .process,
  .cta-band,
  .footer-grid,
  .pillars,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 32px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .gallery .wide,
  .gallery .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery button,
  .gallery a {
    min-height: 220px;
    height: 220px;
  }

  .process li {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 243, 236, 0.14);
    padding: 24px 0;
  }

  .process li:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 3;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--forest-deep);
    color: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 1;
    padding: 96px 24px 40px;
  }

  .nav a {
    font-size: 1.55rem;
    padding: 12px 16px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .nav a[aria-current="page"]::after {
    display: none;
  }

  .nav.is-open {
    transform: none;
  }

  .phone-link {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .scroll-hint {
    display: none;
  }

  .cta-band {
    gap: 0;
    border-radius: 22px;
  }

  .cta-band > div:first-child {
    padding: 32px 24px;
  }

  .cta-band img {
    width: 100%;
    height: 220px;
    min-height: 0;
  }

  .form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .page-hero {
    padding: calc(var(--header) + 48px) 0 48px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-wide {
    width: min(calc(100% - 40px), var(--max));
  }

  .site-header {
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
    gap: 12px;
  }

  .logo {
    font-size: 1.12rem;
    gap: 8px;
    min-width: 0;
  }

  .logo img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .logo small {
    letter-spacing: 0.1em;
    font-size: 0.52rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
  }

  h1,
  .display {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

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

  .hero-content .eyebrow {
    margin-top: 48px;
  }

  .hero h1 {
    margin-top: 8px;
  }

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

  .hero-actions {
    width: 100%;
  }

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

  .hero-meta {
    display: grid;
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery button,
  .gallery a,
  .work-grid button {
    min-height: 240px;
    height: 240px;
  }

  .frame,
  .frame-tall,
  .service-card {
    min-height: 280px;
  }

  .frame-tall {
    min-height: 320px;
  }

  .pillar {
    padding: 22px 20px 24px;
  }

  .step {
    grid-template-columns: 52px 1fr;
    gap: 12px;
  }

  .form {
    padding: 18px;
    border-radius: 18px;
  }

  .form .btn {
    width: 100%;
  }

  .cta-band > div:first-child {
    padding: 28px 20px 24px;
  }

  .cta-band img {
    height: 180px;
  }

  .areas span {
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .site-footer {
    padding: 56px 0 calc(28px + 72px + env(safe-area-inset-bottom));
  }

  .lightbox {
    padding: 72px 16px 24px;
    align-content: center;
  }

  .lightbox img {
    max-height: 70vh;
  }

  .whatsapp {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .service-card img,
  .gallery img {
    transition: none;
  }
}
