@font-face {
  font-family: Manrope;
  src: url('assets/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #233bb4;
  --ink: #182746;
  --muted: #4b5972;
  --silver: #edf1f7;
  --intro: #f6f8fc;
  --yellow: #f3cb52;
  --line: #b6c1d3;
  --white: #fff;
  /* Space expresses grouping: text, related items, separate sections. */
  --text-gap: 12px;
  --item-gap: 36px;
  --section-space: clamp(44px, 4.5vw, 64px);
  --column-gap: clamp(36px, 5vw, 72px);
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; line-height: 1.7; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.18; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 4.3vw, 3.9rem); color: var(--blue); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
h3 { font-size: 1.4rem; }
p { max-width: 62ch; }
p + p { margin-top: 20px; }
a { color: var(--blue); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap, .header-inner { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 12px 18px; background: white; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: relative; z-index: 20; background: white; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { font-size: 1.85rem; line-height: 1.2; letter-spacing: -.055em; color: var(--ink); text-decoration: none; font-weight: 800; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 36px; }
.site-header nav a { font-size: .95rem; font-weight: 600; white-space: nowrap; }
.nav-link { color: var(--ink); padding: 13px 0; text-decoration: none; }
.nav-link:hover, .nav-link[aria-current=page] { text-decoration: underline; text-underline-offset: 8px; }
.nav-link[aria-current=page] { text-decoration-thickness: 2px; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 6px; font-size: .95rem; font-weight: 700; line-height: 1.5; text-decoration: none; transition: background .15s ease; }
.nav-cta, .primary { background: var(--blue); color: white; }
.nav-cta:hover, .primary:hover { background: #182c91; color: white; text-decoration: none; }
.menu-toggle { display: none; background: white; color: var(--ink); border: 1px solid var(--line); padding: 10px 16px; min-height: 46px; border-radius: 6px; }
.plain-link { display: inline-block; font-size: 1rem; font-weight: 700; text-underline-offset: 6px; }
.home-hero { position: relative; min-height: 490px; display: flex; align-items: center; overflow: hidden; }
.home-hero > .wrap { position: relative; z-index: 2; padding-block: 52px 60px; pointer-events: none; }
.hero-copy { max-width: 610px; pointer-events: auto; }
.hero-copy h1 { max-width: 610px; font-size: clamp(3rem, 4.9vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em; }
.hero-copy > p { max-width: 47ch; margin-top: 24px; font-size: 1.1rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: 47%; mask-image: linear-gradient(to right, transparent, #000 36%); -webkit-mask-image: linear-gradient(to right, transparent, #000 36%); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.home-services { padding-block: var(--section-space); }
.home-services > h2 { margin-bottom: 32px; }
.service-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--column-gap); }
.service-row { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.service-row h2, .service-row h3 { font-size: 1.5rem; line-height: 1.24; margin-bottom: 14px; }
.service-row h2 a, .service-row h3 a { color: var(--ink); text-decoration: none; }
.service-row h2 a:hover, .service-row h3 a:hover { color: var(--blue); text-decoration: underline; }
.service-row p { font-size: 1rem; line-height: 1.7; }
.service-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; font-size: .95rem; font-weight: 650; text-decoration: none; }
.service-link:hover { text-decoration: underline; }
.service-link svg { flex: none; }
.intro-band { background: var(--intro); }
.page-intro { padding-block: 48px; }
.page-intro > p { margin-top: 18px; font-size: 1.1rem; line-height: 1.7; max-width: 64ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 13px; padding-top: 23px; font-size: .9rem; color: var(--muted); }
.breadcrumb + .page-intro { padding-top: 28px; }
.service-overview { padding-block: var(--section-space); }
.silver-section { background: var(--silver); }
.split-section { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--column-gap); padding-block: var(--section-space); }
.split-section h2 { max-width: 23ch; }
.split-section p { max-width: 57ch; }
.split-section .plain-link { margin-top: 22px; }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 40px; }
.next-step h2 { font-size: 1.5rem; }
.service-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--column-gap); padding-block: var(--section-space); }
.scope-list { display: grid; align-content: start; gap: var(--item-gap); }
.scope-list h2, .scope-aside h2 { font-size: 1.35rem; line-height: 1.25; margin-bottom: var(--text-gap); }
.scope-list p, .scope-aside p { font-size: 1rem; line-height: 1.7; }
.scope-aside { background: var(--silver); padding: 32px; border-radius: 8px; align-self: start; }
.scope-aside h2:not(:first-child) { margin-top: var(--item-gap); }
.scope-aside .button { margin-top: 30px; }
.engagement-options { padding-block: var(--section-space); }
.engagement-table table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1rem; line-height: 1.65; }
.engagement-table th, .engagement-table td { text-align: left; vertical-align: top; padding: 19px 24px; }
.engagement-table th:first-child, .engagement-table td:first-child { width: 14%; padding-left: 0; }
.engagement-table thead th { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; padding-top: 0; padding-bottom: 25px; color: var(--blue); }
.engagement-table tbody th { font-weight: 650; }
.engagement-table tbody tr:nth-child(odd) { background: var(--intro); }
.engagement-table tbody th:first-child { padding-left: 14px; }
.engagement-table .comparison-actions td { padding-bottom: 0; padding-top: 25px; }
.engagement-table .plain-link { font-size: .925rem; }
.mobile-engagements { display: none; }
.workflow-links { padding-left: 20px; margin: 18px 0 0; }
.workflow-links li + li { margin-top: 9px; }
.project-expectations .plain-link { margin-top: 20px; }
.delivery-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px var(--column-gap); padding-block: var(--section-space); }
.delivery-layout h2 { font-size: 1.65rem; margin-bottom: 18px; }
.proposal-note { padding: 28px 32px; background: var(--silver); }
.proposal-note .plain-link { margin-top: 20px; }
.project-expectations { display: grid; grid-template-columns: 1fr 1fr; gap: var(--column-gap); padding-block: var(--section-space); }
.project-expectations h2 { font-size: 1.55rem; margin-bottom: 16px; }
.project-expectations p { font-size: 1rem; line-height: 1.75; }
.team-section { display: grid; grid-template-columns: 1fr 1fr; gap: var(--column-gap); padding-block: var(--section-space); }
.team-section h2 { font-size: 1.9rem; }
.team-section .role { margin-top: 8px; font-weight: 650; color: var(--blue); font-size: .95rem; }
.team-section .role + p { margin-top: 18px; line-height: 1.8; }
.brief-layout { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: var(--column-gap); padding-block: var(--section-space); }
.brief-intro h1 { font-size: clamp(2.3rem, 3.4vw, 3.2rem); max-width: 18ch; }
.brief-intro > p { font-size: 1.08rem; margin-top: 22px; }
.brief-explanation { margin-top: 36px; max-width: 45ch; }
.brief-explanation h2 { font-size: 1.35rem; }
.brief-explanation p { margin-top: 14px; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.brief-form { min-width: 0; background: var(--silver); padding: 30px; border-radius: 8px; }
.brief-form label { display: block; margin: 24px 0 9px; font-size: .95rem; font-weight: 650; line-height: 1.65; }
.brief-form label:first-of-type { margin-top: 0; }
.brief-form label span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.brief-form input, .brief-form textarea, .brief-form select { width: 100%; min-width: 0; background: white; border: 1px solid #aab6cb; border-radius: 5px; padding: 12px 13px; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.brief-form textarea { resize: vertical; min-height: 95px; }
.brief-form input::placeholder, .brief-form textarea::placeholder { color: #67738b; opacity: 1; }
.brief-form details { margin-top: 24px; }
.brief-form details summary { cursor: pointer; padding-block: 10px; font-size: .95rem; font-weight: 650; line-height: 1.6; color: var(--blue); }
.brief-form details[open] { padding-bottom: 14px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.clear-button { min-height: 48px; padding: 10px 2px; border: 0; background: none; font-size: .95rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.status { font-size: .9rem; color: var(--muted); margin-top: 17px; line-height: 1.7; }
.status:empty { display: none; }
#prepared { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
#prepared h2 { font-size: 1.55rem; }
#brief-output { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: .95rem; line-height: 1.8; margin: 20px 0 25px; max-width: 100%; }
@media (max-width: 1100px) {
  .wrap, .header-inner { width: calc(100% - 64px); }
  .site-header nav { gap: 25px; }
  .wordmark { font-size: 1.65rem; }
  .hero-copy { max-width: 60%; }
  .hero-copy h1 { font-size: clamp(3rem, 5.1vw, 4rem); }
  .hero-art { width: 45%; }
  .scope-aside { padding: 26px; }
}
@media (max-width: 760px) {
  :root { --section-space: 40px; --item-gap: 32px; --column-gap: 32px; }
  .wrap, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0; padding-block: 16px; }
  .wordmark { font-size: 1.6rem; }
  .menu-toggle:not([hidden]) { display: block; margin-left: auto; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 10px 25px; padding-top: 18px; }
  .site-header nav a { font-size: 1rem; }
  .site-header .nav-cta { min-height: 46px; padding: 10px 16px; }
  .js .site-header nav:not(.is-open) { display: none; }
  .home-hero { min-height: 0; flex-direction: column; }
  .home-hero > .wrap { padding-block: 36px 38px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: clamp(2.65rem, 8.5vw, 3.8rem); max-width: 580px; }
  .desktop-break { display: none; }
  .hero-copy > p { font-size: 1.04rem; margin-top: 20px; }
  .hero-actions { margin-top: 26px; }
  .hero-art { position: relative; width: 100%; height: 200px; mask-image: none; -webkit-mask-image: none; }
  .hero-art img { object-fit: contain; background: var(--silver); }
  .home-hero > .hero-art { order: 1; }
  .home-services > h2 { font-size: 1.65rem; margin-bottom: 28px; }
  .service-directory, .team-section, .project-expectations, .split-section, .service-detail, .brief-layout { grid-template-columns: 1fr; }
  .service-directory { gap: 32px; }
  .service-row h2, .service-row h3 { font-size: 1.4rem; margin-bottom: 12px; }
  .service-link { margin-top: 8px; }
  .page-intro { padding-block: 35px 36px; }
  .page-intro h1 { font-size: clamp(2.25rem, 7.4vw, 3rem); }
  .page-intro > p { font-size: 1.04rem; margin-top: 16px; }
  .breadcrumb { padding-top: 20px; font-size: .875rem; }
  .breadcrumb + .page-intro { padding-top: 24px; }
  .split-section { gap: 22px; }
  .split-section h2 { font-size: 1.65rem; }
  .split-section .plain-link { margin-top: 18px; }
  .next-step { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 32px; }
  .next-step h2 { font-size: 1.4rem; }
  .scope-list h2, .scope-aside h2 { font-size: 1.3rem; }
  .scope-aside { padding: 25px; }
  .service-detail { gap: 36px; }
  .engagement-table { display: none; }
  .mobile-engagements { display: grid; gap: 32px; }
  .mobile-engagements article { background: var(--intro); padding: 24px; }
  .mobile-engagements h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .mobile-engagements details { margin-top: 16px; }
  .mobile-engagements summary { padding-block: 10px; cursor: pointer; color: var(--blue); font-weight: 650; }
  .mobile-engagements dl { margin-block: 12px 0; }
  .mobile-engagements dt { font-weight: 700; margin-top: 18px; }
  .mobile-engagements dd { margin: 6px 0 0; }
  .mobile-engagements .plain-link { margin-top: 18px; }
  .delivery-layout { grid-template-columns: 1fr; gap: 36px; }
  .delivery-layout h2 { font-size: 1.5rem; }
  .proposal-note { padding: 24px; }
  .project-expectations { gap: 32px; }
  .project-expectations h2 { font-size: 1.45rem; margin-bottom: 12px; }
  .team-section { gap: 36px; }
  .team-section h2 { font-size: 1.75rem; }
  .brief-intro h1 { font-size: clamp(2.3rem, 7.2vw, 3rem); max-width: 20ch; }
  .brief-explanation { margin-top: 28px; max-width: 100%; }
  .brief-form { padding: 24px; }
}
@media (max-width: 380px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .hero-copy h1 { font-size: 2.55rem; }
  .brief-form { padding: 20px; }
  .button { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.demo-hero { background: var(--intro); overflow: visible; }
.home-hero.demo-hero > .wrap { padding-block: 48px; pointer-events: auto; }
.demo-hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.demo-hero .hero-copy { max-width: none; padding-top: 24px; }
.demo-hero .hero-copy h1 { font-size: clamp(2.8rem,4.5vw,4rem); max-width: 12ch; }
.demo-hero .hero-copy > p { max-width: 37ch; }

.workflow-demo { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.example-caption { max-width: none; background: var(--ink); color: white; padding: 12px 24px; font-size: .875rem; line-height: 1.5; font-weight: 600; }
.scenario-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 0; }
.scenario-controls button { flex: 1 1 auto; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); font-size: .875rem; line-height: 1.4; font-weight: 650; transition: background 120ms cubic-bezier(.2,0,0,1); }
.scenario-controls button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: white; }
.scenario-controls button:hover:not([aria-pressed="true"]) { background: var(--silver); }
.scenario-controls button:focus-visible { outline-offset: 2px; }
.example-panel { padding: 24px; }
.example-context { font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.scenario-controls button span { display: block; font-size: 1.1rem; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.agent-chat { padding: 0; margin: 24px 0; list-style: none; }
.agent-chat li { display: grid; grid-template-columns: 58px 58px minmax(0,1fr); gap: 12px; border-top: 1px solid var(--line); padding-block: 12px; align-items: baseline; }
.agent-chat time { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.chat-speaker { color: var(--muted); font-size: .875rem; font-weight: 700; }
.chat-speaker.is-agent { color: var(--blue); }
.agent-chat p { font-size: .9375rem; line-height: 1.6; }
.why-work { background: var(--silver); }
.why-work .split-section { padding-block: 64px; }
.why-work h2 { max-width: 17ch; }
.why-work .work-detail { color: var(--muted); margin-top: 16px; }
.example-panel h2 { font-size: 1.5rem; line-height: 1.25; }
.example-panel .incoming { margin-top: 16px; font-size: 1rem; line-height: 1.6; }
.incoming strong { font-weight: 750; }
.example-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.example-facts dt { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.example-facts dd { margin: 8px 0 0; color: var(--blue); font-weight: 750; font-size: 1.35rem; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.example-panel h3 { font-size: 1rem; line-height: 1.5; letter-spacing: 0; font-weight: 750; }
.example-actions { padding-left: 20px; margin: 8px 0 24px; font-size: 1rem; line-height: 1.6; }
.example-actions li + li { margin-top: 8px; }
.example-actions li::marker { color: var(--blue); }
.example-outcome p { font-size: 1rem; line-height: 1.6; margin-top: 8px; }
.decision-button { padding: 10px 0 2px; min-height: 44px; border: 0; background: transparent; font-size: .9375rem; font-weight: 750; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.example-outcome { padding-top: 24px; }
.example-outcome h3:not(:first-child) { margin-top: 16px; }
.example-disclaimer { margin: 0; max-width: none; padding: 12px 24px; background: var(--intro); color: var(--muted); font-size: .875rem; line-height: 1.5; }
.home-founders { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 48px; padding-block: 64px; }
.home-founders h2 { max-width: 16ch; }
.home-founders .plain-link { margin-top: 24px; }
.home-founders .role { font-size: .9375rem; font-weight: 650; color: var(--blue); margin-top: 8px; }
.home-founders p + p { margin-top: 16px; }
.founder-profiles { padding-block: 64px; }
.founder-profiles h2 { font-size: 2.5rem; color: var(--blue); }
.founder-profiles dl { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.founder-profiles dt { font-weight: 750; }
.founder-profiles dt:not(:first-child) { margin-top: 24px; }
.founder-profiles dd { margin: 8px 0 0; color: var(--muted); }
.nav-cta, .button { transition-timing-function: cubic-bezier(.2,0,0,1); }
.contact-direct { margin-top: 32px; }
.contact-direct h2 { font-size: 1.35rem; }
.contact-direct a { margin-top: 12px; overflow-wrap: anywhere; }
.contact-direct p { margin-top: 12px; font-size: 1rem; color: var(--muted); }
.prepared-actions { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; }
.download-button { min-height: 48px; border: 0; background: transparent; color: var(--blue); font-weight: 700; font-size: .95rem; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; }

.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section-heading p { margin-top: 12px; }
.section-heading > a { flex-shrink: 0; }
.engagement-fit { color: var(--muted); margin-top: 16px; }
.workflow-discovery { margin-top: 32px; }
.expanded-cta { padding-block: 48px; }
.expanded-cta h2 { font-size: clamp(1.5rem,2.3vw,2rem); }
.expanded-cta p { margin-top: 16px; max-width: 53ch; color: var(--muted); }
.expanded-cta > a { flex-shrink: 0; }
.delivery-note { color: var(--muted); }
.question-groups { display: grid; grid-template-columns: 1fr 1fr; gap: var(--column-gap); padding-block: 64px; }
.question-groups h2 { font-size: 1.6rem; margin-bottom: 24px; }
.question-list details { border-top: 1px solid var(--line); padding-block: 8px; }
.question-list summary { padding-block: 12px; cursor: pointer; font-weight: 700; color: var(--blue); line-height: 1.6; }
.question-list p { padding: 0 0 16px; line-height: 1.65; }
.workflow-intro-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.workflow-catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--column-gap); padding-block: 64px; }
.workflow-entry h2 { font-size: 1.65rem; }
.workflow-entry .workflow-problem { color: var(--blue); font-weight: 600; margin-top: 16px; }
.workflow-entry p { margin-top: 12px; line-height: 1.65; }
.workflow-entry details { margin-top: 16px; }
.workflow-entry summary { color: var(--blue); font-weight: 700; padding-block: 8px; cursor: pointer; }
.workflow-entry details p { color: var(--muted); }
.site-header nav { gap: 24px; }

@media (max-width: 1100px) { .site-header nav { gap: 18px; } }
@media (max-width: 1000px) {
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0; padding-block: 16px; }
  .menu-toggle:not([hidden]) { display: block; margin-left: auto; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 12px 24px; padding-top: 18px; }
  .js .site-header nav:not(.is-open) { display: none; }
}
@media (max-width: 760px) {
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .question-groups, .workflow-catalog { grid-template-columns: 1fr; padding-block: 40px; gap: 40px; }
  .expanded-cta { padding-block: 40px; }
}
@media (max-width: 1100px) {
  .demo-hero-grid { gap: 32px; grid-template-columns: .8fr 1.2fr; }
  .demo-hero .hero-copy h1 { font-size: clamp(2.6rem,4.6vw,3.7rem); }
  .scenario-controls { padding-inline: 16px; }
  .example-panel { padding: 24px 16px; }
  .home-founders { gap: 32px; }
}
@media (max-width: 860px) {
  .demo-hero-grid { grid-template-columns: 1fr; }
  .demo-hero .hero-copy { padding-top: 0; }
  .demo-hero .hero-copy h1 { max-width: 17ch; }
  .demo-hero .hero-copy > p { max-width: 55ch; }

  .workflow-demo { max-width: 680px; }
}
@media (max-width: 760px) {
  .home-hero.demo-hero > .wrap { padding-block: 32px; }
  .agent-chat li { grid-template-columns: 54px 1fr; gap: 4px 12px; padding-block: 16px; }
  .agent-chat p { grid-column: 1 / -1; font-size: 1rem; }
  .why-work .split-section { padding-block: 40px; }
  .demo-hero-grid { gap: 32px; }
  .home-founders { grid-template-columns: 1fr; padding-block: 40px; gap: 32px; }
  .home-founders h2 { max-width: 22ch; }
  .home-founders .plain-link { margin-top: 16px; }
  .founder-profiles { padding-block: 40px; }
  .example-caption, .example-disclaimer { padding-inline: 16px; }
  .example-facts { gap: 12px; }
  .example-facts dd { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scenario-controls button, .nav-cta, .button { transition: none; }
}
.chat-window { height: 360px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 16px 8px 16px 0; margin-top: 16px; }
.chat-window:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.chat-window .agent-chat { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.chat-window .chat-message { display: block; max-width: 88%; width: fit-content; border: 0; padding: 12px 16px; border-radius: 14px 14px 14px 3px; margin: 0; background: var(--silver); color: var(--ink); }
.chat-window .chat-message.from-agent { align-self: flex-end; margin-left: auto; background: var(--blue); color: white; border-radius: 14px 14px 3px 14px; }
.chat-window .chat-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; line-height: 1.4; font-size: .75rem; }
.chat-window .chat-speaker { font-size: .8125rem; color: inherit; }
.chat-window time { color: inherit; font-size: .75rem; opacity: .85; }
.chat-window .chat-message p { margin: 0; font-size: 1rem; line-height: 1.6; }
.chat-window .chat-message.from-system { max-width: 100%; width: 100%; border-radius: 0; background: transparent; border-left: 2px solid var(--line); color: var(--muted); padding: 8px 12px; }
.chat-window .from-system .chat-meta { color: var(--ink); }
.chat-window .example-outcome { padding-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.playback-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.playback-controls button { min-height: 44px; border: 0; padding: 8px 12px; border-radius: 4px; background: transparent; color: var(--blue); font-weight: 700; font-size: .875rem; }
.playback-controls .play-chat { background: var(--blue); color: white; min-width: 148px; }
.playback-controls button[aria-disabled="true"] { color: var(--muted); background: var(--silver); cursor: default; }
.playback-controls .replay-chat { text-decoration: underline; text-underline-offset: 4px; }
.chat-progress { flex-basis: 100%; font-size: .875rem; color: var(--muted); }
.chat-typing { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); animation: chat-dot 900ms cubic-bezier(.2,0,0,1) infinite alternate; }
.typing-dots i:nth-child(2) { animation-delay: 150ms; }
.typing-dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes chat-dot { from { opacity: .35; } to { opacity: 1; } }
@media (max-width: 760px) {
  .chat-window { height: 380px; }
  .chat-window .chat-message { max-width: 94%; padding: 12px; }
  .playback-controls { gap: 8px; }
  .playback-controls button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .typing-dots i { animation: none; } .chat-window { scroll-behavior: auto; } }
@media print {
  .chat-window { height: auto; overflow: visible; }
  .playback-controls, .chat-typing { display: none !important; }
  .scenario-controls, .decision-button { display: none !important; }
  .demo-hero-grid { display: block; }
  .site-header, .footer-region, .hero-art, .skip, .form-actions, #download { display: none !important; }
  .wrap { width: 100%; }
  .home-hero { min-height: 0; }
  .hero-copy { max-width: 100%; }
  .home-hero > .wrap, .page-intro, .split-section, .service-detail, .brief-layout { padding-block: 20px; }
  .brief-layout { display: block; }
  .brief-form { margin-top: 25px; border: 1px solid #999; background: white; }
  h1 { font-size: 32pt !important; }
  h2 { font-size: 20pt !important; }
  a { color: inherit; }
  .service-row, .team-section article, .scope-list article { break-inside: avoid; }
}

/* Home: evidence, a useful choice, and the people behind the work. */
.home-proof { background: var(--blue); color: white; }
.proof-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--column-gap); padding-block: 64px; align-items: center; }
.proof-number { font-size: clamp(4rem, 7.5vw, 7rem); font-weight: 750; line-height: 1; letter-spacing: -.065em; }
.proof-figure > p + p { max-width: 28ch; font-size: 1.125rem; margin-top: 20px; }
.proof-story { border-left: 1px solid #ffffff66; padding-left: 40px; }
.proof-story h2 { max-width: 24ch; margin-bottom: 20px; }
.proof-story p { font-size: 1rem; max-width: 52ch; }
.engagement-explorer { padding-block: var(--section-space); }
.engagement-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.engagement-intro > p { color: var(--muted); }
.engagement-picker { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.engagement-picker button { flex: 1; background: white; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: 16px 12px; min-height: 52px; font-weight: 650; }
.engagement-picker button[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); background: var(--intro); }
.engagement-picker button:hover { background: var(--silver); }
.engagement-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--column-gap); padding-block: 32px; min-height: 260px; }
.engagement-kicker { color: var(--blue); font-size: .9375rem; font-weight: 700; margin-bottom: 12px; }
.engagement-panel h3 { margin-bottom: 16px; max-width: 26ch; }
.engagement-panel p { font-size: 1rem; }
.engagement-delivery { border-left: 1px solid var(--line); padding-left: 32px; }
.engagement-delivery h4 { margin: 0 0 12px; font-size: 1rem; }
.engagement-example { color: var(--muted); }
.engagement-more { display: inline-block; }
@media (max-width: 700px) {
  .proof-layout { grid-template-columns: 1fr; padding-block: 40px; gap: 32px; }
  .proof-story { border-left: 0; border-top: 1px solid #ffffff66; padding: 28px 0 0; }
  .engagement-intro { display: block; }
  .engagement-intro > p { margin-top: 12px; }
  .engagement-picker { flex-direction: column; gap: 4px; border: 0; }
  .engagement-picker button { flex: none; text-align: left; border-bottom: 0; border-left: 3px solid transparent; padding: 12px 16px; }
  .engagement-picker button[aria-pressed="true"] { border-left-color: var(--blue); }
  .engagement-panel { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding-block: 28px; }
  .engagement-delivery { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
}
@media print { .engagement-picker { display: none; } .engagement-panel[hidden] { display: grid !important; } }

/* Compact shared footer: the same white surface and typography as navigation. */
.footer-region { background: var(--white); border-top: 1px solid var(--line); }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 28px; padding-block: 24px; }
.site-footer .wordmark { font-size: 1.25rem; }
.site-footer nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a, .footer-contact { font-size: .875rem; line-height: 1.5; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { color: var(--blue); text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
 .site-footer { grid-template-columns: 1fr auto; gap: 8px 24px; padding-block: 20px; }
 .site-footer nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}
@media (max-width: 520px) {
 .site-footer { grid-template-columns: 1fr; gap: 8px; }
 .site-footer nav { gap: 0 20px; }
 .footer-contact { grid-row: 3; margin-top: 4px; }
}

/* Kevin's approved bio portrait. */
.founder-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.founder-portrait { display: block; width: 144px; height: 180px; flex: 0 0 144px; object-fit: cover; border-radius: 4px; }
@media (max-width: 480px) { .founder-heading { gap: 20px; } .founder-portrait { width: 112px; height: 140px; flex-basis: 112px; } }
