/* ============================================================
   FAST-E · IIT Hyderabad — "DAYBREAK" reimagining
   Full Stack AI & Smart Technologies for Energy Engineering.
   Concept: IITH's logo dot is "the sun, the primary source of
   energy" — it rises in the hero over a smart-grid horizon and
   its warm light propagates down the page (cream daybreak ->
   navy dusk), tracing FAST-E's arc from raw radiance to charted,
   forecasted energy. Authentic IITH palette (navy + saffron +
   sun-red + cream). Tagline: "Pushing Frontiers." No teal.
   Prefix: .pf-  ·  Scope: body.faste-iith
   ============================================================ */

:root {
    --navy-deep: #0E1F4E;
    --navy:      #122A6B;
    --royal:     #1E40AF;
    --ink:       #15203A;
    --saffron:   #F26A1B;
    --sun-red:   #E23A2E;
    --amber:     #F59E0B;
    --cream:     #FBF6EC;
    --cream-2:   #F4EEE1;
    --paper:     #FFFFFF;
    --hairline:  rgba(18, 42, 107, 0.14);

    --sun-core: radial-gradient(circle at 50% 46%, #FFF7E3 0%, #FFE3A0 13%, #FCC23C 30%, #F26A1B 52%, #E23A2E 70%, rgba(226,58,46,0) 78%);
    --cta:      linear-gradient(135deg, #F26A1B 0%, #E23A2E 100%);
    --daybreak: linear-gradient(180deg, #0B1A45 0%, #0E1F4E 38%, #122A6B 72%, #1B379A 100%);
    --warm-wash:linear-gradient(180deg, rgba(245,158,11,0.10), rgba(245,158,11,0) 220px);
    --facade:   repeating-linear-gradient(90deg, var(--sun-red) 0 18px, #FBF6EC 18px 30px);
    --signal:   linear-gradient(100deg, #F26A1B, #F59E0B);

    --f-display: "Fraunces", "Domine", Georgia, serif;
    --f-body:    "Inter", "Lato", system-ui, -apple-system, sans-serif;
    --f-mono:    "JetBrains Mono", "SFMono-Regular", ui-monospace, monospace;
}

/* ---------- base / scope ---------- */
body.faste-iith {
    background: var(--cream);
    font-family: var(--f-body);
    color: var(--ink);
    overflow-x: hidden;
}
.faste-iith ::selection { background: rgba(242,106,27,0.22); }
.faste-iith *:focus-visible {
    outline: 3px solid var(--royal);
    outline-offset: 2px;
    border-radius: 4px;
}

/* nav re-theme: warm the Apply button to saffron on this page */
body.faste-iith .navbar-42 { background: var(--paper); border-bottom: 1px solid var(--hairline); }
body.faste-iith .btn-apply-now {
    background: var(--cta) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(226, 58, 46, 0.28);
}
body.faste-iith .btn-apply-now:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ---------- shared section scaffolding ---------- */
.pf-section { position: relative; padding: 88px 0; }
.pf-section--cream  { background: var(--cream); }
.pf-section--cream2 { background: var(--cream-2); }
.pf-section--paper  { background: var(--paper); }
/* spilled daylight cap on light sections */
.pf-section--cream::before,
.pf-section--cream2::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 220px;
    background: var(--warm-wash); pointer-events: none;
}
.pf-section > .container { position: relative; z-index: 1; }

.pf-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.pf-kicker {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--f-body); font-weight: 600; font-size: 13px;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron);
    margin-bottom: 14px;
}
.pf-kicker::before {
    content: ""; width: 18px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--saffron), var(--amber));
}
.pf-title {
    margin: 0; font-family: var(--f-display); font-weight: 600;
    font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.12; color: var(--navy);
    letter-spacing: -0.01em;
}
.pf-title .pf-em { color: var(--saffron); font-style: normal; }
.pf-sub {
    margin: 16px auto 0; max-width: 680px;
    font-size: 17px; line-height: 1.7; color: #41506a;
}
.pf-section--dark .pf-title { color: #fff; }
.pf-section--dark .pf-sub { color: #cdd7f0; }

/* ---------- buttons ---------- */
.pf-btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 54px; padding: 0 28px; border-radius: 999px;
    font-family: var(--f-body); font-weight: 600; font-size: 16px;
    text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease, color 0.2s ease;
}
.pf-btn--primary { background: var(--cta); color: #fff; box-shadow: 0 12px 26px rgba(226,58,46,0.30); }
.pf-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(226,58,46,0.42), 0 0 0 6px rgba(245,158,11,0.16); }
.pf-btn--ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.42); }
.pf-btn--ghost:hover { color: var(--navy); background: var(--cream); border-color: var(--cream); transform: translateY(-2px); }
.pf-btn--ink { background: var(--navy); color: #fff; box-shadow: 0 12px 26px rgba(18,42,107,0.28); }
.pf-btn--ink:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(18,42,107,0.4); }
/* saffron sheen sweep on hover */
.pf-btn::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-18deg); opacity: 0; transition: none;
}
.pf-btn:hover::after { animation: pf-sheen 0.7s ease; }
@keyframes pf-sheen { 0%{ left:-60%; opacity:.0;} 20%{opacity:.9;} 100%{ left:130%; opacity:0;} }

/* =====================================================================
   TOP FRONTIER METER (scroll progress) — red/white facade stripe
   ===================================================================== */
.pf-progress {
    position: fixed; top: 0; left: 0; height: 4px; width: 0;
    background: var(--facade); background-size: 30px 100%;
    z-index: 1200; box-shadow: 0 1px 6px rgba(226,58,46,0.4);
    transition: width 0.08s linear; pointer-events: none;
}

/* =====================================================================
   HERO — Stage 1 (Daybreak split)
   ===================================================================== */
.pf-hero {
    position: relative; overflow: hidden;
    background: var(--daybreak);
    padding: 70px 0 90px;
    color: #eaf0ff;
}
/* faint star/field & vignette */
.pf-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(1100px 520px at 78% 88%, rgba(242,106,27,0.22), transparent 60%),
        radial-gradient(700px 400px at 90% 70%, rgba(245,158,11,0.18), transparent 62%);
    pointer-events: none;
}
.pf-hero .container { position: relative; z-index: 2; }
.pf-hero-left { padding-right: 14px; }

