:root {
  --paper: #f7f3ec;
  --ink: #1e2524;
  --muted: #60706d;
  --line: #ddd5c8;
  --white: #fffaf3;
  --green: #284b42;
  --green-2: #3c6b5e;
  --ochre: #c9822d;
  --clay: #b75f3d;
  --shadow: 0 22px 60px rgba(30, 37, 36, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: .6rem .9rem;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 236, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}
.brand strong,
.brand small { display: block; }
.brand small {
  color: var(--muted);
  font-size: .78rem;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #34413f;
  font-weight: 650;
}
.nav-links a:hover { color: var(--clay); }
.nav-cta {
  padding: .72rem 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 750;
}
.header-contact {
  display: grid;
  gap: 2px;
  font-size: .84rem;
  line-height: 1.25;
  color: var(--muted);
  text-align: right;
}
.header-contact a {
  white-space: nowrap;
}
.header-contact a:hover {
  color: var(--clay);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #2d3e38;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 31, 29, .88), rgba(23, 31, 29, .45) 48%, rgba(23, 31, 29, .22));
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10vh 0 8vh;
  color: white;
}
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--ochre);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.hero h1,
.thanks h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .92;
  max-width: 820px;
}
.hero-text {
  max-width: 660px;
  margin: 1.4rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.hero-actions,
.contact-links,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .78rem 1.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.button.primary {
  background: var(--ochre);
  color: #1f160c;
}
.button.secondary {
  border-color: rgba(255, 255, 255, .55);
  color: white;
}
.button.secondary-dark {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 44px 0 0;
  padding: 0;
}
.hero-facts div {
  min-width: 138px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}
.hero-facts dt {
  font-size: 1.35rem;
  font-weight: 850;
}
.hero-facts dd {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.section {
  padding: 78px 0;
}
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  max-width: 760px;
}
.page-hero {
  padding: 92px 0 64px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .95;
}
.page-hero p:last-child {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.service-detail-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.service-detail-grid img {
  width: 64px;
  height: 64px;
}
.service-detail-grid h2,
.project-card h2 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
  line-height: 1.15;
}
.service-detail-grid p {
  margin: 0;
  color: var(--muted);
}
.section-heading {
  margin-bottom: 32px;
}
.section-heading p:last-child {
  max-width: 620px;
  color: var(--muted);
}
.intro {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.intro-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 48px;
  align-items: start;
}
.intro-grid > p,
.about p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-card,
.project-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(30, 37, 36, .06);
}
.service-card {
  padding: 24px;
}
.service-card img {
  width: 58px;
  height: 58px;
}
.service-card h3,
.project-card h3 {
  margin: 18px 0 8px;
  line-height: 1.2;
}
.service-card p,
.project-card p {
  margin: 0;
  color: var(--muted);
}

.projects {
  background: #e8eee8;
}
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.project-card {
  overflow: hidden;
  animation: cardIn .45s ease both;
  animation-delay: var(--stagger, 0ms);
}
.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.project-before-after {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 230px;
  background: #121817;
}
.project-result-only,
.project-shot {
  position: relative;
  display: block;
  overflow: hidden;
}
.project-result-only img,
.project-shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.project-shot.before img {
  filter: saturate(.86) brightness(.94);
}
.project-shot.after {
  box-shadow: -10px 0 26px rgba(18, 24, 23, .26);
}
.project-shot span,
.project-result-only span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: .32rem .55rem;
  border-radius: 8px;
  background: rgba(255,250,243,.93);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.project-shot.after span,
