/* =========================================================================
   ABOUT US (company.php) — full redesign
   Brand: orange #ED5A00 · dark #1B1616 · light grey #F3F3F3
   Fonts: 'SaansTRIAL-Medium' (headings) · 'SaansTRIAL-Regular' (body)
   ========================================================================= */

.vw-about {
    --vw-orange: #ED5A00;
    --vw-dark: #1B1616;
    --vw-grey: #F3F3F3;
    --vw-muted: #b9b3ae;
    font-family: 'SaansTRIAL-Regular', sans-serif;
}

.vw-about .container-main {
    max-width: 1432px;
}

.vw-about p {
    margin: 0 0 18px;
}

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

/* =========================================================================
   SHARED TYPOGRAPHY / TOKENS
   ========================================================================= */
/* Section headings */
.vw-about-hero__title,
.vw-about-intro__title,
.vw-about-legacy__title,
.vw-about-timeline__heading {
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Body copy */
.vw-about-hero__desc,
.vw-about-intro__text,
.vw-about-legacy__text,
.vw-about-timeline__step-text {
    font-family: 'SaansTRIAL-Light', sans-serif;
    font-size: 20px;
    letter-spacing: 0.012em;
}

/* Orange eyebrow */
.vw-about-eyebrow,
.vw-about-hero__eyebrow {
    margin: 0;
    font-family: 'SaansTRIAL-Regular', sans-serif;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #D88A3F;
}

.vw-about-eyebrow {
    line-height: 1.4;
    /* Darker orange so the eyebrow meets WCAG AA (4.5:1) on the light-grey
       (#F3F3F3) section bg. The hero eyebrow keeps #D88A3F — it sits on the
       dark hero where contrast already passes. */
    color: #B34700;
}

.vw-about-hero__eyebrow {
    padding-bottom: 44px;
}

/* Light-grey section backgrounds */
.vw-about-intro,
.vw-about-legacy,
.vw-about-timeline {
    background: var(--vw-grey);
}

/* =========================================================================
   HERO (dark)
   ========================================================================= */
.vw-about-hero {
    background: var(--vw-dark);
    padding: 156px 0 96px;
}

.vw-about-hero__title {
    font-size: clamp(37px, 4.3vw, 62px);
    line-height: 1.08;
    color: #fff;
    margin: 0;
    max-width: 700px;
}

.vw-about-hero__underline {
    display: block;
    width: 140px;
    height: 4px;
    margin: 20px 0 26px;
    background: #C44600;
    border-radius: 2px;
}

.vw-about-hero__image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.vw-about-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
}

.vw-about-hero__desc {
    margin-top: 48px;
    max-width: 1340px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.vw-about-hero__desc p {
    margin: 0 0 22px;
}

/* =========================================================================
   INTRO (light)
   ========================================================================= */
.vw-about-intro {
    padding: 90px 0 70px;
}

.vw-about-intro__title {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    color: var(--vw-dark);
    margin: 22px 0 34px;
}

/* Intro + Legacy share the same body copy */
.vw-about-intro__text,
.vw-about-legacy__text {
    max-width: 1340px;
    color: var(--vw-dark);
    line-height: 1.75;
}

/* =========================================================================
   LEGACY (light): two-color title + body + CTA + cards
   ========================================================================= */
.vw-about-legacy {
    padding: 30px 0 80px;
}

.vw-about-legacy__title {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.08;
    margin: 0 0 30px;
}

.vw-about-legacy__title-dark,
.vw-about-legacy__title-orange {
    display: block;
}

.vw-about-legacy__title-dark {
    color: var(--vw-dark);
}

.vw-about-legacy__title-orange {
    color: var(--vw-orange);
}

/* CTA + radial glow */
.vw-about-legacy__cta-wrap {
    position: relative;
    text-align: center;
    padding: 56px 0 30px;
}

.vw-about-legacy__cta-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -48px;
    transform: translateX(-50%);
    width: 1100px;
    max-width: 100%;
    height: 195px;
    background: radial-gradient(ellipse at center, rgba(237, 90, 0, 0.85) 0%, rgba(237, 90, 0, 0.45) 40%, rgba(237, 90, 0, 0) 72%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.vw-about-legacy__cta {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: min(600px, 100%);
    box-sizing: border-box;
    text-align: center;
    background: var(--vw-orange);
    color: #fff;
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-size: 20px;
    line-height: 1.2;
    padding: 22px 40px;
    border-radius: 999px;
}

.vw-about-legacy__cta:hover {
    color: #fff;
}

/* Cards — the card IS the image (no background, padding or frame) */
.vw-about-cards {
    display: flex;
    gap: 26px;
    margin-top: 34px;
}

.vw-about-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
}

.vw-about-card__icon {
    width: 100%;
}

.vw-about-card__icon img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================================
   TIMELINE (light): two-color heading + vertical timeline
   ========================================================================= */
.vw-about-timeline {
    padding: 40px 0 96px;
}

.vw-about-timeline__heading {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.12;
    text-align: center;
    margin: 0 0 72px;
}

.vw-about-timeline__heading-orange,
.vw-about-timeline__heading-dark {
    display: block;
}

.vw-about-timeline__heading-orange {
    color: var(--vw-orange);
}

.vw-about-timeline__heading-dark {
    color: var(--vw-dark);
}

/* Timeline track + vertical line */
.vw-about-timeline__track {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    --vw-tl-year: 150px;   /* width of the year column */
    --vw-tl-gap: 70px;     /* gap between year column and content */
    --vw-tl-line: calc(var(--vw-tl-year) + (var(--vw-tl-gap) / 2));
}

/* the vertical line runs from the first node to the last node */
.vw-about-timeline__track::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: var(--vw-tl-line);
    width: 2px;
    background: var(--vw-dark);
    transform: translateX(-50%);
}

