:root {
    --deep-teal: #2F6975;
    --olive-green: #88934E;
    --forest-green: #496E2B;
    --berry: #AA2B62;
    --sage: #A6B88E;
    --dusty-rose: #DDAFCC;

    --cream: #F1E6D0;
    --white: #FFFFFF;
    --dark-text: #1F2421;
    --body-text: #536467;
    --border: #DDE4DE;
}

body { 
    padding-top: 56px;
    background-color: var(--cream);
}

.bg-dark { 
    background-color: var(--deep-teal) !important; 
}

.bg-footer {
    background-color: var(--deep-teal) !important;
}

.bg-hero { 
    background: linear-gradient(135deg, var(--cream), var(--forest-green)); 
}

footer a { 
    color: white; 
    font-weight: bold; 
    text-decoration: none; 
}

footer a:hover { 
    color: white; 
    text-decoration: underline; 
}
/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom: 1.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }


/*make dis good*/
.hp-hero {
    overflow: hidden;
}


/* Floating animation */

.floating {

    animation: float 4s ease-in-out infinite;

}


@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }

}


/* Fade in animation */

.fade-in {

    animation: fadeIn 1.2s ease forwards;
    opacity: 0;

}


.delay-1 {

    animation-delay: .5s;

}


@keyframes fadeIn {

    from {

        opacity:0;
        transform:translateY(30px);

    }

    to {

        opacity:1;
        transform:translateY(0);

    }

}


/* Image card */

.hero-card { 
    padding: 50px; 
    margin: 20px; 
    border-radius: 30px; 
    background: linear-gradient(
        135deg,
        var(--white),
        var(--dusty-rose)
    ); 
    box-shadow: 0px 20px 50px rgba(43, 98, 108, 0.15); 
}


/* Button hover */

.floating-button { 
    transition: .3s; 
}

.floating-button:hover { 
    transform: scale(1.08); 
}

.dna-animation {

    font-size: 100px;

    margin-top: 40px;

    animation: float 3s ease-in-out infinite;

}


@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }

}
/* Our Values section */
.our-values {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,  var(--white) 0%, var(--sage) 100%);
}

.section-label {
    color: var(--berry);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 0.7rem;
}

.value-card {
    height: 100%;
    padding: 2rem 1.4rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(42, 83, 52, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 83, 52, 0.18);
}

.value-image {
    width: 125px;
    height: 125px;
    object-fit: contain;
    margin: -0.5rem auto 1.2rem;
    display: block;
}

.value-card h3 {
    color: var(--deep-teal);
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-weight: bold;
}

.value-card p {
    color: var(--body-text);
}

.delay-2 { animation-delay: 0.8s; }
.delay-3 { animation-delay: 1.1s; }
.delay-4 { animation-delay: 1.4s; }


.float-slow {
    animation: float 5s ease-in-out infinite;
}

.float-medium {
    animation: float 4s ease-in-out infinite 0.5s;
}

.float-fast {
    animation: float 3.4s ease-in-out infinite 0.2s;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .float-slow,
    .float-medium,
    .float-fast {
        animation: none;
        opacity: 1;
    }
}


.hp-vertical-timeline {
    --timeline-progress: 0%;
    position: relative;
    min-height: 95vh;
    max-width: 1200px;
    margin: 4rem auto 6rem;
    padding: 1rem 0;
}

/* Base timeline plus its animated drawn portion */
.hp-timeline-line {
    position: absolute;
    z-index: 0;
    top: 50px;
    bottom: 50px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: var(--border);
}

.hp-timeline-line-fill {
    width: 100%;
    height: var(--timeline-progress);
    background: linear-gradient(to bottom, #8e6444, #b18357);
    box-shadow: 0 0 8px rgba(142, 100, 68, 0.35);
    transition: height 1.1s cubic-bezier(.22, 1, .36, 1);
}

.hp-milestone {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    min-height: 310px;
}

.hp-milestone-left {
    max-width: 370px;
    justify-self: end;
    text-align: right;
}

.hp-milestone-right {
    max-width: 390px;
}

.hp-timeline-label {
    margin-bottom: 0.65rem;
    color: var(--olive-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hp-milestone-left h2,
.hp-text-card h3 {
    color: var(--body-text);
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-weight: 700;
}

.hp-milestone-left h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.hp-milestone-left > p:last-child,
.hp-text-card > p:last-child {
    color: var(--body-text);
    line-height: 1.75;
}

.hp-milestone-center {
    position: relative;
    display: grid;
    min-height: 130px;
    place-items: center;
}

.hp-circle {
    position: relative;
    z-index: 2;
    width: clamp(90px, 8vw, 110px);
    height: clamp(90px, 8vw, 110px);
    overflow: hidden;
    border: 5px solid #fffdf9;
    border-radius: 50%;
    background: #e8ddce;
    box-shadow: 0 10px 24px rgba(70, 48, 34, 0.18);
    opacity: 0;
    transform: scale(0);
}

.hp-circle img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
}

.hp-circle img {
    background: linear-gradient(135deg, #d7c6ac, #f3ecdf);
}

.hp-circle-ring {
    position: absolute;
    z-index: 1;
    width: 130px;
    height: 130px;
    border: 2px solid var(--deep-teal);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.65);
}

/* Right-side text card */
.hp-text-card {
    padding: 1.65rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 254, 251, 0.88);
    box-shadow: 0 12px 32px rgba(70, 48, 34, 0.08);
}

.hp-connector-pulse {
    position: absolute;
    z-index: 3;
    top: calc(50% + 55px);
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--berry);
    box-shadow: 0 0 0 6px rgba(168, 120, 79, 0.16);
}

.hp-milestone:not(:last-child) .hp-connector-pulse {
    display: block;
}

/* Text starts hidden, ready to enter from opposite directions */
.hp-milestone-left,
.hp-milestone-right {
    opacity: 0;
}

.hp-milestone-left {
    transform: translateX(-55px);
}

.hp-milestone-right {
    transform: translateX(55px);
}

.hp-milestone.is-active .hp-milestone-left {
    animation: hp-slide-left 0.8s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hp-milestone.is-active .hp-milestone-right {
    animation: hp-slide-right 0.8s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hp-milestone.is-active .hp-circle {
    animation:
        hp-circle-arrive 0.72s cubic-bezier(.18, 1.4, .45, 1) forwards,
        hp-gentle-float 4s ease-in-out 0.9s infinite;
}

.hp-milestone.is-active .hp-circle-ring {
    animation: hp-ring-flash 0.9s ease-out 0.2s forwards;
}

.hp-milestone.is-active .hp-circle img {
    animation: hp-image-zoom 1s ease-out 0.15s forwards;
}

.hp-milestone.is-active .hp-connector-pulse {
    animation: hp-travel-pulse 1.25s ease-in 0.65s forwards;
}

/* Animations */
@keyframes hp-slide-left {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hp-slide-right {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hp-circle-arrive {
    0% { opacity: 0; transform: scale(0); }
    65% { opacity: 1; transform: scale(1.13); }
    82% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes hp-ring-flash {
    0% { opacity: 0; transform: scale(0.65); }
    35% { opacity: 0.9; }
    100% { opacity: 0; transform: scale(1.42); }
}

@keyframes hp-image-zoom {
    from { transform: scale(1.22); }
    to { transform: scale(1.03); }
}

@keyframes hp-gentle-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes hp-travel-pulse {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0);
    }
    12% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, 250px) scale(0.75);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 270px) scale(0);
    }
}

