/* ============================================================
   HANDS OF LOVE FOUNDATION — Shared pages stylesheet
   Used by: our-story.html, our-mission.html, impact.html,
            meet-our-team.html, programmes.html
   Depends on: styles.css (tokens, header, footer, buttons)
   ============================================================ */


/* ============================================================
   1. PAGE HERO — photographic, light overlay, script H1
   ============================================================ */
.page-hero {
    position: relative;
    width: 100%;
    margin-top: var(--header-height);
    min-height: clamp(560px, calc(100vh - var(--header-height)), 720px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #1A0E12;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-image, none) center center / cover no-repeat;
    transform-origin: center center;
    will-change: transform;
    animation: hero-kenburns 26s ease-out forwards;
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(26, 14, 18, 0.05) 0%,
            rgba(26, 14, 18, 0.22) 55%,
            rgba(26, 14, 18, 0.68) 100%
        ),
        linear-gradient(
            to right,
            rgba(74, 19, 32, 0.50) 0%,
            rgba(74, 19, 32, 0.12) 55%,
            rgba(74, 19, 32, 0.00) 90%
        );
    z-index: 1;
}

.page-hero-stronger::after {
    background:
        linear-gradient(
            to bottom,
            rgba(26, 14, 18, 0.15) 0%,
            rgba(26, 14, 18, 0.42) 45%,
            rgba(26, 14, 18, 0.82) 100%
        ),
        linear-gradient(
            to right,
            rgba(74, 19, 32, 0.68) 0%,
            rgba(74, 19, 32, 0.32) 50%,
            rgba(74, 19, 32, 0.00) 85%
        );
}

@keyframes hero-kenburns {
    from { transform: scale(1);    }
    to   { transform: scale(1.06); }
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 120px 60px 88px;
}

.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 30px;
}

.page-hero .breadcrumb a {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
    position: relative;
}

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

.page-hero .breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.page-hero .breadcrumb a:hover::after {
    width: 100%;
}

.page-hero .breadcrumb-sep {
    font-size: 0.55rem;
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb-current {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2.2px;
}


/* Script display heading */
.display-script {
    font-family: var(--font-script);
    font-weight: 700;
    color: #ffffff;
    line-height: 0.98;
    letter-spacing: 0.3px;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-hero .display-script {
    font-size: 5.6rem;
}

.page-hero .hero-lead {
    font-family: var(--font-body);
    font-size: 1.12rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}


/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.85;
    margin: 0 0 16px 0;
}

.eyebrow::before,
.eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.eyebrow-light { color: var(--gold); opacity: 0.95; }
.eyebrow-plain::before,
.eyebrow-plain::after { display: none; }

.display-serif {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.lead {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-medium);
    margin: 0 0 24px 0;
}

.body-editorial {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.82;
    color: var(--text-medium);
    margin: 0 0 20px 0;
}

.body-editorial + .body-editorial {
    margin-top: 4px;
}


/* ============================================================
   3. SECTION SHELLS
   ============================================================ */
.editorial-section {
    padding: 120px 0;
    position: relative;
}

.editorial-section-tight {
    padding: 80px 0;
}

.editorial-section-dark {
    background:
        radial-gradient(ellipse 80% 70% at 20% 0%,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 70%),
        var(--burgundy);
    color: #ffffff;
}

.editorial-section-cream {
    background: var(--bg-cream);
}

.editorial-section-page {
    background: var(--bg-page);
}

.editorial-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 60px;
}

.editorial-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-head-center { text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

.section-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 16px 0;
}

.section-title-light { color: #ffffff; }

.section-sub {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-medium);
    margin: 0;
}

.section-sub-light {
    color: rgba(255, 255, 255, 0.82);
}


/* ============================================================
   4. EDITORIAL TWO-COLUMN
   ============================================================ */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 72px;
    align-items: center;
}

.editorial-grid-flip {
    grid-template-columns: 1.15fr 1fr;
}

.editorial-grid-flip .editorial-media {
    order: 2;
}

.editorial-grid-flip .editorial-text {
    order: 1;
}

.editorial-grid-top {
    align-items: start;
}

.editorial-media {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.editorial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.editorial-media:hover img {
    transform: scale(1.03);
}

.editorial-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 30, 46, 0.12) 0%,
        rgba(201, 162, 75, 0.04) 100%
    );
    pointer-events: none;
}

.media-portrait { aspect-ratio: 4 / 5; }
.media-portrait-tall { aspect-ratio: 3 / 4; }
.media-landscape { aspect-ratio: 16 / 10; }
.media-square { aspect-ratio: 1 / 1; }

.editorial-text {
    display: flex;
    flex-direction: column;
}


/* ============================================================
   5. PULLQUOTE
   ============================================================ */
.pullquote {
    position: relative;
    padding: 48px 0 48px 56px;
    margin: 40px 0;
    border-left: 3px solid var(--gold);
}

.pullquote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.55rem;
    line-height: 1.5;
    color: var(--burgundy);
    margin: 0 0 18px 0;
    letter-spacing: -0.005em;
}

.pullquote cite {
    font-family: var(--font-ui);
    font-style: normal;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-light);
}

.pullquote-center {
    border-left: none;
    padding: 56px 0;
    margin: 48px 0;
    border-top: 1px solid rgba(107, 30, 46, 0.10);
    border-bottom: 1px solid rgba(107, 30, 46, 0.10);
    text-align: center;
}

.pullquote-center p {
    font-size: 1.8rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.pullquote-center cite { display: block; margin-top: 20px; }


/* ============================================================
   6. DIVIDER-LABELED
   ============================================================ */
.divider-labeled {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 48px 0;
}

.divider-labeled::before,
.divider-labeled::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(107, 30, 46, 0.15);
}

