/* ===== Agentic Operations (v3) — patterns unique to this page ===== */

/* imagery motion (matches the Greenlight pages) */
.ao-heroimg img, .ao-band img, .ao-strip img { will-change: transform; }
.ao-heroimg img { animation: g3drift 38s ease-in-out infinite alternate; }
.ao-band img { animation: g3driftAlt 44s ease-in-out infinite alternate; }
.ao-strip img { animation: g3drift 32s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .ao-heroimg img, .ao-band img, .ao-strip img { animation: none; }
}
.ao-hero { position: relative; }
.ao-hero .g3-hero__grid { position: relative; z-index: 1; }
.ao-heroimg { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; pointer-events: none; }
.ao-heroimg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.58; display: block; }
.ao-heroimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080808 0%, rgba(8,8,8,0.9) 30%, rgba(8,8,8,0.18) 100%), linear-gradient(to top, #080808 0%, rgba(8,8,8,0) 42%); }

.ao-band { position: relative; overflow: hidden; padding: 92px var(--pad); border-top: 1px solid var(--b10); border-bottom: 1px solid var(--b10); }
.ao-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.ao-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,0.94) 0%, rgba(8,8,8,0.74) 55%, rgba(8,8,8,0.42) 100%); }
.ao-band__in { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; }
.ao-band .g3-punch { margin: 0; padding: 0; border-top: none; max-width: 980px; }

.ao-strip { margin-top: 44px; position: relative; overflow: hidden; border: 1px solid var(--b16); height: 240px; }
.ao-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.ao-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,0.9), rgba(8,8,8,0.5)); }
.ao-imgk { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 16px 20px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--teal); background: linear-gradient(to top, rgba(8,8,8,0.9), rgba(8,8,8,0)); }

/* ---------- impact stats ---------- */
.ao-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--b10); border: 1px solid var(--b10); }
.ao-stat { background: var(--bg); padding: 30px 26px 32px; }
.g3-sec--alt .ao-stat { background: var(--alt); }
.ao-stat b { display: block; font-size: clamp(2.1rem, 3.8vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--teal); }
.ao-stat span { display: block; margin-top: 13px; font-size: 14px; line-height: 1.45; color: var(--t64); }

/* ---------- what we do ---------- */
.ao-svcs { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--b10); border: 1px solid var(--b10); }
.ao-svc { position: relative; background: var(--bg); padding: 30px 28px 34px; }
.g3-sec--alt .ao-svc { background: var(--alt); }
.ao-svc::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: var(--teal); transition: width .24s ease; }
.ao-svc:hover::before { width: 100%; }
.ao-svc__k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--t38); }
.ao-svc__t { margin: 14px 0 0; font-size: 19px; font-weight: 700; line-height: 1.24; letter-spacing: -0.015em; color: #fff; }
.ao-svc__p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.58; color: var(--t64); text-wrap: pretty; }

/* ---------- adoption journey ---------- */
.ao-journey { margin-top: 50px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.ao-phase { position: relative; padding: 26px 22px 30px 24px; border-left: 1px solid var(--b16); }
.ao-phase:first-child { border-left: 2px solid var(--teal); }
.ao-phase__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--b16); }
.ao-phase:nth-child(1) .ao-phase__bar { background: var(--teal); }
.ao-phase:nth-child(2) .ao-phase__bar { background: rgba(0,254,168,0.72); }
.ao-phase:nth-child(3) .ao-phase__bar { background: rgba(0,254,168,0.5); }
.ao-phase:nth-child(4) .ao-phase__bar { background: rgba(190,123,255,0.6); }
.ao-phase:nth-child(5) .ao-phase__bar { background: var(--lilac); }
.ao-phase__k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--t38); }
.ao-phase__t { margin: 12px 0 0; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.ao-phase__p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--t64); text-wrap: pretty; }

/* ---------- deploy routes ---------- */
.ao-routes { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ao-route { border: 1px solid var(--b16); background: var(--panel); padding: 26px 26px 30px; }
.ao-route__k { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: #0A0A0A; background: var(--teal); padding: 5px 9px; }
.ao-route__t { margin: 18px 0 0; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -0.015em; }
.ao-route__p { margin: 11px 0 0; font-size: 14.5px; line-height: 1.58; color: var(--t64); }
.ao-route--custom .ao-route__k { background: var(--lilac); }
.ao-route--embedded .ao-route__k { background: transparent; color: var(--t78); border: 1px solid var(--b16); }

/* ---------- trust / governance ---------- */
.ao-trust { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--b10); border: 1px solid var(--b10); }
.ao-trust__cell { background: var(--bg); padding: 28px 28px 32px; display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; }
.g3-sec--alt .ao-trust__cell { background: var(--alt); }
.ao-trust__n { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--teal); padding-top: 4px; }
.ao-trust__t { font-size: 16.5px; font-weight: 700; color: #fff; }
.ao-trust__p { margin: 9px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--t64); }

