/* ============================================
   GLOBAL TECH FELLOWS — STYLES
   Uses base design system from styles.css
   ============================================ */

/* --- Hero --- */
.fellows-hero {
    min-height: 85vh;
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fellows-hero .hero-content {
    padding-top: 120px;
    padding-bottom: var(--space-4xl);
}

.fellows-hero .hero-title-line {
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.15;
}

.fellows-hero .hero-subtitle {
    max-width: 700px;
}

/* Hero stats strip */
.fellows-hero-stats {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3xl);
}

.fellows-hero-stat-value {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.fellows-hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 200px;
    margin-top: var(--space-xs);
    line-height: 1.5;
}

/* --- Shared section subtitle --- */
.fellows-section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: var(--space-md) auto 0;
    line-height: 1.7;
}

.fellows-section-subtitle--on-dark {
    color: rgba(255, 255, 255, 0.7);
}

.section-label--on-dark {
    background: rgba(0, 177, 176, 0.12);
    color: var(--teal);
    border-color: rgba(0, 177, 176, 0.2);
}

.section-title--on-dark {
    color: var(--white);
}

/* ============================================
   HOW IT WORKS — 3 STEPS
   ============================================ */
.fellows-steps-section {
    background: linear-gradient(180deg, #f0fafa 0%, #f5f8fc 100%);
    padding: var(--space-4xl) 0;
}

.fellows-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.fellows-step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.fellows-step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.fellows-step-card--featured {
    border: 2px solid rgba(255, 0, 6, 0.25);
}

.fellows-step-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.14;
}

.fellows-step-number--teal { color: var(--teal); }
.fellows-step-number--red { color: var(--red); }
.fellows-step-number--purple { color: var(--purple); }

.fellows-step-head {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.fellows-step-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fellows-step-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--white);
}

.fellows-step-icon--teal { background: var(--teal); }
.fellows-step-icon--red { background: var(--red); }
.fellows-step-icon--purple { background: var(--purple); }

.fellows-step-card h3.fellows-step-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.25;
    margin-bottom: 0;
}

.fellows-step-title span {
    display: block;
}

h3.fellows-step-title--teal { color: var(--teal); }
h3.fellows-step-title--red { color: var(--red); }
h3.fellows-step-title--purple { color: var(--purple); }

.fellows-step-sub {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.2px;
    margin-bottom: var(--space-sm);
}

.fellows-step-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
    background: rgba(0, 177, 176, 0.1);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    margin-bottom: var(--space-md);
}

.fellows-step-tag--red {
    color: var(--red);
    background: rgba(255, 0, 6, 0.08);
}

.fellows-step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Training mentors (inside How It Works) --- */
.fellows-mentors-header {
    text-align: center;
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.fellows-mentors-header h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.4px;
    margin-bottom: var(--space-sm);
}

.fellows-mentors-header p {
    font-size: 15.5px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.fellows-mentors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.fellows-mentor-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
}

.fellows-mentor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.fellows-mentor-photo {
    height: 240px;
    overflow: hidden;
    background: var(--navy-05);
}

.fellows-mentor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform var(--duration-slow) var(--ease-out);
}

.fellows-mentor-card:hover .fellows-mentor-photo img {
    transform: scale(1.04);
}

.fellows-mentor-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fellows-mentor-body h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.2px;
}

.fellows-mentor-role {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 4px 0 var(--space-sm);
    line-height: 1.5;
}

.fellows-mentor-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   WHAT YOU GRADUATE WITH
   ============================================ */
.fellows-outcomes-section {
    background: var(--white);
    padding: var(--space-4xl) 0;
}

.fellows-outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.fellows-outcome-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-out);
}

.fellows-outcome-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 177, 176, 0.35);
}

.fellows-outcome-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.fellows-outcome-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--teal);
}

.fellows-outcome-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.fellows-outcome-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.fellows-honesty-note {
    max-width: 760px;
    margin: var(--space-2xl) auto 0;
    text-align: center;
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: var(--space-lg) var(--space-xl);
    background: var(--navy-05);
    border-radius: var(--radius-lg);
}

/* ============================================
   FELLOWSHIP PRIVILEGES — BY INVITATION (dark)
   ============================================ */
.fellows-invite-section {
    background: var(--navy);
    padding: var(--space-4xl) 0;
}

.fellows-invite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.fellows-invite-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-out);
}

.fellows-invite-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.fellows-invite-head {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.fellows-invite-head .fellows-invite-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.fellows-invite-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.fellows-invite-card h3.fellows-invite-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.25;
    margin-bottom: 0;
}

.fellows-invite-title span {
    display: block;
}

.fellows-invite-card h3.fellows-invite-title--teal { color: var(--teal); }
.fellows-invite-card h3.fellows-invite-title--red { color: var(--red); }
.fellows-invite-card h3.fellows-invite-title--purple { color: var(--purple); }

.fellows-invite-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--white);
}

