@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/sora-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --surface: #f4f7ee;
  --surface-strong: #ffffff;
  --surface-warm: #ebe5d8;
  --ink: #13241a;
  --muted: #627065;
  --line: #d7dfd1;
  --green: #275f39;
  --green-dark: #15351f;
  --lime: #b6cd43;
  --plaster: #f7f2e5;
  --brick: #a54f31;
  --shadow: 0 26px 90px rgba(19, 36, 26, 0.14);
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  --content: 1180px;
  --header-height: 76px;
  --font-body: "Manrope", "Aptos", "Segoe UI", sans-serif;
  --font-display: "Sora", "Manrope", sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-shift: 0;
  --scroll-progress: 0;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

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

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: calc(var(--scroll-progress) * 100%);
  height: 3px;
  background: var(--lime);
  pointer-events: none;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:not(.page-ready) .hero__content {
  opacity: 0;
  transform: translateY(18px);
}

body.page-ready .hero__content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms var(--ease-soft), transform 720ms var(--ease-soft);
}

body:not(.page-ready) .hero__image {
  transform: scale(1.08);
  filter: saturate(0.86) contrast(1.04);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-lg);
  padding: 0 var(--space-lg);
  background: rgba(244, 247, 238, 0.94);
  border-bottom: 1px solid rgba(215, 223, 209, 0.92);
  backdrop-filter: blur(16px);
  transition: height 240ms var(--ease-out), background 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.site-header.is-scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 42px rgba(19, 36, 26, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.brand img {
  width: 236px;
  height: auto;
  transition: width 240ms var(--ease-out);
}

.site-header.is-scrolled .brand img {
  width: 212px;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  padding: 0.65rem 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--lime);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  contain: paint;
  display: grid;
  align-items: end;
  padding: var(--space-xxl) var(--space-lg);
  background: var(--green-dark);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, calc(var(--hero-shift) * 1px), 0) scale(1.04);
  filter: saturate(0.96) contrast(1.05);
  transition: transform 900ms var(--ease-soft), filter 900ms var(--ease-soft);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(12, 25, 17, 0.9) 0%, rgba(12, 25, 17, 0.68) 42%, rgba(12, 25, 17, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 25, 17, 0.74) 0%, rgba(12, 25, 17, 0) 56%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 var(--space-sm);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: var(--space-md);
  font-size: clamp(3.2rem, 7vw, 5.9rem);
}

h2 {
  max-width: 16ch;
  margin-bottom: var(--space-md);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero__lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  font-weight: 500;
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(19, 36, 26, 0.16);
}

.button--primary {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--green-dark);
}

.button--ghost {
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 160px;
  padding: var(--space-lg);
  background: var(--surface-strong);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.intro-band span {
  color: var(--muted);
}

.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-lg);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, clamp(17rem, 24vw, 21rem)) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.section__intro {
  max-width: 720px;
  min-width: 0;
}

.section--split .section__intro {
  width: 100%;
  max-width: none;
  padding-top: var(--space-md);
  border-top: 2px solid var(--lime);
  contain: layout paint;
}

.section--split > :not(.section__intro) {
  min-width: 0;
}

.section--split .section__intro h2 {
  font-size: clamp(1.75rem, 2.55vw, 2.55rem);
  max-width: min(100%, 12ch);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.section__intro p:not(.eyebrow) {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  min-height: 210px;
  padding: var(--space-lg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.service span,
.process-step span {
  display: inline-flex;
  margin-bottom: var(--space-md);
  color: var(--brick);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
}

.service p,
.process-step p {
  color: var(--muted);
}

.section--dark {
  max-width: none;
  background: var(--green-dark);
  color: #ffffff;
}

.section--dark > * {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section__intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-group {
  margin-top: var(--space-xl);
}

.gallery-group h3 {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.92);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.gallery-item {
  position: relative;
  display: block;
  min-height: 270px;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: #ffffff;
  background: var(--green);
  cursor: zoom-in;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 520ms var(--ease-out), filter 520ms var(--ease-out);
}

.gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-md);
  background: linear-gradient(0deg, rgba(7, 19, 12, 0.9), rgba(7, 19, 12, 0));
  font-weight: 800;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.process {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.process-step {
  padding: var(--space-lg);
  background: var(--surface-strong);
}

.section--brand {
  max-width: none;
  background: var(--surface-warm);
}

.brand-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: var(--space-xl);
  max-width: var(--content);
  margin: 0 auto;
}

.brand-panel p {
  color: var(--muted);
}

.brand-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-content: start;
  background: rgba(19, 36, 26, 0.12);
}

.brand-assets img {
  width: 100%;
  min-height: 150px;
  object-fit: contain;
  padding: var(--space-md);
  background: #eef4d0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1px;
  max-width: none;
  padding: 0;
  background: var(--line);
}

.contact__main,
.contact__details {
  padding: var(--space-xxl) var(--space-lg);
  background: var(--surface-strong);
}

.contact__main {
  display: grid;
  justify-content: end;
}

.contact__main > * {
  width: min(100%, 760px);
}

.contact__details {
  display: grid;
  align-content: center;
}

address {
  margin: 0 0 var(--space-lg);
  color: var(--muted);
  font-style: normal;
}

.contact__details dl {
  margin: 0;
}

.contact__details div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.contact__details dt {
  font-weight: 800;
}

.contact__details dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--green-dark);
  color: #ffffff;
}

.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: var(--space-lg);
  background: rgba(7, 19, 12, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1080px, 100%);
  margin: 0;
  color: #ffffff;
}

.lightbox img {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
  background: var(--green-dark);
}

.lightbox figcaption {
  padding-top: var(--space-sm);
  font-weight: 800;
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms var(--ease-soft), transform 700ms var(--ease-soft);
  transition-delay: calc(var(--reveal-delay, 0) * 70ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  html::before {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .section--split,
  .brand-panel {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .section--split .section__intro {
    max-width: 720px;
    contain: none;
  }

  .section--split .section__intro h2 {
    max-width: min(100%, 18ch);
  }

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 0.35rem;
    align-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface-strong);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    justify-self: stretch;
    display: grid;
    gap: 0;
    width: 100%;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    background: var(--surface-strong);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 280ms var(--ease-soft);
  }

  .site-header.is-scrolled .site-nav {
    inset: 66px 0 auto 0;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.9rem 0;
  }

  .intro-band,
  .service-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact__main {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 var(--space-md);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 190px;
  }

  .site-header.is-scrolled .brand img {
    width: 172px;
  }

  .hero {
    min-height: 700px;
    padding: var(--space-xl) var(--space-md);
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(12, 25, 17, 0.86) 0%, rgba(12, 25, 17, 0.28) 100%),
      linear-gradient(90deg, rgba(12, 25, 17, 0.8), rgba(12, 25, 17, 0.22));
  }

  h1 {
    max-width: 10ch;
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .section,
  .contact__main,
  .contact__details {
    padding: var(--space-xl) var(--space-md);
  }

  .intro-band div,
  .service,
  .process-step {
    min-height: auto;
    padding: var(--space-md);
  }

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

  .gallery-item,
  .gallery-item img {
    min-height: 260px;
  }

  .brand-assets {
    grid-template-columns: 1fr;
  }

  .contact__details div {
    display: grid;
    gap: 0.15rem;
  }

  .contact__details dd {
    text-align: left;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
