/* Page-local CSS — AI and Generative AI (page slug: ai-generative-ai).
   Scope: page exceptions only. Reusable template CSS stays in css/sections/ and css/components/.
   Every rule below is namespaced to a page section id or to the page-exception
   namespace "ai-what-we-build" (manifest: source_design_reused, approved). */


/* ---------------------------------------------------------------------------
   1. hero-primary — dark-device-demo-hero, media swap
   Source requires the hero background image /solutions-ai-assets/hero/hero-agentic-flow.jpg.
   The template's tablet-device stack (photo plate + video + gloss + hand) has no
   source media on this page, so the template media stage carries the single source
   hero image instead. No template CSS is modified.
--------------------------------------------------------------------------- */
#hero-primary .ai-hero__media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:72% 50%;
}
/* Copy column held well clear of the image so the headline never runs into it.
   The template ships doubled-selector !important rules for its h2 font-size and
   for the title/lede max-width, so these page overrides have to match that
   weight to land. */
#hero-primary .dark-device-demo-hero__copy{
  max-width:min(744px,60%);
}
#hero-primary.dark-device-demo-hero .dark-device-demo-hero__title,
#hero-primary[data-section="dark-device-demo-hero"] .dark-device-demo-hero__title{
  /* Headline is pre-broken into explicit line spans, so the measure is
     controlled by the copy column alone — a character cap here would force the
     spans to re-wrap inside themselves. */
  font-size:clamp(38px,4.1vw,58px) !important;
  max-width:none !important;
  letter-spacing:-.005em;
}
#hero-primary.dark-device-demo-hero .dark-device-demo-hero__lede,
#hero-primary[data-section="dark-device-demo-hero"] .dark-device-demo-hero__lede{
  max-width:56ch !important;
  margin-bottom:30px;
}
@media (max-width:1100px){
  #hero-primary .dark-device-demo-hero__copy{max-width:min(744px,82%)}
}
@media (max-width:960px){
  /* Template's stacked mobile branch: copy runs full width above the image. */
  #hero-primary .dark-device-demo-hero__copy{max-width:100%}
  #hero-primary.dark-device-demo-hero .dark-device-demo-hero__title,
  #hero-primary[data-section="dark-device-demo-hero"] .dark-device-demo-hero__title{
    max-width:none !important;
  }
}


/* ---------------------------------------------------------------------------
   2. ai-production-bridge — problem-solution-bridge-method-section
   Template content used as-is. Two type corrections only, so the section sits
   in the page's type system instead of reading heavier than its neighbours:
   the template sets tile titles in Roboto Condensed 700 (every other card
   title on this page is Fjalla One 400), and tile body at 14px against the
   page's 16px body size.
--------------------------------------------------------------------------- */
#ai-production-bridge .problem-solution-bridge-method-section__tile h3{
  font-family:var(--display);
  font-weight:400;
  font-size:22px;
  line-height:1.15;
  letter-spacing:.005em;
}
#ai-production-bridge .problem-solution-bridge-method-section__tile p{
  font-size:16px;
  line-height:1.45;
}