/* ---------- industries ---------- */
.ao-inds { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--b10); border: 1px solid var(--b10); }
.ao-ind { background: var(--bg); padding: 26px 26px 30px; }
.g3-sec--alt .ao-ind { background: var(--alt); }
.ao-ind__t { margin: 0; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.012em; }
.ao-ind__p { margin: 11px 0 0; font-size: 14px; line-height: 1.55; color: var(--t64); }
.ao-ind__rule { margin-top: 16px; height: 1px; background: var(--b16); }

/* ---------- client success ---------- */
.ao-wins { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ao-win { position: relative; border: 1px solid var(--b16); background: var(--panel); padding: 26px 26px 30px; }
.ao-win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--teal); }
.ao-win__k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--t38); }
.ao-win__m { display: block; margin-top: 18px; font-size: clamp(2rem, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--teal); }
.ao-win__t { margin: 16px 0 0; font-size: 15.5px; line-height: 1.5; font-weight: 700; color: #fff; }
.ao-win__p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--t64); }
.ao-win__ph { color: var(--t38); font-style: normal; }

/* ---------- impact stories ---------- */
.ao-stories { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ao-story { display: flex; flex-direction: column; border: 1px solid var(--b16); background: var(--panel); text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.ao-story:hover { border-color: var(--lilac); transform: translateY(-3px); }
.ao-story__media { position: relative; height: 186px; overflow: hidden; }
.ao-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.52; transition: opacity .3s ease, transform 1.2s cubic-bezier(0.22,1,0.36,1); }
.ao-story:hover .ao-story__media img { opacity: 0.7; transform: scale(1.05); }
.ao-story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.25) 70%); }
.ao-story__tag { position: absolute; z-index: 1; left: 0; bottom: 0; padding: 12px 18px; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: var(--teal); }
.ao-story__body { flex: 1; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.ao-story__m { font-size: clamp(1.8rem, 3vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--teal); }
.ao-story__t { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: #fff; }
.ao-story__p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--t64); }
.ao-story__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--lilac); }
.ao-story__more::after { content: ""; width: 14px; height: 1px; background: var(--lilac); transition: width .2s ease; }
.ao-story:hover .ao-story__more::after { width: 26px; }

/* ---------- insights and news ---------- */
.ao-news { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--b10); border: 1px solid var(--b10); }
.ao-newsitem { background: var(--bg); display: grid; grid-template-columns: 108px 1fr; gap: 18px; padding: 20px; text-decoration: none; color: inherit; transition: background .2s ease; }
.g3-sec--alt .ao-newsitem { background: var(--alt); }
.ao-newsitem:hover { background: #101014; }
.ao-newsitem__thumb { position: relative; height: 92px; overflow: hidden; }
.ao-newsitem__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: opacity .25s ease; }
.ao-newsitem:hover .ao-newsitem__thumb img { opacity: 0.68; }
.ao-newsitem__k { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; color: var(--teal); }
.ao-newsitem__t { margin: 9px 0 0; font-size: 14.5px; font-weight: 700; line-height: 1.35; color: #fff; text-wrap: pretty; }
.ao-newsitem__d { margin: 9px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--t38); }
.ao-newsfoot { margin-top: 22px; display: flex; justify-content: flex-end; }