.divider-labeled span {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.85;
    white-space: nowrap;
}

.divider-labeled-light::before,
.divider-labeled-light::after {
    background: rgba(255, 255, 255, 0.18);
}

.divider-labeled-light span { color: var(--gold); }


/* ============================================================
   7. TIMELINE — vertical
   ============================================================ */
.timeline-vertical {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(107, 30, 46, 0.12);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(107, 30, 46, 0.15);
    color: var(--text-light);
    font-size: 0.72rem;
    z-index: 2;
}

.timeline-item-done .timeline-marker {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: #ffffff;
}

.timeline-item-active .timeline-marker {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--burgundy-deep);
    box-shadow: 0 0 0 6px rgba(201, 162, 75, 0.22);
}

.timeline-years {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.25;
    margin: 0 0 12px 0;
}

.timeline-text {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-medium);
    margin: 0 0 14px 0;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-list li {
    position: relative;
    padding-left: 22px;
    font-family: var(--font-body);
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.timeline-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(107, 30, 46, 0.04);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--burgundy);
}


/* ============================================================
   8. VALUES GRID
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid rgba(107, 30, 46, 0.10);
}

.value-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 48px 40px 48px 0;
    border-bottom: 1px solid rgba(107, 30, 46, 0.10);
    transition: background 0.35s ease;
}

.value-item:nth-child(2n) {
    padding-left: 40px;
    padding-right: 0;
    border-left: 1px solid rgba(107, 30, 46, 0.10);
}

.value-item:hover {
    background: rgba(201, 162, 75, 0.04);
}

.value-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.25;
    margin: 0 0 12px 0;
}

.value-text {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

.values-grid-dark .value-item {
    border-color: rgba(255, 255, 255, 0.12);
}

.values-grid-dark .value-item:nth-child(2n) {
    border-color: rgba(255, 255, 255, 0.12);
}

.values-grid-dark .value-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.values-grid-dark .value-title { color: #ffffff; }
.values-grid-dark .value-text  { color: rgba(255, 255, 255, 0.82); }


/* ============================================================
   9. STATEMENT CAROUSEL
   ============================================================ */
.statement-carousel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
}

.statement-viewport {
    overflow: hidden;
    border-radius: var(--radius-card);
}

.statement-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.statement-slide {
    flex: 0 0 100%;
    padding: 72px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.statement-slide .display-script {
    font-size: 3.4rem;
    color: var(--burgundy);
    margin: 0;
    line-height: 1;
}

.statement-slide p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-medium);
    max-width: 680px;
    margin: 0;
}

.statement-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.statement-arrow {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--burgundy);
    font-size: 1rem;
    border: 1px solid rgba(107, 30, 46, 0.12);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.statement-arrow:hover {
    background: var(--burgundy);
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: var(--shadow-md);
}

.statement-arrow[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.statement-dots {
    display: flex;
    align-items: center;
    gap: 12px;
}

.statement-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(107, 30, 46, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.statement-dot.active {
    background: var(--gold);
    transform: scale(1.4);
}

.statement-counter {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--text-light);
    margin-left: 16px;
    min-width: 60px;
    text-align: center;
}


/* ============================================================
   10. VIDEO SECTION
   ============================================================ */
.video-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.video-frame {
    position: relative;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 21 / 9;
    background: #1A0E12;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.video-frame:hover {
    transform: translateY(-4px);
}

.video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 14, 18, 0.10) 0%,
        rgba(26, 14, 18, 0.32) 55%,
        rgba(26, 14, 18, 0.68) 100%
    );
    pointer-events: none;
}

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

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.video-play-btn {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    color: var(--burgundy);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
    pointer-events: auto;
}

.video-frame:hover .video-play-btn {
    transform: scale(1.06);
    background: var(--gold);
    color: var(--burgundy-deep);
}

.video-caption {
    position: absolute;
    bottom: 32px;
    left: 40px;
    z-index: 2;
    max-width: 60%;
}

.video-caption .eyebrow-light { margin-bottom: 12px; }

.video-caption-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}


/* ============================================================
   11. GALLERY
   ============================================================ */
.gallery-editorial {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-image);
    background: #F5EEF0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 30, 46, 0.10) 0%,
        rgba(201, 162, 75, 0.03) 100%
    );
    pointer-events: none;
}

.gallery-wide    { grid-column: span 8; grid-row: span 2; }
.gallery-tall    { grid-column: span 4; grid-row: span 2; }
.gallery-half    { grid-column: span 6; grid-row: span 1; }
.gallery-third   { grid-column: span 4; grid-row: span 1; }
.gallery-two-thirds { grid-column: span 8; grid-row: span 1; }
.gallery-quarter { grid-column: span 3; grid-row: span 1; }
.gallery-full    { grid-column: span 12; grid-row: span 2; }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 20px 16px;
    background: linear-gradient(
        to top,
        rgba(53, 16, 24, 0.88) 0%,
        rgba(53, 16, 24, 0.00) 100%
    );
    color: #ffffff;
    z-index: 2;
}

.gallery-caption-label {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.gallery-caption-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}


/* ============================================================
   12. IMPACT NUMBERS
   ============================================================ */
.impact-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0;
}

.impact-number {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
    border-top: 2px solid var(--gold);
}

.impact-number-value {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.impact-number-label {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-light);
}