/* ---------------------------------------------------------------------------
   3. production-ai-types — source page "What we build" section, reused exactly
   Values below are lifted verbatim from the source stylesheet
   (the source site's HomeLayout stylesheet): .section, .wrap,
   .section-head, .eyebrow, .kicker-idx, .pillars, .pillar, .pillar-link,
   .pillar-num, .pillar-body, .go, .arw.
   Single standardisation: the root uses the shared section padding band
   (var(--section-padding-y)) instead of the source's 120px / 72px.
   Everything is scoped to #production-ai-types so it cannot leak into the
   template sections on this page.
--------------------------------------------------------------------------- */
#production-ai-types{
  --ink:#14181a;
  --ink-soft:#4a4f52;
  --line:#e4e7e4;
  --green:#0d5630;
  --gold:#d4af37;
  --bronze:#b8860b;
  --gold-num:#a37810;
  --gold-ink:#8a6a08;
  --lh-display:1.15;
  --lh-body:1.5;
  scroll-margin-top:66px;
  padding:var(--section-padding-y) 0;
  /* Site standard: the section below carries the dividing top border. */
  border-top:1px solid var(--rule);
  background:#fff;
  color:var(--ink);
  font-family:'Roboto Condensed',Arial,sans-serif;
  font-size:18px;
  line-height:var(--lh-body);
}
#production-ai-types .wrap{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 40px;
}
#production-ai-types .section-head{
  max-width:940px;
  margin-bottom:56px;
}
#production-ai-types .eyebrow{
  display:inline-block;
  margin-bottom:18px;
  font-family:'Roboto Condensed',sans-serif;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--green);
}
#production-ai-types .kicker-idx{
  margin-right:9px;
  font-family:'Fjalla One',sans-serif;
  letter-spacing:.04em;
  color:var(--gold-ink);
}
#production-ai-types .section-head h2{
  font-family:'Fjalla One','Roboto Condensed',sans-serif;
  font-weight:400;
  font-size:clamp(2rem,4.4vw,3.5rem);
  line-height:var(--lh-display);
  letter-spacing:-.01em;
  color:var(--ink);
}
#production-ai-types .section-head p{
  max-width:760px;
  margin-top:22px;
  font-size:clamp(1.06rem,1.5vw,1.25rem);
  line-height:var(--lh-body);
  color:var(--ink-soft);
}
#production-ai-types .section-head::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  margin-top:26px;
  background:var(--bronze);
}
#production-ai-types .pillars{
  margin:8px 0 0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--line);
}
#production-ai-types .pillar{
  border-bottom:1px solid var(--line);
}
#production-ai-types .pillar-link{
  display:grid;
  grid-template-columns:clamp(84px,11vw,150px) 1fr;
  align-items:center;
  gap:clamp(20px,3vw,48px);
  padding:34px 10px;
  transition:background-color .2s;
}
#production-ai-types a.pillar-link:hover{
  background:#b8860b0f;
}
#production-ai-types .pillar-link--static{
  cursor:default;
}
#production-ai-types .pillar-num{
  justify-self:start;
  font-family:'Fjalla One',sans-serif;
  font-size:clamp(3.4rem,8vw,7rem);
  line-height:var(--lh-display);
  letter-spacing:-.02em;
  color:var(--gold-num);
}
#production-ai-types .pillar-body h3{
  font-family:'Fjalla One','Roboto Condensed',sans-serif;
  font-weight:400;
  font-size:clamp(1.4rem,2.4vw,2rem);
  line-height:1.15;
  letter-spacing:.005em;
  color:var(--ink);
}
#production-ai-types .pillar-body p{
  max-width:66ch;
  margin-top:8px;
  font-size:16px;
  line-height:1.5;
  color:var(--ink-soft);
}
#production-ai-types .pillar-body .go{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--green);
}
#production-ai-types .go .arw{
  color:var(--gold-ink);
  transition:transform .2s;
}
#production-ai-types .pillar-link:hover .go .arw{
  transform:translate(4px);
}
@media (max-width:760px){
  #production-ai-types .wrap{padding:0 22px}
  #production-ai-types .pillar-link{grid-template-columns:64px 1fr;gap:18px;padding:26px 4px}
  #production-ai-types .pillar-num{font-size:3rem}
}
@media (prefers-reduced-motion:reduce){
  #production-ai-types *{transition:none !important}
}


/* ---------------------------------------------------------------------------
   5. partner-proof — badge wall, no page structural change
--------------------------------------------------------------------------- */
#partner-proof .partner-verified-depth-badge-wall__note strong{
  font-weight:400;
}


/* ---------------------------------------------------------------------------
   6. client-work — case-study-showcase-variant-f without tile artwork
   Source supplies no case-study images, so the decorative tile art is omitted and
   the tile grid collapses from three rows to two.
--------------------------------------------------------------------------- */
#client-work .case-study-showcase-variant-f__tile{
  grid-template-rows:auto 1fr;
}
#client-work .case-study-showcase-variant-f__body{
  align-self:end;
}