.fellows-invite-icon--teal { background: var(--teal); }
.fellows-invite-icon--red { background: var(--red); }
.fellows-invite-icon--purple { background: var(--purple); }

.fellows-invite-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.fellows-invite-card p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.fellows-invite-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    max-width: 760px;
    margin: var(--space-2xl) auto 0;
    padding: var(--space-md) var(--space-lg);
    background: rgba(0, 177, 176, 0.08);
    border: 1px solid rgba(0, 177, 176, 0.25);
    border-radius: var(--radius-md);
}

.fellows-invite-note .material-symbols-outlined {
    font-size: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.fellows-invite-note p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   WHY TRANSFONG
   ============================================ */
.fellows-why-section {
    background: var(--bg-section);
    padding: var(--space-4xl) 0;
}

/* --- Portfolio section on navy --- */
.fellows-why-section {
    background: var(--navy);
}

.fellows-why-section .section-title {
    color: var(--white);
}

.fellows-why-section .section-label {
    background: rgba(0, 177, 176, 0.12);
    color: var(--teal);
    border-color: rgba(0, 177, 176, 0.2);
}

.fellows-why-section .fellows-section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.fellows-why-section .fellows-startups-note {
    color: rgba(255, 255, 255, 0.55);
}

/* --- Portfolio flip cards --- */
.fellows-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.fellows-flip-card {
    perspective: 1200px;
    cursor: pointer;
    height: 460px;
}

.fellows-flip-card:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
    border-radius: var(--radius-lg);
}

.fellows-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out);
}

.fellows-flip-card.flipped .fellows-flip-inner {
    transform: rotateY(180deg);
}

/* Desktop: flip on hover, flip back on mouse-out */
@media (hover: hover) {
    .fellows-flip-card:hover .fellows-flip-inner {
        transform: rotateY(180deg);
    }
}

.fellows-flip-front,
.fellows-flip-back {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fellows-flip-front {
    background: var(--white);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    transition: box-shadow var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.fellows-flip-card:hover .fellows-flip-front {
    box-shadow: var(--shadow-lg);
}

.fellows-flip-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.fellows-flip-corner {
    font-size: 20px;
    color: var(--teal);
    opacity: 0.45;
    transition: opacity var(--duration-fast) var(--ease-out), transform 0.5s var(--ease-out);
}

.fellows-flip-card:hover .fellows-flip-corner {
    opacity: 1;
    transform: rotate(180deg);
}

.fellows-flip-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fellows-flip-icon .material-symbols-outlined {
    font-size: 26px;
    color: var(--white);
}

.fellows-flip-icon--red { background: var(--red); }
.fellows-flip-icon--purple { background: var(--purple); }
.fellows-flip-icon--navy { background: var(--navy); }
.fellows-flip-icon--teal { background: var(--teal); }

.fellows-flip-overline {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.fellows-flip-front h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.2px;
    margin-bottom: var(--space-sm);
}

.fellows-flip-tagrow {
    margin-bottom: var(--space-md);
}

.fellows-flip-tagrow .fellows-flip-tag {
    display: inline-block;
}

.fellows-flip-founderline {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.fellows-flip-founder-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.2px;
    margin: 2px 0 8px;
}

.fellows-flip-founderline p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.62;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.fellows-flip-back {
    background: var(--navy-90);
    transform: rotateY(180deg);
    padding: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    overflow-y: auto;
}

.fellows-flip-back h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.fellows-flip-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--teal);
    background: rgba(0, 177, 176, 0.12);
    border: 1px solid rgba(0, 177, 176, 0.3);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    margin-bottom: var(--space-md);
}

.fellows-flip-back > p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.58;
    margin-bottom: var(--space-sm);
}

.fellows-flip-vision {
    margin: 2px 0 var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.fellows-flip-vision-label {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--teal);
    margin-bottom: 4px;
}

.fellows-flip-vision p {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.45;
    margin: 0;
}

/* --- Partners strip --- */
.fellows-partners {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.fellows-partners-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.fellows-partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.fellows-partner-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.6;
}

.fellows-startups-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: var(--space-xl);
    line-height: 1.7;
}

/* ============================================
   PHOTO GALLERY — STARTUPS & FOUNDERS (dark marquee)
   ============================================ */
.fellows-gallery-banner {
    background: var(--navy);
    padding: var(--space-3xl) 0;
    overflow: hidden;
    position: relative;
}

.fellows-gallery-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-xl);
}

.fellows-gallery-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-top: var(--space-sm);
}

.fellows-gallery-track-wrapper {
    position: relative;
    width: 100%;
}

.fellows-gallery-track-wrapper::before,
.fellows-gallery-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.fellows-gallery-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--navy) 0%, transparent 100%);
}

.fellows-gallery-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--navy) 0%, transparent 100%);
}

.fellows-gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: fellowsGalleryScroll 45s linear infinite;
}

.fellows-gallery-track:hover {
    animation-play-state: paused;
}

