/**
 * Mockup Theme — About page (page-about.php).
 *
 * Ported from the user's prototype. The prototype already referenced the design
 * tokens (--serif/--sans/--black/--cream/--yellow/--header-h), so its :root
 * redefinition + inline @font-face + Google-Fonts link are dropped — the values
 * resolve from the theme's tokens.css. Body/html styling is owned by base.css.
 * Behaviour (reveal / team carousel / parallax / mobile accordion) = about.js.
 * Enqueued only on this template.
 */

/* ── Reveal-on-scroll (about.js adds .in) ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
.reveal-right.in { opacity: 1; transform: none; }

/* ════ HERO ════ */
.ab-hero { background: var(--black); height: calc(100vh - var(--header-h)); min-height: 520px; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.ab-hero-left { padding: 80px 64px 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; border-right: 1px solid rgba(255, 255, 255, .06); }
.ab-hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 9.5px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, .3); }
.ab-hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--yellow); }
.ab-hero-title { font-family: var(--serif); font-size: clamp(40px, 5.5vw, 72px); font-weight: 700; color: #fff; font-style: normal; line-height: 1.0; letter-spacing: -1.5px; margin-top: auto; margin-bottom: 48px; }
.ab-hero-title span { color: var(--yellow); }
.ab-hero-scroll { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, .3); }
.ab-hero-scroll-line { width: 40px; height: 1px; background: rgba(255, 255, 255, .15); }
.ab-hero-right { position: relative; overflow: hidden; }
.ab-hero-img { position: absolute; top: -30%; bottom: -30%; left: 0; right: 0; background-size: cover; background-position: center; will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden; }
.ab-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14, 14, 12, .5) 0%, transparent 60%); }
.ab-hero-stat { position: absolute; bottom: 40px; left: 40px; z-index: 2; }
.ab-hero-stat-n { font-family: var(--serif); font-size: 64px; font-weight: 300; color: rgba(255, 255, 255, .9); line-height: 1; display: block; }
.ab-hero-stat-l { font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.ab-hero-tag { position: absolute; top: 40px; right: 40px; z-index: 2; background: var(--yellow); color: var(--black); padding: 8px 16px; font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* ════ INTRO ════ */
.ab-intro { padding: 120px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; background: var(--cream); position: relative; }
.ab-intro::before { content: ''; position: absolute; top: 0; left: 64px; right: 64px; height: 1px; background: rgba(14, 14, 12, .1); }
.ab-intro-kicker { font-size: 9.5px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(14, 14, 12, .38); margin-bottom: 24px; }
.ab-intro-body { font-size: clamp(16px, 1.8vw, 20px); font-weight: 300; color: rgba(14, 14, 12, .7); line-height: 1.85; }
.ab-intro-body strong { color: var(--black); font-weight: 500; }
.ab-intro-body--sm { font-size: 13.5px; }
.ab-intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(14, 14, 12, .08); margin-top: 48px; padding-top: 40px; }
.ab-istat { padding: 0 24px; }
.ab-istat:first-child { padding-left: 0; }
.ab-istat:last-child { padding-right: 0; }
.ab-istat:not(:last-child) { border-right: 1px solid rgba(14, 14, 12, .08); }
.ab-intro-right { padding-top: 60px; }
.ab-intro-quote { font-family: var(--serif); font-size: clamp(22px, 3vw, 36px); font-weight: 300; color: var(--black); line-height: 1.3; letter-spacing: -.5px; padding-left: 24px; border-left: 2px solid var(--yellow); margin-bottom: 36px; }
.ab-istat-n { font-family: var(--serif); font-size: 44px; font-weight: 300; color: var(--black); line-height: 1; }
.ab-istat-l { font-size: 9.5px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(14, 14, 12, .35); margin-top: 6px; }

/* ════ STORY ════ */
.ab-story { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.ab-story--flip .ab-story-img { order: 2; } .ab-story--flip .ab-story-text { order: 1; }
.ab-story-img { position: relative; overflow: hidden; min-height: 500px; }
.ab-story-img-inner { position: absolute; top: -30%; bottom: -30%; left: 0; right: 0; background-size: cover; background-position: center; will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden; }
.ab-story-text { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; background: var(--cream); border-top: 1px solid rgba(14, 14, 12, .08); }
.ab-story--dark .ab-story-text { background: var(--black); }
.ab-story-num { font-family: var(--serif); font-size: 80px; font-weight: 300; color: rgba(14, 14, 12, .05); line-height: 1; margin-bottom: -20px; }
.ab-story--dark .ab-story-num { color: rgba(255, 255, 255, .04); }
.ab-story-tag { font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(14, 14, 12, .35); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.ab-story--dark .ab-story-tag { color: rgba(255, 255, 255, .28); }
.ab-story-tag::before { content: ''; width: 16px; height: 1px; background: var(--yellow); }
.ab-story-h { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; font-style: normal; color: var(--black); letter-spacing: -.8px; line-height: 1.1; margin-bottom: 20px; }
.ab-story--dark .ab-story-h { color: #fff; }
.ab-story-p { font-size: 14px; line-height: 1.9; color: rgba(14, 14, 12, .55); max-width: 380px; }
.ab-story--dark .ab-story-p { color: rgba(255, 255, 255, .45); }
.ab-story-link { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--black); margin-top: 28px; border-bottom: 1px solid rgba(14, 14, 12, .2); padding-bottom: 3px; transition: gap .25s, border-color .25s; text-decoration: none; }
.ab-story--dark .ab-story-link { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
.ab-story-link:hover { gap: 14px; }

/* ════ VALUES ════ */
.ab-values { background: var(--cream); padding: 100px 64px 120px; position: relative; overflow: hidden; }
.ab-values::before { content: ''; position: absolute; top: 0; left: 64px; right: 64px; height: 1px; background: rgba(14, 14, 12, .1); }
.ab-val-word { display: flex; align-items: baseline; gap: 24px; border-bottom: 1px solid rgba(14, 14, 12, .08); padding: 16px 0; cursor: default; transition: padding-left .35s cubic-bezier(.22, 1, .36, 1); }
.ab-val-word:hover { padding-left: 12px; }
.ab-val-word:first-child { border-top: 1px solid rgba(14, 14, 12, .08); }
.ab-val-num { font-family: var(--serif); font-size: 13px; color: rgba(14, 14, 12, .25); width: 28px; flex-shrink: 0; }
.ab-val-name { font-family: var(--serif); font-size: clamp(44px, 6.5vw, 90px); font-weight: 700; font-style: normal; letter-spacing: -2px; line-height: .95; color: var(--black); transition: color .25s; }
.ab-val-word:hover .ab-val-name { color: rgba(14, 14, 12, .35); }
.ab-val-desc { font-size: 13px; line-height: 1.7; color: rgba(14, 14, 12, .45); max-width: 260px; margin-left: auto; align-self: center; }

/* ════ TEAM ════ */
.ab-team { background: var(--black); padding: 100px 0 80px; }
.ab-team-header { padding: 0 64px; margin-bottom: 52px; display: flex; align-items: flex-end; justify-content: space-between; }
.ab-team-eyebrow { font-size: 9.5px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, .28); margin-bottom: 12px; }
.ab-team-title { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 700; font-style: normal; color: #fff; letter-spacing: -.8px; }
.ab-team-track-wrap { overflow: hidden; padding: 0 64px; cursor: grab; }
.ab-team-track-wrap:active { cursor: grabbing; }
.ab-team-track { display: flex; gap: 2px; will-change: transform; transition: transform .75s cubic-bezier(.22, 1, .36, 1); }
.ab-team-card { flex: 0 0 auto; width: clamp(200px, 22vw, 280px); position: relative; overflow: hidden; cursor: pointer; }
.ab-team-img { width: 100%; aspect-ratio: 3 / 4; background-size: cover; background-position: center top; transition: transform .8s cubic-bezier(.22, 1, .36, 1); filter: grayscale(20%); }
.ab-team-card:hover .ab-team-img { transform: scale(1.05); filter: grayscale(0%); }
.ab-team-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 14, 12, .85) 0%, transparent 55%); transition: background .4s; }
.ab-team-card:hover .ab-team-ov { background: linear-gradient(to top, rgba(14, 14, 12, .92) 0%, rgba(14, 14, 12, .1) 60%); }
.ab-team-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.ab-team-name { font-size: 15px; font-weight: 400; color: #fff; margin-bottom: 4px; }
.ab-team-role { font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.ab-team-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--yellow); transition: width .6s cubic-bezier(.22, 1, .36, 1); }
.ab-team-card:hover::after { width: 100%; }
.ab-team-nav { padding: 0 64px; margin-top: 36px; display: flex; align-items: center; gap: 10px; }
.ab-team-arr { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .1); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.ab-team-arr:hover { background: var(--yellow); border-color: var(--yellow); }
.ab-team-arr:hover svg { stroke: var(--black); }
.ab-team-arr svg { width: 15px; height: 15px; stroke: rgba(255, 255, 255, .5); fill: none; stroke-width: 1.6; transition: stroke .2s; }

/* ════ TESTIMONIAL ════ */
.ab-testimonial { background: var(--cream); padding: 120px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.ab-testimonial::before { content: ''; position: absolute; top: 0; left: 64px; right: 64px; height: 1px; background: rgba(14, 14, 12, .1); }
.ab-test-mark { font-family: var(--serif); font-size: 100px; color: var(--yellow); line-height: .6; display: block; margin-bottom: 24px; }
.ab-test-quote { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 30px); font-weight: 300; color: var(--black); line-height: 1.45; margin-bottom: 36px; }
.ab-test-author { display: flex; align-items: center; gap: 14px; }
.ab-test-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--black); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 16px; color: var(--yellow); flex-shrink: 0; }
.ab-test-name { font-size: 13px; font-weight: 500; color: var(--black); }
.ab-test-role { font-size: 11px; color: rgba(14, 14, 12, .4); margin-top: 2px; }
.ab-test-right { display: flex; flex-direction: column; gap: 2px; }
.ab-test-stat { padding: 28px 32px; background: #fff; border-left: 2px solid transparent; transition: border-color .25s; cursor: default; }
.ab-test-stat:hover { border-left-color: var(--yellow); }
.ab-test-stat-n { font-family: var(--serif); font-size: 42px; font-weight: 300; color: var(--black); line-height: 1; margin-bottom: 6px; }
.ab-test-stat-l { font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(14, 14, 12, .38); }

/* ════ CTA ════ */
.ab-cta { background: var(--black); padding: 100px 64px; position: relative; overflow: hidden; }
.ab-cta-ghost { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 220px; font-weight: 300; color: rgba(255, 255, 255, .025); line-height: 1; pointer-events: none; letter-spacing: -6px; }
.ab-cta-eyebrow { font-size: 9.5px; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255, 255, 255, .28); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.ab-cta-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--yellow); }
.ab-cta-title { font-family: var(--serif); font-size: clamp(34px, 4.8vw, 68px); font-weight: 700; font-style: normal; color: #fff; letter-spacing: -1.5px; line-height: .95; margin-bottom: 48px; }
.ab-cta-title span { color: var(--yellow); }
.ab-cta-btns { display: flex; gap: 14px; align-items: center; }
.ab-cta-btn { padding: 15px 32px; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; border: none; cursor: pointer; font-family: var(--sans); text-decoration: none; display: inline-flex; align-items: center; transition: opacity .2s; }
.ab-cta-btn:hover { opacity: .88; }
.ab-cta-btn-ghost { padding: 14px 32px; background: transparent; color: rgba(255, 255, 255, .55); font-size: 11px; letter-spacing: 0.5px; border: 1px solid rgba(255, 255, 255, .12); cursor: pointer; font-family: var(--sans); text-decoration: none; display: inline-flex; align-items: center; transition: border-color .2s, color .2s; }
.ab-cta-btn-ghost:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }

