/* ============================================================
   Homepage styles. Brand tokens: colors_and_type.css.
   Shared chrome (nav/footer/base/focus): site.css.
   This file = homepage components (extracted from former inline
   styles) + the animation/mode machinery + the responsive layer.
   ============================================================ */

body { margin: 0; background: var(--ax-ink-2); color: #fff; }
a { color: var(--ax-turquoise); text-decoration: none; }
a:hover { text-decoration: none; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.hp-root { position: relative; background: var(--ax-ink); color: #fff; font-family: var(--font-text); overflow: hidden; }
.hp-nav-wrap { position: relative; z-index: 20; margin-bottom: -78px; }
.hp-container { position: relative; max-width: 1560px; margin: 0 auto 0 6vw; }
.hp-section { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 104px) clamp(24px, 4vw, 56px); }
.hp-section--dark { background: var(--ax-ink); color: #fff; }
.hp-section--light { background: var(--ax-mist); color: var(--ax-ink-2); }
.hp-section--flush-bottom { padding-bottom: 44px; }
.hp-divider { height: 2px; background: linear-gradient(to right, transparent, rgba(26,206,188,.75), transparent); }
.hp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }

/* ============================================================
   TYPE COMPONENTS
   ============================================================ */
.hp-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em; color: var(--ax-turquoise); margin: 0 0 18px; }
.hp-eyebrow--light { color: var(--ax-turquoise-ink); }
.hp-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: .14em; color: var(--ax-turquoise-ink); margin-bottom: 12px; }

.hp-h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; margin: 0; }
.hp-h2 .hl { color: var(--ax-turquoise); text-shadow: 0 0 28px rgba(26,206,188,.45); }
.hp-h2--light .hl { color: var(--ax-turquoise-ink); text-shadow: none; }

/* Inline highlight span — colour follows the section context. */
.hl { color: var(--ax-turquoise); }
.hp-section--light .hl { color: var(--ax-turquoise-ink); }

.hp-lead { font-weight: 300; font-size: clamp(17px, 2vw, 19px); line-height: 1.65; color: rgba(4,20,27,.7); max-width: 46ch; margin: 24px 0 0; }
.hp-abt-text { font-size: 17px; line-height: 1.65; color: rgba(2,12,16,.72); margin: 0; max-width: 52ch; }

/* Pull-quote (about / problems) */
.hp-quote { margin: 58px 0 0; padding: 6px 0 6px 34px; border-left: 2px solid var(--ax-turquoise); }
.hp-quote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 3vw, 28px); line-height: 1.36; color: var(--ax-ink-2); margin: 0; max-width: 46ch; text-wrap: pretty; }
.hp-quote__cite { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; color: var(--ax-turquoise-ink); margin-top: 22px; font-style: normal; }

/* ============================================================
   BUTTONS
   ============================================================ */
.hp-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; border-radius: 999px; padding: 14px 30px; text-decoration: none; white-space: nowrap;
      transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.hp-btn__icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hp-btn--primary { color: var(--ax-black); background: var(--ax-turquoise); box-shadow: none; }
