/* ============================================
   COMPANY PAGE — Full component styles
   ============================================ */

/* ---- Shared typography ---- */
.co-label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.co-heading {
    font-family: var(--font-heading);
    font-size: var(--text-section);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    letter-spacing: -0.6px;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-6);
}

.co-intro {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    max-width: var(--text-max-width);
    margin: 0;
}

.co-body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    margin: 0 0 var(--space-5);
}


/* ============================================
   1. HERO — Architectural grid + split layout
   ============================================ */
.co-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #FFFFFF;
}

/* Architectural grid background — 160px + 40px nested */
.co-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(50, 48, 47, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 48, 47, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(50, 48, 47, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 48, 47, 0.03) 1px, transparent 1px);
    background-size: 160px 160px, 160px 160px, 40px 40px, 40px 40px;
    pointer-events: none;
}

/* Top fade to white */
.co-hero__grid-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, #FFFFFF, transparent);
    z-index: 1;
}

.co-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
    max-width: 1600px;
    margin: 0 auto;
    /* Bottom padding clears the full-width marquee zone (height + bottom offset + breathing room) */
    padding: 120px var(--container-padding) clamp(310px, 32vw, 460px);
    align-items: center;
    min-height: 100vh;
}

/* ---- Left: Typography ---- */
.co-hero__left {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Giant ghost watermark */
.co-hero__ghost {
    position: absolute;
    top: -0.35em;
    left: -0.05em;
    font-family: var(--font-heading);
    font-size: clamp(6rem, 14vw, 14rem);
    font-weight: 800;
    color: rgba(50, 48, 47, 0.04);
    line-height: 0.85;
    letter-spacing: -0.04em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.co-hero__title {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.co-hero__line--display {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--color-text-primary);
}

/* Script line with brush underline */
.co-hero__line--script {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.6rem, 6.5vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-text-primary);
    display: block;
    position: relative;
    padding-bottom: 0.2em;
}

.co-hero__line--script::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60%;
    height: 0.18em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M 4,8 C 50,3 130,2 200,6 C 270,10 350,8 396,5 C 350,11 270,15 200,12 C 130,9 50,12 4,13 Z' fill='%23FF1A0F' opacity='0.92'/%3E%3Cpath d='M 12,10 C 70,7 150,6 210,9 C 270,12 360,10 390,8' stroke='%23FF1A0F' stroke-width='1' fill='none' opacity='0.45' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.co-hero__line--since {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.2vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-top: 0.6em;
}

.co-hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    max-width: 440px;
}

/* Values strip */
.co-hero__values {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.co-hero__values span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.co-hero__values-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-gray-300);
    flex-shrink: 0;
}

/* CTA pill — matches homepage hero */
.co-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 2.25rem;
    background: var(--color-pure-white);
    border: 1.5px solid var(--color-gray-300);
    border-radius: 100px;
    color: var(--color-navy);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.01em;
    width: fit-content;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out),
                background var(--duration-base) var(--ease-out);
}

.co-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(12, 27, 42, 0.12);
    background: var(--color-text-primary);
    border-color: var(--color-text-primary);
    color: var(--color-pure-white);
}

.co-hero__cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-pure-white);
    font-size: 0.9rem;
    transition: transform 0.3s var(--ease-out);
}

.co-hero__cta:hover .co-hero__cta-arrow {
    transform: translateY(3px);
    background: var(--color-pure-white);
    color: var(--color-text-primary);
}

/* CTA pinned to bottom-right of the portrait frame */
.co-hero__cta--portrait {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    z-index: 2;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    box-shadow: 0 8px 24px rgba(12, 27, 42, 0.18);
}

/* ---- Right: Portrait + badge + stats ---- */
.co-hero__right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Blueprint frame around portrait */
.co-hero__portrait-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.co-hero__portrait {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #1a1814;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.co-hero__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark blueprint backdrop behind portrait (offset) */
.co-hero__portrait-frame::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    background-color: #1a1814;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    border-radius: var(--radius-lg);
    z-index: -1;
}

.co-hero__portrait-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(transparent, rgba(10, 17, 25, 0.8));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.co-hero__portrait-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-pure-white);
    letter-spacing: -0.6px;
}

.co-hero__portrait-role {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Rotating badge — floats between columns */
.co-hero__badge {
    position: absolute;
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
    z-index: 5;
}

.co-hero__badge-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--color-pure-white);
    border: 1.5px solid var(--color-gray-300);
    color: var(--color-navy);
    position: relative;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
    text-decoration: none;
}

.co-hero__badge-link:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(12, 27, 42, 0.15);
}

.co-hero__badge-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: coRotateBadge 15s linear infinite;
}

.co-hero__badge-text text {
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: var(--font-semibold);
    fill: var(--color-navy);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

@keyframes coRotateBadge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.co-hero__badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gray-300);
    z-index: 1;
    line-height: 1.15;
}

.co-hero__badge-label {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: var(--font-semibold);
    color: var(--color-navy);
    display: block;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .co-hero__inner {
        grid-template-columns: 1fr;
        padding-top: 130px;
        gap: var(--space-12);
    }

    .co-hero__ghost {
        font-size: clamp(4rem, 18vw, 8rem);
    }

    .co-hero__badge {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: var(--space-6) auto 0;
    }

    .co-hero__portrait-frame {
        max-width: 360px;
        margin: 0 auto;
    }

    .co-hero__portrait-frame::before {
        top: 16px;
        left: 16px;
        right: -16px;
        bottom: -16px;
    }
}

@media (max-width: 480px) {
}

