:root {
  --page: #f3f3f0; --card: #ffffff; --ink: #161816; --muted: #5f645e; --line: #dfe1db;
  --sage: #6f8a69; --sage-deep: #4c6347; --sage-ink: #2b3d27; --mint: #d6e8cc; --mint-soft: #e9f2e2;
  --radius-lg: 28px; --radius: 20px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scrollbar-color: #a9b8a4 var(--page); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--page); color: var(--ink); font: 17px/1.6 "Inter Tight", system-ui, sans-serif; letter-spacing: -.008em; -webkit-font-smoothing: antialiased; }
::selection { background: var(--mint); color: var(--sage-ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: #6f8a6980; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.2vw, 58px); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 99px; z-index: 20; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { color: var(--muted); font-size: 20px; line-height: 1.5; max-width: 520px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 99px; font: 500 16px/1 "Inter Tight", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pill { white-space: nowrap; }
.pill svg { width: 16px; height: 16px; }
.pill.mint { background: var(--mint); color: var(--sage-ink); }
.pill.mint:hover { background: #c6dfb9; }
.pill.dark { background: var(--ink); color: #fff; }
.pill.dark:hover { background: var(--sage-deep); }
.pill.white { background: #fff; color: var(--ink); }
.pill.white:hover { background: var(--mint); }
.pill.ghost { border-color: #ffffff8c; color: #fff; }
.pill.ghost:hover { background: #ffffff1f; }
section { padding: 64px 0 0; scroll-margin-top: 20px; }

/* Hero */
.hero { margin-top: 18px; border-radius: var(--radius-lg); padding: 0; color: #fff; display: block; position: relative; overflow: hidden; isolation: isolate;
  background: #424c38; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none;
  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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 28px 16px 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.hero-stage { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(540px, 50vw, 680px); }
.hero-body { width: 100%; padding: 124px 36px 48px; }
.hero-copy { max-width: 480px; }
/* The photo is the panel: its sage wall on the left carries the heading. */
.hero-media { position: absolute; inset: 0; z-index: -1; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #39432fcc 0%, #39432f73 34%, #39432f00 52%), linear-gradient(180deg, #424c38 0%, #424c38d9 7%, #424c3866 15%, #424c3800 26%); }
.hero-media figcaption { position: absolute; right: 18px; bottom: 16px; z-index: 1; padding: 4px 10px; border-radius: 99px; background: #1b2118b3; font-size: 12px; color: #fff; }
.hero h1 { font-size: clamp(44px, 5.8vw, 84px); line-height: .98; letter-spacing: -.045em; }
.hero-copy p { max-width: 460px; margin-top: 24px; font-size: 21px; line-height: 1.45; }
.hero-copy .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }


/* Problems */
.problems-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.problems-head .lede { justify-self: end; }
.section-head { margin-bottom: 32px; }
.services-photo { grid-row: span 3; min-height: 100%; }
.services-photo img { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.problem .quote { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; color: #fff; }
.problem .quote small { font-size: 16px; font-weight: 500; opacity: .92; }
.problem .quote h3 { font-size: 30px; line-height: 1.1; }
.problem:nth-child(1) .quote { background: linear-gradient(150deg, #47603f, #5b7555); }
.problem:nth-child(2) .quote { background: linear-gradient(150deg, #263124, #61735d); }
.problem:nth-child(3) .quote { background: linear-gradient(150deg, #a3b487, #cfdcb3); color: var(--sage-ink); }
.problem .body { padding: 22px 26px 28px; display: grid; gap: 14px; }
.problem .body p { color: var(--muted); font-size: 17px; }
.problem .body strong { font-weight: 500; font-size: 19px; line-height: 1.35; letter-spacing: -.015em; }

/* About */

/* Services */
.service-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.service { background: var(--card); border-radius: var(--radius); padding: 26px 26px 28px; display: flex; flex-direction: column; }
.service .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.service .icon svg { width: 21px; height: 21px; }
.service h3 { font-size: 25px; margin-top: 18px; }
.service p { color: var(--muted); font-size: 17px; margin-top: 8px; }

/* AI */
.ai-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.ai-intro .lede { margin-top: 22px; }
.ai-intro figure { min-height: 100%; }
.ai-intro img { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; }
.ideas { display: grid; grid-auto-rows: 1fr; gap: 12px; margin-top: 28px; }
.idea { background: var(--mint-soft); border-radius: 16px; padding: 18px 22px 20px; }
.idea h3 { font-size: 23px; }
.idea p { color: var(--muted); font-size: 17px; margin-top: 4px; }
.story-frame { margin-top: 32px; background: var(--card); border-radius: var(--radius-lg); padding: 24px 40px 12px; }

/* Sam's story (structure shared with gsap-story.js) */
.scroll-story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; margin: 10px 0 0; padding-top: 0; }
.story-visual { position: relative; min-width: 0; background: var(--card); z-index: 2; padding: 16px 0; }
.motion-on .story-visual { position: sticky; top: 24px; }
.scene-heading { display: flex; justify-content: flex-end; padding-bottom: 12px; font-size: 15px; color: var(--ink); }
.scene-stage { color: var(--sage-deep); font-weight: 500; text-align: right; }
.transformation-art { width: 100%; height: auto; max-height: calc(100svh - 210px); display: block; }
.transformation-art text { font-family: "Inter Tight", system-ui, sans-serif; letter-spacing: -.01em; }
.old-route { opacity: 0; }
.intermediary { opacity: 0; }
.dependency-note { opacity: 0; }
.direct-route { stroke-dasharray: 1; stroke-dashoffset: 0; }
.review-note { opacity: 0; }
.scene-progress { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.progress-track { width: 100%; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress-track i { display: block; height: 100%; background: var(--sage); transform-origin: left; }
.story-panel { min-height: 40svh; display: flex; flex-direction: column; justify-content: center; padding: 36px 0; }
.story-index { display: block; font-size: 15px; color: var(--sage-deep); font-weight: 500; margin-bottom: 16px; }
.story-panel h3 { font-size: clamp(30px, 2.8vw, 42px); margin-bottom: 16px; }
.story-panel p { color: var(--muted); font-size: 19px; max-width: 440px; }
.story-narrative { padding-bottom: 16px; }
.motion-on .story-panel { transition: opacity .4s ease; }
.motion-on .story-panel:not(.is-active) { opacity: .3; }
html:not(.motion-layout) .story-panel { min-height: 0; padding: 26px 0; justify-content: flex-start; }
html:not(.motion-layout) .story-narrative { padding-bottom: 10px; }

/* Why */

/* Approach */
.approach-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.approach-head .lede { justify-self: end; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border-radius: var(--radius); padding: 26px 26px 30px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--sage-ink); font-weight: 600; font-size: 15px; }
.steps h3 { font-size: 26px; margin-top: 18px; }
.steps p { color: var(--muted); font-size: 17px; margin-top: 8px; }

/* Contact */
.contact { margin-top: 64px; border-radius: var(--radius-lg); padding: 56px; color: #fff; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; background: radial-gradient(40% 60% at 100% 110%, #9fb68f 0%, transparent 70%), linear-gradient(140deg, #47603f, #5b7555); scroll-margin-top: 20px; }
.contact > * { min-width: 0; }
.contact > div:first-child { display: flex; flex-direction: column; }
.contact-photo { flex: 1; min-height: 220px; margin-top: 32px; }
.contact-photo img { width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; }
.contact > div > p { color: #fff; font-size: 20px; line-height: 1.5; margin-top: 20px; max-width: 440px; }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: grid; gap: 6px; min-width: 0; }
.contact-field label { font-size: 14px; font-weight: 500; }
.contact-field label span { color: var(--muted); font-weight: 400; }
.contact-field input, .contact-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd4ca; border-radius: 12px; background: #fafbf8; font: inherit; color: var(--ink); caret-color: var(--sage-deep); }
.contact-field input:hover, .contact-field textarea:hover { border-color: #aab5a4; }
.contact-field textarea { resize: vertical; min-height: 130px; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-privacy { font-size: 13px; color: var(--muted); }
.contact-form .pill { justify-self: start; }
.contact-form .pill:disabled { opacity: .6; cursor: progress; }
.contact-status:empty { display: none; }
.contact-status { font-size: 15px; font-weight: 500; color: var(--sage-ink); }

footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .logo { color: var(--ink); }
footer address { font-style: normal; margin-top: 12px; line-height: 1.7; }
footer nav { display: flex; gap: 22px; align-items: start; }


@media (max-width: 1000px) {
}
@media (max-width: 900px) {
  .wrap { padding: 0 14px; }
  section { padding-top: 48px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .ideas { grid-auto-rows: auto; }
  .services-photo { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .ai-intro figure { aspect-ratio: 16 / 9; }
  .nav { padding: 12px 14px 12px 18px; }
  .hero-stage { align-items: flex-start; min-height: 600px; }
  .hero-body { padding: 96px 20px 300px; }
  .hero-copy { max-width: 340px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero-copy p { font-size: 18px; }
  .problems-head, .ai-intro, .approach-head, .contact { grid-template-columns: 1fr; gap: 28px; }
  .problems-head .lede, .approach-head .lede, .services-photo { justify-self: start; max-width: none; }
  .problem-grid, .service-grid, .ideas, .steps { grid-template-columns: 1fr; }
  .story-frame { padding: 4px 18px 10px; }
  .scroll-story { display: block; }
  .motion-on .story-visual { top: 0; }
  .transformation-art { max-height: 36svh; }
  .story-panel { min-height: 40svh; padding: 28px 0 36px; justify-content: flex-start; }
  .story-panel h3 { font-size: 28px; }
  .story-narrative { padding-bottom: 6svh; }
  .contact { padding: 34px 18px 18px; margin: 48px -14px 0; border-radius: 0; }
  .contact-form { padding: 20px 14px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-photo { display: none; }
  footer { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .transformation-art .svg-small { display: none; }
}
@media (min-width: 600px) and (max-width: 900px) {
}
@media (max-width: 900px) {
  .hero-media { top: 314px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .hero-media img { object-position: 78% 40%; }
  .hero-media::after { display: none; }
}
@media (min-width: 600px) and (max-width: 900px) { .hero-stage { min-height: 640px; } .hero-body { padding-bottom: 260px; } .hero-copy { max-width: 460px; } .hero-media { top: 120px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%); } .hero-media::after { display: none; } .hero-media img { object-position: 70% 60%; } }
/* Cloudflare's check box is a fixed 300px wide; on the narrowest phones the form runs edge to edge so it fits. */
@media (max-width: 360px) {
  .nav .logo { font-size: 22px; gap: 10px; }
  .nav .logo svg { width: 38px; height: 38px; }
  .contact { padding-left: 0; padding-right: 0; }
  .contact > div { padding: 0 18px; }
  .contact-form { border-radius: 0; padding: 20px 10px; }
}
@media (max-height: 540px) {
  .motion-on .story-visual, .story-visual { position: relative; }
  .story-panel { min-height: 0; padding: 26px 0; }
}
@media print {
  .contact-form { display: none; }
  .intermediary, .dependency-note, .old-route, .review-note { opacity: 0 !important; }
  .owned-service, .ownership-note, .portal-row, .portal-order, .story-panel { opacity: 1 !important; transform: none !important; }
  .direct-route { stroke-dashoffset: 0 !important; }
  .story-visual, .motion-on .story-visual { position: relative !important; top: 0 !important; }
  .story-panel { min-height: 0 !important; padding: 20px 0 !important; break-inside: avoid; }
  .story-narrative { padding-bottom: 0 !important; }
}

/* Privacy page */
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.page-header .logo { color: var(--ink); }
.privacy { max-width: 720px; padding: 40px 0 24px; color: #3b3f3a; }
.privacy h1 { font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -.045em; color: var(--ink); }
.privacy-updated { margin-top: 12px; font-size: 14px; color: var(--muted); }
.privacy h2 { font-size: 24px; margin: 40px 0 10px; color: var(--ink); }
.privacy p + p { margin-top: 12px; }

