﻿/* =============================================================================
   28. ABOUT PAGE (EDITORIAL STORY)
   ============================================================================= */

background: linear-gradient(150deg, rgba(191, 228, 181, 0.24) 0%, rgba(53, 101, 80, 0.2) 46%, rgba(15, 45, 35, 0.25) 100%),
radial-gradient(110% 90% at 75% 10%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 45%),
#355e4b;
}

.about-hero-photo--accent {
    margin-top: clamp(0.8rem, 1.8vw, 1.2rem);
    min-height: clamp(96px, 12vw, 130px);
    background:
        linear-gradient(100deg, rgba(109, 147, 53, 0.55) 0%, rgba(35, 78, 63, 0.22) 60%, rgba(15, 44, 34, 0.5) 100%),
        url('../img/line-eco-flow.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 120% auto;
}

.about-hero-caption {
    margin-top: var(--sp-3);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    letter-spacing: 0.01em;
}

.about-origin {
    background: var(--c-bg);
}

.about-origin-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    gap: clamp(1.4rem, 4vw, 3.2rem);
    align-items: start;
}

.about-origin-left .display-heading {
    margin-top: var(--sp-4);
    max-width: 14ch;
}

.about-origin-right .body-large,
.about-origin-right .body-regular {
    max-width: 52ch;
}

.about-origin-right .body-large {
    margin-bottom: var(--sp-4);
}

.about-origin-right .body-regular+.body-regular {
    margin-top: var(--sp-3);
}

.about-origin-visual {
    margin-top: var(--sp-8);
    min-height: clamp(170px, 24vw, 240px);
    border-radius: clamp(1.2rem, 2.2vw, 1.8rem);
    border: 1px solid rgba(30, 78, 62, 0.15);
    background:
        linear-gradient(130deg, rgba(12, 36, 76, 0.08) 0%, rgba(19, 62, 48, 0.1) 100%),
        var(--about-origin-image, url('../img/line-eco-globe.svg'));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.about-certification {
    background: var(--c-surface);
}

.about-cert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

@media (min-width: 900px) {
    .about-cert-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.about-cert-card {
    border: 1px solid rgba(26, 74, 58, 0.12);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 249, 246, 0.92) 100%);
    padding: clamp(1.25rem, 2.8vw, 1.8rem);
    box-shadow: 0 12px 28px rgba(22, 64, 49, 0.06);
}

.about-cert-card--primary {
    background: linear-gradient(155deg, rgba(29, 80, 123, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.about-cert-card--wide {
    grid-column: 1 / -1;
}

.about-cert-kicker {
    display: inline-flex;
    margin-bottom: var(--sp-3);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-secondary);
}

.about-cert-card h3 {
    margin: 0 0 var(--sp-3);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.3;
}

.about-cert-card p {
    margin: 0;
    color: var(--c-muted);
    line-height: 1.7;
}

.about-cert-card p+p {
    margin-top: var(--sp-3);
}

.about-cert-card a {
    color: var(--c-primary);
    font-weight: 600;
}

.about-cert-list {
    display: grid;
    gap: var(--sp-3);
    padding-left: 1.1rem;
    color: var(--c-muted);
    line-height: 1.7;
}

.about-cert-list li::marker {
    color: var(--c-secondary);
}

.aboutus-journey {
    background: var(--c-surface);
}

.aboutus-journey-slider {
    position: relative;
    overflow: hidden;
}

/* ---- Dotted rail row with progress pips ---- */
.aboutus-journey-rail {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 5vw, 3.5rem);
    padding-block: 0.6rem;
    margin-bottom: var(--sp-4);
}

.aboutus-journey-rail::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: repeating-linear-gradient(to right,
            rgba(26, 74, 58, 0.2) 0 5px,
            transparent 5px 10px);
    pointer-events: none;
}

