/* =========================================================================
   TRISET — About Page Experience
   A visual layer on top of the existing design system. Reuses the site's
   own tokens (brand colors, ease, radii) and adds one recurring signature
   motif — a DIGITAL / SPATIAL split — used sparingly across sections.
   ========================================================================= */

.about-page {
  --ax-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

.about-page .ax-code {
  font-family: var(--ax-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--brand-primary);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: .1rem .38rem;
  margin-right: .55rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   01 — HERO now uses the site's existing .about-hero system, shipped in
   premium-system.css (same dark / coordinate-mono language as the
   Services and Solutions heroes). Nothing to add here.
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   02 — STORY
   ------------------------------------------------------------------------- */
.ax-story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}
.ax-story-visual { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.ax-story-visual img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/5; }
.ax-frame-tag {
  position: absolute; bottom: .8rem; left: .8rem;
  font-family: var(--ax-mono); font-size: .7rem; letter-spacing: .08em;
  background: rgba(7,16,24,.55); color: #fff;
  padding: .3rem .55rem; border-radius: 3px; backdrop-filter: blur(4px);
}
.ax-statement {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .9rem;
}
.ax-detail { color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 58ch; }

@media (max-width: 780px) {
  .ax-story-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   03 — VALUES
   ------------------------------------------------------------------------- */
.ax-profile {
  background:
    linear-gradient(rgba(15,23,36,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,36,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ax-profile-head {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.4rem, 4vw, 2.4rem);
}
.ax-profile-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
  max-width: 820px;
}
.ax-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.ax-profile-item {
  min-height: 178px;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.ax-profile-item:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 22px 48px rgba(15,23,36,.08);
}
.ax-profile-item span {
  display: block;
  margin-bottom: 1.4rem;
  font-family: var(--ax-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-signal);
}
.ax-profile-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.55vw, 1.45rem);
  line-height: 1.13;
  letter-spacing: -.015em;
  color: var(--ink);
}

@media (max-width: 920px) {
  .ax-profile-head { grid-template-columns: 1fr; }
  .ax-profile-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .ax-profile-head,
  .ax-profile-grid { grid-template-columns: 1fr; }
  .ax-profile-item { min-height: auto; }
}

.ax-values-eyebrow { display: flex; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.ax-value-list { border-top: 1px solid var(--line); }
.ax-value {
  display: grid;
  grid-template-columns: 90px 1fr 2fr;
  gap: 1.4rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease), background .3s var(--ease);
}
.ax-value:hover { padding-left: .6rem; background: var(--surface-2); }
.ax-value-num { font-family: var(--ax-mono); font-size: 1rem; color: var(--brand-primary); font-weight: 700; }
.ax-value h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.ax-value p { margin: 0; color: var(--muted); }

@media (max-width: 700px) {
  .ax-value { grid-template-columns: 40px 1fr; }
  .ax-value p { grid-column: 2; }
}

/* -------------------------------------------------------------------------
   04 — LOCATIONS
   ------------------------------------------------------------------------- */
.ax-loc-grid {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 260px) 1fr;
  align-items: center;
  gap: 1rem;
}
.ax-loc-node h3 { margin: .5rem 0 .3rem; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.ax-loc-node p { margin: 0; color: var(--muted); font-size: .92rem; }
.ax-loc-code { font-family: var(--ax-mono); font-size: .75rem; color: var(--brand-primary); }
.ax-loc-grid .ax-loc-node:last-child { text-align: right; }

.ax-loc-path { position: relative; height: 40px; }
.ax-loc-path svg { width: 100%; height: 100%; overflow: visible; }
.ax-loc-path path {
  fill: none;
  stroke: var(--brand-primary);
  stroke-width: 1.5;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.1s var(--ease);
}
.ax-locations.is-connected .ax-loc-path path { stroke-dashoffset: 0; }
.ax-loc-dot { position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-signal); transform: translateY(-50%) scale(0); transition: transform .3s var(--ease); }
.ax-loc-dot--a { left: -3px; transition-delay: .1s; }
.ax-loc-dot--b { right: -3px; transition-delay: 1s; }
.ax-locations.is-connected .ax-loc-dot { transform: translateY(-50%) scale(1); }