/* Mobile: the line shifts left */
@media (max-width: 768px) {
    .hp-vertical-timeline {
        margin-top: 2rem;
    }

    .hp-timeline-line {
        left: 53px;
    }

    .hp-milestone {
        grid-template-columns: 106px 1fr;
        gap: 0 1.2rem;
        align-items: start;
        min-height: 0;
        margin-bottom: 4rem;
    }

    .hp-milestone-center {
        grid-column: 1;
        grid-row: 1 / span 2;
        min-height: 120px;
    }

    .hp-milestone-left {
        grid-column: 2;
        grid-row: 1;
        max-width: none;
        justify-self: stretch;
        text-align: left;
    }

    .hp-milestone-right {
        grid-column: 2;
        grid-row: 2;
        max-width: none;
        margin-top: 1rem;
    }

    .hp-text-card {
        padding: 1.3rem;
    }

    .hp-connector-pulse {
        top: calc(50% + 50px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-timeline-line-fill {
        transition: none;
    }

    .hp-milestone-left,
    .hp-milestone-right,
    .hp-circle {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .hp-circle-ring,
    .hp-connector-pulse {
        display: none;
    }

    .hp-circle img {
        animation: none !important;
        transform: none;
    }
}

/* PESTLE analysis  */

.pestle-section {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    padding: 7rem 0;
    background:
        radial-gradient(circle at 15% 20%,var(--dusty-rose), transparent 26%),
        linear-gradient(135deg, var(--cream) 0%, var(--sage) 100%)
}

/*  background shapes */
.pestle-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.pestle-blob-one {
    top: 15%;
    left: -90px;
    width: 250px;
    height: 250px;
    background: var(--sage);
    opacity: 0.19;
}

.pestle-blob-two {
    right: -65px;
    bottom: 12%;
    width: 220px;
    height: 220px;
    background: var(--dusty-rose);
    opacity: 0.18;
}

.pestle-blob-three {
    top: 43%;
    right: 16%;
    width: 80px;
    height: 80px;
    background: var(--deep-teal);
    opacity: 0.20;
}

/* Title */
.pestle-heading {
    max-width: 710px;
    margin: 0 auto 3.7rem;
    opacity: 0;
    text-align: center;
    transform: translateY(28px);
}

.pestle-heading h2 {
    margin-bottom: 0.9rem;
    color: var(--dark-text);
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: bold;
}

.pestle-heading > p:last-child {
    color: var(--body-text);
    font-size: 1.08rem;
    line-height: 1.7;
}

.pestle-eyebrow {
    margin-bottom: 0.7rem;
    color: var(--olive-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}


.pestle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    max-width: 1060px;
    margin: auto;
}

.pestle-card {
    position: relative;
    min-height: 305px;
    padding: 2rem 1.8rem;
    overflow: hidden;
    border: 1px solid rgba(120, 94, 68, 0.15);
    border-radius: 22px;
    outline: none;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(77, 60, 43, 0.08);
    cursor: pointer;
    opacity: 0;
    transition:
        transform 0.35s cubic-bezier(.2, .8, .2, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.pestle-card::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0), rgba(245, 228, 196, 0.48));
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.pestle-card:hover,
.pestle-card:focus-visible {
    z-index: 2;
    border-color: var(--berry);
    background: var(--cream);
    box-shadow: 0 24px 42px rgba(77, 60, 43, 0.16);
    transform: translateY(-10px) scale(1.03);
}

.pestle-card:hover::before,
.pestle-card:focus-visible::before {
    opacity: 1;
}

/* Icon circles */
.pestle-icon {
    position: relative;
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 1.4rem;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 9px 20px rgba(69, 53, 37, 0.12);
    font-size: 2rem;
    transition: transform 0.35s ease;
}

.pestle-icon::after {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid currentColor;
    border-radius: inherit;
    content: "";
    opacity: 0;
}

.pestle-card:hover .pestle-icon,
.pestle-card:focus-visible .pestle-icon {
    transform: rotate(10deg) scale(1.12);
}

.political-icon {
    color: (var(--olive-green)2);
    background: linear-gradient(135deg, var(--sage), var(--olive-green));
}

.economic-icon {
    color: var(--forest-green);
    background: linear-gradient(135deg, var(--cream), var(--sage));
}

.social-icon {
    color: var(--berry);
    background: linear-gradient(135deg, var(--dusty-rose), var(--berry));
}

.technological-icon {
    color: var(--deal-teal);
    background: linear-gradient(135deg, var(--cream), var(--deep-teal));
}

.legal-icon {
    color: var(--berry);
    background: linear-gradient(135deg, var(--dusty-rose), var(--sage));
}

.environmental-icon {
    color: var(--olive-green);
    background: linear-gradient(135deg, var(--sage), var(--olive-green));
}

.pestle-card h3 {
    position: relative;
    margin-bottom: 0.7rem;
    color: var(--dark-text);
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-size: 1.45rem;
    font-weight: bold;
}

.pestle-card > p {
    position: relative;
    color: var(--body-text);
    line-height: 1.65;
}

.pestle-more {
    position: relative;
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 0.7rem;
    color: var(--berry);
    font-size: 0.84rem;
    font-weight: 700;
}

.pestle-more span {
    transition: transform 0.25s ease;
}

.pestle-card:hover .pestle-more span {
    transform: translateX(5px);
}

/* Expandable information */
.pestle-extra {
    position: relative;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: var(--body-text);
    line-height: 1.65;
    transition: max-height 0.5s ease, opacity 0.35s ease, margin 0.5s ease;
}

.pestle-expanded {
    z-index: 3;
    border-color: rgba(164, 42, 92, 0.4);
    background: rgba(255, 255, 255, 0.98);
}

.pestle-expanded .pestle-extra {
    max-height: 180px;
    margin-top: 1rem;
    opacity: 1;
}

.pestle-expanded .pestle-more span {
    display: inline-block;
    transform: rotate(90deg);
}

.pestle-visible .pestle-heading {
    animation: pestle-heading-in 0.8s ease forwards;
}

.pestle-visible .pestle-card {
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
}

.pestle-visible .pestle-political {
    animation-name: pestle-left-in;
    animation-delay: 0.2s;
}

.pestle-visible .pestle-economic {
    animation-name: pestle-up-in;
    animation-delay: 0.32s;
}

.pestle-visible .pestle-social {
    animation-name: pestle-right-in;
    animation-delay: 0.44s;
}

.pestle-visible .pestle-technological {
    animation-name: pestle-zoom-in;
    animation-delay: 0.56s;
}

.pestle-visible .pestle-legal {
    animation-name: pestle-rotate-in;
    animation-delay: 0.68s;
}

.pestle-visible .pestle-environmental {
    animation-name: pestle-bounce-in;
    animation-delay: 0.8s;
}

/* Floating icon  */
.pestle-visible .pestle-icon {
    animation: pestle-icon-float 4s ease-in-out 1.1s infinite;
}

.pestle-visible .pestle-icon::after {
    animation: pestle-icon-pulse 4s ease-out 1.1s infinite;
}

@keyframes pestle-heading-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pestle-left-in {
    from { opacity: 0; transform: translateX(-45px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pestle-up-in {
    from { opacity: 0; transform: translateY(38px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pestle-right-in {
    from { opacity: 0; transform: translateX(45px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pestle-zoom-in {
    from { opacity: 0; transform: scale(0.78); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pestle-rotate-in {
    from { opacity: 0; transform: rotate(-6deg) translateY(24px); }
    to { opacity: 1; transform: rotate(0) translateY(0); }
}

@keyframes pestle-bounce-in {
    0% { opacity: 0; transform: translateY(45px); }
    70% { opacity: 1; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pestle-icon-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

@keyframes pestle-icon-pulse {
    0%, 70%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    12% {
        opacity: 0.48;
        transform: scale(1.28);
    }
    30% {
        opacity: 0;
        transform: scale(1.45);
    }
}

@media (max-width: 991px) {
    .pestle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pestle-section {
        padding: 5rem 0;
    }

    .pestle-grid {
        grid-template-columns: 1fr;
    }

    .pestle-card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pestle-heading,
    .pestle-card {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .pestle-icon,
    .pestle-icon::after {
        animation: none !important;
    }

    .pestle-card,
    .pestle-icon {
        transition: none;
    }
}

/*  Stakeholder Map  */

.hp-stakeholder-section {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    padding: 3rem 0 5rem;
    background:
        radial-gradient(circle at 14% 22%, rgba(158, 178, 143, 0.42), transparent 25%),
        radial-gradient(circle at 87% 74%, rgba(216, 178, 200, 0.35), transparent 25%),
        linear-gradient(135deg,var(--cream), var(--dusty-rose));
}

.hp-stakeholder-heading {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(22px);
}

.hp-stakeholder-heading h2 {
    margin-bottom: 0.7rem;
    color: var(--dark-text);
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: bold;
}

.hp-stakeholder-heading > p:last-child {
    color: var(--body-text);
    line-height: 1.7;
}

.hp-stakeholder-eyebrow,
.hp-info-label {
    color: var(--berry);
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.14em;
}

/* Map area */
.hp-stakeholder-stage {
    position: relative;
    max-width: 1000px;
    height: 620px;
    margin: auto;
}

.hp-stakeholder-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hp-connection {
    stroke: var(--olive-green);
    stroke-width: 2;
    stroke-dasharray: 8 8;
    stroke-dashoffset: 300;
    opacity: 0.65;
}

/* Center */
.hp-project-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 154px;
    height: 154px;
    place-items: center;
    border: 2px solid var(--sage);
    border-radius: 50%;
    background: rgba(248, 247, 242, 0.96);
    box-shadow: 0 14px 30px rgba(43, 98, 108, 0.13);
    color: var(--dark-text);
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
}

.hp-project-center h3 {
    margin: -0.7rem 0 0;
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.15;
}

.hp-project-icon {
    font-size: 2.1rem;
}

/* Stakeholder cards */
.hp-stakeholder-card {
    position: absolute;
    z-index: 2;
    display: flex;
    min-width: 155px;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(69, 99, 42, 0.15);
    border-radius: 18px;
    outline: none;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 20px rgba(43, 98, 108, 0.08);
    color: var(--dark-text);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease,
        border-color 0.28s ease, background 0.28s ease;
}

.hp-card-icon {
    display: grid;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--dusty-rose);
    font-size: 1.05rem;
}

.hp-stakeholder-card:hover,
.hp-stakeholder-card:focus-visible,
.hp-card-selected {
    border-color: var(--berry );
    outline: none;
    background: var(--white);
    box-shadow: 0 16px 28px rgba(43, 98, 108, 0.16);
    transform: translateY(-7px) scale(1.04);
}

.hp-card-selected {
    background: var(--sage);
}

/* Stakeholder positions */
.hp-academic { top: 8%; left: 7%; }
.hp-industry { top: 8%; right: 7%; }
.hp-students { top: 44%; left: 0; }
.hp-policy { top: 44%; right: 0; }
.hp-local { bottom: 8%; left: 7%; }
.hp-ngos { right: 7%; bottom: 8%; }

/* Description panel */
.hp-stakeholder-info {
    display: flex;
    max-width: 680px;
    align-items: flex-start;
    gap: 1rem;
    margin: -0.5rem auto 0;
    padding: 1.3rem 1.5rem;
    border: 1px solid rgba(69, 99, 42, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 25px rgba(43, 98, 108, 0.07);
}

.hp-stakeholder-info h3 {
    margin: 0.1rem 0 0.4rem;
    color: var(--dark-text);
    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
}

.hp-stakeholder-info p:last-child {
    margin: 0;
    color: var(--body-text);
    line-height: 1.6;
}

.hp-info-symbol {
    display: grid;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--dusty-rose);
    color: var(--berry);
    font-size: 1.2rem;
}

/* Onetime animation */
.hp-map-ready .hp-stakeholder-heading {
    animation: hp-map-rise 0.7s ease forwards;
}

.hp-map-ready .hp-project-center {
    animation: hp-project-appear 0.7s 0.2s cubic-bezier(.22, 1.3, .4, 1) forwards;
}

.hp-map-ready .hp-connection {
    animation: hp-draw-line 0.9s ease forwards;
}

.hp-map-ready .hp-stakeholder-card {
    animation: hp-card-appear 0.6s cubic-bezier(.22, 1.2, .4, 1) forwards;
}

.hp-map-ready .hp-academic { animation-delay: 0.45s; }
.hp-map-ready .hp-industry { animation-delay: 0.55s; }
.hp-map-ready .hp-students { animation-delay: 0.65s; }
.hp-map-ready .hp-policy { animation-delay: 0.75s; }
.hp-map-ready .hp-local { animation-delay: 0.85s; }
.hp-map-ready .hp-ngos { animation-delay: 0.95s; }

@keyframes hp-map-rise {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hp-project-appear {
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes hp-draw-line {
    to { stroke-dashoffset: 0; }
}

@keyframes hp-card-appear {
    from { opacity: 0; transform: translateY(18px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mobile */
@media (max-width: 768px) {
    .hp-stakeholder-stage {
        display: grid;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .hp-stakeholder-lines {
        display: none;
    }

    .hp-project-center,
    .hp-stakeholder-card {
        position: static;
        width: auto;
        min-width: 0;
        transform: none;
    }

    .hp-project-center {
        width: 130px;
        height: 130px;
        grid-column: 1 / -1;
        justify-self: center;
        margin-bottom: 1rem;
    }

    .hp-map-ready .hp-project-center {
        animation: hp-project-mobile 0.7s 0.2s ease forwards;
    }

    .hp-stakeholder-card {
        min-height: 95px;
    }

    .hp-stakeholder-info {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hp-stakeholder-stage {
        grid-template-columns: 1fr;
    }

    .hp-stakeholder-card {
        min-height: 72px;
    }
}

@keyframes hp-project-mobile {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hp-stakeholder-heading,
    .hp-project-center,
    .hp-stakeholder-card {
        opacity: 1;
        animation: none !important;
        transform: none;
    }

    .hp-connection {
        stroke-dashoffset: 0;
        animation: none !important;
    }
}

/* Causal Loop Diagram  */

.cld-section {

    padding: 2rem 0 5rem;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(158, 178, 143, 0.55),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(216, 178, 200, 0.42),
            transparent 30%
        ),

        var(--cream);

}

.cld-heading {

    max-width: 700px;

    margin: 0 auto 1.8rem;

    text-align: center;

    animation: cld-fade-up 0.75s ease forwards;

}

.cld-eyebrow {

    margin-bottom: 0.55rem;

    color: var(--berry);

    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;

}

.cld-heading h2,
.cld-shared-variables h3 {

    color: var(--deep-teal);

    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;

    font-weight: bold;

}

.cld-heading h2 {

    margin-bottom: 0.8rem;

    font-size: clamp(2.1rem, 4vw, 3.2rem);

    letter-spacing: -0.02em;

}

.cld-heading > p:last-child {

    color: var(--body-text);

    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;

    line-height: 1.7;

}

/* Legend */
.cld-legend {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.8rem 1.4rem;

    margin-bottom: 2rem;

    color: var(--body-text);

    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;

    font-size: 0.82rem;

}

.cld-legend span {

    display: flex;

    align-items: center;

    gap: 0.45rem;

}

.cld-dot {

    display: inline-block;

    width: 10px;

    height: 10px;

    border-radius: 50%;

}

.cld-reinforcing {

    background: var(--forest-green);

}

.cld-balancing {

    background: var(--berry);

}

.cld-variable {

    background: var(--olive-green);

}


/*Mobile */

.cld-scroll-area {

    overflow-x: auto;

    padding: 0.5rem 0 1.5rem;

}

.cld-diagram {

    position: relative;

    width: 100%;

    min-width: 780px;

    max-width: 1000px;

    height: 600px;

    margin: auto;

    border: 1px solid rgba(69, 99, 42, 0.15);

    border-radius: 28px;

    background: rgba(255, 255, 255, 0.8);

    box-shadow: 0 18px 40px rgba(43, 98, 108, 0.08);

    animation: cld-fade-up 0.9s ease 0.15s both;

}

.cld-arrows {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

}

.cld-arrow {

    fill: none;

    stroke: var(--deep-teal);

    stroke-width: 2.5;

    stroke-linecap: round;

}

.cld-reinforcing-line {

    stroke: var(--forest-green);

}

.cld-balancing-line {

    stroke: var(--berry);

    stroke-dasharray: 7 6;

}


/* Variable boxes */

.cld-variable-box {

    position: absolute;

    z-index: 2;

    display: flex;

    width: 150px;

    min-height: 76px;

    align-items: center;

    justify-content: center;

    gap: 0.55rem;

    padding: 0.75rem;

    border: 1px solid rgba(123, 139, 78, 0.35);

    border-radius: 15px;

    background: var(--white);

    box-shadow: 0 8px 18px rgba(43, 98, 108, 0.1);

    color: var(--dark-text);

    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;

    font-size: 0.85rem;

    font-weight: 700;

    line-height: 1.15;

    text-align: center;

    transition: transform 0.25s ease, box-shadow 0.25s ease,

        border-color 0.25s ease;

}

.cld-variable-box:hover {

    z-index: 3;

    border-color: var(--berry);

    box-shadow: 0 14px 25px rgba(43, 98, 108, 0.17);

    transform: translateY(-6px) scale(1.04);

}

.cld-variable-icon {

    display: grid;
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;

    background: var(--sage);

    font-size: 1rem;

}

.cld-awareness {

    top: 7%;
    left: calc(50% - 75px);

}

.cld-engagement {

    top: 42%;
    left: 14%;

}

.cld-value {

    top: 42%;
    left: calc(50% - 75px);

}

.cld-adoption {

    top: 42%;
    right: 14%;

}

.cld-impact {

    bottom: 7%;
    left: calc(50% - 75px);

}


/* Loop labels */

.cld-loop {

    position: absolute;
    z-index: 2;

    display: grid;
    width: 34px;
    height: 34px;

    place-items: center;

    border-radius: 50%;

    box-shadow: 0 5px 12px rgba(43, 98, 108, 0.14);

    color: var(--white);

    font-size: 0.78rem;
    font-weight: 700;

}


/* Reinforcing loops */

.cld-r1 {

    top: 57%;
    left: 17%;

    background: var(--forest-green);

}

.cld-r2 {

    top: 18%;
    right: 16%;

    background: var(--forest-green);

}


/* Balancing loop */

.cld-b1 {

    top: 21%;
    left: 58%;

    background: var(--berry);

}



.cld-sign {

    position: absolute;
    z-index: 2;

    display: grid;
    width: 23px;
    height: 23px;

    place-items: center;

    border-radius: 50%;

    background: var(--white);

    box-shadow: 0 3px 9px rgba(43, 98, 108, 0.13);

    color: var(--forest-green);

    font-size: 0.9rem;
    font-weight: 700;

}

.cld-sign-one {
    top: 24%;
    left: 31%;
}

.cld-sign-two {
    top: 46%;
    left: 40%;
}

.cld-sign-three {
    top: 46%;
    right: 40%;
}

.cld-sign-four {
    top: 61%;
    right: 30%;
}

.cld-sign-five {
    bottom: 23%;
    left: 24%;
}

.cld-sign-six {
    top: 16%;
    right: 25%;
}


/* Balancing relationship */

.cld-sign-seven {

    top: 21%;
    left: 59%;

    color: var(--berry);

}

/* Key Shared Variables */
.cld-shared-variables {

    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 1.5rem 1.7rem;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.7);

    box-shadow: 0 10px 24px rgba(43, 98, 108, 0.06);

}

.cld-shared-heading {

    display: flex;
    align-items: center;
    gap: 0.85rem;

}

.cld-shared-heading > span {

    display: grid;
    width: 42px;
    height: 42px;

    place-items: center;

    border-radius: 50%;

    background: var(--sage);
    color: var(--forest-green);

    font-size: 1.3rem;

}

.cld-shared-variables h3 {

    margin: 0;

    font-size: 1.35rem;

}

.cld-shared-variables .cld-eyebrow {

    margin: 0 0 0.25rem;

}

.cld-shared-variables ul {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 0.65rem 2rem;

    margin: 1.35rem 0 0;
    padding: 0;

    color: var(--body-text);

    list-style: none;

}

.cld-shared-variables li::before {

    margin-right: 0.6rem;

    color: var(--forest-green);

    content: "•";

}


/* Subtle  motion */

@keyframes cld-fade-up {

    from {

        opacity: 0;
        transform: translateY(22px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}
@media (max-width: 600px) {
    .cld-section {
        padding-top: 1rem;
    }

    .cld-scroll-area {
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .cld-shared-variables ul {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cld-heading,
    .cld-diagram {
        animation: none;
    }

    .cld-variable-box {
        transition: none;
    }
}



.iceberg-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 30px 80px;
}

.iceberg-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.page-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--deep-teal);
    margin-bottom: 10px;
}

.iceberg-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.iceberg-header > p:last-child {
    color: var(--body-text);
    line-height: 1.7;
}


/* MAIN SECTION */

.iceberg-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}


/* ICEBERG */

.iceberg-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(
        to bottom,
        var(--cream) 0%,
        var(--cream) 39%,
        var(--dusty-rose) 40%,
        var(--deep-teal) 100%
    );
    border: 1px solid var(--border);
}


/* WATER LINE */

.water-line {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    border-top: 2px dashed rgba(43, 98, 108, 0.35);
    z-index: 5;
}

.water-line span {
    position: absolute;
    top: -28px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--deap-teal);
}

.water-line span:first-child {
    left: 20px;
}

.water-line span:last-child {
    right: 20px;
}


/* ICEBERG SHAPE */

.iceberg {
    position: absolute;
    width: 250px;
    height: 420px;
    left: 50%;
    top: 90px;
    transform: translateX(-50%);
    animation: floatIceberg 4s ease-in-out infinite;
    z-index: 2;
}

.iceberg-top {
    position: absolute;
    top: 0;
    left: 55px;
    width: 140px;
    height: 150px;
    background: linear-gradient(
        135deg,
        var(--white),
        var(--sage)
    );
    clip-path: polygon(
        50% 0%,
        100% 72%,
        83% 100%,
        22% 94%,
        0% 58%
    );
}

.snow-cap {
    position: absolute;
    width: 85px;
    height: 45px;
    left: 30px;
    top: 0;
    background: white;
    clip-path: polygon(
        50% 0%,
        100% 80%,
        65% 65%,
        45% 100%,
        25% 65%,
        0% 80%
    );
}

.iceberg-bottom {
    position: absolute;
    top: 115px;
    left: 20px;
    width: 210px;
    height: 310px;
    background: linear-gradient(
        135deg,
        var(--sage),
        var(--deep-teal)
    );
    clip-path: polygon(
        18% 0%,
        83% 0%,
        100% 25%,
        78% 55%,
        91% 82%,
        58% 100%,
        28% 83%,
        0% 92%,
        14% 55%,
        3% 28%
    );
    opacity: 0.85;
}


/* LEVEL LABELS */

.iceberg-level {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 185px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.iceberg-level strong {
    display: block;
    color: var(--dark-text);
    font-size: 14px;
}

.iceberg-level p {
    margin: 3px 0 0;
    font-size: 10px;
    line-height: 1.3;
    color: var(--body-text);
}

.level-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--deep-teal);
    flex-shrink: 0;
}

.iceberg-level:hover,
.iceberg-level.highlight {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(58, 93, 108, 0.15);
}

.level-events {
    top: 18%;
    right: 15px;
}

.level-patterns {
    top: 47%;
    right: 15px;
}

.level-structures {
    top: 64%;
    left: 15px;
}

.level-models {
    top: 80%;
    right: 15px;
}


/* INFORMATION CARDS */

.iceberg-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.iceberg-card {
    display: none;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(43, 98, 108, 0.06);
    animation: cardAppear 0.35s ease;
}

.iceberg-card.active {
    display: grid;
}

.card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: var(--sage);
    color: var(--forest-green);
    font-size: 23px;
}

.iceberg-card h2 {
    margin: 0 0 6px;
    font-size: 24px;
    color: var(--deep-teal);

    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-weight: 700;

}

.card-question {
    font-size: 13px;
    font-weight: 600;
    color: var(--berry);
    margin-bottom: 15px;
}

.iceberg-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-text);
}

.card-example {
    margin-top: 20px;
    padding: 15px;
    border-left: 3px solid var(--dusty-rose);
    background: var(--cream);
    border-radius: 0 8px 8px 0;
}

.card-example strong {
    font-size: 12px;
    color: var(--forest-green);
}

.card-example p {
    margin: 5px 0 0;
    font-size: 12px;
}


/* TAKEAWAY */

.iceberg-takeaway {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 55px;
    padding: 28px 32px;
    border-radius: 16px;
    background: var(--dusty-rose);
    border: 1px solid var(--border);
}

.takeaway-icon {
    font-size: 32px;
}

.iceberg-takeaway h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--dark-text);
}

.iceberg-takeaway p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-text);
}


/* ANIMATIONS */

@keyframes floatIceberg {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* MOBILE */

@media (max-width: 850px) {

    .iceberg-section {
        grid-template-columns: 1fr;
    }

    .iceberg-container {
        height: 550px;
    }

    .iceberg-header h1 {
        font-size: 34px;
    }
}

@media (max-width: 500px) {

    .iceberg-page {
        padding: 35px 15px;
    }

    .iceberg-container {
        height: 500px;
    }

    .iceberg-level {
        width: 145px;
    }

    .iceberg-level p {
        display: none;
    }

    .iceberg {
        transform: translateX(-50%) scale(0.85);
    }

    .iceberg-card {
        grid-template-columns: 1fr;
    }
}


/* LEVERAGE POINTS PAGE*/

.leverage-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 30px 80px;
}


/* HEADER */

.leverage-header {
    text-align: center;
    margin-bottom: 45px;
}

.leverage-header .page-label {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;

    color: var(--berry);
}

.leverage-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
     color: var(--deep-teal);

    font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-weight: 700;
}

.leverage-header p:last-child {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--body-text);
}



/* SECTION TITLES */

.leverage-section h2,
.impact-section h2 {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--forest-green);
     font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
    font-weight: 700;
}



/*  LEVERAGE CARDS */

.leverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--cream);
}


.leverage-card {
    min-height: 190px;
    padding: 20px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    background: var(--white);

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}


.leverage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(43, 98, 108, 0.12);
}


.leverage-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--dusty-rose);
    color: var(--berry);

    font-size: 24px;
}


.leverage-card h3 {
    margin: 8px 0;
    font-size: 17px;
    color: var(--deep-teal);

    font-weight: 700;
}


.leverage-card p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--body-text);
}


