/* ============================================================
   about.css — About page
   Includes: ab-hero, about story, ab-values, stats.
   Dock and footer are shared across every page and live in
   css/global.css instead of being duplicated here.
   ============================================================ */

/* ============================================================
   1. AB-HERO — page intro
   ============================================================ */
.ab-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    background: #ffffff;
    overflow: hidden;
    padding: clamp(110px, 13vw, 160px) clamp(24px, 6vw, 96px) clamp(48px, 6vw, 72px);
}

.ab-hero__deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ab-hero__inner {
    position: relative;
    z-index: 1;
    flex: 0 0 50%;
    max-width: 50%;
}

/* ---- right-side visual panel ---- */
.ab-hero__visual {
    flex: 0 0 46%;
    max-width: 46%;
    z-index: 1;
    display: flex;
    align-items: center;
    max-height: 620px;
    overflow: hidden;
}

.ab-hero__visual-img {
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.10));
}

.ab-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
}
.ab-hero__bc-link {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.ab-hero__bc-link:hover { color: var(--color-fg); }
.ab-hero__bc-sep  { opacity: 0.4; }
.ab-hero__bc-current { color: var(--color-fg); font-weight: 700; }

.ab-hero__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.ab-hero__headline {
    margin: 0 0 28px;
    font-family: "Karla", sans-serif;
    font-size: clamp(44px, 6.4vw, 92px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--color-fg);
}
.ab-hero__line { display: block; overflow: hidden; }
.ab-hero__line-inner { display: block; }
.ab-hero__headline em {
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #f7b42c 0%, #fc575e 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ab-hero__sub {
    margin: 0;
    font-size: clamp(15px, 1.6vw, 20px);
    line-height: 1.65;
    color: var(--color-muted);
    max-width: 520px;
}

/* ============================================================
   2. ABOUT — story + word-by-word reveal (about.js)
   ============================================================ */
.about { background: #ffffff; }

.about__pin {
    display: flex;
    flex-direction: column;
}

.about__statement {
    padding: clamp(36px, 4vw, 56px) clamp(24px, 6vw, 96px) clamp(48px, 6vw, 72px);
    border-bottom: 1px solid rgba(14, 27, 51, 0.07);
}

.about__words {
    margin: 0;
    font-family: "Karla", sans-serif;
    font-size: clamp(30px, 4.4vw, 66px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-fg);
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.28em;
    max-width: 1000px;
}

.about__word { overflow: hidden; display: inline-block; vertical-align: bottom; }
.about__word-inner { display: inline-block; }

.about__detail {
    display: flex;
    gap: clamp(40px, 6vw, 96px);
    align-items: flex-start;
    padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 96px);
        background: #faf8f4;
}

/* initial state set in CSS — about.js animates to y:0, opacity:1 */
.about__text {
    flex: 0 0 48%;
    max-width: 48%;
    opacity: 0;
    transform: translateY(40px);
}

.about__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 18px;
}

.about__heading {
    margin: 0 0 24px;
    font-family: "Karla", sans-serif;
    font-size: clamp(20px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about__paragraph {
    font-size: clamp(14px, 1.15vw, 16px);
    line-height: 1.78;
    color: var(--color-muted);
    margin: 0 0 16px;
}
.about__paragraph:last-of-type { margin-bottom: 32px; }

.about__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-fg);
    text-decoration: none;
    transition: gap 0.25s ease;
}
.about__cta:hover { gap: 18px; }

.about__cta .btn-arrow {
    width: 24px;
    height: 24px;
}
.about__cta .btn-arrow svg {
    width: 11px;
    height: 11px;
}

/* initial clip-path — about.js opens to inset(0% 0 0 0) */
.about__image-mask {
    flex: 1 1 0;
    clip-path: inset(0% 0 100% 0);
}

.about__image-inner {
    position: relative;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.about__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-label {
    position: absolute;
    bottom: 28px; left: 28px;
    background: #0e1b33;
    color: #faf8f4;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.about__img-label-num {
    font-family: "Karla", sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #f7b42c;
}
.about__img-label-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.55);
}

/* ============================================================
   3. AB-VALUES — core values grid
   ============================================================ */
.ab-values {
    background: #0e1b33;
    color: #faf8f4;
    padding: clamp(80px, 10vw, 140px) clamp(24px, 6vw, 96px);
}

.ab-values__inner { max-width: 1200px; margin: 0 auto; }

.ab-values__intro {
    margin-bottom: clamp(48px, 6vw, 80px);
    max-width: 640px;
}

.ab-values__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.ab-values__heading {
    margin: 0;
    font-family: "Karla", sans-serif;
    font-size: clamp(26px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #faf8f4;
}

.ab-values__grid {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.08);
    gap: 1px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ab-values__card {
    background: #0e1b33;
    padding: clamp(28px, 3vw, 44px);
    position: relative;
    transition: background 0.25s ease;
}
.ab-values__card:hover { background: rgba(255, 255, 255, 0.05); }

.ab-values__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f7b42c, #fc575e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.ab-values__card:hover::before { transform: scaleX(1); }

.ab-values__card-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent-2);
    margin-bottom: 16px;
}

.ab-values__card-title {
    margin: 0 0 12px;
    font-family: "Karla", sans-serif;
    font-size: clamp(15px, 1.3vw, 19px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #faf8f4;
}

.ab-values__card-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(250, 248, 244, 0.65);
}

/* ============================================================
   4. STATS — horizontal counter track (stats.js)
   ============================================================ */
.stats {
    background: #ffffff;
    overflow: hidden;
}

.stats__pin {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: clamp(72px, 9vw, 120px) clamp(24px, 6vw, 96px);
    gap: clamp(48px, 6vw, 80px);
    justify-content: center;
}

.stats__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.stats__heading {
    margin: 0;
    font-family: "Karla", sans-serif;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-fg);
}
.stats__heading em {
    font-style: italic;
    color: #f7b42c;
}

.stats__track-wrap {
    overflow: hidden;
    width: 100%;
}

.stats__track {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: clamp(48px, 9vw, 140px);
    width: max-content;
}

.stats__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.stats__number {
    font-family: "Karla", sans-serif;
    font-size: clamp(52px, 7.5vw, 108px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, #f7b42c 0%, #fc575e 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats__label {
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 700;
    color: var(--color-fg);
    letter-spacing: -0.01em;
}

.stats__detail {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-muted);
}

.stats__divider {
    position: relative;
    height: 2px;
    background: rgba(14, 27, 51, 0.08);
    border-radius: 999px;
}

.stats__divider-dot {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7b42c, #fc575e);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ab-values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .ab-hero {
        flex-direction: column;
    }
    .ab-hero__inner {
        flex: none;
        max-width: 100%;
    }
    .ab-hero__visual {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .about__detail { flex-direction: column; }
    .about__text,
    .about__image-mask {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
    .about__image-inner { height: 280px; }
    .ab-values__grid { grid-template-columns: 1fr; }
    .stats__pin { min-height: auto; }
}
