/* ══════════════════════════════════════════
   About Builder — layout only
   Reuses .main-heading .sub-heading .main-title .sub-title from port.css
   ══════════════════════════════════════════ */

/* Shared gold line (mirrors your existing pattern) */
.ab-gold-line {
    position: relative;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #c67529, #ff8f0c, #b07219);
    margin: 18px 0 26px;
    transition: width 1.4s ease
}

.ab-gold-line.revealed {
    width: 120px
}

.ab-gold-line--center {
    margin-left: auto;
    margin-right: auto
}

/* Reveal helper */
[data-ab-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s ease, transform 1s ease
}

[data-ab-reveal].in {
    opacity: 1;
    transform: translateY(0)
}

/* ─── HERO ─────────────────────────────── */
.ab-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate
}

.ab-hero-bg {
    position: absolute;
    inset: 0;
    background: url("../image/about-hero.webp") center/cover no-repeat;
    transform: scale(1.12);
    animation: abHeroZoom 12s ease forwards;
    z-index: -2
}

.ab-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, .35) 40%, rgba(10, 8, 6, .85) 100%);
    z-index: -1
}

@keyframes abHeroZoom {
    to {
        transform: scale(1)
    }
}

.ab-hero-inner {
    position: relative;
    padding: 180px 0 120px;
    text-align: center
}

.ab-hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #e8c896;
    margin-bottom: 22px
}

.ab-hero-title {
    color: #fff;
    font-size: clamp(38px, 6vw, 78px);
    line-height: 1.05;
    margin-bottom: 8px
}

.ab-hero .ab-gold-line {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, transparent, #e8c896, transparent)
}

.ab-hero .ab-gold-line.revealed {
    width: 180px
}

.ab-hero-sub {
    color: rgba(255, 255, 255, .82);
    margin: 0 auto 60px;
    max-width: 640px
}

.ab-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap
}

.ab-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 130px
}

.ab-meta-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    background: linear-gradient(135deg, #e8c896, #ff8f0c, #c67529);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1
}

.ab-meta-plus {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #e8c896;
    vertical-align: top;
    margin-left: 4px
}

.ab-meta-label {
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.918);
    margin-top: 8px
}

.ab-meta-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, .2)
}

.ab-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 12px;
    display: block
}

.ab-hero-scroll span {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: #e8c896;
    border-radius: 2px;
    animation: abScroll 1.6s ease infinite
}

@keyframes abScroll {
    0% {
        opacity: 0;
        top: 6px
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: 0;
        top: 20px
    }
}

/* ─── STORY ─────────────────────────────── */
.ab-story {
    padding: 80px 0;
    background: #fcfaf6;
    position: relative;
    overflow: hidden
}

.ab-story::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 117, 41, .08), transparent 70%)
}

.ab-story-visual {
    position: relative;
    padding: 0 40px 40px 0
}

.ab-story-img {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .35)
}

.ab-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease
}

.ab-story-img:hover img {
    transform: scale(1.06)
}

.ab-story-img--main {
    height: 520px
}

.ab-story-img--accent {
    position: absolute;
    right: 50px;
    bottom: 59px;
    width: 37%;
    height: 201px;
    border: 8px solid #fcfaf6;
}

.ab-wipe {
    position: absolute;
    inset: 0;
    background: #fcfaf6;
    transform: translateX(0)
}

.ab-story-img.revealed .ab-wipe {
    animation: abWipe 1.5s cubic-bezier(.77, 0, .18, 1) forwards
}

@keyframes abWipe {
    to {
        transform: translateX(101%)
    }
}

.ab-story-badge {
    position: absolute;
    top: 24px;
    left: -24px;
    background: linear-gradient(135deg, #c67529, #b07219);
    color: #fff;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px -15px rgba(198, 117, 41, .55);
    border-radius: 2px
}

.ab-badge-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1
}

.ab-badge-txt {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.5
}



.ab-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px
}