/* ============================================================
   Hero entrance animation (page load) — matches homepage hero style.
   1. Ghost watermark fades in
   2. "Our" — per-letter directional stagger (translateX -40px → 0)
   3. "Story" — slides in from right as one unit
   4. "Since 1957 · Montreal" — fades up
   5. Brush underline draws in under "Story"
   6. Subtitle + values strip fade up
   7. Portrait card (with shadow + blueprint backdrop) lifts in as one piece
   8. Inner portrait img Ken Burns'd subtly
   9. Caption + CTA pill fade up
   10. Rotating badge scale-fades in (existing infinite rotation untouched)
   The title group (#2-5) is triggered by .co-hero--loaded, added by
   company-page.js after the JS letter-splitter runs.
   ============================================================ */

/* Ghost watermark */
.co-hero__ghost {
    opacity: 0;
    transform: scale(0.98);
    transform-origin: left top;
    animation: coHeroGhost 1100ms cubic-bezier(0.22, 1, 0.36, 1) 50ms forwards;
}

/* Title — per-letter directional stagger (matches homepage hero style).
   "Our" gets letter-stagger, "Story" slides in from right as one unit,
   "Since 1957" fades up. All triggered by .co-hero--loaded added by JS. */

/* Display line: hide the original text until JS splits it (avoids FOUC),
   then the --split modifier shows the line so individual letter spans paint. */
.co-hero__line--display { opacity: 0; }
.co-hero__line--display.co-hero__line--split { opacity: 1; }

/* Letter spans (injected by JS) */
.co-hero__title-letter {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.35s var(--ease-out-expo),
                transform 0.35s var(--ease-out-expo);
    will-change: transform, opacity;
}
[data-letter-direction="left"]  .co-hero__title-letter { transform: translateX(-40px); }
[data-letter-direction="right"] .co-hero__title-letter { transform: translateX(40px); }
.co-hero--loaded .co-hero__title-letter {
    opacity: 1;
    transform: translateX(0);
}

/* Script line ("Story") — slides in from right as one unit */
.co-hero__line--script {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s var(--ease-out-expo) 0.28s,
                transform 0.5s var(--ease-out-expo) 0.28s;
}
.co-hero--loaded .co-hero__line--script {
    opacity: 1;
    transform: translateX(0);
}

/* Since line ("Since 1957 · Montreal") — fade up */
.co-hero__line--since {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease 0.55s,
                transform 0.45s ease 0.55s;
}
.co-hero--loaded .co-hero__line--since {
    opacity: 1;
    transform: translateY(0);
}

/* Brush underline draws in after "Story" lands */
.co-hero__line--script::after {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1) 0.75s;
}
.co-hero--loaded .co-hero__line--script::after {
    transform: scaleX(1);
}

/* Subtitle */
.co-hero__subtitle {
    opacity: 0;
    transform: translateY(18px);
    animation: coHeroFadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) 580ms forwards;
}

/* Values strip — fade up as a group */
.co-hero__values {
    opacity: 0;
    transform: translateY(14px);
    animation: coHeroFadeUp 600ms cubic-bezier(0.22, 1, 0.36, 1) 700ms forwards;
}

/* Portrait card lifts in as one piece (shadow + blueprint backdrop included) */
.co-hero__portrait-frame {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transform-origin: center bottom;
    will-change: transform, opacity;
    animation: coHeroCardLift 850ms cubic-bezier(0.22, 1, 0.36, 1) 250ms forwards;
}
.co-hero__portrait img {
    transform: scale(1.06) translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    animation: coHeroKenBurns 1800ms cubic-bezier(0.22, 1, 0.36, 1) 400ms forwards;
}

/* Caption + CTA pill */
.co-hero__portrait-caption {
    opacity: 0;
    transform: translateY(12px);
    animation: coHeroFadeUp 550ms cubic-bezier(0.22, 1, 0.36, 1) 800ms forwards;
}
.co-hero__cta--portrait {
    opacity: 0;
    transform: translateY(12px);
    animation: coHeroFadeUp 550ms cubic-bezier(0.22, 1, 0.36, 1) 950ms forwards;
}

/* Rotating badge — entrance scale-fade. The infinite rotation lives on the
   inner .co-hero__badge-text, so this entrance on the wrapper does not collide. */
.co-hero__badge {
    opacity: 0;
    transform: translateY(-50%) scale(0.6);
    animation: coHeroBadgePop 650ms cubic-bezier(0.34, 1.56, 0.64, 1) 1000ms forwards;
}
@media (max-width: 1024px) {
    .co-hero__badge {
        transform: scale(0.6);
        animation-name: coHeroBadgePopMobile;
    }
}

