/* Global Brand Scale: site styles. v1 brand palette; "lab" look: dark glowing hero, Geist type, mono labels, marker tags. */
@font-face { font-family: 'Geist'; src: url(/assets/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/assets/fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Permanent Marker'; src: url(/assets/fonts/permanent-marker.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --green: #1F4D3A;
  --green-deep: #173B2C;
  --night: #10291F;
  --glow: #2E6B51;
  --cream: #F5EFE4;
  --sand: #ECE3D3;
  --cognac: #8A5A2E;
  --cognac-light: #D2A271;
  --white: #FFFFFF;
  --ink: #1C2B23;
  --muted: #56655C;
  --line: rgba(31, 77, 58, .14);
  --on-dark: rgba(245, 239, 228, .78);
  --line-dark: rgba(245, 239, 228, .16);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --marker: 'Permanent Marker', 'Comic Sans MS', cursive;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --navh: 84px;
  --shadow: 0 1px 2px rgba(23, 59, 44, .06), 0 12px 32px -12px rgba(23, 59, 44, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cognac); }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; color: var(--green); margin: 0; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.06; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
h2 em, h3 em { font-style: normal; color: var(--cognac); }
/* the headline accent is hand-marked, like a note in the margin */
h1 em { font-family: var(--marker); font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--cognac-light); }
strong { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cognac); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 500 .74rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cognac); margin: 0 0 18px; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }

/* marker tag under a section heading (generator turns data-tag="..." into <p class="tag">) */
.tag { font: 400 clamp(1.7rem, 3.2vw, 2.6rem)/1.2 var(--marker); color: var(--cognac); margin: -.12em 0 0 1.1em; padding: .1em .2em; transform: rotate(-3deg); transform-origin: left center; width: max-content; max-width: 100%; pointer-events: none; }
.section-head--center .tag { margin-left: auto; margin-right: auto; transform-origin: center; }
.section--green .tag, .cta .tag { color: var(--cognac-light); }
.section-head .tag + .lead { margin-top: 16px; }
.js .tag { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .15s; }
.js .tag.in { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: 600 .95rem/1.2 var(--sans); letter-spacing: -.005em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: var(--cream); }
.btn--primary:hover { background: var(--green-deep); color: var(--white); }
.btn--ghost { border-color: rgba(31, 77, 58, .35); color: var(--green); background: transparent; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); background: rgba(31, 77, 58, .05); }
.btn--cream { background: var(--cream); color: var(--green-deep); }
.btn--cream:hover { background: var(--white); color: var(--green-deep); }
.btn--small { min-height: 42px; padding: 10px 20px; font-size: .875rem; }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem/1.4 var(--sans); color: var(--green); text-decoration: none; border-bottom: 1px solid var(--cognac); padding-bottom: 3px; }
.link-arrow::after { content: '\2192'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- header: a floating pill over the hero, one "What we do" mega menu */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px var(--gutter) 0; pointer-events: none; }
.nav__inner { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 20px; max-width: 1080px; margin: 0 auto; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(16, 41, 31, .55); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); transition: max-width .5s var(--ease), background .3s, box-shadow .3s; }
.nav.is-scrolled .nav__inner { max-width: 940px; background: rgba(16, 41, 31, .9); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.nav__logo { flex: none; display: block; }
.nav__logo img { width: 156px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links > a, .nav__drop > button { font: 500 .9rem/1 var(--sans); color: var(--on-dark); text-decoration: none; padding: 12px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: color .2s, background .2s; }
.nav__links > a:hover, .nav__drop > button:hover, .nav__links > a[aria-current="page"], .nav__drop.is-current > button, .nav__drop.is-open > button { color: var(--cream); background: rgba(245, 239, 228, .09); }
.nav__drop > button::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .25s var(--ease); }
.nav__drop.is-open > button::after { transform: rotate(-135deg) translateY(-1px); }
/* the panel anchors to the pill (the drop itself is static), so it centres under the whole bar */
.nav__mega { position: absolute; top: calc(100% + 12px); left: 50%; width: min(880px, calc(100vw - 2 * var(--gutter))); display: grid; grid-template-columns: 1fr 1fr .95fr; gap: 6px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s, transform .3s var(--ease), visibility .22s; }
.nav__mega::before { content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
@media (hover: hover) { .nav__drop:hover .nav__mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
html:not(.js) .nav__drop:focus-within .nav__mega, .nav__drop.is-open .nav__mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__col { padding: 6px; }
.nav__h { display: block; font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cognac); margin: 8px 12px 10px; }
.nav__col a { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.nav__col a strong { display: block; font: 600 .92rem/1.3 var(--sans); color: var(--green); }
.nav__col a span { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.nav__col a:hover, .nav__col a[aria-current="page"] { background: var(--cream); }
.nav__promo { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; text-decoration: none; color: var(--on-dark); background: radial-gradient(90% 80% at 100% 0%, rgba(58, 128, 96, .6) 0%, rgba(58, 128, 96, 0) 70%), var(--night); }
.nav__promo .nav__h { margin: 0; color: var(--cognac-light); }
.nav__promo strong { font: 600 1.25rem/1.2 var(--sans); letter-spacing: -.025em; color: var(--cream); text-wrap: balance; }
.nav__promo span:not(.nav__h) { font-size: .85rem; line-height: 1.5; }
.nav__promo em { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font: 600 .88rem/1 var(--sans); font-style: normal; color: var(--cream); }
.nav__promo em svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__promo:hover { color: var(--cream); }
.nav__promo:hover em svg { transform: translateX(3px); }
.nav__cta { flex: none; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(245, 239, 228, .08); cursor: pointer; position: relative; }
.nav__toggle span:not(.sr) { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--night); overflow-y: auto; padding: 100px var(--gutter) 40px; }
.menu[hidden] { display: none; }
.menu h2, .menu__h { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cognac-light); margin: 22px 0 6px; }
.menu a:not(.btn) { display: block; padding: 12px 0; font: 600 1.3rem/1.2 var(--sans); letter-spacing: -.02em; color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.menu .btn { width: 100%; margin-top: 28px; background: var(--cream); color: var(--green-deep); }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__inner { padding: 6px 6px 6px 18px; }
  .nav__logo img { width: 140px; }
}

/* ---------------------------------------------------------------- dark "lab" heroes: night green, slow drifting glows */
.hero, .phero { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 92% 20%, rgba(46, 107, 81, .55) 0%, rgba(46, 107, 81, 0) 70%), var(--night); color: var(--cream); }
.hero::before, .phero::before, .hero::after, .phero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before, .phero::before { width: 62vw; height: 62vw; max-width: 860px; max-height: 860px; right: -14vw; top: -22vw; background: radial-gradient(circle, rgba(58, 128, 96, .5) 0%, rgba(58, 128, 96, 0) 64%); animation: drift 19s ease-in-out infinite alternate; }
.hero::after, .phero::after { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -16vw; bottom: -26vw; background: radial-gradient(circle, rgba(210, 162, 113, .16) 0%, rgba(210, 162, 113, 0) 64%); animation: drift 23s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-6vw, 8vw) scale(1.12); } }
.hero > .wrap, .phero > .wrap { position: relative; z-index: 1; }
.hero h1, .phero h1 { color: var(--cream); }
.hero .eyebrow, .phero .eyebrow { display: inline-block; font: 600 .7rem/1 var(--sans); letter-spacing: .16em; color: var(--on-dark); border: 1px solid var(--line-dark); background: rgba(245, 239, 228, .04); border-radius: 999px; padding: 9px 14px; margin-bottom: 22px; }
.hero .btn--primary, .phero .btn--primary { background: var(--cream); color: var(--green-deep); }
.hero .btn--primary:hover, .phero .btn--primary:hover { background: var(--white); color: var(--green-deep); }
.hero .btn--ghost, .phero .btn--ghost { border-color: rgba(245, 239, 228, .3); color: var(--cream); }
.hero .btn--ghost:hover, .phero .btn--ghost:hover { border-color: var(--cream); background: rgba(245, 239, 228, .06); color: var(--cream); }

