/* Extracted verbatim from the approved design (cjps/about.html). Theme additions are marked. */

/* ── INTERIOR PAGE HERO ─────────────────────────── */
.page-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroDrift 24s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroDrift {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.14);
    }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(6, 14, 28, 0.62) 0%,
            rgba(6, 14, 28, 0.55) 45%,
            rgba(6, 14, 28, 0.92) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px 84px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 22px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .sep {
    color: rgba(201, 168, 76, 0.6);
}

.breadcrumb .current {
    color: var(--gold);
}

.page-hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.page-hero-eyebrow::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--gold);
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.06;
    margin-bottom: 18px;
}

.page-hero-title em {
    color: var(--gold-light);
    font-style: italic;
}

.page-hero-sub {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
}

/* ── STORY / INTRO ──────────────────────────────── */
.story-section {
    background: var(--offwhite);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}

.story-body {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 18px;
}

.story-body strong {
    color: var(--navy);
    font-weight: 600;
}

.story-images {
    position: relative;
    height: 560px;
}

.story-img-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    height: 82%;
    overflow: hidden;
    border-radius: 8px;
}

.story-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-img-sub {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 52%;
    overflow: hidden;
    border-radius: 8px;
    border: 5px solid var(--offwhite);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
}

.story-img-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-badge {
    position: absolute;
    right: -10px;
    top: 44%;
    transform: translateY(-50%);
    background: var(--gold);
    color: var(--navy-deep);
    padding: 22px 24px;
    border-radius: 8px;
    text-align: center;
    max-width: 128px;
    box-shadow: 0 16px 44px rgba(201, 168, 76, 0.4);
}

.story-badge .num {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.story-badge .lbl {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
    margin-top: 6px;
    opacity: 0.8;
}

/* ── VISION & MISSION ───────────────────────────── */
.vm-section {
    background: var(--stone);
    position: relative;
    overflow: hidden;
}

.vm-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.vm-head {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
}

.vm-card {
    background: var(--white);
    border: 1px solid var(--stone-border);
    border-radius: 12px;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.vm-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vm-icon svg {
    width: 26px;
    height: 26px;
}

.vm-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.vm-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.25;
}

.vm-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--muted);
}

/* ── CORE VALUES ────────────────────────────────── */
.values-section {
    background: var(--white);
}

.values-head {
    text-align: center;
    margin-bottom: 60px;
}

.values-head .section-lead {
    margin: 0 auto;
}

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

.value-card {
    background: var(--offwhite);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 38px 34px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10, 22, 40, 0.09);
    border-color: rgba(201, 168, 76, 0.4);
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--stone);
    border: 1px solid var(--stone-border);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.value-icon svg {
    width: 26px;
    height: 26px;
}

.value-title {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.value-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}

/* ── JOURNEY / MILESTONES ───────────────────────── */
.journey-section {
    background: var(--offwhite);
}

.journey-head {
    margin-bottom: 60px;
    max-width: 620px;
}

.timeline {
    position: relative;
}

.tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 130px 44px 1fr;
    padding-bottom: 44px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-year {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    text-align: right;
    padding-right: 6px;
    padding-top: 1px;
}

.tl-rail {
    position: relative;
}

.tl-rail::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10px;
    bottom: -44px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--gold), rgba(201, 168, 76, 0.35));
}

.tl-item:last-child .tl-rail::before {
    display: none;
}

.tl-rail::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    border: 3px solid var(--offwhite);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.35);
}

.tl-body {
    padding-left: 8px;
    padding-top: 1px;
}

.tl-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.tl-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 560px;
}

/* ── LEGACY QUOTE (SAINT CHAVARA) ───────────────── */
.legacy-section {
    background: var(--gold-pale);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 108px 48px;
}

.legacy-section::before {
    content: '\201C';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 420px;
    color: rgba(201, 168, 76, 0.18);
    line-height: 1;
    pointer-events: none;
}

.legacy-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.legacy-portrait {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 28px;
    border: 2px solid rgba(201, 168, 76, 0.5);
}

.legacy-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 28px;
}

.legacy-attr {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.legacy-attr span {
    display: block;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* ── LEADERSHIP CALLOUT ─────────────────────────── */
.lead-section {
    background: var(--white);
}

.lead-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 72px;
    align-items: center;
}

.lead-photo-wrap {
    position: relative;
}

.lead-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
}