.fellows-gallery-slide {
    flex-shrink: 0;
    width: 400px;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.fellows-gallery-slide:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(0, 177, 176, 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 3;
}

.fellows-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.fellows-gallery-slide:hover img {
    transform: scale(1.08);
}

@keyframes fellowsGalleryScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   WHO CAN APPLY — TRACKS
   ============================================ */
.fellows-tracks-section {
    background: var(--white);
    padding: var(--space-4xl) 0;
}

.fellows-tracks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.fellows-track-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    transition: all var(--duration-normal) var(--ease-out);
}

.fellows-track-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.fellows-track-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: var(--radius-full);
    padding: 5px 14px;
    margin-bottom: var(--space-md);
}

.fellows-track-badge--teal {
    color: var(--teal);
    background: rgba(0, 177, 176, 0.1);
    border: 1px solid rgba(0, 177, 176, 0.25);
}

.fellows-track-badge--purple {
    color: var(--purple);
    background: rgba(103, 121, 189, 0.1);
    border: 1px solid rgba(103, 121, 189, 0.3);
}

.fellows-track-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.3px;
    margin-bottom: var(--space-lg);
}

.fellows-track-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.fellows-track-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.fellows-track-list .material-symbols-outlined {
    font-size: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.fellows-renewal-strip {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    max-width: 820px;
    margin: var(--space-2xl) auto 0;
    padding: var(--space-md) var(--space-lg);
    background: var(--navy-05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.fellows-renewal-strip .material-symbols-outlined {
    font-size: 22px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.fellows-renewal-strip p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   FELLOWSHIP YEAR TIMELINE
   ============================================ */
.fellows-timeline-section {
    background: var(--bg-section);
    padding: var(--space-4xl) 0;
}

.fellows-timeline {
    max-width: 720px;
    margin: var(--space-2xl) auto 0;
    position: relative;
}

.fellows-timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--teal) 0%, var(--purple) 100%);
    opacity: 0.35;
}

.fellows-timeline-item {
    display: flex;
    gap: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-xl);
}

.fellows-timeline-item:last-child {
    padding-bottom: 0;
}

.fellows-timeline-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--bg-section);
}

.fellows-timeline-body {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.fellows-timeline-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.fellows-timeline-body p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.fellows-faq-section {
    background: var(--white);
    padding: var(--space-4xl) 0;
}

.fellows-faq-list {
    max-width: 800px;
    margin: var(--space-2xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.fellows-faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--duration-fast) var(--ease-out);
}

.fellows-faq-item[open] {
    border-color: rgba(0, 177, 176, 0.4);
}

.fellows-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
    padding: var(--space-lg) var(--space-xl);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    list-style: none;
}

.fellows-faq-item summary::-webkit-details-marker {
    display: none;
}

.fellows-faq-chevron {
    flex-shrink: 0;
    color: var(--teal);
    transition: transform var(--duration-fast) var(--ease-out);
}

.fellows-faq-item[open] .fellows-faq-chevron {
    transform: rotate(180deg);
}

.fellows-faq-item p {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ============================================
   FINAL CTA
   ============================================ */
.fellows-cta-section {
    background: var(--bg-section);
    padding: var(--space-4xl) 0;
}

.fellows-cta-panel {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fellows-cta-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 177, 176, 0.25) 0%, transparent 70%);
}

.fellows-cta-panel::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 121, 189, 0.22) 0%, transparent 70%);
}

.fellows-cta-panel > * {
    position: relative;
    z-index: 1;
}

.fellows-cta-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.6vw, 36px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: var(--space-md);
}

.fellows-cta-panel p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.fellows-cta-buttons {
    justify-content: center;
}

/* ============================================
   DISCLAIMER
   ============================================ */
.fellows-disclaimer {
    background: var(--bg-primary);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-light);
}

.fellows-disclaimer p {
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .fellows-steps-grid,
    .fellows-invite-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .fellows-outcomes-grid,
    .fellows-tracks-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .fellows-portfolio-grid,
    .fellows-mentors-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .fellows-hero {
        min-height: auto;
    }

    .fellows-hero .hero-content {
        padding-top: 110px;
        padding-bottom: var(--space-2xl);
    }

    .fellows-hero-stats {
        gap: var(--space-xl);
    }

    .fellows-hero-stat-value {
        font-size: 28px;
    }

    .fellows-timeline::before {
        left: 17px;
    }

    .fellows-timeline-marker {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .fellows-timeline-body {
        padding: var(--space-md) var(--space-lg);
    }

    .fellows-cta-panel {
        padding: var(--space-2xl) var(--space-lg);
    }

    .fellows-portfolio-grid,
    .fellows-mentors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .fellows-gallery-slide {
        width: 300px;
        height: 210px;
    }

    .fellows-gallery-track {
        gap: 14px;
    }

    .fellows-gallery-track-wrapper::before,
    .fellows-gallery-track-wrapper::after {
        width: 60px;
    }

    .fellows-gallery-banner {
        padding: var(--space-2xl) 0;
    }
}
