/* =========================================================
   About Us - page styles  (about-us.html)
   Shared styles live in css/style.css.
   ========================================================= */

/* About page only */
/* ---- hero: same look as the other inner pages (photo + left fade), a little taller;
   it stays put while the white content slides up over it ---- */
.page-hero {
  position: sticky; top: 0; z-index: 0; overflow: hidden; background: var(--brand-navy);
  display: flex; align-items: flex-end; min-height: 46svh;
}
@media (min-width: 768px) { .page-hero { min-height: 60svh; } }
.page-hero > .ph-bg { position: absolute; inset: 0; background: url('../../image/about-img3.png') center 40% / cover no-repeat; transform-origin: 60% 40%; will-change: transform; }
.page-hero > .ph-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,20,48,.9) 0%, rgba(2,20,48,.62) 45%, rgba(2,20,48,.18) 100%),
    linear-gradient(to top, rgba(2,20,48,.6) 0%, transparent 40%); }
.page-hero > .ph-dim { position: absolute; inset: 0; background: var(--brand-navy); opacity: 0; pointer-events: none; }
.page-hero > .ph-inner { position: relative; width: 100%; will-change: transform, opacity; }
.ph-fade { animation: ph-fade .8s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--d, .1s); }
@keyframes ph-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* white content sheet: straight edge, soft shadow while it covers the photo */
.ab-sheet { position: relative; z-index: 2; background: #fff; box-shadow: 0 -18px 40px -24px rgba(2,20,48,.55); }
@media (prefers-reduced-motion: reduce) { .ph-fade { animation: none; } }
.page-hero::before { display:none;
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.ph { /* image placeholder */
  position: relative; display: grid; place-items: center; text-align: center; overflow: hidden;
  border: 2px dashed #9fb6cc; background: repeating-linear-gradient(45deg, #eef5fc, #eef5fc 14px, #e4eef8 14px, #e4eef8 28px);
  color: #4a6a8a; font-size: .8rem; font-weight: 600; letter-spacing: .06em;
}
.ph svg { width: 2.4rem; height: 2.4rem; margin: 0 auto .5rem; opacity: .7; }
.ph-dark { border-color: rgba(255,255,255,.3); background: repeating-linear-gradient(45deg, rgba(255,255,255,.04), rgba(255,255,255,.04) 14px, rgba(255,255,255,.08) 14px, rgba(255,255,255,.08) 28px); color: rgba(255,255,255,.7); }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: .8rem -.6rem -.8rem .6rem; border: 2px solid var(--brand-blue); opacity: .35; z-index: 0; }
.frame > * { position: relative; z-index: 1; }
/* founder photo (image/founder.png, 1104x1424) — box uses the photo's exact ratio so nothing is cropped */
.founder-photo { aspect-ratio: 1104 / 1424; overflow: hidden; background: #2e1916; box-shadow: 0 18px 40px -18px rgba(14,22,38,.45); }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; font-size: .78rem; font-weight: 600; color: var(--brand-navy); background: #E4EEF5; border-radius: 2px; }
.chip i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--brand-blue); }
.work-card { position: relative; padding: 1.75rem 1.5rem; background: #fff; border: 1px solid #D5E1EA; border-radius: 2px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.work-ico { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 2px; background: #E4EEF5; color: var(--brand-blue); transition: background-color .3s, color .3s; }
.work-card:hover .work-ico { background: var(--brand-blue); color: #fff; }
.work-ico svg { width: 1.4rem; height: 1.4rem; }
/* service cards: big faint icon in the bottom-right corner, one colour per card */
.work-card { overflow: hidden; padding-bottom: 4.5rem; }
.work-card > p { position: relative; }
.work-bg { position: absolute; right: -1.1rem; bottom: -1.1rem; width: 7.5rem; height: 7.5rem; color: var(--c, var(--brand-blue)); opacity: .14; pointer-events: none; transition: opacity .4s, transform .5s cubic-bezier(.22,.61,.36,1); }
.work-bg svg { width: 100%; height: 100%; stroke-width: 1.3; }
.work-card:hover .work-bg { opacity: .3; transform: rotate(-8deg) scale(1.08); }
.work-card h3 { transition: color .3s; }
.work-card:hover h3 { color: var(--c, var(--brand-blue)); }
.next-card { padding: 1.1rem 1.15rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 12px; backdrop-filter: blur(4px); transition: background-color .3s, border-color .3s; }
.next-card:hover { background: rgba(255,255,255,.08); border-color: rgba(95,195,245,.5); }
.crumb a:hover { color: var(--brand-gold); }
/* OEM result banner */
.ab-result { position: relative; overflow: hidden; display: grid; gap: 1.25rem; align-items: center; padding: 1.5rem 1.4rem; border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(46,155,255,.22), transparent 55%), #0c0e13; }
.ab-result-bg { position: absolute; right: -1.5rem; bottom: -2rem; width: 10rem; height: 10rem; color: #2e9bff; opacity: .1; pointer-events: none; }
.ab-result-eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #5fc3f5; }
.ab-result-eyebrow span { width: 1.75rem; height: 1px; background: currentColor; }
.ab-result-hl { color: #fff; background: linear-gradient(90deg, #2e9bff, #5fc3f5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ab-result-stat { position: relative; display: flex; align-items: baseline; gap: .75rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.1); }
.ab-result-stat b { font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.ab-result-stat b span { font-size: 1.4rem; color: rgba(255,255,255,.4); }
.ab-result-stat small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (min-width: 768px) {
  .ab-result { grid-template-columns: 1fr auto; gap: 2.5rem; padding: 2rem 2.5rem; }
  .ab-result-stat { flex-direction: column; align-items: flex-start; gap: .5rem; padding: 0 0 0 2.5rem; border-top: 0; border-left: 1px solid rgba(255,255,255,.1); }
  .ab-result-stat b { font-size: 3.4rem; }
}
/* section 03 product images */
.nx-img { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: #0c1a2e; box-shadow: 0 24px 44px -24px rgba(0,0,0,.8); }
.nx-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.nx-img:hover img { transform: scale(1.05); }
.nx-slider { min-width: 0; }
.nx-slider-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 0; border-radius: 0; background: transparent; box-shadow: none; touch-action: pan-y; }
.nx-slider-stage:has(.nx-collage-slide.is-active) { aspect-ratio: 1.2 / 1; }
.nx-slider-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.nx-slider-slide.is-active { opacity: 1; visibility: visible; }
.nx-collage-slide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1.5fr 1fr; gap: 12px; }
.nx-collage-slide .nx-img:first-child { grid-column: 1 / -1; }
.nx-collage-slide .nx-img { min-width: 0; min-height: 0; border-radius: 14px; }
.nx-collage-slide .nx-img img { object-fit: cover; }
.nx-slider-slide:not(.nx-collage-slide) img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nx-slider-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.nx-slider-stage .nx-slider-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); background: rgba(4,18,39,.72); box-shadow: 0 2px 12px rgba(0,0,0,.22); }
.nx-slider-stage [data-nx-prev] { left: 12px; }
.nx-slider-stage [data-nx-next] { right: 12px; }
.nx-slider-arrow { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(255,255,255,.08); transition: background .2s ease, border-color .2s ease; }
.nx-slider-arrow:hover, .nx-slider-arrow:focus-visible { border-color: rgba(46,155,255,.75); background: rgba(46,155,255,.2); }
.nx-slider-dots { display: flex; align-items: center; justify-content: center; gap: 8px; }
.nx-slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.38); transition: width .2s ease, background .2s ease; }
.nx-slider-dot[aria-current="true"] { width: 24px; background: #2e9bff; }
@media (max-width: 639.98px) { .nx-slider-stage:has(.nx-collage-slide.is-active) { aspect-ratio: 1.15 / 1; } .nx-slider-controls { margin-top: 10px; } }
@media (prefers-reduced-motion: reduce) { .nx-slider-slide, .nx-slider-arrow, .nx-slider-dot { transition: none; } }
/* intro key figures: vertical list with hairline line icons */
.ab-vstats { position: relative; margin: 0; padding: .25rem 0 .25rem 0; border-left: 1px solid #e2e8f0; }
.ab-vstats > div { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; padding: 1rem 0 1rem 1.5rem; }
.ab-vstats > div + div { border-top: 1px dashed #e2e8f0; }
.ab-vstats > div::before { content: ""; position: absolute; left: -1px; top: 50%; width: 2px; height: 0; background: #0b72c9; transform: translateY(-50%); transition: height .35s cubic-bezier(.22,.61,.36,1); }
.ab-vstats > div:hover::before { height: 70%; }
.vs-ico { grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: #334155; border: 1px solid #dbe3ec; background: #fff; transition: color .3s, border-color .3s, background-color .3s; }
.vs-ico svg { width: 1.2rem; height: 1.2rem; }
.ab-vstats > div:hover .vs-ico { color: #0b72c9; border-color: rgba(11,114,201,.45); background: #f3f8fc; }
.ab-vstats dd { margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #0e1626; }
.ab-vstats dd em { font-style: normal; color: #0b72c9; }
.ab-vstats dt { margin-top: .35rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #64748b; }
.ab-vstats .vs-link { color: #0b72c9; text-decoration: none; transition: color .2s; }
.ab-vstats .vs-link:hover, .ab-vstats .vs-link:focus-visible { color: #0e1626; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639.98px) {
  .ab-vstats > div { padding: .8rem 0 .8rem 1.1rem; column-gap: .85rem; }
  .vs-ico { width: 2.4rem; height: 2.4rem; }
}
/* section 03: subtle 3D isometric cube pattern, fading out towards the centre */
.nx-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background:
    linear-gradient(30deg, rgba(255,255,255,.035) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.035) 87.5%, rgba(255,255,255,.035)),
    linear-gradient(150deg, rgba(255,255,255,.035) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.035) 87.5%, rgba(255,255,255,.035)),
    linear-gradient(30deg, rgba(255,255,255,.035) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.035) 87.5%, rgba(255,255,255,.035)),
    linear-gradient(150deg, rgba(255,255,255,.035) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.035) 87.5%, rgba(255,255,255,.035)),
    linear-gradient(60deg, rgba(95,195,245,.05) 25%, transparent 25.5%, transparent 75%, rgba(95,195,245,.05) 75%, rgba(95,195,245,.05)),
    linear-gradient(60deg, rgba(95,195,245,.05) 25%, transparent 25.5%, transparent 75%, rgba(95,195,245,.05) 75%, rgba(95,195,245,.05));
  background-size: 64px 112px;
  background-position: 0 0, 0 0, 32px 56px, 32px 56px, 0 0, 32px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 0% 100%, #000 10%, transparent 60%), radial-gradient(90% 80% at 100% 0%, #000 5%, transparent 55%);
  mask-image: radial-gradient(120% 90% at 0% 100%, #000 10%, transparent 60%), radial-gradient(90% 80% at 100% 0%, #000 5%, transparent 55%); }
.nx-img { border-radius: 12px; }
@media (max-width: 1023.98px) { .nx-media { order: -1; } }   /* phones + tablets: images above the text */
/* CTA card with the white wave image inside */
.cta-card { padding: 1.5rem 1.4rem; border-radius: 18px; border: 1px solid #e2e8f0; box-shadow: 0 20px 40px -28px rgba(2,20,48,.35); background: #fff url('../../image/white-bg.jpg') right 70% / cover no-repeat; }
@media (min-width: 768px) { .cta-card { padding: 1.9rem 2.4rem; } }
.about-btn.cta-btn { margin-top: 0; }
@media (max-width: 639.98px) {
  .about-btn.cta-btn { padding: .6rem 1.05rem; font-size: .82rem; gap: .45rem; }
  .about-btn.cta-btn svg { width: .85rem; height: .85rem; }
  .work-card { padding: 1.1rem 1.1rem 2.6rem; }
  .work-card h3 { font-size: 1rem; }
  .work-card > p { font-size: 14px; line-height: 1.6; }
  .work-bg { width: 4.75rem; height: 4.75rem; right: -.8rem; bottom: -.8rem; }
}
/* section 02: two faint EV cars drive in from both sides and park at each end of the heading */
.ev-drive { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: rgba(0,0,0,.6); }
.ev-drive.off { display: none; }
.ev-car { opacity: 1; }
.ev-drive.fade .ev-car { opacity: 0; transition: opacity .6s ease; }
.ev-drive.reset .ev-car { transition: none !important; }
.ev-car { position: absolute; left: 0; top: var(--ev-top, 4rem); width: var(--ev-w, 18rem); transition: transform 3.4s cubic-bezier(.16,.84,.3,1); }
.ev-car svg { display: block; width: 100%; height: auto; overflow: visible; }
.ev-right svg { transform: scaleX(-1); }
.ev-left { transform: translateX(calc(-1 * var(--ev-w, 18rem) - 140px)); }
.ev-right { transform: translateX(var(--ev-sw, 110vw)); }
.ev-drive.go .ev-left { transform: translateX(var(--ev-stop-l, 0px)); }
.ev-drive.go .ev-right { transform: translateX(var(--ev-stop-r, 0px)); }
.ev-wheel { transform-box: fill-box; transform-origin: center; }
.ev-drive.moving .ev-wheel { animation: ev-spin .7s linear infinite; }
.ev-speed { opacity: 0; transition: opacity .8s; }
.ev-drive.moving .ev-speed { opacity: 1; }
@keyframes ev-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ev-car { transition: none; } .ev-drive.moving .ev-wheel { animation: none; } }
/* ---------- phones: smaller type, tighter spacing in every section ---------- */
@media (max-width: 639.98px) {
  /* section padding */
  main > section[aria-labelledby="intro-title"] { padding-top: 1.75rem; padding-bottom: .75rem; }
  main > section[aria-labelledby="founder-title"] { padding-top: 1.5rem !important; }
  main > section[aria-labelledby="founder-title"],
  main > section[aria-labelledby="work-title"],
  main > section[aria-labelledby="next-title"] { padding-top: 2rem; padding-bottom: 2rem; }
  main > section[aria-label="Contact call to action"] { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  main > section > div > .grid { row-gap: 1.5rem; }
  /* headings + body copy */
  main h2.font-heading { font-size: 1.4rem !important; }
  main section:not(.page-hero) p.text-\[15px\], main section p.text-\[14\.5px\] { font-size: 14px !important; line-height: 1.65 !important; }
  main section p.uppercase { font-size: .66rem; }
  /* intro stats */
  .ab-vstats { display: grid; grid-template-columns: 1fr 1fr; border-left: 0; border: 1px solid #e2e8f0; border-radius: 14px; padding: 0; overflow: hidden; }
  .ab-vstats > div { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; padding: .85rem .9rem; }
  .ab-vstats dt { grid-column: 1 / -1; margin-top: .45rem; }
  .ab-vstats > div + div { border-top: 0; }
  .ab-vstats > div:nth-child(even) { border-left: 1px solid #e2e8f0; }
  .ab-vstats > div:nth-child(n+3) { border-top: 1px solid #e2e8f0; }
  .ab-vstats > div::before { display: none; }
  .ab-vstats .vs-ico { grid-row: auto; margin: 0; }
  .ab-vstats dd { font-size: 1.3rem; }
  .ab-vstats dt { margin-top: .2rem; font-size: .6rem; letter-spacing: .12em; }
  .vs-ico { width: 2rem; height: 2rem; }
  .vs-ico svg { width: .95rem; height: .95rem; }
  /* founder */
  section[aria-labelledby="founder-title"] .frame { max-width: 12.5rem; }
  section[aria-labelledby="founder-title"] .chip { font-size: .68rem; padding: .3rem .6rem; }
  section[aria-labelledby="founder-title"] .mt-6 { margin-top: 1rem; }
  section[aria-labelledby="founder-title"] ul { margin-top: 1.1rem; gap: .5rem; }
  section[aria-labelledby="founder-title"] ul li { font-size: .78rem; }
  section[aria-labelledby="founder-title"] ul .work-ico { width: 1.9rem !important; height: 1.9rem !important; }
  /* section 02 + result banner */
  section[aria-labelledby="work-title"] .mt-8 { margin-top: 1.25rem; }
  .ab-result { padding: 1.15rem 1.1rem; }
  .ab-result p.font-heading { font-size: 1rem !important; }
  .ab-result-stat b { font-size: 2rem; }
  /* section 03 */
  .next-card { padding: .8rem .8rem; }
  .next-card svg { width: 1.25rem; height: 1.25rem; }
  .next-card h3 { font-size: .85rem; line-height: 1.25; }
  .next-card p { font-size: 12px !important; line-height: 1.5 !important; }
}
/* phones: service cards become a swipe slider with a timeline progress bar */
.work-timeline { display: none; }
@media (max-width: 639.98px) {
  .work-grid.grid { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 1.25rem; margin: 1.25rem -1.25rem 0; padding: 0 1.25rem .25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-grid > .work-card { flex: 0 0 80%; scroll-snap-align: start; }
  .work-grid > .work-card.sr { opacity: 1; transform: none; }
  .work-timeline { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; font-size: .7rem; color: #64748b; }
  .wt-count { font-family: 'Sora', sans-serif; letter-spacing: .06em; white-space: nowrap; }
  .wt-count b { color: #0b72c9; font-weight: 600; }
  .wt-track { position: relative; flex: 1; height: 2px; border-radius: 2px; background: #dbe3ec; overflow: hidden; }
  .wt-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 12.5%; border-radius: 2px; background: linear-gradient(90deg, #0b72c9, #5fc3f5); transition: width .25s ease; }
  .wt-hint { text-transform: uppercase; letter-spacing: .16em; font-size: .6rem; }
}
/* tablets: same 2x2 stats box as phones (icon beside the number), a little roomier */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .ab-vstats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e2e8f0; border-radius: 16px; padding: 0; overflow: hidden; }
  .ab-vstats > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: 1.15rem 1.3rem; }
  .ab-vstats > div + div { border-top: 0; }
  .ab-vstats > div:nth-child(even) { border-left: 1px solid #e2e8f0; }
  .ab-vstats > div:nth-child(n+3) { border-top: 1px solid #e2e8f0; }
  .ab-vstats > div::before { display: none; }
  .ab-vstats .vs-ico { grid-row: auto; width: 2.4rem; height: 2.4rem; }
  .ab-vstats dd { font-size: 1.75rem; }
  .ab-vstats dt { grid-column: 1 / -1; margin-top: .55rem; font-size: .66rem; }
  /* tighter gap between the stats box and the founder photo */
  main > section[aria-labelledby="intro-title"] { padding-bottom: 1.25rem; }
  main > section[aria-labelledby="founder-title"] { padding-top: 1.5rem; }
}

/* ---------- Extended team slider (after the Founder section) ----------
   big title + rule on top; left: intro + square arrows; right: cards = name, role, rule, small photo, text */
.xt-section { position: relative; overflow: hidden; background: #fff; border-top: 1px solid #eef2f6; }
.xt-title {
  margin-top: .75rem; padding-bottom: 1rem; border-bottom: 1.5px solid var(--brand-navy);
  font-family: 'Sora', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--brand-navy);
}
.xt-grid { position: relative; display: grid; grid-template-columns: 15rem 1fr; gap: 2.5rem; margin-top: 1.75rem; }

/* left: intro + arrows */
.xt-intro { display: flex; flex-direction: column; padding-top: 3.25rem; }
.xt-sub { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--brand-navy); }
.xt-sub span { color: var(--brand-blue); }
.xt-copy { margin-top: .9rem; font-size: .88rem; line-height: 1.7; color: #64748b; }
.xt-nav { display: flex; gap: .5rem; margin-top: 1.75rem; }
.xt-arrow {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 2px;
  color: var(--brand-blue); background: #fff; border: 1.5px solid var(--brand-blue);
  transition: background .2s, color .2s, opacity .2s;
}
.xt-arrow-next { color: #fff; background: var(--brand-blue); }
.xt-arrow svg { width: 1.15rem; height: 1.15rem; }
.xt-arrow:hover:not([aria-disabled="true"]) { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.xt-arrow[aria-disabled="true"] { opacity: .35; cursor: default; }
.xt-arrow:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 2px; }

/* right: cards */
.xt-track {
  --xt-gap: 1.75rem;
  display: flex; gap: var(--xt-gap); min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; scrollbar-width: none; cursor: grab; outline: none;
}
.xt-track::-webkit-scrollbar { display: none; }
.xt-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.xt-track:focus-visible { box-shadow: 0 0 0 2px rgba(11,114,201,.35); }

.xt-card { flex: 0 0 calc((100% - var(--xt-gap) * 3) / 4); min-width: 11.5rem; scroll-snap-align: start; display: flex; flex-direction: column; }
.xt-name { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--brand-navy); }
.xt-role { margin-top: .2rem; padding-bottom: .8rem; border-bottom: 1.5px solid var(--brand-navy); font-size: .74rem; color: #64748b; }
.xt-photo { /* small rectangular photo */
  position: relative; display: grid; place-items: center; width: 8.5rem; aspect-ratio: 4 / 5; margin-top: 1rem; overflow: hidden; border-radius: 4px;
  padding: 3px; border: 1px solid #cbd8e5; box-shadow: 0 8px 16px -12px rgba(2,20,48,.35);   /* small border: thin line + white mat */
  background: #fff;
}
.xt-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 2px; background: linear-gradient(160deg, #e9eef4, #d5dee8); transition: transform .5s cubic-bezier(.22,.61,.36,1); pointer-events: none; }
.xt-card:hover .xt-photo img { transform: scale(1.04); }
.xt-initials { /* no photo yet: same blue grid gradient as the home page */
  position: absolute; inset: 3px; display: grid; place-items: center; border-radius: 2px;
  font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.9);
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(160deg, #0b72c9, #021430);
}
.xt-exp {
  position: absolute; left: 3px; bottom: 3px; padding: .25rem .55rem; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--brand-blue);
}
.xt-text { margin-top: .85rem; font-size: .8rem; line-height: 1.6; color: #475569; }
.xt-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .7rem; }
.xt-tags li { padding: .15rem .45rem; font-size: .66rem; color: #0b5ea8; background: #eaf2fb; }

/* tablets: intro on top, cards below (3 visible) */
@media (max-width: 1023.98px) {
  .xt-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .xt-intro { padding-top: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: end; }
  .xt-copy { grid-column: 1; }
  .xt-nav { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .xt-card { flex-basis: calc((100% - var(--xt-gap) * 2) / 3); }
}
/* phones: 2 cards visible */
@media (max-width: 639.98px) {
  .xt-title { padding-bottom: .75rem; }
  .xt-grid { margin-top: 1.25rem; gap: 1.25rem; }
  .xt-intro { display: flex; align-items: stretch; }
  .xt-nav { position: absolute; z-index: 3; grid-column: 1 / -1; grid-row: auto; top: 20rem; left: 3rem; right: 3rem; display: flex; justify-content: space-between; margin-top: 0; pointer-events: none; }
  .xt-arrow { width: 2.5rem; height: 2.5rem; pointer-events: auto; }
  .xt-track { --xt-gap: 1rem; }
  .xt-card { flex-basis: calc((100% - var(--xt-gap)) / 2); min-width: 0; }
  .xt-photo { width: 7rem; }
  .xt-name { font-size: .92rem; }
  .xt-text { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) { .xt-photo img, .xt-arrow { transition: none; } }

/* team photos removed for now: blank blue tile, same as the home page (photos to be added later) */
.xt-photo::before {
  content: ""; position: absolute; inset: 3px; border-radius: 2px;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(160deg, #0b72c9, #021430);
}
.xt-photo img { position: relative; z-index: 1; }
.xt-initials { z-index: 1; }
.xt-exp { z-index: 2; }

/* phones: one team member per slide */
@media (max-width: 639.98px) {
  .xt-card { flex-basis: 100%; align-items: center; text-align: center; }
  .xt-role { width: 70%; margin-left: auto; margin-right: auto; }
  .xt-photo { width: 8.5rem; }
}
@media (max-width: 639.98px) { .xt-photo { margin-left: auto; margin-right: auto; } }   /* phones: photo centred in the card */
.xt-card-nophoto .xt-text { margin-top: 1rem; }   /* no photo: summary follows the name line */
