/* ============================================================
   MORCRAFT — Design System
   Brand: deep green #083331 / accent lime #7FC343 / white
   Type: Archivo (display + UI) / Barlow (body)
   ============================================================ */

:root {
  --green-900: #083331;        /* primary deep green */
  --green-700: #0E4A47;        /* slightly lifted */
  --green-50:  #EAF1F0;        /* very subtle green tint */
  --lime:      #7FC343;        /* accent — buttons only */
  --lime-600:  #6FB137;        /* accent hover */
  --white:     #FFFFFF;
  --ink:       #0E1816;        /* near-black for body copy */
  --stone-50:  #F7F6F2;        /* warm white section */
  --stone-100: #EDEAE2;        /* warm divider */
  --stone-300: #C8C5BD;        /* mid */
  --stone-500: #8A877F;        /* muted text */

  --container: 1440px;
  --gutter: 80px;
  --gutter-sm: 32px;

  --radius: 4px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22,.61,.36,1);

  /* tweak-controlled */
  --logo-scale: 1;
  --hero-darken: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--white); color: var(--ink); }
body { overflow-x: hidden; }
body {
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ------- Type scale ------- */

.display, .h1, .h2, .h3, .h4, .eyebrow, .nav-link, .btn {
  font-family: 'Archivo', system-ui, sans-serif;
}

.display {
  font-weight: 800;
  font-stretch: 125%;          /* Archivo Expanded */
  font-size: clamp(56px, 7vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.h1 {
  font-weight: 700;
  font-stretch: 125%;
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.h2 {
  font-weight: 700;
  font-stretch: 125%;
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.h3 {
  font-weight: 600;
  font-stretch: 110%;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.h4 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eyebrow {
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.3em;        /* "Archivo Medium tracking 300" */
  text-transform: uppercase;
  color: var(--green-900);
}

.lead {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
}

p { color: var(--ink); }
p + p { margin-top: 1em; }

/* ------- Layout ------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 900px) {
  .wrap { padding-inline: var(--gutter-sm); }
  :root { --gutter: 32px; }
}

section { padding-block: clamp(72px, 9vw, 140px); }

/* ------- Buttons ------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arrow {
  width: 18px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'><path d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'><path d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/></svg>") center/contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--lime);
  color: var(--green-900);
}
.btn-primary:hover { background: var(--lime-600); }

.btn-dark {
  background: var(--green-900);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-700); }

.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border: 1.5px solid var(--green-900);
}
.btn-ghost:hover { background: var(--green-900); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: var(--white); color: var(--green-900); border-color: var(--white); }

/* ===========================================================
   1. LOADING SCREEN
   =========================================================== */

.loader {
  position: fixed;
  inset: 0;
  background: var(--green-900);
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.loader__logo {
  width: calc(260px * var(--logo-scale));
  height: auto;
  opacity: 0;
  transform: translateY(8px);
  animation: loaderFadeIn 0.8s 0.1s var(--ease) forwards;
}
.loader__bar {
  width: 220px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.loader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform-origin: left center;
  animation: loaderProgress 1.6s 0.2s var(--ease) forwards;
}
.loader__label {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  animation: loaderFadeIn 0.6s 0.4s var(--ease) forwards;
}
@keyframes loaderFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ===========================================================
   2. HEADER / NAV
   =========================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  padding-block: 14px;
  box-shadow: 0 1px 0 var(--stone-100);
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo img {
  height: calc(40px * var(--logo-scale));
  width: auto;
  max-width: none;
  transition: opacity 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header__logo .logo-light { display: block; }
.site-header__logo .logo-dark { display: none; }
.site-header.is-scrolled .logo-light { display: none; }
.site-header.is-scrolled .logo-dark { display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color 0.2s var(--ease);
}
.site-header.is-scrolled .nav-link { color: var(--green-900); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.has-sub { padding-right: 30px; }
.nav-link.has-sub::before {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px; height: 5px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'><path d='M0 0l4 5 4-5' fill='black'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'><path d='M0 0l4 5 4-5' fill='black'/></svg>") center/contain no-repeat;
  transform: translateY(-50%);
}

.nav__item { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--stone-100);
  padding: 8px;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 18px 40px -12px rgba(8,51,49,0.18);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  list-style: none;
}
.nav__item:hover .nav__sub {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__sub a {
  display: block;
  padding: 10px 14px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-900);
  border-radius: 4px;
  transition: background 0.2s var(--ease);
}
.nav__sub a:hover { background: var(--stone-50); }

.nav__cta {
  margin-left: 14px;
}
.site-header .btn-primary {
  padding: 12px 22px;
  font-size: 12px;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled .nav-toggle span { background: var(--green-900); }
body.nav-open .nav-toggle span { background: var(--white); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav panel */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--green-900);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 104px var(--gutter-sm) 48px;
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
    overflow-y: auto;
    z-index: 95;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: translateX(0); }

  /* Keep header clean over the open panel */
  body.nav-open .site-header { background: transparent; box-shadow: none; }
  body.nav-open .site-header .logo-light { display: block; }
  body.nav-open .site-header .logo-dark { display: none; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav__item {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .nav-link {
    display: block;
    width: 100%;
    color: var(--white);
    padding: 20px 0;
    font-size: 18px;
    letter-spacing: 0.12em;
  }
  .site-header.is-scrolled .nav-link { color: var(--white); }
  .nav-link::after { content: none; }
  .nav-link.has-sub { padding-right: 30px; }
  .nav-link.has-sub::before {
    right: 6px;
    width: 12px; height: 8px;
    transition: transform 0.3s var(--ease);
  }
  .nav__item.is-open .nav-link.has-sub::before { transform: translateY(-50%) rotate(180deg); }

  .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav__item.is-open .nav__sub { max-height: 360px; padding-bottom: 10px; }
  .nav__sub a {
    color: rgba(255,255,255,0.72);
    padding: 12px 0 12px 18px;
    font-size: 13px;
  }
  .nav__sub a:hover { background: transparent; color: var(--lime); }

  .nav__cta { margin-left: 0; margin-top: 32px; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ===========================================================
   3. HERO
   =========================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  padding: 0;
  color: var(--white);
}
.hero__media {
  position: absolute; inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8,51,49,0.45) 0%,
      rgba(8,51,49,0) 28%,
      rgba(8,51,49,0) 38%,
      rgba(8,51,49,0.55) 62%,
      rgba(8,51,49,0.88) 88%,
      rgba(8,51,49,0.95) 100%);
}
.hero__media::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,51,49,1);
  opacity: var(--hero-darken, 0);
  z-index: 1;
  pointer-events: none;
}
/* Film grain over the hero image */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 80px;
  max-width: var(--container);
  margin-inline: auto;
}
.hero__eyebrow {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.hero__title {
  color: var(--white);
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.18);
}
.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 56px;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__sub {
  max-width: 42ch;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.55;
}
.hero__actions {
  display: flex; gap: 14px; flex-shrink: 0;
}

.hero__meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll::before {
  content: '';
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.5);
}

/* Hero — mobile: let more of the image show through */
@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .hero__media img { object-position: center; }
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(8,51,49,0.30) 0%,
      rgba(8,51,49,0) 18%,
      rgba(8,51,49,0) 34%,
      rgba(8,51,49,0.42) 60%,
      rgba(8,51,49,0.80) 82%,
      rgba(8,51,49,0.94) 100%);
  }
  .hero__inner { padding-bottom: 72px; }
  .hero__title { font-size: clamp(34px, 11vw, 52px); }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__row { margin-top: 28px; gap: 24px; }
  .hero__sub { font-size: 16px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

/* ===========================================================
   4. STATEMENT BAND
   =========================================================== */

.statement {
  background: var(--white);
  padding-block: clamp(96px, 12vw, 180px);
}
.statement__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 96px;
  align-items: start;
}
.statement__heading {
  color: var(--green-900);
}
.statement__heading em {
  font-style: normal;
  color: var(--lime);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px var(--green-900);
}
.statement__body {
  padding-top: 16px;
}
.statement__body p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}
.statement__body .eyebrow {
  margin-bottom: 20px;
}
.statement__sig {
  margin-top: 32px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-500);
}

