:root {
  --color-forest: #153c2e;
  --color-leaf: #3f704d;
  --color-sage: #9db49f;
  --color-moss: #c7d2b5;
  --color-sand: #e8dfcf;
  --color-cream: #f6f2e9;
  --color-ink: #17211c;
  --color-white: #fff;
  --page-gutter: clamp(1.25rem, 4vw, 5rem);
  --content-wide: 1440px;
  --header-height: 76px;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--color-cream);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks { padding-block: 0; }
.wp-site-blocks > * { margin-block-start: 0; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1; }
h1 { font-size: clamp(4.25rem, 7.2vw, 8.5rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(3.25rem, 5.4vw, 6.15rem); letter-spacing: -0.032em; }
h3 { font-size: clamp(1.7rem, 2.2vw, 2.5rem); letter-spacing: -0.025em; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 10000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.section-shell { width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-wide)); margin-inline: auto; }
.site-main { min-height: 60vh; }

.eyebrow {
	margin: 0 0 1.1rem;
	font-family: var(--sans);
	font-size: clamp(.81rem, .78rem + .14vw, .92rem);
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.4;
	text-transform: none;
}

.lead { max-width: 38rem; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.65; }

.button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-height: 3.2rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--color-forest);
  border-radius: 999px;
  background: var(--color-forest);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button--light { border-color: #fff; background: #fff; color: var(--color-forest); }

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .wp-element-button:hover { transform: translateY(-2px); background: var(--color-leaf); }
  .button--light:hover { background: var(--color-moss); color: var(--color-forest); }
}

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link--light { color: #fff; }

/* Hero */
.home-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-forest) var(--hero-image) center/cover no-repeat;
  color: #fff;
}

.home-hero::before { content: ""; position: absolute; z-index: -2; inset: -3%; background: var(--hero-image) center/cover no-repeat; animation: heroDrift 16s ease-out both; }
.home-hero__scrim { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 21, 0.79) 0%, rgba(8, 28, 21, 0.44) 46%, rgba(8, 28, 21, 0.05) 78%), linear-gradient(0deg, rgba(5, 20, 14, 0.5), transparent 40%); }
.home-hero__content { width: min(calc(100% - (var(--page-gutter) * 2)), 1440px); margin: 0 auto clamp(4.5rem, 9vh, 7rem); }
.home-hero h1 { max-width: 920px; }
.home-hero__lead { max-width: 580px; margin: 1.6rem 0 2.1rem; font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.65; }
.home-hero__scroll { position: absolute; right: var(--page-gutter); bottom: 2rem; display: flex; align-items: center; gap: 0.9rem; color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em; text-decoration: none; text-transform: uppercase; writing-mode: vertical-rl; }
.home-hero__scroll span { width: 1px; height: 54px; background: rgba(255,255,255,0.6); }

@keyframes heroDrift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Intro and service narrative */
.intro-section { padding-block: clamp(6rem, 11vw, 10rem); }
.intro-section__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.intro-section__grid h2 { font-size: clamp(3rem, 6.2vw, 6.3rem); }
.intro-section__grid .text-link { margin-top: 1.5rem; }

.service-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr); min-height: 720px; background: var(--color-sand); }
.service-story__media { min-height: 640px; overflow: hidden; }
.service-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.service-story__media:hover img { transform: scale(1.025); }
.service-story__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.service-story__number { margin-bottom: auto; color: rgba(23,33,28,0.46); font-size: 0.8rem; letter-spacing: 0.14em; }
.service-story__content h2 { max-width: 650px; font-size: clamp(2.8rem, 5vw, 5.4rem); }
.service-story__content > p:not(.eyebrow):not(.service-story__number) { max-width: 36rem; margin-top: 1.7rem; font-size: 1.05rem; line-height: 1.65; }
.plain-list { display: grid; gap: 0.7rem; padding: 1.5rem 0; margin: 1.2rem 0; border-top: 1px solid rgba(23,33,28,0.18); border-bottom: 1px solid rgba(23,33,28,0.18); list-style: none; }
.plain-list li { font-size: 0.9rem; }

