@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/images/fonts/manrope-variable.ttf') format('truetype');
}

/* Shared visual language; the original stylesheet owns component behavior. */
@media screen {
  :root {
    --ink: #101110;
    --muted: #595e5b;
    --mist: #f3f5f3;
    --page: min(1320px, calc(100% - 80px));
    --section-space: 88px;
    --heading-gap: 40px;
    --display-size: 76px;
    --section-title-size: 48px;
    font-family: Manrope, Arial, sans-serif;
    background: var(--mist);
  }
  body { background: var(--paper); }
  h1, h2, h3 { letter-spacing: 0; text-wrap: balance; }
  h1 { font-weight: 800; }
  p { line-height: 1.65; }
  button, input, textarea, select { font: inherit; accent-color: var(--blue); caret-color: var(--blue); }
  html { scrollbar-color: #a0a7a2 var(--mist); }
  .site-header {
    min-height: 84px;
    padding-inline: max(40px, calc((100% - 1320px) / 2));
    border: 0;
    background: var(--mist);
    backdrop-filter: none;
  }
  .brand-mark, .brand-mark img { width: 40px; height: 40px; }
  .brand-mark { flex-basis: 40px; }
  .desktop-nav { gap: 28px; font-size: 14px; font-weight: 650; }
  .desktop-nav a:not(.button):hover, .footer-nav a:hover { color: var(--blue); }
  .button {
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 8px;
    background: var(--ink);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
    transition: background .18s ease, color .18s ease;
  }
  .button:hover { transform: none; background: var(--blue); }
  .button--small { min-height: 44px; padding: 11px 18px; font-size: 13px; }
  .button--secondary { color: var(--ink); background: transparent; border-color: #b8beb9; }
  .button--secondary:hover { color: var(--ink); background: #e8ede8; }
  .text-link { min-height: 44px; border: 0; font-size: 14px; }
  .text-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
  .dark-band .text-link:hover, .work-project--dark .text-link:hover,
  .engagement-detail--ink .text-link:hover { color: #a4c2ff; }
  .cta-row { gap: 12px; margin-top: 30px; }
  .cta-row .button { min-width: 0; }
  .mobile-menu summary { border: 0; border-radius: 8px; }
  .mobile-menu__panel { top: 84px; padding: 16px 24px 24px; background: var(--mist); border: 0; box-shadow: none; }
  .mobile-menu__panel a { border: 0; font-weight: 650; }

  /* Oversized headlines carry the hierarchy without labels or decoration. */
  .page-hero, .visual-hero { padding: 72px 0; }
  .page-hero h1, .visual-hero h1, .guide-header h1, .article-page__header h1 {
    font-size: var(--display-size);
    font-weight: 800;
    line-height: 1.04;
  }
  .page-hero h1, .visual-hero h1 { text-transform: uppercase; }
  .page-hero > p, .visual-hero__copy { font-size: 18px; max-width: 640px; }
  .page-hero { max-width: 1320px; }
  .visual-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .visual-hero__content { min-width: 0; text-align: left; margin: 0; }
  .visual-hero h1 { font-size: 56px; margin-bottom: 26px; }
  .visual-hero__copy { margin: 0; }
  .visual-hero .cta-row { justify-content: flex-start; }
  .visual-hero__image { margin: 0; width: 100%; border-radius: 8px; }
  .visual-hero__image picture { aspect-ratio: 5 / 4; }
  .visual-hero__image img { object-position: center; }
  .hero-conversation { top: auto; bottom: 8%; left: 5%; width: 75%; gap: 10px; }
  .hero-message { font-size: 19px; padding: 13px 16px; }
  .hero-message--reply { font-size: 17px; margin-left: 20%; }
  .action-plan-price { justify-content: flex-start; }
  .community-hero { display: block; }
  .community-hero .visual-hero__content { max-width: 950px; }
  .community-hero h1 { font-size: var(--display-size); }
  .community-hero-art { border: 0; background: transparent; }
  /* Keep the live teaching demonstration wide enough to read. */
  [data-service-page="ai_training"] .visual-hero { display: block; }
  [data-service-page="ai_training"] .visual-hero__content { max-width: 960px; margin: 0 auto; text-align: center; }
  [data-service-page="ai_training"] .visual-hero h1 { font-size: var(--display-size); }
  [data-service-page="ai_training"] .visual-hero__copy { margin-inline: auto; }
  [data-service-page="ai_training"] .visual-hero .cta-row { justify-content: center; }
  [data-service-page="ai_training"] .visual-hero__image { margin-top: 48px; }
  [data-service-page="ai_training"] .training-live picture { aspect-ratio: 1672 / 941; }

  .product-hero { background: var(--mist); }
  .section.section--open { padding-top: var(--section-space); }
  .section-heading h2, .engagement-detail__intro h2, .founder h2, .credibility-band h2, .split-section__copy h2,
  .plan-pair h2, .questionnaire-band h2, .work-project__copy h2,
  .work-featured__intro > h2, .work-featured__copy h2 {
    font-size: var(--section-title-size);
    font-weight: 800;
    line-height: 1.08;
  }
  .section-heading { max-width: 840px; }
  .section-heading h2 { margin-bottom: 20px; }
  .section-heading > p { font-size: 18px; }
  .engagement-detail__intro { gap: 48px; align-items: start; }
  .engagement-detail__intro p { font-size: 18px; }
  .engagement-detail__content h3, .work-project__overview h3 { font-size: 21px; font-weight: 750; }
  .offer-grid, .two-up, .audience-grid, .contact-options { gap: 24px; border: 0; background: transparent; }
  .offer-card { min-height: 360px; border-radius: 8px; background: var(--mist); }
  .offer-grid--products .offer-card { border: 0; }
  .offer-grid--products .offer-card:first-child { background: #e7efff; }
  .offer-grid--products .offer-card:nth-child(2) { background: #fff0ec; }
  .offer-grid--products .offer-card:nth-child(3) { background: #edf2df; }
  .offer-card h3, .offer-grid--products h3 { font-size: 28px; font-weight: 800; line-height: 1.14; }
  .offer-card__meta { border: 0; padding-top: 0; }
  .two-up article, .audience-grid article, .contact-option { border-radius: 8px; padding: 32px; }
  .audience-grid article, .contact-option { background: var(--mist); }
  .two-up h3, .service-rows h3, .engagement-choice h3, .contact-option h2,
  .home-work h3, .video-feature__copy h3 { font-size: 32px; font-weight: 800; line-height: 1.15; }
  .audience-grid h3 { font-weight: 750; }
  .home-work__featured-copy { padding-top: 28px; }
  .home-work__media--stable img, .home-work__media--stable:hover img { transform: none; }
  .home-work__media--stable picture { aspect-ratio: 1600 / 1157; }
  .home-work__media:hover img { transform: none; }
  .work-project__media, .work-featured__media { margin-top: 40px; }
  .work-project__facts { display: grid; gap: 18px; }
  .work-project__facts div { padding: 0; }
  .work-project__facts dt { font-size: 13px; }
  .work-project__facts dd { font-size: 14px; }
  .work-project--commerce { background: #f5f3ef; }
  .work-project--blue { background: #e7efff; }
  .work-project__copy .work-project__lead { font-size: 21px; }
  .work-project__overview { gap: 40px; }
  .work-project--featured { padding-bottom: var(--section-space); }

  /* Spacing and surface changes replace decorative rules. */
  .service-rows, .service-rows article, .plain-list, .plain-list li,
  .engagement-choice-list, .engagement-choice, .engagement-terms__grid,
  .engagement-terms__grid div, .deliverable-list li,
  .work-project__facts, .work-project__facts div, .work-results, .work-results div + div,
  .article-list, .article-list__item, .article-page__end,
  .sample-plan, .sample-plan > div, .guide-toc, .guide-end, .guide-timeline, .guide-timeline li,
  .guide-criteria, .guide-criteria > div, .guide-data-levels, .guide-data-levels > div,
  .guide-measures, .guide-measures > div, .guide-decisions, .guide-decisions > div,
  .guide-review-list, .guide-review-list span,
  .process-grid article, .process-grid--four article:nth-child(2),
  .solution-journey__steps li, .software-build__steps li, .training-method__steps li { border: 0; }
  .engagement-choice { padding: 36px 0; }
  .engagement-choice + .engagement-choice { margin-top: 16px; }
  .faq-list { border: 0; display: grid; gap: 12px; }
  .faq-list details { border: 0; border-radius: 8px; background: var(--mist); padding: 0 24px; }
  .faq-list summary { padding: 25px 40px 25px 0; font-size: 18px; }
  .faq-list summary::after { top: 22px; right: 0; }
  .faq-list details[open] { background: #e7efff; }
  .faq-list details p { max-width: 800px; }
  .final-cta { margin: 0; padding: 80px 0; background: #dfeaff; }
  .final-cta__inner { width: var(--page); }
  .final-cta h2 { font-size: 64px; font-weight: 800; line-height: 1.05; }
  .final-cta p { color: #364664; }
  .newsletter-signup__copy h2 { font-size: 38px; font-weight: 800; line-height: 1.12; }
  .newsletter-signup__inner { padding: 64px 0; }
  .site-footer { background: var(--mist); padding-bottom: 40px; }
  .site-footer__inner { padding-top: 40px; align-items: start; }
  .footer-nav { gap: 16px 28px; }
  .article-list__copy h2 { font-size: 36px; font-weight: 800; }
  .article-body h2, .guide-intro h2, .guide-chapter h2 { font-size: 38px; font-weight: 800; }
  .article-page__header h1, .guide-header h1 { font-size: 64px; }
  .article-deck, .guide-deck { font-size: 20px; }

  .portfolio-hero { background: var(--mist); padding: 64px 0 72px; }
  .portfolio-hero__inner { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; min-height: 470px; }
  .portfolio-hero__copy h1 { margin-bottom: 28px; font-size: 64px; line-height: 1; font-weight: 800; text-transform: uppercase; }
  .portfolio-hero__copy p { max-width: 480px; color: var(--muted); font-size: 17px; }
  .portfolio-hero__copy p + p { margin-top: 14px; }
  .portfolio-hero__media { overflow: hidden; border-radius: 8px; }
  .portfolio-hero__media a, .portfolio-hero__media picture { display: block; }
  .portfolio-hero__media img { width: 100%; height: auto; }
  .work-intro { padding-bottom: 40px; }
  .work-intro .section-heading { margin-bottom: 0; }

  .button, .mobile-menu summary { border-radius: 12px; }
  .offer-card, .two-up article, .audience-grid article, .contact-option,
  .faq-list details, .contact-prep__list { border-radius: 16px; }
  .visual-hero__image, .visual-hero__image img, .portfolio-hero__media,
  .work-project__media, .work-featured__media, .home-work__media,
  .media-frame, .article-hero-image, .article-list__image,
  .guide-hero-image, .founder__image, .video-player { border-radius: 24px; }
  .portfolio-hero__media a:focus-visible, .home-work__media:focus-visible { outline-offset: -4px; }
  .button .arrow { transition: transform .2s ease; }
  .button:hover .arrow { transform: translateX(3px); }
  .portfolio-hero__media img { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
  .portfolio-hero__media a:hover img { transform: scale(1.018); }
  .media-entered { animation: media-arrive .7s cubic-bezier(.16, 1, .3, 1) both; }
  .product-hero__photo { animation: photo-arrive .7s cubic-bezier(.16, 1, .3, 1) both; }
  .product-hero__photo--team { animation-delay: .12s; }
  @keyframes media-arrive {
    from { opacity: .65; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes photo-arrive {
    from { opacity: .5; transform: translateY(10px) rotate(-3deg); }
    to { opacity: 1; transform: translateY(0) rotate(0); }
  }
}

@media screen and (min-width: 980px) {
  .offer-card h3, .offer-grid--products h3 { min-height: 2.28em; }
}
@media screen and (max-width: 1199px) {
  :root { --display-size: 60px; --section-title-size: 42px; --page: calc(100% - 64px); }
  .site-header { padding-inline: 32px; }
  .desktop-nav { gap: 18px; }
  .visual-hero { gap: 32px; }
  .visual-hero h1 { font-size: 44px; }
  .portfolio-hero__inner { gap: 32px; min-height: 400px; }
  .portfolio-hero__copy h1 { font-size: 52px; }
}
@media screen and (max-width: 979px) {
  .visual-hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .visual-hero__content { max-width: 760px; }
  .visual-hero h1 { font-size: var(--display-size); }
  .visual-hero__image picture { aspect-ratio: 3 / 2; }
  .portfolio-hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .portfolio-hero__copy h1 { font-size: 64px; }
  .portfolio-hero__copy p { max-width: 640px; }
  .portfolio-hero { padding: 48px 0 56px; }
  .work-project__header { grid-template-columns: 1fr; gap: 30px; }
  .work-project__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .work-project__facts div { grid-template-columns: 1fr; gap: 6px; }
}
@media screen and (max-width: 899px) {
  [data-service-page="ai_training"] .training-live picture { aspect-ratio: 1128 / 941; }
}
@media screen and (max-width: 719px) {
  :root { --page: calc(100% - 40px); --display-size: 42px; --section-title-size: 34px; --section-space: 56px; --heading-gap: 28px; }
  .home-page { --section-space: 56px; --heading-gap: 28px; }
  .site-header { min-height: 72px; padding-inline: 20px; }
  .mobile-menu__panel { top: 72px; }
  .brand-mark, .brand-mark img { width: 34px; height: 34px; }
  .brand-mark { flex-basis: 34px; }
  .page-hero, .visual-hero { padding: 44px 0 48px; }
  .page-hero h1, .visual-hero h1 { overflow-wrap: break-word; }
  .page-hero > p, .visual-hero__copy { font-size: 17px; }
  .button { min-height: 50px; padding-inline: 18px; }
  .button--small { min-height: 42px; }
  .section-heading > p { font-size: 17px; }
  .engagement-detail__intro { gap: 22px; }
  .offer-grid, .two-up, .audience-grid, .contact-options { gap: 18px; }
  .offer-card, .offer-grid--products .offer-card { min-height: 0; }
  .offer-card__content, .offer-grid--products .offer-card__content { padding: 26px; }
  .offer-card h3, .offer-grid--products h3 { min-height: 0; font-size: 28px; }
  .two-up article, .audience-grid article, .contact-option { padding: 26px; }
  .service-rows h3, .engagement-choice h3, .contact-option h2,
  .home-work h3, .video-feature__copy h3 { font-size: 28px; }
  .final-cta { padding: 56px 0; }
  .final-cta h2 { font-size: 40px; }
  .faq-list details { padding: 0 20px; }
  .faq-list summary { font-size: 17px; }
  .newsletter-signup__copy h2 { font-size: 32px; }
  .article-page__header h1, .guide-header h1 { font-size: 40px; }
  .article-page__header, .guide-header { padding-top: 48px; }
  .article-list__copy h2, .article-body h2, .guide-intro h2, .guide-chapter h2 { font-size: 30px; }
  .article-body p, .article-body li { font-size: 17px; }
  .portfolio-hero__copy h1 { font-size: 44px; }
  .portfolio-hero__inner { gap: 32px; }
  .work-intro { padding-bottom: 28px; }
  .work-project__media { margin-top: 28px; }
  .work-project__overview { gap: 26px; }
  .hero-message { padding: 10px 13px; font-size: 15px; }
  .hero-message--reply { font-size: 14px; }
}
@media screen and (max-width: 389px) {
  :root { --display-size: 34px; --section-title-size: 30px; }
  .portfolio-hero__copy h1, .final-cta h2, .guide-header h1, .article-page__header h1 { font-size: 34px; }
  .work-project__facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .media-entered, .product-hero__photo { animation: none; }
  .portfolio-hero__media a:hover img, .button:hover .arrow { transform: none; }
}
