@font-face { font-family: 'Hanken Grotesk'; src: url('assets/fonts/hanken-grotesk-regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('assets/fonts/hanken-grotesk-medium.ttf') format('truetype'); font-weight: 500 800; font-style: normal; font-display: swap; }
:root {
  --paper: #f8f9f6; --white: #fff; --ink: #202823; --muted: #505c54; --green: #305b4d; --pine: #142d25; --pine-alt: #213c32;
  --sage: #e7ede3; --sage-deep: #dce6d7; --chalk: #eef0ea; --accent: #def0c5;
  --font: 'Hanken Grotesk', Arial, sans-serif; --gutter: clamp(22px, 5.5vw, 80px); --max: 1320px;
  --small: 14px; --body: 18px; --lead: 24px; --heading: clamp(38px, 4.2vw, 60px); --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body { margin: 0; font: 400 var(--body)/1.55 var(--font); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sage-deep); color: var(--ink); }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color .2s, color .2s, transform .2s var(--ease); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
a:active, button:active { transform: translateY(1px); }
[hidden] { display: none !important; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3,h4 { font-weight: 500; text-wrap: balance; }
h1,h2 { line-height: 1.04; letter-spacing: -.055em; }
h2 { font-size: var(--heading); }
h3 { line-height: 1.15; letter-spacing: -.035em; }
p { text-wrap: pretty; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 16px; left: 20px; z-index: 40; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
#main:focus { outline: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.identity { font-size: 28px; font-weight: 500; letter-spacing: -.045em; line-height: 1.15; }
.identity span { display: block; font-size: var(--small); letter-spacing: 0; margin-top: 4px; color: var(--muted); }
nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
nav a { padding: 12px 0; }
nav a:hover, nav a[aria-current='location'] { text-decoration: underline; }
.nav-contact { padding: 13px 23px; border-radius: 100px; background: var(--pine); color: var(--paper); }
nav .nav-contact { padding-inline: 23px; }
.nav-contact:hover { background: var(--green); }
.menu-toggle { border: 0; background: var(--chalk); min-height: 44px; padding: 10px 13px; }
.menu-toggle span { margin-left: 12px; }
.hero { display: grid; grid-template-columns: 1.65fr 1fr; gap: 7%; align-items: center; padding-block: 65px 72px; }
.hero-content { min-width: 0; }
.hero h1 { font-size: clamp(48px, 5.1vw, 74px); letter-spacing: -.05em; }
.hero-intro { font-size: 20px; line-height: 1.5; max-width: 53ch; margin-top: 30px; }
.hero-routes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.hero-contact-note { max-width: 48ch; margin-top: 15px; font-size: var(--small); color: var(--muted); }
.hero-fit { padding: 38px 32px; background: var(--sage); border-radius: 18px; }
.hero-fit h2 { font-size: 32px; letter-spacing: -.04em; }
.hero-fit > p { font-size: 16px; margin-top: 20px; }
.fit-options { display: grid; gap: 28px; margin-top: 36px; }
.fit-options a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 6px; }
.fit-options a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.fit-options strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.fit-options small { display: block; font-size: var(--small); margin-top: 7px; line-height: 1.5; }
.hero-fit .fit-note { margin-top: 34px; font-size: var(--small); color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; border: 0; border-radius: 100px; padding: 15px 25px; font-size: 16px; }
.button-light { background: var(--white); color: var(--pine); }
.button-light:hover { background: var(--accent); transform: translateY(-2px); }
.button-glass { background: #365044; color: var(--white); }
.button-glass:hover { background: #436050; transform: translateY(-2px); }
.button-dark { background: var(--pine); color: var(--white); }
.button-dark:hover { background: var(--green); transform: translateY(-2px); }
.hero-audiences { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 18px; font-size: 16px; }
.hero-audiences a { padding-block: 10px; text-decoration: underline; }
.hero-audiences .ask-work { color: var(--ink); }
.section { padding-block: 110px; }
.introduction { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12%; padding-block: 110px 75px; }
.introduction h2 { font-size: clamp(38px, 3.7vw, 54px); }
.introduction p:first-child { font-size: 28px; line-height: 1.4; letter-spacing: -.025em; }
.introduction p + p { margin-top: 24px; }
.text-link { display: inline-block; text-decoration: underline; font-size: 16px; padding-block: 10px; }
.text-link:hover { color: var(--green); }
.introduction .text-link { margin-top: 18px; }
.affiliations { padding-block: 35px 0; }
.affiliations h2 { font-size: 18px; letter-spacing: 0; line-height: 1.5; margin-bottom: 35px; }
.brand-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px; }
.brand-list a { display: flex; flex-direction: column; align-items: start; gap: 18px; }
.brand-list img { width: 150px; max-width: 100%; height: 50px; object-fit: contain; object-position: left center; }
.brand-list strong { height: 50px; display: flex; align-items: center; font-size: 24px; font-weight: 500; letter-spacing: -.04em; }
.brand-list span,.brand-note { font-size: var(--small); }
.brand-list a:hover span { text-decoration: underline; }
.brand-list .ecom-brand { gap: 9px; font-size: 20px; line-height: 1.05; }
.brand-list .ecom-brand img { width: 36px; height: 36px; flex: 0 0 36px; }
.brand-note { margin-top: 25px; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 38px; }
.section-heading > p { max-width: 400px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.project-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.project-filters button { background: var(--chalk); color: var(--ink); border: 0; border-radius: 100px; min-height: 44px; padding: 10px 19px; font-size: var(--small); }
.project-filters button[aria-pressed='true'] { background: var(--pine); color: var(--paper); }
.project-filters button:hover { background: var(--sage-deep); color: var(--pine); }
.filter-status,.draft-note { font-size: var(--small); color: var(--muted); }
.filter-status { white-space: nowrap; }
.draft-note { max-width: 85ch; margin-bottom: 42px; }
.project-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 65px 38px; align-items: start; }
.project-row { min-width: 0; scroll-margin-top: 120px; }
.project-row:nth-child(even) { margin-top: 80px; }
.project-list:has(.project-row[hidden]) .project-row { margin-top: 0; }
.project-image { margin-bottom: 23px; }
.project-image img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 18px; transition: transform .5s var(--ease); }
.project-image a { display: block; border-radius: 18px; overflow: hidden; }
.project-image a:hover img { transform: scale(1.025); }
.project-image figcaption { font-size: var(--small); color: var(--muted); padding-top: 10px; }
.project-title h3 { font-size: clamp(30px, 2.8vw, 40px); }
.project-title > p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.project-copy { margin-top: 21px; }
.project-copy p { max-width: 58ch; }
.project-copy .project-caveat { font-size: 16px; margin-top: 16px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px 25px; align-items: center; margin-top: 15px; }
.ask-work { background: none; border: 0; font-size: 16px; color: var(--green); text-decoration: underline; text-underline-offset: 5px; padding: 12px 0; }
.workflow-illustration { aspect-ratio: 3/2; border-radius: 18px; background: #d6e2dc; display: flex; flex-direction: column; justify-content: center; gap: 35px; padding: 40px; }
.workflow-hub { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.045em; }
.workflow-illustration > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.workflow-illustration > div span { background: #f3f6f0; padding: 16px; font-size: 16px; text-align: center; border-radius: 100px; }
.expertise-wrap { background: var(--chalk); }
#expertise { display: grid; grid-template-columns: .9fr 1.5fr; gap: 10%; }
#expertise .section-heading { display: block; margin: 0; }
#expertise .section-heading p { margin-top: 30px; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 36px; }
.capabilities h3 { font-size: 24px; margin-bottom: 16px; }
.capabilities p { font-size: 16px; }
.experience-section { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.experience-intro p { margin-top: 30px; max-width: 41ch; }
.experience-intro .text-link { margin-top: 25px; }
.about-portrait { margin-top: 34px; }
.about-portrait img { display: block; width: 100%; height: auto; border-radius: 12px; }
.about-portrait figcaption { margin-top: 9px; font-size: var(--small); color: var(--muted); }
.enquiry-brief { padding-left: 22px; margin-block: 22px; }
.enquiry-brief li + li { margin-top: 10px; }
.contact-path .contact-note { font-size: var(--small); margin-top: 20px; max-width: 42ch; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li + li { margin-top: 42px; }
.timeline h3 { font-size: 28px; margin-bottom: 12px; }
.timeline-meta { display: flex; justify-content: space-between; gap: 20px; font-size: var(--small); margin-bottom: 18px; color: var(--green); }
.timeline p { font-size: 16px; }
.speaking-section { padding-block: 90px; background: var(--sage); }
.speaking-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12%; }
.speaking-intro > p { margin-top: 25px; }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.engagements h3 { font-size: 24px; margin-bottom: 12px; }
.engagements p { font-size: 16px; }
.agent-feature { margin-block: 110px 0; padding: 65px; border-radius: 22px; background: var(--pine); color: var(--paper); display: grid; grid-template-columns: 1.2fr 1fr; gap: 12%; align-items: center; }
.agent-invitation h2 { font-size: clamp(34px,3.3vw,48px); }
.agent-invitation > p { margin-top: 24px; max-width: 42ch; }
.agent-invitation .button { background: var(--accent); color: var(--pine); margin-top: 26px; }
.agent-invitation .agent-feature-note { font-size: var(--small); margin-top: 16px; }
.agent-sampler > p { margin-bottom: 22px; }
.agent-sampler button { display: flex; justify-content: space-between; gap: 25px; text-align: left; width: 100%; padding: 22px; border: 0; background: var(--pine-alt); color: var(--white); font-size: 18px; }
.agent-sampler button + button { margin-top: 10px; }
.agent-sampler button:hover { background: #365445; transform: translateX(3px); }
.agent-feature button:focus-visible { outline-color: var(--accent); }
.questions-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12%; }
.questions-section h2 { max-width: 10ch; }
.answer-list { display: grid; gap: 35px; }
.answer-row h3 { font-size: 24px; margin-bottom: 15px; }
.answer-row p { font-size: 16px; }
.contact-section { background: var(--pine); color: var(--white); padding-block: 95px; }
.contact-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 70px; }
.contact-heading h2 { font-size: clamp(42px,5.2vw,76px); }
.contact-heading > p { font-size: 24px; }
.contact-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.contact-path h3 { font-size: 28px; margin-bottom: 20px; }
.contact-path p { max-width: 48ch; }
.contact-path .button { margin-top: 24px; }
.contact-placeholder { margin-top: 25px; font-size: var(--small); }
.contact-placeholder strong { display: block; font-weight: 500; }
.contact-placeholder span { display: block; margin-top: 5px; max-width: 42ch; }
.contact-section a:focus-visible { outline-color: var(--accent); }
.site-footer { padding-block: 65px 110px; overflow: hidden; }
.footer-name { font-size: clamp(42px, 12.8vw, 190px); font-weight: 500; line-height: 1; letter-spacing: -.07em; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 45px; font-size: var(--small); }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover { text-decoration: underline; }
.agent-launcher { position: fixed; right: 25px; bottom: 25px; z-index: 25; border: 2px solid var(--paper); border-radius: 100px; min-height: 54px; padding: 13px 23px; background: var(--pine); color: var(--white); font-size: 16px; }
.agent-launcher:hover { background: var(--green); }
.agent-mobile-label { display: none; }
@keyframes enter { from { opacity: .45; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
 .hero-content { animation: enter .7s var(--ease) both; }
 .in-view { animation: enter .6s var(--ease) both; }
}
#agent-dialog { position: fixed; inset: auto 22px 22px auto; margin: 0; border: 0; padding: 0; width: min(460px, calc(100vw - 32px)); max-width: none; height: min(720px, calc(100dvh - 44px)); max-height: none; background: var(--paper); color: var(--ink); }
#agent-dialog::backdrop { background: rgb(15 30 20 / .4); }
.agent-shell { display: flex; flex-direction: column; height: 100%; }
.agent-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; background: var(--pine); color: var(--paper); padding: 25px; }
.agent-header h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.04em; }
.agent-header p { font-size: var(--small); margin-top: 8px; }
#agent-close { min-width: 44px; min-height: 44px; border: 0; background: var(--pine-alt); color: var(--paper); font-size: 30px; line-height: 1; }
#agent-close:focus-visible { outline-color: var(--accent); }
.agent-messages { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 110px; padding: 25px; }
.agent-message { font-size: 16px; margin-bottom: 22px; }
.agent-message:last-child { margin-bottom: 0; }
.agent-message strong { display: block; font-size: var(--small); color: var(--green); font-weight: 500; margin-bottom: 6px; }
.agent-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
.from-visitor { background: var(--sage); padding: 14px 18px; margin-left: 25px; }
.agent-message a { display: inline-block; padding-block: 10px; color: var(--green); text-decoration: underline; }
.agent-prompts { display: flex; gap: 7px; padding: 0 25px 16px; flex-wrap: wrap; }
.agent-prompts button { border: 0; background: var(--chalk); color: var(--ink); font-size: var(--small); min-height: 44px; padding: 9px 12px; }
#agent-form { padding: 0 25px; }
#agent-form label { display: block; font-size: var(--small); margin-bottom: 8px; }
.agent-compose { display: flex; gap: 8px; background: var(--white); }
.agent-compose input { min-width: 0; width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--green); padding: 12px; border-radius: 0; }
input:focus-visible, [tabindex='0']:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.agent-compose button { border: 0; background: var(--green); color: var(--paper); min-width: 48px; font-size: 24px; }
.agent-compose button:disabled { opacity: .5; cursor: wait; }
.agent-foot { padding: 15px 25px 18px; }
.agent-foot p { font-size: var(--small); line-height: 1.5; }
#agent-reset { padding: 8px 0; min-height: 36px; font-size: var(--small); background: none; color: var(--green); border: 0; text-decoration: underline; }
body:has(#agent-dialog[open]) { overflow: hidden; }
@media (max-width: 1100px) {
  nav { gap: 23px; }
  .brand-list { gap: 25px; }
  .brand-list strong { font-size: 20px; }
  #expertise { gap: 7%; }
  .agent-feature { padding: 45px; gap: 7%; }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .identity { font-size: 24px; }
  nav { gap: 18px; font-size: 14px; }
  .hero { gap: 32px; grid-template-columns: 1.3fr 1fr; padding-block: 45px 55px; }
  .hero h1 { font-size: 46px; }
  .hero-intro { font-size: 18px; }
  .hero-fit { padding: 28px 24px; }
  .hero-fit h2 { font-size: 28px; }
  .fit-options strong { font-size: 18px; }
  nav { gap: 13px; }
  nav .nav-contact { padding-inline: 16px; }
  .brand-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; }
  .introduction { gap: 8%; }
  .introduction p:first-child { font-size: 24px; }
  .project-list { gap: 50px 28px; }
  .project-row:nth-child(even) { margin-top: 50px; }
  .workflow-illustration { padding: 25px; gap: 25px; }
  .workflow-illustration > div span { padding: 10px; font-size: 14px; }
  #expertise { grid-template-columns: 1fr; gap: 45px; }
  #expertise .section-heading p { max-width: 60ch; }
  .speaking-inner { grid-template-columns: 1fr; gap: 45px; }
  .agent-feature { grid-template-columns: 1fr 1fr; }
  .agent-sampler button { padding: 18px; font-size: 16px; }
  .questions-section { gap: 7%; }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 100px; }
  .header-inner { min-height: 84px; gap: 0; flex-wrap: wrap; }
  .identity { font-size: 22px; max-width: calc(100% - 150px); }
  .identity span { font-size: 14px; }
  .agent-launcher { position: static; margin-left: auto; margin-right: 10px; border: 0; border-radius: 100px; min-height: 44px; padding: 10px 14px; }
  .agent-launch-label { display: none; }
  .agent-mobile-label { display: inline; font-size: 14px; }
  nav { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; padding-block: 15px 20px; }
  .has-menu nav { display: none; }
  .has-menu nav.is-open { display: flex; }
  .hero { display: block; padding-block: 34px 32px; }
  .hero-fit { margin-top: 38px; padding: 30px 26px; }
  .hero h1 { font-size: clamp(42px, 7.7vw, 58px); line-height: 1.04; }
  .hero-intro { font-size: 18px; margin-top: 26px; max-width: 43ch; }
  .hero-routes { margin-top: 28px; gap: 10px; }
  .button { padding: 14px 21px; min-height: 52px; gap: 20px; }
  .hero-audiences { gap: 12px 20px; margin-top: 18px; }
  .section { padding-block: 72px; }
  .introduction { grid-template-columns: 1fr; gap: 32px; padding-block: 72px 50px; }
  .introduction h2 { font-size: 38px; }
  .introduction p:first-child { font-size: 24px; }
  .brand-list { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .brand-list strong { font-size: 22px; }
  .brand-list img { max-width: 135px; }
  .brand-note { margin-top: 26px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 22px; }
  .work-toolbar { align-items: start; flex-direction: column; gap: 14px; }
  .project-filters { gap: 7px; }
  .project-filters button { padding: 10px 15px; }
  .draft-note { margin-bottom: 32px; }
  .project-list { grid-template-columns: 1fr; gap: 55px; }
  .project-row:nth-child(even) { margin-top: 0; }
  .project-title h3 { font-size: 32px; }
  .project-copy p { font-size: 18px; }
  .project-copy .project-caveat { font-size: 16px; }
  .workflow-illustration { padding: 25px; }
  .workflow-hub { font-size: 32px; }
  .capabilities { grid-template-columns: 1fr; gap: 30px; }
  .capabilities h3 { margin-bottom: 12px; }
  .capabilities p { max-width: 55ch; }
  .experience-section { grid-template-columns: 1fr; gap: 45px; }
  .timeline h3 { font-size: 24px; }
  .speaking-section { padding-block: 70px; }
  .engagements { grid-template-columns: 1fr; gap: 30px; }
  .agent-feature { margin-top: 72px; grid-template-columns: 1fr; gap: 40px; padding: 34px 26px; border-radius: 18px; }
  .agent-invitation h2 { font-size: 36px; }
  .questions-section { grid-template-columns: 1fr; gap: 38px; }
  .questions-section h2 { max-width: none; }
  .contact-section { padding-block: 72px; }
  .contact-heading { display: block; margin-bottom: 42px; }
  .contact-heading > p { margin-top: 25px; font-size: 20px; }
  .contact-paths { grid-template-columns: 1fr; gap: 45px; }
  .contact-path h3 { font-size: 24px; }
  .site-footer { padding-block: 45px; }
  .footer-name { font-size: 12.2vw; }
  .footer-bottom { flex-direction: column; gap: 20px; margin-top: 30px; }
  .footer-bottom > div { gap: 20px; }
  #agent-dialog { inset: auto 0 0; width: 100%; height: min(760px, 95dvh); }
  .agent-header { padding: 20px; }
  .agent-messages { padding: 20px; }
  .agent-prompts { padding-inline: 20px; }
  #agent-form { padding-inline: 20px; }
  .agent-foot { padding: 12px 20px max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  .identity { font-size: 18px; }
  .hero h1 { font-size: 38px; }
  .hero-routes .button { width: 100%; }
  .hero-audiences { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.error-page { padding-block: 100px; }
.error-page h1 { font-size: clamp(42px, 6vw, 80px); margin-block: 30px; }
.error-page > p { max-width: 58ch; }
.error-page .button { margin-top: 30px; }

/* Real product examples and factual scope diagrams replace generic imagery. */
.project-image .ecom-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--chalk); padding: 12px; border-radius: 18px; aspect-ratio: 3 / 2; }
.ecom-comparison > div { position: relative; min-width: 0; min-height: 0; }
.project-image .ecom-comparison img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 8px; }
.ecom-comparison span { position: absolute; bottom: 8px; left: 8px; right: 8px; padding: 7px 8px; background: var(--paper); color: var(--ink); font-size: var(--small); text-align: center; border-radius: 4px; }
.scope-visual { min-height: 400px; aspect-ratio: 3 / 2; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; border-radius: 18px; }
.scope-progbiz { background: var(--sage); }
.scope-myg { background: var(--chalk); }
.project-image .scope-logo { width: 130px; height: 40px; aspect-ratio: auto; object-fit: contain; object-position: left center; border-radius: 0; }
.scope-title { font-size: 30px; line-height: 1.15; letter-spacing: -.035em; }
.scope-groups { display: grid; gap: 16px; font-size: 18px; }
.scope-groups small { display: block; margin-top: 3px; font-size: var(--small); color: var(--muted); }
.call-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 16px; }
.call-flow span[aria-hidden] { transform: rotate(-90deg); }
.scope-language { font-size: var(--small); color: var(--muted); }
.workflow-illustration { gap: 24px; }
@media (max-width: 900px) {
  .scope-visual { padding: 25px; min-height: 390px; aspect-ratio: auto; }
  .scope-title { font-size: 26px; }
  .call-flow { flex-direction: column; align-items: start; gap: 4px; }
  .call-flow span[aria-hidden] { transform: none; }
}
@media (max-width: 760px) {
  .scope-visual { min-height: 370px; }
  .ecom-comparison span { left: 2px; right: 2px; bottom: 2px; font-size: 13px; padding-inline: 3px; }
}

.connect-visual { min-height: 410px; padding: 36px; border-radius: 18px; color: var(--paper); background: var(--pine); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.connect-visual .scope-logo { filter: invert(1); }
.connect-wordmark { font-size: 52px; letter-spacing: -.05em; line-height: 1; }
.connect-channels,.connect-route { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 16px; }
.connect-channels span { padding: 9px 15px; background: var(--pine-alt); border-radius: 100px; }
.connect-route { margin-top: 8px; gap: 20px; }
.call-demo { min-height: 410px; padding: 34px; border-radius: 18px; background: var(--pine); color: var(--white); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.demo-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
.project-image .demo-brand img { width: 95px; height: 44px; object-fit: contain; background: var(--white); padding: 7px 12px; border-radius: 8px; aspect-ratio: auto; }
.call-demo-title { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; }
.demo-audio { background: var(--pine-alt); padding: 16px; border-radius: 12px; }
.demo-audio > span,.voice-message > span { display: block; font-size: 14px; margin-bottom: 12px; }
audio { display: block; width: 100%; min-width: 0; height: 44px; }
.demo-disclosure { font-size: 14px; }
.whatsapp-demo { border-radius: 18px; overflow: hidden; background: #e9efea; }
.whatsapp-header { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #f4f7f4; }
.project-image .whatsapp-header img { width: 68px; height: 40px; object-fit: contain; border-radius: 0; aspect-ratio: auto; }
.whatsapp-header strong { display: block; font-size: 18px; font-weight: 500; }
.whatsapp-header span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.whatsapp-conversation { padding: 22px; display: flex; flex-direction: column; align-items: start; gap: 14px; }
.chat-example-label { font-size: 13px; color: var(--muted); align-self: center; text-align: center; }
.chat-bubble { max-width: 92%; padding: 14px 17px; border-radius: 12px; font-size: 16px; }
.visitor-bubble { align-self: end; background: #d7e9d0; }
.assistant-bubble { background: var(--white); }
.voice-message { margin-top: 16px; min-width: 0; }
.assistant-bubble ul { margin: 8px 0 0; padding-left: 19px; font-size: 14px; }
.audio-transcript { margin: 0 0 24px; font-size: 14px; }
.audio-transcript summary { cursor: pointer; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
.audio-transcript p { margin-top: 10px; max-width: 60ch; }
@media (max-width: 900px) {
 .connect-visual,.call-demo { padding: 25px; }
 .demo-brand { flex-wrap: wrap; gap: 12px; }
 .whatsapp-header { padding: 16px; gap: 10px; }
 .whatsapp-conversation { padding: 16px; }
 .chat-bubble { max-width: 100%; padding: 12px; }
}
.project-connect { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 6%; align-content: center; }
.project-connect > .project-image { grid-row: 1 / 3; margin-bottom: 0; }
.project-connect > .project-title { align-self: end; margin-top: 25px; }
.project-connect > .project-copy { align-self: start; }
@media (max-width: 760px) {
 .project-connect { display: block; }
 .project-connect > .project-image { margin-bottom: 23px; }
}

/* Service detail pages keep the portfolio's type and palette. */
.service-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.service-index a { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 36px; align-items: start; padding: 30px; background: var(--chalk); }
.service-index a:hover { background: var(--sage); }
.service-index h3 { font-size: 25px; }
.service-index p { max-width: 62ch; }
.service-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 8%; align-items: start; padding-block: 55px 100px; }
.service-proof { position: sticky; top: 125px; }
.service-diagram { padding: clamp(28px, 3vw, 48px); background: var(--sage); min-height: 340px; display: flex; flex-direction: column; justify-content: center; gap: 25px; }
.service-diagram-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.16; letter-spacing: -.035em; }
.service-diagram-title.secondary { margin-top: 22px; }
.service-proof h2 { margin-top: 28px; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.service-proof > p { margin-top: 15px; font-size: 16px; }
.service-diagram audio { width: 100%; }
.service-reading { min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; font-size: 14px; }
.breadcrumbs a { text-decoration: underline; padding-block: 8px; }
.service-reading h1 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.08; }
.service-reading > p { margin-top: 24px; }
.service-reading .service-lead { font-size: 21px; }
.service-reading > .button { margin-top: 28px; }
.service-section { margin-top: 72px; }
.service-section h2 { font-size: 30px; line-height: 1.14; letter-spacing: -.035em; margin-bottom: 24px; }
.service-section p + p { margin-top: 20px; }
.service-section ul { padding-left: 22px; margin-block: 24px 0; }
.service-section li + li { margin-top: 15px; }
.service-section .text-link { margin-top: 12px; display: block; }
.service-faq details { margin-top: 20px; }
.service-faq summary { cursor: pointer; font-size: 20px; padding-block: 12px; }
.service-faq details p { margin: 10px 0 24px; }
.service-close { background: var(--pine); color: var(--paper); padding-block: 80px; }
.service-close-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12%; }
.service-close h2 { font-size: clamp(34px, 4vw, 52px); }
.service-close p { margin-top: 22px; max-width: 55ch; }
.service-close .button { margin-top: 28px; }
.service-close h3 { font-size: 25px; }
.service-related { display: grid; gap: 12px; margin-block: 25px; }
.service-related a { padding-block: 8px; text-decoration: underline; }
.service-close .ask-work { color: var(--paper); padding-block: 10px; }
.service-close .agent-feature-note { font-size: 14px; }
.service-close :focus-visible { outline-color: var(--accent); }
.service-footer { display: flex; flex-wrap: wrap; gap: 20px 28px; padding-block: 32px; font-size: 16px; }
.service-footer p { margin-right: auto; }
.service-footer a { text-decoration: underline; }
@media (max-width: 900px) {
  .service-layout { gap: 5%; grid-template-columns: .9fr 1.1fr; }
  .service-diagram { padding: 26px; }
  .service-index a { grid-template-columns: 1fr 1.4fr auto; gap: 22px; }
}
@media (max-width: 760px) {
  .service-layout { display: flex; flex-direction: column; padding-top: 25px; gap: 55px; }
  .service-reading { order: 0; width: 100%; }
  .service-proof { order: 1; position: static; width: 100%; }
  .service-reading h1 { font-size: 36px; }
  .service-reading .service-lead { font-size: 20px; }
  .service-section { margin-top: 55px; }
  .service-section h2 { font-size: 28px; }
  .service-close-inner { grid-template-columns: 1fr; gap: 55px; }
  .service-index a { grid-template-columns: 1fr auto; padding: 24px; gap: 14px; }
  .service-index p { grid-column: 1; }
  .service-index a > span { grid-column: 2; grid-row: 1; }
  .service-index h3 { font-size: 24px; }
  .service-directory h2 { font-size: 36px; }
  .service-footer p { flex-basis: 100%; }
}
