
/* =========================================================
   IP BIOTECH — HOMEPAGE
   Premium editorial / life-sciences corporate design
========================================================= */

:root {
    --ip-navy: #063b52;
    --ip-navy-dark: #032b3c;
    --ip-navy-deep: #021f2c;

    --ip-teal: #159eba;
    --ip-teal-light: #62c9df;
    --ip-cyan: #8bd9e8;

    --ip-white: #ffffff;
    --ip-offwhite: #f5f9fb;
    --ip-light: #eaf4f7;

    --ip-text: #102a36;
    --ip-muted: #637d88;
    --ip-border: rgba(6,59,82,.13);

    --ip-container: 1200px;
    --ip-radius: 18px;
    --ip-transition: .35s cubic-bezier(.22,1,.36,1);
}

/* ---------- Base ---------- */

.home-page {
    margin: 0;
    background: var(--ip-white);
    color: var(--ip-text);
    overflow-x: hidden;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page img {
    max-width: 100%;
}

.home-page a {
    text-decoration: none;
}

.home-page .container {
    width: min(calc(100% - 40px), var(--ip-container));
    margin-inline: auto;
}

.home-page .section-padding {
    padding: 115px 0;
}

.home-page .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--ip-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.home-page .section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--ip-teal-light);
}

.home-page .section-label.light {
    color: var(--ip-teal-light);
}

.home-page .section-heading {
    margin: 0;
    color: var(--ip-navy);
    font-size: clamp(40px, 4.8vw, 64px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 700;
}

.home-page .section-heading span {
    color: var(--ip-teal);
}

.home-page .section-heading.light {
    color: var(--ip-white);
}

.home-page .section-heading.light span {
    color: var(--ip-teal-light);
}

.home-page .section-description {
    max-width: 500px;
    margin: 0 0 0 auto;
    color: var(--ip-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ---------- Reveal ---------- */

.home-page .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,1,.36,1);
}

.home-page .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HERO
========================================================= */

.home-page .hero {
    position: relative;
    min-height: 760px;
    height: 100vh;
    max-height: 980px;
    overflow: hidden;
    isolation: isolate;
    background: var(--ip-navy-deep);
}

.home-page .hero-slide {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: -5;
    transform: scale(1.08);
    transition: opacity 1.5s ease;
    animation-duration: 9s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-play-state: paused;
    will-change: transform, opacity;
    pointer-events: none;
}

.home-page .hero-slide.active {
    opacity: 1;
    z-index: -4;
    animation-play-state: running;
}

.home-page .hero-slide.is-leaving {
    opacity: 0;
    z-index: -3;
    animation-play-state: paused;
}

.home-page .hero-slide:nth-child(1) {
    animation-name: heroZoomIn;
}

.home-page .hero-slide:nth-child(2) {
    animation-name: heroPanLeft;
}

.home-page .hero-slide:nth-child(3) {
    animation-name: heroZoomOut;
}

.home-page .hero-slide:nth-child(4) {
    animation-name: heroPanRight;
}

@keyframes heroZoomIn {
    from { transform: scale(1.08) translate3d(0,0,0); }
    to { transform: scale(1.16) translate3d(-1%,-1%,0); }
}

@keyframes heroPanLeft {
    from { transform: scale(1.08) translate3d(2%,0,0); }
    to { transform: scale(1.14) translate3d(-2%,-1%,0); }
}

@keyframes heroZoomOut {
    from { transform: scale(1.16) translate3d(0,1%,0); }
    to { transform: scale(1.06) translate3d(1%,-1%,0); }
}

@keyframes heroPanRight {
    from { transform: scale(1.08) translate3d(-2%,0,0); }
    to { transform: scale(1.14) translate3d(2%,-1%,0); }
}

.home-page .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(2,31,44,.96) 0%,
            rgba(3,43,60,.84) 38%,
            rgba(3,43,60,.48) 70%,
            rgba(3,43,60,.20) 100%),
        linear-gradient(0deg,
            rgba(2,31,44,.72),
            transparent 42%);
    animation: heroOverlayBreath 9s ease-in-out infinite;
}

@keyframes heroOverlayBreath {
    0%,100% { opacity: .96; }
    50% { opacity: .87; }
}

.home-page .hero::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        circle at 76% 43%,
        rgba(98,201,223,.12),
        transparent 28%
    );
    animation: heroLightMove 12s ease-in-out infinite alternate;
}

@keyframes heroLightMove {
    from { transform: translate3d(-3%,0,0) scale(1); }
    to { transform: translate3d(4%,-2%,0) scale(1.08); }
}

.home-page .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(2,31,44,.58));
}

