/* ==========================================================================
   ABOUT PAGE — about-page.css
   Bannatyne Digital Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables (local references to theme vars)
   -------------------------------------------------------------------------- */
:root {
    --about-ultramarine: #0d1fe8;
    --about-peach: #fa9482;
    --about-black: #0a0a0a;
    --about-white: #ffffff;
    --about-off-white: #f5f5f5;
}

/* --------------------------------------------------------------------------
   SECTION 1: Hero
   -------------------------------------------------------------------------- */
.about-hero {
    position: relative;
    background-color: var(--about-ultramarine);
    overflow: hidden;
}

.about-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    background-color: var(--about-white);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-hero__breadcrumb-dash {
    display: inline-block;
    width: 32px;
    height: 3px;
    background-color: var(--about-ultramarine);
    flex-shrink: 0;
}

.about-hero__breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-hero__breadcrumb a {
    color: var(--about-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-hero__breadcrumb a:hover {
    color: var(--about-ultramarine);
}

.about-hero__breadcrumb .separator {
    color: #999;
    font-size: 10px;
}

.about-hero__breadcrumb .current {
    color: #666;
}

.about-hero__inner {
    display: flex;
    align-items: stretch;
    min-height: 400px;
    position: relative;
}

.about-hero__content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}
.about-banner__pattern {
    background-image: url(/wp-content/uploads/2026/06/Bannatyne_Symbol_White_rgb_00cb3f51.png);
    background-size: cover; /* scale image to 0.5 */
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 600px;
    opacity: 0;
    user-select: none;
    min-height: 500px;
    /* animation */
    animation: fadeInPattern 0.6s ease forwards;
    animation-delay: 2s;
}

@keyframes fadeInPattern {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.3;
    }
}
.about-hero__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: var(--about-white);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.5px;
}

.about-hero__title em {
    font-style: italic;
}

.about-hero__graphic {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.about-hero__wave-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   SECTION 2: Our Story
   -------------------------------------------------------------------------- */
.about-story {
    background-color: var(--about-white);
    padding: 100px 0;
}

.about-story__inner {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 60px;
    align-items: start;
    margin: 0 auto;
    padding: 0 40px;
}

.eyebrow {
    display: inline-block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.eyebrow--blue {
    color: var(--about-ultramarine);
}

.eyebrow--peach {
    color: var(--about-peach);
}

.about-story__quote {
    margin: 0 0 32px 0;
    padding: 0;
    border: none;
}

.about-story__quote p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    font-style: italic;
    line-height: 1.35;
    color: var(--about-black);
    margin: 0;
}

.about-story__body p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    margin: 0 0 16px 0;
}

.about-story__body p:last-child {
    margin-bottom: 0;
}

.about-story__image {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 40px;
}

.about-story__image-placeholder {
    width: 100%;
    max-width: 460px;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
}

.about-story__image-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* --------------------------------------------------------------------------
   SECTION 3: Our Values
   -------------------------------------------------------------------------- */
.about-values {
    background-color: var(--about-black);
    padding: 100px 0 120px;
}

.about-values__inner {
    margin: 0 auto;
    padding: 0 40px;
}

.about-values__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 700;
    font-style: italic;
    line-height: 1.1;
    color: var(--about-white);
    text-transform: uppercase;
    margin: 0 0 60px 0;
}

.about-values__title em {
    font-style: italic;
}

.about-values__list {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.about-values__item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-values__number {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 90px;
    font-weight: 300;
    line-height: 1;
    color:color-mix(in oklab, var(--color-white) 25%, transparent);
    flex-shrink: 0;
    width: 110px;
    text-align: left;
    opacity: 0.85;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
}

.about-values__item-content {
    flex: 1;
    max-width: 560px;
    padding-top: 10px;
}

.about-values__item-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    font-style: italic;
    color: var(--about-peach);
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.about-values__item-title em {
    font-style: italic;
}

.about-values__item-content p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 4: Our Focus
   -------------------------------------------------------------------------- */
.about-focus {
    background-color: var(--about-ultramarine);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.about-focus__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.about-focus__content {
    max-width: 600px;
}

.about-focus__title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    font-style: italic;
    line-height: 1.08;
    color: var(--about-white);
    text-transform: uppercase;
    margin: 0 0 28px 0;
}

.about-focus__title em {
    font-style: italic;
}

.about-focus__desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 36px 0;
}