.pf-logo-pill {
    /* frameless: the IITH lockup sits directly on the hero, no card/border */
    display: inline-block;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
}
.pf-logo-pill img { height: clamp(62px, 7.4vw, 80px); width: auto; display: block; }
.pf-letterhead {
    margin: 16px 0 18px; height: 1px; width: 100%;
    background: linear-gradient(90deg, rgba(245,158,11,0.7), rgba(245,158,11,0));
}
.pf-eyebrow {
    display: block; font-family: var(--f-mono); font-weight: 500;
    font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--amber); margin-bottom: 14px;
}
.pf-wordmark {
    position: relative; display: inline-block; margin: 0;
    font-family: var(--f-display); font-weight: 700;
    font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.92; letter-spacing: -0.02em;
    color: #fff; text-shadow: 0 6px 30px rgba(245, 158, 11, 0.35);
}
.pf-wordmark .pf-wm-e { color: var(--amber); }
.pf-wm-wave { display: block; width: clamp(180px, 26vw, 300px); height: 16px; margin-top: 6px; }
.pf-wm-wave path { stroke: var(--saffron); stroke-width: 3; fill: none; stroke-linecap: round;
    stroke-dasharray: 600; stroke-dashoffset: 600; animation: pf-draw 1.6s ease forwards 0.3s; }