@keyframes coHeroGhost {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes coHeroFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes coHeroCardLift {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes coHeroKenBurns {
    from { transform: scale(1.06) translateZ(0); }
    to   { transform: scale(1) translateZ(0); }
}
@keyframes coHeroBadgePop {
    from { opacity: 0; transform: translateY(-50%) scale(0.6); }
    to   { opacity: 1; transform: translateY(-50%) scale(1); }
}
@keyframes coHeroBadgePopMobile {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .co-hero__ghost,
    .co-hero__subtitle,
    .co-hero__values,
    .co-hero__portrait-frame,
    .co-hero__portrait img,
    .co-hero__portrait-caption,
    .co-hero__cta--portrait,
    .co-hero__badge {
        animation: none;
    }
    .co-hero__title-letter,
    .co-hero__line--script,
    .co-hero__line--since,
    .co-hero__line--script::after {
        transition: none;
    }
    .co-hero__ghost                { opacity: 1; transform: none; }
    .co-hero__line--display,
    .co-hero__line--script,
    .co-hero__line--since          { opacity: 1; transform: none; }
    .co-hero__title-letter         { opacity: 1; transform: none; }
    .co-hero__line--script::after  { transform: scaleX(1); }
    .co-hero__subtitle             { opacity: 1; transform: none; }
    .co-hero__values               { opacity: 1; transform: none; }
    .co-hero__portrait-frame       { opacity: 1; transform: none; }
    .co-hero__portrait img         { transform: none; }
    .co-hero__portrait-caption     { opacity: 1; transform: none; }
    .co-hero__cta--portrait        { opacity: 1; transform: none; }
    .co-hero__badge                { opacity: 1; }
}

/* ----- Hero marquee strip — full-width band anchored to the bottom of the hero.
   Floats slightly above the page bottom so the layout feels balanced. ----- */
.co-hero__marquee-zone {
    position: absolute;
    bottom: clamp(20px, 2.5vw, 40px);
    left: 0;
    right: 0;
    height: clamp(260px, 26vw, 380px);
    z-index: 3;
    overflow: hidden;
}

.co-hero__marquee-zone .team__marquee {
    height: 100%;
    margin-top: 0;
    padding: 0;
    background-color: transparent;
}

/* Shorten the dark grid backdrop in the hero so cards extend more above it */
.co-hero__marquee-zone .team__marquee.team__marquee--large::before {
    height: 35%;
}

/* Bottom-align the cards. Padding-bottom on the track lifts cards a bit
   off the zone edge so box-shadows aren't clipped. */
.co-hero__marquee-zone .team__marquee-track {
    height: 100%;
    align-items: flex-end;
    padding-bottom: clamp(28px, 3vw, 44px);
}

/* Specificity bump (.co-hero__marquee-zone + .team__marquee.team__marquee--large
   + .team__pin--marquee = 0,3,0) so this wins over team.css's --large rule (0,2,0) */
.co-hero__marquee-zone .team__marquee.team__marquee--large .team__pin--marquee {
    flex: 0 0 clamp(150px, 14vw, 220px) !important;
    height: auto;
}

@media (max-width: 900px) {
    .co-hero__inner {
        padding-bottom: clamp(60px, 8vw, 100px);
    }
    .co-hero__marquee-zone {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        height: auto;
        border-top-right-radius: 0;
        box-shadow: none;
    }
    .co-hero__marquee-zone .team__marquee {
        padding: var(--space-4) 0;
    }
}


/* ============================================
   2. ABOUT — Editorial text + stats
   ============================================ */
.co-about {
    background: var(--color-pure-white);
    padding: var(--section-padding) 0;
    overflow-x: clip; /* contain the right column's break-out */
}

.co-about__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-12);
    align-items: start;
}

@media (max-width: 900px) {
    .co-about__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

.co-about__text {
    /* Break out of the container so the column runs to the viewport's left edge */
    margin-left: min(0px, calc((var(--container-max) - 100vw) / 2));
    padding-left: var(--container-padding);
}

@media (max-width: 900px) {
    .co-about__text {
        margin-left: 0;
        padding-left: 0;
    }
}

.co-about__icon {
    display: block;
    margin-bottom: var(--space-10);
    line-height: 1;
}

.co-about__icon i {
    font-size: 4.5rem;
    color: var(--color-text-primary);
    line-height: 1;
}

.co-about__text .co-label {
    display: block;
    margin-bottom: var(--space-6);
}

.co-about__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: var(--font-bold);
    line-height: 0.98;
    letter-spacing: -2.5px;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-6);
}

.co-about__lead {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: var(--font-regular);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-8);
}

.co-about__body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    margin: 0 0 var(--space-4);
}

.co-about__body:last-of-type {
    margin-bottom: var(--space-8);
}

.co-about__footnote {
    font-family: var(--font-body);
    font-size: 0.75rem;
    line-height: var(--leading-normal);
    color: var(--color-text-secondary);
    opacity: 0.7;
    margin: 0;
}

/* ----- Scroll-linked stat list with sliding pill indicator ----- */
.co-about__stats {
    position: relative;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    isolation: isolate;
    /* Break out of the container so the column runs to the viewport's right edge */
    margin-right: min(0px, calc((var(--container-max) - 100vw) / 2));
    padding-right: var(--space-8);
}

/* Single sliding pill — position/size driven by JS from the active row's
   offsetTop / offsetHeight. House motion curve per CLAUDE.md. */
.co-about__indicator {
    position: absolute;
    left: 0;
    right: var(--space-8);
    top: 0;
    height: 0;
    background: var(--color-pure-white);
    border: 0.5px solid #d8d8d4;
    border-radius: 18px;
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.04);
    z-index: 0;
    pointer-events: none;
    transform: translateY(0);
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                height 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

@media (max-width: 900px) {
    .co-about__indicator { display: none; }
}

@media (max-width: 900px) {
    .co-about__stats {
        align-self: stretch;
        margin-right: 0;
        padding-right: 0;
    }
}

.co-about__row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: var(--space-5);
    row-gap: var(--space-2);
    align-items: center;
    padding: var(--space-8) var(--space-6);
    border-radius: 18px;
    outline: none;
    cursor: default;
    min-width: 0;
}

.co-about__row-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: center;
    align-self: center;
    /* Bumped from 2.75rem → 3.5rem so the icons read as confident
       glyphs next to the chunky stat numbers, not as small accents. */
    font-size: 3.5rem;
    /* Site-signature bright red (matches the script-underline brush
       strokes used across hero titles). Was `var(--color-gold)` which
       resolved to #C0392B — a brick/maroon red, too dark and dull
       next to the brand's accent red. */
    color: #FF1A0F;
    line-height: 1;
}

.co-about__row-num {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 5.25rem);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    letter-spacing: -2px;
    line-height: 0.95;
    text-align: start;
    min-width: 0;
}

.co-about__row-plus {
    font-weight: var(--font-light);
    color: var(--color-text-primary);
}