/* ════ MOBILE ════ */
@media (max-width: 900px) {
    .ab-hero { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - var(--header-h)); }
    .ab-hero-right { min-height: 75vw; order: -1; }
    .ab-hero-img { top: 0 !important; bottom: 0 !important; }
    .ab-hero-left { padding: 40px 20px 44px; }
    .ab-hero-title { font-size: clamp(34px, 9vw, 60px) !important; letter-spacing: -1px; }
    .ab-hero-stat { bottom: 20px; left: 20px; }
    .ab-hero-tag { top: 16px; right: 16px; }

    .ab-intro { grid-template-columns: 1fr; padding: 52px 20px; gap: 36px; }
    .ab-intro::before { left: 20px; right: 20px; }
    .ab-intro-right { padding-top: 0; }

    .ab-story { grid-template-columns: 1fr; min-height: auto; }
    .ab-story-img { order: 1 !important; min-height: 72vw; overflow: hidden; }
    .ab-story-text { order: 2 !important; padding: 36px 20px 44px; }
    .ab-story-img-inner { top: 0 !important; bottom: 0 !important; }
    .ab-story-num { font-size: 48px; margin-bottom: -10px; }

    .ab-values { padding: 52px 20px 64px; }
    .ab-values::before { left: 20px; right: 20px; }
    .ab-val-name { font-size: clamp(32px, 10vw, 60px); letter-spacing: -1.5px; }
    .ab-val-word { flex-wrap: wrap; cursor: pointer; align-items: center; }
    .ab-val-desc { display: block; width: 100%; max-width: 100%; margin-left: 0; font-size: 13px; line-height: 1.7; color: rgba(14, 14, 12, .55); max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: max-height .4s cubic-bezier(.22, 1, .36, 1), padding .35s; }
    .ab-val-word.open .ab-val-desc { max-height: 200px; padding-top: 10px; padding-bottom: 6px; }
    .ab-val-name::after { content: '+'; font-family: var(--sans); font-size: 16px; font-weight: 400; color: rgba(14, 14, 12, .3); margin-left: 10px; vertical-align: middle; display: inline-block; transition: transform .3s, color .2s; letter-spacing: 0; }
    .ab-val-word.open .ab-val-name::after { transform: rotate(45deg); color: var(--black); }

    .ab-team { padding: 60px 0 48px; }
    .ab-team-header { padding: 0 20px; margin-bottom: 32px; }
    .ab-team-track-wrap { padding: 0 20px; }
    .ab-team-nav { padding: 0 20px; margin-top: 24px; }

    .ab-testimonial { grid-template-columns: 1fr; padding: 52px 20px; gap: 32px; }
    .ab-testimonial::before { left: 20px; right: 20px; }

    .ab-cta { padding: 52px 20px 60px; }
    .ab-cta-title { font-size: clamp(28px, 7.5vw, 48px) !important; letter-spacing: -1px; }
    .ab-cta-ghost { display: none; }
    .ab-cta-btns { flex-direction: column; gap: 10px; }
    .ab-cta-btn, .ab-cta-btn-ghost { width: 100%; text-align: center; justify-content: center; }
}