.impact-numbers-dark .impact-number-value { color: #ffffff; }
.impact-numbers-dark .impact-number-label { color: rgba(255, 255, 255, 0.72); }
.impact-numbers-dark .impact-number { border-color: var(--gold); }


/* ============================================================
   13. STORY CARDS
   ============================================================ */
.story-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.story-card-editorial {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(107, 30, 46, 0.08);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.story-card-editorial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.story-card-editorial-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F5EEF0;
}

.story-card-editorial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.story-card-editorial:hover .story-card-editorial-media img {
    transform: scale(1.05);
}

.story-card-editorial-body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.story-card-editorial-meta {
    font-family: var(--font-ui);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gold);
}

.story-card-editorial-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.3;
    margin: 0;
}

.story-card-editorial-text {
    font-family: var(--font-body);
    font-size: 0.94rem;
    line-height: 1.68;
    color: var(--text-medium);
    margin: 0;
}


/* ============================================================
   14. MULTI-IMAGE HERO
   ============================================================ */
.page-hero-multi::before { display: none; }

.page-hero-multi .hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-multi .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    animation: hero-slide-cycle 6s infinite;
    transform-origin: center center;
}

.page-hero-multi .hero-slide:nth-child(1) { animation-delay: 0s;   }
.page-hero-multi .hero-slide:nth-child(2) { animation-delay: 2s;   }
.page-hero-multi .hero-slide:nth-child(3) { animation-delay: 4s;   }

@keyframes hero-slide-cycle {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    33%  { opacity: 1; }
    41%  { opacity: 0; }
    100% { opacity: 0; }
}

.page-hero-multi::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(26, 14, 18, 0.05) 0%,
            rgba(26, 14, 18, 0.22) 55%,
            rgba(26, 14, 18, 0.68) 100%
        );
    z-index: 1;
}

.page-hero-multi .page-hero-inner { z-index: 2; }


/* ============================================================
   15. TEAM GRID
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-card-portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-image);
    overflow: hidden;
    background: #F5EEF0;
}

.team-card-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.team-card:hover .team-card-portrait img {
    transform: scale(1.04);
}

.team-card-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 30, 46, 0.10) 0%,
        rgba(201, 162, 75, 0.03) 100%
    );
    pointer-events: none;
}

.team-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 4px;
}

.team-card-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.2;
    margin: 0;
}

.team-card-role {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
}

.team-card-divider {
    width: 32px;
    height: 1px;
    background: rgba(107, 30, 46, 0.20);
    margin: 12px 0 4px;
}

.team-card-bio {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-medium);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.35s ease,
                margin-top 0.35s ease;
}

.team-card.open .team-card-bio,
.team-card:hover .team-card-bio {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
}

.team-card-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.team-card.open .team-card-social,
.team-card:hover .team-card-social {
    opacity: 1;
}

.team-card-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(107, 30, 46, 0.06);
    color: var(--burgundy);
    border-radius: 50%;
    font-size: 0.78rem;
    transition: var(--transition);
}

.team-card-social a:hover {
    background: var(--burgundy);
    color: #ffffff;
}


/* ============================================================
   16. BRIDGE / ARC MOTIF — subtle directional connectors
   ============================================================ */
.bridge-line {
    position: relative;
    height: 1px;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(107, 30, 46, 0.15) 20%,
        rgba(107, 30, 46, 0.15) 80%,
        transparent 100%
    );
}

.bridge-line::before,
.bridge-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateY(-50%);
}

.bridge-line::before { left: 20%; }
.bridge-line::after  { right: 20%; }

.path-connector {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    color: rgba(107, 30, 46, 0.25);
    font-size: 1.1rem;
}

.path-connector i {
    animation: path-float 2.4s ease-in-out infinite;
}

@keyframes path-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}


/* ============================================================
   17. PHILOSOPHY BLOCK
   ============================================================ */
.philosophy-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-block .eyebrow {
    justify-content: center;
    margin-bottom: 24px;
}

.philosophy-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--burgundy);
    margin: 0 0 28px 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-body-single {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .philosophy-quote      { font-size: 1.1rem; margin-bottom: 20px; }
    .philosophy-body-single{ font-size: 0.92rem; }
}


/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .page-hero { min-height: 560px; }
    .page-hero-inner { padding: 100px 40px 72px; }
    .page-hero .display-script { font-size: 4.4rem; }
    .page-hero .hero-lead { font-size: 1.02rem; }

    .editorial-section { padding: 100px 0; }
    .editorial-inner, .editorial-narrow { padding: 0 40px; }

    .editorial-grid { grid-template-columns: 1fr; gap: 40px; }
    .editorial-grid-flip .editorial-media { order: 0; }
    .editorial-grid-flip .editorial-text  { order: 0; }
    .media-portrait { aspect-ratio: 16 / 10; }
    .media-portrait-tall { aspect-ratio: 16 / 10; }

    .section-title { font-size: 2.2rem; }
    .statement-slide .display-script { font-size: 2.8rem; }
    .statement-slide p { font-size: 1.15rem; }

    .values-grid { grid-template-columns: 1fr; }
    .value-item { padding: 40px 0 !important; grid-template-columns: 60px 1fr; }
    .value-item:nth-child(2n) { border-left: none; padding-left: 0 !important; }

    .impact-numbers { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .impact-number-value { font-size: 2.4rem; }

    .story-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

    .gallery-editorial { grid-auto-rows: 180px; }
    .gallery-wide { grid-column: span 12; }
    .gallery-tall { grid-column: span 6; }
    .gallery-two-thirds { grid-column: span 12; }
    .gallery-third { grid-column: span 6; }
    .gallery-quarter { grid-column: span 6; }

    .video-frame { aspect-ratio: 16 / 10; }
    .video-caption { max-width: 80%; left: 32px; bottom: 24px; }
}