.co-about__row-caption {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.co-about__row-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.co-about__row-text {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-regular);
    line-height: var(--leading-snug);
    color: var(--color-text-primary);
}

/* Mobile: drop the pill chrome, keep the desktop's two-column rhythm
   (icon | number+caption) but tightened so the icon reads as the row's
   badge rather than a small orphan floating above the content. */
@media (max-width: 900px) {
    .co-about__row {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: var(--space-4);
        row-gap: var(--space-2);
        padding: var(--space-5) 0;
        border: 0;
        border-top: 0.5px solid #d8d8d4;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
    }
    .co-about__row:first-child { border-top: 0; }

    .co-about__row-icon,
    .co-about__row-caption {
        opacity: 1;
        transform: none;
    }

    /* Icon: badge in column 1, spanning both rows alongside the content.
       Mobile size bumped from 2.25rem → 2.75rem so the icon stays
       proportionally bigger on phones too, matching the desktop bump. */
    .co-about__row-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        font-size: 2.75rem;
        justify-self: center;
        align-self: center;
    }

    /* Number top-right, caption beneath — both anchored to the icon's right */
    .co-about__row-num {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        font-size: clamp(2.75rem, 11vw, 4rem);
        text-align: left;
        letter-spacing: -1px;
        line-height: 1;
    }

    .co-about__row-caption {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        align-self: start;
    }
}


/* ============================================
   3. WHO WE ARE — Split story
   ============================================ */
.co-story {
    background: #F5F5F5;
    padding: var(--section-padding) 0;
}

.co-story__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
}

@media (max-width: 900px) {
    .co-story__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

.co-story__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-lg);
}

.co-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-story__legacy {
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 2px solid var(--color-text-primary);
}

.co-story__legacy-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    letter-spacing: -0.6px;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-4);
}


/* ============================================
   4. TIMELINE — Our History
   ============================================ */
.co-history {
    background: var(--color-pure-white);
    padding: var(--section-padding) 0;
}

.co-history__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.co-history__header {
    margin-bottom: var(--space-10);
}

/* Golden-era heritage strip — full-bleed archival photos, drag to scroll */
.co-history__heritage {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    margin: 0 calc(-1 * var(--container-padding)) var(--space-16);
    padding: 0 var(--container-padding) var(--space-3);
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.co-history__heritage:active {
    cursor: grabbing;
}

.co-history__heritage::-webkit-scrollbar {
    height: 6px;
}

.co-history__heritage::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

.co-history__heritage img {
    flex: 0 0 auto;
    height: clamp(220px, 24vw, 360px);
    width: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: #2a2520;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    user-select: none;
    pointer-events: none; /* prevents native image-drag from breaking scroll */
    filter: sepia(0.12) contrast(1.04) saturate(0.92);
}

/* Lead image (truck) sits 20% larger than the rest */
.co-history__heritage img:first-child {
    height: clamp(264px, 28.8vw, 432px);
}

@media (max-width: 600px) {
    .co-history__heritage img {
        height: 200px;
    }
    .co-history__heritage img:first-child {
        height: 240px;
    }
}

/* Heritage close — pair of "items" detail shots after the timeline */
.co-history__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.co-history__items img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: #2a2520;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    filter: sepia(0.08) contrast(1.04);
}

@media (max-width: 600px) {
    .co-history__items {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

.co-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}

.co-timeline__line {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-border);
}

.co-timeline__item {
    position: relative;
    padding-top: 40px;
}

.co-timeline__dot {
    position: absolute;
    top: 4px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-pure-white);
    border: 2px solid var(--color-border);
    z-index: 1;
}

.co-timeline__dot--active {
    border-color: var(--color-text-primary);
    background: var(--color-text-primary);
}

.co-timeline__card {
    background: #fafaf8;
    border: 0.5px solid #c8c8c8;
    border-radius: 4px;
    padding: var(--space-5);
    position: relative;
    overflow: hidden;
}

/* Tick marks */
.co-timeline__card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, #bbb 0px, #bbb 1px, transparent 1px, transparent 36px) 0 0 / 100% 5px no-repeat,
        repeating-linear-gradient(90deg, #bbb 0px, #bbb 1px, transparent 1px, transparent 36px) 0 100% / 100% 5px no-repeat;
}

.co-timeline__year {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    letter-spacing: -0.6px;
    margin-bottom: var(--space-3);
}

.co-timeline__title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin: 0 0 var(--space-2);
}

.co-timeline__desc {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    margin: 0;
}

@media (max-width: 900px) {
    .co-timeline {
        grid-template-columns: 1fr;
        padding-left: 40px;
    }
    .co-timeline__line {
        top: 0;
        bottom: 0;
        left: 10px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .co-timeline__dot {
        left: -40px;
        top: var(--space-5);
    }
    .co-timeline__item {
        padding-top: 0;
    }
}


/* ============================================
   5. LEADERSHIP — Reuses .team from main.css
   Only the header wrapper above it needs styling
   ============================================ */
.co-leadership__header-wrap {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    padding-top: var(--section-padding);
    padding-bottom: var(--space-8);
    background: #F5F5F5;
}


/* ============================================
   6A. TYPOGRAPHIC ACCORDION — Our Culture
   ============================================ */
.co-acc {
    position: relative;
    background: #FFFFFF;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

/* Architectural grid background */
.co-acc__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(50, 48, 47, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 48, 47, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(50, 48, 47, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 48, 47, 0.02) 1px, transparent 1px);
    background-size: 160px 160px, 160px 160px, 40px 40px, 40px 40px;
    pointer-events: none;
}

.co-acc__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-20);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    align-items: start;
}

