/* ============================================================
   Who We Are page — page-who-we-are.php
   Loaded only on /who-we-are/ (inc/enqueue.php).
   Banner (title + breadcrumb): page-banner.css
   ============================================================ */

/* GeneratePress lays .site-content out as a flex row; make this page full width
   whether it is used via its slug (page-{slug}.php) or chosen as a template. */
.site-content:has(> .ozg-ww-page),
.page-template-page-who-we-are .site-content {
    display: block !important;
}

.ozg-ww-page {
    flex: 1 1 100%;
    width: 100%;
    background: var(--oz-white);
}

/* ── Shared bits ─────────────────────────────────────────────── */
.ozg-ww-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--oz-primary);
}

.ozg-ww-title {
    margin: 0 0 18px !important;
    font-family: var(--font-heading);
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--oz-black);
}

.ozg-ww-title--sm {
    font-size: clamp(30px, 3.4vw, 44px);
}

.ozg-ww-title span {
    color: var(--oz-primary);
}

.ozg-ww-page p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: #4B5563;
}

.ozg-ww-section {
    padding: 72px 0;
}

.ozg-ww-section--tint {
    background: linear-gradient(120deg, #F4F9FC 0%, #E8F3FA 100%);
}

.ozg-ww-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.ozg-ww-head p {
    margin: 0;
}

/* Buttons */
.ozg-ww-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.ozg-ww-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ozg-ww-btn svg {
    transition: transform 0.2s ease;
}

.ozg-ww-btn:hover svg {
    transform: translateX(3px);
}

.ozg-ww-btn--primary {
    background: var(--oz-primary);
    color: var(--oz-white) !important;
}

.ozg-ww-btn--primary:hover {
    background: var(--oz-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(5, 153, 215, 0.28);
}

.ozg-ww-btn--ghost {
    border: 1.5px solid #D4D7DC;
    background: var(--oz-white);
    color: var(--oz-black) !important;
}

.ozg-ww-btn--ghost:hover {
    border-color: var(--oz-primary);
    color: var(--oz-primary) !important;
}

.ozg-ww-btn--light {
    background: var(--oz-white);
    color: var(--oz-black) !important;
}

.ozg-ww-btn--light:hover {
    background: var(--oz-primary);
    color: var(--oz-white) !important;
}

.ozg-ww-btn--ghost-light {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--oz-white) !important;
}

.ozg-ww-btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ── Intro ───────────────────────────────────────────────────── */
.ozg-ww-intro {
    padding: 72px 0;
}

.ozg-ww-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.ozg-ww-intro__text p {
    margin: 0;
}

.ozg-ww-intro__media {
    margin: 0;
}

.ozg-ww-intro__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 781;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(21, 25, 29, 0.16);
}

/* ── Values ──────────────────────────────────────────────────── */
.ozg-ww-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ozg-ww-value {
    margin: 0 !important;
    padding: 28px 24px;
    border: 1px solid #E1EDF5;
    border-radius: 20px;
    background: var(--oz-white);
    box-shadow: 0 2px 10px rgba(21, 25, 29, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ozg-ww-value:hover {
    transform: translateY(-3px);
    border-color: rgba(5, 153, 215, 0.35);
    box-shadow: 0 14px 30px rgba(21, 25, 29, 0.10);
}

.ozg-ww-value__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--oz-primary-tint);
    color: var(--oz-primary);
}

.ozg-ww-value h3 {
    margin: 0 0 8px !important;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--oz-black);
}

.ozg-ww-value p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ── How we work ─────────────────────────────────────────────── */
.ozg-ww-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.ozg-ww-feature__text p {
    margin: 0 0 16px;
}

.ozg-ww-feature__text p:last-child {
    margin-bottom: 0;
}

/* Dark "we pride ourselves on being" panel */
.ozg-ww-promise {
    padding: 32px;
    border-radius: 24px;
    background:
        radial-gradient(360px 220px at 100% 0%, rgba(5, 153, 215, 0.3), transparent 70%),
        linear-gradient(135deg, var(--oz-black) 0%, var(--oz-dark) 100%);
    box-shadow: 0 24px 60px rgba(21, 25, 29, 0.18);
}

.ozg-ww-page .ozg-ww-promise__label {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.ozg-ww-promise__list {
    display: grid;
    gap: 14px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ozg-ww-promise__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 !important;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--oz-white);
}

.ozg-ww-promise__list li::before {
    content: '';
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--oz-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ── Find us online ──────────────────────────────────────────── */
.ozg-ww-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.ozg-ww-links li {
    margin: 0 !important;
}

.ozg-ww-link {
    display: grid;
    gap: 8px;
    height: 100%;
    padding: 26px 24px;
    border: 1px solid #E1EDF5;
    border-radius: 20px;
    background: var(--oz-white);
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ozg-ww-link:hover {
    transform: translateY(-3px);
    border-color: rgba(5, 153, 215, 0.35);
    box-shadow: 0 14px 30px rgba(21, 25, 29, 0.10);
}

.ozg-ww-link__name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--oz-black);
}

.ozg-ww-link__name svg {
    color: var(--oz-primary);
    transition: transform 0.2s ease;
}

.ozg-ww-link:hover .ozg-ww-link__name svg {
    transform: translate(2px, -2px);
}

.ozg-ww-link__text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563;
}

/* ── Contact us today ────────────────────────────────────────── */
.ozg-ww-cta-wrap {
    padding: 72px 0;
}

.ozg-ww-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 44px;
    border-radius: 24px;
    background:
        radial-gradient(420px 260px at 100% 0%, rgba(5, 153, 215, 0.28), transparent 70%),
        linear-gradient(135deg, var(--oz-black) 0%, var(--oz-dark) 100%);
    box-shadow: 0 24px 60px rgba(21, 25, 29, 0.18);
}

.ozg-ww-cta__title {
    margin: 0 0 8px !important;
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--oz-white);
}

.ozg-ww-page .ozg-ww-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.ozg-ww-cta__emails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ozg-ww-cta__emails li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}

.ozg-ww-cta__emails svg {
    color: var(--oz-primary);
}

.ozg-ww-cta__emails a {
    color: var(--oz-white) !important;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

.ozg-ww-cta__emails a:hover {
    color: var(--oz-primary) !important;
}

.ozg-ww-cta__actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Reveal on scroll (only once the script has run; no-JS: all visible) ── */
.ozg-ww-page.is-ready [data-ozg-ww-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ozg-ww-page.is-ready [data-ozg-ww-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ozg-ww-page.is-ready [data-ozg-ww-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ozg-ww-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ozg-ww-intro__grid,
    .ozg-ww-feature {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ozg-ww-intro__media {
        order: -1;
    }

    .ozg-ww-links {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .ozg-ww-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .ozg-ww-intro,
    .ozg-ww-section,
    .ozg-ww-cta-wrap {
        padding: 48px 0;
    }

    .ozg-ww-values {
        grid-template-columns: 1fr;
    }

    .ozg-ww-head {
        margin-bottom: 28px;
    }

    .ozg-ww-intro__img {
        border-radius: 18px;
    }

    .ozg-ww-promise {
        padding: 24px;
        border-radius: 18px;
    }

    .ozg-ww-promise__list li {
        font-size: 22px;
    }

    .ozg-ww-actions .ozg-ww-btn,
    .ozg-ww-cta__actions,
    .ozg-ww-cta__actions .ozg-ww-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .ozg-ww-cta {
        padding: 28px 22px;
        border-radius: 18px;
    }
}