@media (max-width: 768px) {
    .page-hero { min-height: 500px; }
    .page-hero::before { animation-duration: 34s; }
    .page-hero-inner { padding: 80px 24px 56px; }
    .page-hero .display-script { font-size: 3.4rem; }
    .page-hero .hero-lead { font-size: 0.96rem; }

    .editorial-section { padding: 64px 0; }
    .editorial-inner, .editorial-narrow { padding: 0 24px; }

    .display-serif { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }

    .pullquote { padding: 32px 0 32px 28px; margin: 32px 0; }
    .pullquote p { font-size: 1.2rem; }
    .pullquote-center p { font-size: 1.35rem; }

    .impact-numbers { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .impact-number-value { font-size: 2rem; }

    .story-cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .team-grid { grid-template-columns: 1fr; gap: 32px; }

    .values-grid .value-item { grid-template-columns: 1fr; gap: 12px; }
    .value-num { font-size: 1.6rem; }

    .statement-carousel { padding: 0 16px; }
    .statement-slide { padding: 48px 24px; }
    .statement-slide .display-script { font-size: 2.2rem; }
    .statement-slide p { font-size: 1rem; }

    .video-frame { aspect-ratio: 16 / 9; }
    .video-play-btn { width: 68px; height: 68px; font-size: 1.2rem; }
    .video-caption { left: 20px; bottom: 18px; max-width: 100%; }
    .video-caption-title { font-size: 1.05rem; }

    .gallery-editorial { grid-auto-rows: 160px; gap: 12px; }
    .gallery-wide, .gallery-tall, .gallery-half, .gallery-third,
    .gallery-two-thirds, .gallery-quarter, .gallery-full {
        grid-column: span 12;
        grid-row: span 1;
    }

    .philosophy-block .display-script { font-size: 2.4rem; }
    .philosophy-block p { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .page-hero .display-script { font-size: 2.6rem; }
    .section-title { font-size: 1.5rem; }
    .impact-number-value { font-size: 1.7rem; }
    .statement-slide .display-script { font-size: 1.9rem; }
}


/* ============================================================
   19. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .page-hero::before,
    .page-hero-multi .hero-slide,
    .path-connector i {
        animation: none !important;
    }

    .page-hero-multi .hero-slide:nth-child(1) { opacity: 1; }

    .editorial-media img,
    .gallery-item img,
    .team-card-portrait img,
    .story-card-editorial-media img,
    .video-frame {
        transition: none !important;
        transform: none !important;
    }

    .statement-track { transition: none !important; }
    .logo-track { transition: none !important; }
}


/* ============================================================
   20. ORIGIN DATE — typographic moment
   ============================================================ */
.origin-block {
    position: relative;
    padding: 100px 0 80px;
    min-height: auto;
    overflow: hidden;
}

.origin-block-inner {
    position: relative;
    z-index: 2;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 60px;
}

.origin-label {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 20px 0;
    display: block;
}

.origin-declaration {
    max-width: 720px;
    margin: 0 0 28px 0;
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.018em;
    color: var(--burgundy);
}

.origin-declaration em {
    font-style: italic;
    color: var(--text-medium);
    font-weight: 400;
}

.origin-body {
    max-width: 620px;
    margin-left: 0;
    padding-left: 0;
}

.origin-body p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.78;
    color: var(--text-medium);
    margin: 0 0 16px 0;
}

.origin-body p:last-child {
    margin-bottom: 0;
}

.origin-ghost {
    position: absolute;
    top: 55%;
    right: 0;                                 /* anchor to RIGHT edge, not left */
    transform: translateY(-50%);
    font-family: var(--font-serif);
    font-size: clamp(5rem, 20vw, 20rem);      /* scales cleanly at every width */
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.07em;
    color: var(--burgundy);
    opacity: 0.08;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
    text-align: right;
}


/* ============================================================
   21. QUOTE MOMENT
   ============================================================ */
.quote-moment {
    padding: 140px 0;
    text-align: center;
    background: var(--bg-white);
    position: relative;
}

.quote-moment-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 60px;
}

.quote-moment-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--burgundy);
    margin: 0 0 40px 0;
}

.quote-moment-text em {
    font-style: italic;
    font-weight: 400;
}

.quote-moment-caption {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.quote-moment-caption::before,
.quote-moment-caption::after {
    content: '';
    width: 40px;
    height: 1px;
    background: rgba(107, 30, 46, 0.25);
}


/* ============================================================
   22. THE BRIDGE — signature architectural diagram
   ============================================================ */
.bridge-section {
    padding: 140px 0;
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.bridge-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

.bridge-head {
    text-align: center;
    margin: 0 auto 100px;
    max-width: 720px;
}

.bridge-arch {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.bridge-arch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 160px;
    align-items: start;
}

.bridge-col {
    display: flex;
    flex-direction: column;
}

.bridge-col-right { text-align: right; align-items: flex-end; }

.bridge-col-label {
    font-family: var(--font-ui);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 20px 0;
}

.bridge-col-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--burgundy);
    margin: 0 0 24px 0;
}

.bridge-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bridge-col-list li {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--text-light);
    opacity: 0.85;
}

.bridge-arch-svg {
    display: block;
    width: 100%;
    height: 260px;
    margin-top: -30px;
    pointer-events: none;
}

.bridge-path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    transition: stroke-dashoffset 12s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bridge-arch.in-view .bridge-path {
    stroke-dashoffset: 0;
}

.bridge-arch-label {
    position: absolute;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-page);
    padding: 10px 32px;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0;
    transition: opacity 0.9s ease;
    white-space: nowrap;
}

.bridge-arch.label-visible .bridge-arch-label {
    opacity: 1;
}


/* ============================================================
   23. CHAPTER SEQUENCE
   ============================================================ */