.service-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(6rem, 12vw, 11rem); }
.service-pair__item--offset { margin-top: 9rem; }
.service-pair__image { aspect-ratio: 4/5; margin-bottom: 2rem; overflow: hidden; background: var(--color-sage); }
.service-pair__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.service-pair__item:hover img { transform: scale(1.03); }
.service-pair h3 { max-width: 590px; }
.service-pair__item > p:last-child { max-width: 34rem; margin-top: 1.2rem; line-height: 1.7; }

.expertise-band { padding-block: clamp(5rem, 10vw, 9rem); background: var(--color-forest); color: #fff; }
.expertise-band__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr); gap: clamp(4rem, 10vw, 10rem); }
.expertise-band h2 { font-size: clamp(2.8rem, 5.8vw, 5.8rem); }
.expertise-list { border-top: 1px solid rgba(255,255,255,0.24); }
.expertise-list a { display: flex; justify-content: space-between; padding: 1.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.24); font-size: clamp(1rem, 1.8vw, 1.25rem); text-decoration: none; transition: padding 180ms ease, color 180ms ease; }
.expertise-list a:hover { padding-inline: 0.75rem; color: var(--color-moss); }
.expertise-list a span:last-child { font-size: 0.7rem; letter-spacing: 0.12em; }

.process-section { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1.2fr); gap: clamp(4rem, 10vw, 10rem); padding-block: clamp(7rem, 12vw, 11rem); }
.process-section__heading { position: sticky; top: calc(var(--header-height) + 2rem); align-self: start; }
.process-section__heading h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
.process-list { padding: 0; margin: 0; border-top: 1px solid rgba(23,33,28,0.22); list-style: none; }
.process-list li { display: grid; grid-template-columns: 55px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid rgba(23,33,28,0.22); }
.process-list > li > span { padding-top: 0.4rem; color: var(--color-leaf); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; }
.process-list h3 { font-family: var(--sans); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -0.025em; }
.process-list p { max-width: 37rem; margin: 0.75rem 0 0; color: rgba(23,33,28,0.72); line-height: 1.65; }