.small-lines {
    margin-top: 14px;
}


.small-lines span {
    display: block;
    height: 5px;
    margin: 5px auto;
    border-radius: 5px;
    background: var(--sage);
}


.small-lines span:nth-child(1) {
    width: 85%;
}


.small-lines span:nth-child(2) {
    width: 65%;
}


.small-lines span:nth-child(3) {
    width: 45%;
}




.impact-section {
    margin-top: 40px;
}


.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--cream);
}


.impact-card {
    min-height: 210px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}


.impact-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;
}


.impact-title h3 {
    margin: 0;
    font-size: 17px;
    color: var(--deep-teal);
    font-weight: 700;


}


.impact-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 20px;
    font-weight: bold;
}


.positive .impact-icon {
    background: var(--sage);
    color: var(--forest-green);
}


.negative .impact-icon {
    background: var(--dusty-rose);
    color: var(--berry);
}


.opportunities .impact-icon {
    background: var(--olive-green);
    color: var(--white);
}



/* IMPACT LIST */

.impact-item {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 12px 0;
    color: var(--body-text);
}


.impact-item span {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;
}


.positive .impact-item span {
    background: var(--sage);
}


.negative .impact-item span {
    background: var(--berry);
}


.opportunities .impact-item span {
    background: var(--olive-green);
}


