@font-face { font-family: "Figtree"; src: url("assets/figtree-400-800.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("assets/caveat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --green: #1D5B45;
  --green-deep: #154434;
  --green-tint: #E7EFEA;
  --ink: #12211B;
  --text: #33413B;
  --muted: #56645E;
  --line: #E2E5E0;
  --field: #F3F4F1;
  --panel: #F4F5F2;
  --cream: #F6F4EE;
  --white: #FFFFFF;
  --shadow-card: 0 1px 2px rgba(18, 33, 27, .06), 0 18px 48px -12px rgba(18, 33, 27, .22);
  --shadow-bar: 0 1px 0 rgba(18, 33, 27, .08), 0 6px 18px -10px rgba(18, 33, 27, .25);
  --radius: 12px;
  --hero-h: clamp(640px, 50vw, 760px);
  --top-h: 76px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--text); background: var(--white); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 8px; font: 700 .95rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--green); color: var(--white); }
.btn--solid:hover { background: var(--green-deep); }
.btn--solid:hover svg, .btn--light:hover svg, .textlink:hover svg { transform: translateX(3px); }
.btn svg, .textlink svg { transition: transform .2s; }
.btn--line { border-color: var(--green); color: var(--green); background: var(--white); }
.btn--light { background: var(--green); color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn--light:hover { background: var(--green-deep); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; text-decoration: none; }
.textlink svg { width: 18px; height: 18px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-bar); transition: background-color .25s, box-shadow .25s; }
.js .top:not(.is-solid) { background: transparent; box-shadow: none; }
.top__in { display: flex; align-items: center; gap: 24px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
.brand__mark { width: 44px; height: 37px; }
.brand__text { display: flex; flex-direction: column; color: var(--ink); line-height: 1; }
.brand__text b { font-weight: 800; font-size: 1.32rem; letter-spacing: -0.01em; text-transform: uppercase; }
.brand__text small { font-weight: 700; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 34px; margin: 0 auto; font-weight: 500; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; background: linear-gradient(var(--green), var(--green)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.nav a:hover { background-size: 100% 2px; }
.menubtn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menubtn svg { width: 26px; height: 26px; }
.menubtn__close, .menubtn[aria-expanded="true"] .menubtn__open { display: none; }
.menubtn[aria-expanded="true"] .menubtn__close { display: block; }
.mobnav { display: flex; flex-direction: column; gap: 4px; padding: 8px 20px 20px; background: var(--white); border-top: 1px solid var(--line); }
.mobnav[hidden] { display: none; }
.mobnav > a:not(.btn) { padding: 13px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobnav .btn { margin-top: 10px; min-height: 52px; }

/* Intro: hero + quote card + services share one grid so the card can overlap both */
.intro { position: relative; }
.hero__media { position: absolute; inset: 0 0 auto; height: var(--hero-h); overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
@media (min-width: 1024px) { .hero__media img { width: 120%; max-width: none; object-position: 0 40%; } }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .62) 34%, rgba(255, 255, 255, 0) 56%),
  linear-gradient(180deg, rgba(255, 255, 255, 0) 78%, var(--white) 100%); }
.hero__script { position: absolute; z-index: 2; top: calc(var(--top-h) + 16px); left: 45%; transform: rotate(-12deg); transform-origin: left top; font: 600 clamp(1.5rem, 1rem + 1vw, 2.05rem)/1.02 "Caveat", cursive; color: var(--ink); }
.hero__script svg { display: block; width: 76%; height: 18px; margin: 4px 0 0 18%; color: var(--ink); }

.intro__grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 64px; align-items: start; }
.hero { grid-column: 1; grid-row: 1; max-width: 540px; min-height: var(--hero-h); padding: calc(var(--top-h) + 52px) 0 56px; display: flex; flex-direction: column; justify-content: center; }
.kicker { text-wrap: balance; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.hero h1 { margin-top: 18px; font-weight: 800; font-size: clamp(2.7rem, 1.4rem + 3.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__sub { margin-top: 22px; max-width: 31rem; font-size: 1.1rem; line-height: 1.6; color: var(--text); }
.badges { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 26px; }
.badges li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .88rem; line-height: 1.25; color: var(--ink); }
.badges svg { width: 32px; height: 32px; color: var(--green); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 30px; }
.hero__call { display: flex; align-items: center; gap: 12px; }
.hero__call > svg { width: 26px; height: 26px; color: var(--ink); }
.hero__call p { display: flex; flex-direction: column; gap: 3px; font-size: .84rem; color: var(--text); }
.hero__phone { font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.hero__call span a { color: var(--ink); font-weight: 600; }

.card { grid-column: 2; grid-row: 1 / span 2; margin-top: calc(var(--hero-h) * .45); background: var(--white); border-radius: 16px; box-shadow: var(--shadow-card); padding: 32px 30px 28px; }
.qf h2 { font-size: 1.6rem; font-weight: 800; }
.qf__lede { margin: 8px 0 18px; font-size: .92rem; color: var(--text); }
.qf label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: .86rem; color: var(--ink); }
.qf label span { color: var(--green); margin-left: 2px; }
.qf input, .qf select, .qf textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.qf input::placeholder, .qf textarea::placeholder { color: #6B7772; }
.qf input:focus, .qf select:focus, .qf textarea:focus { outline: none; background: var(--white); border-color: var(--green); box-shadow: 0 0 0 3px rgba(29, 91, 69, .18); }
.qf [aria-invalid="true"] { border-color: #B3261E; }
.qf textarea { resize: vertical; min-height: 110px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.qf__err { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #FCEBEA; color: #8C1D18; font-size: .9rem; font-weight: 600; }
.qf .btn { margin-top: 20px; }
.qf__note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-top: 14px; font-size: .78rem; line-height: 1.45; color: var(--muted); text-align: center; }
.qf__note svg { width: 14px; height: 14px; margin-top: 2px; }
.done { text-align: center; }
.done:focus { outline: none; }
.done__mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); }
.done__mark svg { width: 28px; height: 28px; }
.done h3 { margin-top: 14px; font-size: 1.35rem; }
.done p { margin-top: 10px; font-size: .92rem; }
.done p a { color: var(--green); font-weight: 600; }
.done__text { margin: 16px 0 0; padding: 14px; text-align: left; white-space: pre-wrap; word-break: break-word; font: 400 .82rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--field); border: 1px solid var(--line); border-radius: 8px; max-height: 220px; overflow: auto; }
.done__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }

.services { grid-column: 1; grid-row: 2; padding: 8px 0 96px; }
.services h2, .work h2, .process h2, .about h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; }
.lede { margin-top: 10px; font-size: 1.08rem; color: var(--text); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.svc { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 24px 26px 46px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid transparent; transition: border-color .2s, background-color .2s, transform .25s; }
.svc:hover { background: var(--white); border-color: var(--line); transform: translateY(-2px); }
.svc__ic { width: 38px; height: 38px; color: var(--ink); margin-top: 2px; }
.svc h3 { font-size: 1.08rem; font-weight: 700; }
.svc p { margin-top: 6px; font-size: .92rem; line-height: 1.5; color: var(--text); }
.svc__go { position: absolute; right: 14px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.svc__go svg { width: 20px; height: 20px; transition: transform .2s; }
.svc:hover .svc__go svg { transform: translateX(3px); color: var(--green); }

/* Work */
.work { padding: 24px 0 96px; }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.work__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.02); }
.tile h3 { margin-top: 14px; font-size: 1rem; font-weight: 700; }
.tile p { margin-top: 3px; font-size: .86rem; color: var(--muted); }
.work__note { margin-top: 26px; font-size: .84rem; color: var(--muted); }

/* Process */
.process { background: var(--cream); padding: 80px 0 88px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 44px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; position: relative; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; font-size: 1.05rem; }
.steps h3 { font-size: 1.02rem; font-weight: 700; margin-top: 10px; }
.steps p { margin-top: 8px; font-size: .9rem; line-height: 1.55; color: var(--text); }

/* About */
.about { display: grid; grid-template-columns: 52% minmax(0, 1fr); align-items: center; }
.about__media { position: relative; height: 100%; min-height: 420px; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.about__card { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(46%, 300px); background: var(--green); color: var(--white); padding: 30px 26px 32px; font-size: 1.04rem; font-weight: 500; line-height: 1.5; }
.js .about__card.rv { transform: translateY(calc(-50% + 16px)); }
.js .about__card.rv.in { transform: translateY(-50%); }
.about__q { display: block; width: 34px; height: 26px; margin-bottom: 16px; color: var(--white); }
.about__copy { padding: 80px clamp(32px, 6vw, 96px); }
.checks { display: grid; gap: 16px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 14px; font-size: 1.04rem; color: var(--ink); }
.checks svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green); color: var(--white); }

