/* Atlas Geology: additions (case study, value props, team, analytics). Uses the site's own tokens. */
:root { --ax-gold: #d1aa75; --ax-gold-ink: #9a7438; --ax-dark: #0d0e12; --ax-paper: #f4f1ea; --ax-ease: cubic-bezier(.2,.7,.2,1); }

/* ---------- shared ---------- */
.ax-eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.ax-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ax-gold); }
.ax-h { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; margin: 0; max-width: 18ch; color: var(--ink-900); }
.ax-h em { font-style: normal; color: var(--ink-400); }
.ax-lede { font-size: 17px; line-height: 1.55; color: var(--ink-600); max-width: 56ch; margin: 20px 0 0; }
.ax-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 28px; max-width: 900px; }
.ax-chips__t { font-size: 12px; color: rgba(244,241,234,.6); margin-right: 4px; }
.ax-chip { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(244,241,234,.22); color: #f4f1ea; }
.ax-arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-900); color: var(--bg-100); transition: transform .4s var(--ax-ease), background .3s, color .3s; }

/* ---------- homepage: case-study bar ---------- */
.ax-bar { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 20px; margin-top: 16px; padding: 22px 24px; border: 1px solid var(--line-200); border-radius: 14px; background: var(--bg-100); color: var(--ink-900); text-decoration: none; transition: color .45s var(--ax-ease), border-color .45s; }
.ax-bar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ax-dark); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ax-ease); }
.ax-bar:hover, .ax-bar:focus-visible { color: var(--ax-paper); border-color: var(--ax-dark); }
.ax-bar:hover::before, .ax-bar:focus-visible::before { transform: scaleX(1); }
.ax-bar__tag { flex: none; font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; opacity: .75; display: inline-flex; align-items: center; gap: 7px; }
.ax-bar__tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ax-gold); }
.ax-bar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ax-bar__title { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.02em; }
.ax-bar__meta { font-size: 13px; opacity: .6; }
.ax-bar:hover .ax-arrow { background: var(--ax-paper); color: var(--ax-dark); transform: translateX(5px); }
@media (max-width: 640px) { .ax-bar { flex-wrap: wrap; padding: 18px; } .ax-bar__text { flex-basis: calc(100% - 60px); } }

