/* Homepage composition; the shared component and motion rules remain authoritative. */
.home { --home-width: 1184px; }
.home .hero, .home .sec { max-width: var(--home-width); padding-inline: 32px; }
.home .sec { padding-block: 76px; }
.home .sec + .sec { border-image: none; }
.home .hero { padding-block: 72px 68px; text-align: left; background-position: left top; }
.home .hero::before { opacity: .55; }
.home #hiring .hero-identity { justify-content: flex-start; gap: 20px; margin: 0 0 40px; }
.home #hiring .hero-identity .eyebrow { font-size: clamp(32px, 5.5vw, 48px); line-height: 1.1; margin: 0; flex-shrink: 0; max-inline-size: 100%; }
.home #hiring .hero-portrait { inline-size: clamp(76px, 11vw, 96px); block-size: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; flex: none; }
.home .hero-identity { display: flex; align-items: center; flex-wrap: wrap; }
.home .hero h1 { margin: 0 0 28px; max-width: 800px; font-size: clamp(42px, 6.1vw, 80px); line-height: 1.13; letter-spacing: -.045em; }
.home .hero h1 span { display: block; }
.home .hero .sub { margin: 0; max-width: 600px; font-size: 20px; line-height: 1.5; color: var(--ink); }
.home .availability { max-width: 600px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.home .hero-actions { justify-content: flex-start; margin-top: 28px; gap: 14px; }
.home .editorial { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; }
.home .section-heading h2 { margin: 0; max-width: 10.5em; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.18; letter-spacing: -.035em; }
.home .section-body { min-width: 0; max-width: 640px; }
.home .section-body p { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 0 0 24px; }
.home .section-body p:last-child { margin-bottom: 0; }
.home #growth-philosophy { color: var(--ink); font-size: 20px; line-height: 1.65; margin-bottom: 30px; }
.home .section-body a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.home .result { padding-block: 26px; border-top: 1px solid var(--line); }
.home .result:first-child { border-top: 0; padding-top: 0; }
.home .result h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.home .result p { margin: 0; }
.home #results .result-close { padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); }
.home #aeo-case { background: var(--wash); border: 1px solid var(--line); border-radius: 24px; }
.home #onpay-search-evidence { padding-left: 24px; border-left: 2px solid var(--acc-green); color: var(--ink); }
.home .sec-testi { border-top: 0; }
.home .sec-testi > h2, .home #work > h2, .home #demo h2 { max-width: 780px; margin: 0 0 30px; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.18; letter-spacing: -.035em; }
.home .kicker { margin-bottom: 14px; }
.home .testimony { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; margin: 0; padding: 32px 0; border-top: 1px solid var(--line); text-align: left; }
.home .quote-author { display: flex; align-items: flex-start; gap: 14px; }
.home .quote-avatar { display: block; position: relative; width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border-radius: 50%; }
.home .quote-avatar img { display: block; width: 686px; max-width: none; height: auto; border: 0; border-radius: 0; margin-left: -5px; margin-top: var(--photo-y); }
.home .quote-name { display: inline-block; font-size: 17px; font-weight: 600; text-decoration: none; }
.home .quote-role, .home .quote-date, .home .quote-relationship { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }
.home .quote-role { margin-top: 5px; }
.home .quote-date { margin-top: 14px; }
.home .testimony blockquote { max-width: 640px; margin: 0; padding: 0; border: 0; color: var(--ink); font-size: 17px; line-height: 1.75; }
.home .testimony blockquote p { margin: 0; }
.home #work > .kicker, .home #work > h2 { margin-inline: 0; }
.home .case-grid { gap: 28px; margin-top: 34px; }
.home .case-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-radius: 16px; }
.home .case-copy { padding: 32px; max-width: none; }
.home .case-copy h3 { font-size: 27px; line-height: 1.25; letter-spacing: -.025em; }
.home .case-copy p { max-width: 640px; font-size: 16px; line-height: 1.7; }
.home .case-copy .case-label { font-size: 11px; }
.home .case-card figure { display: flex; align-items: center; margin: 0; padding: 24px; align-self: stretch; background: var(--wash); border-left: 1px solid var(--line); }
.home .case-card figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.home .work-preview { display: block; width: 100%; cursor: zoom-in; border-radius: 6px; }
.home #demo .demo-intro { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; }
.home #demo h2 { margin-bottom: 0; }
.home #demo .lede { max-width: 640px; margin: 0; font-size: 18px; line-height: 1.7; }
.home #demo .embed { margin-top: 36px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--wash); }
.home #demo iframe { display: block; }
.home .cta-band { max-width: calc(var(--home-width) - 64px); margin: 24px auto 0; padding: 48px; }
.home .cta-band h2 { font-size: clamp(30px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.03em; }
.home .cta-band p { font-size: 17px; }
.home .foot { margin-top: 64px; }
@media (min-width: 1040px) {
  .home .hero { display: grid; grid-template-columns: 1.55fr 1fr; column-gap: 64px; align-items: start; }
  .home #hiring .hero-identity { grid-column: 1 / -1; }
  .home .hero h1 { margin-bottom: 0; }
  .home .hero-details { padding-top: 8px; }
  .home .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 1184px) { .home .cta-band { margin-inline: 32px; } }
@media (max-width: 799px) {
  .home .hero, .home .sec { padding-inline: 22px; }
  .home .sec { padding-block: 52px; }
  .home .hero { padding-block: 48px 52px; }
  .home .editorial, .home .testimony, .home #demo .demo-intro { grid-template-columns: 1fr; gap: 28px; }
  .home .section-heading h2 { max-width: 640px; }
  .home #aeo-case { border-radius: 0; border-inline: 0; }
  .home .testimony { gap: 22px; padding-block: 28px; }
  .home .quote-role { max-width: 32ch; }
  .home .case-card { grid-template-columns: 1fr; }
  .home .case-copy { padding: 24px; }
  .home .case-card figure { border-left: 0; border-top: 1px solid var(--line); padding: 18px; }
  .home .cta-band { margin-inline: 22px; padding: 32px 26px; }
}
@media (max-width: 640px) {
  .home .topnav nav { flex: 0 0 100%; }
  .home #hiring .hero-identity { gap: 16px; margin-bottom: 30px; }
  .home .hero .sub { font-size: 19px; }
  .home .hero h1 { font-size: 42px; }
  .home .hero-actions { gap: 14px; }
  .home #growth-philosophy { font-size: 19px; }
  .home #onpay-search-evidence { padding-left: 18px; }
  .home .section-heading h2, .home .sec-testi > h2, .home #work > h2, .home #demo h2 { font-size: 29px; }
  .home .case-copy h3 { font-size: 25px; }
}

/* Certification proof belongs to the full hero below its hiring message. */
.home #hero-certifications { grid-column: 1 / -1; min-width: 0; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.home #hero-certifications .certified-label { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; text-wrap: balance; }
.home #hero-certifications .certified-logos { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 40px; color: var(--ink); }
.home #hero-certifications .certified-logos li { display: flex; align-items: center; margin: 9px 0; padding: 0; line-height: 0; }
.home #hero-certifications .cert-logo { display: block; width: auto; height: 22px; }
.home #hero-certifications .cert-salesforce { height: 44px; }
.home #hero-certifications .cert-google, .home #hero-certifications .cert-hubspot { height: 23px; }
.home #hero-certifications .cert-clay { height: 26px; }
.home #hero-certifications .cert-anthropic { height: 16px; }
.home #hero-certifications .cert-openai { height: 24px; }
.home #hero-certifications .certified-logos .wrap-break { display: none; flex-basis: 100%; height: 0; margin: 0; padding: 0; }
.home #hero-certifications .certification-quote { max-width: var(--reading); margin: 36px auto 0; text-align: left; }
.home #hero-certifications .quote-mark { display: block; margin-bottom: 12px; color: var(--ink); font-size: 40px; line-height: .7; }
.home #hero-certifications blockquote { margin: 0; padding: 0; border: 0; color: var(--ink); font-size: 18px; line-height: 1.65; }
.home #hero-certifications figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--ink); font-size: 14px; line-height: 1.5; }
.home #hero-certifications figcaption img { width: 32px; height: 32px; flex: none; object-fit: contain; border: 0; border-radius: 0; }
@media (max-width: 800px) {
  .home #hero-certifications .certified-logos .wrap-break[data-break="3"] { display: block; }
}
@media (max-width: 520px) {
  .home #hero-certifications { margin-top: 40px; padding-top: 24px; }
  .home #hero-certifications .certified-logos { column-gap: 16px; }
}
@media (max-width: 379px) {
  .home #hero-certifications .certified-logos .wrap-break[data-break="3"] { display: none; }
  .home #hero-certifications .certified-logos .wrap-break[data-break="2"], .home #hero-certifications .certified-logos .wrap-break[data-break="4"] { display: block; }
}
