@font-face { font-family: "Source Serif 4"; font-weight: 600 700; font-display: swap; src: url("assets/source-serif-4-600-700.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("assets/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("assets/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-display: swap; src: url("assets/instrument-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("assets/caveat-500.woff2") format("woff2"); }
/* Metrics-matched fallback so the serif headline does not reflow when the web font lands. */
@font-face { font-family: "Serif Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 92%; descent-override: 26%; }

:root {
  --green-900: #15301b;
  --green-800: #1c3b22;
  --green-700: #22472a;
  --green-500: #3f6b45;
  --green-300: #8aa88d;
  --cream: #f3f1ea;
  --cream-2: #ebe8de;
  --paper: #ffffff;
  --ink: #17221a;
  --ink-2: #3a453c;
  --muted: #5b655c;
  --orange: #ef7526;          /* the logo mark, sampled */
  --orange-text: #a8480f;     /* orange that passes AA as small text on cream */
  --line: rgba(23, 34, 26, .14);
  --white: #ffffff;
  --serif: "Source Serif 4", "Serif Fallback", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --wrap: 1180px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--lg { width: 38px; height: 38px; stroke-width: 1.5; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--radius); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .18s, border-color .18s, transform .18s; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--solid { background: var(--green-700); color: var(--white); border-color: var(--green-500); }
.btn--solid:hover { background: var(--green-800); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.92); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--outline:hover { background: rgba(28,59,34,.07); }

.kicker { font: 600 12.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.kicker--light { color: rgba(255,255,255,.9); }
.section-lede { color: var(--ink-2); font-size: 17px; max-width: 46rem; margin: 12px auto 0; }
.section-lede--light { color: rgba(255,255,255,.86); }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; background: rgba(243, 241, 234, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.4); }
.top__row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 44px; height: auto; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 22px/1 var(--sans); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.brand__sub { font: 600 11.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--orange-text); margin-top: 6px; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); padding: 11px 0; }
.nav a:hover { color: var(--green-500); }

/* Hero */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--green-900); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 22, 12, .78) 0%, rgba(10, 22, 12, .55) 38%, rgba(10, 22, 12, .08) 66%, rgba(10,22,12,0) 100%),
  linear-gradient(0deg, rgba(10, 22, 12, .72) 0%, rgba(10, 22, 12, 0) 34%); }
.hero__inner { position: relative; padding: 140px 0 44px; }
.hero h1 { font-size: clamp(48px, 6.6vw, 92px); line-height: .98; max-width: 11ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero__lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 30rem; margin-top: 20px; color: rgba(255,255,255,.94); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__ctas .btn--solid { background: var(--green-700); border-color: #4f8a57; }
.proof { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.proof li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; line-height: 1.3; font-weight: 500; }
.proof a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }

/* Services */
.services { background: var(--cream); padding: 64px 0 60px; text-align: center; }
.services h2, .cta h2 { font-size: clamp(30px, 3.4vw, 40px); color: var(--ink); }
.svc { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.svc li { display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; line-height: 1.25; }
.svc__ico { width: 54px; height: 54px; }
.svc__ico .f { fill: var(--green-700); }
.svc__ico .s { fill: none; stroke: var(--green-700); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.svc__ico .w { fill: var(--cream); }
.svc__ico .w-s { fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round; }

/* Work */
.work { background: var(--green-800); color: var(--white); padding: 56px 0 44px; text-align: center; }
.work h2 { font-size: clamp(30px, 3.4vw, 40px); }
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; text-align: left; }
.ba { margin: 0; }
.ba__frame { position: relative; aspect-ratio: 3 / 2.2; overflow: hidden; border: 3px solid rgba(255,255,255,.9); border-radius: 2px; background: var(--green-900); }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); }
.ba__tag { position: absolute; bottom: 14px; background: var(--white); color: var(--ink); font: 700 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; border-radius: 2px; pointer-events: none; }
.ba__tag--l { left: 12px; }
.ba__tag--r { right: 12px; }
.ba__handle { position: absolute; top: 50%; left: var(--pos); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.3); display: grid; place-items: center; pointer-events: none; }
.ba__handle svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__frame:has(.ba__range:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.ba figcaption { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.82); text-align: center; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--cream); padding: 64px 0 60px; text-align: center; }
.cta__tree { position: absolute; left: -30px; bottom: -10px; width: 280px; height: auto; opacity: .2; }
.cta__tree .t { fill: none; stroke: var(--green-500); stroke-width: 16; stroke-linecap: round; }
.cta__tree .c { fill: var(--green-500); }
.cta__pines { position: absolute; right: 18px; bottom: 16px; width: 210px; color: var(--green-500); }
.cta__pines svg { width: 100%; height: auto; fill: currentColor; opacity: .85; }
.cta__script { white-space: nowrap; font: 500 26px/1.02 var(--script); color: var(--ink-2); transform: rotate(-6deg); margin-top: -8px; text-align: center; }
.cta__inner { position: relative; }
.cta .section-lede { max-width: 32rem; }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; font-size: 15px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 9px; }
.checks li::before { content: ""; width: 19px; height: 19px; border-radius: 50%; background: var(--green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.quote { margin: 30px auto 0; max-width: 34rem; }
.quote p { font: 600 italic 19px/1.4 var(--serif); color: var(--ink); }
.quote footer { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Footer */
.foot { background: var(--green-900); color: rgba(255,255,255,.86); padding: 34px 0 26px; font-size: 14.5px; }
.foot__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot__brand { display: flex; align-items: center; gap: 14px; line-height: 1.45; }
.foot__brand strong { color: var(--white); }
.foot__links { display: flex; gap: 24px; }
.foot__links a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding: 11px 0; }
.foot__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.72); }
.foot__note a { color: rgba(255,255,255,.9); }