@media (max-width: 900px) {
    .co-acc__layout {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

/* ---- Left: Sticky header ---- */
.co-acc__sticky {
    position: sticky;
    top: 120px;
}

.co-acc__ghost {
    font-family: var(--font-heading);
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 800;
    color: rgba(50, 48, 47, 0.04);
    line-height: 0.8;
    letter-spacing: -0.05em;
    display: block;
    margin-bottom: var(--space-4);
    transition: opacity 0.2s ease;
    pointer-events: none;
    user-select: none;
}

/* Mini rotating badge */
.co-acc__badge {
    margin-top: var(--space-8);
}

.co-acc__badge-svg {
    animation: coRotateBadge 20s linear infinite;
}

.co-acc__badge-svg text {
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: var(--font-semibold);
    fill: var(--color-text-primary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.15;
}

@keyframes coRotateBadge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---- Right: Accordion ---- */
.co-acc__items {
    position: relative;
}

/* Vertical progress track — swivel / barber-pole stripe */
.co-acc__track {
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px;
    background:
        repeating-linear-gradient(
            45deg,
            var(--color-gray-100) 0,
            var(--color-gray-100) 4px,
            transparent 4px,
            transparent 8px
        );
    background-size: 100% 11.31px; /* 8px / sin(45deg) so stripes tile cleanly */
    animation: coTrackSwivel 6s linear infinite;
    overflow: hidden;
}

@keyframes coTrackSwivel {
    from { background-position: 0 0; }
    to   { background-position: 0 -11.31px; }
}

.co-acc__progress {
    width: 100%;
    height: 14.28%;
    background: var(--color-gold);
    border-radius: 2px;
    transition: height 0.4s var(--ease-out-expo);
}

/* Item */
.co-acc__item {
    position: relative;
    margin-bottom: var(--space-1);
}

.co-acc__trigger {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-5) var(--space-5) var(--space-5) var(--space-10);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: var(--radius-md);
    transition: background var(--duration-fast) var(--ease-out);
}

.co-acc__trigger:hover {
    background: rgba(250, 250, 248, 0.8);
}

/* Dot on track */
.co-acc__dot {
    position: absolute;
    left: 4px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-pure-white);
    border: 2px solid var(--color-gray-300);
    z-index: 1;
    transition: all var(--duration-base) var(--ease-out);
}

.co-acc__item--active .co-acc__dot {
    background: var(--color-text-primary);
    border-color: var(--color-text-primary);
    box-shadow: 0 0 0 4px rgba(50, 48, 47, 0.12);
}

.co-acc__num {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--color-gray-300);
    min-width: 28px;
    transition: color var(--duration-base) var(--ease-out);
}

.co-acc__item--active .co-acc__num {
    color: var(--color-text-primary);
}

.co-acc__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    flex: 1;
    line-height: var(--leading-tight);
    letter-spacing: -0.6px;
    transition: color var(--duration-base) var(--ease-out);
}

.co-acc__chevron {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    transition: transform var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}

.co-acc__item--active .co-acc__chevron {
    transform: rotate(180deg);
    color: var(--color-text-primary);
}

/* Expandable body */
.co-acc__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out),
                padding var(--duration-slow) var(--ease-out);
    padding: 0 var(--space-5) 0 var(--space-10);
    margin-left: var(--space-10);
}

.co-acc__item--active .co-acc__body {
    max-height: 300px;
    padding: 0 var(--space-5) var(--space-6) var(--space-10);
}

.co-acc__body p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    max-width: 520px;
    padding-left: calc(28px + var(--space-4));
    margin: 0;
}


/* ============================================
   6B. VALUES REVEAL — Scroll-driven strips
   ============================================ */
.co-reveal {
    background: #fafaf8;
    overflow: hidden;
}

.co-reveal__strip {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(3rem, 5vw, 5rem) var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    border-bottom: 0.5px solid #c8c8c8;
    overflow: hidden;
    /* Scroll reveal — starts hidden */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.co-reveal__strip.co-revealed {
    opacity: 1;
    transform: translateY(0);
}

.co-reveal__strip--alt {
    background: #FFFFFF;
}

/* Tick marks on top/bottom */
.co-reveal__strip::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, #bbb 0px, #bbb 1px, transparent 1px, transparent 36px) 0 0 / 100% 5px no-repeat,
        repeating-linear-gradient(90deg, #bbb 0px, #bbb 1px, transparent 1px, transparent 36px) 0 100% / 100% 5px no-repeat;
}

/* Giant number — scales in on reveal */
.co-reveal__num {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 800;
    color: rgba(50, 48, 47, 0.04);
    line-height: 0.85;
    letter-spacing: -0.04em;
    flex-shrink: 0;
    min-width: clamp(100px, 16vw, 180px);
    transition: transform 0.8s var(--ease-out-expo);
    transform: scale(1.5);
    pointer-events: none;
    user-select: none;
}

.co-reveal__strip.co-revealed .co-reveal__num {
    transform: scale(1);
}

/* Text */
.co-reveal__text {
    flex: 1;
    padding-left: var(--space-8);
}

.co-reveal__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    letter-spacing: -0.6px;
    line-height: var(--leading-tight);
    margin: 0 0 var(--space-2);
}

.co-reveal__desc {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

/* Geometric decorations */
.co-reveal__geo {
    position: absolute;
    right: var(--container-padding);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.06;
}

/* Circle — from the rotating badge */
.co-reveal__geo--circle {
    width: clamp(120px, 16vw, 200px);
    height: clamp(120px, 16vw, 200px);
    border-radius: 50%;
    border: 2px solid var(--color-text-primary);
}

.co-reveal__geo--circle::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--color-text-primary);
}