/* ---------------------------------------------------------------- page hero */
.phero { padding: calc(var(--navh) + clamp(28px, 5vw, 64px)) 0 clamp(64px, 8vw, 104px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 48px; align-items: center; }
.phero__copy { max-width: 780px; }
.phero__title { margin-bottom: 26px; }
.phero__title--long { font-size: clamp(2.2rem, 4.1vw, 3.5rem); }
.phero__lead { font-size: 1.2rem; line-height: 1.65; max-width: 640px; margin-bottom: 32px; color: var(--on-dark); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phero__art { position: relative; justify-self: end; width: min(100%, 360px); }
.phero__art img { width: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font: 500 .74rem/1.4 var(--mono); letter-spacing: .04em; color: rgba(245, 239, 228, .55); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { color: rgba(245, 239, 228, .7); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.meta-line { font: 500 .8rem/1.5 var(--mono); color: rgba(245, 239, 228, .6); margin-top: 22px; }

/* orbit: a cognac dot travelling the ring of the mark (the mark sits tone-on-tone on the night green) */
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit__dot { fill: var(--cognac-light); }

/* headline word reveal (spans added by the generator) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
h1 em .w { padding: .12em .06em .14em; margin: -.12em -.06em -.14em; }
.wi { display: inline-block; }
.js .wi { transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(.08s + var(--i) * .045s); }
.js [data-hero-fade] { opacity: 0; animation: fade .8s var(--ease) .45s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- home hero */
.hero { padding: calc(var(--navh) + clamp(20px, 3vw, 40px)) 0 clamp(36px, 4vw, 56px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.2rem); margin-bottom: 26px; }
.hero__lead { font-size: 1.2rem; line-height: 1.65; max-width: 600px; margin-bottom: 34px; color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 26px; font: 500 .85rem/1.6 var(--sans); color: rgba(245, 239, 228, .6); max-width: 520px; }
.hero__visual { position: relative; padding: 24px 0; }
.hero__mark { position: absolute; width: 88%; right: -10%; top: 50%; transform: translateY(-50%); }

.orbit-mark { position: relative; }
.ai { position: relative; margin: 0; background: var(--white); border-radius: 22px; box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 40px 80px -30px rgba(0, 0, 0, .55); border: 1px solid rgba(245, 239, 228, .2); overflow: hidden; color: var(--ink); }
.ai__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ai__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.ai__bar span { margin-left: auto; letter-spacing: .06em; }
.ai__body { padding: 22px 22px 26px; display: grid; gap: 16px; }
.ai__q { margin: 0; justify-self: end; max-width: 88%; background: var(--green); color: var(--cream); padding: 14px 18px; border-radius: 18px 18px 4px 18px; font-size: .95rem; line-height: 1.55; }
.ai__a { font-size: .95rem; line-height: 1.65; color: var(--ink); min-height: 11.5em; }
.ai__a p { margin: 0 0 .7em; }
.ai__a mark { background: linear-gradient(transparent 60%, rgba(138, 90, 46, .22) 60%); color: var(--green); font-weight: 600; padding: 0 2px; }
.ai__src { display: flex; flex-wrap: wrap; gap: 8px; }
.ai__src span { font: 500 .72rem/1 var(--mono); padding: 8px 12px; border-radius: 999px; background: var(--cream); color: var(--green); border: 1px solid var(--line); }
.ai__tag { position: absolute; right: 14px; bottom: 12px; font: 500 .66rem/1 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.js .ai__a [data-word] { opacity: 0; transition: opacity .25s; }
.js .ai__a [data-word].on { opacity: 1; }
.js .ai__src span { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.js .ai__src.on span { opacity: 1; transform: none; }
.js .ai__src.on span:nth-child(2) { transition-delay: .12s; }
.js .ai__src.on span:nth-child(3) { transition-delay: .24s; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--cognac); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* AI tools strip at the foot of the home hero (plain names, a slow marquee) */
.tools { display: flex; align-items: center; gap: 28px; margin-top: clamp(36px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line-dark); }
.tools__label { flex: none; margin: 0; max-width: 210px; font: 500 .7rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 239, 228, .55); }
.tools__track { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tools__list { flex: none; display: flex; gap: 48px; margin: 0; padding: 0 48px 0 0; list-style: none; animation: marquee 34s linear infinite; }
.tools__list li { font: 600 1.05rem/1.4 var(--sans); letter-spacing: -.01em; color: var(--on-dark); white-space: nowrap; }
.tools__track:hover .tools__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(68px, 9vw, 124px) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--green { background: var(--green); color: var(--cream); }
.section--green h2, .section--green h3 { color: var(--cream); }
.section--green h2 em, .section--green h3 em { color: var(--cognac-light); }
.section--green .eyebrow { color: var(--cognac-light); }
.section--green .lead, .section--green p { color: rgba(245, 239, 228, .86); }
.section--green a:not(.btn) { color: var(--cream); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 + .lead { margin-top: 20px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.split__head { position: sticky; top: 112px; }
.prose { max-width: 680px; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.3rem; }
.prose ul:not(.checks):not(.prompts), .prose ol:not(.steps) { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .link-arrow { margin-top: 10px; }
.prose .links { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 26px 0 0; }
.prose .links .link-arrow { margin-top: 0; }

.checks { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: rgba(138, 90, 46, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%238A5A2E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.section--green .checks li::before { background-color: rgba(210, 162, 113, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23D2A271' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-bottom: 0; }
.card p + p { margin-top: .8em; }
/* mono index labels: [01], [WHERE WE START] */
.card__kicker { font: 500 .76rem/1 var(--mono) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--cognac) !important; margin-bottom: 18px !important; }
.card__kicker::before { content: '['; }
.card__kicker::after { content: ']'; }
.section--sand .card { background: var(--cream); }
.section--white .card { background: var(--cream); border-color: transparent; }
.section--green .card { background: rgba(255, 255, 255, .05); border-color: rgba(245, 239, 228, .14); }
.section--green .card p { color: rgba(245, 239, 228, .78); }
.section--green .card__kicker { color: var(--cognac-light) !important; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(31, 77, 58, .3); }
a.card .link-arrow { margin-top: 22px; border: 0; padding: 0; }

/* service grid: AI visibility gets the large night-green tile */
.svc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.svc .card { grid-column: span 2; display: flex; flex-direction: column; }
.svc .card .link-arrow { margin-top: auto; padding-top: 22px; }
.svc .card--feature { grid-column: span 4; grid-row: span 2; background: radial-gradient(80% 90% at 100% 100%, rgba(46, 107, 81, .7) 0%, rgba(46, 107, 81, 0) 70%), var(--night); border-color: var(--night); color: var(--cream); padding: clamp(32px, 4vw, 52px); position: relative; overflow: hidden; }
.svc .card--feature h3 { color: var(--cream); font-size: clamp(1.8rem, 2.8vw, 2.4rem); max-width: 16ch; }
.svc .card--feature p { color: rgba(245, 239, 228, .8); font-size: 1.08rem; max-width: 46ch; }
.svc .card--feature .card__kicker { color: var(--cognac-light) !important; }
.svc .card--feature .link-arrow { color: var(--cream); }
.svc .card--feature img { position: absolute; width: 58%; right: -14%; bottom: -16%; opacity: .12; }
.svc .card--feature > :not(img) { position: relative; }
.svc--compact .card { grid-column: span 3; }
.svc--compact .card--feature { grid-column: span 6; grid-row: auto; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before { content: '[' counter(step, decimal-leading-zero) ']'; position: absolute; top: 0; left: 0; font: 500 1rem/1 var(--mono); letter-spacing: .06em; color: var(--cognac); }
.steps li::after { content: ''; position: absolute; top: 8px; left: 56px; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
.section--green .steps li::before { color: var(--cognac-light); }
.section--green .steps li::after { background: rgba(245, 239, 228, .18); }
.section--green .steps p { color: rgba(245, 239, 228, .78); }
.prose .steps { grid-template-columns: 1fr; gap: 26px; margin: 0 0 1.4em; }
.prose .steps li { padding: 0 0 0 64px; }
.prose .steps li::before { top: 5px; }
.prose .steps li::after { display: none; }
.prose .steps h3 { margin: 0 0 6px; font-size: 1.2rem; }

.callout { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--cognac); border-radius: 4px var(--radius) var(--radius) 4px; padding: 24px 28px; margin: 1.6em 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: .7em; }
.section--white .callout { background: var(--cream); }

.prompts { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.prompts li { position: relative; justify-self: start; max-width: 92%; background: var(--white); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: 13px 18px 13px 46px; font-size: .98rem; line-height: 1.5; box-shadow: 0 6px 18px -12px rgba(23, 59, 44, .3); }
.prompts li::before { content: ''; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23F5EFE4'/%3E%3C/svg%3E") center/18px no-repeat; }
.prompts li:nth-child(even) { justify-self: end; }
.section--white .prompts li { background: var(--cream); }

/* ---------------------------------------------------------------- practice tiles */
.pa { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pa .card { display: flex; flex-direction: column; min-height: 100%; }
.pa .card h3 { font-size: 1.4rem; }
.pa .card .link-arrow { margin-top: auto; padding-top: 22px; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 1.15rem/1.4 var(--sans); letter-spacing: -.015em; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 300 1.7rem/1 var(--sans); color: var(--cognac); transition: transform .3s var(--ease); margin-top: -2px; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 48px 24px 0; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------------------------------------------------------------- audit CTA + form */
.cta { background: radial-gradient(60% 80% at 100% 0%, rgba(46, 107, 81, .5) 0%, rgba(46, 107, 81, 0) 70%), var(--green); color: var(--cream); padding: clamp(68px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; position: relative; }
.cta h2 { color: var(--cream); }
.cta h2 em { color: var(--cognac-light); }
.cta .tag { margin-bottom: 18px; }
.cta .eyebrow { color: var(--cognac-light); }
.cta p { color: rgba(245, 239, 228, .86); }
.cta .checks li::before { background-color: rgba(210, 162, 113, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23D2A271' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cta__mark { position: absolute; width: 520px; left: -160px; bottom: -220px; opacity: .06; pointer-events: none; }
.form { background: var(--cream); color: var(--ink); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form__sub { color: var(--muted) !important; font-size: .95rem; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form__full { grid-column: 1 / -1; }
.form label { display: block; font: 500 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 7px; }
.form label small { font-weight: 400; color: var(--muted); letter-spacing: 0; text-transform: none; }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1px solid rgba(31, 77, 58, .22); border-radius: 12px; padding: 13px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 96px; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231F4D3A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 77, 58, .15); }
.form .btn { width: 100%; margin-top: 8px; }
.form__fine { font-size: .8rem !important; line-height: 1.55; color: var(--muted) !important; margin: 14px 0 0 !important; }
.form__fine a { color: var(--green); }
.hp { position: absolute; left: -9999px; }
/* audit page: form beside the details on desktop, form first on phones */
.audit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.audit__form { order: 2; position: sticky; top: 104px; }
.audit .form { background: var(--cream); }

/* ---------------------------------------------------------------- mid-page audit band */
.band-wrap { padding: clamp(28px, 4vw, 56px) 0; }
.band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 28px; color: var(--on-dark); background: radial-gradient(60% 90% at 100% 0%, rgba(58, 128, 96, .55) 0%, rgba(58, 128, 96, 0) 70%), radial-gradient(50% 70% at 0% 100%, rgba(210, 162, 113, .14) 0%, rgba(210, 162, 113, 0) 70%), var(--night); }
.band .eyebrow { color: var(--cognac-light); }
.band h2 { color: var(--cream); margin-bottom: 18px; }
.band h2 em { color: var(--cognac-light); }
.band__copy p:not(.eyebrow) { max-width: 460px; }
.band .btn { margin-top: 8px; }
.report { background: var(--white); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(1.2deg); }
.report__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.report__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.report__bar span { margin-left: auto; letter-spacing: .06em; }
.report__rows { list-style: none; margin: 0; padding: 6px 22px 12px; counter-reset: r; }
.report__rows li { counter-increment: r; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.report__rows li:last-child { border-bottom: 0; }
.report__rows li::before { content: '[' counter(r, decimal-leading-zero) ']'; grid-row: span 2; font: 500 .74rem/1.75 var(--mono); color: var(--cognac); }
.report__rows strong { font: 600 .98rem/1.35 var(--sans); color: var(--green); }
.report__rows span { font-size: .85rem; line-height: 1.45; color: var(--muted); }

/* ---------------------------------------------------------------- phone audit bar (shows after the hero, hides while the form is on screen) */
.mbar { display: none; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--night); color: rgba(245, 239, 228, .78); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 210px; margin-bottom: 20px; }
.footer__brand p { max-width: 340px; }
.footer h2 { font: 500 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cognac-light); margin: 6px 0 18px; }
.footer nav a { display: block; color: rgba(245, 239, 228, .82); text-decoration: none; padding: 6px 0; }
.footer nav a:hover { color: var(--white); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; color: rgba(245, 239, 228, .6); }
.footer__base a { color: rgba(245, 239, 228, .75); }

/* ---------------------------------------------------------------- article */
.article { max-width: 760px; }
.article .prose { max-width: none; }
.article-meta { font: 500 .85rem/1.5 var(--mono); color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------- reveal (GSAP adds .in; CSS fallback keeps content visible) */
.js [data-fade], .js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-fade].in, .js [data-stagger] > .in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .svc .card, .svc--compact .card { grid-column: span 3; }
  .svc .card--feature, .svc--compact .card--feature { grid-column: span 6; grid-row: auto; }
  .pa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .steps li:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid, .phero__grid, .split, .cta__grid, .audit { grid-template-columns: 1fr; }
  .audit__form { order: 0; position: static; }
  .phero__art { display: none; }
  .split__head { position: static; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .hero__mark { width: 70%; right: -20%; }
  .band { grid-template-columns: 1fr; }
  .report { transform: none; }
}
@media (max-width: 720px) {
  .mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 20px; border-radius: 999px; background: rgba(16, 41, 31, .94); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55); color: var(--cream); text-decoration: none; font: 600 .92rem/1.2 var(--sans); transition: transform .45s var(--ease), opacity .3s; }
  .mbar:hover { color: var(--cream); }
  .mbar__go { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--cream); color: var(--green-deep); }
  .mbar__go svg { width: 15px; height: 15px; }
  .js .mbar { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .js .mbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .has-mbar .footer { padding-bottom: 104px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .svc .card, .svc--compact .card { grid-column: 1 / -1; }
  .pa { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .steps li::after { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .phero__actions .btn, .hero__actions .btn { width: 100%; }
  .card { padding: 26px 22px; }
  .faq summary { font-size: 1.08rem; }
  .faq details > div { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .ai__body { padding: 18px 16px 30px; }
  .ai__a { min-height: 13.5em; }
  .hero::before, .phero::before { width: 110vw; height: 110vw; right: -50vw; top: -40vw; }
  .tools { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tools__label { max-width: none; }
  .tools__track { flex: none; width: 100%; }
  .band { border-radius: 22px; }
  .report__rows { padding: 4px 16px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