.chapter-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.chapter-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.018em;
    color: var(--burgundy);
    margin: 0 0 28px 0;
    max-width: 460px;
}

.chapter-paragraph {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-medium);
    margin: 0 0 16px 0;
}

.chapter-paragraph:last-child { margin-bottom: 0; }

.chapter-split {
    padding: 140px 0;
    background: var(--bg-white);
}

.chapter-flip {
    padding: 140px 0;
    background: var(--bg-white);
}

.chapter-split-inner,
.chapter-flip-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

.chapter-split-media,
.chapter-flip-media {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
}

.chapter-split-media img,
.chapter-flip-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.chapter-split-media:hover img,
.chapter-flip-media:hover img { transform: scale(1.03); }

.chapter-split-text,
.chapter-flip-text { max-width: 480px; }

.chapter-flip-media { order: -1; }
.chapter-flip-text  { order: 1; }

.chapter-typographic {
    padding: 180px 0;
    background: var(--bg-cream);
    text-align: center;
}

.chapter-typographic-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.chapter-number-lg {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    margin: 0 0 40px 0;
}

.chapter-huge {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.8vw, 3.8rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.022em;
    color: var(--burgundy);
    margin: 0;
}

.chapter-huge em {
    font-style: italic;
    color: var(--text-medium);
    font-weight: 400;
}

.chapter-dark {
    position: relative;
    padding: 180px 0;
    background: var(--burgundy);
    overflow: hidden;
}

.chapter-dark-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.chapter-number-ghost {
    position: absolute;
    top: -80px;
    left: 20px;
    font-family: var(--font-serif);
    font-size: 26rem;
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.05em;
    color: rgba(201, 162, 75, 0.10);
    user-select: none;
    pointer-events: none;
}

.chapter-dark-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-left: auto;
    padding-right: 60px;
}

.chapter-dark-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.018em;
    color: #ffffff;
    margin: 0 0 32px 0;
}

.chapter-dark-body {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
}

.chapter-dark-body p { margin: 0 0 18px 0; }
.chapter-dark-body p:last-child { margin-bottom: 0; }
.chapter-dark-body strong {
    color: var(--gold);
    font-weight: 700;
}


/* ============================================================
   24. FULL-BLEED PHOTO
   ============================================================ */
.full-bleed {
    position: relative;
    width: 100%;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1A0E12;
    margin: 0;
}

.full-bleed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bleed-image, none) center center / cover no-repeat;
    transform-origin: center center;
    will-change: transform;
    animation: hero-kenburns 30s ease-out forwards;
    z-index: 0;
}

.full-bleed::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(26, 14, 18, 0.25) 0%,
            rgba(26, 14, 18, 0.40) 50%,
            rgba(26, 14, 18, 0.68) 100%
        );
    z-index: 1;
}

.full-bleed-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 100px 60px;
    text-align: center;
}

.full-bleed-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    line-height: 1.35;
    letter-spacing: -0.012em;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}


/* ============================================================
   25. MEDIA CAROUSEL
   ============================================================ */
.media-carousel-section {
    padding: 96px 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(107, 30, 46, 0.08);
    border-bottom: 1px solid rgba(107, 30, 46, 0.08);
}

.media-carousel-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 60px;
}

.media-carousel-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}

.media-carousel-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.2;
    margin: 0 0 12px 0;
}

.media-carousel-sub {
    font-family: var(--font-body);
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

.media-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.media-viewport {
    flex: 1;
    overflow: hidden;
    padding: 8px 0;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        black 40px,
        black calc(100% - 40px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        black 40px,
        black calc(100% - 40px),
        transparent 100%
    );
}

.media-track {
    display: flex;
    gap: 24px;
    width: max-content;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.media-card {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(107, 30, 46, 0.08);
    border-radius: var(--radius-card);
    padding: 28px 26px 26px;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    box-shadow: var(--shadow-sm);
    min-height: 260px;
}

.media-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 75, 0.5);
    box-shadow: var(--shadow-md);
}

.media-card-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
    margin-bottom: 24px;
}

.media-card-logo img {
    max-height: 100%;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.media-card:hover .media-card-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.media-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.media-card-source {
    font-family: var(--font-ui);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.media-card-title {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--burgundy);
    letter-spacing: -0.005em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--burgundy);
    transition: color 0.3s ease;
}

.media-card-link i {
    transition: transform 0.3s ease;
}

.media-card:hover .media-card-link {
    color: var(--gold);
}

.media-card:hover .media-card-link i {
    transform: translateX(4px);
}

.media-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--burgundy);
    font-size: 1rem;
    border: 1px solid rgba(107, 30, 46, 0.12);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.media-arrow:hover {
    background: var(--burgundy);
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: var(--shadow-md);
}

.media-arrow[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.media-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.media-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(107, 30, 46, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.media-dot.active {
    background: var(--gold);
    transform: scale(1.4);
}


/* ============================================================
   26. TIMELINE HORIZONTAL
   ============================================================ */
.timeline-h {
    position: relative;
    padding: 60px 0 80px;
}

.timeline-h-line {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(107, 30, 46, 0.08) 0%,
        rgba(107, 30, 46, 0.15) 30%,
        rgba(107, 30, 46, 0.28) 60%,
        rgba(201, 162, 75, 0.75) 100%
    );
}

.timeline-h-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 60px;
}

.timeline-h-item {
    position: relative;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-h-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid rgba(107, 30, 46, 0.25);
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.timeline-h-item-done .timeline-h-dot {
    background: var(--burgundy);
    border-color: var(--burgundy);
}

.timeline-h-item-active .timeline-h-dot {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 0 8px rgba(201, 162, 75, 0.20);
}

.timeline-h-years {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--gold);
}

