/* =====================================================================
 *  DIZEN — ABOUT PAGE
 * =====================================================================
 *  Loaded AFTER css/style.css on about-us.php only.
 *  Namespaced under .ab-* so nothing leaks into the rest of the theme.
 *  Reuses the same palette tokens as css/catalog.css; they are redefined
 *  here so this file works even if catalog.css isn't on the page.
 * ===================================================================== */

:root {
    --ab-accent: #d7b39a;
    --ab-accent-dk: #c19a7d;
    --ab-ink: #14161a;
    --ab-ink-2: #5b6270;
    --ab-line: #e8e8e6;
    --ab-surface: #f6f5f3;
    --ab-radius: 18px;
    --ab-shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 10px 30px rgba(20, 22, 26, .07);
    --ab-shadow-lg: 0 2px 6px rgba(20, 22, 26, .06), 0 26px 56px rgba(20, 22, 26, .16);
}

.ab-page { overflow-x: clip; }

/* ---- shared bits ------------------------------------------------- */

.ab-section { padding: 104px 0; }
.ab-section--tight { padding: 80px 0; }
.ab-section--surface { background: var(--ab-surface); }
.ab-section--ink { background: var(--ab-ink); color: #fff; }

@media (max-width: 767px) {
    .ab-section { padding: 60px 0; }
    .ab-section--tight { padding: 48px 0; }
}

.ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ab-accent-dk);
    margin: 0 0 16px;
}

.ab-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--ab-accent);
}

.ab-section--ink .ab-eyebrow { color: var(--ab-accent); }

.ab-h2 {
    font-size: 40px;
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ab-ink);
    margin: 0 0 18px;
}

.ab-section--ink .ab-h2 { color: #fff; }

@media (max-width: 991px) { .ab-h2 { font-size: 32px; } }
@media (max-width: 575px) { .ab-h2 { font-size: 27px; } }

.ab-lead {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--ab-ink-2);
    margin: 0 0 18px;
    max-width: 62ch;
}

.ab-section--ink .ab-lead { color: rgba(255, 255, 255, .7); }

.ab-body p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--ab-ink-2);
    margin: 0 0 16px;
}

.ab-head { max-width: 660px; margin-bottom: 52px; }
.ab-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ab-head--center .ab-eyebrow { justify-content: center; }
.ab-head--center .ab-lead { margin-left: auto; margin-right: auto; }

@media (max-width: 767px) { .ab-head { margin-bottom: 36px; } }

/* buttons */
.ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background .3s ease, color .3s ease, border-color .3s ease,
                transform .3s ease, box-shadow .3s ease;
}

.ab-btn:focus-visible { outline: 2px solid var(--ab-accent); outline-offset: 3px; }
.ab-btn--solid { background: var(--ab-ink); color: #fff; }

.ab-btn--solid:hover {
    background: var(--ab-accent);
    color: var(--ab-ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(215, 179, 154, .45);
}

.ab-btn--ghost { background: transparent; color: var(--ab-ink); border-color: var(--ab-line); }
.ab-btn--ghost:hover { border-color: var(--ab-ink); color: var(--ab-ink); transform: translateY(-2px); }

.ab-section--ink .ab-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.ab-section--ink .ab-btn--ghost:hover { border-color: #fff; color: #fff; }

.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }


/* =====================================================================
 *  1. HERO
 * ===================================================================== */

.ab-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: var(--ab-ink);
    overflow: hidden;
}

@media (max-width: 991px) { .ab-hero { min-height: 520px; } }
@media (max-width: 575px) { .ab-hero { min-height: 460px; } }

.ab-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

/* dark on the left where the text sits, clearer on the right */
.ab-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(10, 11, 13, .93) 0%, rgba(10, 11, 13, .78) 42%, rgba(10, 11, 13, .35) 100%),
        radial-gradient(120% 90% at 88% 12%, rgba(215, 179, 154, .3) 0%, rgba(215, 179, 154, 0) 60%);
}