/* ---------- product pages: pain → value ---------- */
.ax-pain { padding: 96px 0; border-top: 1px solid var(--line-200); }
.ax-quote { margin: 0; padding: clamp(28px, 4vw, 56px); background: var(--bg-300); border: 1px solid var(--line-200); border-radius: 14px; }
.ax-quote__label { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.ax-quote blockquote { margin: 18px 0 0; font-size: clamp(28px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; max-width: 20ch; color: var(--ink-900); }
.ax-quote figcaption { margin-top: 18px; font-size: 17px; color: var(--ink-600); max-width: 56ch; line-height: 1.5; }
.ax-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ax-col { border: 1px solid var(--line-200); border-radius: 14px; padding: clamp(22px, 3vw, 36px); }
.ax-col--dark { background: var(--ax-dark); border-color: var(--ax-dark); color: var(--ax-paper); }
.ax-col__tag { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.ax-col--dark .ax-col__tag { color: rgba(244,241,234,.55); }
.ax-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.ax-col li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.ax-col li::before { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; margin-top: 1px; }
.ax-col--before li { color: var(--ink-600); }
.ax-col--before li::before { content: '×'; border: 1px solid var(--line-200); color: var(--ink-400); }
.ax-col--dark li::before { content: '✓'; background: var(--ax-gold); color: var(--ax-dark); }
.ax-proof { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; padding: 20px 24px; border: 1px solid var(--line-200); border-radius: 14px; color: var(--ink-900); text-decoration: none; font-size: 16px; transition: background .35s var(--ax-ease), color .35s; }
.ax-proof:hover { background: var(--ax-dark); color: var(--ax-paper); }
.ax-proof:hover .ax-arrow { background: var(--ax-paper); color: var(--ax-dark); transform: translateX(5px); }
@media (max-width: 820px) { .ax-ba { grid-template-columns: 1fr; } .ax-pain { padding: 64px 0; } }

/* ---------- company: team + advisors ---------- */
.ax-founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ax-founder { display: grid; grid-template-columns: minmax(120px, 36%) 1fr; gap: 24px; border: 1px solid var(--line-200); border-radius: 14px; padding: 20px; background: var(--bg-100); }
.ax-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--bg-300); display: grid; place-items: center; }
.ax-photo > span { font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; color: #bdbdb5; letter-spacing: -.02em; }
.ax-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.03); transition: filter .7s var(--ax-ease), transform 1s var(--ax-ease); }
.ax-founder:hover .ax-photo img, .ax-adv:hover .ax-photo img { filter: grayscale(0); transform: none; }
.ax-founder h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; margin: 2px 0 4px; color: var(--ink-900); }
.ax-role { font-size: 13px; font-weight: 500; color: var(--ax-gold-ink); }
.ax-founder p { font-size: 14.5px; line-height: 1.6; color: var(--ink-600); margin: 14px 0 0; }
.ax-prev { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-200); }
.ax-prev__t { font-size: 11.5px; color: var(--ink-400); margin-right: 4px; }
.ax-prev span:not(.ax-prev__t) { font-size: 11.5px; font-weight: 500; color: var(--ink-900); border: 1px solid var(--line-200); border-radius: 999px; padding: 3px 10px; background: var(--bg-200); }
.ax-plus { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); margin-top: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 14px; background: var(--ax-dark); color: var(--ax-paper); }
.ax-plus b { font-size: clamp(52px, 6.4vw, 96px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--ax-gold); flex: none; }
.ax-plus p { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; margin: 0; max-width: 40ch; }
.ax-advisors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 40px; }
.ax-adv { display: flex; flex-direction: column; }
.ax-adv .ax-photo { aspect-ratio: 1; border-radius: 50%; }
.ax-area { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-gold-ink); margin-top: 18px; }
.ax-adv h4 { font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin: 6px 0 4px; color: var(--ink-900); }
.ax-adv p { font-size: 13px; color: var(--ink-600); line-height: 1.45; margin: 0; }
.ax-orgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.ax-orgs span { font-size: 11px; font-weight: 500; color: var(--ink-900); border: 1px solid var(--line-200); border-radius: 999px; padding: 3px 9px; background: var(--bg-200); }
@media (max-width: 1100px) { .ax-advisors { grid-template-columns: repeat(3, 1fr); } .ax-founders { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ax-founder { grid-template-columns: 1fr; } .ax-founder .ax-photo { max-width: 200px; aspect-ratio: 1; } .ax-advisors { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .ax-plus { flex-direction: column; align-items: flex-start; } }

/* ---------- case study page ---------- */
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-200); border: 1px solid var(--line-200); border-radius: 14px; overflow: hidden; margin-top: 48px; }
.cs-facts > div { background: var(--bg-100); padding: 22px 22px 20px; }
.cs-facts b { display: block; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.045em; font-weight: 500; line-height: 1; color: var(--ink-900); }
.cs-facts b small { font-size: .45em; color: var(--ink-400); font-weight: 400; margin-left: 3px; letter-spacing: 0; }
.cs-facts > div > span { display: block; font-size: 13px; color: var(--ink-400); margin-top: 10px; }
.cs-story { border-top: 1px solid var(--line-200); }
.cs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
.cs-step { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 12vh 0; }
.cs-num { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); display: flex; align-items: center; gap: 12px; }
.cs-num b { color: var(--ink-900); font-weight: 500; }
.cs-num::after { content: ''; height: 1px; width: 40px; background: var(--line-200); }
.cs-step h2 { font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.045em; line-height: 1.04; font-weight: 500; margin: 18px 0; color: var(--ink-900); }
.cs-step p { font-size: 16px; line-height: 1.65; color: var(--ink-600); max-width: 46ch; margin: 0; }
.cs-step p + p { margin-top: 12px; }
.cs-step p b { color: var(--ink-900); font-weight: 500; }
.cs-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-200); border: 1px solid var(--line-200); border-radius: 12px; overflow: hidden; margin-top: 28px; max-width: 500px; }
.cs-kv > div { background: var(--bg-100); padding: 18px 18px 16px; }
.cs-kv b { display: block; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.045em; font-weight: 500; line-height: 1; color: var(--ink-900); }
.cs-kv b small { font-size: .5em; color: var(--ink-400); font-weight: 400; margin-left: 2px; }
.cs-kv > div > span { display: block; font-size: 12.5px; color: var(--ink-400); margin-top: 8px; line-height: 1.4; }
.cs-kv--one { grid-template-columns: 1fr; }
.cs-kv--one b { font-size: clamp(60px, 7vw, 104px); }
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cs-chips span { font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--line-200); border-radius: 999px; color: var(--ink-600); }
.cs-stage { position: sticky; top: var(--nav-height, 64px); height: calc(100vh - var(--nav-height, 64px)); display: flex; align-items: center; }
.cs-panel { position: relative; width: 100%; aspect-ratio: 7 / 5; max-height: calc(100vh - 140px); background: var(--bg-300); border: 1px solid var(--line-200); border-radius: 14px; overflow: hidden; }
.cs-panel svg { position: absolute; top: 46px; left: 14px; width: calc(100% - 28px); height: calc(100% - 130px); }
.cs-cell { transition: fill .9s var(--ax-ease), opacity .9s var(--ax-ease), transform .9s var(--ax-ease); transform-box: fill-box; transform-origin: center; }
.cs-hud { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-400); }
.cs-hud b { color: var(--ink-900); font-weight: 500; }
.cs-dots { display: flex; gap: 5px; }
.cs-dots i { width: 20px; height: 3px; border-radius: 3px; background: var(--line-200); transition: background .5s; }
.cs-dots i.on { background: var(--ink-900); }
.cs-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cs-cap__big { font-size: clamp(24px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1; color: var(--ink-900); }
.cs-cap__big small { font-size: .45em; color: var(--ink-400); font-weight: 400; letter-spacing: 0; margin-left: 3px; }
.cs-cap__lbl { font-size: 12.5px; color: var(--ink-400); margin-top: 6px; }
.cs-legend { display: flex; gap: 12px; font-size: 11.5px; color: var(--ink-600); flex-wrap: wrap; justify-content: flex-end; }
.cs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cs-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.cs-ovl { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .7s var(--ax-ease); }
.on-2 .cs-ovl--loop, .on-4 .cs-ovl--split { opacity: 1; }
.cs-badge { position: absolute; background: var(--bg-100); border: 1px solid var(--line-200); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 6px 24px rgba(10,10,10,.06); transform: translate(-50%, -50%) scale(.9); transition: transform .8s var(--ax-ease); white-space: nowrap; color: var(--ink-900); }
.on-2 .cs-badge { transform: translate(-50%, -50%) scale(1); }
.cs-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ax-gold); }
.cs-badge--dark { background: var(--ax-dark); color: var(--ax-paper); border-color: var(--ax-dark); }
.cs-tag { position: absolute; top: 48px; font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: var(--bg-100); border: 1px solid var(--line-200); color: var(--ink-900); }
.cs-line { position: absolute; top: 46px; bottom: 84px; width: 0; border-left: 1.5px dashed #9a9a94; }
.cs-roles { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; border: 0; padding: 0; margin: 0; }
.cs-roles legend { font-size: 12px; color: var(--ink-600); margin-bottom: 10px; padding: 0; }
.cs-opt { position: relative; }
.cs-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cs-opt span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line-200); border-radius: 999px; font-size: 13px; color: var(--ink-600); cursor: pointer; transition: all .25s var(--ax-ease); user-select: none; }
.cs-opt span::before { content: ''; width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--ink-400); transition: all .25s; }
.cs-opt input:checked + span { background: var(--ink-900); color: var(--bg-100); border-color: var(--ink-900); }
.cs-opt input:checked + span::before { background: var(--ax-gold); border-color: var(--ax-gold); }
.cs-opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 960px) {
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-grid { display: flex; flex-direction: column; }
  .cs-stage { order: -1; height: auto; padding: 10px 0; z-index: 5; background: var(--bg-100); }
  .cs-panel { max-height: 42vh; }
  .cs-step { min-height: 78vh; padding: 8vh 0; }
  .cs-legend { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cs-cell, .ax-bar::before { transition: none !important; } }

/* case-study hero: light "paper" opener, distinct from the dark product heroes */
.cs-hero { position: relative; padding: calc(56px + clamp(64px, 12vh, 128px)) 0 clamp(56px, 9vh, 96px); background:
  linear-gradient(var(--bg-100), rgba(255,255,255,0)) 0 0 / 100% 40% no-repeat,
  repeating-linear-gradient(0deg, transparent 0 47px, rgba(10,10,10,.045) 47px 48px),
  repeating-linear-gradient(90deg, transparent 0 47px, rgba(10,10,10,.045) 47px 48px), var(--bg-200); border-bottom: 1px solid var(--line-200); }
.cs-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.cs-hero__title { font-size: clamp(40px, 6vw, 88px); line-height: .98; letter-spacing: -.05em; font-weight: 500; margin: 0; color: var(--ink-900); max-width: 14ch; }
.cs-hero__title em { font-style: normal; color: var(--ax-gold-ink); }
.cs-hero__side p { font-size: 17px; line-height: 1.55; color: var(--ink-600); margin: 0 0 24px; }
.cs-hero__side .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.cs-hero .cs-facts { margin-top: clamp(40px, 7vh, 72px); }
.cs-facts b small { font-size: .42em; }
@media (max-width: 900px) { .cs-hero__grid { grid-template-columns: 1fr; } }

.cs-hero .cs-facts { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .cs-hero .cs-facts { grid-template-columns: 1fr 1fr; } }

/* ---------- AI Geologist: problem metrics + before/after ---------- */
.ax-problem { padding: 112px 0; border-top: 1px solid var(--line-200); }
.ax-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-200); border: 1px solid var(--line-200); border-radius: 14px; overflow: hidden; margin-top: 40px; }
.ax-stats > div { background: var(--bg-100); padding: 26px 24px 24px; }
.ax-stats b { display: block; font-size: clamp(34px, 3.8vw, 56px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--ink-900); }
.ax-stats b small { font-size: .42em; color: var(--ink-400); font-weight: 400; letter-spacing: 0; margin-left: 3px; }
.ax-stats > div > span { display: block; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--ink-600); max-width: 26ch; }
.ax-tl { margin-top: 16px; border: 1px solid var(--line-200); border-radius: 14px; padding: clamp(22px, 3vw, 36px); background: var(--bg-200); }
.ax-tl__row { display: grid; grid-template-columns: 150px 1fr 90px; gap: 16px; align-items: center; margin-bottom: 14px; }
.ax-tl__lbl { font-size: 14px; color: var(--ink-900); font-weight: 500; }
.ax-tl__v { font-size: 14px; color: var(--ink-600); text-align: right; font-variant-numeric: tabular-nums; }
.ax-tl__track { position: relative; height: 30px; border-radius: 6px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line-200) calc(25% - 1px) 25%); }
.ax-tl__bar { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: var(--ink-900); transition: width 1.4s cubic-bezier(.2,.7,.2,1) .2s; }
.ax-tl__bar--gold { background: var(--ax-gold); transition-delay: .6s; }
.reveal.is-in .ax-tl__bar, .ax-tl.is-in .ax-tl__bar { width: var(--w); }
.ax-tl__saved { position: absolute; top: 0; bottom: 0; left: var(--l); right: 0; border: 1.5px dashed var(--ax-gold-ink); border-left: 0; border-radius: 0 6px 6px 0; display: grid; place-items: center; font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--ax-gold-ink); opacity: 0; transition: opacity .6s ease 1.8s; }
.reveal.is-in .ax-tl__saved { opacity: 1; }
.ax-tl__axis { display: flex; justify-content: space-between; margin-left: 166px; margin-right: 106px; font-size: 11.5px; color: var(--ink-400); }
.ax-tl .fine { margin-top: 14px; }
.ax-cmp { margin-top: 16px; border: 1px solid var(--line-200); border-radius: 14px; overflow: hidden; }
.ax-cmp__head, .ax-cmp__row { display: grid; grid-template-columns: 1.1fr 1.5fr 1.7fr; }
.ax-cmp__head span { padding: 14px 20px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); background: var(--bg-200); }
.ax-cmp__head span:last-child { background: var(--ax-dark); color: var(--ax-gold); }
.ax-cmp__row span { padding: 18px 20px; font-size: 15px; line-height: 1.45; border-top: 1px solid var(--line-200); color: var(--ink-600); }
.ax-cmp__row span:first-child { color: var(--ink-900); font-weight: 500; }
.ax-cmp__row span:last-child { background: var(--ax-dark); color: var(--ax-paper); border-top-color: #24252a; }
@media (max-width: 900px) {
  .ax-stats { grid-template-columns: 1fr 1fr; }
  .ax-tl__row { grid-template-columns: 1fr 70px; } .ax-tl__lbl { grid-column: 1 / -1; } .ax-tl__axis { margin: 0 86px 0 0; }
  .ax-cmp__head { display: none; }
  .ax-cmp__row { grid-template-columns: 1fr; }
  .ax-cmp__row span:nth-child(2)::before { content: 'Conventional: '; color: var(--ink-400); }
  .ax-cmp__row span:last-child::before { content: 'With AI Geologist: '; color: var(--ax-gold); }
  .ax-problem { padding: 72px 0; }
}

/* ---------- AI Geologist: benchmark ---------- */
.ax-bench { padding: 112px 0; border-top: 1px solid var(--line-200); background: var(--bg-200); }
.ax-bench__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-top: 8px; }
.ax-bench__big { font-size: clamp(96px, 14vw, 200px); font-weight: 500; letter-spacing: -.06em; line-height: .9; color: var(--ink-900); }
.ax-bench__big-lbl { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-gold-ink); margin-top: 10px; }
.ax-lede { font-size: 16px; line-height: 1.6; color: var(--ink-600); margin: 16px 0 0; max-width: 60ch; }
.ax-sites { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ax-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-400); background: var(--bg-100); }
.ax-dot--gold { background: var(--ax-gold); border-color: var(--ax-gold-ink); }
.ax-sites .ax-dot { opacity: 0; transform: scale(.4); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in .ax-sites .ax-dot { opacity: 1; transform: none; }
.ax-sites .ax-dot:nth-child(n) { transition-delay: calc(var(--i, 0) * 40ms); }
.ax-sites__lg { display: flex; gap: 18px; margin-top: 12px; font-size: 12.5px; color: var(--ink-600); }
.ax-sites__lg span { display: inline-flex; align-items: center; gap: 7px; }
.ax-sites__lg .ax-dot { width: 11px; height: 11px; }
.ax-bench__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-200); border: 1px solid var(--line-200); border-radius: 14px; overflow: hidden; margin-top: 48px; }
.ax-bench__kpis > div { background: var(--bg-100); padding: 20px 22px; }
.ax-bench__kpis b { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.045em; color: var(--ink-900); line-height: 1; }
.ax-bench__kpis span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-400); }
.ax-mt { margin-top: 16px; border: 1px solid var(--line-200); border-radius: 14px; overflow: hidden; background: var(--bg-100); }
.ax-mt__head, .ax-mt__row { display: grid; grid-template-columns: 1fr 2fr 2.2fr; }
.ax-mt__head span { padding: 14px 20px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.ax-mt__row span { padding: 18px 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-600); border-top: 1px solid var(--line-200); }
.ax-mt__row span:first-child { color: var(--ink-900); font-weight: 500; }
.ax-mt__row b { color: var(--ink-900); font-weight: 500; }
@media (max-width: 900px) {
  .ax-bench__top { grid-template-columns: 1fr; }
  .ax-bench__kpis { grid-template-columns: 1fr 1fr; }
  .ax-mt__head { display: none; } .ax-mt__row { grid-template-columns: 1fr; }
  .ax-mt__row span + span { border-top: 0; padding-top: 0; }
  .ax-bench { padding: 72px 0; }
}