.hp-btn--lg { padding: 15px 34px; box-shadow: none; }
.hp-btn--ghost { color: #fff; border: 1px solid rgba(26,206,188,.4); }
.hp-btn--ghost:hover { border-color: rgba(26,206,188,.85); }
.hp-btn--ghost-dark { color: var(--ax-ink-2); border: 1px solid rgba(2,12,16,.25); }
.hp-btn--ghost-dark:hover { border-color: rgba(2,12,16,.55); }
.hp-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   HERO
   ============================================================ */
.hp-hero { position: relative; overflow: hidden;
      background-image: linear-gradient(rgba(26,206,188,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(26,206,188,.05) 1px, transparent 1px);
      background-size: 48px 48px; }
/* Hero media: masked container holding the topo image + gradient overlays
   (design v5 treatment — image is topo-03 with brightness/saturate lift). */
.hp-hero__media { position: absolute; isolation: isolate; top: 0; right: 1.5%; width: 46%; height: 88%;
      max-height: clamp(560px, 37.33vw, 896px); overflow: hidden; pointer-events: none;
      -webkit-mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%), linear-gradient(to left, transparent 0, #000 14%), linear-gradient(to right, transparent 0, #000 12%), linear-gradient(to bottom, transparent 0, transparent 58px, #000 172px);
      mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%), linear-gradient(to left, transparent 0, #000 14%), linear-gradient(to right, transparent 0, #000 12%), linear-gradient(to bottom, transparent 0, transparent 58px, #000 172px);
      -webkit-mask-composite: source-in; mask-composite: intersect; }
.hp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: brightness(1.62) saturate(1.2); }
.hp-hero__wash1 { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(4,20,27,0), rgba(2,12,16,.24) 66%, #020C10 100%); mix-blend-mode: multiply; }
.hp-hero__topfade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, #020C10 0%, #020C10 14%, rgba(2,12,16,.72) 22%, rgba(2,12,16,.32) 32%, transparent 44%); }
.hp-hero__glow { position: absolute; inset: 0; background: radial-gradient(90% 90% at 88% 12%, rgba(26,206,188,.22), transparent 62%); }
.hp-hero__scrim { position: absolute; inset: 0; background: radial-gradient(115% 100% at 52% 42%, rgba(2,12,16,.12) 0%, rgba(2,12,16,.56) 62%, rgba(2,12,16,.8) 100%); }
.hp-hero__copy { position: relative; z-index: 2; max-width: 1560px; margin: 0 auto 0 6vw; padding: clamp(120px, 16vw, 200px) clamp(24px, 4vw, 56px) clamp(110px, 16vw, 196px); }
.hp-hero__eyebrow { margin-bottom: 26px; }
.hp-hero__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(38px, 5.2vw, 116px); line-height: .98; letter-spacing: -.02em; margin: 0; max-width: 17ch; }
.hp-hero__title .hl { color: var(--ax-turquoise); text-shadow: 0 0 32px rgba(26,206,188,.6); }
.hp-hero__lead { font-weight: 300; font-size: clamp(18px, 1.33vw, 28px); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 58ch; margin: 26px 0 0; }
.hp-hero__actions { margin-top: 42px; }

/* ============================================================
   CAPABILITIES (dark) — topo wash + lifecycle diagram
   ============================================================ */
.hp-cap__topo { position: absolute; top: 0; right: 0; width: 32%; max-width: 520px; height: auto; max-height: 320px; object-fit: cover; object-position: 80% 25%;
      opacity: .85; filter: saturate(1.5) brightness(1.25) contrast(1.05);
      -webkit-mask-image: radial-gradient(120% 120% at 100% 0, #000 20%, transparent 70%);
      mask-image: radial-gradient(120% 120% at 100% 0, #000 20%, transparent 70%); pointer-events: none; }

.lc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto; gap: 0 34px; }
.lc-col { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; }
.lc-connector { display: flex; align-items: center; gap: 0; margin-bottom: 26px; }
.lc-dot { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 999px; background: var(--ax-turquoise); box-shadow: 0 0 16px rgba(26,206,188,.8); }
.lc-line { flex: 1; height: 1px; background: rgba(26,206,188,.45); }
.lc-line--fade { background: linear-gradient(to right, rgba(26,206,188,.45), transparent); }
.lc-arrow { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: rgba(26,206,188,.7); stroke-width: 1.6; }
.lc-phase { font-family: 'IBM Plex Mono', monospace; font-size: 20px; letter-spacing: .14em; color: var(--ax-turquoise); }

/* ============================================================
   CARDS (capabilities + problems) — shown via mode classes below
   ============================================================ */
.cyb-cap { position: relative; background: rgba(255,255,255,.035); border: 1px solid rgba(26,206,188,.16); border-radius: 8px;
      padding: 28px 24px; min-height: 286px; flex: 0 0 300px; scroll-snap-align: start; display: flex; flex-direction: column;
      transition: all .22s cubic-bezier(.22,.61,.36,1); }
.cyb-cap > * { position: relative; z-index: 1; }
.cyb-cap__num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: rgba(255,255,255,.42); }
.cyb-cap__icon { color: var(--ax-turquoise); margin: 22px 0 auto; }
.cyb-cap__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cyb-cap h3 { font-family: var(--font-display); font-weight: 300; font-size: 21px; line-height: 1.2; margin: 24px 0 10px; color: var(--ax-turquoise); }
.cyb-cap p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.68); margin: 0; }
.cyb-cap:hover { border-color: rgba(26,206,188,.7) !important; box-shadow: 0 0 0 1px rgba(26,206,188,.4), 0 0 36px rgba(26,206,188,.16) !important; transform: translateY(-4px) !important; }
.cyb-cap svg { animation: axFloat 4.5s ease-in-out infinite; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.cyb-cap:nth-child(2) svg { animation-delay: .6s } .cyb-cap:nth-child(3) svg { animation-delay: 1.2s } .cyb-cap:nth-child(4) svg { animation-delay: .3s }
.cyb-cap:hover svg { animation: axPulse 1.4s ease-in-out infinite; transform: translateY(-4px) scale(1.14) rotate(-3deg); }
@media (prefers-reduced-motion: reduce) { .cyb-cap svg { animation: none !important; } }

/* Light card variant (problems) */
.cyb-cap--light { background: #fff; border: 1px solid rgba(4,20,27,.12); border-radius: 8px; overflow: hidden;
      min-height: 320px; flex: 0 0 360px; padding: 28px 26px; box-shadow: 0 1px 2px rgba(4,20,27,.05); }
.cyb-cap--light .trace rect { stroke: var(--ax-turquoise-ink); }
.cyb-cap--light:hover { border-color: rgba(26,206,188,.9) !important; box-shadow: 0 0 0 1px rgba(26,206,188,.35), 0 14px 34px rgba(4,20,27,.10) !important; transform: translateY(-4px) !important; }

/* problem-card internals */
.prob-card__meta { display: flex; align-items: center; justify-content: space-between; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; color: var(--ax-turquoise-ink); }
.prob-card__meta span:last-child { color: rgba(4,20,27,.38); }
.prob-card__icon { color: var(--ax-turquoise-ink); margin: 36px 0 auto; }
.prob-card__icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.prob-card__title { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.2; margin: 26px 0 10px; }
.cyb-cap--light p { font-size: 13.5px; line-height: 1.55; color: rgba(4,20,27,.62); margin: 0; }
.prob-corner { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-top: 1px solid rgba(26,206,188,.85); border-right: 1px solid rgba(26,206,188,.85); }

/* ============================================================
   CTA (dark, centred)
   ============================================================ */
.hp-cta { position: relative; overflow: hidden; text-align: center; background: var(--ax-ink); }
.hp-cta__media { position: absolute; top: 0; right: 1.5%; width: 46%; height: 88%; max-height: 560px; overflow: hidden; pointer-events: none;
      -webkit-mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%);
      mask-image: radial-gradient(130% 130% at 95% 6%, #000 30%, transparent 78%); }
.hp-cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: brightness(1.12) saturate(1.05); }
.hp-cta__wash1 { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(4,20,27,.1), rgba(2,12,16,.5) 66%, var(--ax-ink) 100%); mix-blend-mode: multiply; }
.hp-cta__wash2 { position: absolute; inset: 0; background: radial-gradient(90% 90% at 88% 12%, rgba(26,206,188,.18), transparent 62%); }
.hp-cta__scrim { position: absolute; inset: 0; background: radial-gradient(115% 100% at 52% 42%, rgba(2,12,16,.32) 0%, rgba(2,12,16,.78) 62%, rgba(2,12,16,.9) 100%); }
.hp-cta__inner { position: relative; padding: clamp(72px, 11vw, 110px) clamp(24px, 5vw, 40px); }
.hp-cta__title { text-shadow: 0 0 40px rgba(26,206,188,.25); margin: 0 0 18px; }
.hp-cta__lead { color: rgba(255,255,255,.72); max-width: 52ch; margin: 0 auto 34px; font-weight: 300; line-height: 1.6; }