.ab-hero__inner { position: relative; z-index: 2; padding: 130px 0 70px; }

.ab-hero__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
}

.ab-hero__crumb a { color: rgba(255, 255, 255, .78); }
.ab-hero__crumb a:hover { color: var(--ab-accent); }
.ab-hero__crumb li + li::before { content: "/"; margin-right: 10px; opacity: .45; }

.ab-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ab-accent);
    margin: 0 0 18px;
}

.ab-hero__eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--ab-accent); }

.ab-hero h1 {
    font-size: 58px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0 0 22px;
    max-width: 16ch;
}

@media (max-width: 1199px) { .ab-hero h1 { font-size: 46px; } }
@media (max-width: 767px)  { .ab-hero h1 { font-size: 34px; max-width: none; } }

.ab-hero p {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .74);
    margin: 0;
    max-width: 56ch;
}

@media (max-width: 767px) { .ab-hero p { font-size: 15px; } }

.ab-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ab-hero__actions .ab-btn--solid { background: #fff; color: var(--ab-ink); }
.ab-hero__actions .ab-btn--solid:hover { background: var(--ab-accent); color: var(--ab-ink); }
.ab-hero__actions .ab-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.ab-hero__actions .ab-btn--ghost:hover { border-color: #fff; }

/* stat rail sitting on the hero's lower edge */
.ab-hero__rail {
    position: relative;
    z-index: 3;
    margin-top: -60px;
}

.ab-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border-radius: var(--ab-radius);
    box-shadow: var(--ab-shadow-lg);
    overflow: hidden;
}

@media (max-width: 767px) { .ab-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ab-rail__item { padding: 30px 26px; text-align: center; }
.ab-rail__item + .ab-rail__item { box-shadow: inset 1px 0 0 var(--ab-line); }

@media (max-width: 767px) {
    .ab-rail__item + .ab-rail__item { box-shadow: none; }
    .ab-rail__item { box-shadow: inset 0 0 0 .5px var(--ab-line) !important; }
}

.ab-rail__n {
    display: block;
    font-size: 38px;
    line-height: 1;
    font-weight: 600;
    color: var(--ab-ink);
    margin-bottom: 8px;
}

/* only the trailing "+" picks up the accent, not the number itself */
.ab-rail__n span + span { color: var(--ab-accent); }

.ab-rail__k {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ab-ink-2);
}


/* =====================================================================
 *  2. INTRO SPLIT
 * ===================================================================== */

.ab-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 72px;
    align-items: center;
}

@media (max-width: 991px) { .ab-split { grid-template-columns: 1fr; gap: 44px; } }

.ab-figure { position: relative; isolation: isolate; }

.ab-figure__main {
    position: relative;
    z-index: 1;
    border-radius: var(--ab-radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow);
}

@supports not (aspect-ratio: 4 / 5) { .ab-figure__main { height: 560px; } }

.ab-figure__main img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* thin accent frame offset behind the photo */
.ab-figure::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 30px;
    bottom: 30px;
    width: 60%;
    border: 1px solid var(--ab-accent);
    border-radius: var(--ab-radius);
    z-index: 0;
}

@media (max-width: 575px) { .ab-figure::before { display: none; } }

.ab-figure__badge {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 34px;
    background: var(--ab-ink);
    color: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: var(--ab-shadow-lg);
    max-width: 230px;
}

@media (max-width: 575px) { .ab-figure__badge { right: 12px; bottom: 12px; padding: 15px 17px; } }

.ab-figure__badge strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    color: var(--ab-accent);
    margin-bottom: 6px;
}

.ab-figure__badge span { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .74); }

/* signature/credential line under the copy */
.ab-cred {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.ab-cred li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ab-ink);
    background: var(--ab-surface);
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    padding: 9px 15px;
}

.ab-cred i { color: var(--ab-accent-dk); }


/* =====================================================================
 *  3. CAPABILITIES  (what we do)
 * ===================================================================== */