.lead-photo-frame {
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 8px;
    pointer-events: none;
}

.lead-tag {
    position: absolute;
    bottom: -12px;
    left: 20px;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lead-body {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 18px;
}

.lead-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 4px;
}

.lead-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── CTA BAND ───────────────────────────────────── */
.cta-band {
    background: linear-gradient(120deg, var(--stone), var(--gold-pale));
    border-top: 1px solid var(--stone-border);
    position: relative;
    overflow: hidden;
    padding: 84px 48px;
}

.cta-band::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -6%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.16) 0%, transparent 70%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.cta-title span {
    color: var(--gold);
    font-style: italic;
}

.cta-sub {
    font-size: 15px;
    color: var(--muted);
    margin-top: 12px;
    max-width: 460px;
    line-height: 1.7;
}

.cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── PAGE-SPECIFIC RESPONSIVE ───────────────────── */
@media (max-width: 1100px) {
    .page-hero-content {
        padding: 0 32px 64px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .story-images {
        height: 440px;
    }

    .vm-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .lead-grid {
        grid-template-columns: 260px 1fr;
        gap: 48px;
    }

    .legacy-section {
        padding: 80px 40px;
    }

    .cta-band {
        padding: 64px 40px;
    }
}

@media (max-width: 640px) {

    /* Page hero */
    .page-hero {
        min-height: 74svh;
    }

    .page-hero-content {
        padding: 0 24px 56px;
    }

    .page-hero-bg img {
        animation: none;
    }

    .breadcrumb {
        font-size: 10px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .page-hero-eyebrow {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .page-hero-title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .page-hero-sub {
        font-size: 14.5px;
    }

    /* Story */
    .story-grid {
        gap: 40px;
    }

    .story-images {
        height: 320px;
    }

    .story-img-main {
        width: 100%;
        height: 66%;
    }

    .story-img-sub {
        width: 54%;
        height: 50%;
    }

    .story-badge {
        right: 4px;
        padding: 16px 18px;
    }

    .story-badge .num {
        font-size: 30px;
    }

    .story-body {
        font-size: 14.5px;
    }

    /* Vision & Mission */
    .vm-section {
        padding: 56px 24px;
    }

    .vm-card {
        padding: 36px 28px;
    }

    .vm-head {
        margin-bottom: 40px;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .value-card {
        padding: 32px 28px;
    }

    .values-head {
        margin-bottom: 40px;
    }

    /* Journey — single column with an absolute left rail */
    .tl-item {
        grid-template-columns: 1fr;
        position: relative;
        padding-left: 34px;
        padding-bottom: 36px;
    }

    .tl-item:last-child {
        padding-bottom: 0;
    }

    .tl-year {
        text-align: left;
        font-size: 20px;
        margin-bottom: 6px;
        padding-right: 0;
        padding-top: 0;
    }

    .tl-body {
        padding-left: 0;
    }

    .tl-rail {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 16px;
    }

    .tl-rail::before {
        left: 7px;
        top: 20px;
        bottom: -8px;
        transform: none;
    }

    .tl-rail::after {
        left: 8px;
        top: 8px;
    }

    .journey-head {
        margin-bottom: 40px;
    }

    /* Legacy */
    .legacy-section {
        padding: 60px 24px;
    }

    .legacy-section::before {
        font-size: 240px;
        top: -30px;
    }

    .legacy-portrait {
        width: 72px;
        height: 72px;
    }

    /* Leadership */
    .lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lead-photo {
        aspect-ratio: 4/3;
        max-height: 340px;
    }

    .lead-body {
        font-size: 14.5px;
    }

    /* CTA */
    .cta-band {
        padding: 52px 24px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .cta-btns {
        width: 100%;
        flex-direction: column;
    }

    .cta-btns a {
        text-align: center;
    }

    /* Disable heavier animations on mobile */
    .value-card {
        transform: none !important;
    }
}

/* Theme addition: timeline emphasis (was an inline style in the design) */
.tl-text strong {
    color: var(--navy);
}

/* Theme addition: gold italic emphasis in the CTA heading (<em> typed in the editor) */
.cta-title em {
    color: var(--gold);
    font-style: italic;
}