.timeline-h-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--burgundy);
    margin: 0;
}

.timeline-h-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-medium);
    margin: 0;
}

.timeline-h-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-h-list li {
    position: relative;
    padding-left: 16px;
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-medium);
}

.timeline-h-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}


/* ============================================================
   27. CLOSING STATEMENT
   ============================================================ */
.closing-statement {
    padding: 160px 0;
    background: var(--bg-cream);
    position: relative;
}

.closing-statement-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

.closing-statement .eyebrow {
    justify-content: center;
    margin-bottom: 32px;
}

.closing-statement-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.6vw, 4.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--burgundy);
    margin: 0 0 32px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.closing-statement-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0 0 56px 0;
}

.closing-statement-actions {
    display: inline-flex;
    align-items: center;
    gap: 32px;
}

.closing-statement-link {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--burgundy);
    border-bottom: 2px solid rgba(201, 162, 75, 0);
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.closing-statement-link:hover {
    border-bottom-color: var(--gold);
}

.closing-statement-link i {
    transition: transform 0.3s ease;
}

.closing-statement-link:hover i {
    transform: translateX(4px);
}

.closing-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        rgba(107, 30, 46, 0.05) 0%,
        rgba(107, 30, 46, 0.20) 100%
    );
    transform: translateX(-50%);
}


/* ============================================================
   28. VALUES RAIL — animated vertical rail
   ============================================================ */
.values-rail {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 60px;
}

.values-rail::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(107, 30, 46, 0.10);
}

.values-rail-progress {
    position: absolute;
    left: 16px;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(
        to bottom,
        var(--gold) 0%,
        var(--gold-light) 100%
    );
    transition: height 0.15s linear;
    z-index: 2;
    box-shadow: 0 0 8px rgba(201, 162, 75, 0.4);
}

.value-rail-item {
    position: relative;
    padding: 44px 0 44px 32px;
    transition:
        padding-left 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        background    0.6s ease;
    border-radius: 4px;
    background: transparent;
}

.value-rail-item:first-child { padding-top: 20px; }
.value-rail-item:last-child  { padding-bottom: 20px; }

.value-rail-item.active {
    padding-left: 48px;
    background: linear-gradient(
        90deg,
        rgba(245, 233, 200, 0.55) 0%,
        rgba(245, 233, 200, 0.00) 85%
    );
}

.value-rail-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 3px;
    background: var(--gold);
    opacity: 0;
    transform: scaleY(0.4);
    transform-origin: center;
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px;
}

.value-rail-item.active::before {
    opacity: 1;
    transform: scaleY(1);
}

