/* AI & Business Transformation — dedicated solution page */
.solution-page { background: #050505; }
.solution-page .site-header { background: linear-gradient(180deg, rgba(5,5,5,.82), transparent); }
.solution-page .site-header.scrolled { background: rgba(5,5,5,.92); }
.solution-page .primary-nav a[aria-current="page"] { color: var(--orange); }
.ai-hero, .ai-solutions, #blueprint, .ai-method, .ai-explorer, .ai-team, #sprint-inquiry, .ai-contact { scroll-margin-top: 70px; }

.ai-hero {
  --ai-hero-progress: 0;
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  background: #050505;
}
.ai-hero-media { position: absolute; inset: 0 0 0 40%; z-index: -5; overflow: hidden; }
.ai-hero-primary { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 12% center; filter: saturate(.85) contrast(1.05); transform: scale(calc(1.075 + (var(--ai-hero-progress) * .035))) translate3d(0, calc(var(--ai-hero-progress) * -1.5%), 0); transition: transform .08s linear; }
.ai-hero-scrim { position: absolute; inset: 0; z-index: -4; background: linear-gradient(90deg, #050505 0%, #050505 38%, rgba(5,5,5,.88) 50%, rgba(5,5,5,.18) 72%, transparent 100%), linear-gradient(0deg, rgba(0,0,0,.56), transparent 42%); }
.ai-hero-grid { position: absolute; inset: 0; z-index: -3; opacity: .13; background: linear-gradient(90deg, transparent 24.9%, #fff 25%, transparent 25.1%, transparent 49.9%, #fff 50%, transparent 50.1%, transparent 74.9%, #fff 75%, transparent 75.1%); }
.ai-hero-content { padding-top: 8rem; padding-bottom: 8rem; }
.ai-hero h1 { max-width: 850px; margin: 0; font-size: clamp(3rem, 6.5vw, 7.6rem); line-height: .9; letter-spacing: -.068em; text-transform: uppercase; }
.ai-hero-copy { max-width: 690px; margin: 2rem 0 0; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.35vw, 1.4rem); line-height: 1.5; }
.ai-hero-copy p { margin: 0; }
.ai-hero-copy .ai-hero-positioning { margin-bottom: .45rem; color: #fff; font-weight: 700; }
.ai-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2rem; margin-top: 2.2rem; }
.ai-hero-actions .text-link { margin: 0; }
.ai-hero-utility { position: absolute; right: calc(var(--pad) + 4rem); bottom: 1.7rem; display: flex; align-items: center; gap: 2rem; color: rgba(255,255,255,.58); font-size: .58rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.ai-hero-utility .motion-control { color: white; }

.ai-solutions { background: #070707; }
.ai-section-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); gap: clamp(3rem, 10vw, 12rem); align-items: end; }
.ai-section-intro h2, .ai-team-copy h2, .ai-method-intro h2 { margin: 0; font-size: clamp(3.1rem, 6vw, 7.4rem); line-height: .87; letter-spacing: -.068em; text-transform: uppercase; overflow-wrap: anywhere; }
.ai-solution-list { margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid rgba(255,255,255,.24); }
.ai-solution-row { border-bottom: 1px solid rgba(255,255,255,.24); }
.ai-solution-row summary { min-height: 94px; display: grid; grid-template-columns: clamp(48px, 6vw, 95px) 1fr minmax(260px, .7fr) 48px; align-items: center; gap: 1.5rem; padding: 1.5rem 0; cursor: pointer; list-style: none; }
.ai-solution-row summary::-webkit-details-marker { display: none; }
.ai-row-number { color: #777; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.ai-row-title { font-size: clamp(2rem, 3.5vw, 4.5rem); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.ai-row-outcome { color: #999; font-size: clamp(.9rem, 1.15vw, 1.1rem); line-height: 1.45; }
.ai-solution-row summary i { width: 44px; height: 44px; display: grid; place-items: center; justify-self: end; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-style: normal; transition: color .3s, background .3s, transform .45s cubic-bezier(.2,.8,.2,1); }
.ai-solution-row summary:hover i, .ai-solution-row summary:focus-visible i { color: #050505; background: white; }
.ai-solution-row[open] summary i { color: #050505; background: white; transform: rotate(45deg); }
.ai-row-body { display: grid; grid-template-columns: clamp(48px, 6vw, 95px) 1fr minmax(260px, .7fr) 48px; gap: 1.5rem; padding: 0 0 1.5rem; }
.ai-row-body ul { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; margin: 0; padding: 0; list-style: none; color: #999; }
.ai-row-body li { padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .86rem; }


.ai-method { background: radial-gradient(circle at 0 0, #242424 0, #090909 28%, #050505 60%); }
.ai-method-layout { display: grid; justify-items: start; gap: clamp(1.5rem, 3vw, 2.75rem); }
.ai-method-steps { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid rgba(255,255,255,.22); }
.ai-method-steps > li { min-width: 0; padding: clamp(1.4rem, 2.6vw, 2.25rem) clamp(1rem, 2.4vw, 2.5rem); border-inline-start: 1px solid rgba(255,255,255,.22); }
.ai-method-steps > li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.ai-method-steps > li > span { display: inline-flex; align-items: center; gap: .55rem; color: #ff9d60; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ai-method-steps > li > span::before { content: ""; inline-size: .8rem; block-size: 1px; background: currentColor; }
.ai-method-steps h3 { margin: .95rem 0 .65rem; font-size: clamp(1.3rem, 2vw, 2.2rem); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.ai-method-steps p { margin: 0; color: #ccc; line-height: 1.55; }

.ai-explorer .ai-section-intro > p { max-width: 32rem; margin: 0; color: #444; line-height: 1.55; }
.ai-workflow-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: clamp(1.6rem, 4vw, 3rem) 0 1.25rem; }
.ai-workflow-tabs a { display: inline-flex; min-height: 44px; align-items: center; padding: .55rem .95rem; border: 1px solid #777; border-radius: 999px; color: #191919; font-size: .8rem; font-weight: 700; }
.ai-workflow-tabs a:hover, .ai-workflow-tabs a[aria-selected="true"] { background: #151515; color: #fff; border-color: #151515; }
.ai-workflow-tabs a:focus-visible, .ai-workflow-panel:focus-visible { outline: 2px solid #292929; outline-offset: 4px; }
.ai-workflow-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--dark-line); border-radius: 1rem; overflow: hidden; }
.ai-workflow-panel[hidden] { display: none; }
.ai-workflow-panel:not([hidden]) + .ai-workflow-panel:not([hidden]) { margin-top: 1rem; }
.ai-workflow-panel figure, .ai-team figure { position: relative; margin: 0; overflow: hidden; background: #252525; }
.ai-workflow-panel img, .ai-team img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ai-workflow-copy { padding: clamp(1.25rem, 3.5vw, 3.75rem); }
.ai-workflow-copy h3 { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 3.4vw, 3.6rem); line-height: .98; letter-spacing: -.045em; }
.ai-workflow-steps { padding: 0; margin: 0; color: #41413e; list-style: decimal-leading-zero inside; }
.ai-workflow-steps li { padding: .85rem .85rem .85rem 1rem; border-top: 1px solid var(--dark-line); }
.ai-workflow-steps li::marker { color: #9c3d1f; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ai-workflow-steps strong { margin-inline-start: .45rem; color: #171717; font-size: .83rem; letter-spacing: .035em; }
.ai-workflow-steps p { margin: .3rem 0 0; line-height: 1.45; }
.ai-workflow-steps li:last-child { margin-top: .25rem; border-top-color: #d7c9bd; border-radius: .35rem; background: #f5f0ea; }

.ai-team-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 7vw, 7rem); align-items: center; }
.ai-team figure { aspect-ratio: 4 / 4.4; border-radius: 1rem; }
.ai-team-copy > p:not(.eyebrow), .ai-blueprint-option p { line-height: 1.55; }
.ai-team-sequence { display: flex; flex-wrap: wrap; gap: .65rem 1.8rem; padding: .9rem 0 .9rem 1.25rem; margin-block: 1.6rem; border-block: 1px solid var(--dark-line); font-weight: 700; }
.ai-blueprint-option { margin-block: 1.5rem; padding-block: 1.2rem; border-block: 1px solid rgba(255,255,255,.22); }
.ai-blueprint-option h4, .ai-blueprint-option p { margin: 0 0 .55rem; }
.ai-blueprint-option p { color: #ccc; }
.ai-blueprint-option .text-link { margin: .35rem 0 0; }

.ai-contact { border-top: 1px solid rgba(255,255,255,.16); }
.ai-contact .closing-statement { display: block; margin: 0; padding: 0; border: 0; line-height: .9; font-size: clamp(3rem, 7vw, 8rem); }
.ai-closing { padding-bottom: clamp(1.5rem, 3.25vw, 3rem); }
.ai-closing > p { max-width: 42rem; color: #ccc; line-height: 1.6; }
.ai-contact .contact-grid { margin-top: 0; padding-top: clamp(1.5rem, 3.25vw, 3rem); border-top: 1px solid rgba(255,255,255,.2); }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .75s ease, transform .85s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.motion-paused .ai-hero-primary { transform: none !important; transition: none !important; }

@media (max-width: 1100px) {
  .ai-hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
  .ai-solution-row summary { grid-template-columns: 60px 1fr minmax(220px,.6fr) 44px; }
  .ai-row-body { grid-template-columns: 60px 1fr minmax(220px,.6fr) 44px; }
}

@media (min-width: 801px) {
  .ai-method-steps > li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
}

@media (max-width: 800px) {
  .ai-method-steps { grid-template-columns: 1fr; }
  .ai-method-steps > li, .ai-method-steps > li:first-child { padding: 1.15rem 0; border-inline-start: 0; }
  .ai-method-steps > li + li { border-top: 1px solid rgba(255,255,255,.22); }
}

@media (max-width: 760px) {
  .ai-workflow-panel, .ai-team-layout { grid-template-columns: 1fr; }
  .ai-workflow-panel figure, .ai-team figure { aspect-ratio: 16 / 10; }
  .solution-page .site-header { background: rgba(5,5,5,.86); }
  .ai-hero { min-height: 100svh; align-items: end; }
  .ai-hero-media { inset: 0 0 auto; height: 57%; }
  .ai-hero-primary { object-position: 18% center; transform: scale(1.06); }
  .ai-hero-scrim { background: linear-gradient(0deg, #050505 0%, #050505 42%, rgba(5,5,5,.7) 60%, rgba(5,5,5,.04) 100%); }
  .ai-hero-content { padding-top: 7rem; padding-bottom: 5.5rem; }
  .ai-hero h1 { font-size: clamp(2.15rem, 10vw, 4.1rem); line-height: .92; }
  .ai-hero-copy { margin-top: 1.4rem; font-size: .98rem; }
  .ai-hero-actions { align-items: stretch; gap: 1.2rem; margin-top: 1.6rem; }
  .ai-hero-actions .button { width: 100%; white-space: normal; text-align: center; }
  .ai-hero-actions .text-link { width: max-content; }
  .ai-hero-utility { right: var(--pad); bottom: 1.1rem; }
  .ai-hero .scroll-cue { display: none; }
  .ai-section-intro { grid-template-columns: 1fr; gap: 2rem; }
  .ai-section-intro h2, .ai-team-copy h2, .ai-method-intro h2 { font-size: clamp(2.8rem, 12.5vw, 4.35rem); line-height: .89; }
  .ai-solution-list { margin-top: 2rem; }
  .ai-solution-row summary { min-height: 100px; grid-template-columns: 36px 1fr 40px; gap: .7rem; padding: 1.2rem 0; }
  .ai-row-title { font-size: clamp(1.8rem, 8vw, 2.8rem); overflow-wrap: anywhere; }
  .ai-row-outcome { grid-column: 2; font-size: .8rem; }
  .ai-solution-row summary i { grid-column: 3; grid-row: 1 / 3; width: 38px; height: 38px; }
  .ai-row-body { display: block; padding: 0 0 1.3rem 36px; }
  .ai-row-body ul { grid-template-columns: 1fr; margin-top: .5rem; }
  .ai-contact .closing-statement { font-size: clamp(2.8rem, 12.5vw, 4.35rem); }
  .ai-contact .contact-grid { row-gap: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-hero-primary, .ai-solution-row summary i, .reveal { transition: none !important; transform: none !important; }
  .reveal { opacity: 1 !important; }
}