.ab-pillar {
    padding: 26px 20px;
    background: #fff;
    border: 1px solid rgba(198, 117, 41, .15);
    border-radius: 2px;
    transition: all .4s ease;
}

.ab-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -20px rgba(198, 117, 41, .35);
    border-color: rgba(198, 117, 41, .4)
}

.ab-pillar i {
    font-size: 24px;
    background: linear-gradient(135deg, #c67529, #ff8f0c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    display: block
}

.ab-pillar h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #222;
    font-weight:600;
}

.ab-pillar p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin: 0
}

/* ─── DIRECTOR ─────────────────────────── */
.ab-director {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background-image: url(../image/director-bg.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff
}

.ab-director-bg {
    position: absolute;
    inset: 0;
    background: url("../image/director-bg.webp") center/cover no-repeat;
    opacity: .15;
    filter: grayscale(1)
}

.ab-director-frame {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    border: 1px solid rgba(232, 200, 150, .15);
    backdrop-filter: blur(6px);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.ab-director-portrait {
    position: relative;
    height: 100%;
    min-height: 560px;
    overflow: hidden
}

.ab-director-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ab-director-portrait .ab-wipe {
    background: #0f0d0a
}

.ab-director-portrait.revealed .ab-wipe {
    animation: abWipe 1.5s cubic-bezier(.77, 0, .18, 1) forwards
}

.ab-director-sig {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(15, 13, 10, .75);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    border-left: 2px solid #c67529
}

.ab-director-sig span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #e8c896
}

.ab-director-sig small {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6)
}

.ab-director-copy {
    padding: 70px 60px;
    position: relative;
    background: #1b3228;
    height: 100%;
}

.ab-director-copy .sub-heading {
    color: #e8c896;
}



.ab-director-copy p {
    color: rgba(255, 255, 255, .78)
}

.ab-quote-mark {
    position: absolute;
    top: 40px;
    right: 60px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 180px;
    line-height: 1;
    color: rgb(199 199 199 / 41%);
    pointer-events: none;
}

.ab-director-quote {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 20px !important;
    font-style: italic;
    color: #f5ead6 !important;
    line-height: 1.7 !important;
    margin-bottom: 22px !important;
    font-weight: 400 !important
}

.ab-director-meta {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid rgba(232, 200, 150, .15);
    flex-wrap: wrap
}

.ab-meta-k {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 6px
}

.ab-meta-v {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #e8c896
}

/* ─── TEAM ─────────────────────────────── */
.ab-team {
    padding: 80px 0;
    background: #fff
}

.ab-section-head {
    margin-bottom: 60px
}

.ab-section-head .sub-title {
    max-width: 620px;
    margin-top: 10px
}

.ab-team-card {
    position: relative;
    background: #fcfaf6;
    border-radius: 2px;
    overflow: hidden;
    transition: all .5s ease;
    border: 1px solid transparent
}

.ab-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .2);
    border-color: rgba(198, 117, 41, .3)
}

.ab-team-img {
    position: relative;
    height: 340px;
    overflow: hidden
}

.ab-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
    filter: grayscale(.2)
}

.ab-team-card:hover .ab-team-img img {
    transform: scale(1.08);
    filter: grayscale(0)
}

.ab-team-body {
    padding: 22px 24px 26px;
    text-align: center;
    border-top: 1px solid rgba(198, 117, 41, .12)
}

.ab-team-body h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    
    color: #000;
    margin-bottom: 4px
}

.ab-team-body span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c67529
}

/* Read More button — replaces the old social-link hover overlay */
.ab-team-readmore {
    display: inline-block;
    margin-top: 14px;
    padding: 9px 22px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #c67529;
    background: transparent;
    border: 1px solid rgba(198, 117, 41, .4);
    border-radius: 2px;
    cursor: pointer;
    transition: all .3s ease
}

.ab-team-readmore:hover {
    background: linear-gradient(135deg, #c67529, #ff8f0c);
    border-color: transparent;
    color: #fff
}

/* ─── TEAM MODAL ─────────────────────── */
.ab-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 13, 10, .65);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    padding: 20px
}