/* ---------- single feature (impact story / article) ---------- */
.ao-feat { margin-top: 46px; display: grid; grid-template-columns: 1.08fr 0.92fr; border: 1px solid var(--b16); background: var(--panel); text-decoration: none; color: inherit; transition: border-color .22s ease; }
.ao-feat:hover { border-color: var(--lilac); }
.ao-feat__media { position: relative; overflow: hidden; min-height: 420px; }
.ao-feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; animation: g3drift 36s ease-in-out infinite alternate; will-change: transform; }
.ao-feat:hover .ao-feat__media img { opacity: 0.68; }
.ao-feat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,0.55), rgba(8,8,8,0.15)); }
.ao-feat__tag { position: absolute; z-index: 1; left: 0; top: 0; padding: 14px 20px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--teal); }
.ao-feat__body { padding: 44px 46px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ao-feat__k { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--lilac); }
.ao-feat__m { font-size: clamp(2.6rem, 5vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; color: var(--teal); }
.ao-feat__t { margin: 0; font-size: clamp(1.3rem, 2.3vw, 27px); font-weight: 700; line-height: 1.22; letter-spacing: -0.022em; color: #fff; text-wrap: balance; }
.ao-feat__p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--t64); text-wrap: pretty; max-width: 460px; }
.ao-feat__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--t38); }
.ao-feat__more { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; color: #fff; }
.ao-feat__more::after { content: ""; width: 20px; height: 1px; background: var(--lilac); transition: width .22s ease; }
.ao-feat:hover .ao-feat__more::after { width: 38px; }
.ao-feat--flip .ao-feat__media { order: 2; }
.ao-feat--flip .ao-feat__media::after { background: linear-gradient(270deg, rgba(8,8,8,0.55), rgba(8,8,8,0.15)); }
@media (prefers-reduced-motion: reduce) { .ao-feat__media img { animation: none; } }

/* ===== editorial replacements for the boxy grids ===== */

/* services index */
.ao2-svcs { margin-top: 54px; border-top: 1px solid var(--b16); }
.ao2-svc { position: relative; display: grid; grid-template-columns: 118px minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 34px; padding: 30px 0 32px; border-bottom: 1px solid var(--b10); align-items: start; transition: background .2s ease; }
.ao2-svc:hover { background: rgba(255,255,255,0.022); }
.ao2-svc__n { font-size: 46px; font-weight: 800; letter-spacing: -0.045em; line-height: 0.85; color: rgba(255,255,255,0.13); transition: color .22s ease; }
.ao2-svc:hover .ao2-svc__n { color: var(--teal); }
.ao2-svc__t { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.22; letter-spacing: -0.022em; color: #fff; text-wrap: pretty; }
.ao2-svc__p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--t64); text-wrap: pretty; }

/* journey rail */
.ao2-journey { margin-top: 60px; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto 56px auto; }
.ao2-journey::before { content: ""; grid-row: 2; grid-column: 1 / -1; align-self: center; height: 1px; background: var(--b16); }
.ao2-ph { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; }
.ao2-ph:nth-child(1) { grid-column: 1; }
.ao2-ph:nth-child(2) { grid-column: 2; }
.ao2-ph:nth-child(3) { grid-column: 3; }
.ao2-ph:nth-child(4) { grid-column: 4; }
.ao2-ph:nth-child(5) { grid-column: 5; }
.ao2-ph__node { grid-row: 2; align-self: center; justify-self: start; width: 13px; height: 13px; background: var(--teal); }
.ao2-ph:nth-child(4) .ao2-ph__node, .ao2-ph:nth-child(5) .ao2-ph__node { background: var(--lilac); }
.ao2-ph__stem { grid-row: 2; justify-self: start; margin-left: 6px; width: 1px; height: 28px; background: var(--b16); }
.ao2-ph--up .ao2-ph__stem { align-self: start; }
.ao2-ph--down .ao2-ph__stem { align-self: end; }
.ao2-ph__c { padding-right: 34px; }
.ao2-ph--up .ao2-ph__c { grid-row: 1; align-self: end; padding-bottom: 16px; }
.ao2-ph--down .ao2-ph__c { grid-row: 3; align-self: start; padding-top: 16px; }
.ao2-ph__k { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--t38); }
.ao2-ph__t { margin: 10px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.025em; color: #fff; }
.ao2-ph__p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--t64); text-wrap: pretty; }

/* trust layers */
.ao2-layers { margin-top: 48px; display: flex; flex-direction: column; }
.ao2-layer { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; padding: 26px 0 28px; border-top: 1px solid var(--b10); align-items: baseline; }
.ao2-layer:nth-child(2) { margin-left: 56px; }
.ao2-layer:nth-child(3) { margin-left: 112px; }
.ao2-layer:nth-child(4) { margin-left: 168px; }
.ao2-layer__t { display: flex; align-items: center; gap: 13px; font-size: 24px; font-weight: 800; letter-spacing: -0.025em; color: #fff; }
.ao2-layer__t i { width: 9px; height: 9px; background: var(--teal); flex: 0 0 auto; }
.ao2-layer:nth-child(3) .ao2-layer__t i, .ao2-layer:nth-child(4) .ao2-layer__t i { background: var(--lilac); }
.ao2-layer__p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--t64); max-width: 640px; text-wrap: pretty; }

/* industries index */
.ao2-inds { margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.ao2-ind { padding: 22px 0 24px; border-bottom: 1px solid var(--b10); }
.ao2-ind__t { display: flex; align-items: baseline; gap: 14px; margin: 0; font-size: 18.5px; font-weight: 700; letter-spacing: -0.018em; color: #fff; }
.ao2-ind__t em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--teal); }
.ao2-ind__p { margin: 9px 0 0 30px; font-size: 14.5px; line-height: 1.55; color: var(--t64); text-wrap: pretty; }