.home-page .hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.home-page .hero-content {
    max-width: 790px;
    padding-top: 100px; /* clear fixed header */
    animation: heroContentIn 1s cubic-bezier(.22,1,.36,1) both;
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-page .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 23px;
    color: var(--ip-teal-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .21em;
}

.home-page .eyebrow-line {
    width: 42px;
    height: 2px;
    background: var(--ip-teal-light);
}

.home-page .hero-title {
    margin: 0;
    color: var(--ip-white);
    font-size: clamp(48px, 6.1vw, 84px);
    line-height: .96;
    letter-spacing: -.06em;
    font-weight: 700;
}

.home-page .hero-title span {
    color: var(--ip-teal-light);
}

.home-page .hero-description {
    max-width: 670px;
    margin: 30px 0 10px;
    color: rgba(255,255,255,.93);
    font-size: 19px;
    line-height: 1.65;
}

.home-page .hero-subtext {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.64);
    font-size: 14px;
    line-height: 1.75;
}

.home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.home-page .hero-btn {
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .035em;
    transition: var(--ip-transition);
}

.home-page .hero-btn-primary {
    color: #fff !important;
    background: var(--ip-teal);
    border: 1px solid var(--ip-teal);
}

.home-page .hero-btn-primary:hover {
    color: #fff !important;
    background: #0f8da7;
    border-color: #0f8da7;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(21,158,186,.25);
}

.home-page .hero-btn-outline {
    color: #fff !important;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.42);
}

.home-page .hero-btn-outline:hover {
    color: #fff !important;
    background: rgba(98,201,223,.13);
    border-color: var(--ip-teal-light);
    transform: translateY(-3px);
}

.home-page .btn-arrow {
    font-size: 17px;
    transition: transform .3s ease;
}

.home-page .hero-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero controls */

.home-page .hero-indicators {
    position: absolute;
    right: 42px;
    bottom: 43px;
    z-index: 5;
    display: flex;
    gap: 7px;
}

.home-page .hero-indicator {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    font-size: 10px;
    transition: .3s ease;
}

.home-page .hero-indicator::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 5px;
    background: rgba(255,255,255,.22);
    transition: .3s ease;
}

.home-page .hero-indicator:hover,
.home-page .hero-indicator.active {
    color: #fff;
}

.home-page .hero-indicator.active::after {
    background: var(--ip-teal-light);
}

.home-page .scroll-indicator {
    position: absolute;
    left: 40px;
    bottom: 42px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.52);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-page .scroll-arrow {
    color: var(--ip-teal-light);
    font-size: 18px;
    animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* =========================================================
   IMPACT STRIP
========================================================= */


/* ---------- CMS Announcements (homepage) ---------- */
.home-page .news-section {
    background: var(--ip-offwhite, #f5f9fb);
    border-bottom: 1px solid var(--ip-border);
    padding: 72px 0 80px;
}
.home-page .news-section .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
.home-page .news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}
.home-page .news-header .section-label {
    margin-bottom: 10px;
}
.home-page .news-header h2 {
    margin: 0;
    color: #08263a;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 700;
}
.home-page .news-header h2 span {
    color: #159eba;
}
.home-page .news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.home-page .news-grid.news-grid-single {
    grid-template-columns: 1fr;
    max-width: 720px;
}
.home-page .news-card {
    background: #fff;
    border: 1px solid var(--ip-border, #e5edf1);
    border-radius: 4px;
    padding: 28px 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    box-shadow: 0 8px 24px rgba(8, 38, 58, 0.03);
}
.home-page .news-card:hover {
    border-color: rgba(21, 158, 186, 0.35);
    box-shadow: 0 16px 40px rgba(8, 38, 58, 0.08);
    transform: translateY(-3px);
}
.home-page .news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.home-page .news-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0b7791;
    background: rgba(21, 158, 186, 0.1);
    border: 1px solid rgba(21, 158, 186, 0.2);
    padding: 4px 10px;
    border-radius: 3px;
}
.home-page .news-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #159eba;
}
.home-page .news-date {
    font-size: 12px;
    color: #7a8f9a;
    font-weight: 500;
}
.home-page .news-card h3 {
    margin: 0;
    color: #08263a;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.home-page .news-card p {
    margin: 0;
    color: #60737e;
    font-size: 14.5px;
    line-height: 1.7;
    flex: 1;
}
@media (max-width: 768px) {
    .home-page .news-section {
        padding: 52px 0 56px;
    }
    .home-page .news-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
    }
    .home-page .news-grid {
        grid-template-columns: 1fr;
    }
    .home-page .news-card {
        padding: 22px 20px;
    }
}

