:root {
  --ink: #22252a;
  --muted: #58616e;
  --accent: #244cdb;
  --accent-hover: #1838ad;
  --line: #d9dee5;
  --paper: #ffffff;
  --soft: #f4f5f7;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.2vw, 5rem);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: #dbe4ff; color: var(--ink); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: clamp(2.75rem, 4.5vw, 3.75rem); line-height: 1.08; letter-spacing: -.045em; }
h1 em { font-style: normal; }
h2 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.14; letter-spacing: -.035em; }
h3 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.025em; }
p + p { margin-top: 1rem; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.eyebrow { font-size: .9375rem; font-weight: 700; line-height: 1.5; color: var(--accent); }
.text-link { font-size: 1rem; font-weight: 600; text-decoration: underline; display: inline-block; }
.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; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 5; padding: .6rem 1rem; background: white; color: var(--ink); }
.skip:focus { top: 1rem; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.75rem; font-size: .9375rem; }
.nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav .nav-contact { color: var(--accent); font-weight: 700; }
.nav .nav-contact:hover { color: var(--accent-hover); }

.hero { padding-block: 3.25rem 1.75rem; }
.hero > .eyebrow { margin-bottom: 1.4rem; }
.hero-layout { display: grid; grid-template-columns: 1.6fr 1fr; align-items: start; gap: clamp(2rem, 4vw, 3.5rem); }
.hero-copy { max-width: 440px; }
.hero-copy p { font-size: 1.125rem; line-height: 1.65; }
.hero-cta { margin-top: 1.4rem; display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.button { background: var(--accent); color: white; border: 1px solid var(--accent); padding: .75rem 1.15rem; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1rem; font-weight: 600; min-height: 48px; transition: background .15s, border-color .15s; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; }
.hero-foot { margin-top: 2.25rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; font-size: .9375rem; color: var(--muted); }
.hero-foot p { margin: 0; }
.hero-foot strong { font-weight: 600; color: var(--ink); }

.section-head { margin-bottom: 2.25rem; }
.section-head > .eyebrow { margin-bottom: .7rem; }
.section-intro { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 4rem; }
.section-intro > p { color: var(--muted); max-width: 640px; }
.services { background: var(--soft); padding-block: 3rem; border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.service + .service { padding-left: 2rem; border-left: 1px solid var(--line); }
.service h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.service p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.service-tools { margin-top: 1rem !important; font-size: .875rem !important; color: var(--muted); }
.service .text-link { color: var(--accent); margin-top: .65rem; min-height: 44px; display: inline-flex; align-items: center; }
.service .text-link:hover { color: var(--accent-hover); }

.work { padding-block: 3.5rem 2.5rem; }
.case { display: grid; grid-template-columns: .7fr 1.45fr; column-gap: 3.5rem; padding-block: 2.25rem; border-top: 1px solid var(--line); }
.case.featured { border-top: 2px solid var(--ink); }
.case-label { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.case h3 { font-size: 2rem; margin-bottom: .7rem; line-height: 1.13; letter-spacing: -.04em; }
.case.featured h3 { font-size: 2.8rem; }
.case-category { font-size: 1rem; color: var(--muted); max-width: 280px; }
.case-main > p { max-width: 730px; }
.case-main > h4 { font-size: 1.25rem; line-height: 1.4; margin-bottom: .85rem; font-weight: 700; letter-spacing: -.015em; }
.case-main > .text-link { margin-top: 1.15rem; color: var(--accent); }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; margin-top: 1.5rem; }
.scope-item { padding-top: 1rem; border-top: 1px solid var(--line); }
.scope-item h5 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: .45rem; }
.scope-item p { font-size: 1rem; color: var(--muted); line-height: 1.65; }
.case-purpose { margin-top: 1.25rem !important; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }

.ai-visibility { padding-block: 3rem; border-top: 1px solid var(--line); }
.ai-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.ai-intro h2 { margin-top: .75rem; }
.ai-intro > p:last-child { margin-top: 1.25rem; color: var(--muted); max-width: 490px; }
.ai-terms { margin: 0; }
.ai-terms dt { font-size: 1rem; font-weight: 700; line-height: 1.5; }
.ai-terms dd { margin: .4rem 0 1.2rem; color: var(--muted); font-size: 1rem; }
.ai-work { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.ai-work h3 { font-size: 1rem; letter-spacing: 0; font-weight: 700; margin-bottom: .6rem; }
.ai-work p { font-size: 1rem; }
.ai-note { font-size: .9375rem !important; color: var(--muted); margin-top: 1rem !important; }
.ai-work .text-link { margin-top: 1rem; min-height: 44px; display: inline-flex; align-items: center; color: var(--accent); }

.about { background: var(--ink); color: white; padding-block: 3.25rem; }
.about .eyebrow { color: #aac0ff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.about h2 { margin-top: .8rem; max-width: 460px; }
.about-copy > p { font-size: 1.0625rem; color: #e1e4e9; }
.history { margin-top: 1.8rem; }
.history-label { font-size: .9375rem; font-weight: 700; margin-bottom: .8rem; }
.history-row { display: grid; grid-template-columns: 100px 1fr; column-gap: 1rem; padding: .85rem 0; border-top: 1px solid #52565f; font-size: .9375rem; }
.history-year { color: #c1c7d0; }
.history-row strong { display: block; font-weight: 600; }
.history-row span:not(.history-year) { display: block; color: #c1c7d0; font-size: .875rem; }
.credentials { margin-top: 1.25rem; font-size: .875rem; color: #c1c7d0; }

.together { padding-block: 3.25rem; }
.together-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.together h2 { margin-top: .8rem; }
.together-intro { color: var(--muted); margin-top: 1.25rem; max-width: 410px; font-size: 1rem; }
.engagement { border-top: 1px solid var(--line); padding-top: 1.15rem; margin-bottom: 1.5rem; }
.engagement h3 { font-size: 1.4rem; margin-bottom: .55rem; }
.engagement p { color: var(--muted); font-size: 1rem; }
.working-note { font-size: .9375rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.1rem; }
.contact { border-top: 2px solid var(--ink); padding-block: 2.75rem 3rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: end; }
.contact h2 { margin-top: .8rem; }
.contact p { color: var(--muted); max-width: 470px; margin-bottom: 1.1rem; }
.email-link { font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -.025em; color: var(--accent); text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.email-link:hover { color: var(--accent-hover); }
.footer { padding-block: 1rem; border-top: 1px solid var(--line); display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; font-size: .875rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; align-items: center; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }

.engagement-faq { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.engagement-faq > h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; align-items: start; }
.faq-list details { min-width: 0; border-top: 1px solid var(--line); padding: 1rem 0; }
.faq-list summary { font-size: 1rem; font-weight: 600; line-height: 1.5; cursor: pointer; padding-right: .5rem; }
.faq-list summary::marker { color: var(--accent); }
.faq-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.faq-list details p { font-size: 1rem; color: var(--muted); margin-top: .8rem; }
.faq-list a, .detail-copy a, .related-services a { color: var(--accent); }
.breadcrumbs { padding-top: 1.5rem; color: var(--muted); font-size: .875rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--muted); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs li:last-child { display: inline-flex; align-items: center; }
.service-hero { padding-block: 1.75rem 2.5rem; }
.service-hero > .eyebrow { margin-bottom: 1rem; }
.service-hero h1 { max-width: 950px; }
.service-lead { max-width: 810px; margin-top: 1.35rem; font-size: 1.125rem; }
.service-byline { color: var(--muted); font-size: .9375rem; margin-top: 1.2rem; }
.service-byline a { font-weight: 600; }
.detail-section { display: grid; grid-template-columns: .7fr 1.45fr; gap: 3.5rem; border-top: 1px solid var(--line); padding-block: 2.25rem; }
.detail-section > * { min-width: 0; }
.detail-section h2 { font-size: clamp(1.7rem, 2.3vw, 2rem); }
.detail-copy { max-width: 760px; }
.detail-copy h3 { font-size: 1.15rem; line-height: 1.4; margin: 1.5rem 0 .5rem; }
.detail-copy h3:first-child { margin-top: 0; }
.detail-copy p { font-size: 1.0625rem; }
.detail-copy ul, .detail-copy ol { padding-left: 1.2rem; margin: 1rem 0; }
.detail-copy li + li { margin-top: .7rem; }
.detail-copy .text-link { margin-top: 1rem; }
.detail-section .faq-list { grid-template-columns: 1fr; }
.detail-section .faq-list details:first-child { border-top: 0; padding-top: 0; }
.related-services { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.related-services a { min-height: 44px; display: inline-flex; align-items: center; font-size: 1rem; font-weight: 600; }

.hero-layout > *, .section-intro > *, .service-grid > *, .case > *, .scope-grid > *, .ai-layout > *, .about-grid > *, .together-grid > *, .contact > * { min-width: 0; }

@media (max-width: 1050px) {
  .nav { gap: 1.2rem; }
  .hero-layout { grid-template-columns: 1.5fr 1fr; gap: 2rem; }
  h1 { font-size: clamp(2.7rem, 4.6vw, 3.25rem); }
  .hero-copy p { font-size: 1.0625rem; }
  .hero-foot { flex-wrap: wrap; }
  .service-grid { gap: 1.5rem; }
  .service + .service { padding-left: 1.5rem; }
  .case { grid-template-columns: .7fr 1.45fr; gap: 2.5rem; }
  .scope-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .section-intro, .ai-layout, .about-grid, .together-grid, .contact { gap: 2.5rem; }
  .detail-section { gap: 2.5rem; }
}

@media (max-width: 800px) {
  .header { gap: .5rem; flex-wrap: wrap; padding-block: 1rem .75rem; }
  .wordmark { font-size: 1.7rem; }
  .nav { gap: .6rem 1rem; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .nav a { font-size: .9375rem; }
  .hero { padding-block: 2.25rem 1.5rem; }
  .hero > .eyebrow { margin-bottom: 1.15rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  h1 { font-size: clamp(2.5rem, 7.8vw, 3.5rem); letter-spacing: -.04em; }
  h2 { font-size: clamp(2rem, 5vw, 2.5rem); }
  .hero-copy { max-width: 580px; }
  .hero-copy p { font-size: 1.0625rem; }
  .hero-foot { margin-top: 1.75rem; flex-direction: column; gap: .45rem; }
  .section-head { margin-bottom: 1.8rem; }
  .section-intro, .ai-layout, .about-grid, .together-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .section-intro > p { max-width: 100%; }
  .services { padding-block: 2.5rem; }
  .service-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .service + .service { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
  .service h3 { font-size: 1.4rem; }
  .service p { max-width: 600px; }
  .service-tools { margin-top: .75rem !important; }
  .work { padding-block: 2.5rem 1.75rem; }
  .case { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 1.9rem; }
  .case h3 { font-size: 1.9rem; max-width: 500px; }
  .case.featured h3 { font-size: 2.5rem; }
  .case-category { max-width: 100%; }
  .case-main > h4 { font-size: 1.2rem; }
  .scope-grid { margin-top: 1.25rem; }
  .ai-visibility { padding-block: 2.5rem; }
  .ai-layout { gap: 1.8rem; }
  .ai-intro > p:last-child { max-width: 100%; }
  .about, .together { padding-block: 2.5rem; }
  .about h2 { max-width: 600px; }
  .about-copy { margin-top: .5rem; }
  .history-row { grid-template-columns: 85px 1fr; gap: .7rem; }
  .together-grid { gap: 1.8rem; }
  .together-intro { max-width: 600px; }
  .contact { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.5rem; }
  .contact p { max-width: 600px; }
  .footer { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .footer-links { width: 100%; justify-content: space-between; }
  .engagement-faq { margin-top: 1.8rem; }
  .faq-list { grid-template-columns: 1fr; }
  .service-hero { padding-block: 1.5rem 2rem; }
  .service-hero h1 { font-size: clamp(2.25rem, 7vw, 3.25rem); }
  .service-lead { font-size: 1.0625rem; }
  .detail-section { grid-template-columns: 1fr; gap: 1.2rem; padding-block: 1.8rem; }
  .detail-copy { max-width: 100%; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.25rem; }
  .nav { justify-content: flex-start; column-gap: 1.1rem; }
  .history-row { grid-template-columns: 1fr; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .nav, .hero-cta, .footer-links, .skip { display: none; }
  .wrap { width: 100%; }
  body { font-size: 11pt; }
  .hero, .work, .about, .together, .services, .ai-visibility { padding: 1.4rem 0; }
  .services, .about { background: white; color: var(--ink); }
  .about .eyebrow, .about-copy > p, .history-year, .history-row span:not(.history-year), .credentials { color: var(--ink); }
  h1 { font-size: 32pt; }
  h2 { font-size: 24pt; }
  h3 { font-size: 18pt; }
  .scope-item, .service, .history-row { break-inside: avoid; }
  a { text-decoration: none; }
  .contact { padding: 1.5rem 0; }
  .hero-foot { margin-top: 1.5rem; }
}