.vw-about-timeline__step {
    position: relative;
    display: grid;
    grid-template-columns: var(--vw-tl-year) var(--vw-tl-gap) 1fr;
    align-items: start;
    padding-bottom: 64px;
}

.vw-about-timeline__step.is-last {
    padding-bottom: 0;
}

.vw-about-timeline__year {
    grid-column: 1;
    text-align: right;
    white-space: nowrap;
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 1;
    padding-top: 2px;
}

.vw-about-timeline__year.is-orange {
    color: var(--vw-orange);
}

.vw-about-timeline__year.is-muted {
    color: var(--vw-muted);
}

/* node dot sits on the line, aligned with the step title */
.vw-about-timeline__node {
    position: absolute;
    left: var(--vw-tl-line);
    top: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--vw-orange);
    transform: translateX(-50%);
    z-index: 1;
}

.vw-about-timeline__content {
    grid-column: 3;
}

.vw-about-timeline__step-title {
    margin: 0 0 10px;
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    color: var(--vw-dark);
}

.vw-about-timeline__step-text {
    margin: 0;
    max-width: 460px;
    line-height: 1.6;
    color: var(--vw-dark);
}

.vw-about-timeline__step-image {
    margin-top: 24px;
}

.vw-about-timeline__step-image img {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 16px;
}

/* =========================================================================
   FAQS — copied verbatim from css/services-v3.css for 1:1 parity
   ========================================================================= */
.vw-sa-faqs {
    padding: 50px 20px 90px;
    background: #F3F3F3;
}

.vw-sa-faqs__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 80px 88px;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    font-family: 'SaansTRIAL-Regular', sans-serif;
}

.vw-sa-faqs__title {
    font-family: 'SaansTRIAL-Medium', sans-serif;
    margin: 0 0 36px;
    font-weight: 500;
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #111;
}

.vw-sa-faqs__list {
    border-top: 1px solid #1b1616;
}

.vw-sa-faqs__toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vw-sa-faqs__item {
    padding: 18px 0;
    border-bottom: 1px solid #1b1616;
    cursor: pointer;
    width: 100%;
    display: block;
}

.vw-sa-faqs__item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
}

.vw-sa-faqs__item-title {
    margin: 0;
    font-family: 'SaansTRIAL-Medium', sans-serif;
    font-weight: 500;
    font-size: clamp(22px, 2vw, 26px);
    line-height: 1.35;
    color: #111;
}

/* Plus / minus icon */
.vw-sa-faqs__item-icon {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #111;
    flex-shrink: 0;
    position: relative;
}

.vw-sa-faqs__item-icon::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 18px;
    background: #111;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.vw-sa-faqs__toggle:checked + .vw-sa-faqs__item .vw-sa-faqs__item-icon::after {
    opacity: 0;
}

.vw-sa-faqs__item-text {
    display: none;
    margin-top: 12px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: #1b1616;
}

.vw-sa-faqs__item-text p {
    margin: 0 0 12px;
}

.vw-sa-faqs__item-text p:last-child {
    margin-bottom: 0;
}