@media (max-width: 900px) {
  .statement__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ===========================================================
   5. SERVICES (BUILD / DESIGN)
   =========================================================== */

.services {
  background: var(--stone-50);
  position: relative;
  overflow: visible;
}
.services .wrap { position: relative; z-index: 1; }
.services__logomark {
  position: absolute;
  top: -110px;
  right: -4%;
  width: min(46%, 720px);
  height: auto;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transform: translateY(var(--parallax, 0px));
}
@media (max-width: 900px) {
  .services__logomark { display: none; }
}
.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}
.services__title { color: var(--green-900); max-width: 14ch; }
.services__intro {
  color: var(--ink);
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 8px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -28px rgba(8,51,49,0.18);
}
.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.04); }

.service-card__body {
  padding: 40px 40px 44px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__num {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 16px;
}
.service-card h3 {
  color: var(--green-900);
  margin-bottom: 16px;
}
.service-card__copy {
  color: var(--ink);
  margin-bottom: 32px;
  flex: 1;
}
.service-card__list {
  list-style: none;
  border-top: 1px solid var(--stone-100);
  padding-top: 24px;
  margin-bottom: 32px;
}
.service-card__list li {
  padding: 10px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--stone-100);
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--green-900);
}
.service-card__list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-card__link {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-900);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
}
.service-card__link::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.service-card__link:hover::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .services__head, .services__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===========================================================
   6. PROJECTS
   =========================================================== */