.ax-founder .ax-photo { aspect-ratio: 1; align-self: start; }

.ax-problem .ax-stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ax-problem .ax-stats { grid-template-columns: 1fr 1fr; } }

/* original organisation logos */
.ax-prev, .ax-orgs { gap: 10px 18px; align-items: center; }
.ax-logo { height: 20px; width: auto; display: inline-block; object-fit: contain; }
/* per-logo optical sizing */
.ax-logo[src$="/bai-tau.webp"] { height: 26px; }
.ax-orgs .ax-logo[src$="/bai-tau.webp"] { height: 22px; }
.ax-logo[src$="/caltech.webp"] { height: 20px; }
.ax-orgs .ax-logo[src$="/caltech.webp"] { height: 17px; }
.ax-logo[src$="/caserm.webp"] { height: 24px; }
.ax-orgs .ax-logo[src$="/caserm.webp"] { height: 20px; }
.ax-logo[src$="/cologne.webp"] { height: 41px; }
.ax-orgs .ax-logo[src$="/cologne.webp"] { height: 35px; }
.ax-logo[src$="/ensai.webp"] { height: 40px; }
.ax-orgs .ax-logo[src$="/ensai.webp"] { height: 34px; }
.ax-logo[src$="/forbes.webp"] { height: 21px; }
.ax-orgs .ax-logo[src$="/forbes.webp"] { height: 18px; }
.ax-logo[src$="/frontier-ventures.webp"] { height: 15px; }
.ax-orgs .ax-logo[src$="/frontier-ventures.webp"] { height: 13px; }
.ax-logo[src$="/idealab.webp"] { height: 23px; }
.ax-orgs .ax-logo[src$="/idealab.webp"] { height: 20px; }
.ax-logo[src$="/insilico.webp"] { height: 34px; }
.ax-orgs .ax-logo[src$="/insilico.webp"] { height: 29px; }
.ax-logo[src$="/nmg.webp"] { height: 25px; }
.ax-orgs .ax-logo[src$="/nmg.webp"] { height: 21px; }
.ax-logo[src$="/point72.webp"] { height: 29px; }
.ax-orgs .ax-logo[src$="/point72.webp"] { height: 25px; }
.ax-logo[src$="/telecom-paris.webp"] { height: 42px; }
.ax-orgs .ax-logo[src$="/telecom-paris.webp"] { height: 36px; }
.ax-logo[src$="/virginia-tech.webp"] { height: 18px; }
.ax-orgs .ax-logo[src$="/virginia-tech.webp"] { height: 15px; }
.ax-logo[src$="/neurips.webp"] { height: 52px; }
.ax-orgs .ax-logo[src$="/neurips.webp"] { height: 48px; }