/* Closing CTA */
.cta { position: relative; overflow: hidden; color: var(--white); text-align: center; background: var(--green-deep); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 24, 19, .58), rgba(12, 24, 19, .66)); }
.cta__in { position: relative; z-index: 2; }
.wrap.cta__in { padding-top: 88px; padding-bottom: 92px; }
.cta h2 { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); font-weight: 800; }
.cta p { margin: 14px auto 0; max-width: 34rem; font-size: 1.1rem; color: rgba(255, 255, 255, .92); }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* Footer */
.foot { padding: 48px 0 28px; background: var(--white); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: .92rem; font-weight: 500; }
.foot__nav a { color: var(--ink); text-decoration: none; display: inline-block; padding: 10px 0; }
.foot__nav a:hover { color: var(--green); }
.foot__list { display: grid; gap: 0; font-size: .9rem; }
.foot__list li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.foot__list svg { width: 18px; height: 18px; color: var(--green); }
.foot__list a { text-decoration: none; display: inline-block; padding: 8px 0; }
.foot__list a:hover { text-decoration: underline; }
.foot__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.foot__credit { margin-top: 14px; font-size: .78rem; color: var(--muted); }
.foot__credit a { color: var(--muted); }

/* Scroll reveal: only when JS runs and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .hero > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero > :nth-child(2) { animation-delay: .06s; }
  .hero > :nth-child(3) { animation-delay: .14s; }
  .hero > :nth-child(4) { animation-delay: .2s; }
  .hero > :nth-child(5) { animation-delay: .26s; }
  .card { animation: rise .9s .18s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__script { animation: fade 1.2s .5s both; }
  .hero__media img { animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .about__card.rv { transform: translateY(-50%); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }

/* Laptop */
@media (max-width: 1180px) {
  .nav { gap: 24px; }
  .intro__grid { grid-template-columns: minmax(0, 1fr) 370px; column-gap: 40px; }
  .work__grid { gap: 16px; }
}