.projects {
  background: var(--white);
}
.projects__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 64px;
  gap: 48px;
  flex-wrap: wrap;
}
.projects__title { color: var(--green-900); max-width: 16ch; }
.projects__filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-900);
  padding: 10px 18px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--green-900); }
.chip.is-active { background: var(--green-900); color: var(--white); border-color: var(--green-900); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.project {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.project img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.project:hover img { transform: scale(1.05); }
.project__overlay {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8,51,49,0) 40%, rgba(8,51,49,0.78) 100%);
  transition: background 0.3s var(--ease);
}
.project:hover .project__overlay {
  background: linear-gradient(180deg, rgba(8,51,49,0.1) 0%, rgba(8,51,49,0.85) 100%);
}
.project__label {
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
  font-weight: 600;
}
.project__title {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.project__meta {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}

.project--lg { grid-column: span 4; aspect-ratio: 16 / 10; }
.project--md { grid-column: span 2; }
.project--sm { grid-column: span 2; aspect-ratio: 1 / 1; }
.project--wide { grid-column: span 3; aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project--lg, .project--md, .project--sm, .project--wide { grid-column: span 2; aspect-ratio: 4/3; }
}

.projects__cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* ===========================================================
   7. PROCESS
   =========================================================== */

.process {
  background: var(--green-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(127,195,67,0.08), transparent 60%);
  pointer-events: none;
}
.process__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
  position: relative;
}
.process__title { color: var(--white); max-width: 16ch; }
.process .eyebrow { color: var(--lime); }
.process__intro {
  color: rgba(255,255,255,0.78);
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 6px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step {
  padding: 40px 32px 0 0;
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 24px;
}
.step__title {
  color: var(--white);
  margin-bottom: 16px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.step__copy {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.6;
  padding-right: 16px;
}

@media (max-width: 900px) {
  .process__head { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
}

/* ===========================================================
   8. SPLIT FEATURE (BRING THE OUTSIDE IN)
   =========================================================== */

.split {
  background: var(--white);
  padding-block: 0;
}
.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}
.split__media {
  position: relative;
  overflow: hidden;
}
.split__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.split__body {
  padding: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--stone-50);
}
.split__title {
  color: var(--green-900);
  margin-bottom: 32px;
  max-width: 14ch;
}
.split__copy {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  max-width: 48ch;
}
.split__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--stone-100);
}
.stat__num {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--green-900);
  margin-bottom: 8px;
}
.stat__lbl {
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone-500);
  font-weight: 500;
}