/* phones: keep hero text readable over any animated background */
@media (max-width: 760px) {
  .p-hero .hero__vignette, .hero--co .hero__vignette { background: linear-gradient(180deg, rgba(13,14,18,.72) 0%, rgba(13,14,18,.6) 45%, rgba(13,14,18,.82) 100%); }
}

/* seven advisors: four per row on desktop */
.ax-advisors { grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.ax-adv .ax-photo { max-width: 220px; }
.ax-logo--app { height: 30px !important; border-radius: 6px; }
@media (max-width: 1100px) { .ax-advisors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ax-advisors { grid-template-columns: 1fr 1fr; } }
.ax-logo[src$="/jpmorgan.svg"] { height: 16px; }
.ax-orgs .ax-logo[src$="/jpmorgan.svg"] { height: 15px; }
.ax-orgs .ax-logo[src$="/axion.webp"] { height: 18px; }
.ax-orgs .ax-logo[src$="/reyl.webp"] { height: 30px; }
.ax-orgs .ax-logo[src$="/indosuez.webp"] { height: 24px; }
.ax-logo--box { border-radius: 4px; }

/* explore: layer chips are tappable toggles */
.layer-list li { cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: transform .15s ease; }
.layer-list li:active { transform: scale(.97); }
.layer-list li:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* comparison: compact cards on phones */
@media (max-width: 900px) {
  .ax-cmp { border: 0; border-radius: 0; overflow: visible; display: grid; gap: 10px; }
  .ax-cmp__row { display: block; border: 1px solid var(--line-200); border-radius: 12px; overflow: hidden; background: var(--bg-100); }
  .ax-cmp__row span { display: block; border-top: 0 !important; }
  .ax-cmp__row span:first-child { padding: 14px 16px 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-gold-ink); }
  .ax-cmp__row span:nth-child(2) { padding: 0 16px 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink-600); }
  .ax-cmp__row span:nth-child(2)::before { content: 'Today'; display: block; font-size: 11px; color: var(--ink-400); margin-bottom: 2px; }
  .ax-cmp__row span:last-child { padding: 12px 16px 14px; font-size: 14.5px; line-height: 1.45; background: var(--ax-dark); color: var(--ax-paper); }
  .ax-cmp__row span:last-child::before { content: 'With AI Geologist'; display: block; font-size: 11px; color: var(--ax-gold); margin-bottom: 2px; }
}