/* ---------------------------------------------------------------------------
   7. related-hubs — five-things-concepts-1c-staircase converted to four boxes
   Manifest: content_replacement. Column count only; the staircase
   offsets stay on the template's first four item classes.
--------------------------------------------------------------------------- */
#related-hubs .five-things-concepts-1c-staircase__inline-010{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
/* The four boxes are links on this page; the template card classes assume block boxes. */
#related-hubs .five-things-concepts-1c-staircase__inline-013,
#related-hubs .five-things-concepts-1c-staircase__inline-021,
#related-hubs .five-things-concepts-1c-staircase__inline-029,
#related-hubs .five-things-concepts-1c-staircase__inline-037{
  display:block;
}
/* Text block runs ~15% taller and carries an explore affordance, so each card
   reads as clickable. */
#related-hubs .five-things-concepts-1c-staircase__inline-015,
#related-hubs .five-things-concepts-1c-staircase__inline-023,
#related-hubs .five-things-concepts-1c-staircase__inline-031,
#related-hubs .five-things-concepts-1c-staircase__inline-039{
  display:flex;
  flex-direction:column;
  min-height:205px;
  padding:28px 22px 0;
}
#related-hubs .ai-hub__go{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:auto;
  padding-top:22px;
  font-family:var(--body);
  font-size:13px;
  font-weight:700;
  line-height:1.1;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#f3cd29;
}
#related-hubs .ai-hub__go-arw{
  transition:transform .2s var(--ease);
}
#related-hubs a:hover .ai-hub__go-arw,
#related-hubs a:focus-visible .ai-hub__go-arw{
  transform:translateX(5px);
}

/* Supplied hub illustrations are 3:2; the card art well is squarer than the
   template's thin strip so each one reads at full size. */
#related-hubs .ai-hub__art{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:50% 50%;
  background:#3B5C4B;
}
@media (max-width:1024px){
  #related-hubs .five-things-concepts-1c-staircase__inline-010{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px){
  #related-hubs .five-things-concepts-1c-staircase__inline-010{
    grid-template-columns:1fr;
  }
  #related-hubs .ai-hub__art{
    aspect-ratio:16/9;
  }
  #related-hubs .five-things-concepts-1c-staircase__inline-015,
  #related-hubs .five-things-concepts-1c-staircase__inline-023,
  #related-hubs .five-things-concepts-1c-staircase__inline-031,
  #related-hubs .five-things-concepts-1c-staircase__inline-039{
    min-height:0;
  }
}


/* ---------------------------------------------------------------------------
   Page title standard: every title on this page uses line-height 1.15.
   Overrides the few template title rules that ship a tighter or looser value
   (CTA 1.03 / 1.12, accelerator card titles 1.18 / 1.2, and their mobile
   overrides). Page-local; template CSS untouched.
--------------------------------------------------------------------------- */
#final-cta .cta-feature-split-field-engineer-ask__el-5,
#final-cta .cta-feature-split-field-engineer-ask__el-10,
#accelerators .accelerators-1e-edgy-creative__style-11,
#accelerators .accelerators-1e-edgy-creative__style-16,
#accelerators .accelerators-1e-edgy-creative__style-21,
#accelerators .accelerators-1e-edgy-creative__style-26,
#accelerators .accelerators-1e-edgy-creative__style-33,
#related-hubs .five-things-concepts-1c-staircase__inline-017,
#related-hubs .five-things-concepts-1c-staircase__inline-025,
#related-hubs .five-things-concepts-1c-staircase__inline-033,
#related-hubs .five-things-concepts-1c-staircase__inline-041,
#partner-proof .partner-verified-depth-badge-wall__cell h3{
  line-height:1.15;
}
@media (max-width:900px){
  #final-cta .cta-feature-split-field-engineer-ask__el-5{line-height:1.15}
}
@media (max-width:600px){
  #final-cta .cta-feature-split-field-engineer-ask__el-5,
  #final-cta .cta-feature-split-field-engineer-ask__el-10{line-height:1.15}
}

/* Keep the implementation heading on word boundaries at mobile widths. */
#ai-implementation-steps .problem-solution-bridge-method-section__title{
  width:100% !important;
  max-width:100% !important;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

/* Let the approved accelerator heading use its existing section width. */
#accelerators .accelerators-1e-edgy-creative__style-4{
  width:100% !important;
  max-width:100% !important;
  flex-basis:100% !important;
}