.impact-item p {
    margin: 0;
color: var(--body-text);
    font-size: 14px;
    line-height: 1.6;
}



/* RESPONSIVE */

@media (max-width: 800px) {

    .leverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .leverage-page {
        padding: 30px 15px;
    }

    .leverage-header h1 {
        font-size: 30px;
    }

    .leverage-grid {
        grid-template-columns: 1fr;
    }

}



.implementation-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 30px 80px;
        background: var(--dusty-rose);

}



/* HEADER
 */

.implementation-header {
    text-align: center;
    margin-bottom: 40px;
}

.implementation-header .page-label {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
}

.implementation-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.implementation-header p:last-child {
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}





.implementation-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
}



/* 
   SECTION TITLES
 */

.implementation-left h2,
.implementation-right h2 {
    font-size: 21px;
    margin-bottom: 12px;
}





.use-section {
    margin-bottom: 20px;
}

.use-card {
    min-height: 115px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--white);
    box-shadow:0 6px 18px rgba(43, 98, 108, 0.06);
}  


.use-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--sage);
    color: var(--forest-green);

    font-size: 25px;
}

.use-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--deep-teal);
}

.use-card p {
    margin: 0;
    font-size: 14px;
    color: var(--body-text);
      font-size: 14px;
    line-height: 1.6;
}





.small-lines {
    margin-top: 12px;
}

.small-lines span {
    display: block;

    height: 5px;

    margin: 5px 0;

    border-radius: 5px;

    background: var(--sage);
}

.small-lines span:nth-child(1) {
    width: 85%;
}

.small-lines span:nth-child(2) {
    width: 65%;
}

.small-lines span:nth-child(3) {
    width: 45%;
}





.pathway-section {
    margin-bottom: 20px;
}

.pathway-card {
    padding: 25px 20px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--white);
     box-shadow: 0 6px 18px rgba(43, 98, 108, 0.06);

}

.pathway {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pathway-step {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    min-width: 55px;
}

.step-number {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--berry);
    border-radius: 50%;

    background: var(--dusty-rose);
    color: var(--berry);

    font-weight: 600;
}

.pathway-step p {
    margin: 8px 0 0;

    font-size: 12px;
    color: var(--body-text);
}

.pathway-line {
    flex: 1;

    height: 1px;

    margin: 0 5px;

    background: var(--sage);
}



/* 
   FEASIBILITY*/

.feasibility-section {
    margin-bottom: 20px;
}

.feasibility-card {
    display: flex;

    gap: 18px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--white);
     box-shadow: 0 6px 18px rgba(43, 98, 108, 0.06);
}

.feasibility-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--sage);
    color: var(--forest-green);

    font-size: 21px;
}

.feasibility-list {
    width: 100%;
}

.feasibility-item {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;
}

.feasibility-item:last-child {
    margin-bottom: 0;
}

.feasibility-item span {
    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--olive-green);
}

.feasibility-item p {
    margin: 0;

    font-size: 13px;
    color: var(--body-text);
    line-height: 1.5;
    font-size: 13px;
}



/* 
   IHP FRAMEWORK
 */

.ihp-section {
    margin-bottom: 20px;
}

.ihp-card {
    min-height: 350px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--white);
     box-shadow: 0 6px 18px rgba(43, 98, 108, 0.06);

    text-align: center;
}

.ihp-subtitle {
    font-size: 14px;
    color:var(--body-text);

    font-weight: 600;

    margin-bottom: 10px;
}



/* 
   FRAMEWORK CIRCLE
*/


.ihp-framework {
    position: relative;

    width: 260px;
    height: 260px;

    margin: 10px auto;
}

.framework-center {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--deep-teal);

    border-radius: 50%;

    background: var(--cream);
    color: var(--deep-teal);

    font-weight: 600;

    z-index: 3;
}

.framework-step {
    position: absolute;

    width: 65px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--sage);

    border-radius: 20px;

    background: var(--dusty-rose);
    color: var(--berry);

    font-size: 12px;

    z-index: 3;
}

.framework-top {
    top: 10px;
    left: 50%;

    transform: translateX(-50%);
}

.framework-right {
    right: 5px;
    top: 50%;

    transform: translateY(-50%);
}