@media (max-width: 720px) {
  .ax-loc-grid { grid-template-columns: 1fr; text-align: left !important; }
  .ax-loc-grid .ax-loc-node:last-child { text-align: left; }
  .ax-loc-path { height: 60px; transform: rotate(90deg); width: 60px; margin: 0 auto; }
}

/* -------------------------------------------------------------------------
   05 — TEAM
   No stock photography stand-ins: an editorial index of monogram cards,
   built from the same bordered-cell grid language as the profile section
   above, so the page reads as one system rather than a bolted-on slider.
   The DIGITAL / SPATIAL tag reuses the page's one recurring signature
   split, applied here to the one section where it's actually meaningful.
   ------------------------------------------------------------------------- */
.ax-team { padding-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.ax-team-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}
.ax-team-title {
  margin: .4rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.ax-team-count {
  font-family: var(--ax-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .42rem .9rem;
  white-space: nowrap;
}

.ax-team {
  position: relative;
}

.ax-team-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.ax-team-viewport {
  position: relative;
  height: clamp(420px, 36vw, 540px);
  overflow: hidden;
  perspective: 1800px;
}

.ax-team-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.ax-team-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(24rem, 52vw);
  height: clamp(360px, 29vw, 440px);
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 36, 0.08);
  background: #0b1220;
  box-shadow: 0 30px 70px rgba(15, 23, 36, 0.18);
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.2, .7, .2, 1), opacity .75s ease, filter .75s ease, box-shadow .75s ease;
  will-change: transform, opacity, filter;
}

.ax-team-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08);
}

.ax-team-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,17,0.08) 0%, rgba(7,10,17,0.2) 40%, rgba(7,10,17,0.82) 100%),
    linear-gradient(135deg, rgba(27, 87, 245, 0.1), rgba(10, 18, 29, 0));
}

.ax-team-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 0;
}

.ax-team-index {
  font-family: var(--ax-mono);
  font-size: .62rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
}

.ax-team-domain {
  font-family: var(--ax-mono);
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .26rem .56rem;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.ax-team-card[data-domain="digital"] .ax-team-domain {
  color: #dce8ff;
}

.ax-team-card[data-domain="spatial"] .ax-team-domain {
  color: #ffe0e0;
}

.ax-team-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.3rem 1.2rem 1.35rem;
}

.ax-team-card-body h3 {
  margin: 0 0 .28rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}

.ax-team-card-body p {
  margin: 0;
  font-size: .9rem;
  color: rgba(255,255,255,0.78);
}

.ax-team-card-body small {
  display: block;
  margin-top: .6rem;
  font-family: var(--ax-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.ax-team-card.is-active {
  box-shadow: 0 36px 94px rgba(15, 23, 36, 0.28);
}

.ax-team-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  color: var(--text);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}

.ax-team-arrow:hover {
  border-color: rgba(15,23,36,.2);
  background: #fff;
  transform: translateY(-2px);
}

.ax-team-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.2rem;
}

.ax-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 36, 0.2);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease);
}

.ax-team-dot.is-active {
  background: var(--brand-primary);
  transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
  .ax-team-card,
  .ax-team-arrow,
  .ax-team-dot {
    transition: none;
  }
}

@media (max-width: 760px) {
  .ax-team-stage {
    grid-template-columns: 1fr;
  }

  .ax-team-arrow {
    display: none;
  }

  .ax-team-viewport {
    height: 400px;
  }
}

@media (max-width: 560px) {
  .ax-team-head { align-items: flex-start; }
  .ax-team-viewport { height: 360px; }
  .ax-team-card { width: min(18rem, 72vw); }
}

/* -------------------------------------------------------------------------
   06 — CTA
   ------------------------------------------------------------------------- */
.ax-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(2.4rem, 6vw, 4rem) 0; }
.ax-cta-heading { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; margin: .6rem 0 .8rem; }
.ax-cta-lead { color: var(--muted); margin: 0 0 1.6rem; }