.ab-caps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1199px) { .ab-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px)  { .ab-caps { grid-template-columns: 1fr; } }

a.ab-cap, a.ab-cap:hover { text-decoration: none; color: inherit; }

.ab-cap {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    overflow: hidden;
    height: 100%;
    transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease, border-color .35s ease;
}

.ab-cap:hover { transform: translateY(-6px); box-shadow: var(--ab-shadow-lg); border-color: transparent; }
.ab-cap:focus-visible { outline: 2px solid var(--ab-accent); outline-offset: 3px; }

.ab-cap__media {
    aspect-ratio: 16 / 11;
    background: var(--ab-surface);
    overflow: hidden;
    flex: none;
}

@supports not (aspect-ratio: 16 / 11) { .ab-cap__media { height: 190px; } }

/* these are photographs, not logos — crop them rather than letterbox */
.ab-cap__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s cubic-bezier(.2, .8, .3, 1);
}

.ab-cap:hover .ab-cap__media img { transform: scale(1.07); }

.ab-cap__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }

.ab-cap__body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ab-ink);
    margin: 0 0 9px;
    transition: color .25s ease;
}

.ab-cap:hover .ab-cap__body h3 { color: var(--ab-accent-dk); }

.ab-cap__body p { font-size: 13.5px; line-height: 1.7; color: var(--ab-ink-2); margin: 0 0 16px; }

.ab-cap__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ab-ink);
}

.ab-cap__more i { transition: transform .3s ease; }
.ab-cap:hover .ab-cap__more i { transform: translateX(4px); }


/* =====================================================================
 *  4. WHY CHOOSE US
 * ===================================================================== */

.ab-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 991px) { .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .ab-values { grid-template-columns: 1fr; } }

.ab-value {
    position: relative;
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    padding: 34px 30px 32px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease, border-color .35s ease;
}

.ab-value:hover { transform: translateY(-5px); box-shadow: var(--ab-shadow-lg); border-color: transparent; }

/* ghost index number in the corner */
.ab-value__n {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    color: var(--ab-surface);
    pointer-events: none;
    transition: color .35s ease;
}

.ab-value:hover .ab-value__n { color: rgba(215, 179, 154, .26); }

.ab-value__ic {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ab-surface);
    color: var(--ab-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 20px;
    transition: background .35s ease, color .35s ease;
}

.ab-value:hover .ab-value__ic { background: var(--ab-accent); color: var(--ab-ink); }

.ab-value h3 { position: relative; font-size: 18.5px; font-weight: 600; color: var(--ab-ink); margin: 0 0 10px; }
.ab-value p { position: relative; font-size: 14px; line-height: 1.75; color: var(--ab-ink-2); margin: 0; }


/* =====================================================================
 *  5. MILESTONES TIMELINE
 * ===================================================================== */

.ab-timeline { position: relative; padding-left: 0; margin: 0; list-style: none; }

/* the spine */
.ab-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(255, 255, 255, .16);
    transform: translateX(-.5px);
}

.ab-tl { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; }
.ab-tl + .ab-tl { margin-top: 6px; }

.ab-tl__dot {
    grid-column: 2;
    justify-self: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--ab-accent);
    box-shadow: 0 0 0 6px rgba(215, 179, 154, .16);
    z-index: 2;
}

.ab-tl__card {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 26px 28px;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.ab-tl__card:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(215, 179, 154, .45);
    transform: translateY(-3px);
}

.ab-tl:nth-child(odd)  .ab-tl__card { grid-column: 1; margin-right: 8px; text-align: right; }
.ab-tl:nth-child(even) .ab-tl__card { grid-column: 3; margin-left: 8px; }

.ab-tl__year {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ab-accent);
    margin-bottom: 9px;
}

.ab-tl__card h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.ab-tl__card p { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .62); margin: 0; }