/* ============================================================
   ANIMATION KEYFRAMES
   ============================================================ */
@keyframes axGlow { 0%,100% { opacity:.45 } 50% { opacity:1 } }
@keyframes axFloat { 0%,100% { transform:translateY(0) } 50% { transform:translateY(-5px) } }
@keyframes axPulse { 0%,100% { filter:drop-shadow(0 0 8px rgba(26,206,188,.45)) } 50% { filter:drop-shadow(0 0 16px rgba(26,206,188,.85)) } }
@keyframes axMarquee { to { transform: translateX(-50%); } }
@keyframes traceDraw { 0% { stroke-dasharray:0 1200; opacity:.9 } 70% { opacity:.9 } 100% { stroke-dasharray:1200 0; opacity:0 } }
@keyframes logoMarquee { from { transform:translateX(0) } to { transform:translateX(calc(-50% - 44px)) } }

/* ---------- logo marquee ---------- */
.logobar__track { display:flex; align-items:center; gap:20px; width:max-content; animation: axMarquee 42s linear infinite; }
.logobar:hover .logobar__track { animation-play-state: paused; }
.logochip { flex:0 0 auto; height:74px; padding:0 30px; display:flex; align-items:center; justify-content:center; background:#fff; border-radius:10px; }
.logochip img { height:42px; width:auto; max-width:210px; object-fit:contain; display:block; }
@media (prefers-reduced-motion: reduce) { .logobar__track { animation:none; } }

/* ---------- carousel nav arrows ---------- */
.svc-scroll { display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-left:2px; padding:4px 2px 12px; scrollbar-width:none; -ms-overflow-style:none; }
.svc-scroll::-webkit-scrollbar { display:none; }
.svc-nav { width:46px;height:46px;border-radius:999px;border:1px solid rgba(26,206,188,.4);display:flex;align-items:center;justify-content:center;color:var(--ax-turquoise);background:transparent;cursor:pointer;transition:all .2s; }
.svc-nav:hover { background:rgba(26,206,188,.12);border-color:rgba(26,206,188,.85);box-shadow:0 0 22px rgba(26,206,188,.25); }
.svc-nav svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; }
.svc-nav--light { border-color:rgba(4,20,27,.22); color:var(--ax-turquoise-ink); }
.svc-nav--light:hover { background:rgba(26,206,188,.12); border-color:var(--ax-turquoise-ink); box-shadow:none; }

