.nav-link[aria-current="page"] { color: var(--ink); background: var(--chip); }
.directory { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: var(--s4); align-items: start; }
.directory nav { display: grid; gap: 10px; }
.directory nav strong { font-size: 15px; margin-bottom: 6px; }
.directory nav a { font-size: 14px; color: var(--body); text-decoration: none; width: fit-content; }
.directory nav a:hover { text-decoration: underline; }
.directory .footer-note { display: block; margin-top: 16px; }
.page-hero, .page-band { padding-block: clamp(56px,7vw,96px); }
.page-hero { padding-top: clamp(124px,13vw,182px); border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(46px,6vw,78px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; margin: 16px 0 24px; max-width: 17ch; text-wrap: balance; }
.page-hero p, .page-band p { color: var(--body); font-size: 18px; line-height: 1.55; margin: 0; max-width: 58ch; }
.page-hero .button { margin-top: 24px; }
.breadcrumb { color: var(--body); font-size: 14px; }
.breadcrumb a { text-underline-offset: 3px; }
.page-band { background: var(--paper); border-bottom: 1px solid var(--rule); }
.page-band.tinted { background: var(--canvas); }
.page-split { display: grid; grid-template-columns: .95fr 1.2fr; gap: clamp(36px,6vw,84px); align-items: start; }
.page-split .section-title { max-width: 18ch; text-wrap: balance; }
.detail-list { margin: 0; }
.detail-list > div { padding-block: 20px; border-top: 1px solid var(--rule); }
.detail-list > div:first-child { border-color: var(--ink); }
.detail-list dt, .route-card h3 { font-size: var(--fs-h3); font-weight: 500; }
.detail-list dd { margin: 8px 0 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--body); }
.route-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.route-card { background: var(--canvas); padding: 24px; border-radius: var(--r-media); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 16px; }
.route-card h3 { margin: 0; }
.route-card p { font-size: 16px; }
.route-card a { margin-top: auto; padding-top: 8px; }
.page-cta { background: var(--butter); }
.page-cta .shell { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.page-cta .section-title { margin: 0; }
.section-link { display: inline-block; margin-top: 24px; }
.connection-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.connection-list li { position: relative; margin-left: 6px; padding: 0 0 28px 28px; border-left: 1px solid var(--line); }
.connection-list li:last-child { border-color: transparent; padding-bottom: 0; }
.connection-list li::before { content: ''; position: absolute; top: 5px; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.connection-list strong { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 500; }
.connection-list p { font-size: 16px; }
@media (max-width: 760px) {
  .page-split, .route-grid { grid-template-columns: 1fr; gap: 20px; }
  .directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-cta .shell { align-items: flex-start; flex-direction: column; }
  .page-split .section-title { margin-bottom: 16px; }
}
.testimonials figure { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-media); padding: clamp(20px,2.3vw,32px); margin: 0; }
.testimonials figure > span { color: var(--accent-press); font-size: 38px; line-height: 1; }
.testimonials blockquote { margin: 12px 0 32px; font-size: 17px; line-height: 1.55; }
.testimonials figcaption { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: auto; font-size: 15px; line-height: 1.5; color: var(--body); }
.testimonials figcaption strong { display: block; color: var(--ink); font-weight: 500; }

.testimonials figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.testimonials figcaption img { display: block; flex: none; height: auto; mix-blend-mode: multiply; }

.case-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px,6vw,80px); align-items: center; }
.quote-example { margin: 0; padding: clamp(18px,3vw,36px); background: var(--butter); border-radius: var(--r-media); }
.quote-example figcaption { font-size: var(--fs-h3); font-weight: 500; }
.quote-example table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.quote-example caption { text-align: left; color: var(--body); padding-bottom: 10px; }
.quote-example th, .quote-example td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--hairline-2); }
.quote-example th { font-weight: 500; }
.quote-example p { margin-top: 18px; font-size: 15px; }
.use-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--s2); }
.use-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(20px,2.4vw,32px); background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--r-media); }
.use-card h3 { margin: 0; font-size: var(--fs-h3); line-height: 1.2; font-weight: 500; }
.use-card p { font-size: 16px; }
.use-card a { margin-top: auto; padding-top: 12px; }
.use-card:nth-child(3n+1) .kind { background: var(--blush); }
.use-card:nth-child(3n+2) .kind { background: var(--butter); }
@media (max-width: 920px) {
  .use-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nav-link { padding-inline: 7px; }
}
@media (max-width: 760px) {
  .case-hero, .use-grid { grid-template-columns: 1fr; }
}