.project-result-only span {
  background: var(--ochre);
  color: #1f160c;
}
.project-card div {
  padding: 20px;
}
.project-card-clickable {
  transition: transform .22s ease, box-shadow .22s ease;
}
.project-card-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(30, 37, 36, .13);
}
.project-open {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.project-card-body {
  display: grid;
  gap: 8px;
  padding: 20px;
}
.project-card-body strong {
  font-size: 1.25rem;
  line-height: 1.15;
}
.project-card-body span:last-child {
  color: var(--muted);
}
.project-meta {
  color: var(--ochre);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.project-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}
.project-toolbar h2 {
  margin: 0;
}
.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 24px;
}
.lightbox.is-open {
  display: grid;
  place-items: center;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 23, .78);
  backdrop-filter: blur(10px);
}
.lightbox-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: lightboxIn .2s ease both;
}
.lightbox-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  background: #121817;
}
.lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  opacity: .15;
  transform: scale(.99);
  transition: opacity .2s ease, transform .2s ease;
}
.lightbox-media img.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 8px;
  background: rgba(255,250,243,.92);
  color: var(--ink);
  cursor: pointer;
}
.lightbox-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}
.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 54px;
  transform: translateY(-50%);
  font-size: 2rem;
}
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-copy {
  padding: 30px;
  overflow: auto;
}
.lightbox-copy h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.05;
}
.lightbox-copy p {
  color: var(--muted);
}
.lightbox-step {
  margin: 0 0 12px;
  color: var(--ochre);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.lightbox-copy dl {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}
.lightbox-copy dt {
  color: var(--muted);
  font-size: .82rem;
}
.lightbox-copy dd {
  margin: 0;
  font-weight: 800;
}
.has-lightbox {
  overflow: hidden;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lightboxIn {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.about {
  background: var(--green);
  color: white;
}
.about .eyebrow { color: #f0b35f; }
.about p { color: rgba(255,255,255,.78); }
.about-hero-grid,
.story-grid,
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 42px;
  align-items: center;
}
.about-hero {
  padding-bottom: 78px;
}
.photo-placeholder {
  min-height: 280px;
  margin: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #b7aa98;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40,75,66,.08), rgba(201,130,45,.12)),
    var(--white);
  color: var(--ink);
}
.photo-placeholder-large {
  min-height: 420px;
}
.photo-placeholder span {
  color: var(--ochre);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.photo-placeholder strong {
  font-size: 1.35rem;
  line-height: 1.15;
}
.photo-placeholder small {
  color: var(--muted);
}
.about-story,
.team-section {
  background: var(--white);
}
.about-story p,
.team-section p,
.work-method p {
  color: var(--muted);
}
.trust-panel {
  padding: 24px;
  border-radius: 8px;
  background: var(--green);
  color: white;
}
.trust-panel h3 {
  margin: 0 0 18px;
  font-size: 1.55rem;
}
.trust-panel .check-list {
  padding: 0;
  border: 0;
  background: transparent;
}
.work-method {
  background: #edf0e7;
}
.method-grid {
  align-items: start;
}
.method-list {
  display: grid;
  gap: 14px;
}
.method-list article,
.team-cards article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.method-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 850;
}
.method-list h3,
.team-cards h3 {
  margin: 14px 0 8px;
  line-height: 1.15;
}
.team-photo-grid,
.team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.team-cards {
  margin-top: 18px;
}
.check-list {
  margin: 0;
  padding: 24px;
  list-style: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 0 0 16px;
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ochre);
}

.contact-links a {
  min-width: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.contact-links span,
.contact-links strong {
  display: block;
}
.contact-links span {
  color: var(--muted);
  font-size: .9rem;
}
.contact-form {
  padding: 24px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .85rem;
  font: inherit;
  background: white;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(201, 130, 45, .25);
  border-color: var(--ochre);
}
.contact-form button { width: 100%; }

.site-footer {
  padding: 32px 0;
  background: var(--ink);
  color: white;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-grid p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.68);
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,.86);
  text-align: right;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.thanks {
  width: min(720px, calc(100% - 32px));
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.thanks h1 {
  color: var(--ink);
  margin-top: 32px;
}
.thanks p {
  color: var(--muted);
}
.thanks-contact {
  margin: 24px 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    padding: 14px;
    border-radius: 8px;
  }
  .nav-links a:hover { background: #efe8dc; }
  .nav-cta { display: none; }
  .header-contact {
    margin-left: auto;
    text-align: right;
  }
  .intro-grid,
  .about-grid,
  .about-hero-grid,
  .story-grid,
  .method-grid,
  .contact-grid,
  .lightbox-panel {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .project-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-toolbar {
    display: grid;
    align-items: start;
  }
  .team-photo-grid,
  .team-cards {
    grid-template-columns: 1fr;
  }
  .lightbox-panel {
    max-height: calc(100vh - 32px);
  }
  .lightbox-media {
    min-height: 340px;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 24px, 1160px);
    min-height: 70px;
  }
  .brand small { display: none; }
  .header-contact {
    display: none;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .hero {
    min-height: calc(100vh - 70px);
  }
  .hero-content {
    width: min(100% - 24px, 1160px);
    padding: 9vh 0 7vh;
  }
  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }
  .button,
  .hero-actions .button {
    width: 100%;
  }
  .nav-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: inline-flex;
    width: auto;
    box-shadow: 0 14px 34px rgba(30, 37, 36, .24);
  }
  .hero-facts div {
    flex: 1 1 100%;
  }
  .section {
    padding: 56px 0;
  }
  .section-inner {
    width: min(100% - 24px, 1160px);
  }
  .service-grid,
  .project-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .project-before-after {
    grid-template-columns: 1fr 1fr;
    min-height: 190px;
  }
  .photo-placeholder,
  .photo-placeholder-large {
    min-height: 240px;
  }
  .footer-grid {
    display: grid;
  }
  .footer-grid a {
    text-align: left;
  }
  .thanks {
    padding: 28px;
  }
  .lightbox {
    padding: 12px;
  }
  .lightbox-media {
    min-height: 300px;
  }
  .lightbox-copy {
    padding: 22px;
  }
}