/* ---------- scroll-reveal ---------- */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity:1; transform:none; }
.reveal[data-d="1"] { transition-delay:.08s } .reveal[data-d="2"] { transition-delay:.16s }
.reveal[data-d="3"] { transition-delay:.24s } .reveal[data-d="4"] { transition-delay:.32s }
.cyb-cap.reveal:not(:hover) { transform:none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1 !important; transform:none !important; } }

/* ---------- about: drawn rules + statement rows ---------- */
.abt { position:relative; display:grid; grid-template-columns:auto 1fr; gap:24px; padding:30px 0;
      border-top-color:transparent !important; border-bottom-color:transparent !important; }
.abt-num { font-family:'IBM Plex Mono',monospace; font-size:13px; color:rgba(4,20,27,.42); padding-top:6px; }
.abt::before, .abt::after { content:''; position:absolute; left:0; right:0; height:1px; background:rgba(4,20,27,.14);
      transform:scaleX(0); transform-origin:left; transition:transform .55s cubic-bezier(.22,.61,.36,1); }
.abt::before { top:-1px; }
.abt::after { bottom:-1px; display:none; }
.abt:last-child::after { display:block; transition-delay:.12s; }
.abt.in::before, .abt.in::after { transform:scaleX(1); }
@media (prefers-reduced-motion: reduce) { .abt::before, .abt::after { transform:none !important; } }

/* about: wide layout, headline only */
[data-about="wide2"] { display:block !important; }
[data-about="wide2"] .hp-lead { display:none !important; }
[data-about="wide2"] .abt-head h2 { max-width:38ch; }
[data-about="wide2"] .abt-wrap { display:grid !important; grid-template-columns:1fr 1fr; column-gap:72px; margin-top:56px; }
[data-about="wide2"] .abt { padding:28px 0 !important; }
[data-about="wide2"] .abt p { max-width:none !important; }
[data-about="wide2"] .abt:nth-child(3)::after { display:block; transition-delay:.12s; }

/* ---------- problems concertina mode ---------- */
[data-prob="list"] .svc-scroll { display:block !important; overflow:visible !important; padding:0 !important; }
[data-prob="list"] .prob-arrows { display:none !important; }
[data-prob="list"] .cyb-cap--light { flex:none !important; min-height:0 !important; border:0 !important;
      border-top:1px solid rgba(4,20,27,.14) !important; border-radius:0 !important; background:transparent !important;
      padding:24px 8px !important; display:grid !important; grid-template-columns:150px 1fr; gap:0 24px; cursor:pointer; }
[data-prob="list"] .cyb-cap--light:last-child { border-bottom:1px solid rgba(4,20,27,.14) !important; }
[data-prob="list"] .cyb-cap--light:hover { background:rgba(26,206,188,.06) !important; box-shadow:none !important; transform:none !important; }
[data-prob="list"] .cyb-cap--light > .prob-corner { display:none !important; }
[data-prob="list"] .cyb-cap--light > .prob-card__meta { grid-column:1; grid-row:1; flex-direction:column !important;
      align-items:flex-start !important; gap:5px !important; justify-content:flex-start !important; }
[data-prob="list"] .cyb-cap--light > .prob-card__icon { display:none !important; }
[data-prob="list"] .cyb-cap--light > .prob-card__title { grid-column:2; grid-row:1; margin:0 !important; font-size:23px !important;
      display:flex; align-items:baseline; justify-content:space-between; gap:24px; }