.home-page .impact-section {
    background: #fff;
    border-bottom: 1px solid var(--ip-border);
}

.home-page .impact-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.home-page .impact-stat {
    min-height: 145px;
    padding: 30px 25px;
    border-right: 1px solid var(--ip-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-page .impact-stat:first-child {
    border-left: 1px solid var(--ip-border);
}

.home-page .impact-number {
    color: var(--ip-navy);
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.05em;
}

.home-page .impact-name {
    margin-top: 10px;
    color: var(--ip-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

/* =========================================================
   COMPANY
========================================================= */

.home-page .company-section {
    background: #fff;
}

.home-page .display-heading {
    margin: 0;
    color: var(--ip-navy);
    font-size: clamp(48px,6vw,80px);
    line-height: .91;
    letter-spacing: -.065em;
}

.home-page .display-heading span {
    color: var(--ip-teal);
}

.home-page .company-copy {
    max-width: 570px;
}

.home-page .company-copy p {
    margin: 0 0 21px;
    color: var(--ip-muted);
    font-size: 15px;
    line-height: 1.85;
}

.home-page .company-copy .lead-copy {
    color: var(--ip-text);
    font-size: 20px;
    line-height: 1.65;
}

.home-page .text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 5px;
    color: var(--ip-navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-page .text-link span {
    color: var(--ip-teal);
    font-size: 18px;
    transition: transform .3s ease;
}

.home-page .text-link:hover span {
    transform: translateX(6px);
}

/* =========================================================
   SCIENCE / PROCESS
========================================================= */

.home-page .process-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    background: var(--ip-navy);
}

.home-page .process-section::before,
.home-page .process-section::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(98,201,223,.11);
    border-radius: 50%;
    pointer-events: none;
}

.home-page .process-section::before {
    width: 620px;
    height: 620px;
    right: -330px;
    top: -330px;
}

.home-page .process-section::after {
    width: 420px;
    height: 420px;
    left: -270px;
    bottom: -270px;
}

.home-page .process-flow {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr;
    align-items: center;
}

.home-page .process-item {
    padding: 10px;
}

.home-page .process-number {
    display: block;
    margin-bottom: 27px;
    color: var(--ip-teal-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.home-page .process-item h3 {
    margin: 0 0 11px;
    color: #fff;
    font-size: 25px;
    letter-spacing: -.025em;
}

.home-page .process-item p {
    margin: 0;
    color: rgba(255,255,255,.56);
    font-size: 13px;
    line-height: 1.75;
}

.home-page .process-line {
    height: 1px;
    background: rgba(255,255,255,.16);
}

/* =========================================================
   PORTFOLIO
========================================================= */

.home-page .portfolio-preview {
    background: var(--ip-offwhite);
}

.home-page .portfolio-feature {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid rgba(6,59,82,.06);
    border-radius: var(--ip-radius);
    background: #fff;
    box-shadow: 0 28px 75px rgba(6,59,82,.08);
}

.home-page .portfolio-image {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: var(--ip-navy-deep);
}

.home-page .portfolio-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity .35s ease,
        transform 1s cubic-bezier(.22,1,.36,1);
}

.home-page .portfolio-image.changing img {
    opacity: .25;
    transform: scale(1.03);
}

.home-page .portfolio-feature:hover .portfolio-image img {
    transform: scale(1.045);
}

.home-page .portfolio-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,rgba(2,31,44,.9),rgba(2,31,44,.04) 67%);
}

.home-page .portfolio-feature-content {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 34px;
}

.home-page .portfolio-feature-content > span {
    color: var(--ip-teal-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.home-page .portfolio-feature-content h3 {
    margin: 8px 0 3px;
    color: #fff;
    font-size: 35px;
    letter-spacing: -.035em;
}

.home-page .portfolio-feature-content p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 13px;
}

.home-page .portfolio-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 34px;
}

.home-page .portfolio-list-item {
    display: grid;
    grid-template-columns: 34px 1fr 20px;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 0 10px;
    border-top: 1px solid var(--ip-border);
    color: var(--ip-muted);
    transition: var(--ip-transition);
}

.home-page .portfolio-list-item:last-child {
    border-bottom: 1px solid var(--ip-border);
}

.home-page .portfolio-list-item > span:first-child {
    color: #9aadb5;
    font-size: 10px;
}

.home-page .portfolio-list-item strong {
    font-size: 13px;
    font-weight: 700;
}

.home-page .portfolio-list-item > span:last-child {
    color: var(--ip-teal);
    font-size: 17px;
    opacity: 0;
    transform: translateX(-5px);
    transition: .3s ease;
}

.home-page .portfolio-list-item:hover,
.home-page .portfolio-list-item.active {
    padding-left: 18px;
    color: var(--ip-navy);
    background: var(--ip-light);
}

.home-page .portfolio-list-item:hover > span:last-child,
.home-page .portfolio-list-item.active > span:last-child {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================================
   FVSC NETWORK
========================================================= */

.home-page .network-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: var(--ip-navy-deep);
}

.home-page .network-section::before {
    content: "";
    position: absolute;
    width: 570px;
    height: 570px;
    right: -190px;
    top: -210px;
    border: 1px solid rgba(98,201,223,.1);
    border-radius: 50%;
}

.home-page .network-description {
    max-width: 470px;
    margin: 25px 0 30px;
    color: rgba(255,255,255,.61);
    font-size: 15px;
    line-height: 1.85;
}

.home-page .network-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 520px;
}

.home-page .philippines-placeholder {
    position: relative;
    width: min(380px, 100%);
    height: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .philippines-map-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: center center;
    filter:
        drop-shadow(0 0 18px rgba(98,201,223,.18))
        drop-shadow(0 12px 40px rgba(0,0,0,.35));
    user-select: none;
    pointer-events: none;
}

.home-page .map-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.home-page .map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-page .map-legend-pin {
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 1.5px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
}


.home-page .network-stats {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 18px 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(2,31,44,.82);
    backdrop-filter: blur(8px);
}

.home-page .network-stats > div {
    flex: 1;
    padding: 0 14px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.1);
}