.aboutus-journey-pip {
    position: relative;
    z-index: 1;
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(26, 74, 58, 0.2);
    border: 1.5px solid transparent;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.aboutus-journey-pip.is-active {
    background: var(--c-primary);
    transform: scale(1.5);
    box-shadow: 0 0 0 3px rgba(29, 80, 123, 0.18);
}

/* ---- Slider track & items ---- */
.aboutus-journey-track {
    position: relative;
    /* height set by JS to match active card */
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.aboutus-journey-item {
    position: absolute;
    top: 0;
    left: 50%;
    width: clamp(280px, 44vw, 560px);
    transform: translateX(-50%);
    will-change: transform, opacity;
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.aboutus-journey-item[data-pos='hidden'] {
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}

/* Cards going to the "far left" (2+ positions away) */
.aboutus-journey-item[data-pos='hidden'][data-dir='left'] {
    transform: translateX(calc(-50% - clamp(500px, 75vw, 900px)));
}

/* Cards going to the "far right" (2+ positions away) */
.aboutus-journey-item[data-pos='hidden'][data-dir='right'] {
    transform: translateX(calc(-50% + clamp(500px, 75vw, 900px)));
}

.aboutus-journey-item[data-pos='center'] {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    filter: none;
    pointer-events: auto;
}

.aboutus-journey-item[data-pos='prev'] {
    opacity: 0.38;
    transform: translateX(calc(-50% - clamp(300px, 46vw, 590px))) scale(0.92);
    z-index: 2;
    filter: blur(0.4px);
    pointer-events: none;
}

.aboutus-journey-item[data-pos='next'] {
    opacity: 0.38;
    transform: translateX(calc(-50% + clamp(300px, 46vw, 590px))) scale(0.92);
    z-index: 2;
    filter: blur(0.4px);
    pointer-events: none;
}

/* ---- Card ---- */
.aboutus-journey-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(26, 74, 58, 0.12);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, rgba(243, 249, 246, 0.92) 100%);
    padding: clamp(1.3rem, 2.8vw, 2rem);
    box-shadow: 0 12px 28px rgba(22, 64, 49, 0.07);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

/* Large watermark number in bottom-right corner */
.aboutus-journey-num {
    position: absolute;
    top: 0.6rem;
    right: 1rem;
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--c-primary);
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.03em;
}

/* Icon inline at top of card */
.aboutus-journey-icon {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1.5px solid rgba(29, 80, 123, 0.22);
    background: rgba(29, 80, 123, 0.07);
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.aboutus-journey-card h3 {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.3;
    color: var(--c-text);
    margin: 0;
}

.aboutus-journey-card p {
    color: var(--c-muted);
    line-height: 1.7;
    font-size: var(--text-sm);
    margin: 0;
}

.aboutus-journey-controls {
    display: flex;
    justify-content: center;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

/* Hide obsolete helpers */
.aboutus-journey-shell,
.aboutus-journey-head,
.aboutus-journey-nav,
.aboutus-journey-viewport,
.aboutus-journey-meta,
.aboutus-journey-year,
.aboutus-journey-step,
.aboutus-journey-marker,
.aboutus-journey-dot {
    display: none !important;
}

.about-founder {
    background: var(--c-bg);
}

.about-founder-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
    gap: clamp(1.4rem, 4vw, 3.2rem);
    align-items: center;
}

.about-founder-photo {
    min-height: clamp(360px, 55vw, 560px);
    border-radius: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid rgba(31, 74, 60, 0.16);
    background:
        radial-gradient(80% 70% at 72% 10%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(160deg, rgba(221, 237, 229, 0.88) 0%, rgba(177, 207, 193, 0.68) 50%, rgba(63, 104, 86, 0.62) 100%);
    box-shadow: 0 26px 54px rgba(16, 45, 35, 0.16);
}

.about-founder-signature {
    margin-top: var(--sp-4);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--c-primary);
}

.about-founder-content .section-heading {
    margin-bottom: var(--sp-4);
}

.about-founder-name {
    font-size: var(--text-xl);
    font-family: var(--font-heading);
    color: var(--c-primary);
    font-weight: 700;
}

.about-founder-credentials {
    margin-top: var(--sp-2);
    margin-bottom: var(--sp-5);
    display: grid;
    gap: var(--sp-2);
}

.about-founder-credentials li {
    position: relative;
    color: var(--c-muted);
    padding-left: 1.1rem;
}

.about-founder-credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 9999px;
    background: var(--c-secondary);
}

.about-founder-content p+p {
    margin-top: var(--sp-3);
}

.about-founder-quote {
    margin-top: var(--sp-6);
    border-left: 3px solid rgba(109, 147, 53, 0.4);
    padding-left: var(--sp-4);
    font-size: var(--text-lg);
    color: var(--c-primary-dark);
    font-style: italic;
}

.about-science {
    background: var(--c-surface);
    border-radius: 40px;
}

.about-science-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(1.2rem, 3.4vw, 2.6rem);
    align-items: start;
}