.ab-modal-overlay.open {
    opacity: 1;
    visibility: visible
}

.ab-modal-box {
    position: relative;
    display: grid;
    grid-template-columns: 40% 60%;
    width: 100%;
    max-width: 920px;
    max-height: 88vh;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .45);
    transform: translateY(24px) scale(.97);
    opacity: 0;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .4s ease
}

.ab-modal-overlay.open .ab-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1
}

.ab-modal-img {
    position: relative;
    min-height: 420px;
    background: #eee
}

.ab-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ab-modal-content {
    position: relative;
    padding: 60px 56px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto
}

.ab-modal-quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    line-height: 1;
    color: #e8c896;
    margin-bottom: 6px
}

.ab-modal-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 0
}

.ab-modal-divider {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #c67529, #ff8f0c);
    margin: 26px 0 18px
}

.ab-modal-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 6px
}

.ab-modal-role {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c67529;
    font-weight: 600
}

.ab-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #444;
    cursor: pointer;
    z-index: 2;
    transition: color .3s ease
}

.ab-modal-close:hover {
    color: #c67529
}

/* Partners marquee */
.ab-partners {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(198, 117, 41, .12)
}

.ab-partners-marquee {
    overflow: hidden;
    position: relative;
    margin-top: 50px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)
}

.ab-partners-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: abMarquee 30s linear infinite
}

.ab-partner {
    flex: 0 0 auto;
    height: 100%;
    display: grid;
    place-items: center;
    /*opacity: .55;*/
    /*filter: grayscale(1);*/
    transition: all .3s ease
}

.ab-partner:hover {
    opacity: 1;
    filter: grayscale(0)
}

.ab-partner img {
    max-height: 100%;
    max-width: 160px;
    object-fit: contain
}

@keyframes abMarquee {
    to {
        transform: translateX(-50%)
    }
}

/* ─── RESPONSIVE ─────────────────────── */
@media(max-width:991px) {
    .ab-story{
        padding: 3rem 0rem;
    }
    .ab-hero-inner {
        padding: 140px 0 90px
    }
    .ab-meta-label{
        color: #fff !important;
    }
    .ab-meta-plus{
        display: none;
    }

    .ab-hero-meta {
        gap: 20px
    }

    .ab-meta-divider {
        display: none
    }
    .ab-team-img img{
        object-fit: contain;
    }

    .ab-story-visual {
        padding: 0 0 40px
    }

    .ab-story-img--main {
        height: 400px
    }

    .ab-story-img--accent {
        width: 60%;
        height: 220px
    }

    .ab-story-badge {
        left: 0
    }

    .ab-pillars {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .ab-director-portrait {
        min-height: 420px
    }

    .ab-director-copy {
        padding: 50px 32px
    }

    .ab-quote-mark {
        top: 20px;
        right: 30px;
        font-size: 120px
    }

    .ab-director-copy p {
        color: #fff !important;
    }

    .ab-director-meta {
        gap: 25px;
    }
    .ab-modal-img img{
            width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 1rem;
    }
}

@media(max-width:767px) {
    .ab-modal-box {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto
    }
    .ab-modal-img {
        height: 307px;
        min-height: 100%;
    }
    .ab-modal-content {
        padding: 11px;
    }
    .ab-modal-quote-mark {
        display: none;
    }
}

@media(max-width:576px) {
    .ab-hero-meta {
        gap: 14px
    }

    .ab-meta-num {
        font-size: 42px
    }

    .ab-story-img--main {
        height: 320px
    }

    .ab-story-img--accent {
        position: relative;
        width: 100%;
        height: 200px;
        margin-top: 16px;
        border: none
    }

    .ab-story-visual {
        padding: 0
    }

    .ab-director-copy {
        padding: 40px 22px
    }

    .ab-director-quote {
        font-size: 18px !important
    }

    .ab-team-img {
        height: 280px
    }

    .ab-partners-track {
        gap: 50px
    }
}