/* Tablet and down: one column. Photo becomes a banner, copy sits on white below it. */
@media (max-width: 1023px) {
  :root { --top-h: 68px; }
  .nav, .top__cta { display: none; }
  .menubtn { display: inline-flex; }
  .js .top:not(.is-solid) { background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-bar); }
  .hero__media { position: relative; height: clamp(300px, 52vw, 460px); margin-top: var(--top-h); }
  .hero__media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, var(--white) 100%); }
  .hero__media img { object-position: 70% 45%; }
  .hero__script { top: calc(var(--top-h) + 22px); left: 26px; transform: rotate(-8deg); font-size: clamp(1.35rem, 1rem + 1.4vw, 1.8rem); }
  .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .hero { max-width: none; min-height: 0; padding: 8px 0 40px; }
  .card { grid-column: 1; grid-row: 2; margin: 0 auto; width: 100%; max-width: 620px; }
  .services { grid-row: 3; padding: 72px 0 80px; }
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__media { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .about__card { width: min(56%, 300px); }
  .about__copy { padding: 56px 32px 72px; }
}

/* Phone */
@media (max-width: 639px) {
  .wrap { padding: 0 20px; }
  .brand__mark { width: 38px; height: 32px; }
  .brand__text b { font-size: 1.14rem; }
  .brand__text small { font-size: .6rem; }
  .hero__media { height: 62vw; min-height: 230px; }
  .hero__media img { object-position: 74% 45%; }
  .hero__script { display: none; }
  .hero { padding: 4px 0 36px; }
  .kicker { font-size: .72rem; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(2.35rem, 1.2rem + 6vw, 3rem); }
  .hero__sub { font-size: 1.02rem; }
  .badges { gap: 14px 20px; }
  .badges li { font-size: .82rem; gap: 9px; }
  .badges svg { width: 28px; height: 28px; }
  .hero__ctas .btn { width: 100%; }
  .card { padding: 26px 20px 22px; border-radius: 14px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .work__head { flex-direction: column; align-items: flex-start; }
  .work__grid { gap: 22px 14px; }
  .tile h3 { font-size: .94rem; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .about__media { aspect-ratio: auto; }
  .about__media img { position: relative; aspect-ratio: 4 / 3; height: auto; }
  .about__card { position: relative; top: auto; right: auto; transform: none; width: auto; margin: -40px 20px 0; }
  .js .about__card.rv, .js .about__card.rv.in { transform: none; }
  .about__copy { padding: 44px 20px 64px; }
  .checks li { font-size: .98rem; align-items: flex-start; }
  .cta__row .btn { width: 100%; }
  .wrap.cta__in { padding-top: 64px; padding-bottom: 68px; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .badges li br { display: none; }
}