/* hero stats on phones: framed 2x2 panel over the animated background */
@media (max-width: 860px) {
  .hero--dark .hero__stats { width: auto; margin: 8px 20px 28px; padding: 0; gap: 0; background: rgba(13,14,18,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #2a2b31; border-radius: 14px; overflow: hidden; }
  .hero--dark .hero__stats > div { padding: 16px 18px 15px; gap: 5px; }
  .hero--dark .hero__stats > div:nth-child(2n) { border-left: 1px solid #2a2b31; }
  .hero--dark .hero__stats > div:nth-child(n+3) { border-top: 1px solid #2a2b31; }
  .hero--dark .hero__stats b { font-size: 19px; letter-spacing: -.02em; }
  .hero--dark .hero__stats span { font-size: 12.5px; line-height: 1.35; color: #a9a59d; }
}
@media (max-width: 640px) {
  .hero--dark .hero__stats--3 > div:nth-child(2n) { border-left: 0; }
  .hero--dark .hero__stats--3 > div:nth-child(n+2) { border-top: 1px solid #2a2b31; }
}

/* ---------- testimonials ---------- */
.ax-testi { padding: 112px 0; border-top: 1px solid var(--line-200); background: var(--bg-200); }
.ax-tq { margin: 0; }
.ax-tq blockquote { margin: 0; }
.ax-tq figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; font-size: 13px; }
.ax-tq figcaption b { font-weight: 500; color: var(--ink-900); }
.ax-tq figcaption span { color: var(--ink-400); }
.ax-tq--lead { position: relative; margin-top: 8px; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px); background: var(--ax-dark); color: var(--ax-paper); border-radius: 16px; overflow: hidden; }
.ax-tq--lead blockquote { font-size: clamp(24px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.035em; font-weight: 500; max-width: 30ch; position: relative; }
.ax-tq__mark { position: absolute; top: -.18em; right: .08em; font-size: clamp(160px, 22vw, 320px); line-height: 1; color: var(--ax-gold); opacity: .18; font-weight: 500; pointer-events: none; }
.ax-tq--lead figcaption b { color: var(--ax-paper); }
.ax-tq--lead figcaption span { color: var(--ax-gold); }
.ax-tq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.ax-tq-grid .ax-tq { padding: 26px 28px; background: var(--bg-100); border: 1px solid var(--line-200); border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.ax-tq-grid blockquote { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: var(--ink-900); letter-spacing: -.01em; }
@media (max-width: 760px) { .ax-testi { padding: 72px 0; } .ax-tq-grid { grid-template-columns: 1fr; } .ax-tq-grid .ax-tq { padding: 20px; } }
@media (max-width: 760px) { .ax-tq__mark { display: none; } }

/* ---------- testimonials carousel ---------- */
.ax-testi__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.ax-car__nav { display: flex; gap: 8px; flex: none; }
.ax-car__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-200); background: var(--bg-100); color: var(--ink-900); font-size: 18px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.ax-car__btn:hover { background: var(--ink-900); color: var(--bg-100); border-color: var(--ink-900); }
.ax-car { position: relative; }
.ax-car__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 2.5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; outline: none; }
.ax-car__track::-webkit-scrollbar { display: none; }
.ax-testi .ax-tq { scroll-snap-align: start; margin: 0; padding: 28px 28px 24px; min-height: 340px; display: flex; flex-direction: column; border-radius: 16px; background: var(--bg-100); border: 1px solid var(--line-200); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.ax-testi .ax-tq:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(13,14,18,.35); }
.ax-testi .ax-tq--lead { background: var(--ax-dark); border-color: var(--ax-dark); color: var(--ax-paper); overflow: visible; }
.ax-tq__tag { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .02em; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ax-gold); color: var(--ax-gold-ink); background: rgba(209,170,117,.08); }
.ax-tq--lead .ax-tq__tag { color: var(--ax-gold); background: rgba(209,170,117,.1); }
.ax-testi .ax-tq blockquote { margin: 22px 0 0; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.3; letter-spacing: -.025em; font-weight: 500; color: var(--ink-900); max-width: none; flex: 1; }
.ax-testi .ax-tq--lead blockquote { color: var(--ax-paper); font-size: clamp(19px, 1.7vw, 25px); }
.ax-tq blockquote mark { background: linear-gradient(transparent 62%, rgba(209,170,117,.38) 62%); color: inherit; padding: 0 .05em; }
.ax-tq--lead blockquote mark { background: none; color: var(--ax-gold); }
.ax-testi .ax-tq figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-200); }
.ax-testi .ax-tq--lead figcaption { border-top-color: #2a2b31; }
.ax-car__foot { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.ax-car__dots { display: flex; gap: 6px; }
.ax-car__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line-200); cursor: pointer; transition: width .35s cubic-bezier(.2,.7,.2,1), background .35s; }
.ax-car__dots button.is-on { width: 26px; background: var(--ink-900); }
.ax-car__timer { flex: 1; max-width: 160px; height: 2px; background: var(--line-200); border-radius: 2px; overflow: hidden; }
.ax-car__timer i { display: block; height: 100%; width: 0; background: var(--ax-gold); }
.ax-car.is-playing .ax-car__timer i { animation: ax-timer var(--ax-dur, 5.5s) linear forwards; }
@keyframes ax-timer { to { width: 100%; } }
@media (max-width: 1100px) { .ax-car__track { grid-auto-columns: calc((100% - 16px) / 1.7); } }
@media (max-width: 640px) { .ax-car__track { grid-auto-columns: 86%; } .ax-testi .ax-tq { min-height: 0; padding: 22px 20px; } .ax-car__nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .ax-car__track { scroll-behavior: auto; } .ax-car__timer { display: none; } }
.ax-quote-link::after { content: ' \2192'; }

/* product demos: sensible shape on tablets; nothing overflowing on phones */
@media (min-width: 561px) and (max-width: 860px) { .demo__screen { aspect-ratio: 4 / 3; } }
@media (max-width: 860px) {
  .dm-ag2 > *, .dm-ly2 > *, .dm-ag2__in > *, .dm-ag2__head > *, .dm-ag2__row > *, .dm-ly2__in > *, .dm-ly2__row > * { min-width: 0; }
  .dm-ag2__row > *, .dm-ag2__head > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 520px) {
  .dm-ag2__in { grid-template-columns: repeat(3, 1fr) !important; }
  .dm-ag2__head, .dm-ag2__row { grid-template-columns: 30px 1fr 64px !important; }
  .dm-ag2__head { font-size: 8.5px; }
  .dm-ag2__row { font-size: 11px; }
}

.ax-site { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--ink-600); text-decoration: none; border-bottom: 1px solid var(--line-200); transition: color .2s, border-color .2s; }
.ax-site::after { content: "\2197"; font-size: 11px; }
.ax-site:hover { color: var(--ink-900); border-color: var(--ink-900); }

