

.about-layout {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

.about-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--pp-text, #1A1A2E);
    margin: 1rem 0 1.5rem;
    line-height: 1.2;
}

.about-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--pp-text, #1A1A2E);
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--pp-green, #2BAE80);
    padding-left: 1.25rem;
}

.about-body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #333;
}

.about-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pp-text, #1A1A2E);
    margin: 2.5rem 0 0.75rem;
}

.about-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pp-text, #1A1A2E);
    margin: 1.75rem 0 0.5rem;
}

.about-body p {
    margin-bottom: 1rem;
}

.about-body ul,
.about-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-body li {
    margin-bottom: 0.35rem;
}

.about-body hr {
    border: none;
    border-top: 1px solid var(--pp-border, #E5E9F0);
    margin: 2rem 0;
}

.about-body blockquote {
    border-left: 3px solid var(--pp-green, #2BAE80);
    margin: 1.5rem 0;
    padding: 0.5rem 1rem;
    color: #555;
    font-style: italic;
}

.about-body a {
    color: var(--pp-green, #2BAE80);
    text-decoration: underline;
}

.about-body a:hover {
    color: var(--pp-green-dark, #219668);
}

@media (max-width: 640px) {
    .about-heading {
        font-size: 1.75rem;
    }

    

    

    

    
}


/* Left content column */

/* Body: description (only visible when open) */

/* Content column makes room for photo only when card is open */

/* Toggle button */

/* Hide existing SVG icons — using CSS bars instead for proper morph */

/* Horizontal bar — always visible */

/* Vertical bar — visible in collapsed (= plus), folds away in open (= minus) */

/* Stack cards vertically on tablets and phones. */

.we-are-section {
    padding: 5rem 1.5rem 0;
}

.we-are-inner {
    max-width: 1128px;
    margin: 0 auto var(--space-10);
    align-items: start;
}

.we-are-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-w-medium);
    line-height: 1.2;
    color: var(--color-dark-mint, #093331);
    margin: 0 0 var(--space-5);
}

.we-are-body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--pp-text-muted, #6B7280);
    margin: 0;
    align-self: end;
}

.we-are-photo {
    width: 100%;
    max-width: 1128px;
    margin: 0 auto;
    border-radius: var(--pp-radius-lg, 16px);
    overflow: hidden;
    line-height: 0;
}

.we-are-photo__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 494px;
}

@media (max-width: 1024px) {
    .we-are-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .we-are-section {
        padding-top: 3.5rem;
    }
}

.story-section {
    padding: 5rem 1.5rem 4rem;
}

.story-inner {
    max-width: 1128px;
    margin: 0 auto;
}

.story-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-w-medium);
    line-height: 1.2;
    color: var(--color-dark-mint, #093331);
    margin: 0 0 2rem;
}

.story-viewport {
    overflow: hidden;
    /* Reserve horizontal swipes for the JS drag; keep vertical for native page scroll.
       Without this, mobile browsers (esp. Android) fire pointercancel and the drag never starts. */
    touch-action: pan-y;
}

.story-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-track.is-drag-ready,
.story-track.is-dragging {
    transition: none;
}

.story-card {
    min-width: 363px;
    min-height: 247px;
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--pp-bg-light, #F5F7FA);
    border-radius: var(--radius-base, 8px);
    border-left: 8px solid var(--color-mid-mint, #116762);
    padding: 2rem 1.75rem 2rem;
    box-sizing: border-box;
}

.story-card--active {
    background: var(--color-dark-mint, #093331);
    border-left-color: var(--color-mid-mint, #116762);
}

.story-card__year {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-dark-mint, #093331);
    margin-bottom: 1rem;
}

.story-card--active .story-card__year {
    color: #fff;
}

.story-card__rule {
    border: none;
    border-top: 1px solid rgba(9, 51, 49, 0.2);
    margin: 0 0 1.25rem;
}

.story-card--active .story-card__rule {
    border-top-color: rgba(255, 255, 255, 0.25);
}

.story-card__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--pp-text-muted, #6B7280);
    margin: 0;
}

.story-card--active .story-card__desc {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer: scrubber + controls */

.story-footer {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.story-scrubber {
    flex: 1;
    position: relative;
    padding-top: 12px;
}

.story-scrubber__rail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pp-border, #E5E9F0);
    border-radius: 1px;
}

.story-scrubber__progress {
    position: absolute;
    top: 0;
    height: 2px;
    background: var(--color-dark-mint, #093331);
    border-radius: 1px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    left: 0;
    width: 0;
}

.story-scrubber__years {
    display: flex;
    justify-content: space-between;
}

.story-year {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--pp-text-muted, #6B7280);
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
    padding-top: 4px;
}

.story-year:hover {
    color: var(--color-dark-mint, #093331);
}

.story-year--active {
    font-weight: 700;
    color: var(--color-dark-mint, #093331);
}

.story-controls {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.story-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--pp-btn-border);
    border-radius: var(--radius-base, 8px);
    background: var(--color-white);
    cursor: pointer;
    color: var(--color-dark-mint);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

.story-nav svg {
    width: 18px;
    height: 18px;
}

.story-nav:hover:not(:disabled) {
    background: var(--pp-btn-hover);
    border-color: var(--pp-btn-hover);
    color: var(--color-white);
}

.story-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 768px) {
    

    .we-are-section {
        padding: 48px 16px 0;
    }

    .we-are-inner {
        margin-bottom: 32px;
    }

    .story-section {
        padding: 48px 16px;
    }

    .story-card {
        flex-basis: 100%;
        min-width: 0;
    }

    .story-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .story-controls {
        justify-content: flex-end;
    }

    .rates-section {
        min-height: 0;
        padding: 48px 16px;
    }

    .rates-inner {
        gap: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .story-card {
        flex-basis: calc((100% - 24px) / 2);
        min-width: 0;
    }
}

/* Rates section */

.rates-section {
    background-image: linear-gradient(180deg, #116762 0%, #41B9B2 50%, #D2F3F1 80%, #FFFFFF 100%);
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    padding: 5rem 1.5rem;
    display: flex;
    align-items: center;
}

.rates-inner {
    max-width: 1128px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.rates-text {
    flex: 0 0 420px;
    margin-left: auto;

    @media (width < 900px) {
        display: none;
    }
}

.rates-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-w-medium);
    line-height: 1.2;
    color: var(--color-white, #fff);
    margin: 0 0 1.25rem;
    text-align: right;
}

.rates-subheading {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    text-align: right;
}

.rates-subheading p {
    margin: 0;
}

.rates-subheading a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rates-subheading a:hover {
    color: var(--color-accent-mint, #77E3C2);
}

/* Exchange card overrides for this context */
.rates-section .biz-exchange-card {
    flex: 0 0 420px;
}

@media (max-width: 900px) {
    .rates-inner {
        flex-direction: column;
        gap: 3rem;
    }

    .rates-section .biz-exchange-card {
        flex: none;
        width: 100%;
        max-width: 480px;
    }
}