@media (max-width: 900px) {
  .split__grid { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 3; }
}

/* Dark (green) variant — matches the "How We Work" section */
.split--dark .split__body {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
}
.split--dark .split__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(127,195,67,0.08), transparent 60%);
  pointer-events: none;
}
.split--dark .split__body > * { position: relative; }
.split--dark .eyebrow { color: var(--lime); }
.split--dark .split__title { color: var(--white); }
.split--dark .split__copy { color: rgba(255,255,255,0.78); }
.split--dark .split__stats { border-top-color: rgba(255,255,255,0.15); }
.split--dark .stat__num { color: var(--lime); }
.split--dark .stat__lbl { color: rgba(255,255,255,0.55); }

/* ===========================================================
   9. TESTIMONIAL
   =========================================================== */

.quote {
  background: var(--white);
  text-align: left;
}
.quote__inner {
  max-width: 1100px;
  margin-inline: auto;
}
.quote__mark {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-size: 96px;
  font-weight: 700;
  color: var(--lime);
  line-height: 0.8;
  margin-bottom: 24px;
}
.quote__text {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--green-900);
  margin-bottom: 40px;
  text-wrap: pretty;
}
.quote__attr {
  display: flex;
  align-items: center;
  gap: 16px;
}
.quote__attr-name {
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-900);
}
.quote__attr-meta {
  font-size: 13px;
  color: var(--stone-500);
}

/* ===========================================================
  10. CTA — START YOUR BUILD
   =========================================================== */

.cta {
  background: var(--green-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta__bg {
  position: absolute; inset: 0;
  opacity: 0.18;
}
.cta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.4);
}
.cta__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green-900) 0%, rgba(8,51,49,0.6) 100%);
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.cta__title {
  color: var(--white);
  max-width: 16ch;
}
.cta__title em {
  font-style: normal;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}
.cta .eyebrow { color: var(--lime); margin-bottom: 24px; }
.cta__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 12px;
}
.cta__copy {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  line-height: 1.6;
  max-width: 42ch;
}
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* ===========================================================
  11. FOOTER
   =========================================================== */

.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
  padding: 88px var(--gutter) 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__top {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand img { height: calc(46px * var(--logo-scale)); width: auto; max-width: none; margin-bottom: 24px; }
.footer__tagline {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.05;
}
.footer__about { font-size: 14px; line-height: 1.6; max-width: 36ch; color: rgba(255,255,255,0.7); }

.footer__col h4 {
  color: var(--lime);
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--lime); }

.footer__contact { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.78); }
.footer__contact a { color: rgba(255,255,255,0.78); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1px; }
.footer__contact a:hover { color: var(--lime); border-color: var(--lime); }

.footer__bottom {
  max-width: var(--container);
  margin-inline: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 24px;
}
.footer__bottom a:hover { color: var(--white); }
.footer__legal { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer { padding-left: 32px; padding-right: 32px; }
}

/* ===========================================================
  CHAT BUBBLE
   =========================================================== */
.chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  background: var(--green-900);
  color: var(--white);
  border-radius: 100px;
  padding: 12px 18px 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  box-shadow: 0 20px 50px -10px rgba(8,51,49,0.4);
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.chat:hover { transform: translateY(-2px); }
.chat__icon {
  width: 28px; height: 28px;
  background: var(--lime);
  border-radius: 50%;
  display: grid; place-items: center;
}
.chat__icon svg { width: 14px; height: 14px; color: var(--green-900); }
.chat__text { line-height: 1.2; }
.chat__text strong { display: block; font-weight: 700; }
.chat__text span { color: rgba(255,255,255,0.7); font-size: 11px; }