.about-science-intro .section-heading {
    margin-block: var(--sp-4);
}

.about-science-list {
    border-top: 1px solid rgba(31, 78, 62, 0.15);
}

.about-science-list article {
    display: grid;
    grid-template-columns: minmax(130px, 200px) minmax(0, 1fr);
    gap: var(--sp-5);
    align-items: start;
    border-bottom: 1px solid rgba(31, 78, 62, 0.14);
    padding-block: var(--sp-4);
}

.about-science-list h3 {
    font-size: var(--text-base);
    color: var(--c-primary);
}

.about-science-list p {
    color: var(--c-muted);
}

.about-values {
    background: var(--c-bg);
}

.about-values-list {
    margin-top: var(--sp-6);
    border-top: 1px solid rgba(31, 78, 62, 0.18);
}

.about-value-row {
    display: grid;
    grid-template-columns: 44px minmax(180px, 320px) minmax(0, 1fr);
    gap: var(--sp-6);
    align-items: start;
    border-bottom: 1px solid rgba(31, 78, 62, 0.14);
    padding-block: clamp(1.05rem, 2.2vw, 1.5rem);
}

.about-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(29, 80, 123, 0.1);
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.about-value-row h3 {
    font-size: clamp(1.12rem, 2.4vw, 1.55rem);
    letter-spacing: -0.01em;
}

.about-value-row p {
    color: var(--c-muted);
    line-height: 1.68;
}

.about-manifesto {
    background: var(--c-primary-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 40px;
}

.about-manifesto::after {
    content: "";
    position: absolute;
    top: clamp(0.75rem, 1.8vw, 1.5rem);
    bottom: clamp(0.75rem, 1.8vw, 1.5rem);
    right: 0;
    width: min(44vw, 620px);
    max-width: clamp(200px, 44vw, 620px);
    background: url('../../../../uploads/2026/06/18880504_v991-au-009.png') top right / contain no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    filter: brightness(7.5);
}

@media (max-width: 1023px) {
    .about-manifesto::after {
        top: clamp(0.75rem, 2.5vw, 1.25rem);
        bottom: clamp(0.75rem, 2.5vw, 1.25rem);
        width: min(52vw, 420px);
        background-position: center right;
    }
}

@media (max-width: 640px) {
    .about-manifesto::after {
        top: clamp(0.5rem, 3vw, 1rem);
        bottom: clamp(0.5rem, 3vw, 1rem);
        width: min(58vw, 320px);
        opacity: 0.03;
    }
}

.about-manifesto>.container {
    position: relative;
    z-index: 1;
}

.about-manifesto .section-heading {
    color: #fff;
    margin-top: var(--sp-5);
    max-width: 20ch;
}

.about-manifesto-list {
    margin-top: clamp(1.4rem, 2.8vw, 2.2rem);
    display: grid;
    gap: clamp(0.75rem, 1.8vw, 1.15rem);
}

.about-manifesto-list li {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.8vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 34ch;
}

.about-manifesto-rotator {
    margin-top: clamp(1.4rem, 2.8vw, 2.2rem);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.4vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.9);
    max-width: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.3ch;
    white-space: nowrap;
    overflow: hidden;
}