.home-page .network-stats > div:last-child {
    border-right: 0;
}

.home-page .network-stats strong {
    display: block;
    color: #fff;
    font-size: 24px;
    letter-spacing: -.03em;
}

.home-page .network-stats span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Network button */

.home-page .network-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    padding: 0 24px;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--ip-transition);
}

.home-page .network-button:hover {
    color: #fff !important;
    background: rgba(21,158,186,.17);
    border-color: var(--ip-teal-light);
    transform: translateY(-3px);
}

.home-page .network-button span {
    transition: transform .3s ease;
}

.home-page .network-button:hover span {
    transform: translateX(5px);
}

/* =========================================================
   PARTNERS
========================================================= */

.home-page .partners-section {
    background: #fff;
}

.home-page .partner-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 55px;
    border-top: 1px solid var(--ip-border);
    border-bottom: 1px solid var(--ip-border);
}

.home-page .partner-item {
    min-height: 165px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--ip-border);
    transition: var(--ip-transition);
}

.home-page .partner-item:first-child {
    border-left: 1px solid var(--ip-border);
}

.home-page .partner-item:hover {
    background: var(--ip-offwhite);
    transform: translateY(-3px);
}

.home-page .partner-item span {
    color: var(--ip-navy);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.home-page .partner-item small {
    margin-top: 5px;
    color: var(--ip-muted);
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

/* =========================================================
   FINAL CTA
========================================================= */

.home-page .final-cta {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: var(--ip-navy);
}

.home-page .final-cta::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -250px;
    top: -270px;
    border: 1px solid rgba(98,201,223,.11);
    border-radius: 50%;
}

.home-page .final-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.home-page .final-cta .section-label {
    color: var(--ip-teal-light);
}

.home-page .final-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px,5vw,66px);
    line-height: .97;
    letter-spacing: -.06em;
}

.home-page .final-cta h2 span {
    color: var(--ip-teal-light);
}

/* Circular CTA */

.home-page .cta-circle {
    flex: 0 0 132px;
    width: 132px;
    height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(98,201,223,.72);
    border-radius: 50%;
    background: rgba(21,158,186,.07);
    color: #fff !important;
    text-decoration: none;
    transition:
        background-color .35s ease,
        border-color .35s ease,
        transform .35s cubic-bezier(.22,1,.36,1),
        box-shadow .35s ease;
}

.home-page .cta-circle span {
    color: #fff !important;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    font-weight: 700;
}

.home-page .cta-circle strong {
    margin-top: 7px;
    color: var(--ip-teal-light) !important;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    transition: transform .35s ease, color .35s ease;
}

.home-page .cta-circle:hover {
    background: var(--ip-teal);
    border-color: var(--ip-teal);
    color: #fff !important;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 42px rgba(21,158,186,.23);
}

.home-page .cta-circle:hover span {
    color: #fff !important;
}

.home-page .cta-circle:hover strong {
    color: #fff !important;
    transform: translate(3px,-3px);
}