.framework-bottom {
    bottom: 10px;
    left: 50%;

    transform: translateX(-50%);
}

.framework-left {
    left: 5px;
    top: 50%;

    transform: translateY(-50%);
}



/* CIRCLE LINES */

.framework-line {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 85px;
    height: 1px;

    background: var(--sage);

    transform-origin: left center;

    z-index: 1;
}

.line-one {
    transform: rotate(-90deg);
}

.line-two {
    transform: rotate(0deg);
}

.line-three {
    transform: rotate(90deg);
}

.line-four {
    transform: rotate(180deg);
}





.future-section {
    margin-top: 20px;
}

.future-card {
    min-height: 130px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--white);
     box-shadow: 0 6px 18px rgba(43, 98, 108, 0.06);
}

.future-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--olive-green);
    color: var(--white);

    font-size: 23px;
}

.future-card p {
    margin: 0;

    font-size: 14px;
    color: var(--body-text);
    line-height: 1.6;


}



/* 
   RESPONSIVE
 */

@media (max-width: 800px) {

    .implementation-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 550px) {

    .implementation-page {
        padding: 30px 15px;
    }

    .implementation-header h1 {
        font-size: 30px;
    }

    .pathway {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pathway-line {
        display: none;
    }

    .ihp-framework {
        transform: scale(0.9);
    }

}
/* 
   HOMEPAGE INTERACTIVE SECTION
 */

.microplastic-section {
    width: 100%;
    min-height: 650px;

    display: flex;
    align-items: center;

    justify-content: center;

    gap: 100px;

    padding: 70px 40px;

    background: #f5f0e6;
}


/* 
   LEFT SIDE
 */

.microplastic-interactive {
    position: relative;

    width: 430px;

    min-height: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;

    cursor: pointer;

    transition: all .6s ease;
}


/* 
   MOLECULE
 */

.microplastic-illustration {

    position: relative;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #b7e3e5,
            #72c4cd 55%,
            #259baa 100%
        );

    box-shadow:
        0 20px 45px rgba(36, 121, 132, .18),
        inset 10px 10px 20px rgba(255,255,255,.35);

    transition:
        width .7s cubic-bezier(.22,1,.36,1),
        height .7s cubic-bezier(.22,1,.36,1),
        transform .7s cubic-bezier(.22,1,.36,1);
}


   BUBBLES
 */

.bubble {
    position: absolute;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: #e8f5f3;

    box-shadow:
        5px 8px 15px rgba(0,0,0,.08),
        inset 5px 5px 10px rgba(255,255,255,.7);

    transition: all .7s ease;
}

.bubble-1 {
    top: 20px;
    left: 55px;
}

.bubble-2 {
    top: 55px;
    right: 25px;
}

.bubble-3 {
    bottom: 35px;
    left: 35px;
}

.bubble-4 {
    bottom: 25px;
    right: 55px;
}


/* CENTER */

.molecule-center {

    position: absolute;

    width: 105px;
    height: 105px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dcefee;

    font-size: 35px;

    color: #c52d72;

    box-shadow:
        0 10px 25px rgba(0,0,0,.12),
        inset 5px 5px 10px rgba(255,255,255,.7);
}


/* LABEL */

.molecule-label {

    position: absolute;

    bottom: -40px;
    left: 50%;

    transform: translateX(-50%);

    white-space: nowrap;

    font-family: Arial, sans-serif;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    color: #263b3e;
}


/* 
   CLICK ME
 */

.click-label {

    margin-top: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: Georgia, serif;

    font-size: 21px;

    color: #c52d72;

    transition: all .4s ease;
}

.click-arrow {

    margin-top: 5px;

    animation: bounceArrow 1.5s infinite;
}

@keyframes bounceArrow {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}


/* 
   RIGHT SIDE TEXT
 */

.home-introduction {

    width: 500px;

    max-width: 90vw;
}


/* SMALL LABEL */

.intro-label {

    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    color: #c52d72;

    text-transform: uppercase;
}


/* MAIN HEADING */

.home-introduction h2 {

    margin-top: 18px;

    margin-bottom: 25px;

    font-family: Georgia, serif;

    font-size: 48px;

    line-height: 1.1;

    font-weight: 400;

    color: #263b3e;
}

.home-introduction h2 span {

    color: #259baa;

    font-style: italic;
}


/* BODY */

.intro-text {

    font-size: 17px;

    line-height: 1.8;

    color: #526164;

    margin-bottom: 18px;
}


/* LINE */

.intro-line {

    width: 70px;

    height: 3px;

    margin: 30px 0;

    background: #c52d72;
}


/* SMALL TEXT */

.intro-small {

    font-size: 14px;

    line-height: 1.7;

    color: #7b888a;

    max-width: 430px;
}


/* 
   EXPANDED STATE
 */

.microplastic-interactive.open {

    width: 500px;
}


/* SMALLER MOLECULE */

.microplastic-interactive.open .microplastic-illustration {

    width: 130px;
    height: 130px;

    transform: translateY(-5px);
}

.microplastic-interactive.open .molecule-center {

    width: 50px;
    height: 50px;

    font-size: 20px;
}

.microplastic-interactive.open .bubble {

    width: 28px;
    height: 28px;
}

.microplastic-interactive.open .bubble-1 {
    top: 8px;
    left: 25px;
}

.microplastic-interactive.open .bubble-2 {
    top: 18px;
    right: 8px;
}

.microplastic-interactive.open .bubble-3 {
    bottom: 10px;
    left: 10px;
}

.microplastic-interactive.open .bubble-4 {
    bottom: 8px;
    right: 25px;
}

.microplastic-interactive.open .molecule-label {
    display: none;
}


/* HIDE CLICK */

.microplastic-interactive.open .click-label {
    display: none;
}


/* CONTENT */

.microplastic-content {

    width: 100%;

    max-height: 0;

    opacity: 0;

    overflow: hidden;

    margin-top: 0;

    padding: 0 30px;

    background: #fffaf1;

    border-radius: 28px;

    transform: translateY(20px);

    transition:
        max-height .7s ease,
        opacity .5s ease,
        margin-top .6s ease,
        padding .6s ease,
        transform .6s ease;
}


/* OPEN CONTENT */

.microplastic-interactive.open .microplastic-content {

    max-height: 600px;

    opacity: 1;

    margin-top: 15px;

    padding: 30px;

    transform: translateY(0);
}


/* HEADING */

.content-heading {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 18px;
}

.content-heading h2 {

    margin: 0;

    font-family: Georgia, serif;

    font-size: 27px;

    color: #263b3e;
}

.content-number {

    font-family: Arial, sans-serif;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

    color: #c52d72;
}


/* CONTENT TEXT */

.microplastic-content > p {

    font-size: 15px;

    line-height: 1.7;

    color: #526164;

    margin-bottom: 15px;
}


/* FACT */

.microplastic-fact {

    display: flex;

    gap: 15px;

    padding: 18px;

    margin-top: 20px;

    border-left: 3px solid #c52d72;

    background: #edf6f3;

    border-radius: 0 15px 15px 0;
}

.microplastic-fact > span {

    font-size: 22px;

    color: #c52d72;
}

.microplastic-fact strong {

    font-family: Georgia, serif;

    color: #263b3e;
}

.microplastic-fact p {

    margin: 4px 0 0;

    font-size: 13px;

    line-height: 1.5;

    color: #667477;
}


/* CLOSE */

.close-hint {

    margin-top: 20px;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 2px;

    color: #9aa5a6;
}


/* 
   MOBILE
 */

@media (max-width: 900px) {

    .microplastic-section {

        flex-direction: column;

        gap: 50px;

        padding: 60px 20px;
    }

    .microplastic-interactive {

        width: 100%;
    }

    .home-introduction {

        width: 100%;

        text-align: center;
    }

    .intro-line {

        margin: 25px auto;
    }

    .intro-small {

        margin: auto;
    }
    .home-introduction h2 {
        font-size: 38px;
    }
}


/* Homepage logo size */
.final-logo {
    width: 180px;
    height: auto;
}

/* 
   HOMEPAGE STORY SECTIONS
 */

.home-story {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 60px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;

    align-items: center;
}


/* IMAGE */

.home-story-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;

    overflow: hidden;
    border-radius: 28px;

    background: var(--sage);

    box-shadow:
        0 20px 45px rgba(43, 98, 108, 0.12);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}


.home-story-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.22,1,.36,1);
}
.home-story-left .home-story-image img {
    object-fit: contain;
    padding: 30px;
}

/* IMAGE HOVER */

.home-story-image:hover {
    transform: translateY(-8px);

    box-shadow:
        0 30px 55px rgba(43, 98, 108, 0.18);
}


.home-story-image:hover img {
    transform: scale(1.04);
}


/* IMAGE LABEL */