[data-prob="list"] .cyb-cap--light > .prob-card__title::after { content:'+'; font-family:'IBM Plex Mono',monospace;
      font-size:18px; color:var(--ax-turquoise-ink); }
[data-prob="list"] .cyb-cap--light[aria-expanded="true"] > .prob-card__title::after { content:'\2013'; }
[data-prob="list"] .cyb-cap--light p { grid-column:2; grid-row:2; max-height:0; opacity:0; overflow:hidden; margin:0 !important;
      font-size:15px !important; transition:max-height .3s ease, opacity .25s ease, margin .3s ease; }
[data-prob="list"] .cyb-cap--light[aria-expanded="true"] p { max-height:120px; opacity:1; margin-top:12px !important; }

/* ---------- services lifecycle diagram (flow mode) ---------- */
.lifecycle { display:none; }
[data-svc-grid="flow"] .lifecycle { display:block; }
[data-svc-grid="flow"] .svc-scroll { display:none !important; }
[data-svc-grid="flow"] .svc-arrows { display:none !important; }
.lc-svc { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid rgba(26,206,188,.14);
      font-size:15.5px; line-height:1.35; color:rgba(255,255,255,.82); text-decoration:none;
      transition:color .2s ease, padding-left .2s ease; }
.lc-svc:last-child { border-bottom:1px solid rgba(26,206,188,.14); }
.lc-svc:hover { color:var(--ax-turquoise); padding-left:6px; }
.lc-svc svg { flex:none; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; opacity:.5; transition:opacity .2s ease, transform .2s ease; }
.lc-svc:hover svg { opacity:1; transform:translateX(4px); }

/* ---------- rotating hero screens ---------- */
.hero-stack { position:relative; display:grid; }
.hs { grid-area:1 / 1; opacity:0; pointer-events:none; transition:opacity .8s ease; }
[data-hero="0"] .hs-1, [data-hero="1"] .hs-2, [data-hero="2"] .hs-3 { opacity:1; pointer-events:auto; }
.hs-copy > * { transform:translateY(14px); opacity:0; transition:opacity .6s ease .12s, transform .6s cubic-bezier(.22,.61,.36,1) .12s; }
[data-hero="0"] .hs-1 .hs-copy > *, [data-hero="1"] .hs-2 .hs-copy > *, [data-hero="2"] .hs-3 .hs-copy > * { transform:none; opacity:1; }
.hs-copy > *:nth-child(2) { transition-delay:.2s; }
.hs-copy > *:nth-child(3) { transition-delay:.28s; }
.hs-copy > *:nth-child(4) { transition-delay:.36s; }
.hero-dots { position:absolute; left:calc(6vw + 56px); bottom:76px; z-index:4; display:flex; gap:10px; }
.hero-dot { width:34px; height:3px; border:0; padding:0; cursor:pointer; background:rgba(255,255,255,.28); transition:background .25s ease; }
.hero-dot:hover { background:rgba(255,255,255,.55); }
[data-hero="0"] .hero-dot-1, [data-hero="1"] .hero-dot-2, [data-hero="2"] .hero-dot-3 { background:var(--ax-turquoise); }
@media (prefers-reduced-motion: reduce) { .hs, .hs-copy > * { transition:none !important; transform:none !important; } }

/* ---------- border-trace on capability cards ---------- */
.trace { position:absolute; inset:0; border-radius:8px; pointer-events:none; z-index:2; }
.trace rect { fill:none; stroke:var(--ax-turquoise); stroke-width:1.5; opacity:0; }
.cyb-cap.in .trace rect { animation: traceDraw 1.1s ease-out forwards; }

.eyebrow-m { font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.22em; color:var(--ax-turquoise); }

/* ============================================================
   CASE STUDIES AND INSIGHTS (dark)
   ============================================================ */
.hp-ins__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 52px; }
.hp-ins__title { margin: 0 0 22px; max-width: 24ch; }
.hp-ins__all { margin-top: 4px; }
.hp-kicker--onDark { color: rgba(255,255,255,.5); }
.hp-ins__subcopy { font-weight: 300; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.72); margin: 0 0 20px; max-width: 44ch; }