/* Dark pill button */
.btn--border {
    border: 1px solid var(--about-white);
    color: var(--about-white);
}
.btn--border svg{
    color: transparent;
}
.btn--border:hover {
    background-color: #fff;
    color: var(--about-ultramarine);
}
.btn--border svg{
    color: var(--about-ultramarine);
}
.btn--border:focus-visible {
        background-color: #fff;
    color: var(--about-ultramarine);
}

/* Griffin watermark */
.about-focus__griffin {
    position: absolute;
    right: 0;
    transform: translateY(15%);
    width: 400px;
    z-index: 1;
    pointer-events: none;
    bottom: 0;
    opacity: 0.3;
}

.about-focus__griffin-svg {
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .about-hero__inner {
        min-height: 340px;
    }

    .about-hero__content {
        padding: 60px 0 60px 30px;
    }

    .about-story__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0 30px;
    }

    .about-values__inner,
    .about-focus__inner {
        padding: 0 30px;
    }

    .about-values__number {
        font-size: 72px;
        width: 90px;
    }

    .about-focus__griffin {
        width: 300px;
        height: 400px;
        right: -20px;
    }
}

/* Tablet-small (max 768px) */
@media (max-width: 768px) {
    .about-hero__breadcrumb {
        padding: 14px 24px;
    }

    .about-hero__inner {
        min-height: 280px;
    }

    .about-hero__content {
        padding: 50px 0 50px 24px;
    }

    .about-hero__graphic {
        width: 40%;
        opacity: 0.5;
    }

    .about-story {
        padding: 70px 0;
    }

    .about-story__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .about-story__image {
        justify-content: flex-start;
        padding-top: 0;
    }

    .about-story__image-placeholder {
        max-width: 100%;
    }

    .about-values {
        padding: 70px 0 80px;
    }

    .about-values__inner {
        padding: 0 24px;
    }

    .about-values__list {
        gap: 48px;
    }

    .about-values__item {
        gap: 24px;
    }

    .about-values__number {
        font-size: 64px;
        width: 80px;
    }

    .about-focus {
        padding: 70px 0 80px;
    }

    .about-focus__inner {
        padding: 0 24px;
        flex-direction: column;
    }

    .about-focus__content {
        max-width: 100%;
    }

    .about-focus__griffin {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 280px;
        height: 350px;
        margin-top: 40px;
        align-self: flex-end;
        opacity: 0.6;
    }
}

/* Mobile (max 480px) */
@media (max-width: 480px) {
    .about-hero__breadcrumb {
        padding: 12px 20px;
        font-size: 11px;
    }

    .about-hero__breadcrumb-dash {
        width: 24px;
    }

    .about-hero__inner {
        min-height: 240px;
    }

    .about-hero__content {
        padding: 40px 0 40px 20px;
    }

    .about-hero__graphic {
        width: 35%;
        opacity: 0.35;
    }

    .about-story {
        padding: 50px 0;
    }

    .about-story__inner {
        padding: 0 20px;
        gap: 30px;
    }

    .about-values {
        padding: 50px 0 60px;
    }

    .about-values__inner {
        padding: 0 20px;
    }

    .about-values__title {
        margin-bottom: 40px;
    }

    .about-values__list {
        gap: 40px;
    }

    .about-values__item {
        flex-direction: column;
        gap: 8px;
    }

    .about-values__number {
        font-size: 56px;
        width: auto;
    }

    .about-values__item-content {
        padding-top: 0;
    }

    .about-focus {
        padding: 50px 0 60px;
    }

    .about-focus__inner {
        padding: 0 20px;
    }

    .about-focus__griffin {
        width: 200px;
        height: 250px;
    }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .btn--dark-pill {
        transition: none;
    }
}

/* High-contrast mode adjustments */
@media (forced-colors: active) {
    .about-hero,
    .about-values,
    .about-focus {
        border: 1px solid ButtonText;
    }

    .btn--dark-pill {
        border: 1px solid ButtonText;
    }
}

/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
    .about-hero__graphic,
    .about-focus__griffin {
        display: none;
    }

    .about-hero,
    .about-values,
    .about-focus {
        background-color: #fff !important;
        color: #000 !important;
    }

    .about-hero__title,
    .about-values__title,
    .about-focus__title {
        color: #000 !important;
    }

    .about-values__number,
    .about-values__item-title {
        color: #333 !important;
    }

    .about-values__item-content p,
    .about-focus__desc {
        color: #333 !important;
    }
}