.story-image-label {
    position: absolute;

    bottom: 18px;
    left: 18px;

    padding: 8px 12px;

    border-radius: 20px;

    background: rgba(255,255,255,0.88);

    color: var(--deep-teal);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* TEXT */

.home-story-text {
    max-width: 500px;
}


.story-eyebrow {
    display: block;

    margin-bottom: 15px;

    color: var(--berry);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


/* HEADING */

.home-story-text h2 {
    margin: 0 0 25px;

    color: var(--dark-text);

    font-family: Georgia, serif;

    font-size: clamp(2.4rem, 4vw, 3.6rem);

    font-weight: 400;

    line-height: 1.08;
}


.home-story-text h2 span {
    display: block;

    color: var(--deep-teal);

    font-style: italic;
}


/* PARAGRAPHS */

.home-story-text p {
    margin-bottom: 18px;

    color: var(--body-text);

    font-size: 16px;

    line-height: 1.8;
}


/* DECORATIVE LINE */

.story-accent {
    width: 65px;
    height: 3px;

    margin: 28px 0 18px;

    background: var(--berry);

    border-radius: 5px;
}


/* NUMBER */

.story-number {
    color: var(--olive-green);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}


/* 
   SCROLL ANIMATION
 */

.home-story-image,
.home-story-text {
    opacity: 0;

    transform: translateY(45px);
}


.home-story.is-visible .home-story-image {
    animation:
        story-image-in 0.9s cubic-bezier(.22,1,.36,1)
        forwards;
}


.home-story.is-visible .home-story-text {
    animation:
        story-text-in 0.9s cubic-bezier(.22,1,.36,1)
        0.15s
        forwards;
}


@keyframes story-image-in {

    from {
        opacity: 0;
        transform: translateY(45px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes story-text-in {

    from {
        opacity: 0;
        transform: translateY(45px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* 
   MOBILE
 */

@media (max-width: 850px) {

    .home-story,
    .home-story-right {

        grid-template-columns: 1fr;

        gap: 45px;

        padding: 80px 25px;

    }

    .home-story-image {

        max-width: 600px;

        margin: auto;

    }

    .home-story-text {

        max-width: 600px;

        margin: auto;

    }

    .home-story-right .home-story-image {
        grid-row: 1;
    }

    .home-story-right .home-story-text {
        grid-row: 2;
    }

}


/* 
   REDUCED MOTION
 */

@media (prefers-reduced-motion: reduce) {

    .home-story-image,
    .home-story-text {

        opacity: 1;

        transform: none;

        animation: none !important;

    }

    .home-story-image,
    .home-story-image img {

        transition: none;

    }

}


.work-section {
    position: relative;
    width: 100%;
    padding: 100px 6%;
    background: var(--cream);
    overflow: hidden;
}

.work-header {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.work-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--berry);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.work-header h2 {
    margin: 0 0 20px;
    color: var(--deep-teal);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
}

.work-header h2 span {
    color: var(--berry);
}

.work-header p {
    margin: 0 auto;
    max-width: 650px;
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* 
   TABS
 */

.work-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;

    /* IMPORTANT */
    opacity: 1;
    visibility: visible;
}


/* Individual cards */

.work-tab {
    position: relative;
    display: flex;
    flex-direction: column;

    min-height: 360px;
    padding: 30px;

    text-decoration: none;

    background: var(--white);
    border: 1px solid rgba(47, 105, 117, 0.15);
    border-radius: 24px;

    overflow: hidden;

    opacity: 1;
    visibility: visible;

    color: var(--dark-text);

    box-shadow: 0 15px 35px rgba(43, 98, 108, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Hover */

.work-tab:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(43, 98, 108, 0.16);
}


/* Number */

.work-tab-number {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--berry);
}


/* Icon */

.work-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    margin: 30px 0 25px;

    border-radius: 50%;

    background: var(--sage);
    color: var(--deep-teal);

    font-size: 2rem;
}


/* Content */

.work-tab-content {
    position: relative;
    z-index: 2;
}

.work-tab-content h3 {
    margin: 0 0 12px;

    color: var(--deep-teal);

    font-size: 1.5rem;
    font-weight: 700;
}

.work-tab-content p {
    margin: 0;

    color: var(--dark-text);

    font-size: 0.95rem;
    line-height: 1.7;
}


/* Explore link */

.work-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 25px;

    color: var(--berry);

    font-size: 0.9rem;
    font-weight: 700;
}

.work-tab-link span {
    transition: transform 0.25s ease;
}

.work-tab:hover .work-tab-link span {
    transform: translateX(5px);
}


/* 
   CARD ACCENTS
 */

.work-tab-hp {
    border-top: 5px solid var(--deep-teal);
}

.work-tab-art {
    border-top: 5px solid var(--berry);
}

.work-tab-engineering {
    border-top: 5px solid var(--forest-green);
}

.work-tab-entrepreneurship {
    border-top: 5px solid var(--olive-green);
}


/* 
   MOBILE
 */

@media (max-width: 1000px) {

    .work-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .work-section {
        padding: 70px 20px;
    }

    .work-tabs {
        grid-template-columns: 1fr;
    }

    .work-tab {
        min-height: 300px;
    }

}

/* 
   ENGINEERING SUCCESS
 */

.engineering-hero {
    min-height: 620px;
    padding: 120px 8%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(221, 175, 204, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--cream),
            #ffffff
        );
}

.engineering-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.engineering-label,
.section-label {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--berry);
    margin-bottom: 20px;
}

.engineering-hero h1 {
    font-size: clamp(3.5rem, 7vw, 6.8rem);
    line-height: 0.95;
    margin: 0;
    color: var(--deep-teal);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.engineering-hero h1 span {
    display: block;
    color: var(--forest-green);
}

.engineering-intro {
    max-width: 650px;
    margin: 35px 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #39494b;
}

.engineering-button {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 30px;
    background: var(--berry);
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.engineering-button:hover {
    transform: translateY(-3px);
}


/* 
   OVERVIEW
*/

.engineering-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 50px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.engineering-overview h2,
.engineering-section-heading h2,
.engineering-links h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--deep-teal);
    margin: 0 0 25px;
}

.engineering-overview-text p:not(.section-label) {
    line-height: 1.8;
    color: #475456;
}


/* 
   ENGINEERING CYCLE
 */

.engineering-cycle {
    padding: 40px;
    border-radius: 30px;

    background: var(--sage);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    transform: rotate(2deg);
}

.cycle-item {
    text-align: center;
}

.cycle-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--berry);
    font-weight: 800;
    margin-bottom: 5px;
}

.cycle-item strong {
    color: var(--deep-teal);
}

.cycle-arrow {
    font-size: 1.5rem;
    color: var(--berry);
}


/*
   JOURNEY
 */

.engineering-journey {
    max-width: 1250px;
    margin: 0 auto;
    padding: 80px 50px 120px;
}

.engineering-section-heading {
    max-width: 800px;
    margin-bottom: 60px;
}

.engineering-section-heading > p:last-child {
    color: #596668;
    font-size: 1.1rem;
}


/* 
   ENGINEERING CARDS
*/

.engineering-card {
    display: grid;
    grid-template-columns: 120px 1fr;

    text-decoration: none;
    color: inherit;

    padding: 45px;
    margin-bottom: 22px;

    border-radius: 28px;

    background: white;
    border: 1px solid rgba(47, 105, 117, 0.15);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.engineering-card:hover {
    transform: translateY(-6px);
    border-color: var(--deep-teal);
    box-shadow: 0 18px 45px rgba(47, 105, 117, 0.12);
}

.engineering-card-number {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--dusty-rose);
}

.engineering-card-label {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    font-weight: 800;
    color: var(--berry);
}

.engineering-card h3 {
    margin: 0 0 12px;
    font-size: 2rem;
    color: var(--deep-teal);
}

.engineering-card p:not(.engineering-card-label) {
    max-width: 750px;
    line-height: 1.7;
    color: #526062;
}

.engineering-card-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--berry);
    font-weight: 700;
}

.engineering-decision {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 20px;
    background: var(--sage);
    color: var(--forest-green);
    font-size: 0.85rem;
    font-weight: 800;
}


/* 
   FEATURED PILLINATOR CARD
 */

.engineering-card-featured {
    background: var(--deep-teal);
    border: none;
}

.engineering-card-featured .engineering-card-number {
    color: var(--dusty-rose);
}

.engineering-card-featured .engineering-card-label,
.engineering-card-featured .engineering-card-link {
    color: var(--dusty-rose);
}

.engineering-card-featured h3,
.engineering-card-featured p:not(.engineering-card-label) {
    color: white;
}


/*
   FINAL DESIGN
 */

.engineering-card-final {
    background: var(--cream);
    border-color: transparent;
}


/* 
   QUOTE
*/

.engineering-quote {
    padding: 120px 30px;
    background: var(--forest-green);
    color: white;
}

.engineering-quote-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    font-size: 6rem;
    line-height: 0.5;
    color: var(--dusty-rose);
    margin: 0 0 40px;
}

.engineering-quote h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

.engineering-quote p:last-child {
    max-width: 650px;
    margin: auto;
    line-height: 1.8;
}


/* 
   RESOURCE LINKS
 */

.engineering-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 50px;
}

.engineering-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.engineering-resource {
    padding: 30px;
    border-radius: 22px;
    background: var(--cream);
    text-decoration: none;
    transition: 0.25s ease;
}

.engineering-resource:hover {
    transform: translateY(-5px);
}

.engineering-resource span {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--berry);
}

.engineering-resource h3 {
    color: var(--deep-teal);
    margin: 18px 0 10px;
}

.engineering-resource p {
    color: #596668;
    line-height: 1.6;
}


/* 
   MOBILE
 */

@media (max-width: 800px) {

    .engineering-hero {
        min-height: auto;
        padding: 90px 25px;
    }

    .engineering-overview {
        grid-template-columns: 1fr;
        padding: 80px 25px;
        gap: 40px;
    }

    .engineering-cycle {
        transform: none;
        flex-wrap: wrap;
    }

    .engineering-journey {
        padding: 70px 20px;
    }

    .engineering-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .engineering-card-number {
        margin-bottom: 20px;
    }

    .engineering-resource-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 500px) {

    .engineering-resource-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   WHERE WE STARTED
========================================= */

.engineering-start-hero {
    min-height: 650px;
    padding: 120px 8%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(166, 184, 142, 0.45),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--cream),
            #ffffff
        );
}

.engineering-start-hero-content {
    max-width: 850px;
    position: relative;
    z-index: 3;
}

.engineering-start-hero h1 {
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.88;
    color: var(--deep-teal);
    margin: 0;
    letter-spacing: -0.05em;
}

.engineering-start-hero h1 span {
    display: block;
    color: var(--berry);
    margin-left: 8%;
}

.engineering-start-hero p:not(.engineering-label) {
    max-width: 600px;
    margin: 35px 0;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4d5d5e;
}


/* =========================================
   FLOATING BACKGROUND SHAPES
========================================= */

.engineering-floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    animation: engineeringFloat 7s ease-in-out infinite;
}