/* Mobile call bar */
.callbar { display: none; }

/* Quote dialog */
.qd { width: min(460px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.qd::backdrop { background: rgba(10, 22, 12, .6); }
.qd__form { position: relative; padding: 28px 26px 24px; display: grid; gap: 14px; }
.qd h2 { font-size: 30px; margin-top: -6px; }
.qd .kicker { margin-bottom: 4px; }
.qd__note { font-size: 14.5px; color: var(--muted); }
.qd label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.qd .opt { font-weight: 400; color: var(--muted); }
.qd input, .qd select, .qd textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid #b9bfb5; border-radius: var(--radius); padding: 11px 12px; width: 100%; }
.qd input:focus, .qd select:focus, .qd textarea:focus { border-color: var(--green-500); outline: 2px solid rgba(63,107,69,.3); outline-offset: 0; }
.qd__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink-2); border-radius: 50%; }
.qd__x:hover { background: var(--cream); }
.qd__err { color: #9b1c1c; font-size: 14.5px; font-weight: 600; }
.qd__send { width: 100%; }
.qd__done { display: grid; gap: 12px; font-size: 14.5px; }
.qd__msg { margin: 0; white-space: pre-wrap; font: 400 14px/1.45 var(--sans); background: var(--cream); padding: 12px; border-radius: var(--radius); }
.qd__row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .ba-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .cta__pines { width: 150px; opacity: .55; }
  .cta__script { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .top__row { min-height: 64px; gap: 12px; }
  .top__cta { display: none; }
  .brand__mark { width: 36px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 10px; letter-spacing: .26em; }
  .hero { min-height: 0; }
  .hero__img { object-position: 70% 50%; }
  .hero__scrim { background: linear-gradient(0deg, rgba(10,22,12,.88) 0%, rgba(10,22,12,.7) 55%, rgba(10,22,12,.35) 100%); }
  .hero__inner { padding: 112px 0 32px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .proof { margin-top: 34px; gap: 16px 14px; }
  .proof li { font-size: 13.5px; gap: 10px; }
  .ico--lg { width: 30px; height: 30px; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__btns .btn { flex: 1 1 100%; }
  .cta__tree, .cta__pines { display: none; }
  .checks { flex-direction: column; align-items: center; gap: 10px; }
  .foot__note { padding-bottom: 6px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--green-900); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
  .callbar a, .callbar button { min-height: 48px; border-radius: var(--radius); font: 700 16px/1 var(--sans); display: grid; place-items: center; text-decoration: none; cursor: pointer; }
  .callbar__call { background: var(--orange); color: var(--ink); border: 0; }
  .callbar__quote { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.85); }
}