.about-manifesto-prefix {
    color: #fff;
}

.about-manifesto-suffix {
    display: inline-block;
    transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
    overflow: hidden;
    text-overflow: clip;
}

.about-manifesto-suffix.is-changing {
    opacity: 0;
    transform: translateY(0.3em);
}

.about-manifesto-desc {
    margin-top: var(--sp-4);
    max-width: 56ch;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.68;
}

.about-manifesto-actions {
    justify-content: flex-start;
    margin-top: var(--sp-5);
}

@media (prefers-reduced-motion: reduce) {
    .about-manifesto-suffix {
        transition: none;
    }
}

.about-future {
    background: var(--c-surface);
}

.about-future-shell {
    border: 1px solid rgba(30, 78, 62, 0.16);
    border-radius: clamp(1.3rem, 2.8vw, 2.2rem);
    padding: clamp(1.2rem, 3vw, 2.3rem);
    background:
        radial-gradient(95% 120% at 82% -22%, rgba(169, 206, 255, 0.42) 0%, rgba(169, 206, 255, 0) 54%),
        radial-gradient(110% 95% at 8% 110%, rgba(203, 232, 218, 0.5) 0%, rgba(203, 232, 218, 0) 58%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 250, 247, 0.94) 100%);
    box-shadow: 0 22px 42px rgba(18, 51, 40, 0.1);
}

.about-future-shell .section-heading {
    margin-top: var(--sp-4);
}

.about-future-shell .section-subheading {
    margin-inline: 0;
    max-width: 62ch;
}

.about-future-points {
    margin-top: var(--sp-6);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.about-future-points span {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid rgba(29, 80, 123, 0.22);
    color: var(--c-primary);
    padding: 0.45rem 0.78rem;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.about-team {
    background: var(--c-bg);
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.1vw, 1.6rem);
}

.about-team-member {
    text-align: center;
}

.about-team-photo {
    width: 100%;
    aspect-ratio: 4 / 4.5;
    border-radius: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid rgba(29, 80, 123, 0.14);
    background:
        radial-gradient(75% 90% at 50% 15%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(160deg, rgba(196, 220, 207, 0.88) 0%, rgba(101, 138, 120, 0.76) 100%);
    margin-bottom: var(--sp-4);
}

.about-team-photo--2 {
    background:
        radial-gradient(75% 90% at 50% 15%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(160deg, rgba(210, 225, 238, 0.88) 0%, rgba(94, 121, 160, 0.74) 100%);
}

.about-team-photo--3 {
    background:
        radial-gradient(75% 90% at 50% 15%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 48%),
        linear-gradient(160deg, rgba(218, 234, 198, 0.9) 0%, rgba(112, 148, 90, 0.74) 100%);
}

.about-team-member h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--sp-1);
}

.about-team-member p {
    color: var(--c-muted);
}

.about-final-cta .cta-content .section-subheading {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1023px) {

    .about-origin-grid,
    .about-founder-grid,
    .about-science-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-container {
        min-height: auto;
        padding-block: clamp(4rem, 10vw, 5rem);
    }

    .about-hero-headline {
        white-space: normal;
    }

    .about-hero-visual {
        justify-content: flex-start;
    }

    .aboutus-journey-item {
        flex: 0 0 clamp(260px, 80vw, 480px);
    }

    .about-science-list article,
    .about-value-row {
        grid-template-columns: 1fr;
        gap: var(--sp-3);
    }

    .about-team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .aboutus-journey-item {
        flex: 0 0 clamp(240px, 88vw, 360px);
    }
}