/* About (pages/about.blade.php). Static first; the pinned milestone run only under html.rx-motion.
   #technology is the one transparent (.s--clear) section: the shared stage renders the engine right of centre. */

/* shared on this page: a two-column split (headline left, body right) */
.ab-split { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 64rem) { .ab-split { grid-template-columns: 1.1fr 1fr; align-items: end; } }

/* ---------------------------------------------------------------- 2 · figures */
.ab-fig__t { margin-top: 1.4rem; }
.ab-fig__row { margin-top: clamp(3rem, 2rem + 4vw, 6rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.ab-fig__row .stat__n { white-space: nowrap; }

/* ---------------------------------------------------------------- 3 · story */
.ab-story__t { margin-top: 1.4rem; }
.ab-story__body { display: grid; gap: 1.4rem; max-width: 36rem; }
.ab-story__body .lead { color: var(--fg); }

/* ---------------------------------------------------------------- 4 · belief */
.ab-belief { background: radial-gradient(60% 50% at 20% 60%, rgba(25,179,168,.08), transparent 70%), var(--bg); }
.ab-belief__t { margin-top: 1.4rem; font-size: clamp(2.6rem, 1rem + 6vw, 7rem); }
.ab-belief__l { margin-top: 2.4rem; max-width: 38rem; }

/* ---------------------------------------------------------------- 5 · brands */
.ab-brands__t { margin-top: 1.4rem; }
.ab-brands__row { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.ab-brand { display: grid; align-content: start; gap: 1rem; }
.ab-brand__logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1.4rem; }
.ab-brand p { margin-top: 0; max-width: 32rem; }
.ab-brand .arrow-link { margin-top: .8rem; }

/* ---------------------------------------------------------------- 6 · technology (3D) */
.ab-tech { position: relative; overflow: hidden; }
.ab-tech .w { position: relative; z-index: 2; }
.ab-tech__t { margin-top: 1.2rem; font-size: clamp(2.2rem, 1rem + 3.4vw, 4.4rem); }
.ab-tech__lead { margin-top: 1.4rem; max-width: 30rem; }
.ab-layers { margin-top: 2rem; border-top: 1px solid var(--line); counter-reset: none; }
.ab-layers li { display: flex; gap: 1.2rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.ab-layers .mono { min-width: 2rem; padding-top: .2rem; color: var(--accent); }
.ab-layers h3 { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.ab-layers p { margin-top: .25rem; font-size: var(--t-small); }
.ab-tech__still { position: relative; z-index: 1; width: min(80vw, 460px); margin: 3rem auto 0; }
@media (min-width: 900px) {
  .ab-tech__copy { max-width: min(46vw, 36rem); }
  .ab-tech__still { position: absolute; right: 4vw; top: 50%; translate: 0 -50%; width: min(40vw, 540px); margin: 0; }
  .ab-tech::before { content: ""; position: absolute; z-index: 0; right: 0; top: 10%; width: 60vw; height: 80%; background: radial-gradient(closest-side, rgba(25,179,168,.12), transparent 70%); pointer-events: none; }
  html.rx-3d .ab-tech::before { display: none; }
}
@media (max-width: 899px) {
  html.rx-3d .ab-tech { align-content: start; padding-bottom: 42vh; } /* room for the live engine below the copy */
  html.rx-3d .ab-tech__still { display: none; }
}

/* ---------------------------------------------------------------- 7 · values */
.ab-values__t { margin-top: 1.4rem; }
.ab-values__row { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.ab-value { padding-top: 1.4rem; border-top: 1px solid var(--line-2); }
.ab-value h3 { margin-top: 1rem; font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.15; }
.ab-value p { margin-top: .6rem; font-size: var(--t-small); }

/* ---------------------------------------------------------------- 8 · milestones */
.ab-ms { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); }
.ab-ms__stage { position: relative; padding: clamp(6rem, 4rem + 8vh, 10rem) 0; }
.ab-ms__t { margin-top: 1.4rem; }
.ab-ms__list { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); border-top: 1px solid var(--line); }
.ab-ms__list li { display: grid; gap: .4rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .ab-ms__list li { grid-template-columns: 9rem 1fr; align-items: baseline; } }
.ab-ms__y { padding: 0; border: 0; background: none; text-align: left; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--fg); cursor: default; }
.ab-ms__x { max-width: 44rem; }
.ab-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 1px; background: var(--line); }
.ab-bar i { position: absolute; inset: 0; background: var(--accent-hi); box-shadow: 0 0 10px var(--accent-glow); transform-origin: left; transform: scaleX(0); }
html:not(.rx-motion) .ab-bar { display: none; }

/* with motion: pinned; the years become a row of buttons and the lit year's text shows below */
html.rx-motion .ab-ms { height: 480vh; }
html.rx-motion .ab-ms__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; display: grid; align-content: center; overflow: hidden; }
html.rx-motion .ab-ms__list { position: relative; display: flex; flex-wrap: wrap; gap: .6rem clamp(1rem, .5rem + 2.4vw, 3rem); padding-top: 1.6rem; padding-bottom: 11rem; }
html.rx-motion .ab-ms__list li { display: block; padding: 0; border: 0; }
html.rx-motion .ab-ms__y { position: relative; font-size: clamp(1.6rem, .8rem + 3.6vw, 4.6rem); color: var(--fg-3); cursor: pointer; transition: color var(--t-out); }
html.rx-motion .ab-ms__y:hover { color: var(--fg-2); }
html.rx-motion .ab-ms__list li.on .ab-ms__y { color: var(--fg); text-shadow: 0 0 .5em var(--accent-glow); }
html.rx-motion .ab-ms__y::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.5rem; height: 2px; background: var(--accent-hi); transform: scaleX(0); transform-origin: left; transition: transform var(--t-out) var(--ease-out); }
html.rx-motion .ab-ms__list li.on .ab-ms__y::after { transform: scaleX(1); transition-duration: .5s; }
html.rx-motion .ab-ms__x { position: absolute; left: 0; right: 0; bottom: 0; height: 9rem; font-size: var(--t-lead); line-height: 1.5; color: var(--fg); opacity: 0; translate: 0 12px; visibility: hidden; transition: opacity .25s var(--ease-out), translate .25s var(--ease-out), visibility 0s linear .25s; }
html.rx-motion .ab-ms__list li.on .ab-ms__x { opacity: 1; translate: 0 0; visibility: inherit; transition: opacity .6s var(--ease-out) .08s, translate .8s var(--ease-out) .08s, visibility 0s; }
@media (max-width: 899px) {
  html.rx-motion .ab-ms__stage { align-content: start; padding-top: calc(var(--header-h) + 1.5rem); }
  html.rx-motion .ab-ms__list { padding-bottom: 13rem; }
  html.rx-motion .ab-ms__x { height: 12rem; font-size: 1.05rem; }
}

/* ---------------------------------------------------------------- 9 · compliance */
.ab-comp__t { margin-top: 1.4rem; }
.ab-comp__grid { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.ab-comp__grid li { padding-top: 1.4rem; border-top: 1px solid var(--line-2); }
.ab-comp__grid h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
.ab-comp__grid p { margin-top: .6rem; font-size: var(--t-small); max-width: 26rem; }

/* ---------------------------------------------------------------- 10 · on record */
.ab-rec__t { margin-top: 1.4rem; }
.ab-md { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.ab-md img { width: 72px; height: auto; border-radius: 3px; }
.ab-md p { color: var(--fg-2); }
.ab-rec__list { border-top: 1px solid var(--line); }
.ab-rec__list > div { display: grid; gap: .3rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .ab-rec__list > div { grid-template-columns: 10rem 1fr; align-items: baseline; } }
.ab-rec__list dd { margin: 0; color: var(--fg); }
