/* About Us — Figma "Desktop - 7" + "Wireframe - 3" (journey timeline). Hero reuses .pd-hero from product.css. */
.page-about main { background: #e8e9ed; }

/* Three cards overlapping the hero; the middle one sits higher */
.ab-badges { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; margin-top: clamp(-130px, -10vw, -90px); position: relative; padding-inline: clamp(0px, 4vw, 50px); }
.ab-badge { background: #e8e9ed; box-shadow: 0 18px 24px rgba(0, 0, 0, .22); min-height: 230px; display: grid; place-content: center; text-align: center; gap: 6px; padding: 24px; }
.ab-badge strong { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; color: var(--violet); line-height: 1; }
.ab-badge span { color: var(--text); font-size: 1.05rem; }
.ab-badge.is-main { min-height: 260px; margin-top: -26px; z-index: 1; box-shadow: 0 22px 30px rgba(0, 0, 0, .25); }
.ab-stamp { width: clamp(140px, 14vw, 190px); font-family: var(--font); fill: #111; }
.ab-stamp-ring { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
.ab-stamp image { filter: grayscale(1) contrast(1.4); }

/* Solutions: photo with decorative rings + inset photo */
.ab-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.ab-solutions { overflow-x: clip; }
.ab-photos { position: relative; width: min(100%, 440px); margin-inline: auto; padding: 50px 40px 30px 0; }
.ab-photo { position: relative; width: 100%; max-width: 21.875rem; aspect-ratio: 350 / 500; object-fit: cover; margin-left: auto; }
.ab-inset { position: absolute; right: -24px; bottom: 50px; width: 42%; aspect-ratio: 1 / .95; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.ab-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ab-ring.is-big { width: 78%; aspect-ratio: 1; left: -26%; top: 22%; background: conic-gradient(from 200deg, var(--violet), var(--blue)); -webkit-mask: radial-gradient(closest-side, transparent 55%, #000 56%); mask: radial-gradient(closest-side, transparent 55%, #000 56%); animation: spin 40s linear infinite; }
.ab-ring.is-small { width: 42%; aspect-ratio: 1; right: 0; top: 0; background: conic-gradient(from 0deg, var(--blue), var(--violet), var(--blue)); -webkit-mask: radial-gradient(closest-side, transparent 84%, #000 85%); mask: radial-gradient(closest-side, transparent 84%, #000 85%); animation: spin 30s linear infinite reverse; }
.ab-copy h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; color: var(--violet); line-height: 1.2; }
.ab-copy p { margin-top: 24px; text-align: justify; color: var(--text); font-size: 1.1rem; line-height: 1.45; }
.ab-diamonds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; margin-top: 40px; font-size: 1.1rem; color: var(--text); }
.ab-diamonds li { position: relative; padding-left: 26px; }
.ab-diamonds li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 11px; background: linear-gradient(135deg, #5fb0ff, var(--blue-deep)); transform: rotate(45deg); }
.ab-diamonds a { text-decoration: none; }
.ab-diamonds a:hover { color: var(--blue); }

/* Mission & vision */
.ab-mv { background: #b8d0e6; }
.ab-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 70px); margin-top: clamp(30px, 4vw, 50px); }
.ab-card { background: #e8e9ed; border-radius: 16px; box-shadow: 12px 12px 0 var(--blue), 0 10px 18px rgba(0, 0, 0, .12); padding: clamp(26px, 4vw, 38px) clamp(24px, 5vw, 64px) clamp(28px, 4vw, 40px); }
.ab-card h3 { display: flex; align-items: center; gap: 20px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 400; color: var(--violet); }
.ab-sq { flex: none; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 10px; background: linear-gradient(160deg, #1b6dff, var(--violet)); border: 1px solid #1cbf5e; color: #fff; }
.ab-card p { margin-top: 26px; color: #333; line-height: 1.4; }

/* Core values: outline frame whose top border is broken by the heading */
.ab-frame { position: relative; padding-inline: clamp(12px, 3vw, 34px); }
.ab-frame::before { content: ""; position: absolute; inset: 1.6rem 0 clamp(120px, 14vw, 160px); border: 1px solid var(--violet); pointer-events: none; }
.ab-frame .section-head { position: relative; }
.ab-frame .section-title span { background: #e8e9ed; padding-inline: 18px; position: relative; }
.ab-values-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); margin-top: clamp(30px, 4vw, 50px); }
.ab-value { background: #e8e9ed; border: 1px solid var(--violet); border-radius: 16px; box-shadow: 0 6px 12px rgba(0, 0, 0, .12); padding: 30px 18px 32px; text-align: center; transition: border-color .25s, box-shadow .25s, transform .25s, opacity .6s ease var(--reveal-delay, 0ms); }
.ab-value:hover { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue), 0 12px 20px rgba(0, 0, 0, .16); }
.ab-dot { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(160deg, #1b6dff, var(--violet)); border: 1px solid #1cbf5e; color: #fff; }
.ab-value h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 400; color: var(--violet); }
.ab-value p { margin-top: 14px; color: #444; font-size: .98rem; }

/* Team */
.ab-team { background: linear-gradient(180deg, #0080ec, #0049d0); }
.ab-team-card { margin: clamp(30px, 4vw, 50px) auto 0; max-width: 63.125rem; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: 0 20px 40px rgba(0, 0, 0, .18); padding: clamp(0px, 1vw, 10px) clamp(0px, 5vw, 56px) clamp(28px, 4vw, 44px); text-align: center; color: #fff; }
.ab-team-card img { width: 100%; aspect-ratio: 900 / 376; object-fit: cover; object-position: 50% 30%; }
.ab-team-card h3 { margin-top: 30px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 400; }
.ab-team-card p { margin: 14px auto 0; max-width: 42.5rem; font-size: .98rem; line-height: 1.45; }

/* Culture */
.ab-culture-grid { margin-top: clamp(30px, 4vw, 56px); align-items: start; }
.ab-culture-photo { border-radius: 16px; background: #e8e9ed; box-shadow: 0 10px 22px rgba(0, 0, 0, .16); padding: 20px; }
.ab-culture-photo img { border-radius: 12px; width: 100%; aspect-ratio: 425 / 265; object-fit: cover; }
.ab-culture h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; color: #444; }
.ab-culture h3 + p { margin-top: 18px; color: #333; line-height: 1.4; }
.ab-bullets { margin: 26px 0 30px; display: grid; gap: 14px; color: #444; font-size: .95rem; }
.ab-bullets li { position: relative; padding-left: 20px; }
.ab-bullets li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }

/* Journey: the stage pins while vertical scroll drives the track sideways (see about.js) */
.ab-journey { position: relative; background: #0080ea; color: #fff; }
.ab-journey-stage { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(40px, 5vw, 60px) 0 clamp(40px, 5vw, 60px) max(var(--gutter), calc((100vw - var(--container)) / 2)); overflow: hidden; }
.ab-journey.is-pinned .ab-journey-stage { position: sticky; top: var(--header-h, 0px); height: calc(100vh - var(--header-h, 0px)); min-height: 480px; padding-block: 0; }
.ab-journey-intro { flex: 0 0 min(320px, 32vw); position: relative; z-index: 1; }
.ab-journey-intro h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 700; }
.ab-journey-intro p { margin-top: 16px; font-size: .95rem; line-height: 1.45; opacity: .95; }
.ab-journey-viewport { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.ab-journey.is-pinned .ab-journey-viewport { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 48px); mask: linear-gradient(90deg, transparent, #000 48px); }
.ab-journey-track { position: relative; width: max-content; padding: 30px 60px 30px 40px; will-change: transform; }
.ab-journey-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ab-journey-path path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; }
.ab-journey-path circle { fill: #0080ea; stroke: #fff; stroke-width: 4; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.ab-years { position: relative; display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; height: 520px; }
.ab-year { --w: 220px; position: relative; flex: 0 0 var(--w); height: 360px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 22px; color: var(--blue); transition: transform .4s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.ab-year.is-up { border-radius: 110px 110px 0 0; background: linear-gradient(180deg, #eef3fb 0%, #d6e3f5 44%, rgba(214, 227, 245, 0) 64%); }
.ab-year p { margin-top: auto; }
.ab-year.is-down { margin-top: 160px; border-radius: 0 0 110px 110px; background: linear-gradient(0deg, #eef3fb 0%, #d6e3f5 44%, rgba(214, 227, 245, 0) 64%); padding-top: 30px; padding-bottom: 34px; }
.ab-year strong { font-size: 2.3rem; font-weight: 700; line-height: 1.1; }
.ab-year.is-down strong { color: #fff; }
.ab-year h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.2; margin-top: 4px; }
.ab-year.is-down h3 { color: #fff; }
.ab-year-line { width: 1px; height: 36px; margin: 10px 0; background: currentColor; position: relative; }
.ab-year-line::after { content: ""; position: absolute; bottom: 0; left: -3px; border: 3.5px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.ab-year p { font-size: .88rem; line-height: 1.4; font-weight: 500; }
.ab-year.is-up p { color: #fff; }
.ab-year.is-active { transform: translateY(-6px); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); }

/* Final stop of the timeline: "From 1998 to Today" pill with the Take Demo button */
.ab-finale { flex: none; align-self: center; margin-left: 90px; display: flex; align-items: center; gap: 34px; width: 560px; min-height: 200px; padding: 30px 40px 30px 54px; border-radius: 100px; background: linear-gradient(120deg, var(--blue-deep), var(--violet)); box-shadow: 0 18px 34px rgba(0, 0, 0, .25); color: #fff; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.ab-finale h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.ab-finale p { margin-top: 14px; font-size: 1rem; opacity: .95; }
.ab-finale.is-active { transform: scale(1.03); }
.ab-story-btn { flex: none; width: 130px; height: 130px; border-radius: 50%; border: 0; background: #e8e9ed; color: var(--blue); font: 700 1.3rem/1.2 var(--font); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); transition: transform .25s; animation: pulse 2.8s ease-in-out infinite; cursor: pointer; }
.ab-story-btn:hover { transform: scale(1.06); }
@keyframes pulse { 0%, 100% { box-shadow: 0 8px 18px rgba(0, 0, 0, .25), 0 0 0 0 rgba(255, 255, 255, .5); } 50% { box-shadow: 0 8px 18px rgba(0, 0, 0, .25), 0 0 0 12px rgba(255, 255, 255, 0); } }

@media (max-width: 900px) {
  .ab-badges { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .ab-badge.is-main { grid-column: 1 / -1; grid-row: 1; margin-top: 0; }
  .ab-badge, .ab-badge.is-main { min-height: 170px; }
  .ab-split { grid-template-columns: minmax(0, 1fr); }
  .ab-mv-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-frame::before { display: none; }
  .ab-journey-stage { flex-direction: column; align-items: stretch; padding-right: 0; }
  .ab-journey.is-pinned .ab-journey-stage { justify-content: center; }
  .ab-journey-intro { flex: none; padding-right: var(--gutter); }
}
@media (max-width: 560px) {
  .ab-values-grid, .ab-diamonds { grid-template-columns: minmax(0, 1fr); }
  .ab-photos { padding-right: 24px; }
  .ab-badge { padding: 18px 10px; }
  .ab-badge strong { font-size: 1.6rem; }
  .ab-badge span { font-size: .9rem; }
  .ab-inset { right: 0; }
  .ab-years { height: 420px; gap: 16px; }
  .ab-year { --w: 164px; height: 300px; padding-inline: 14px; }
  .ab-year.is-down { margin-top: 120px; }
  .ab-year strong { font-size: 1.8rem; }
  .ab-year h3 { font-size: 1rem; }
  .ab-finale { width: 330px; min-height: 0; gap: 18px; padding: 24px 22px 24px 30px; margin-left: 60px; }
  .ab-finale h3 { font-size: 1.1rem; }
  .ab-story-btn { width: 96px; height: 96px; font-size: 1.05rem; }
  .ab-year p { font-size: .74rem; }
}