.home-page .cta-circle:focus-visible {
    outline: 2px solid var(--ip-teal-light);
    outline-offset: 5px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .home-page .hero-title {
        font-size: clamp(48px,7vw,70px);
    }

    .home-page .process-flow {
        grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
    }

    .home-page .portfolio-feature {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .home-page .hero {
        min-height: 720px;
    }

    .home-page .impact-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .home-page .impact-stat:nth-child(3) {
        border-left: 1px solid var(--ip-border);
    }

    .home-page .process-flow {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;
    }

    .home-page .process-line {
        display: none;
    }

    .home-page .portfolio-feature {
        grid-template-columns: 1fr;
    }

    .home-page .portfolio-image {
        min-height: 480px;
    }

    .home-page .network-visual {
        margin-top: 28px;
        min-height: 0;
    }

    .home-page .partner-grid {
        grid-template-columns: repeat(2,1fr);
        border-bottom: 0;
    }

    .home-page .partner-item {
        border-bottom: 1px solid var(--ip-border);
    }

    .home-page .partner-item:nth-child(3) {
        border-left: 1px solid var(--ip-border);
    }
}

@media (max-width: 767px) {
    .home-page .container {
        width: min(calc(100% - 30px), var(--ip-container));
    }

    .home-page .section-padding,
    .home-page .process-section,
    .home-page .network-section {
        padding: 78px 0;
    }

    .home-page .hero {
        min-height: 700px;
        height: 100svh;
    }

    .home-page .hero-overlay {
        background:
            linear-gradient(90deg,
                rgba(2,31,44,.96),
                rgba(3,43,60,.72)),
            linear-gradient(0deg,
                rgba(2,31,44,.72),
                transparent 45%);
    }

    .home-page .hero-content {
        padding-top: 96px; /* clear fixed header so eyebrow is visible */
    }

    .home-page .hero-eyebrow {
        font-size: 11px;
        letter-spacing: 0.16em;
        color: #62c9df;
        opacity: 1;
    }

    .home-page .eyebrow-line {
        width: 28px;
        background: #62c9df;
    }


    .home-page .hero-title {
        font-size: clamp(43px,12vw,63px);
    }

    .home-page .hero-description {
        font-size: 17px;
    }

    .home-page .hero-subtext {
        font-size: 13px;
    }

    .home-page .hero-actions {
        margin-top: 27px;
    }

    .home-page .hero-actions .hero-btn {
        width: 100%;
    }

    .home-page .scroll-indicator {
        left: 18px;
        bottom: 18px;
    }

    .home-page .hero-indicators {
        right: 18px;
        bottom: 18px;
    }

    .home-page .impact-stat {
        min-height: 125px;
        padding: 25px 18px;
    }

    .home-page .impact-number {
        font-size: 29px;
    }

    .home-page .display-heading {
        font-size: clamp(47px,14vw,67px);
        margin-bottom: 40px;
    }

    .home-page .section-description {
        margin: 25px 0 0;
    }

    .home-page .process-flow {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-page .process-item {
        padding: 0;
    }

    .home-page .portfolio-image {
        min-height: 370px;
    }

    .home-page .portfolio-list {
        padding: 15px;
    }

    .home-page .network-visual {
        min-height: 0;
        gap: 22px;
    }

    .home-page .philippines-placeholder {
        width: min(280px, 82vw);
    }

    .home-page .philippines-map-img {
        max-height: 440px;
    }

    
.home-page .map-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.home-page .map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-page .map-legend-pin {
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 1.5px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
}



.home-page .network-stats {
        max-width: 100%;
        padding: 14px 4px;
    }

    .home-page .network-stats > div {
        padding: 0 8px;
    }

    .home-page .network-stats strong {
        font-size: 20px;
    }

    .home-page .network-stats span {
        font-size: 7px;
    }

    .home-page .final-cta-inner {
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .home-page .hero {
        min-height: 720px;
    }

    .home-page .impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-page .partner-grid {
        grid-template-columns: 1fr;
        border-bottom: 1px solid var(--ip-border);
    }

    .home-page .partner-item,
    .home-page .partner-item:nth-child(3) {
        border-left: 1px solid var(--ip-border);
        border-top: 0;
        border-bottom: 1px solid var(--ip-border);
    }

    .home-page .partner-item:last-child {
        border-bottom: 0;
    }

    .home-page .final-cta-inner {
        flex-direction: column;
        gap: 35px;
    }

    .home-page .cta-circle {
        width: 116px;
        height: 116px;
        flex-basis: 116px;
    }

    .home-page .cta-circle span {
        font-size: 12px;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        animation: none !important;
        transition: none !important;
    }

    .home-page .hero-slide {
        transform: none !important;
    }

    .home-page .hero-slide.active {
        opacity: 1;
    }

    .home-page .reveal {
        opacity: 1;
        transform: none;
    }
}