/* Grid — from architectural background */
.co-reveal__geo--grid {
    width: clamp(120px, 16vw, 200px);
    height: clamp(120px, 16vw, 200px);
    background-image:
        linear-gradient(var(--color-text-primary) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-text-primary) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Angle — from blueprint lines */
.co-reveal__geo--angle {
    width: clamp(120px, 16vw, 200px);
    height: clamp(120px, 16vw, 200px);
    border-right: 2px solid var(--color-text-primary);
    border-bottom: 2px solid var(--color-text-primary);
    transform: translateY(-50%) rotate(-45deg);
}

.co-reveal__geo--angle::before {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 60%;
    height: 60%;
    border-right: 1.5px solid var(--color-text-primary);
    border-bottom: 1.5px solid var(--color-text-primary);
}

@media (max-width: 768px) {
    .co-reveal__geo {
        display: none;
    }
    .co-reveal__num {
        font-size: clamp(4rem, 16vw, 6rem);
        min-width: 80px;
    }
}


/* ============================================
   7. MARKET SECTORS — Breathing horizontal strip
   Cells expand on hover, pushing neighbors aside.
   Drawing sheet frame with corner brackets.
   ============================================ */
.co-sectors {
    /* Dark top half, white middle, then a soft fade into the next section's #F5F5F5 background */
    background: linear-gradient(to bottom,
        #1a1814 0%,
        #1a1814 50%,
        #FFFFFF 50%,
        #FFFFFF 85%,
        #F5F5F5 100%);
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* TOP HALF — isometric triangular grid in white on dark */
.co-sectors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-image:
        repeating-linear-gradient(30deg,
            rgba(255, 255, 255, 0.05) 0,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 46px),
        repeating-linear-gradient(-30deg,
            rgba(255, 255, 255, 0.05) 0,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 46px),
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 46px);
    pointer-events: none;
}

/* BOTTOM HALF — same isometric grid inverted: dark lines on white,
   masked to fade toward the bottom of the section */
.co-sectors::after {
    content: '';
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    background-image:
        repeating-linear-gradient(30deg,
            rgba(26, 24, 20, 0.08) 0,
            rgba(26, 24, 20, 0.08) 1px,
            transparent 1px,
            transparent 46px),
        repeating-linear-gradient(-30deg,
            rgba(26, 24, 20, 0.08) 0,
            rgba(26, 24, 20, 0.08) 1px,
            transparent 1px,
            transparent 46px),
        repeating-linear-gradient(90deg,
            rgba(26, 24, 20, 0.08) 0,
            rgba(26, 24, 20, 0.08) 1px,
            transparent 1px,
            transparent 46px);
    /* Grid fades to nothing as it approaches the bottom edge */
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
    pointer-events: none;
}

/* Editorial split — title + intro on one side, asymmetric image collage on the other */
.co-sectors__lead {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 6rem) var(--container-padding) clamp(0.5rem, 1.5vw, 1.25rem);
}

.co-sectors__lead-text {
    color: #FFFFFF;
}

.co-sectors__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: var(--space-4);
    padding-left: 36px;
    position: relative;
}

.co-sectors__eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.co-sectors__lead-text .co-heading {
    color: #FFFFFF;
    margin-bottom: var(--space-5);
}

.co-sectors__intro {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed, 1.65);
    color: rgba(255, 255, 255, 0.7);
    max-width: 46ch;
    margin: 0;
}

/* Image collage — bleeds RIGHT past the container's edge to the viewport */
.co-sectors__lead-media {
    position: relative;
    height: clamp(460px, 56vw, 720px);
    /* Extend past the right container padding all the way to the viewport edge.
       For viewports >= 1400px, this is half the empty space + the container padding;
       for narrower viewports it's just the container padding. */
    margin-right: calc(-1 * max(var(--container-padding), (100vw - 1400px) / 2 + var(--container-padding)));
}

.co-sectors__media {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    background: #2a2520;
    transition: transform 420ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 420ms cubic-bezier(0.4, 0, 0.1, 1);
}

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

/* Triptych — three vertical strips, center taller than the flanks */
.co-sectors__media--lead {
    top: 0;
    left: 34%;
    width: 32%;
    height: 100%;
    z-index: 2;
}

.co-sectors__media--inset-top {
    top: 10%;
    left: 0;
    width: 30%;
    height: 80%;
    z-index: 1;
}

.co-sectors__media--inset-bottom {
    top: 14%;
    right: 0;
    width: 30%;
    height: 76%;
    z-index: 1;
}

.co-sectors__media:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    z-index: 4;
}

@media (max-width: 900px) {
    /* On a stacked mobile layout the fixed 50/50 section gradient lands
       in the wrong place (the dark zone bleeds way down into the cards
       — that's the "becoming black too early" symptom). Drop the
       gradient + the decorative grids and give each region its own bg. */
    .co-sectors {
        background: #FFFFFF;
    }

    .co-sectors::before,
    .co-sectors::after {
        display: none;
    }

    /* Lead carries its own dark bg now, full-bleed to the viewport edges.
       Horizontal padding adds an extra inset on top of `--container-padding`
       (which the negative margins cancel out) so the title + intro keep
       a comfortable gap from the screen edges. */
    .co-sectors__lead {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2.5rem);
        padding: clamp(2.5rem, 5vw, 4rem)
                 calc(var(--container-padding) + var(--space-4))
                 clamp(2rem, 4vw, 3rem);
        background: #1a1814;
        margin-left: calc(-1 * var(--container-padding));
        margin-right: calc(-1 * var(--container-padding));
    }

    .co-sectors__lead-media {
        height: clamp(280px, 60vw, 420px);
    }

    .co-sectors__media--lead {
        left: 34%;
        width: 32%;
        height: 100%;
        top: 0;
    }

    .co-sectors__media--inset-top {
        top: 8%;
        left: 0;
        width: 30%;
        height: 84%;
    }

    .co-sectors__media--inset-bottom {
        top: 12%;
        right: 0;
        width: 30%;
        height: 80%;
    }
}

