/* P3-05: founder page (/about/amol-amlapure). Navy sections alternate #081f36 / #0a2540. */
.fp {
    --fp-cyan: #00d4ff;
    --fp-text: #cbd5e1;
    --fp-muted: #94a3b8;
    --fp-line: rgba(255, 255, 255, .1);
    --fp-card: rgba(255, 255, 255, .04);
    --fp-radius: 16px;
    overflow: hidden;
}
.fp p, .fp li, .fp td, .fp figcaption { color: var(--fp-text); }
.fp a:not(.ghero__btn):not(.contact-btn) { color: var(--fp-cyan); }
.fp a:not(.ghero__btn):not(.contact-btn):hover { color: #fff; }

/* ---------- Hero ---------- */
.fp-hero {
    position: relative;
    padding: 170px 0 90px;
    background:
        radial-gradient(80% 90% at 85% 20%, rgba(0, 212, 255, .16) 0%, rgba(0, 212, 255, 0) 60%),
        linear-gradient(180deg, #0a2540 0%, #081f36 100%);
}
.fp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.fp .fp-hero__title {
    color: #fff;
    font-size: 56px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -.5px;
    text-transform: none !important;
    margin: 0 0 14px;
}
.fp .fp-hero__subtitle {
    color: var(--fp-cyan);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 24px;
}
.fp .fp-hero__intro {
    font-size: 17px;
    line-height: 1.75;
    max-width: 640px;
    margin: 0 0 34px;
}
.fp-hero__ctas .ghero__btn i { font-size: 16px; }
.fp-hero__ctas .ghero__btn svg { flex-shrink: 0; transition: transform .25s ease; }
.fp-hero__ctas .ghero__btn:hover svg { transform: translate(2px, -2px); }
.fp-hero__media { display: flex; justify-content: center; }
.fp-photo {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 320px;
    animation: fpFloatIn .9s cubic-bezier(.2, .7, .2, 1) both;
}
.fp-photo::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 2px solid rgba(0, 212, 255, .45);
    border-radius: 22px;
}
.fp-photo img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    background: #0a2540;
}
@keyframes fpFloatIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.fp-section { padding: 90px 0; }
.fp .fp-title {
    color: #fff;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    margin: 0 0 32px;
}
.fp .fp-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 14px;
    border-radius: 3px;
    background: var(--fp-cyan);
}
.fp .fp-section__intro { font-size: 17px; margin: -12px 0 30px; }
.fp ul, .fp ol { list-style: none; padding: 0; margin: 0; }

/* At a glance */
.fp-glance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.fp-glance__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: var(--fp-radius);
    transition: transform .25s ease, border-color .25s ease;
}
.fp-glance__item:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, .5); }
.fp-glance__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: rgba(0, 212, 255, .12);
    color: var(--fp-cyan);
    font-size: 18px;
}
.fp-glance__item strong { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.35; }
.fp-glance__item span:last-child { color: var(--fp-text); font-size: 15px; line-height: 1.55; }

/* Why I started: story timeline on the left, name card and quote on the right */
.fp-why__head { max-width: 860px; margin-bottom: 44px; }
.fp-why {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.fp .fp-why__lead {
    position: relative;
    margin: 0;
    padding-left: 22px;
    border-left: 3px solid var(--fp-cyan);
    color: #fff;
    font-size: 24px !important;
    font-weight: 600;
    line-height: 1.45 !important;
}
.fp-why__steps { position: relative; }
.fp-why__step {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 30px;
}
.fp-why__step:last-child { padding-bottom: 0; }
/* connector between markers */
.fp-why__step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 212, 255, .6), rgba(0, 212, 255, .1));
}
.fp-why__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--fp-cyan);
    background: #081f36;
    color: var(--fp-cyan);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.fp-why__mark--icon { font-size: 20px; }