/* product cards: highlighter sweep over the description on hover */
.at-card__body .ax-hl { background-image: linear-gradient(transparent 58%, rgba(209,170,117,.42) 58%); background-repeat: no-repeat; background-size: 0% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .55s cubic-bezier(.2,.7,.2,1), color .3s; }
.at-card:hover .at-card__body .ax-hl, .at-card:focus-visible .at-card__body .ax-hl { background-size: 100% 100%; color: var(--ink-900); }
@media (prefers-reduced-motion: reduce) { .at-card__body .ax-hl { transition: none; } }

/* demo labels on homepage explore map */
.ax-demo{display:inline-flex;align-items:center;gap:7px;margin:0 0 10px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#b4572f;font-weight:500}
.ax-demo i{width:6px;height:6px;border-radius:50%;background:#c4622d;animation:axDemoPulse 1.8s ease-in-out infinite}
@keyframes axDemoPulse{50%{opacity:.3}}
.ax-demo-tag{position:absolute;right:20px;bottom:18px;z-index:2;font-size:11px;letter-spacing:.06em;color:rgba(0,0,0,.45);background:rgba(255,255,255,.75);border:1px solid rgba(0,0,0,.08);border-radius:999px;padding:5px 11px;pointer-events:none}
@media (max-width:760px){.ax-demo{font-size:10px;margin-bottom:6px}.ax-demo-tag{right:10px;bottom:10px;font-size:10px}}

/* security / IT + launch steps on product pages */
.ax-launch{padding:24px 0 112px}
.ax-launch__eye{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#b08a52;margin:0 0 18px;font-weight:500}
.ax-it{border:1px solid var(--line-200);border-radius:22px;padding:32px 36px;background:var(--bg-200);margin:0 0 88px}
.ax-it__g{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.ax-it__i b{display:block;font-size:15px;font-weight:600;letter-spacing:-.01em;margin-bottom:6px}
.ax-it__i span{font-size:14px;line-height:1.5;color:var(--ink-600)}
.ax-launch__t{font-size:clamp(28px,3.2vw,42px);line-height:1.06;letter-spacing:-.04em;margin:0 0 40px}
.ax-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:0;position:relative}
.ax-steps li{position:relative;padding:0 20px 0 0}
.ax-steps li:before{content:"";position:absolute;left:30px;right:0;top:15px;height:1px;background:linear-gradient(90deg,#b08a52,var(--line-200))}
.ax-steps li:last-child:before{display:none}
.ax-steps i{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:1px solid #b08a52;color:#8a6a3c;background:var(--bg-100);font-style:normal;font-size:12px;font-weight:600;margin-bottom:18px;position:relative;z-index:1}
.ax-steps b{display:block;font-size:16px;font-weight:600;letter-spacing:-.01em}
.ax-steps span{display:block;font-size:14px;line-height:1.5;color:var(--ink-600)}
.ax-bring{margin:44px 0 0;font-size:15px;color:var(--ink-600);border-top:1px solid var(--line-200);padding-top:22px}
.ax-bring b{color:var(--ink-900);font-weight:600}
@media (max-width:900px){.ax-it__g{grid-template-columns:1fr 1fr}.ax-steps{grid-template-columns:1fr;gap:22px}
.ax-steps li{padding:0 0 0 48px}.ax-steps i{position:absolute;left:0;top:-4px;margin:0}
.ax-steps li:before{left:15px;right:auto;top:30px;bottom:-26px;width:1px;height:auto;background:var(--line-200)}}
@media (max-width:560px){.ax-it{padding:24px 20px;margin-bottom:64px}.ax-it__g{grid-template-columns:1fr;gap:18px}.ax-launch{padding-bottom:80px}}

/* keep 1,500,000+ km² on one line */
.proof__stats b.ax-nowrap{white-space:nowrap;font-size:clamp(34px,3.9vw,56px)}
.proof__stats b .ax-unit{font-size:.55em;letter-spacing:-.01em;color:inherit;display:inline;max-width:none;line-height:inherit}
@media (max-width:420px){.proof__stats b.ax-nowrap{font-size:min(40px,9.6vw)}}