/* single column below lg */
@media (max-width: 991px) {
    .ab-timeline::before { left: 6px; transform: none; }
    .ab-tl { grid-template-columns: 34px 1fr; }
    .ab-tl + .ab-tl { margin-top: 16px; }
    .ab-tl__dot { grid-column: 1; justify-self: start; }
    .ab-tl:nth-child(odd) .ab-tl__card,
    .ab-tl:nth-child(even) .ab-tl__card {
        grid-column: 2;
        margin: 0;
        text-align: left;
    }
}


/* =====================================================================
 *  6. SECTORS
 * ===================================================================== */

.ab-sectors {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 1199px) { .ab-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px)  { .ab-sectors { grid-template-columns: 1fr; } }

a.ab-sector, a.ab-sector:hover { text-decoration: none; color: inherit; }

.ab-sector {
    position: relative;
    display: block;
    border-radius: var(--ab-radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--ab-ink);
    transition: transform .4s cubic-bezier(.2, .8, .3, 1), box-shadow .4s ease;
}

@supports not (aspect-ratio: 3 / 4) { .ab-sector { height: 330px; } }

.ab-sector:hover { transform: translateY(-6px); box-shadow: var(--ab-shadow-lg); }
.ab-sector:focus-visible { outline: 2px solid var(--ab-accent); outline-offset: 3px; }

.ab-sector img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .3, 1);
}

.ab-sector:hover img { transform: scale(1.08); }

.ab-sector::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 11, 13, .1) 30%, rgba(10, 11, 13, .82) 100%);
}

.ab-sector__body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }

.ab-sector__body h3 { font-size: 17.5px; font-weight: 600; color: #fff; margin: 0 0 6px; }

.ab-sector__body span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ab-accent);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s ease, transform .3s ease;
}

.ab-sector:hover .ab-sector__body span { opacity: 1; transform: none; }

@media (hover: none) {
    .ab-sector__body span { opacity: 1; transform: none; }
}


/* =====================================================================
 *  7. TRUST STRIP  (replaces the placeholder testimonials)
 * ===================================================================== */

.ab-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 991px) { .ab-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .ab-trust { grid-template-columns: 1fr; } }

.ab-trust__item {
    background: #fff;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    padding: 30px 26px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ab-trust__item:hover { transform: translateY(-4px); box-shadow: var(--ab-shadow); border-color: transparent; }

.ab-trust__item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ab-surface);
    color: var(--ab-accent-dk);
    font-size: 18px;
    margin-bottom: 17px;
}

.ab-trust__item h3 { font-size: 16.5px; font-weight: 600; color: var(--ab-ink); margin: 0 0 8px; }
.ab-trust__item p { font-size: 13.5px; line-height: 1.7; color: var(--ab-ink-2); margin: 0; }


/* =====================================================================
 *  8. CLOSING CTA
 * ===================================================================== */

.ab-cta {
    position: relative;
    border-radius: 24px;
    background: var(--ab-ink);
    color: #fff;
    padding: 66px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    overflow: hidden;
}

.ab-cta::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -110px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 179, 154, .34) 0%, rgba(215, 179, 154, 0) 68%);
    pointer-events: none;
}

@media (max-width: 767px) { .ab-cta { padding: 40px 28px; } }

.ab-cta__text { position: relative; z-index: 2; }
.ab-cta h2 { font-size: 30px; font-weight: 600; color: #fff; margin: 0 0 10px; }
.ab-cta p { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .68); margin: 0; max-width: 54ch; }

@media (max-width: 767px) { .ab-cta h2 { font-size: 24px; } }

.ab-cta__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; }
.ab-cta .ab-btn--solid { background: var(--ab-accent); color: var(--ab-ink); }
.ab-cta .ab-btn--solid:hover { background: #fff; color: var(--ab-ink); }


/* ---- reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .ab-cap, .ab-value, .ab-sector, .ab-sector img, .ab-cap__media img,
    .ab-btn, .ab-trust__item, .ab-tl__card {
        transition: none !important;
    }
}
