@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --forest: #304e22;
  --leaf: #426a31;
  --soft-leaf: #7e9d6a;
  --ink: #222b1f;
  --mist: #f1f6ef;
  --sand: #e8e1d2;
  --sand-deep: #d8cdb9;
  --white: #fff;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-space: clamp(4.75rem, 10vw, 9rem);
  --display: "DM Sans", "Segoe UI", Arial, sans-serif;
  --body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --hero: "DM Serif Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; scrollbar-color: var(--soft-leaf) var(--mist); scrollbar-width: thin; }
html::-webkit-scrollbar { width: .72rem; }
html::-webkit-scrollbar-thumb { background: var(--soft-leaf); border: .18rem solid var(--mist); border-radius: 999px; }
html::-webkit-scrollbar-track { background: var(--mist); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--soft-leaf); outline-offset: 4px; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .65rem .85rem; background: var(--white); color: var(--forest); transform: translateY(-220%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 5.25rem; padding: .9rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: 0; z-index: 10; background: var(--mist); border-bottom: 1px solid color-mix(in srgb, var(--forest) 20%, transparent); }
.brand { display: block; width: clamp(9.25rem, 16vw, 12.5rem); }
.header-logo { display: block; width: 100%; overflow: visible; }
.header-logo image { filter: drop-shadow(0 .12rem .3rem #f7fff566); }
.header-logo-leaf, .header-logo-wordmark { opacity: 1; }
body.leaf-intro-playing .header-logo-leaf, body.leaf-intro-playing .header-logo-wordmark { opacity: 0; }
body.leaf-intro-playing .brand.is-revealing .header-logo-leaf, body.leaf-intro-playing .brand.is-revealing .header-logo-wordmark { animation: header-logo-in .5s ease both; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.25vw, 2.5rem); font-size: .92rem; font-weight: 650; }
.desktop-nav > a { text-decoration: none; }
.desktop-nav > a:not(.nav-cta):hover { color: var(--leaf); }
.nav-cta { padding: .62rem 1rem; color: var(--white); background: var(--leaf); border-radius: 999px; }
.nav-cta:hover { background: var(--forest); }
.mobile-nav { display: none; position: relative; font-weight: 700; }
.mobile-nav summary { list-style: none; cursor: pointer; display: flex; gap: .7rem; align-items: center; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + 1rem); min-width: 13rem; padding: .75rem; display: grid; gap: .2rem; background: var(--mist); box-shadow: 0 1rem 2.5rem #25351e22; }
.mobile-nav nav a { padding: .6rem; text-decoration: none; }
.mobile-nav nav a:hover { background: var(--mist); }

.hero { min-height: min(55rem, calc(100svh - 5.25rem)); padding: clamp(11rem, 20vw, 17rem) var(--gutter) clamp(5.75rem, 9vw, 7.75rem); display: flex; align-items: end; justify-content: center; position: relative; overflow: hidden; color: var(--white); isolation: isolate; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #12200fd9 0%, #1b2a16a8 42%, #1b2a160d 78%), linear-gradient(0deg, #1b2a1680 0%, transparent 55%); }
.hero-divider { position: absolute; z-index: 0; bottom: 0; left: 0; width: 100%; height: clamp(3.5rem, 8vw, 6.5rem); pointer-events: none; }
.hero-divider path { fill: var(--mist); }
.hero-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; will-change: transform; }
body.scroll-motion .hero-background { transform: scale(var(--hero-zoom, 1)); }
.hero-leaf-intro { width: clamp(10.5rem, 19vw, 16.5rem); display: none; position: fixed; z-index: 20; top: 0; left: 0; pointer-events: none; transform: translate(-50%, -50%); will-change: transform, opacity, width; }
body.leaf-intro-playing .hero-leaf-intro { display: block; }
.hero-leaf-intro img { width: 100%; height: auto; filter: drop-shadow(0 .8rem 1.15rem #14200f55); }
.hero-copy { width: min(70vw, 70rem); max-width: calc(100vw - (var(--gutter) * 2)); position: relative; z-index: 1; text-align: center; }
.eyebrow { margin: 0 0 1rem; color: var(--leaf); font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #d8e8d1; position: relative; top: clamp(-3.5rem, -5.5vw, -2rem); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.04; }
h1 { max-width: 13ch; margin-bottom: 1.65rem; font-size: clamp(3.65rem, 7vw, 7.7rem); font-weight: 800; }
.hero h1 { max-width: 16ch; position: relative; top: clamp(-3.5rem, -5.5vw, -2rem); font-family: var(--display); font-size: clamp(3.1rem, 5.8vw, 6.2rem); font-weight: 600; letter-spacing: -.035em; line-height: .98; }
.hero h1, .hero .intro { margin-left: auto; margin-right: auto; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.35rem, 4vw, 4.5rem); font-weight: 600; }
h3 { margin-bottom: .55rem; font-size: clamp(1.6rem, 2.6vw, 2.35rem); font-weight: 600; }
.intro { max-width: 35rem; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.2rem; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--white); color: var(--forest); }
.button-primary:hover { background: var(--mist); }
.button-light { background: var(--white); color: var(--forest); }
.button-light:hover { background: var(--mist); }
@keyframes header-logo-in { from { opacity: 0; } to { opacity: 1; } }

.section { padding: var(--section-space) var(--gutter); }
.section-heading { max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.section-heading h2 { max-width: 13ch; margin-bottom: 0; }
.projects { padding-top: clamp(2.5rem, 5vw, 4.25rem); background: var(--mist); }
.project-carousel { max-width: 90rem; margin: 0 auto; }
.project-track { display: flex; gap: clamp(.75rem, 1.6vw, 1.5rem); padding: .25rem .1rem 1rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--soft-leaf) transparent; scrollbar-width: thin; }
.project-track::-webkit-scrollbar { height: .6rem; }
.project-track::-webkit-scrollbar-thumb { background: var(--soft-leaf); border-radius: 999px; }
.project-track::-webkit-scrollbar-track { background: transparent; }
.project { flex: 0 0 clamp(17rem, 31vw, 28rem); aspect-ratio: 4 / 3; margin: 0; position: relative; overflow: hidden; border-radius: 1.25rem; background: var(--soft-leaf); scroll-snap-align: start; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover img { transform: scale(1.03); }
.carousel-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.carousel-hint { margin: 0; color: color-mix(in srgb, var(--ink) 70%, transparent); font-size: .9rem; }
.carousel-button { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--forest) 28%, transparent); border-radius: 50%; color: var(--forest); background: var(--white); font: inherit; font-size: 1.25rem; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.carousel-button:hover { color: var(--white); background: var(--leaf); transform: translateY(-2px); }
.carousel-button:active { transform: translateY(0); }

.services { background: var(--white); }
.section-heading-tight h2 { max-width: 14ch; }
.service-list { border-top: 1px solid color-mix(in srgb, var(--soft-leaf) 55%, transparent); }
.service { border-bottom: 1px solid color-mix(in srgb, var(--soft-leaf) 55%, transparent); }
.service summary { list-style: none; padding: 1.35rem 3.5rem 1.35rem 0; position: relative; color: var(--ink); font-family: var(--display); font-size: clamp(1.55rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; cursor: pointer; }
.service summary::-webkit-details-marker { display: none; }
.service summary::after { content: "+"; position: absolute; top: 50%; right: .15rem; color: var(--leaf); font-family: var(--body); font-size: 2rem; font-weight: 400; line-height: 1; transform: translateY(-52%); transition: transform .25s ease; }
.service[open] summary::after { transform: translateY(-52%) rotate(45deg); }
.service-copy { max-width: 46rem; margin: -.25rem 0 1.7rem; }
.service-copy p { margin: 0; font-size: 1.05rem; }
.service-copy p + p { margin-top: 1rem; }

.section-leaf { height: 0; position: relative; z-index: 2; pointer-events: none; }
.section-leaf img { width: clamp(3.5rem, 5.5vw, 5.25rem); height: auto; position: absolute; top: clamp(-2.5rem, -3.5vw, -1.75rem); left: var(--gutter); transform: rotate(-28deg); }
body.scroll-motion .section-leaf img { opacity: var(--section-leaf-opacity, 0); transform: translateX(var(--section-leaf-translate, 0px)) rotate(-28deg) scale(var(--section-leaf-scale, .72)); transform-origin: left center; will-change: transform, opacity; }

.about { display: grid; grid-template-columns: minmax(20rem, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.75rem); align-items: center; position: relative; overflow: hidden; background: var(--sand); color: var(--ink); }
.team-photo { aspect-ratio: 1; height: auto; min-height: 0; margin: 0; overflow: hidden; border-radius: 1.25rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transform: scale(1.06); }
.about-copy { max-width: 42rem; position: relative; z-index: 1; }
.about-copy p { font-size: 1.1rem; }
.about-copy .eyebrow { color: var(--leaf); }
.about-copy a { color: var(--forest); text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: .15em; }

.contact { min-height: 27rem; padding: clamp(4rem, 9vw, 8rem) var(--gutter); display: grid; grid-template-columns: minmax(14rem, .7fr) minmax(28rem, 1.3fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; background: var(--mist); color: var(--forest); }
.contact h2 { max-width: 11ch; margin: 0; }
.eyebrow-light { color: var(--leaf); }
.contact-copy { max-width: 48rem; }
.contact-copy p { font-size: 1.1rem; }
.contact-note { margin-bottom: 1.15rem; color: var(--leaf); font-size: .86rem !important; }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; font-style: normal; }
.contact-details span { display: grid; gap: .2rem; }
.contact-details strong { color: var(--leaf); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer { min-height: 5.5rem; padding: 1rem var(--gutter); display: flex; gap: .8rem; align-items: center; justify-content: space-between; position: relative; overflow: hidden; background: var(--ink); color: var(--white); font-size: .84rem; }
.site-footer p { margin: 0; position: relative; z-index: 1; }
.site-footer img { width: 7rem; height: 7rem; position: absolute; right: clamp(1rem, 5vw, 5rem); bottom: -2.7rem; object-fit: contain; opacity: .24; transform: rotate(-18deg); filter: brightness(0) invert(1); }
body.scroll-motion .site-footer img { opacity: var(--footer-leaf-opacity, 0); transform: rotate(-18deg) scale(var(--footer-leaf-scale, .2)); transform-origin: right bottom; will-change: transform, opacity; }

@media (max-width: 760px) {
  .site-header { min-height: 4.4rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: 42rem; padding-top: 12rem; }
  h1 { max-width: 11ch; }
  .hero-copy { width: min(100%, 38rem); }
  .about, .contact { grid-template-columns: 1fr; }
  .project { flex-basis: min(82vw, 27rem); }
  .carousel-controls { justify-content: space-between; }
  .carousel-hint { text-align: center; }
  .team-photo { aspect-ratio: 1; height: auto; min-height: 0; }
  .contact { gap: 1.5rem; }
  .contact-details { grid-template-columns: 1fr; gap: 1rem; }
  .site-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .header-logo-leaf, .header-logo-wordmark { opacity: 1; }
  .hero-leaf-intro { display: none; }
}