.value-rail-node {
    position: absolute;
    left: -52px;
    top: 52px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid rgba(107, 30, 46, 0.20);
    z-index: 3;
    transition:
        background    0.5s ease,
        border-color  0.5s ease,
        box-shadow    0.5s ease,
        transform     0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.value-rail-item:first-child .value-rail-node { top: 28px; }

.value-rail-item.active .value-rail-node {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow:
        0 0 0 6px rgba(201, 162, 75, 0.18),
        0 0 20px rgba(201, 162, 75, 0.5);
    transform: scale(1.15);
}

.value-rail-num {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
    transition:
        color     0.5s ease,
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: left center;
}

.value-rail-item.active .value-rail-num {
    color: var(--gold);
    transform: scale(1.05);
}

.value-rail-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: rgba(107, 30, 46, 0.55);
    margin: 0 0 14px 0;
    transition:
        color     0.5s ease,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.value-rail-item.active .value-rail-title {
    color: var(--burgundy);
    transform: scale(1.03);
}

.value-rail-text {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.75;
    color: rgba(74, 53, 64, 0.55);
    margin: 0;
    max-width: 620px;
    transition:
        color     0.5s ease,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.value-rail-item.active .value-rail-text {
    color: var(--text-medium);
    transform: scale(1.005);
}

@media (max-width: 768px) {
    .values-rail {
        padding-left: 40px;
    }

    .values-rail::before,
    .values-rail-progress {
        left: 8px;
    }

    .value-rail-node {
        left: -40px;
        width: 12px;
        height: 12px;
    }

    .value-rail-item {
        padding: 32px 0 32px 20px;
    }

    .value-rail-item.active {
        padding-left: 32px;
    }

    .value-rail-title { font-size: 1.3rem; }
    .value-rail-item.active .value-rail-title { transform: scale(1.02); }
}


/* ============================================================
   29. VIDEO HERO
   ============================================================ */
.page-hero-video {
    position: relative;
    background: #1A0E12;
}

.page-hero-video .page-hero-video-poster,
.page-hero-video .page-hero-video-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-video .page-hero-video-poster {
    background-size: cover;
    background-position: center center;
    transform-origin: center center;
    animation: hero-kenburns 30s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.page-hero-video .page-hero-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.page-hero-video::before {
    display: none;
}

.page-hero-video::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(26, 14, 18, 0.15) 0%,
            rgba(26, 14, 18, 0.42) 55%,
            rgba(26, 14, 18, 0.78) 100%
        ),
        linear-gradient(
            to right,
            rgba(74, 19, 32, 0.55) 0%,
            rgba(74, 19, 32, 0.15) 55%,
            rgba(74, 19, 32, 0.00) 85%
        );
}

.page-hero-video .page-hero-inner {
    z-index: 2;
}

.hero-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 14px 26px 14px 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.hero-play-btn:hover {
    background: rgba(201, 162, 75, 0.95);
    color: var(--burgundy-deep);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.hero-play-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: var(--burgundy);
    border-radius: 50%;
    font-size: 0.75rem;
    transition: background 0.4s ease;
}

.hero-play-btn:hover i {
    background: var(--burgundy);
    color: #ffffff;
}

.page-hero-video.playing .page-hero-video-poster {
    opacity: 0;
    pointer-events: none;
}

.page-hero-video.playing::after {
    opacity: 0.35;
}

.page-hero-video.playing .hero-play-btn {
    display: none;
}


/* ============================================================
   30. BREADCRUMB — final override
   ============================================================ */
.page-hero .breadcrumb .breadcrumb-current {
    color: var(--gold) !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.page-hero .breadcrumb .breadcrumb-sep {
    color: var(--gold) !important;
    opacity: 0.75;
    font-size: 0.6rem;
}

.page-hero .breadcrumb .breadcrumb-sep i {
    color: var(--gold) !important;
}


/* ============================================================
   31. BRIDGE — reset state
   ============================================================ */
.bridge-arch.bridge-reset .bridge-path {
    transition: none !important;
    stroke-dashoffset: 2400 !important;
}

.bridge-arch.bridge-reset .bridge-arch-label {
    transition: none !important;
    opacity: 0 !important;
}


/* ============================================================
   32. CHAPTER 03 — light colors on dark background
   ============================================================ */
.chapter-dark,
.chapter-dark * {
    color: #ffffff;
}

.chapter-dark-body,
.chapter-dark-body p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.chapter-dark-body strong,
.chapter-dark-body b {
    color: var(--gold) !important;
    font-weight: 700 !important;
}

.chapter-dark .chapter-number-ghost,
.chapter-dark-number,
.chapter-number-ghost {
    color: rgba(201, 162, 75, 0.15) !important;
}


/* ============================================================
   33. MISSION STATEMENT
   ============================================================ */
.mission-statement {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.015em;
    color: var(--burgundy);
    margin: 0;
    max-width: 620px;
}


/* ============================================================
   34. FEATURES GRID
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px 30px;
    background: var(--bg-page);
    border: 1px solid rgba(107, 30, 46, 0.06);
    border-radius: var(--radius-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(201, 162, 75, 0.18);
    color: var(--burgundy);
    border-radius: 12px;
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.feature-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-medium);
    margin: 0;
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 22px; }
    .feature-icon { width: 46px; height: 46px; font-size: 1.15rem; margin-bottom: 16px; }
}


/* ============================================================
   35. RESPONSIVE — new components
   ============================================================ */
@media (max-width: 1024px) {
    .origin-block { padding: 120px 0 100px; }
    .origin-block-inner { padding: 0 40px; }
    .origin-body { padding-left: 0; max-width: 100%; }

    .quote-moment { padding: 100px 0; }
    .quote-moment-inner { padding: 0 40px; }

    .bridge-section { padding: 100px 0; }
    .bridge-section-inner { padding: 0 40px; }
    .bridge-head { margin-bottom: 72px; }
    .bridge-arch-row { gap: 80px; }
    .bridge-arch-svg { height: 200px; }
    .bridge-arch-label { bottom: 77px; }

    .chapter-split, .chapter-flip { padding: 100px 0; }
    .chapter-split-inner,
    .chapter-flip-inner {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 0 40px;
    }
    .chapter-split-media,
    .chapter-flip-media { aspect-ratio: 16 / 10; }
    .chapter-split-text,
    .chapter-flip-text { max-width: 100%; }
    .chapter-flip-media { order: 0; }
    .chapter-flip-text  { order: 0; }

    .chapter-typographic { padding: 130px 0; }
    .chapter-typographic-inner { padding: 0 40px; }

    .chapter-dark { padding: 130px 0; }
    .chapter-dark-inner { padding: 0 40px; }
    .chapter-dark-content { margin-left: 0; padding-right: 0; max-width: 100%; }
    .chapter-number-ghost { font-size: 16rem; top: -40px; left: 10px; }

    .full-bleed-inner { padding: 80px 40px; }
    .full-bleed { min-height: 60vh; }

    .closing-statement { padding: 120px 0; }
    .closing-statement-inner { padding: 0 40px; }

    .timeline-h-grid { gap: 28px; padding: 0 40px; }
    .timeline-h-line { left: 40px; right: 40px; }
}

@media (max-width: 768px) {
    .origin-block { padding: 88px 0 72px; }
    .origin-block-inner { padding: 0 24px; }
    .origin-declaration { font-size: 1.7rem; }

    .quote-moment { padding: 64px 0; }
    .quote-moment-inner { padding: 0 24px; }
    .quote-moment-text { font-size: 1.6rem; }

    .bridge-section {
        padding: 72px 0;
    }

    .bridge-section-inner {
        padding: 0 16px;
    }

    .bridge-head {
        margin-bottom: 42px;
    }

    /* KEEP THE TWO SIDES SIDE-BY-SIDE */
    .bridge-arch-row {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        align-items: start;
    }

    .bridge-col {
        min-width: 0;
    }

    .bridge-col-right {
        text-align: right;
        align-items: flex-end;
    }

    /* Make the labels very small */
    .bridge-col-label {
        font-size: 0.48rem;
        letter-spacing: 1.5px;
        margin-bottom: 9px;
    }

    /* Scale the two main words down */
    .bridge-col-title {
        font-size: 1.35rem;
        line-height: 1;
        margin-bottom: 14px;
        white-space: nowrap;
    }

    /* Scale the supporting words down */
    .bridge-col-list {
        gap: 6px;
    }

    .bridge-col-list li {
        font-size: 0.52rem;
        letter-spacing: 1.2px;
    }

    /* Keep the bridge directly underneath the two sides */
    .bridge-arch-svg {
        width: 100%;
        height: 105px;
        margin-top: -4px;
    }

    .bridge-arch-label {
        bottom: 62px;
        padding: 6px 14px;
        font-size: 0.48rem;
        letter-spacing: 2px;
    }
}

    .chapter-split, .chapter-flip { padding: 72px 0; }
    .chapter-split-inner,
    .chapter-flip-inner { padding: 0 24px; gap: 32px; }

    .chapter-typographic { padding: 88px 0; }
    .chapter-typographic-inner { padding: 0 24px; }
    .chapter-huge { font-size: 1.5rem; }

    .chapter-dark { padding: 88px 0; }
    .chapter-dark-inner { padding: 0 24px; }
    .chapter-number-ghost { font-size: 10rem; top: -20px; }

    .full-bleed { min-height: 52vh; }
    .full-bleed-inner { padding: 60px 24px; }
    .full-bleed-text { font-size: 1.15rem; }

    .closing-statement { padding: 88px 0; }
    .closing-statement-inner { padding: 0 24px; }
    .closing-statement-actions {
        flex-direction: column;
        gap: 24px;
    }

    .timeline-h { padding: 32px 0 48px; }
    .timeline-h-line { display: none; }
    .timeline-h-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }
    .timeline-h-item {
        padding-left: 24px;
        border-left: 1px solid rgba(107, 30, 46, 0.15);
        padding-top: 4px;
    }
    .timeline-h-dot {
        position: absolute;
        left: -7px;
        top: 4px;
        margin-bottom: 0;
    }

    .media-carousel-inner { padding: 0 24px; }
    .media-card { flex: 0 0 300px; min-height: 240px; }
    .media-arrow { width: 42px; height: 42px; font-size: 0.92rem; }
}