@media (max-width: 1180px) {
  .ao2-svc { grid-template-columns: 84px minmax(0, 1fr); gap: 24px; }
  .ao2-svc__n { font-size: 34px; }
  .ao2-svc__p { grid-column: 2; margin-top: 10px; }
  .ao2-journey { position: relative; display: block; grid-template-columns: none; grid-template-rows: none; }
  .ao2-ph { grid-row: auto; grid-column: auto; grid-template-rows: none; }
  .ao2-journey::before { position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; height: auto; }
  .ao2-ph { display: block; padding: 0 0 28px 34px; position: relative; }
  .ao2-ph__node { position: absolute; left: 0; top: 6px; }
  .ao2-ph__stem { display: none; }
  .ao2-ph__c, .ao2-ph--up .ao2-ph__c, .ao2-ph--down .ao2-ph__c { padding: 0; }
  .ao2-layer:nth-child(2), .ao2-layer:nth-child(3), .ao2-layer:nth-child(4) { margin-left: 0; }
  .ao2-layer { grid-template-columns: 1fr; gap: 10px; }
  .ao2-inds { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- FAQ ---------- */
.ao-faq { margin-top: 44px; border-top: 1px solid var(--b10); }
.ao-faq__item { border-bottom: 1px solid var(--b10); }
.ao-faq__q { width: 100%; background: none; border: none; margin: 0; padding: 24px 0; display: grid; grid-template-columns: 1fr 22px; gap: 24px; align-items: center; text-align: left; cursor: pointer; font-family: 'Manrope', sans-serif; font-size: 17.5px; font-weight: 700; color: #fff; letter-spacing: -0.012em; transition: color .18s ease; }
.ao-faq__q:hover { color: var(--teal); }
.ao-faq__sign { position: relative; width: 16px; height: 16px; justify-self: end; }
.ao-faq__sign::before, .ao-faq__sign::after { content: ""; position: absolute; background: var(--lilac); transition: transform .22s ease, opacity .22s ease; }
.ao-faq__sign::before { left: 0; top: 7.5px; width: 16px; height: 1.5px; }
.ao-faq__sign::after { left: 7.5px; top: 0; width: 1.5px; height: 16px; }
.ao-faq__item[data-open="1"] .ao-faq__sign::after { transform: scaleY(0); opacity: 0; }
/* The 0fr <-> 1fr transition does not interpolate reliably here: the attribute flips but the
   computed row height sticks, so panels never open after the first render. Row change is now
   instant, which is correct every time. A fade on the inner was tried and desynced by one state
   because the runtime re-renders the node, so there is deliberately no transition here.
   See HANDOFF open question 4. */
.ao-faq__a { display: grid; grid-template-rows: 0fr; }
.ao-faq__item[data-open="1"] .ao-faq__a { grid-template-rows: 1fr; }
.ao-faq__inner { overflow: hidden; }
.ao-faq__inner p { margin: 0 0 26px; max-width: 840px; font-size: 15.5px; line-height: 1.62; color: var(--t64); text-wrap: pretty; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ao-svcs, .ao-inds { grid-template-columns: repeat(2, 1fr); }
  .ao-stories, .ao-news { grid-template-columns: repeat(2, 1fr); }
  .ao-feat { grid-template-columns: 1fr; }
  .ao-feat__media { min-height: 260px; }
  .ao-feat--flip .ao-feat__media { order: 0; }
  .ao-feat__body { padding: 34px 30px 38px; }
  .ao-stats { grid-template-columns: repeat(2, 1fr); }
  .ao-stat:last-child { grid-column: span 2; }
  .ao-journey { grid-template-columns: repeat(2, 1fr); }
  .ao-routes, .ao-wins { grid-template-columns: 1fr; }
  .ao-heroimg { width: 100%; opacity: 0.55; }
}
@media (max-width: 820px) {
  .ao-svcs, .ao-inds, .ao-stats, .ao-journey, .ao-trust { grid-template-columns: 1fr; }
  .ao-feat__body { padding: 30px 24px 34px; }
  .ao-stories, .ao-news { grid-template-columns: 1fr; }
  .ao-stat:last-child { grid-column: span 1; }
  .ao-phase { border-left: 2px solid var(--b16); }
  .ao-band { padding: 64px var(--pad); }
  .ao-strip { height: 190px; }
  .ao-faq__q { font-size: 16px; }
}