@media (max-width: 600px) {
    .co-sectors__lead-media {
        height: 320px;
    }
}

/* ============================================
   FUNNEL LAYOUT — cards converge at top, fan out at bottom
   Letters cluster at the pivot (top-center); cards radiate outward
   ============================================ */
.co-sectors__strip {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(26, 24, 20, 0.1);
}

/* Each sector — equal-width column in a straight horizontal row, dark text on white */
.co-sector {
    flex: 1 1 0;
    min-width: 0;
    min-height: clamp(360px, 44vw, 480px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(0.8rem, 1.2vw, 1.4rem) clamp(1.2rem, 1.8vw, 1.8rem);
    text-decoration: none;
    color: var(--color-text-primary);

    /* Un-hovered: white veil at the top fading to transparent toward the bottom,
       so the dark grid lines from the section's ::after only show through the lower half */
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    border-right: 1px solid rgba(26, 24, 20, 0.08);

    /* House motion — same 520ms cubic-bezier(0.4, 0, 0.1, 1) used site-wide */
    transition: background 520ms cubic-bezier(0.4, 0, 0.1, 1),
                transform 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.co-sector:last-child {
    border-right: none;
}

.co-sector:hover {
    transform: translateY(-6px);
}

/* Number — small label at top of each card */
.co-sector__num {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(26, 24, 20, 0.4);
    line-height: 1;
    margin-bottom: var(--space-2);
    transition: color 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.co-sector:hover .co-sector__num {
    color: rgba(26, 24, 20, 0.75);
}

/* Letter — bright brand red (matches the home-page difference-stats accent), the visual anchor */
.co-sector__letter {
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 5vw, 4.8rem);
    font-weight: 900;
    color: #FF3B30;
    line-height: 1;
    letter-spacing: -0.04em;
    margin: 0 0 var(--space-3);
    /* Stack thickness on top of the heaviest available weight */
    -webkit-text-stroke: 2px #FF3B30;
    text-shadow:
        1px 0 0 #FF3B30,
        -1px 0 0 #FF3B30,
        0 1px 0 #FF3B30,
        0 -1px 0 #FF3B30;
    /* House motion — letter lifts and scales together using the site curve */
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                letter-spacing 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.co-sector:hover .co-sector__letter {
    transform: scale(1.12) translateY(-3px);
    letter-spacing: -0.02em;
}

.co-sector__title {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-weight: var(--font-semibold);
    /* Distinctly gray when un-hovered, so the fade to solid dark is clearly visible */
    color: rgba(26, 24, 20, 0.55);
    letter-spacing: -0.3px;
    line-height: 1.2;
    margin: 0 0 var(--space-1);
    white-space: normal;
    transition: color 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.co-sector:hover .co-sector__title {
    color: var(--color-text-primary);
}

.co-sector__desc {
    font-family: var(--font-body);
    font-size: 0.74rem;
    color: rgba(26, 24, 20, 0.4);
    line-height: 1.4;
    margin: 0;
    padding: 0 0.2rem;
    transition: color 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.co-sector:hover .co-sector__desc {
    color: rgba(26, 24, 20, 0.7);
}

.co-sector__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    /* Frosted glass — translucent fill, backdrop blur, subtle inset highlight */
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(26, 24, 20, 0.12);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    font-size: 2.4rem;
    color: rgba(26, 24, 20, 0.85);
    margin-top: auto;
    /* House motion curve — same 520ms cubic-bezier(0.4, 0, 0.1, 1) used site-wide */
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                background 520ms cubic-bezier(0.4, 0, 0.1, 1),
                box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

/* Icon slides in the direction it points using the same curve */
.co-sector__arrow i {
    display: block;
    transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1);
}

.co-sector:hover .co-sector__arrow {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.co-sector:hover .co-sector__arrow i {
    transform: translateX(10px);
}

/* ---- Responsive: collapse to grid on smaller screens ---- */
@media (max-width: 900px) {
    .co-sectors__strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: rgba(26, 24, 20, 0.1);
        margin-top: var(--space-8);
        border-top: none;
    }

    .co-sector {
        min-height: 220px;
        background: #FFFFFF;
        border-right: none;
        padding: clamp(1.2rem, 2.4vw, 2rem);
    }

    .co-sector__letter {
        font-size: clamp(3.2rem, 8vw, 4.4rem);
    }

    .co-sector__title {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
}

@media (max-width: 600px) {
    /* Phone: each sector collapses into a compact horizontal row —
       letter badge | title + desc | arrow. ~70px per row instead of
       220px+ so all seven sectors no longer take a full screen each. */
    .co-sectors__strip {
        grid-template-columns: 1fr;
        gap: 0;
        background: transparent;
        margin-top: var(--space-6);
    }

    .co-sector {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) 44px;
        grid-template-rows: auto auto;
        column-gap: var(--space-3);
        row-gap: 2px;
        align-items: center;
        min-height: 0;
        padding: var(--space-4) var(--space-3);
        text-align: left;
        border-top: 1px solid rgba(26, 24, 20, 0.1);
    }

    .co-sector:first-child {
        border-top: none;
    }

    .co-sector__num {
        display: none;
    }

    .co-sector__letter {
        grid-column: 1;
        grid-row: 1 / span 2;
        justify-self: center;
        align-self: center;
        font-size: 2.6rem;
        margin: 0;
        -webkit-text-stroke: 1.5px #FF3B30;
        text-shadow:
            1px 0 0 #FF3B30,
            -1px 0 0 #FF3B30,
            0 1px 0 #FF3B30,
            0 -1px 0 #FF3B30;
    }

    .co-sector__title {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        font-size: 1rem;
        color: var(--color-text-primary);
        margin: 0;
    }

    .co-sector__desc {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        font-size: 0.78rem;
        margin: 0;
        padding: 0;
    }

    .co-sector__arrow {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-top: 0;
    }
}


/* ============================================
   8. AFFILIATES — Partner cards
   ============================================ */
.co-affiliates {
    background: #F5F5F5;
    padding: var(--section-padding) 0;
}

.co-affiliates__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.co-affiliates__header {
    margin-bottom: var(--space-16);
}

.co-affiliates__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1100px) {
    .co-affiliates__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: replace the card grid with an infinite drifting mosaic of
   logo tiles (built by JS, see company-page.js). The track is a tiled
   5×4 block of logos repeated enough times that the animation can shift
   by exactly one block-cycle and loop seamlessly — the visible pattern
   at the end of the cycle is identical to the start. */
.co-affiliates__mosaic {
    display: none;
}

@keyframes co-mosaic-drift {
    from { transform: translate(0, 0); }
    to {
        transform: translate(
            calc(-5 * (var(--tile, 88px) + var(--gap, 8px))),
            calc(-4 * (var(--tile, 88px) + var(--gap, 8px)))
        );
    }
}

@media (max-width: 768px) {
    .co-affiliates__header {
        margin-bottom: var(--space-8);
    }

    /* The desktop card grid is hidden — replaced by the mosaic */
    .co-affiliates__grid {
        display: none;
    }

    .co-affiliates__mosaic {
        display: block;
        position: relative;
        overflow: hidden;
        height: 400px;
        border-radius: 12px;
        background: rgba(26, 24, 20, 0.04);
        /* Soften the cut-off edges so the wrap moment stays clean and the
           wall fades into the section rather than ending in a hard line. */
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    }

    .co-affiliates__mosaic-track {
        --tile: 88px;
        --gap: 8px;
        display: grid;
        grid-template-columns: repeat(10, var(--tile));
        grid-auto-rows: var(--tile);
        gap: var(--gap);
        padding: var(--gap);
        will-change: transform;
        animation: co-mosaic-drift 60s linear infinite;
    }

    .co-affiliates__mosaic-tile {
        background: var(--color-pure-white);
        border: 0.5px solid rgba(200, 200, 200, 0.4);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
    }

    .co-affiliates__mosaic-tile img {
        max-width: 80%;
        max-height: 75%;
        object-fit: contain;
    }
}

@media (prefers-reduced-motion: reduce) {
    .co-affiliates__mosaic-track {
        animation: none;
    }
}

.co-affiliate {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-10) var(--space-6);
    background: var(--color-pure-white);
    border: 0.5px solid #c8c8c8;
    border-radius: 8px;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.co-affiliate:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.co-affiliate__logo {
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.co-affiliate__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.co-affiliate__name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    letter-spacing: -0.6px;
    margin: 0 0 var(--space-2);
}

.co-affiliate__desc {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    margin: 0;
}


/* ====================================================================
   .sf-reveal — Mobile-only "read more" disclosure component
   Same shared pattern as the safety / sustainability / cert / etc.
   pages. Black-circle + button collapses long body paragraphs on
   mobile; on desktop the button is hidden and the panel renders inline.
   ==================================================================== */
@media (max-width: 900px) {
    .sf-reveal {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
        margin-top: var(--space-4);
    }
    .sf-reveal__btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 0;
        padding: 0;
        background: #0A1119;
        color: #fff;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
        transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1),
                    box-shadow 520ms cubic-bezier(0.4, 0, 0.1, 1);
    }
    .sf-reveal__btn:hover {
        transform: scale(1.06);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    }
    .sf-reveal__btn:focus-visible {
        outline: 2px solid var(--color-orange, #C0392B);
        outline-offset: 3px;
    }
    .sf-reveal__icon {
        position: relative;
        width: 16px;
        height: 16px;
        display: inline-block;
        transition: transform 520ms cubic-bezier(0.4, 0, 0.1, 1);
    }
    .sf-reveal__icon-bar {
        position: absolute;
        top: 50%;
        left: 50%;
        background: #fff;
        border-radius: 1px;
    }
    .sf-reveal__icon-bar:nth-child(1) { width: 14px; height: 2px;  transform: translate(-50%, -50%); }
    .sf-reveal__icon-bar:nth-child(2) { width: 2px;  height: 14px; transform: translate(-50%, -50%); }
    .sf-reveal__btn[aria-expanded="true"] .sf-reveal__icon {
        transform: rotate(45deg);
    }
    .sf-reveal__panel {
        display: grid;
        grid-template-rows: 0fr;
        opacity: 0;
        margin-top: 0;
        transition: grid-template-rows 520ms cubic-bezier(0.4, 0, 0.1, 1),
                    opacity 420ms cubic-bezier(0.4, 0, 0.1, 1),
                    margin-top 520ms cubic-bezier(0.4, 0, 0.1, 1);
        width: 100%;
    }
    .sf-reveal__panel > * {
        min-height: 0;
        overflow: hidden;
    }
    .sf-reveal__panel-inner {
        margin: 0;
    }
    .sf-reveal__panel-inner > p:last-child {
        margin-bottom: 0;
    }
    .sf-reveal__btn[aria-expanded="true"] + .sf-reveal__panel {
        grid-template-rows: 1fr;
        opacity: 1;
        margin-top: var(--space-4);
    }
}

@media (min-width: 901px) {
    .sf-reveal__btn { display: none; }
    .sf-reveal__panel { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .sf-reveal__btn,
    .sf-reveal__icon,
    .sf-reveal__panel {
        transition: none !important;
    }
}