.vw-sa-faqs__item-text a {
    /* Darkened from #ff5a1f to meet WCAG AA (4.5:1) on the white FAQ card. */
    color: #c04400;
    text-decoration: underline;
}

.vw-sa-faqs__item-text a:hover {
    text-decoration: none;
}

.vw-sa-faqs__toggle:checked + .vw-sa-faqs__item .vw-sa-faqs__item-text {
    display: block;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
    .vw-about-timeline__track {
        --vw-tl-year: 120px;
        --vw-tl-gap: 56px;
    }
    .vw-about-timeline__year {
        font-size: 30px;
    }
}

@media (max-width: 900px) {
    .vw-about .container-main {
        padding: 0 24px;
    }
    .vw-about-hero {
        padding: 150px 0 64px;
    }
    .vw-about-hero__head {
        text-align: center;
    }
    .vw-about-hero__title {
        font-size: 32px;
    }
    .vw-about-hero__eyebrow {
        font-size: 15px;
        white-space: nowrap;
    }
    .vw-about-hero__underline {
        margin-left: auto;
        margin-right: auto;
    }
    .vw-about-hero__desc {
        margin-top: 36px;
        font-size: 17px;
        text-align: center;
    }
    .vw-about-intro {
        padding: 30px 0 50px;
        text-align: center;
    }
    .vw-about-eyebrow {
        font-size: 15px;
        white-space: nowrap;
        text-align: center;
    }
    .vw-about-intro__title {
        font-size: 32px;
        margin-top: 10px;
    }
    .vw-about-intro__text {
        text-align: center;
    }
    .vw-about-legacy {
        padding: 24px 0 64px;
        text-align: center;
    }
    .vw-about-legacy__title {
        font-size: 32px;
    }
    .vw-about-legacy__text {
        text-align: center;
    }
    .vw-about-cards {
        flex-wrap: wrap;
    }
    .vw-about-card {
        flex: 1 1 240px;
    }
    .vw-about-timeline {
        padding: 30px 0 64px;
    }
    .vw-about-timeline__heading {
        margin-bottom: 48px;
        font-size: 32px;
    }

    /* timeline collapses to a single left-aligned column */
    .vw-about-timeline__track {
        --vw-tl-line: 7px;
        max-width: 560px;
    }
    .vw-about-timeline__step {
        grid-template-columns: 1fr;
        padding-left: 36px;
    }
    .vw-about-timeline__year {
        grid-column: 1;
        text-align: left;
        margin-bottom: 10px;
        font-size: 26px;
    }
    .vw-about-timeline__content {
        grid-column: 1;
    }
    .vw-about-timeline__node {
        top: 6px;
    }

    /* FAQ — copied from services-v3.css @media (max-width: 900px) */
    .vw-sa-faqs {
        padding: 40px 16px 64px;
    }
    .vw-sa-faqs__inner {
        padding: 36px 28px 40px;
        border-radius: 22px;
    }
    .vw-sa-faqs__title {
        font-size: 44px;
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .vw-about-cards {
        flex-direction: column;
    }
    .vw-about-card {
        flex: 1 1 auto;
    }
    .vw-about-legacy__cta {
        font-size: 18px;
        padding: 18px 28px;
    }
}

@media (max-width: 480px) {
    .vw-about-hero__desc,
    .vw-about-intro__text,
    .vw-about-legacy__text,
    .vw-about-timeline__step-text,
    .vw-sa-faqs__item-text {
        font-size: 16px;
    }
    .vw-about-intro__title,
    .vw-about-legacy__title,
    .vw-about-timeline__heading {
        font-size: 28px;
    }
    .vw-about-timeline__year {
        font-size: 22px;
    }
    .vw-about-timeline__step-title {
        font-size: 20px;
    }

    /* FAQ — copied from services-v3.css @media (max-width: 480px) */
    .vw-sa-faqs__title {
        font-size: 36px;
    }
}

/* =========================================================================
   MOBILE MENU BUTTON — keep the hamburger LIGHT on the dark About hero.
   About Us carries the .inner-page body class, which applies
   filter: invert(1) to the toggler icon (dark icon for light pages).
   The redesigned hero is dark, so override back to the default light icon.
   Higher specificity (.page-template-company.inner-page) beats the
   .inner-page rule; company.css loads after responsive.css.
   The menu-open (X) state stays dark via its own !important rules.
   ========================================================================= */
.page-template-company.inner-page .desk-header .navbar-toggler-icon {
    filter: none;
}