.shape-one {
    width: 180px;
    height: 180px;
    right: 12%;
    top: 18%;
    background: var(--dusty-rose);
}

.shape-two {
    width: 90px;
    height: 90px;
    right: 30%;
    bottom: 18%;
    background: var(--sage);
    animation-delay: 1.5s;
}

.shape-three {
    width: 45px;
    height: 45px;
    right: 8%;
    bottom: 28%;
    background: var(--olive-green);
    animation-delay: 3s;
}

@keyframes engineeringFloat {

    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(12deg);
    }

}


/* =========================================
   SCROLL INDICATOR
========================================= */

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--deep-teal);
}

.scroll-indicator span {
    width: 28px;
    height: 45px;
    border: 2px solid var(--deep-teal);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 9px;
    border-radius: 10px;
    background: var(--berry);
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {

    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 18px);
    }

}


/* =========================================
   GENERAL SECTIONS
========================================= */

.start-section,
.strategy-section,
.architecture-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 50px;
}

.start-section-heading {
    max-width: 800px;
    margin-bottom: 65px;
}

.start-section-heading h2,
.architecture-heading h2 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.98;
    color: var(--deep-teal);
    margin: 0 0 25px;
}

.start-section-heading h2 span,
.architecture-heading h2 span {
    color: var(--forest-green);
}

.start-section-heading > p:last-child,
.architecture-heading > p:last-child {
    color: #596668;
    line-height: 1.8;
}


/* =========================================
   DEHP PROBLEM
========================================= */

.start-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.start-problem-text p {
    line-height: 1.9;
    color: #4d5b5d;
    margin-bottom: 25px;
}

.start-problem-text strong {
    color: var(--berry);
}


/* =========================================
   MOLECULE VISUAL
========================================= */

.dehp-visual {
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.molecule-core {
    width: 150px;
    height: 150px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--deep-teal);
    color: white;

    font-size: 1.7rem;
    font-weight: 800;

    box-shadow:
        0 0 0 15px rgba(47, 105, 117, 0.08),
        0 0 0 35px rgba(47, 105, 117, 0.05);

    animation: moleculePulse 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes moleculePulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }

}

.molecule-ring {
    position: absolute;
    border: 2px dashed var(--sage);
    border-radius: 50%;
    animation: moleculeRotate 14s linear infinite;
}

.ring-one {
    width: 230px;
    height: 230px;
}

.ring-two {
    width: 310px;
    height: 310px;
    border-color: var(--dusty-rose);
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring-three {
    width: 380px;
    height: 380px;
    border-color: var(--olive-green);
    animation-duration: 25s;
}

@keyframes moleculeRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

.molecule-label {
    position: absolute;
    padding: 7px 13px;
    border-radius: 20px;
    background: white;
    color: var(--deep-teal);
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.label-one {
    top: 30px;
    right: 40px;
}

.label-two {
    bottom: 45px;
    left: 35px;
}

.label-three {
    top: 150px;
    right: 0;
}


/* =========================================
   STRATEGIES
========================================= */

.strategy-section {
    max-width: 1300px;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.strategy-card {
    padding: 40px;
    min-height: 380px;

    border-radius: 28px;
    background: var(--cream);

    position: relative;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.strategy-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 0 20px 45px rgba(47, 105, 117, 0.15);
}

.strategy-card-middle {
    background: var(--sage);
    transform: translateY(30px);
}

.strategy-card-middle:hover {
    transform: translateY(18px) rotate(1deg);
}

.strategy-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--berry);
}

.strategy-icon {
    margin: 40px 0 25px;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    color: var(--deep-teal);

    font-size: 1.6rem;
    font-weight: 800;
}

.strategy-card h3 {
    font-size: 2rem;
    color: var(--deep-teal);
    margin-bottom: 15px;
}

.strategy-card p {
    line-height: 1.7;
    color: #536162;
}

.strategy-tag {
    position: absolute;
    bottom: 25px;
    left: 40px;

    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--berry);
    font-weight: 800;
}


/* =========================================
   ARCHITECTURE
========================================= */

.architecture-section {
    max-width: 1300px;
}

.architecture-heading {
    max-width: 750px;
    margin-bottom: 70px;
}

.architecture-flow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.architecture-node {
    width: 250px;
    min-height: 180px;
    padding: 30px;

    border-radius: 25px;

    background: white;
    border: 2px solid var(--sage);

    transition: 0.3s ease;
}

.architecture-node:hover {
    transform: translateY(-8px);
    border-color: var(--berry);
    box-shadow: 0 15px 35px rgba(47, 105, 117, 0.12);
}

.architecture-node span {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--berry);
}

.architecture-node h3 {
    color: var(--deep-teal);
    font-size: 1.5rem;
    margin: 20px 0 8px;
}

.architecture-node p {
    color: #657071;
}

.architecture-line {
    width: 100px;
    height: 2px;
    background: var(--dusty-rose);
    position: relative;
}

.architecture-line span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--berry);
    top: -4px;
    left: 0;

    animation: architectureFlow 2s linear infinite;
}

@keyframes architectureFlow {

    from {
        left: 0;
    }

    to {
        left: calc(100% - 9px);
    }

}


/* =========================================
   REALIZATION
========================================= */

.realization-section {
    padding: 120px 30px;

    background: var(--deep-teal);
    color: white;
}

.realization-inner {
    max-width: 1000px;
    margin: auto;

    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 50px;
    align-items: start;
}

.realization-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dusty-rose);
}

.realization-content .section-label {
    color: var(--dusty-rose);
}

.realization-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin: 0 0 30px;
}

.realization-content h2 span {
    color: var(--sage);
}

.realization-content p:not(.section-label) {
    line-height: 1.9;
    color: #e5eeee;
}

.realization-content strong {
    color: var(--dusty-rose);
}


/* =========================================
   NEXT PAGE
========================================= */

.next-engineering {
    padding: 130px 30px;
    text-align: center;
    background: var(--cream);
}

.next-engineering h2 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    color: var(--deep-teal);
    margin: 0 0 25px;
}

.next-engineering h2 span {
    display: block;
    color: var(--berry);
}

.next-engineering > p:not(.section-label) {
    color: #596668;
    margin-bottom: 35px;
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    animation: revealSection 0.8s ease forwards;
}

@keyframes revealSection {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .engineering-start-hero {
        padding: 90px 25px;
    }

    .start-section,
    .strategy-section,
    .architecture-section {
        padding: 80px 25px;
    }

    .start-problem-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .strategy-card-middle {
        transform: none;
    }

    .strategy-card-middle:hover {
        transform: translateY(-12px);
    }

    .architecture-flow {
        flex-direction: column;
    }

    .architecture-line {
        width: 2px;
        height: 70px;
    }

    .architecture-line span {
        top: 0;
        left: -4px;

        animation-name: architectureFlowVertical;
    }

    .realization-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

@keyframes architectureFlowVertical {

    from {
        top: 0;
    }

    to {
        top: calc(100% - 9px);
    }

}

/* =========================================
   GATE 1 HERO
========================================= */

.gate-hero {
    min-height: 650px;
    padding: 120px 8%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(170, 43, 98, 0.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--cream),
            #ffffff
        );
}

.gate-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 3;
}

.gate-number {
    display: inline-block;
    margin: 15px 0 20px;

    padding: 8px 15px;
    border-radius: 20px;

    background: var(--deep-teal);
    color: white;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.gate-hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.9;
    margin: 0;
    color: var(--deep-teal);
    letter-spacing: -0.05em;
}

.gate-hero h1 span {
    display: block;
    color: var(--berry);
    margin-left: 8%;
}

.gate-hero-content > p:last-child {
    max-width: 650px;
    margin-top: 35px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4f5e60;
}


/* =========================================
   HERO ORBITS
========================================= */

.gate-hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(47, 105, 117, 0.18);
    animation: gateOrbit 18s linear infinite;
}

.orbit-one {
    width: 500px;
    height: 500px;
    right: -100px;
    top: 80px;
}

.orbit-two {
    width: 330px;
    height: 330px;
    right: 0;
    top: 165px;
    border-color: rgba(170, 43, 98, 0.2);
    animation-duration: 12s;
    animation-direction: reverse;
}

@keyframes gateOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================
   QUESTION
========================================= */

.gate-question {
    padding: 120px 30px;
    background: var(--deep-teal);
    color: white;
}

.gate-question-inner {
    max-width: 950px;
    margin: auto;
}

.gate-question-label {
    color: var(--dusty-rose);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    font-weight: 800;
    margin-bottom: 25px;
}

.gate-question h2 {
    max-width: 850px;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    margin: 0 0 35px;
}

.gate-question h2 span {
    color: var(--dusty-rose);
}

.gate-question p {
    max-width: 700px;
    line-height: 1.9;
    color: #e7eeee;
}


/* =========================================
   PATHS
========================================= */

.gate-paths {
    max-width: 1250px;
    margin: auto;
    padding: 120px 50px;
}

.gate-section-heading {
    margin-bottom: 60px;
}

.gate-section-heading h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    color: var(--deep-teal);
    margin: 0 0 20px;
}

.gate-section-heading h2 span {
    color: var(--berry);
}

.gate-section-heading p:last-child {
    color: #596668;
}

.gate-path-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.gate-path {
    padding: 45px;
    min-height: 550px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;

    transition: 0.35s ease;
}

.gate-path:hover {
    transform: translateY(-8px);
}

.degradation-path {
    background: var(--cream);
}

.capture-path {
    background: var(--sage);
}

.gate-path-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gate-path-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--berry);
}

.gate-path-status {
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 20px;
    background: white;
    color: var(--deep-teal);
}

.gate-path h3 {
    font-size: 3rem;
    color: var(--deep-teal);
    margin: 45px 0 15px;
}

.gate-path > p {
    line-height: 1.7;
    color: #526062;
}


/* =========================================
   DEGRADATION FLOW
========================================= */

.degradation-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 55px 0 40px;
}