.works-teaser { padding-block: clamp(6rem, 10vw, 9rem); background: #e6eadf; }
.works-teaser__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.works-teaser__heading h2 { max-width: 850px; }
.works-teaser__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1rem; padding: 0 var(--page-gutter); }
.works-teaser figure { margin: 0; }
.works-teaser figure:nth-child(2) { padding-top: 11vw; }
.works-teaser img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.works-teaser figcaption { padding-top: 0.9rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* Interior pages */
.page-hero { display: flex; align-items: end; min-height: clamp(540px, 74vh, 760px); padding: calc(var(--header-height) + 5rem) var(--page-gutter) clamp(4rem, 8vw, 7rem); background: var(--color-forest); color: #fff; }
.page-hero--services { background: linear-gradient(90deg, rgba(8,29,21,.89), rgba(8,29,21,.33)), url("../images/service-garden.jpg") center 58%/cover; }
.page-hero--works { background: linear-gradient(90deg, rgba(8,29,21,.86), rgba(8,29,21,.26)), url("../images/project-landscape.jpg") center/cover; }
.page-hero--contact { background: linear-gradient(90deg, rgba(8,29,21,.91), rgba(8,29,21,.25)), url("../images/service-flowers.jpg") center 55%/cover; }
.page-hero__inner { width: min(100%, var(--content-wide)); margin-inline: auto; }
.page-hero h1 { max-width: 1050px; font-size: clamp(3.5rem, 7.7vw, 7.7rem); }
.page-hero p:last-child { max-width: 640px; margin-top: 1.8rem; font-size: clamp(1rem, 1.7vw, 1.22rem); line-height: 1.65; }

.services-index { padding-block: clamp(6rem, 11vw, 10rem); }
.services-index__intro { display: grid; grid-template-columns: 0.8fr 1.4fr 0.8fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: 5rem; }
.services-index__intro h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.services-index__intro > p:last-child { padding-top: 0.5rem; line-height: 1.7; }
.services-list { border-top: 1px solid rgba(23,33,28,0.22); }
.service-row { display: grid; grid-template-columns: 70px minmax(240px, 0.9fr) minmax(280px, 1.1fr) 42px; gap: clamp(1rem, 3vw, 3rem); align-items: start; padding: 2rem 0; border-bottom: 1px solid rgba(23,33,28,0.22); }
.service-row > span { color: var(--color-leaf); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; }
.service-row h3 { font-family: var(--sans); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 650; }
.service-row p { margin: 0; color: rgba(23,33,28,0.72); line-height: 1.65; }
.service-row > a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(23,33,28,0.3); border-radius: 50%; text-decoration: none; transition: background 180ms ease, color 180ms ease; }
.service-row > a:hover { background: var(--color-forest); color: #fff; }

.inline-cta { display: grid; justify-items: start; padding-block: clamp(5rem, 9vw, 8rem); border-top: 1px solid rgba(23,33,28,0.2); }
.inline-cta h2 { max-width: 980px; margin-bottom: 2.25rem; font-size: clamp(2.7rem, 5.7vw, 5.7rem); }

.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(3rem, 6vw, 7rem) clamp(1.5rem, 4vw, 4rem); padding-block: clamp(6rem, 10vw, 10rem); }
.work-item { margin: 0; }
.work-item:nth-child(even) { margin-top: 7rem; }
.work-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--color-sage); }
.work-item--tall img { aspect-ratio: 4/5; }
.work-item figcaption { padding-top: 1.2rem; }
.work-item figcaption span { color: var(--color-leaf); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.work-item figcaption h2 { margin-top: 0.45rem; font-family: var(--sans); font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 650; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr); gap: clamp(4rem, 10vw, 10rem); padding-block: clamp(6rem, 11vw, 10rem); }
.contact-details h2, .contact-form-wrap h2 { font-size: clamp(2.4rem, 4.4vw, 4.3rem); }
.contact-details__item { display: grid; gap: 0.35rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(23,33,28,0.2); }
.contact-details__item:first-of-type { margin-top: 2rem; border-top: 1px solid rgba(23,33,28,0.2); }
.contact-details__item span { color: var(--color-leaf); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-details__item a { width: max-content; font-size: clamp(1.15rem, 2vw, 1.5rem); text-decoration: none; }
.contact-details__note { max-width: 31rem; margin-top: 2rem; color: rgba(23,33,28,0.7); line-height: 1.7; }
.contact-form-wrap { padding: clamp(2rem, 5vw, 4.5rem); background: #e5eadf; }

.default-page, .single-post-page, .blog-index, .error-page { padding: calc(var(--header-height) + 5rem) var(--page-gutter) clamp(6rem, 10vw, 9rem); }
.default-page > .wp-block-post-title, .single-post-page > .wp-block-post-title, .error-page h1 { margin-bottom: 3rem; font-size: clamp(3rem, 7vw, 6.5rem); }
.default-page .wp-block-post-content { font-size: 1.05rem; line-height: 1.75; }
.default-page .wp-block-post-content h2 { margin-top: 3rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.default-page .wp-block-post-content h3 { margin-top: 2.25rem; font-family: var(--sans); font-size: 1.35rem; font-weight: 700; }

.blog-index__header { margin-bottom: 4rem; }
.blog-index__header h1 { max-width: 900px; }
.blog-index__header p:last-child { max-width: 600px; margin-top: 1.5rem; }
.blog-query .wp-block-post-template { gap: 3.5rem 1.5rem; }
.post-card { align-content: start; }
.post-card .wp-block-post-featured-image { margin-bottom: 1.25rem; overflow: hidden; }
.post-card .wp-block-post-featured-image img { transition: transform 500ms ease; }
.post-card:hover .wp-block-post-featured-image img { transform: scale(1.025); }
.post-card .wp-block-post-date { color: var(--color-leaf); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.post-card .wp-block-post-title { margin-top: 0.6rem; font-size: clamp(1.45rem, 2.3vw, 2.2rem); }
.post-card .wp-block-post-title a { text-decoration: none; }
.post-card .wp-block-post-excerpt { color: rgba(23,33,28,0.72); }
.single-post-page { max-width: 900px; }
.single-post-page > .wp-block-post-date { color: var(--color-leaf); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.single-post-page > .wp-block-post-title { margin-top: 0.75rem; }
.single-post-page .wp-block-post-content { font-size: 1.08rem; line-height: 1.8; }
.error-page { display: grid; align-content: center; min-height: 75vh; }

/* Footer */
.site-footer { padding: clamp(4rem, 8vw, 7rem) var(--page-gutter) 2rem; background: #0d2b21; color: #fff; }
.site-footer__lead { display: flex; align-items: end; justify-content: space-between; gap: 3rem; max-width: 1440px; padding-bottom: clamp(4rem, 8vw, 7rem); margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,0.2); }
.site-footer__lead h2 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 6.2rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: clamp(3rem, 8vw, 8rem); max-width: 1440px; padding-block: 4rem; margin: 0 auto; }
.site-footer__grid > div:not(.site-footer__brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.site-footer__grid a { font-size: 0.92rem; text-decoration: none; }
.site-footer__grid a:hover { color: var(--color-moss); }
.site-footer__brand img { width: 110px; height: 100px; object-fit: contain; }
.site-footer__brand p { max-width: 360px; margin-top: 1.2rem; color: rgba(255,255,255,0.7); line-height: 1.65; }
.footer-label { margin-bottom: 0.8rem; color: var(--color-moss); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; max-width: 1440px; padding-top: 1.5rem; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.62); font-size: 0.72rem; }
.site-footer__bottom p { margin: 0 auto 0 0; }
.site-footer__bottom a { color: inherit; text-decoration: none; }

/* Motion */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 720ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--hero { transition-delay: 160ms; }

@media (max-width: 980px) {
  :root { --header-height: 78px; }
  .intro-section__grid, .expertise-band__inner, .process-section, .contact-layout { grid-template-columns: 1fr; }
  .service-story { grid-template-columns: 1fr; }
  .service-story__media { min-height: 520px; }
  .service-story__number { margin-bottom: 4rem; }
  .process-section__heading { position: static; }
  .services-index__intro { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 52px 1fr 42px; }
  .service-row p { grid-column: 2/4; }
  .blog-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  :root { --page-gutter: 1.25rem; }
  h1 { font-size: clamp(3.15rem, 17vw, 5rem); }
  h2 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .home-hero { min-height: 100svh; background-position: 62% center; }
  .home-hero::before { background-position: 62% center; }
  .home-hero__scrim { background: linear-gradient(90deg, rgba(8,28,21,.82), rgba(8,28,21,.4)), linear-gradient(0deg, rgba(5,20,14,.5), transparent); }
  .home-hero__content { margin-bottom: 3.2rem; }
  .home-hero__lead { font-size: 0.98rem; }
  .home-hero__scroll { display: none; }
  .button-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .intro-section { padding-block: 5.5rem; }
  .intro-section__grid { gap: 2rem; }
  .service-story__media { min-height: 360px; }
  .service-story__content { padding: 3.5rem 1.25rem 4.5rem; }
  .service-pair { grid-template-columns: 1fr; padding-block: 5rem; }
  .service-pair__item--offset { margin-top: 2rem; }
  .service-pair__image { aspect-ratio: 4/4.7; }
  .expertise-band, .process-section, .works-teaser { padding-block: 5.5rem; }
  .works-teaser__heading { align-items: flex-start; flex-direction: column; }
  .works-teaser__grid { grid-template-columns: 1fr; }
  .works-teaser figure:nth-child(2) { padding-top: 2.5rem; }
  .page-hero { min-height: 630px; }
  .page-hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .services-index { padding-block: 5.5rem; }
  .service-row { grid-template-columns: 38px 1fr 38px; gap: 0.8rem; padding: 1.5rem 0; }
  .service-row p { grid-column: 1/4; padding-top: 0.5rem; }
  .service-row > a { width: 38px; height: 38px; }
  .works-grid { grid-template-columns: 1fr; padding-block: 5.5rem; }
  .work-item:nth-child(even) { margin-top: 0; }
  .contact-layout { gap: 3.5rem; padding-block: 5rem; }
  .contact-form-wrap { margin-inline: calc(var(--page-gutter) * -1); padding: 2.5rem 1.25rem; }
  .blog-query .wp-block-post-template { grid-template-columns: 1fr; }
  .site-footer__lead { align-items: flex-start; flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer__bottom { flex-direction: column; }
  .site-footer__bottom p { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