.illustrated-hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(36px,6vw,80px); align-items: center; }
.exhibit { margin: 0; padding: clamp(20px,3vw,38px); border-radius: var(--r-media); color: var(--ink-warm); background: var(--bg-warm); }
.exhibit figcaption { margin-bottom: 28px; font-size: 18px; font-weight: 500; }
.map-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; text-align: center; }
.map-row span { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-pill); padding: 7px 2px; font-size: 14px; }
.map-wires { width: 67%; height: 19px; margin: 0 auto 15px; border: solid currentColor; border-width: 0 1px 1px; position: relative; }
.map-wires::before { content: ''; position: absolute; width: 1px; background: currentColor; left: 50%; top: 0; height: 34px; }
.map-wires.outgoing { transform: rotate(180deg); margin: 15px auto 0; }
.map-center { margin: auto; display: table; padding: 13px 22px; border-radius: 8px; background: var(--night); color: var(--canvas); font-size: 18px; font-weight: 500; }
.map-center i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; }
.map-row.outputs span { border-radius: 6px; }
.collaboration { background: var(--butter); }
.collaboration ol { list-style: none; margin: 0; padding: 0; }
.collaboration li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--rule); background: var(--paper); border-radius: 8px; }
.collaboration li + li { margin-top: 16px; }
.collaboration li + li::before { content: ''; position: absolute; bottom: 100%; left: 40px; height: 16px; border-left: 1px solid var(--ink-warm); }
.collaboration li span { flex: none; font-size: 13px; background: var(--chip); padding: 4px 9px; border-radius: var(--r-pill); }
.collaboration li:nth-child(2) span { background: var(--blush); }
.collaboration li:last-child span { background: var(--pink); }
.collaboration strong { font-weight: 500; }
.project-drawing { width: 100%; display: grid; place-items: center; background: var(--blush); border-radius: 8px; }
.use-card:nth-child(3n+2) .project-drawing { background: var(--butter); }
.use-card:nth-child(3n) .project-drawing { background: var(--pink); }
.project-drawing svg { width: min(100%,210px); height: 100px; fill: none; stroke: var(--ink-warm); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-drawing .paper { fill: var(--paper); }
.project-drawing .hot { stroke: var(--accent-press); stroke-width: 2.5; }
.project-drawing .wash { fill: var(--blush); }
@media (max-width:760px) {
  .illustrated-hero { grid-template-columns: 1fr; gap: 28px; }
  .map-row span { font-size: 13px; }
}

/* Two-up testimonial grid (homepage) */
.route-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonials-more { display: inline-block; margin-top: 28px; }
@media (max-width: 760px) { .route-grid.two-up { grid-template-columns: 1fr; } }

/* Homepage: start with one workflow, grow the context layer */
.grow-band .page-split p + p { margin-top: 16px; }
.grow-band .grow-example { margin: 0 0 24px; color: var(--coral-deep); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.connection-list .ctx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; color: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.connection-list .ctx em { font-style: normal; font-weight: 500; letter-spacing: 0; padding: 3px 10px; border-radius: 999px; background: linear-gradient(120deg, #ffe3d6, #ffeccc); color: #8a2c12; }

/* Our work: closing card in the use-case grid */
.use-card.use-cta { grid-column: span 2; justify-content: center; background: var(--butter); }
.use-card.use-cta .kind { background: var(--paper); }
.use-card.use-cta a { margin-top: 8px; padding-top: 0; }
@media (max-width: 920px) { .use-card.use-cta { grid-column: 1 / -1; } }

/* About page */
.about-hero { padding: clamp(140px,16vw,220px) 0 clamp(72px,9vw,128px); background: var(--canvas); border-bottom: 1px solid var(--rule); }
.about-hero h1 { max-width: 14ch; margin: 0 0 28px; font-size: clamp(46px,7vw,96px); font-weight: 500; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.about-hero p:not(.eyebrow) { max-width: 46ch; margin: 0; color: var(--body); font-size: clamp(18px,1.6vw,22px); line-height: 1.5; }
.about-why, .about-team, .about-values { padding: clamp(72px,9vw,128px) 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.about-team { padding-bottom: 0; background: var(--canvas); }
.about-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(32px,6vw,96px); align-items: start; }
.about-split h2, .about-values h2 { margin: 0; font-size: clamp(32px,4vw,52px); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.about-prose { padding-top: clamp(4px,1vw,12px); }
.about-prose p { margin: 0; color: var(--body); font-size: clamp(17px,1.4vw,19px); line-height: 1.65; }
.about-prose p + p { margin-top: 20px; }
.about-why .about-prose p:last-child { color: var(--ink); }

.team-logos { margin-top: clamp(56px,7vw,88px); padding: 28px 0 40px; }
.team-logos .logo-group img { filter: grayscale(1); mix-blend-mode: multiply; opacity: .7; }

.about-values h2 { max-width: 20ch; }
.values-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 28px; margin: clamp(40px,5vw,64px) 0 0; padding: 0; list-style: none; }
.values-list li { padding-top: 20px; border-top: 1px solid var(--rule); }
.value-num { display: block; margin-bottom: 28px; color: var(--coral-deep); font-size: var(--fs-small); font-weight: 600; letter-spacing: .12em; }
.values-list h3 { margin: 0 0 10px; font-size: var(--fs-h3); font-weight: 500; }
.values-list p { margin: 0; color: var(--body); font-size: 16px; line-height: 1.55; }
#how-we-work .build-promise { margin: 0 0 16px; }

@media (max-width: 960px) {
  .values-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
}
@media (max-width: 760px) {
  .about-split { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 520px) {
  .values-list { grid-template-columns: 1fr; }
}
.team-logos .logos-window { background: var(--canvas); }
#how-we-work .eyebrow { margin: 0 0 20px; color: var(--coral-deep); font-size: var(--fs-small); font-weight: 600; letter-spacing: .12em; }

/* Our work: short customer quotes under the testimonials */
.quick-quotes { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--rule); }
.quick-quotes li { padding: 28px 24px 0 0; font-size: clamp(22px,2.4vw,30px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; text-wrap: balance; }
.quick-quotes li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.quick-quotes span { color: var(--accent-press); }
.customer-story + .page-band { border-top: 1px solid var(--rule); }
@media (max-width: 760px) {
  .quick-quotes { grid-template-columns: 1fr; }
  .quick-quotes li { padding: 20px 0; }
  .quick-quotes li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Our work: client quotes hero */
.quotes-hero { padding-bottom: clamp(48px,6vw,72px); }
.quotes-hero h1 { max-width: 22ch; margin: 12px 0 0; font-size: clamp(34px,4.2vw,54px); line-height: 1.08; letter-spacing: -.03em; }
.quotes-hero .quick-quotes { margin-top: clamp(32px,4vw,48px); }
.quotes-hero .quick-quotes li { padding-top: 22px; font-size: clamp(19px,1.8vw,24px); font-weight: 400; line-height: 1.3; }
.quotes-hero + .page-band { padding-top: clamp(48px,6vw,72px); }
.quotes-hero + .page-band .section-title { margin-bottom: 24px; font-size: clamp(24px,2.4vw,32px); line-height: 1.2; letter-spacing: -.02em; }
.quotes-hero h1 .accent { margin-right: -.08em; }