.flow-molecule {
    padding: 14px 16px;
    border-radius: 50%;
    background: var(--berry);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
}

.flow-molecule.small {
    transform: scale(0.85);
    background: var(--deep-teal);
}

.flow-molecule.smaller {
    transform: scale(0.7);
    background: var(--forest-green);
}

.flow-arrow {
    color: var(--berry);
    font-size: 1.4rem;
    animation: flowArrow 1.5s ease-in-out infinite;
}

@keyframes flowArrow {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

.path-question {
    position: absolute;
    bottom: 35px;
    left: 45px;
    right: 45px;

    padding-top: 20px;
    border-top: 1px solid rgba(47, 105, 117, 0.2);

    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-teal);
}


/* =========================================
   CAPTURE VISUAL
========================================= */

.capture-visual {
    height: 230px;
    margin-top: 35px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.capture-bacterium {
    width: 180px;
    height: 90px;

    border-radius: 50%;

    background: var(--deep-teal);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;

    animation: bacteriaPulse 3s ease-in-out infinite;
}

@keyframes bacteriaPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

.capture-dehp {
    position: absolute;
    padding: 12px 15px;
    border-radius: 50%;

    background: var(--berry);
    color: white;

    font-size: 0.7rem;
    font-weight: 800;

    z-index: 3;

    animation: dehpMove 3s ease-in-out infinite;
}

@keyframes dehpMove {
    0% {
        transform: translateX(110px);
    }

    50% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(110px);
    }
}

.capture-bond {
    position: absolute;
    width: 70px;
    height: 2px;
    background: var(--berry);
    transform-origin: left center;
    opacity: 0.6;
}

.bond-one {
    transform: rotate(25deg);
}

.bond-two {
    transform: rotate(-25deg);
}

.bond-three {
    transform: rotate(0deg);
}


/* =========================================
   ENZYMES
========================================= */

.enzyme-section {
    padding: 120px 30px;
    background: #f9f7f1;
}

.enzyme-intro {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.enzyme-intro h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    color: var(--deep-teal);
}

.enzyme-intro h2 span {
    color: var(--forest-green);
}

.enzyme-intro p:last-child {
    line-height: 1.8;
    color: #596668;
}

.enzyme-cards {
    max-width: 950px;
    margin: 70px auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.enzyme-card {
    padding: 40px;
    border-radius: 25px;
    background: white;
    border: 1px solid rgba(47, 105, 117, 0.12);

    transition: 0.3s ease;
}

.enzyme-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(47, 105, 117, 0.1);
}

.enzyme-card-featured {
    background: var(--cream);
}

.enzyme-card-number {
    color: var(--berry);
    font-weight: 800;
}

.enzyme-card h3 {
    color: var(--deep-teal);
    font-size: 2rem;
}

.enzyme-card p {
    line-height: 1.7;
    color: #596668;
}

.enzyme-status {
    display: inline-block;
    margin-top: 15px;
    padding: 7px 12px;
    border-radius: 20px;
    background: var(--sage);
    color: var(--forest-green);
    font-size: 0.7rem;
    font-weight: 800;
}


/* =========================================
   MEHP
========================================= */

.mehp-section {
    max-width: 1200px;
    margin: auto;
    padding: 130px 50px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.mehp-visual {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mehp-circle {
    width: 190px;
    height: 190px;
    border-radius: 50%;

    background: var(--berry);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;
    font-weight: 800;

    z-index: 2;
}

.mehp-pulse {
    position: absolute;
    border: 2px solid var(--dusty-rose);
    border-radius: 50%;
    animation: mehpPulse 3s ease-out infinite;
}

.pulse-one {
    width: 250px;
    height: 250px;
}

.pulse-two {
    width: 330px;
    height: 330px;
    animation-delay: 1s;
}

@keyframes mehpPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.8);
    }

    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.mehp-content h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    color: var(--deep-teal);
}

.mehp-content h2 span {
    color: var(--berry);
}

.mehp-content > p:not(.section-label) {
    line-height: 1.8;
    color: #596668;
}

.mehp-content strong {
    color: var(--berry);
}

.mehp-warning {
    margin-top: 35px;
    padding: 20px;

    display: flex;
    gap: 15px;

    border-radius: 18px;
    background: var(--cream);
}

.mehp-warning > span {
    width: 30px;
    height: 30px;
    flex-shrink: 0;

    border-radius: 50%;
    background: var(--berry);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}

.mehp-warning strong {
    color: var(--deep-teal);
}

.mehp-warning p {
    margin: 5px 0 0;
    color: #596668;
    line-height: 1.6;
}


/* =========================================
   BYPRODUCT
========================================= */

.byproduct-section {
    padding: 120px 30px;
    background: var(--cream);
}

.byproduct-heading {
    max-width: 800px;
    margin: auto auto 70px;
    text-align: center;
}

.byproduct-heading h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    color: var(--deep-teal);
}

.byproduct-heading h2 span {
    color: var(--berry);
}

.byproduct-flow {
    max-width: 1000px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.byproduct-node {
    width: 210px;
    min-height: 130px;
    padding: 25px;

    border-radius: 20px;
    background: white;

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: center;

    box-shadow: 0 10px 25px rgba(47, 105, 117, 0.08);
}

.byproduct-node span {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    font-weight: 800;
    color: var(--berry);
}

.byproduct-node strong {
    margin-top: 10px;
    color: var(--deep-teal);
}

.byproduct-node.original {
    border: 2px solid var(--deep-teal);
}

.byproduct-node.problem {
    border: 2px solid var(--berry);
}

.byproduct-arrow {
    color: var(--berry);
    font-size: 1.7rem;
}

.byproduct-conclusion {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;

    line-height: 1.8;
    color: #596668;
}

.byproduct-conclusion strong {
    color: var(--berry);
}


/* =========================================
   BIOSORPTION
========================================= */

.biosorption-section {
    max-width: 1200px;
    margin: auto;
    padding: 130px 50px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.biosorption-content h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.95;
    color: var(--deep-teal);
}

.biosorption-content h2 span {
    color: var(--forest-green);
}

.biosorption-content p:not(.section-label) {
    line-height: 1.8;
    color: #596668;
}

.biosorption-visual {
    text-align: center;
}

.bacteria-cell {
    width: 330px;
    height: 180px;
    margin: auto;

    border-radius: 50%;

    background: var(--deep-teal);

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 20px 50px rgba(47, 105, 117, 0.2);

    animation: cellFloat 4s ease-in-out infinite;
}

@keyframes cellFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cell-label {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
}

.cell-particle {
    position: absolute;

    padding: 7px 9px;
    border-radius: 50%;

    background: var(--berry);
    color: white;

    font-size: 0.55rem;
    font-weight: 800;

    animation: particleFloat 2.5s ease-in-out infinite;
}

.particle-one {
    top: -15px;
    left: 65px;
}

.particle-two {
    top: 25px;
    right: -15px;
    animation-delay: 0.5s;
}

.particle-three {
    bottom: -10px;
    left: 130px;
    animation-delay: 1s;
}

.particle-four {
    top: 65px;
    left: -15px;
    animation-delay: 1.5s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.biosorption-visual > p {
    margin-top: 30px;
    color: #596668;
    font-size: 0.9rem;
}


/* =========================================
   DECISION
========================================= */

.gate-decision {
    padding: 140px 30px;
    background: var(--forest-green);
    color: white;
    position: relative;
    overflow: hidden;
}

.decision-background {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-around;

    opacity: 0.035;

    font-size: 8rem;
    font-weight: 900;
    line-height: 0.8;

    transform: rotate(-8deg);
}

.decision-background span {
    white-space: nowrap;
}

.decision-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.decision-content .section-label {
    color: var(--dusty-rose);
}

.decision-check {
    width: 75px;
    height: 75px;
    margin: 25px auto;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--dusty-rose);
    color: var(--forest-green);

    font-size: 2rem;
    font-weight: 900;

    animation: decisionPop 0.8s ease;
}

@keyframes decisionPop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.decision-content h2 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    line-height: 0.9;
    margin: 0;
}

.decision-content h2 span {
    display: block;
    color: var(--dusty-rose);
}

.decision-content > p:not(.section-label):not(.decision-next) {
    max-width: 700px;
    margin: 35px auto;
    line-height: 1.9;
    color: #e9efeb;
}

.decision-line {
    width: 80px;
    height: 3px;
    margin: 40px auto;
    background: var(--dusty-rose);
}

.decision-next {
    color: #e9efeb;
}

.decision-next strong {
    color: var(--dusty-rose);
}


/* =========================================
   NEXT GATE
========================================= */

.gate-next {
    padding: 130px 30px;
    text-align: center;
    background: white;
}

.gate-next h2 {
    max-width: 950px;
    margin: auto;

    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;

    color: var(--deep-teal);
}

.gate-next h2 span {
    display: block;
    color: var(--berry);
}

.gate-next > p:not(.section-label) {
    max-width: 650px;
    margin: 30px auto 35px;
    line-height: 1.8;
    color: #596668;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .gate-hero {
        padding: 90px 25px;
    }

    .gate-paths,
    .mehp-section,
    .biosorption-section {
        padding: 80px 25px;
    }

    .gate-path-grid,
    .enzyme-cards,
    .mehp-section,
    .biosorption-section {
        grid-template-columns: 1fr;
    }

    .gate-path {
        min-height: auto;
    }

    .enzyme-cards {
        max-width: 500px;
    }

    .mehp-visual {
        min-height: 300px;
    }

    .byproduct-flow {
        flex-direction: column;
    }

    .byproduct-arrow {
        transform: rotate(90deg);
    }

    .bacteria-cell {
        width: 280px;
    }

}
/* =========================================
   GATE 1 HEADER TYPOGRAPHY
========================================= */

.gate-hero h1 {
    font-family: "Trebuchet MS", "Arial Rounded MT Bold", sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.gate-hero h1 span {
    font-family: "Trebuchet MS", "Arial Rounded MT Bold", sans-serif;
    font-weight: 800;
}