@media (max-width: 480px) {
    .origin-declaration { font-size: 1.6rem; }
    .quote-moment-text { font-size: 1.35rem; }
    .chapter-art-num { font-size: 4.4rem; }

    .media-carousel-section { padding: 64px 0; }
    .media-carousel-inner { padding: 0 24px; }
    .media-carousel-head { margin-bottom: 40px; }
    .media-carousel-title { font-size: 1.5rem; }
    .media-card { flex: 0 0 260px; min-height: 220px; padding: 22px 20px 22px; }
    .media-card-title { font-size: 0.98rem; }
    .media-carousel { gap: 12px; }
    .media-arrow { width: 38px; height: 38px; }
}

/* ============================================================
   CONTACT — Layout + Form
   ============================================================ */

/* ---------- Two-column contact layout ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 72px;
    align-items: start;
}

/* ---------- Left column: contact details ---------- */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(107, 30, 46, 0.10);
}

.contact-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-detail-label {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
}

.contact-detail-value {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

.contact-detail-value a {
    color: var(--burgundy);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-detail-value a:hover {
    color: var(--burgundy-dark);
    border-bottom-color: var(--gold);
}

/* Social row inside contact details */
.contact-social-row {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

.contact-social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--burgundy);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease,
                box-shadow 0.3s ease;
}

.contact-social-row a:hover {
    background: var(--burgundy-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 30, 46, 0.25);
}

/* ============================================================
   CONTACT FORM CARD
   ============================================================ */
.contact-form-card {
    background: var(--bg-cream);
    border: 1px solid rgba(107, 30, 46, 0.08);
    border-radius: var(--radius-card);
    padding: 56px 48px 48px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Thin gold accent line at the top of the card */
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--burgundy) 0%,
        var(--gold) 50%,
        var(--burgundy) 100%
    );
    opacity: 0.85;
}

.contact-form-eyebrow {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--burgundy);
    margin: 0 0 14px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-form-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.contact-form-heading {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--burgundy);
    margin: 0 0 32px 0;
}

/* ---------- Form fields ---------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--burgundy);
    margin: 0;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid rgba(107, 30, 46, 0.14);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.96rem;
    line-height: 1.5;
    color: var(--text-dark);
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease,
        background 0.3s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 130px;
    font-family: var(--font-body);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #A88A92;
    font-weight: 400;
}

.contact-field input:hover,
.contact-field textarea:hover {
    border-color: rgba(107, 30, 46, 0.28);
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--burgundy);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(107, 30, 46, 0.10),
        0 2px 8px rgba(107, 30, 46, 0.06);
    transform: translateY(-1px);
}

/* ---------- Submit button ---------- */
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px 32px;
    margin-top: 10px;
    background: var(--burgundy);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: 1px solid var(--burgundy);
    border-radius: 8px;
    cursor: pointer;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(107, 30, 46, 0.18);
}

.contact-submit i {
    transition: transform 0.3s ease;
}

.contact-submit:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(107, 30, 46, 0.28);
}

.contact-submit:hover i {
    transform: translateX(4px);
}

.contact-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(107, 30, 46, 0.20);
}

/* ---------- Foot note under the form ---------- */
.contact-form-note {
    font-family: var(--font-ui);
    font-size: 0.76rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: center;
    margin: 20px 0 0 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .contact-form-card {
        padding: 44px 36px 40px;
    }
}

@media (max-width: 768px) {
    .contact-details {
        gap: 24px;
    }

    .contact-detail {
        padding-bottom: 22px;
    }

    .contact-form-card {
        padding: 36px 24px 32px;
        border-radius: var(--radius-image);
    }

    .contact-form-heading {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .contact-form {
        gap: 18px;
    }

    .contact-field input,
    .contact-field textarea {
        padding: 14px 16px;
        font-size: 0.92rem;
    }

    .contact-social-row a {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 28px 18px 26px;
    }

    .contact-form-heading {
        font-size: 1.35rem;
    }

    .contact-submit {
        padding: 15px 24px;
        font-size: 0.76rem;
    }
}