.fp-why__step:hover .fp-why__mark { background: var(--fp-cyan); color: #000; box-shadow: 0 0 22px rgba(0, 212, 255, .55); transform: scale(1.06); }
.fp .fp-why__step p {
    margin: 0;
    padding: 18px 22px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: var(--fp-radius);
    font-size: 16px;
    line-height: 1.75;
    transition: border-color .25s ease, background .25s ease;
}
.fp-why__step:hover p { border-color: rgba(0, 212, 255, .45); background: rgba(0, 212, 255, .05); }

.fp-why__side { display: flex; flex-direction: column; gap: 24px; }
.fp-name {
    position: relative;
    padding: 30px 28px;
    border-radius: var(--fp-radius);
    border: 1px solid rgba(0, 212, 255, .3);
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(0, 212, 255, .18), rgba(0, 212, 255, 0) 70%),
        #0a2540;
    overflow: hidden;
}
.fp-name__label { display: block; margin-bottom: 18px; color: var(--fp-muted); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.fp-name__eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.fp-name__part {
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.fp-name__op { color: var(--fp-cyan); font-size: 22px; font-weight: 700; }
.fp-name__result {
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--fp-cyan);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}
.fp .fp-name p { margin: 0; font-size: 16px; line-height: 1.7; }
.fp .fp-name em { color: #fff; font-style: normal; font-weight: 600; }

.fp-quote {
    position: relative;
    margin: 0;
    padding: 28px 28px 28px 70px;
    border-left: 3px solid var(--fp-cyan);
    border-radius: 0 var(--fp-radius) var(--fp-radius) 0;
    background: rgba(0, 212, 255, .07);
}
.fp-quote i { position: absolute; left: 26px; top: 30px; color: var(--fp-cyan); font-size: 24px; }
.fp .fp-quote p { color: #fff; font-size: 19px; line-height: 1.6; margin: 0; }
.fp .fp-quote strong { color: var(--fp-cyan); }

@media (max-width: 991px) {
    .fp-why { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 575px) {
    .fp .fp-why__lead { font-size: 20px !important; padding-left: 16px; }
    .fp-why__head { margin-bottom: 30px; }
    .fp-why__step { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
    .fp-why__step:not(:last-child)::before { left: 23px; top: 48px; }
    .fp-why__mark { width: 48px; height: 48px; font-size: 12px; }
    .fp-why__mark--icon { font-size: 16px; }
    .fp .fp-why__step p { padding: 14px 16px; font-size: 15px; }
    .fp-name { padding: 24px 20px; }
    .fp-name__part { font-size: 17px; padding: 6px 12px; }
    .fp-name__result { font-size: 16px; padding: 6px 12px; }
}

/* What I do */
.fp-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.fp-card {
    padding: 26px 22px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: var(--fp-radius);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.fp-card:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, .5); background: rgba(0, 212, 255, .05); }
.fp-card__icon { display: block; color: var(--fp-cyan); font-size: 24px; margin-bottom: 16px; }
.fp .fp-card p { font-size: 15px; line-height: 1.65; margin: 0; }

/* How I work */
.fp-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.fp-principle {
    padding: 30px 28px;
    background: var(--fp-card);
    border-radius: 0 0 var(--fp-radius) var(--fp-radius);
}
/* top line: faint track + cyan line that draws in from the left; on hover it glows and a light sweeps across */
.fp-principle::before,
.fp-principle::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
}
.fp-principle::before { background: rgba(0, 212, 255, .15); }
.fp-principle::after {
    background: linear-gradient(90deg, var(--fp-cyan) 0%, var(--fp-cyan) 40%, #e6fbff 50%, var(--fp-cyan) 60%, #4fa3ff 100%);
    background-size: 250% 100%;
    background-position: 100% 0;
    transform-origin: left;
    transition: height .3s ease, box-shadow .3s ease;
}
.fp-principle:hover::after {
    height: 4px;
    box-shadow: 0 0 14px rgba(0, 212, 255, .7);
    animation: fpLineSweep 1.2s ease;
}
@keyframes fpLineSweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes fpLineDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.pe-anim .fp-principles.pe-reveal > .fp-principle::after { transform: scaleX(0); }
html.pe-anim .fp-principles.pe-reveal.is-in > .fp-principle::after { transform: scaleX(1); animation: fpLineDraw .9s cubic-bezier(.65, 0, .35, 1) .35s backwards; }
html.pe-anim .fp-principles.pe-reveal.is-in > .fp-principle:nth-child(2)::after { animation-delay: .5s; }
html.pe-anim .fp-principles.pe-reveal.is-in > .fp-principle:nth-child(3)::after { animation-delay: .65s; }
html.pe-anim .fp-principles.pe-reveal.is-in > .fp-principle:hover::after { animation: fpLineSweep 1.2s ease; }
.fp-principle__num { display: block; color: var(--fp-cyan); font-size: 32px; font-weight: 700; line-height: 1; margin-bottom: 16px; opacity: .8; }
.fp .fp-principle h3 { color: #fff; font-size: 20px !important; font-weight: 700; line-height: 1.4 !important; text-transform: none !important; margin: 0 0 10px; }
.fp .fp-principle p { font-size: 16px; line-height: 1.65; margin: 0; }

/* Know best / led */
.fp-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}
.fp-list li {
    position: relative;
    padding: 0 0 18px 30px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--fp-line);
    font-size: 16px;
    line-height: 1.7;
}
.fp-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.fp-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--fp-cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, .15);
}
.fp .fp-list strong { color: #fff; }
.fp .fp-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.fp-list .fp-more { margin-left: 4px; }
.fp-more i { font-size: 12px; transition: transform .2s ease; }
.fp-more:hover i { transform: translateX(4px); }

/* Career timeline: alternating cards on a centre line; each card slides in and draws its line segment */
.fp-timeline { position: relative; max-width: 1040px; margin: 0 auto !important; }
.fp-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
    background: rgba(0, 212, 255, .14);
}
.fp-timeline__item {
    position: relative;
    width: 50%;
    padding: 0 56px 34px 0;
}
.fp-timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 34px 56px; }
.fp-timeline__item:last-child { padding-bottom: 0; }
/* bright segment from this node down to the next one */
.fp-timeline__item::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: -22px;
    right: -1px;
    width: 2px;
    background: linear-gradient(180deg, var(--fp-cyan), rgba(0, 212, 255, .35));
    transform-origin: top;
}
.fp-timeline__item:nth-child(even)::after { right: auto; left: -1px; }
.fp-timeline__item:last-child::after { display: none; }
.fp-timeline__node {
    position: absolute;
    top: 0;
    right: -22px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #081f36;
    border: 2px solid var(--fp-cyan);
    color: var(--fp-cyan);
    font-size: 16px;
    box-shadow: 0 0 0 6px #081f36;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.fp-timeline__item:nth-child(even) .fp-timeline__node { right: auto; left: -22px; }
.fp-timeline__card {
    position: relative;
    padding: 22px 26px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: var(--fp-radius);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
/* small pointer towards the line */
.fp-timeline__card::before {
    content: "";
    position: absolute;
    top: 15px;
    right: -7px;
    width: 12px;
    height: 12px;
    background: #0c2741;
    border-top: 1px solid var(--fp-line);
    border-right: 1px solid var(--fp-line);
    transform: rotate(45deg);
    transition: border-color .25s ease;
}
.fp-timeline__item:nth-child(even) .fp-timeline__card::before { right: auto; left: -7px; transform: rotate(-135deg); }
.fp-timeline__item:hover .fp-timeline__card { transform: translateY(-4px); border-color: rgba(0, 212, 255, .5); background: rgba(0, 212, 255, .05); }
.fp-timeline__item:hover .fp-timeline__card::before { border-color: rgba(0, 212, 255, .5); }
.fp-timeline__item:hover .fp-timeline__node,
.fp-timeline__item.is-current .fp-timeline__node { background: var(--fp-cyan); color: #000; box-shadow: 0 0 0 6px #081f36, 0 0 22px rgba(0, 212, 255, .6); }
.fp-timeline__item.is-current .fp-timeline__node { animation: fpPulse 2.4s ease-out infinite; }
.fp-timeline__item.is-current .fp-timeline__card { border-color: rgba(0, 212, 255, .45); background: linear-gradient(135deg, rgba(0, 212, 255, .1), rgba(0, 212, 255, .02)); }
.fp-timeline__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.fp-timeline__years {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 212, 255, .12);
    color: var(--fp-cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
}
.fp-timeline__item.is-current .fp-timeline__years { background: var(--fp-cyan); color: #000; }
.fp-timeline__org { color: var(--fp-muted); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.fp .fp-timeline__role { font-size: 16px; line-height: 1.65; margin: 0; }
.fp .fp-timeline__item.is-current .fp-timeline__role { color: #fff; font-weight: 600; }
@keyframes fpPulse {
    0% { box-shadow: 0 0 0 6px #081f36, 0 0 0 6px rgba(0, 212, 255, .55); }
    70% { box-shadow: 0 0 0 6px #081f36, 0 0 0 20px rgba(0, 212, 255, 0); }
    100% { box-shadow: 0 0 0 6px #081f36, 0 0 0 20px rgba(0, 212, 255, 0); }
}
/* scroll-in effect (only when service-page-fx.js enables animations) */
html.pe-anim .fp-timeline__item.pe-reveal { opacity: 1; }
html.pe-anim .fp-timeline__item.pe-reveal.is-in { animation: none; }
html.pe-anim .fp-timeline__item.pe-reveal .fp-timeline__card,
html.pe-anim .fp-timeline__item.pe-reveal .fp-timeline__node { opacity: 0; }
html.pe-anim .fp-timeline__item.pe-reveal.is-in .fp-timeline__card { opacity: 1; animation: fpSlideL .7s cubic-bezier(.2, .7, .2, 1) .15s backwards; }
html.pe-anim .fp-timeline__item.pe-reveal.is-in:nth-child(even) .fp-timeline__card { animation-name: fpSlideR; }
html.pe-anim .fp-timeline__item.pe-reveal.is-in .fp-timeline__node { opacity: 1; animation: fpPop .5s cubic-bezier(.3, 1.5, .5, 1) backwards; }
html.pe-anim .fp-timeline__item.pe-reveal.is-in.is-current .fp-timeline__node { animation: fpPop .5s cubic-bezier(.3, 1.5, .5, 1) backwards, fpPulse 2.4s ease-out .6s infinite; }
html.pe-anim .fp-timeline__item.pe-reveal::after { transform: scaleY(0); }
html.pe-anim .fp-timeline__item.pe-reveal.is-in::after { transition: transform 1s ease .35s; transform: scaleY(1); }
@keyframes fpSlideL { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes fpSlideR { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes fpPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

/* Certifications */
.fp-table-wrap { max-width: 900px; overflow-x: auto; border: 1px solid var(--fp-line); border-radius: var(--fp-radius); }
.fp-table { width: 100%; border-collapse: collapse; }
.fp-table th, .fp-table td { padding: 16px 22px; text-align: left; font-size: 16px; line-height: 1.55; vertical-align: top; }
.fp-table th { color: #fff; font-weight: 700; background: rgba(0, 212, 255, .08); }
.fp-table td:first-child { color: var(--fp-cyan); font-weight: 700; white-space: nowrap; width: 140px; }
.fp-table tbody tr + tr td { border-top: 1px solid var(--fp-line); }

/* Speaking */
.fp-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.fp-video { margin: 0; }
.fp-video__frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 1px solid var(--fp-line);
    border-radius: var(--fp-radius);
    overflow: hidden;
    background: #0a2540;
}
iframe.fp-video__frame { border: 0; }
.fp-video__play { cursor: pointer; border-radius: var(--fp-radius) !important; }
.fp-video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fp-video__play:hover img { transform: scale(1.04); }
.fp-video__btn {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    border-radius: 50%;
    background: var(--fp-cyan);
    color: #000;
    font-size: 22px;
    box-shadow: 0 0 0 10px rgba(0, 212, 255, .2);
    transition: transform .2s ease;
}
.fp-video__btn i { margin-left: 4px; }
.fp-video__play:hover .fp-video__btn,
.fp-video__play:focus-visible .fp-video__btn { transform: scale(1.08); }
.fp-video__play:focus-visible { outline: 2px solid var(--fp-cyan); outline-offset: 3px; }
.fp-video__frame--poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(0, 212, 255, .2), rgba(0, 212, 255, 0) 70%),
        #0a2540;
    color: var(--fp-cyan);
}
.fp-video__frame--poster i { font-size: 40px; }
.fp-video__frame--poster span { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.fp .fp-video figcaption { margin-top: 14px; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.45; }

/* Beyond Gunadhya */
.fp-beyond {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    max-width: 900px;
    padding: 34px;
    border: 1px solid rgba(0, 212, 255, .3);
    border-radius: var(--fp-radius);
    background: rgba(0, 212, 255, .05);
}
.fp-beyond__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 212, 255, .14);
    color: var(--fp-cyan);
    font-size: 28px;
}
.fp-beyond .fp-title { margin-bottom: 20px; }
.fp .fp-beyond p { font-size: 17px; line-height: 1.75; margin: 0; }

/* Writing */
.fp-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px !important;
}
.fp-post {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: var(--fp-radius);
    transition: border-color .25s ease, transform .25s ease;
}
.fp-post:hover { border-color: rgba(0, 212, 255, .5); transform: translateY(-4px); }
.fp-post time { color: var(--fp-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.fp .fp-post a { color: #fff; font-size: 17px; font-weight: 600; line-height: 1.45; }
.fp .fp-post a:hover { color: var(--fp-cyan); }

/* ---------- Effects: hero entrance, per-item stagger, hover states ---------- */
/* hero: title, subtitle, intro and buttons rise in one after another */
.fp-hero__text > * { animation: fpRise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.fp-hero__text > :nth-child(2) { animation-delay: .12s; }
.fp-hero__text > :nth-child(3) { animation-delay: .24s; }
.fp-hero__text > :nth-child(4) { animation-delay: .36s; }
.fp-photo:hover img { transform: translateY(-6px); }
.fp-photo img { transition: transform .4s ease; }
.fp-photo::before { transition: inset .4s ease, border-color .4s ease; }
.fp-photo:hover::before { inset: 26px -26px -26px 26px; border-color: var(--fp-cyan); }

/* stagger: the list is revealed by service-page-fx.js, its items rise in one by one */
html.pe-anim .fp-stagger.pe-reveal,
html.pe-anim .fp-stagger.pe-reveal.is-in,
html.pe-anim .fp-stagger-rows.pe-reveal,
html.pe-anim .fp-stagger-rows.pe-reveal.is-in { opacity: 1; animation: none; }
html.pe-anim .fp-stagger.pe-reveal > *,
html.pe-anim .fp-stagger-rows.pe-reveal tbody tr { opacity: 0; }
html.pe-anim .fp-stagger.pe-reveal.is-in > *,
html.pe-anim .fp-stagger-rows.pe-reveal.is-in tbody tr {
    opacity: 1;
    animation: fpRise .7s cubic-bezier(.2, .7, .2, 1) backwards;
}
html.pe-anim .fp-stagger-rows.pe-reveal.is-in tbody tr { animation-name: fpSlideL; }
.fp-stagger > :nth-child(2), .fp-stagger-rows tbody tr:nth-child(2) { animation-delay: .09s !important; }
.fp-stagger > :nth-child(3), .fp-stagger-rows tbody tr:nth-child(3) { animation-delay: .18s !important; }
.fp-stagger > :nth-child(4) { animation-delay: .27s !important; }
.fp-stagger > :nth-child(5) { animation-delay: .36s !important; }
.fp-stagger > :nth-child(6) { animation-delay: .45s !important; }
.fp-stagger > :nth-child(7) { animation-delay: .54s !important; }
.fp-stagger > :nth-child(8) { animation-delay: .63s !important; }
@keyframes fpRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* beyond: icon pops in */
html.pe-anim .fp-beyond.pe-reveal.is-in .fp-beyond__icon { animation: fpPop .6s cubic-bezier(.3, 1.5, .5, 1) .25s backwards; }

/* hover: icons fill cyan and tilt */
.fp-glance__icon, .fp-card__icon, .fp-beyond__icon { transition: transform .3s ease, background .3s ease, color .3s ease; }
.fp-glance__item:hover .fp-glance__icon,
.fp-beyond:hover .fp-beyond__icon { background: var(--fp-cyan); color: #000; transform: rotate(-8deg) scale(1.08); }
.fp-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(0, 212, 255, .1); font-size: 20px; }
.fp-card:hover .fp-card__icon { background: var(--fp-cyan); color: #000; transform: rotate(-8deg) scale(1.08); }
.fp-glance__item, .fp-card, .fp-post, .fp-principle { position: relative; overflow: hidden; }
/* cyan bar grows along the bottom on hover */
.fp-glance__item::after, .fp-card::after, .fp-post::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--fp-cyan), #4fa3ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.fp-glance__item:hover::after, .fp-card:hover::after, .fp-post:hover::after { transform: scaleX(1); }

/* principles */
.fp-principle { transition: transform .25s ease, background .25s ease; }
.fp-principle:hover { transform: translateY(-4px); background: rgba(0, 212, 255, .06); }
.fp-principle__num { transition: opacity .25s ease, transform .3s ease; transform-origin: left; }
.fp-principle:hover .fp-principle__num { opacity: 1; transform: scale(1.15); }

/* lists */
.fp-list li { transition: padding-left .25s ease; }
.fp-list li::before { transition: box-shadow .25s ease, transform .25s ease; }
.fp-list li:hover { padding-left: 36px; }
.fp-list li:hover::before { transform: translateX(4px); box-shadow: 0 0 0 6px rgba(0, 212, 255, .25), 0 0 12px rgba(0, 212, 255, .6); }

/* why: quote and lead */
.fp-quote { transition: transform .3s ease, background .3s ease; }
.fp-quote:hover { transform: translateX(6px); background: rgba(0, 212, 255, .1); }

/* certifications */
.fp-table tbody tr { transition: background .25s ease; }
.fp-table tbody tr:hover { background: rgba(0, 212, 255, .06); }

/* videos and beyond */
.fp-video { transition: transform .3s ease; }
.fp-video:hover { transform: translateY(-4px); }
.fp-video__frame { transition: border-color .3s ease, box-shadow .3s ease; }
.fp-video:hover .fp-video__frame { border-color: rgba(0, 212, 255, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.fp-beyond { transition: border-color .3s ease, background .3s ease; }
.fp-beyond:hover { border-color: rgba(0, 212, 255, .6); background: rgba(0, 212, 255, .08); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .fp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .fp-hero { padding: 140px 0 70px; }
    .fp-hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .fp-hero__media { order: -1; justify-content: flex-start; }
    .fp-photo { max-width: 240px; }
    .fp .fp-hero__title { font-size: 44px !important; }
    .fp-section { padding: 70px 0; }
    .fp-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-principles { grid-template-columns: 1fr; }
    .fp-split { grid-template-columns: 1fr; gap: 56px; }
    .fp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* timeline: single column, line on the left */
    .fp-timeline::before { left: 21px; }
    .fp-timeline__item,
    .fp-timeline__item:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 26px 68px; }
    .fp-timeline__item::after,
    .fp-timeline__item:nth-child(even)::after { left: 20px; right: auto; }
    .fp-timeline__node,
    .fp-timeline__item:nth-child(even) .fp-timeline__node { left: 0; right: auto; }
    .fp-timeline__card::before,
    .fp-timeline__item:nth-child(even) .fp-timeline__card::before { left: -7px; right: auto; transform: rotate(-135deg); }
    html.pe-anim .fp-timeline__item.pe-reveal.is-in .fp-timeline__card { animation-name: fpSlideR; }
}
@media (max-width: 767px) {
    .fp-hero { padding: 120px 0 56px; }
    .fp-photo { max-width: 200px; }
    .fp .fp-hero__title { font-size: 36px !important; }
    .fp .fp-hero__subtitle { font-size: 17px; }
    .fp .fp-hero__intro { font-size: 16px; }
    .fp-section { padding: 56px 0; }
    .fp .fp-title { font-size: 27px !important; margin-bottom: 26px; }
    .fp-videos { grid-template-columns: 1fr; }
    .fp-glance { gap: 14px; }
    .fp-glance__item { padding: 20px; }
    .fp-table th, .fp-table td { padding: 14px 16px; font-size: 15px; }
    .fp-table td:first-child { width: auto; }
    .fp-beyond { flex-direction: column; gap: 18px; padding: 24px; }
    .fp-quote { padding: 22px 20px 22px 56px; }
    .fp-quote i { left: 20px; top: 24px; font-size: 20px; }
    .fp .fp-quote p { font-size: 17px; }
}
/* tablets: hero buttons side by side at their natural width (custom.css stretches them below 769px) */
@media (min-width: 768px) and (max-width: 991px) {
    .fp-hero__ctas.ghero__ctas--static { flex-direction: row; align-items: center; }
    .fp-hero__ctas .ghero__btn { width: auto !important; }
}
@media (max-width: 575px) {
    .fp-glance, .fp-cards, .fp-posts { grid-template-columns: 1fr; }
    .fp-card { padding: 22px 20px; }
    .fp-principle { padding: 26px 22px; }
    .fp-video__btn { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 18px; }
    .fp .fp-video figcaption { font-size: 16px; }
    .fp-timeline__card { padding: 18px 18px; }
}
@media (max-width: 400px) {
    .fp .fp-hero__title { font-size: 32px !important; }
    .fp-table td:first-child { white-space: normal; }
    .fp .fp-more { white-space: normal; }
}
/* small laptops (992-1199px): keep both hero buttons on one line and the name equation on one line */
@media (min-width: 992px) and (max-width: 1199px) {
    .fp-hero__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; }
    .fp-hero__ctas .ghero__btn { padding: 0 20px !important; }
    .fp-why { gap: 36px; }
    .fp-name { padding: 26px 22px; }
    .fp-name__eq { gap: 8px; }
    .fp-name__part { font-size: 17px; padding: 6px 12px; }
    .fp-name__result { font-size: 15px; padding: 6px 12px; }
}
/* phones: hero buttons full width and equal */
@media (max-width: 767px) {
    .fp-hero__ctas .ghero__btn { width: 100% !important; justify-content: center !important; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-photo, .fp-hero__text > * { animation: none; }
    .fp-glance__icon, .fp-card__icon, .fp-beyond__icon, .fp-principle, .fp-list li, .fp-quote, .fp-video, .fp-photo img { transition: none; }
    .fp-glance__item, .fp-card, .fp-post, .fp-video__play img, .fp-timeline__card { transition: none; }
    .fp-timeline__item.is-current .fp-timeline__node { animation: none; }
    .fp-principle::after, .fp-principle:hover::after { animation: none !important; transition: none; }
}