/* newsletter signup */
.hp-sub { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hp-sub__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-sub__input { flex: 1 1 240px; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid rgba(26,206,188,.32);
      background: rgba(255,255,255,.04); color: #fff; padding: 0 24px; font-family: var(--font-text); font-size: 14px; outline: none;
      transition: border-color .2s var(--ease); }
.hp-sub__input::placeholder { color: rgba(255,255,255,.42); }
.hp-sub__input:focus { border-color: var(--ax-turquoise); }

/* case study / insight cards */
.hp-hgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hp-hcard { display: flex; flex-direction: column; color: inherit; overflow: hidden; border-radius: 10px;
      border: 1px solid rgba(26,206,188,.18); background: rgba(255,255,255,.035); text-decoration: none;
      transition: border-color .22s ease, background .22s ease, transform .22s var(--ease), box-shadow .22s ease; }
.hp-hcard:hover { border-color: rgba(26,206,188,.75); background: rgba(26,206,188,.06); transform: translateY(-4px);
      box-shadow: 0 0 0 1px rgba(26,206,188,.35), 0 18px 40px rgba(4,20,27,.5); }
.hp-hcard__media { position: relative; height: 190px; overflow: hidden; background: var(--ax-slate-900, #0A1E26); }
.hp-hcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; display: block;
      transition: transform .5s var(--ease); }
.hp-hcard:hover .hp-hcard__media img { transform: scale(1.04); }
.hp-hcard__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,12,16,.55), transparent 62%); pointer-events: none; }
.hp-hcard__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.hp-hcard__eyebrow { font-size: 10.5px; letter-spacing: .16em; margin: 0 0 14px; }
.hp-hcard__title { font-family: var(--font-display); font-weight: 300; font-size: 23px; line-height: 1.22; margin: 0 0 12px; color: #fff; }
.hp-hcard__excerpt { font-weight: 300; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0 0 22px; }
.hp-hcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hp-hcard__meta { font-size: 10.5px; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.hp-hcard__cta { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: var(--ax-turquoise); }
.hp-hcard__arrow { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .22s var(--ease); }
.hp-hcard:hover .hp-hcard__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .hp-hcard, .hp-hcard__media img, .hp-hcard__arrow { transition: none !important; } }

/* ============================================================
   CTA (light, centred)
   ============================================================ */
.hp-btn--dark { color: #fff; background: var(--ax-ink); }
.hp-btn--dark:hover { background: #142a32; }
.hp-cta-light { position: relative; overflow: hidden; text-align: center; background: var(--ax-mist); color: var(--ax-ink); }
.hp-cta-light__inner { position: relative; padding: clamp(72px, 11vw, 110px) clamp(24px, 5vw, 40px); }
.hp-cta-light__title { margin: 0 0 18px; }
.hp-cta-light__lead { color: rgba(4,20,27,.74); max-width: 52ch; margin: 0 auto 34px; font-weight: 300; line-height: 1.6; }

/* ============================================================
   RESPONSIVE LAYER
   Most sizing is fluid via clamp() above; these handle the
   structural collapses that clamp() can't express.
   ============================================================ */
@media (max-width: 1024px) {
  .lc-grid { grid-template-columns: 1fr; gap: 8px 0; }
  .lc-col { grid-template-rows: none; grid-row: auto; margin-bottom: 34px; }
  .lc-line--fade { background: rgba(26,206,188,.45); }
}

@media (max-width: 1100px) {
  .hp-hgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .hp-ins__head { grid-template-columns: minmax(0,1fr); gap: 36px; align-items: start; }
}
@media (max-width: 700px) {
  .hp-hgrid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 900px) {
  .hp-container,
  .hp-hero__copy { margin-left: auto; margin-right: auto; }
  [data-about="wide2"] .abt-wrap { grid-template-columns: 1fr !important; column-gap: 0; }
  [data-about="wide2"] .abt:nth-child(3)::after { display: none; }
  .hp-section-head { flex-wrap: wrap; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .hero-dots { left: 24px; bottom: 40px; }
}

@media (max-width: 620px) {
  [data-prob="list"] .cyb-cap--light { grid-template-columns: 1fr; gap: 8px 0; }
  [data-prob="list"] .cyb-cap--light > .prob-card__meta { grid-column: 1; grid-row: 1; flex-direction: row !important; gap: 12px !important; }
  [data-prob="list"] .cyb-cap--light > .prob-card__title { grid-column: 1; grid-row: 2; font-size: 20px !important; }
  [data-prob="list"] .cyb-cap--light p { grid-column: 1; grid-row: 3; }
  [data-prob="list"] .cyb-cap--light[aria-expanded="true"] p { max-height: 260px; }
  .hp-btn { padding: 13px 24px; }
}