.pf-hero-title {
    margin: 22px 0 0; font-family: var(--f-display); font-weight: 600;
    font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.18; color: #f3f6ff;
    max-width: 560px;
}
.pf-hero-title .pf-em { color: var(--saffron); }
.pf-hero-desc { margin: 16px 0 0; max-width: 530px; font-size: 16.5px; line-height: 1.7; color: #c9d4f1; }

.pf-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pf-stat {
    position: relative; flex: 1 1 200px; min-width: 190px;
    padding: 16px 18px 15px; border-radius: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(245,158,11,0.34);
    backdrop-filter: blur(4px);
    overflow: hidden;
}
.pf-stat::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--saffron), var(--amber));
}
.pf-stat-value { font-family: var(--f-display); font-weight: 700; font-size: 1.55rem; line-height: 1; color: #fff; }
.pf-stat-label { display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.4; color: #b9c6e8; }
.pf-stat-unit { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--amber); text-transform: uppercase; }
.pf-stat-spark { position: absolute; right: 12px; bottom: 12px; width: 52px; height: 18px; opacity: 0.85; }
.pf-stat-spark path { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; }

.pf-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pf-ribbon {
    display: inline-flex; align-items: flex-start; gap: 11px; margin-top: 22px;
    padding: 12px 16px; border-radius: 12px; max-width: 540px;
    background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.4);
    font-size: 14px; line-height: 1.45; color: #f6e7c9;
}
.pf-ribbon i { color: var(--amber); font-size: 17px; margin-top: 2px; flex-shrink: 0; }
.pf-ribbon b { color: #fff; }

/* ---- The Sun Engine (right) ---- */
.pf-hero-right { position: relative; min-height: 480px; }
.pf-sun-stage {
    position: relative; width: 100%; height: 100%; min-height: 460px;
    display: flex; align-items: center; justify-content: center;
}
.pf-sun {
    position: absolute; top: 46%; left: 52%; transform: translate(-50%, -50%);
    width: clamp(280px, 30vw, 400px); aspect-ratio: 1;
}
.pf-sun-core {
    position: absolute; inset: 26%; border-radius: 50%;
    background: var(--sun-core);
    filter: drop-shadow(0 0 50px rgba(245,158,11,0.55));
    animation: pf-breathe 5.5s ease-in-out infinite;
}
.pf-sun-corona {
    position: absolute; inset: 0; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg,
        rgba(245,158,11,0) 0deg 4.6deg,
        rgba(245,158,11,0.55) 4.6deg 5.6deg,
        rgba(245,158,11,0) 5.6deg 9deg);
    -webkit-mask: radial-gradient(circle, transparent 33%, #000 40%, #000 60%, transparent 76%);
            mask: radial-gradient(circle, transparent 33%, #000 40%, #000 60%, transparent 76%);
    filter: blur(0.4px); opacity: 0.7; mix-blend-mode: screen;
    animation: pf-spin 26s linear infinite;
}
.pf-sun-corona.alt {
    background: repeating-conic-gradient(from 2deg,
        rgba(226,58,46,0) 0deg 7deg,
        rgba(242,106,27,0.45) 7deg 8.4deg,
        rgba(226,58,46,0) 8.4deg 15deg);
    animation-duration: 40s; animation-direction: reverse; opacity: 0.5;
}
/* ray burst (one-shot SVG) */
.pf-rays { position: absolute; inset: -6%; pointer-events: none; }
.pf-rays line {
    stroke: rgba(245,158,11,0.6); stroke-width: 2; stroke-linecap: round;
    stroke-dasharray: 120; stroke-dashoffset: 120;
}
.pf-hero.is-lit .pf-rays line { animation: pf-ray 1.1s ease forwards; }
/* smart-grid horizon */
.pf-horizon { position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: 120px; overflow: visible; }
.pf-horizon .pf-feeder { fill: none; stroke: rgba(201,212,241,0.5); stroke-width: 1.4; }
.pf-horizon .pf-load { fill: none; stroke: url(#pfLoadGrad); stroke-width: 2.6; stroke-linecap: round;
    stroke-dasharray: 900; stroke-dashoffset: 900; animation: pf-draw 2.4s ease forwards 0.5s; }
.pf-horizon .pf-load-flow { fill: none; stroke: rgba(255,227,160,0.9); stroke-width: 2.6; stroke-linecap: round;
    stroke-dasharray: 8 26; animation: pf-flow 1.4s linear infinite; }
.pf-packet { fill: var(--sun-red); filter: drop-shadow(0 0 5px rgba(226,58,46,0.8)); }
/* energy motes */
.pf-mote { position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: radial-gradient(circle, #ffe3a0, rgba(245,158,11,0)); pointer-events: none; }
.pf-mote.m1 { left: 40%; bottom: 16%; animation: pf-mote 18s ease-in-out infinite; }
.pf-mote.m2 { left: 60%; bottom: 22%; width: 8px; height: 8px; animation: pf-mote 22s ease-in-out infinite 3s; }
.pf-mote.m3 { left: 70%; bottom: 12%; animation: pf-mote 20s ease-in-out infinite 6s; }
.pf-mote.m4 { left: 50%; bottom: 10%; width: 5px; height: 5px; animation: pf-mote 24s ease-in-out infinite 9s; }

/* accreditation card anchored under the sun */
.pf-accredit {
    position: absolute; right: 0; bottom: -8px; width: min(260px, 70%);
    background: var(--paper); border-radius: 16px; overflow: hidden;
    box-shadow: 0 26px 54px rgba(5, 14, 40, 0.5); z-index: 3;
}
.pf-accredit-stripe { height: 8px; background: var(--facade); background-size: 30px 100%; }
.pf-accredit img { width: 100%; height: 120px; object-fit: cover; display: block; }
.pf-accredit-body { display: flex; align-items: center; gap: 11px; padding: 13px 14px; }
.pf-accredit-body i { color: var(--saffron); font-size: 24px; flex-shrink: 0; }
.pf-accredit-body strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.2; }
.pf-accredit-body span { display: block; font-size: 11.5px; color: #5a6680; margin-top: 2px; }

/* =====================================================================
   HERO — Stage 2 (lead-capture console over campus block)
   ===================================================================== */
.pf-hero2 {
    position: relative; overflow: hidden; padding: 84px 0;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
}
.pf-hero2::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(102deg, rgba(11,26,69,0.95) 0%, rgba(18,42,107,0.88) 44%, rgba(18,42,107,0.5) 100%);
}
.pf-hero2 .container { position: relative; z-index: 2; }
.pf-hero2 .pf-eyebrow { color: var(--amber); }
.pf-hero2 .pf-wordmark { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.pf-hero2-title {
    margin: 14px 0 0; font-family: var(--f-display); font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; color: #eef2ff; max-width: 520px;
}
.pf-hero2-title .pf-em { color: var(--saffron); }
.pf-hero2-desc { margin: 14px 0 0; max-width: 500px; color: #c9d4f1; font-size: 16px; line-height: 1.7; }

/* console card */
.pf-console {
    max-width: 460px; margin-left: auto;
    background: rgba(14, 26, 64, 0.72);
    border: 1px solid rgba(245,158,11,0.34);
    border-radius: 18px; overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 64px rgba(4, 12, 36, 0.62);
}
.pf-console-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}
.pf-console-dots { display: inline-flex; gap: 6px; }
.pf-console-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pf-console-dots i:nth-child(1){ background: var(--sun-red); }
.pf-console-dots i:nth-child(2){ background: var(--amber); }
.pf-console-dots i:nth-child(3){ background: #3ea66b; }
.pf-console-bar span { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: #cdd7f0; text-transform: uppercase; }
.pf-console-body { padding: 22px 22px 20px; }
.pf-console-title { margin: 0 0 4px; font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; color: #fff; }
.pf-console-sub { margin: 0 0 18px; font-size: 13.5px; color: #aab6da; }
.pf-form { display: grid; gap: 12px; }
.pf-field input {
    width: 100%; height: 50px; padding: 0 16px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
    color: #fff; font-family: var(--f-body); font-size: 15px; outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.pf-field input::placeholder { color: #93a0c7; }
.pf-field input:focus { border-color: var(--saffron); background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(242,106,27,0.26); }
.pf-form-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 52px; margin-top: 4px; border-radius: 12px;
    background: var(--cta); color: #fff; font-family: var(--f-body); font-weight: 600;
    font-size: 16px; text-decoration: none; border: none;
    box-shadow: 0 12px 26px rgba(226,58,46,0.36); transition: transform 0.16s ease, box-shadow 0.2s ease;
}
.pf-form-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px rgba(226,58,46,0.5); }
.pf-console-foot { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid rgba(255,255,255,0.1);
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: #aab6da; display: flex; align-items: center; gap: 8px; }
.pf-console-foot i { color: var(--amber); }
/* host for the CMS-embedded lead form (slug: faste) — keeps the white .cms42-card
   right-aligned and width-matched to where the mockup console used to sit */
.pf-formhost { max-width: 460px; margin-left: auto; }
.pf-formhost .cms42-card { box-shadow: 0 30px 64px rgba(4, 12, 36, 0.5); }
/* facade transition strip at the very bottom of the hero block */
.pf-facade-strip { height: 6px; width: 100%; background: var(--facade); background-size: 30px 100%; }

/* =====================================================================
   TRUST STRIP — credential conveyor (marquee)
   ===================================================================== */
.pf-trust { background: var(--navy-deep); padding: 18px 0; border-bottom: 3px solid var(--amber); }
.pf-marquee { position: relative; overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pf-marquee-track { display: flex; width: max-content; gap: 46px; animation: pf-marquee 32s linear infinite; }
.pf-marquee:hover .pf-marquee-track { animation-play-state: paused; }
.pf-marquee-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
    font-family: var(--f-body); font-weight: 500; font-size: 14px; color: #aeb9dc; letter-spacing: 0.02em; }
.pf-marquee-item i { color: var(--amber); font-size: 14px; }
.pf-marquee-item b { color: #fff; font-weight: 600; }

/* =====================================================================
   WHY — 6 pillars
   ===================================================================== */
.pf-pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.pf-pillar {
    position: relative; padding: 28px 24px 26px; border-radius: 18px;
    background: var(--paper); border: 1px solid var(--hairline);
    box-shadow: 0 10px 26px rgba(18,42,107,0.06); overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.pf-pillar::before { /* facade micro-stripe left edge */
    content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px;
    background: repeating-linear-gradient(180deg, var(--sun-red) 0 6px, var(--cream) 6px 12px);
    opacity: 0; transition: opacity 0.22s ease;
}
.pf-pillar:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(18,42,107,0.14); border-color: rgba(242,106,27,0.4); }
.pf-pillar:hover::before { opacity: 1; }
.pf-pillar-ico {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 15px; margin-bottom: 16px;
    background: radial-gradient(circle at 50% 40%, rgba(245,158,11,0.22), rgba(242,106,27,0.08));
    color: var(--saffron); font-size: 22px;
}
.pf-pillar-ico::after { /* shared-dot quoting the logo's two i's */
    content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px;
    border-radius: 50%; background: var(--sun-red); box-shadow: 0 0 0 3px var(--paper);
}
.pf-pillar h3 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.32rem; color: var(--navy); line-height: 1.25; }
.pf-pillar p { margin: 0; font-size: 15px; line-height: 1.6; color: #4a5872; }
.pf-pillar--gold { border-top: 3px solid var(--saffron); }
.pf-pillar--gold::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
    background: var(--sun-core); opacity: 0.16; border-radius: 50%; pointer-events: none; }

/* =====================================================================
   MODULES — energy spec-sheet cards
   ===================================================================== */
.pf-modules { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.pf-module {
    display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
    background: var(--paper); border: 1px solid var(--hairline);
    box-shadow: 0 16px 38px rgba(18,42,107,0.08);
}
.pf-module-stripe { height: 9px; background: var(--facade); background-size: 30px 100%; }
.pf-module-head { padding: 22px 26px 18px; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.pf-module-eyebrow { display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.pf-pip { width: 9px; height: 9px; border-radius: 50%; background: var(--sun-red); position: relative; }
.pf-pip::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--sun-red);
    animation: pf-pip 1.8s ease-out infinite; }
.pf-module-name { margin: 12px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; color: #fff; }
.pf-module-rail { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-mono); font-size: 0.78rem; color: #cdd7f0; }
.pf-module-rail .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.pf-module-rail .arr { flex: 1; height: 1px; min-width: 18px; background: linear-gradient(90deg, var(--amber), rgba(245,158,11,0.2)); }
.pf-module-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.pf-module-desc { margin: 0; font-size: 15px; line-height: 1.65; color: #46546e; }

/* segmented energy-allocation bar */
.pf-alloc { margin: 2px 0; }
.pf-alloc-meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.68rem;
    letter-spacing: 0.1em; text-transform: uppercase; color: #5a6580; margin-bottom: 7px; }
.pf-alloc-bar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; background: var(--cream-2);
    border: 1px solid var(--hairline); }
.pf-alloc-seg { height: 100%; transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.pf-module.in-view .pf-alloc-seg { transform: scaleX(1); }
.pf-alloc-seg.s1 { background: var(--saffron); transition-delay: 0.05s; }
.pf-alloc-seg.s2 { background: #F59E0B; transition-delay: 0.18s; }
.pf-alloc-seg.s3 { background: var(--sun-red); transition-delay: 0.31s; }
.pf-alloc-seg.s4 { background: #C2410C; transition-delay: 0.44s; }
.pf-alloc-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 11px; }
.pf-alloc-key span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #51607c; }
.pf-alloc-key i { width: 10px; height: 10px; border-radius: 3px; }
.pf-alloc-key b { font-family: var(--f-mono); color: var(--navy); }
.pf-capstone {
    margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
    padding: 11px 15px; border-radius: 12px; align-self: flex-start;
    background: rgba(242,106,27,0.1); border: 1px solid rgba(242,106,27,0.3);
    font-size: 13.5px; font-weight: 600; color: #b4480f;
}
.pf-capstone i { color: var(--sun-red); }

/* =====================================================================
   CAMPUS IMMERSION — full-bleed navy duotone over research park
   ===================================================================== */
.pf-immersion { position: relative; overflow: hidden; padding: 96px 0; background: var(--navy-deep); }
.pf-immersion-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.32; }
.pf-immersion::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(95deg, rgba(11,26,69,0.96) 0%, rgba(14,31,78,0.82) 50%, rgba(14,31,78,0.42) 100%); }
.pf-immersion .container { position: relative; z-index: 2; }
.pf-immersion-grid { display: grid; grid-template-columns: 1.1fr 0.62fr; gap: 40px; align-items: center; }
.pf-immersion-body { color: #fff; }
.pf-immersion-body .pf-kicker { color: var(--amber); }
.pf-immersion-body .pf-title { color: #fff; text-align: left; }
.pf-immersion-body .pf-sub { margin-left: 0; color: #cfd9f4; text-align: left; }
.pf-imm-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.pf-imm-points li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; line-height: 1.55; color: #dde5fb; }
.pf-imm-glass { width: 13px; height: 13px; margin-top: 4px; flex-shrink: 0; border-radius: 3px; transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.pf-imm-points li:nth-child(1) .pf-imm-glass { background: var(--sun-red); }
.pf-imm-points li:nth-child(2) .pf-imm-glass { background: var(--amber); }
.pf-imm-points li:nth-child(3) .pf-imm-glass { background: #3ea66b; }
.pf-imm-points li:nth-child(4) .pf-imm-glass { background: #6f7ba6; box-shadow: none; }
.pf-imm-points small { color: #aab6da; }
/* immersion graphic — animated perspective "smart grid" (CSS only) */
.pf-imm-graphic {
    position: relative; overflow: hidden; width: 100%; max-width: 360px; margin-left: auto;
    height: clamp(270px, 33vw, 340px); border-radius: 18px;
    background: radial-gradient(125% 85% at 50% 6%, #10285f 0%, #0a1844 52%, #081230 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 22px 50px rgba(4, 12, 36, 0.45);
}
.pf-imm-graphic .gx-horizon {
    position: absolute; left: 8%; right: 8%; top: 46%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.7), transparent);
    box-shadow: 0 0 22px 5px rgba(245, 158, 11, 0.22);
}
.pf-imm-graphic .gx-floor {
    position: absolute; left: 0; right: 0; top: 46%; bottom: 0; overflow: hidden;
    perspective: 190px; perspective-origin: 50% 0%;
    -webkit-mask: linear-gradient(to bottom, transparent, #000 22%);
            mask: linear-gradient(to bottom, transparent, #000 22%);
}
.pf-imm-graphic .gx-grid {
    position: absolute; left: -60%; right: -60%; top: 0; height: 320%;
    background-image:
        linear-gradient(rgba(118, 148, 228, 0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 148, 228, 0.35) 1px, transparent 1px);
    background-size: 34px 34px;
    transform-origin: 50% 0%; transform: rotateX(76deg);
    animation: pf-imm-scroll 1.9s linear infinite;
}
@keyframes pf-imm-scroll { from { background-position: 0 0; } to { background-position: 0 34px; } }
.pf-imm-graphic .gx-node {
    position: absolute; top: calc(46% - 3.5px); width: 7px; height: 7px; border-radius: 50%;
    background: #ffd482; box-shadow: 0 0 12px 3px rgba(245, 165, 30, 0.85);
    animation: pf-imm-pulse 2.4s ease-in-out infinite;
}
.pf-imm-graphic .gx-node.n1 { left: 28%; }
.pf-imm-graphic .gx-node.n2 { left: 52%; animation-delay: 0.8s; }
.pf-imm-graphic .gx-node.n3 { left: 73%; animation-delay: 1.6s; }
@keyframes pf-imm-pulse { 0%, 100% { transform: scale(0.7); opacity: 0.55; } 50% { transform: scale(1.35); opacity: 1; } }
.pf-imm-graphic .gx-pulse {
    position: absolute; top: 46%; width: 5px; height: 5px; border-radius: 50%;
    background: #fff6e0; box-shadow: 0 0 10px 3px rgba(255, 200, 90, 0.9);
    animation: pf-imm-pulse-run 2.6s ease-in infinite;
}
.pf-imm-graphic .gx-pulse.p1 { left: 30%; }
.pf-imm-graphic .gx-pulse.p2 { left: 66%; animation-delay: 1.3s; }
@keyframes pf-imm-pulse-run {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    15% { opacity: 1; }
    100% { transform: translateY(150px) scale(2.6); opacity: 0; }
}

/* =====================================================================
   SYLLABUS at a glance
   ===================================================================== */
.pf-syllabus { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.pf-syl-card { position: relative; padding: 30px 30px 28px; border-radius: 18px; background: var(--paper);
    border: 1px solid var(--hairline); box-shadow: 0 14px 34px rgba(18,42,107,0.07); overflow: hidden; }
.pf-syl-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, var(--saffron), var(--amber)); }
.pf-syl-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image: linear-gradient(rgba(245,158,11,0.05) 1px, transparent 1px); background-size: 100% 30px; }
.pf-syl-tag { position: relative; z-index: 1; display: inline-block; margin-bottom: 12px; padding: 5px 13px; border-radius: 999px;
    font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    background: rgba(242,106,27,0.1); color: #b4480f; }
.pf-syl-name { position: relative; z-index: 1; margin: 0 0 8px; font-family: var(--f-display); font-weight: 600;
    font-size: 1.4rem; line-height: 1.25; color: var(--navy); }
.pf-syl-desc { position: relative; z-index: 1; margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #46546e; }
.pf-syl-topics { position: relative; z-index: 1; list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.pf-syl-topics li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #3a4760; }
.pf-syl-topics .tick { width: 9px; height: 9px; margin-top: 5px; flex-shrink: 0; transform: rotate(45deg);
    background: var(--sun-red); border-radius: 2px; }
.pf-syl-foot { position: relative; z-index: 1; display: flex; gap: 10px; align-items: flex-start;
    padding-top: 16px; border-top: 1px dashed rgba(226,58,46,0.4); font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #b4480f; }
.pf-syl-foot i { color: var(--sun-red); margin-top: 3px; }

/* =====================================================================
   TOOLS — instruments on a lit workbench
   ===================================================================== */
.pf-tools { position: relative; }
.pf-tool-rail { position: relative; max-width: 920px; margin: 8px auto 0; padding: 30px 0 8px; }
.pf-tool-wire { position: absolute; left: 0; right: 0; top: 50%; height: 2px;
    background: linear-gradient(90deg, rgba(242,106,27,0), var(--saffron), rgba(242,106,27,0)); }
/* single out-of-flow decorative dot — left animation is negligible cost and keeps it responsive */
.pf-tool-packet { position: absolute; top: calc(50% - 4px); left: 2%; width: 8px; height: 8px; border-radius: 50%;
    background: var(--sun-red); box-shadow: 0 0 8px rgba(226,58,46,0.8); animation: pf-wire 4.5s linear infinite; }
.pf-tool-grid { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pf-tool { display: flex; align-items: center; gap: 11px; padding: 13px 18px; border-radius: 14px;
    background: var(--paper); border: 1px solid var(--hairline); box-shadow: 0 8px 20px rgba(18,42,107,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pf-tool:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(18,42,107,0.14); }
.pf-tool img { width: 26px; height: 26px; filter: grayscale(1) brightness(0.55); transition: filter 0.25s ease; }
.pf-tool:hover img { filter: none; }
.pf-tool i { color: var(--saffron); font-size: 22px; }
.pf-tool span { font-family: var(--f-body); font-weight: 600; font-size: 14.5px; color: var(--navy); }

/* =====================================================================
   ROADMAP — sunrise arc, M1..M8
   ===================================================================== */
.pf-roadmap-scroll {
    overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch;
    /* cards snap to the left edge so the rail never rests on a half-cut card */
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4px;
    /* an always-visible, on-brand scrollbar so the rail reads as scrollable
       (macOS hides native overlay scrollbars until you touch them) */
    scrollbar-width: thin;
    scrollbar-color: var(--saffron) rgba(18, 42, 107, 0.08);
}
.pf-roadmap-scroll::-webkit-scrollbar { height: 8px; }
.pf-roadmap-scroll::-webkit-scrollbar-track { background: rgba(18, 42, 107, 0.08); border-radius: 999px; }
.pf-roadmap-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--saffron), var(--amber));
    border-radius: 999px;
}
/* exact-fit columns: 4 whole cards per view (3/2/1 on smaller screens),
   so the rail never rests with a card cut at either edge */
.pf-roadmap { position: relative; display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 42px) / 4); gap: 14px; padding-top: 30px; }
@media (max-width: 1100px) { .pf-roadmap { grid-auto-columns: calc((100% - 28px) / 3); } }
@media (max-width: 820px)  { .pf-roadmap { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (max-width: 560px)  { .pf-roadmap { grid-auto-columns: 100%; } }
.pf-roadmap .pf-node { scroll-snap-align: start; }
.pf-roadmap::before { content: ""; position: absolute; top: 14px; left: 4%; right: 4%; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--saffron) 0%, var(--amber) 22%, rgba(18,42,107,0.22) 60%, rgba(18,42,107,0.14) 100%); }
.pf-roadmap::after { content: ""; position: absolute; top: 10px; left: 4%; width: 11px; height: 11px; border-radius: 50%;
    background: var(--sun-red); box-shadow: 0 0 0 4px rgba(226,58,46,0.25); animation: pf-pulse-run 6s linear infinite; }
.pf-node { position: relative; padding: 18px 16px; border-radius: 14px; background: var(--paper);
    border: 1px solid var(--hairline); display: flex; flex-direction: column; }
.pf-node::before { content: ""; position: absolute; top: -22px; left: 18px; width: 13px; height: 13px; border-radius: 50%;
    background: var(--cream-2); border: 2px solid rgba(18,42,107,0.3); }
.pf-node--now { border-color: rgba(242,106,27,0.5); box-shadow: 0 12px 28px rgba(242,106,27,0.16); }
.pf-node--now::before { background: var(--saffron); border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(242,106,27,0.22); }
.pf-node-id { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: #51607c; }
.pf-node--now .pf-node-id { color: var(--saffron); }
.pf-node-status { position: absolute; top: 16px; right: 16px; font-family: var(--f-mono); font-size: 0.58rem;
    letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.pf-node--now .pf-node-status { background: var(--saffron); color: #fff; }
.pf-node--soon .pf-node-status { background: var(--cream-2); color: #7c89a6; }
.pf-node h3 { margin: 14px 0 7px; font-family: var(--f-display); font-weight: 600; font-size: 1.04rem; line-height: 1.28; color: var(--navy); }
.pf-node p { margin: 0; font-size: 13px; line-height: 1.5; color: #51607c; }

/* =====================================================================
   FACULTY
   ===================================================================== */
.pf-faculty { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; max-width: 1040px; margin: 0 auto; }
.pf-fac-card { position: relative; padding: 28px 24px 0; border-radius: 18px; overflow: hidden;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff;
    box-shadow: 0 16px 38px rgba(11,26,69,0.3); display: flex; flex-direction: column; }
.pf-fac-photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin-bottom: 16px;
    border: 2px solid var(--saffron); box-shadow: 0 0 0 5px rgba(242,106,27,0.18); }
.pf-fac-avatar { width: 92px; height: 92px; border-radius: 50%; margin-bottom: 16px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 34px; color: #fff;
    background: radial-gradient(circle at 50% 40%, rgba(245,158,11,0.4), rgba(242,106,27,0.16));
    border: 2px solid var(--saffron); }
.pf-fac-name { margin: 0 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.28rem; line-height: 1.2; color: #fff; }
.pf-fac-role { display: inline-block; align-self: flex-start; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
    background: var(--amber); color: #3a2a05; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.pf-fac-bio { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #c7d1ee; }
.pf-fac-tags { margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-fac-tags span { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.05em; padding: 4px 9px; border-radius: 7px;
    background: rgba(255,255,255,0.08); color: #cdd7f0; }
.pf-fac-rail { margin-top: auto; height: 7px; background: var(--facade); background-size: 30px 100%; margin-left: -24px; margin-right: -24px; }
.pf-fac-card--guest { background: linear-gradient(160deg, #1b2c5e, #0E1F4E); }
.pf-faculty-foot { text-align: center; margin: 24px auto 0; max-width: 720px; font-size: 14.5px; color: #51607c; }
.pf-faculty-foot i { color: var(--saffron); margin-right: 6px; }

/* =====================================================================
   ELIGIBILITY — compact dark strip
   ===================================================================== */
.pf-elig { position: relative; overflow: hidden; padding: 64px 0; background: var(--navy); color: #fff; }
.pf-elig::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
    background: var(--sun-core); opacity: 0.16; border-radius: 50%; }
.pf-elig .container { position: relative; z-index: 1; }
.pf-elig-grid { display: flex; align-items: center; gap: 30px; max-width: 940px; margin: 0 auto; }
.pf-elig-ico { flex-shrink: 0; width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; font-size: 30px; color: #fff; background: var(--cta); box-shadow: 0 14px 30px rgba(226,58,46,0.4); }
.pf-elig-label { margin: 0 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: #fff; }
.pf-elig-label .pf-em { color: var(--amber); }
.pf-elig-text { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: #cdd7f0; }
.pf-note-chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 10px;
    background: rgba(245,158,11,0.14); border: 1px solid rgba(245,158,11,0.4); font-size: 13.5px; color: #f6e7c9; }
.pf-note-chip i { color: var(--amber); }

/* =====================================================================
   FAQ
   ===================================================================== */
.pf-faq { max-width: 840px; margin: 0 auto; }
.pf-faq-item { border: 1px solid var(--hairline); border-radius: 14px; background: var(--paper); margin-bottom: 12px; overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.pf-faq-item[open] { border-color: rgba(242,106,27,0.5); box-shadow: 0 12px 28px rgba(18,42,107,0.08); }
.pf-faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; padding: 18px 22px;
    font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.pf-faq-item summary::-webkit-details-marker { display: none; }
.pf-faq-idx { font-family: var(--f-mono); font-size: 0.8rem; color: var(--saffron); flex-shrink: 0; }
.pf-faq-q { flex: 1; }
.pf-faq-chev { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform 0.25s ease; color: var(--saffron); }
.pf-faq-item[open] .pf-faq-chev { transform: rotate(180deg); }
.pf-faq-item p { margin: 0; padding: 0 22px 20px 60px; font-size: 15px; line-height: 1.65; color: #46546e; }
.pf-faq-item[open] summary { border-left: 4px solid var(--saffron); }
/* fees callout */
.pf-fees { margin: 4px 22px 20px 60px; padding: 16px 18px; border-radius: 12px; background: var(--cream);
    border: 1px solid rgba(242,106,27,0.3); }
.pf-fees-row { display: flex; flex-wrap: wrap; gap: 18px 32px; }
.pf-fees-num { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.pf-fees-lbl { display: block; font-size: 12.5px; color: #5a6680; margin-top: 2px; }
.pf-fees-note { margin: 12px 0 0; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: #8a5a13; }

/* =====================================================================
   PLACEMENTS — navy band, glowing salaries
   ===================================================================== */
.pf-placements { position: relative; overflow: hidden; background: var(--navy-deep); padding: 84px 0; }
.pf-placements::before { content: ""; position: absolute; left: -60px; bottom: -100px; width: 320px; height: 320px;
    background: var(--sun-core); opacity: 0.12; border-radius: 50%; }
.pf-placements .container { position: relative; z-index: 1; }
.pf-placements .pf-title { color: #fff; }
.pf-counter-line { text-align: center; margin: 0 auto 6px; font-size: 15px; color: #cdd7f0; }
.pf-counter { font-family: var(--f-display); font-weight: 700; color: var(--amber); }
.pf-place-nav-bar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.pf-place-nav { display: flex; gap: 8px; }
.pf-place-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(245,158,11,0.5);
    color: var(--amber); background: rgba(255,255,255,0.05); cursor: pointer; display: inline-flex; align-items: center;
    justify-content: center; transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease; }
.pf-place-nav button:hover { background: var(--cta); color: #fff; border-color: transparent; transform: translateY(-1px); }
.pf-place-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px;
    scrollbar-width: thin; scrollbar-color: rgba(245,158,11,0.5) rgba(255,255,255,0.08); }
.pf-place-track::-webkit-scrollbar { height: 8px; }
.pf-place-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 999px; }
.pf-place-track::-webkit-scrollbar-thumb { background: rgba(245,158,11,0.5); border-radius: 999px; }
.pf-place-card { min-width: 210px; max-width: 210px; scroll-snap-align: start; border-radius: 18px; padding: 14px;
    text-align: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(245,158,11,0.2); }
.pf-place-photo { width: 100%; border-radius: 14px; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 11px; display: block; }
.pf-place-name { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.pf-place-ctc { margin: 4px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: var(--amber);
    text-shadow: 0 0 14px rgba(245,158,11,0.4); }

/* =====================================================================
   REVIEWS — re-skin shared owl carousel for daybreak
   ===================================================================== */
.faste-iith .prog-reviews-carousel { background: var(--cream-2); padding: 84px 0; position: relative; }
.faste-iith .prog-reviews-carousel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; background: var(--warm-wash); pointer-events: none; }
.faste-iith .prog-section-title { font-family: var(--f-display); font-weight: 600; color: var(--navy); font-size: clamp(2rem,3.2vw,2.6rem); }
.faste-iith .prog-review-card { border-radius: 18px; border: 1px solid var(--hairline); box-shadow: 0 12px 30px rgba(18,42,107,0.08); }
.faste-iith .prog-review-card--yellow { background: #FFF4DD; }
.faste-iith .prog-review-card--white { background: var(--paper); }
.faste-iith .prog-review-quote { font-family: var(--f-body); color: var(--ink); }
.faste-iith .prog-review-author { font-family: var(--f-display); color: var(--navy); }
.faste-iith .prog-review-role { color: var(--saffron); }
.faste-iith .prog-reviews-all-btn { background: var(--cta); border: none; color: #fff; box-shadow: 0 12px 26px rgba(226,58,46,0.3); }
.faste-iith .prog-reviews-all-btn:hover { filter: brightness(1.05); color: #fff; }
.faste-iith .prog-reviews-slider .owl-nav button span { color: var(--saffron); }

/* =====================================================================
   FINAL CTA — the sun re-rises
   ===================================================================== */
.pf-cta { position: relative; overflow: hidden; padding: 96px 0; background: var(--daybreak); color: #fff; text-align: center; }
.pf-cta .pf-sun { top: -30%; left: 50%; opacity: 0.9; width: clamp(360px, 50vw, 620px); }
.pf-cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.pf-cta-eyebrow { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.pf-cta h2 { margin: 12px 0 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.1; color: #fff; }
.pf-cta p { margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: #cdd7f0; }
.pf-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* footer facade baseline */
.faste-iith .footer-area { position: relative; }
.faste-iith .footer-area::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: var(--facade); background-size: 30px 100%; }

/* =====================================================================
   SCROLL REVEAL (gated behind html.js so no-JS shows everything)
   ===================================================================== */
html.js .pf-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .pf-reveal.in-view { opacity: 1; transform: none; }
html.js .pf-reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
/* belt-and-suspenders: if JS never runs, content is always visible */
html.no-js .pf-reveal { opacity: 1; transform: none; }

/* =====================================================================
   KEYFRAMES
   ===================================================================== */
@keyframes pf-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes pf-spin { to { transform: rotate(360deg); } }
@keyframes pf-draw { to { stroke-dashoffset: 0; } }
@keyframes pf-ray { to { stroke-dashoffset: 0; } }
@keyframes pf-flow { to { stroke-dashoffset: -34; } }
@keyframes pf-mote { 0% { transform: translateY(0) scale(1); opacity: 0; }
    12% { opacity: 0.9; } 88% { opacity: 0.7; } 100% { transform: translateY(-220px) scale(0.4); opacity: 0; } }
@keyframes pf-pip { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes pf-marquee { to { transform: translateX(-50%); } }
@keyframes pf-wire { from { left: 2%; } to { left: 98%; } }
@keyframes pf-pulse-run { 0% { left: 4%; opacity: 1; } 92% { opacity: 1; } 100% { left: 96%; opacity: 0.2; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1199px) {
    .pf-faculty { grid-template-columns: repeat(3, 1fr); }
    .pf-immersion-grid { grid-template-columns: 1.2fr 0.4fr; }
}
@media (max-width: 991px) {
    .pf-section { padding: 64px 0; }
    .pf-pillars { grid-template-columns: repeat(2, 1fr); }
    .pf-modules { grid-template-columns: 1fr; }
    .pf-syllabus { grid-template-columns: 1fr; }
    .pf-faculty { grid-template-columns: 1fr; max-width: 520px; }
    .pf-hero-right { min-height: 380px; margin-top: 30px; }
    .pf-console { margin: 28px auto 0; }
    .pf-formhost { margin: 28px auto 0; }
    .pf-immersion-grid { grid-template-columns: 1fr; gap: 28px; }
    .pf-imm-graphic { margin: 0 auto; max-width: 460px; }
    .pf-elig-grid { flex-direction: column; text-align: center; gap: 20px; }
    .pf-hero2-title, .pf-hero2-desc { max-width: none; }
}
@media (max-width: 575px) {
    .pf-section { padding: 52px 0; }
    .pf-hero { padding: 50px 0 64px; }
    .pf-pillars { grid-template-columns: 1fr; }
    .pf-wordmark { font-size: clamp(3rem, 16vw, 4rem); }
    .pf-hero-title { font-size: 1.32rem; }
    .pf-stats { flex-direction: column; }
    .pf-place-card { min-width: min(74vw, 240px); max-width: min(74vw, 240px); }
    .pf-faq-item p, .pf-fees { padding-left: 22px; }
}

/* =====================================================================
   REDUCED MOTION — render every animation at its resting end-state
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .pf-wm-wave path, .pf-horizon .pf-load { stroke-dashoffset: 0; }
    .pf-rays line { stroke-dashoffset: 0; }
    .pf-reveal { opacity: 1 !important; transform: none !important; }
    .pf-module .pf-alloc-seg { transform: scaleX(1) !important; }
    /* the immersion grid is the section's signature graphic — keep it alive (gently) */
    .pf-imm-graphic .gx-grid { animation-duration: 1.9s !important; animation-iteration-count: infinite !important; }
    .pf-imm-graphic .gx-node { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; }
    .pf-imm-graphic .gx-pulse { animation-duration: 2.6s !important; animation-iteration-count: infinite !important; }
}

/* =====================================================================
   FAST-E additions — IITH branding, campus photo, domain data, certificate
   ===================================================================== */

/* IITH co-brand badge in the hero — white pill so the dark logo reads on navy */
.pf-iith-badge {
    display: inline-flex; align-items: center;
    background: #fff; padding: 10px 18px; border-radius: 13px;
    margin-bottom: 18px; box-shadow: 0 12px 30px rgba(14, 31, 78, 0.30);
}
.pf-iith-badge img { height: 57px; width: auto; display: block; }
@media (max-width: 575px) { .pf-iith-badge img { height: 42px; } }

/* Campus photo in the immersion section (replaces the abstract graphic) */
.pf-imm-photo {
    border-radius: 18px; overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.30);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}
.pf-imm-photo img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
@media (max-width: 767px) { .pf-imm-photo img { min-height: 240px; } }

/* Domain-data section — dark "signals" panel with amber-dotted chips */
.pf-data { background: var(--daybreak); }
.pf-data .pf-kicker { color: var(--amber); }
.pf-data .pf-title { color: #fff; }
.pf-data .pf-sub { color: #cdd7f0; }
.pf-data-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; margin: 8px auto 0; }
.pf-data-chip {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #eaf0ff; font-family: var(--f-body); font-weight: 500; font-size: 14px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.pf-data-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; box-shadow: 0 0 8px rgba(245, 158, 11, 0.7); }
.pf-data-chip:hover { transform: translateY(-2px); background: rgba(245, 158, 11, 0.14); border-color: var(--amber); }

/* Certificate — realistic credential mockup (gold frame + guilloché + foil seal) */
.pf-cert-frame { max-width: 880px; margin: 0 auto; }
.pf-cert-doc {
    position: relative; overflow: hidden;
    padding: 9px; border-radius: 7px;
    background: linear-gradient(135deg, #C9A227 0%, #F4E4A6 22%, #BE961F 48%, #F4E4A6 74%, #C9A227 100%);
    box-shadow: 0 38px 84px rgba(18, 42, 107, 0.24);
}
.pf-cert-inner {
    position: relative; z-index: 2; text-align: center;
    padding: 42px 50px 30px; border-radius: 3px;
    background: linear-gradient(180deg, #fffdf7, #fbf3e3);
    border: 1.5px solid rgba(190, 150, 31, 0.55);
    outline: 1px solid rgba(18, 42, 107, 0.20); outline-offset: 5px;
}
.pf-cert-guilloche {
    position: absolute; inset: 13px; z-index: 1; border-radius: 3px; opacity: 0.6; pointer-events: none;
    background:
        repeating-radial-gradient(circle at 50% 40%, rgba(18,42,107,0.05) 0 1px, transparent 1px 10px),
        repeating-linear-gradient(45deg, rgba(242,106,27,0.035) 0 2px, transparent 2px 12px),
        repeating-linear-gradient(-45deg, rgba(18,42,107,0.03) 0 2px, transparent 2px 12px);
}
.pf-cert-flag {
    position: absolute; top: 16px; right: 16px; z-index: 3;
    font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: #fff; background: rgba(18, 42, 107, 0.6); padding: 4px 11px; border-radius: 999px;
}
.pf-cert-logo { height: 60px; width: auto; margin: 4px auto 14px; display: block; }
.pf-cert-kicker { margin: 0 0 16px; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; color: #6b7790; }
.pf-cert-title { margin: 0 0 12px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--navy); letter-spacing: 0.01em; }
.pf-cert-rule { display: block; width: 96px; height: 3px; margin: 0 auto 20px; border-radius: 3px; background: linear-gradient(90deg, transparent, #C9A227, transparent); }
.pf-cert-text { margin: 5px 0; color: #51607c; font-size: 14px; }
.pf-cert-name { margin: 10px 0 6px; font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--saffron); border-bottom: 1px dashed rgba(18, 42, 107, 0.25); display: inline-block; padding: 0 30px 7px; }
.pf-cert-prog { margin: 12px auto 2px; max-width: 520px; font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--navy); line-height: 1.35; }
.pf-cert-sub2 { margin: 4px auto 24px; max-width: 480px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.05em; color: #7c89a6; }
.pf-cert-feet { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-top: 12px; }
.pf-cert-sig { flex: 1; }
.pf-cert-scribe { display: block; font-family: var(--f-display); font-style: italic; font-size: 17px; color: var(--ink); opacity: 0.72; margin-bottom: 3px; }
.pf-cert-line2 { display: block; height: 1px; background: rgba(18, 42, 107, 0.45); margin-bottom: 7px; }
.pf-cert-sig small { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7790; }
.pf-cert-seal { position: relative; flex: none; width: 80px; height: 80px; }
.pf-cert-seal::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, #E9C75A 0deg 6deg, #C9A227 6deg 12deg);
    box-shadow: 0 6px 16px rgba(184, 144, 31, 0.45);
}
.pf-cert-seal::after {
    content: ""; position: absolute; inset: 11px; border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #FBEFB6, #D9B43A 56%, #BE961F);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), inset 0 2px 6px rgba(0, 0, 0, 0.16);
}
.pf-cert-seal-core { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 15px; color: #6a5310; letter-spacing: 0.05em; }
.pf-cert-meta { margin: 20px 0 0; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; color: #9aa4b8; }
@media (max-width: 575px) {
    .pf-cert-inner { padding: 28px 22px 24px; }
    .pf-cert-feet { flex-direction: column; align-items: center; gap: 18px; }
    .pf-cert-line2 { width: 160px; margin: 0 auto 7px; }
    .pf-cert-prog { font-size: 17px; }
}

/* IITH logo under the faculty heading */
.pf-fac-iith { display: block; height: 75px; width: auto; margin: 0 auto 20px; }

/* ==================================================================
   Attribution (CSS layer) — DISABLED 10 Jul 2026: fasteiith.html now
   carries a real <footer class="fe-footer"> with the linked credit
   (data-campus-badge), so this generated line would duplicate it.
   Re-enable by uncommenting if the page ever loses its footer.
================================================================== */
/*
body::after {
    content: "Website by 42 Campus \00b7 42campus.com";
    display: block;
    text-align: center;
    padding: 16px 8px 20px;
    font: 600 12.5px/1.5 system-ui, -apple-system, sans-serif;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .62);
    background: #14102e;
}
*/
