html { scroll-behavior: smooth; }

body.home-page {
    background: var(--inf-bg);
    color: var(--inf-text);
    font-family: var(--inf-sans);
    overflow-x: hidden;
}
@supports (overflow: clip) { body.home-page { overflow-x: clip; } }

body.home-page::before { display: none; }

.home-page *,
.home-page *::before,
.home-page *::after { box-sizing: border-box; }

.home-page p { color: var(--inf-text-muted); font-family: var(--inf-sans); line-height: 1.75; }
.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6 { color: var(--inf-text); font-family: var(--inf-sans); }
.home-page a { color: inherit; }
.home-page img { max-width: 100%; }
.home-page button,
.home-page a { -webkit-tap-highlight-color: transparent; }
.home-page :focus-visible { outline: 2px solid var(--inf-gold-light); outline-offset: 5px; }

.skip-link {
    background: var(--inf-gold-light);
    color: #111 !important;
    left: 1rem;
    padding: .75rem 1rem;
    position: fixed;
    top: -5rem;
    z-index: 9999;
}
.skip-link:focus { top: 1rem; }

.home-section { padding-block: var(--inf-section); position: relative; }

.grid-fade { isolation: isolate; position: relative; }
.grid-fade::before {
    background-image: linear-gradient(rgba(104,189,89, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(104,189,89, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    inset: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent);
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.eyebrow {
    align-items: center;
    color: var(--inf-gold-light) !important;
    display: flex;
    font-size: .72rem !important;
    font-weight: 600 !important;
    gap: .65rem;
    letter-spacing: .2em;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
}
.eyebrow > span { background: var(--inf-gold); height: 1px; width: 28px; }

.section-index {
    align-items: center;
    color: #97A4B7;
    display: flex;
    font-size: .72rem;
    font-weight: 600;
    gap: .75rem;
    letter-spacing: .18em;
    margin-bottom: clamp(2rem, 4vw, 4.5rem);
    text-transform: uppercase;
}
.section-index span { color: var(--inf-gold); }

.home-page h1 em,
.home-page h2 em { color: var(--inf-gold-light); font-family: var(--inf-serif); font-weight: 500; }

.home-button {
    align-items: center;
    border: 1px solid var(--inf-border);
    border-radius: var(--radius-sm);
    display: inline-flex;
    font-size: .79rem;
    font-weight: 600;
    gap: 1.1rem;
    justify-content: center;
    letter-spacing: .08em;
    min-height: 50px;
    padding: .85rem 1.35rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.home-button--gold { background: linear-gradient(135deg, #378D48 0%, #68BD59 55%, #328947 100%); border-color: transparent; color: #FFFFFF !important; }
.home-button--quiet { background: rgba(255,255,255,.025); color: var(--inf-text) !important; }
.home-button:hover { border-color: rgba(104,189,89,.55); color: var(--inf-gold-light) !important; transform: translateY(-2px); }
.home-button--gold:hover { background: linear-gradient(135deg, #68BD59 0%, #378D48 100%); color: #FFFFFF !important; filter: brightness(1.03); }
.button-arrow { font-size: 1rem; transition: transform .25s ease; }
a:hover .button-arrow { transform: translate(3px, -3px); }
.home-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { align-items: center; color: var(--inf-text) !important; display: inline-flex; font-size: .78rem; font-weight: 600; gap: .75rem; letter-spacing: .1em; padding-block: .4rem; text-decoration: none; text-transform: uppercase; }
.text-link:hover { color: var(--inf-gold-light) !important; }

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
    border: 1px solid var(--inf-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 70px rgba(0,0,0,.35);
    border-radius: var(--radius-lg);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    transition: border-color .3s ease, box-shadow .3s ease, transform .18s ease;
}
.glass-card:hover { border-color: rgba(104,189,89,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.43); }
.glass-card--subtle { background: rgba(255,255,255,.025); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 40px rgba(0,0,0,.2); }
.glass-card--elevated { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 -1px 0 rgba(0,0,0,.55), 0 32px 90px rgba(0,0,0,.42); }
.glass-card--dark { background: linear-gradient(145deg, rgba(5,6,4,.74), rgba(11,23,40,.56)); }

/* Header */
.home-page .navbar-main { border-bottom: 1px solid transparent; padding: 1.2rem 0; }
.home-page .navbar-main.navbar-shrink { background: rgba(7,17,31,.86); border-color: var(--inf-border); padding: .55rem 0; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.home-page .home-nav-shell { max-width: none; width: var(--inf-shell); }
.home-page .navbar-brand { padding: 0; }
.home-page .navbar-brand img { height: auto; width: 174px; }
.home-page .navbar-nav { gap: clamp(.7rem, 1.35vw, 1.55rem); }
.home-page .navbar-nav .nav-item .nav-link { color: #D3DAE4; font-size: .78rem; letter-spacing: .06em; padding: 1rem .25rem; text-transform: uppercase; }
.home-page .navbar-nav .nav-item .nav-link.active,
.home-page .navbar-nav .nav-item .nav-link:hover { color: var(--inf-gold-light); }
.home-page .navbar-nav .nav-item .dropdown-menu { background: rgba(11,23,40,.98); border: 1px solid var(--inf-border); border-radius: 0; padding: .6rem; }
.home-page .navbar-nav .nav-item .dropdown-menu a { color: #D3DAE4; letter-spacing: .02em; padding: .65rem .8rem; }
.home-page .navbar-nav .nav-item .dropdown-menu a:hover { background: rgba(55,141,72,.12); color: var(--inf-gold-light); }
.home-page .right-nav .btn { align-items: center; background: transparent; border: 1px solid var(--inf-border); border-radius: 0; color: var(--inf-text); display: inline-flex; font-size: .72rem; gap: .65rem; letter-spacing: .07em; padding: .75rem 1rem; text-transform: uppercase; }
.home-page .right-nav .btn:hover { background: var(--inf-gold); color: #111; }
.home-page .navbar-toggler { border: 1px solid var(--inf-border); border-radius: 0; display: none; height: 44px; padding: 10px; width: 44px; }
.home-page .navbar-toggler span { background: var(--inf-text); display: block; height: 1px; margin: 5px 0; width: 22px; }

/* Hero */
.home-hero { background: radial-gradient(circle at 78% 18%, rgba(50,137,71,.18), transparent 28%), var(--inf-bg); min-height: 830px; padding: clamp(8.5rem, 13vw, 12rem) 0 0; position: relative; }
.home-hero__layout { align-items: center; display: grid; gap: clamp(2rem, 6vw, 7rem); grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); }
.home-hero__copy { padding-bottom: 5.5rem; position: relative; z-index: 3; }
.home-hero h1 { font-family: var(--inf-sans); font-size: clamp(3.8rem, 6.3vw, 6.8rem); font-weight: 500; letter-spacing: -.065em; line-height: .92; margin: 0 0 2rem; max-width: 760px; }
.home-hero h1 em { display: block; letter-spacing: -.045em; }
.home-hero__lead { font-size: clamp(1rem, 1.3vw, 1.15rem) !important; margin-bottom: 2.1rem !important; max-width: 590px; }
.home-hero__note { font-size: .74rem !important; letter-spacing: .06em; margin-top: 1.2rem !important; }
.home-hero__visual { --hero-bg-x: 0px; --hero-bg-y: 0px; --hero-object-x: 0px; --hero-object-y: 0px; --hero-panel-x: 0px; --hero-panel-y: 0px; min-height: 615px; position: relative; }
.home-hero__visual::before {background: radial-gradient(circle at 35% 35%, rgba(104,189,89,.95), rgba(55,141,72,.5) 22%, rgba(50,137,71,.2) 42%, transparent 70%);border: 1px solid rgba(104,189,89,.5);border-radius: 50%;box-shadow: inset -16px -20px 30px rgba(75,43,5,.45), inset 10px 10px 20px rgba(255,255,255,.2), 0 22px 60px rgba(50,137,71,.25);/* content: ""; */height: 155px;position: absolute;right: 5%;top: -3%;transform: translate(var(--hero-object-x), var(--hero-object-y)) rotate(-18deg);transition: transform .18s ease-out;width: 155px;z-index: 0;}
.home-hero__visual::after {border: 1px solid rgba(104,189,89,.26);border-radius: 50%;/* content: ""; */height: 330px;position: absolute;right: -10%;top: 15%;transform: translate(calc(var(--hero-object-x) * .45), calc(var(--hero-object-y) * .45)) rotate(22deg);transition: transform .18s ease-out;width: 330px;z-index: 0;}
.hero-image-frame { border: 1px solid rgba(104,189,89,.15); border-radius: var(--radius-xl); box-shadow: 24px 26px 0 rgba(50,137,71,.08), 0 30px 90px rgba(0,0,0,.4); height: 615px; margin: 0; overflow: hidden; position: relative; z-index: 1; }
.hero-image-frame::after { background: linear-gradient(90deg, rgba(7,17,31,.24), transparent 38%), linear-gradient(0deg, rgba(7,17,31,.45), transparent 45%); content: ""; inset: 0; position: absolute; }
.hero-image-frame img { filter: saturate(.7) contrast(1.05) sepia(.1); height: 100%; object-fit: cover; transform: translate(var(--hero-bg-x), var(--hero-bg-y)) scale(1.01); transition: transform .2s ease-out; width: 100%; }
.market-panel { bottom: 2rem; max-width: 350px; padding: 1.15rem; position: absolute; right: -1.5rem; transform: translate(var(--hero-panel-x), var(--hero-panel-y)); transition: transform .2s ease-out, border-color .3s ease, box-shadow .3s ease; width: 62%; z-index: 2; }
.market-panel__top { color: var(--inf-text); display: flex; font-size: .68rem; justify-content: space-between; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { color: var(--inf-success); }
.status-dot::before { background: currentColor; border-radius: 50%; content: ""; display: inline-block; height: 5px; margin-right: .35rem; width: 5px; }
.market-line { height: auto; margin-block: 1rem; overflow: visible; width: 100%; }
.market-line__grid { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; }
.market-line__path { fill: none; filter: drop-shadow(0 3px 10px rgba(55,141,72,.12)); stroke: var(--inf-gold-light); stroke-width: 2; }
.market-panel__facts { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.market-panel__facts span { color: var(--inf-text); font-size: .78rem; }
.market-panel__facts small { color: #97A4B7; display: block; font-size: .58rem; letter-spacing: .12em; margin-bottom: .15rem; text-transform: uppercase; }
.metrics-wrap { position: relative; transform: translateX(-50%); z-index: 5; }
.metrics-bar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.metric-item { min-height: 115px; padding: 1.5rem 1.7rem; position: relative; }
.metric-item + .metric-item { border-left: 1px solid var(--inf-border); }
.metric-item__number { color: var(--inf-gold-dark); font-size: .64rem; letter-spacing: .1em; position: absolute; right: 1rem; top: .8rem; }
.metric-item strong { color: var(--inf-text); display: block; font-family: var(--inf-serif); font-size: 1.12rem; font-weight: 500; margin-top: .5rem; }
.metric-count { color: var(--inf-gold-light); font-family: var(--inf-sans); font-size: 1.45rem; margin-right: .2rem; }
.metric-item small { color: var(--inf-text-muted); font-size: .72rem; }

/* Video hero */
.home-hero--video { align-items: center; display: flex; height: 100vh; min-height: 100vh; min-height: 100dvh; overflow: hidden; padding-bottom: 2rem; position: relative; }
/* .home-hero--video::after { background: radial-gradient(circle at 45% 45%, rgba(104,189,89,.82), rgba(55,141,72,.3) 28%, transparent 68%); border: 1px solid rgba(104,189,89,.35); border-radius: 50%; box-shadow: inset -14px -16px 26px rgba(75,43,5,.35), 0 20px 60px rgba(50,137,71,.18); content: ""; height: 130px; opacity: .55; position: absolute; right: 10%; top: 20%; transform: rotate(-16deg); width: 130px; z-index: 1; } */
.hero-video__media,
.hero-video__overlay { height: 100%; inset: 0; position: absolute; width: 100%; }
.hero-video__media { overflow: hidden; pointer-events: none; }
.hero-video__media video { height: 100%; object-fit: cover; width: 100%; }
.hero-video__media iframe { border: 0; height: 56.25vw; min-height: 100%; min-width: 177.78vh; pointer-events: none; position: absolute; transform: translate(-50%, -50%) scale(1.25); width: 100vw; }
.hero-video__overlay { background: linear-gradient(90deg, rgba(7,17,31,.96) 0%, rgba(7,17,31,.75) 42%, rgba(7,17,31,.2) 75%), linear-gradient(0deg, rgba(7,17,31,.75), transparent 50%, rgba(7,17,31,.35)); }
.hero-video__content { position: relative; z-index: 2; }
.hero-video__content h1 { max-width: 850px; }
.video-control { align-items: center; bottom: 7.2rem; color: var(--inf-text); display: flex; font-size: .68rem; gap: .6rem; min-height: 44px; padding: .65rem .9rem; position: absolute; right: max(2rem, calc((100vw - 1320px) / 2)); text-transform: uppercase; z-index: 3; }

/* About */
/* .editorial-about { padding-top: calc(var(--inf-section) + 5rem); } */
.editorial-about::after,
.course-section::after,
.platform-section::after { background: linear-gradient(90deg, transparent, rgba(55,141,72,.28), transparent); content: ""; height: 1px; left: 50%; opacity: .5; position: absolute; top: 0; transform: translateX(-50%); width: min(84%, 1100px); }
.editorial-about__grid { display: grid; grid-template-columns: .7fr 1.45fr 1fr; }
.editorial-about__grid > .section-index { grid-column: 1 / -1; }
.editorial-about__headline { grid-column: 1 / 3; max-width: 830px; }
.editorial-about__headline h2,
.section-heading h2,
.journey-intro h2,
.mentor-copy h2,
.testimonials-intro h2,
.faq-intro h2,
.final-cta h2 { font-size: clamp(2.65rem, 5vw, 5.35rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.editorial-about__body { align-self: end; border-left: 1px solid var(--inf-border); padding-left: clamp(1.5rem, 3vw, 3rem); }
.editorial-about__body p { margin-bottom: 1.5rem; }
.editorial-about__principles { border-top: 1px solid var(--inf-border); display: grid; gap: 0; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); margin-top: clamp(4rem, 7vw, 7rem); }
.principle { padding: 2rem 2rem 0 0; }
.principle + .principle { border-left: 1px solid var(--inf-border); padding-left: 2rem; }
.principle span { color: var(--inf-gold-light); font-family: var(--inf-serif); font-size: 1.35rem; }
.principle p { font-size: .86rem; max-width: 310px; }

/* Shared heading */
.section-heading--split { align-items: end; display: grid; gap: 5rem; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .6fr); margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading .section-index { margin-bottom: 2.4rem; }
.section-heading h2 { max-width: 880px; }
.section-heading--split > p { border-left: 1px solid var(--inf-border); font-size: .94rem; padding-left: 2rem; }

/* Courses */
.course-section { background: var(--inf-bg-soft); }
.course-filters { border-bottom: 1px solid var(--inf-border); display: flex; gap: 2rem; margin-bottom: 2.5rem; overflow-x: auto; scrollbar-width: none; }
.course-filter { background: rgba(255,255,255,.025); border: 1px solid transparent; border-radius: var(--radius-pill); color: #97A4B7; font-size: .7rem; letter-spacing: .12em; min-height: 44px; padding: .55rem 1rem; position: relative; text-transform: uppercase; white-space: nowrap; }
.course-filter::after { background: var(--inf-gold); border-radius: var(--radius-pill); bottom: -1px; content: ""; height: 1px; left: 15%; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; width: 70%; }
.course-filter.is-active { background: rgba(55,141,72,.09); border-color: var(--inf-border); color: var(--inf-gold-light); }
.course-filter.is-active::after { transform: scaleX(1); }
.course-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
.course-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); min-height: 410px; overflow: hidden; position: relative; }
.course-card::before { background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(104,189,89,.12), transparent 28%); content: ""; inset: 0; opacity: 0; pointer-events: none; position: absolute; transition: opacity .3s ease; z-index: 1; }
.course-card:hover::before { opacity: 1; }
.course-card--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.3fr) minmax(400px, .7fr); min-height: 540px; }
.course-card[hidden] { display: none; }
.course-card__image { display: block; min-height: 280px; overflow: hidden; }
.course-card__image img { filter: saturate(.72) contrast(1.08); height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; width: 100%; }
.course-card:hover .course-card__image img { filter: saturate(.9) contrast(1.05); transform: scale(1.035); }
.course-card__content { display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 3rem); }
.course-card__kicker { color: #97A4B7; font-size: .62rem; letter-spacing: .14em; margin-bottom: 1.4rem; text-transform: uppercase; }
.course-card__kicker span { color: var(--inf-gold); margin-right: .8rem; }
.course-card h3 { font-family: var(--inf-serif); font-size: clamp(1.55rem, 2.3vw, 2.5rem); font-weight: 500; margin-bottom: 1rem; }
.course-card h3 a { text-decoration: none; }
.course-card__content > p { font-size: .85rem; margin-bottom: 1.5rem; }
.course-meta { border-bottom: 1px solid var(--inf-border); border-top: 1px solid var(--inf-border); display: grid; grid-template-columns: 1.2fr .8fr 1fr; margin: auto 0 1.2rem; padding: 1rem 0; }
.course-meta div + div { border-left: 1px solid var(--inf-border); padding-left: .8rem; }
.course-meta dt { color: #97A4B7; font-size: .55rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.course-meta dd { color: var(--inf-text); font-size: .66rem; margin: .25rem 0 0; }
.course-card__link { align-items: center; display: inline-flex; font-size: .67rem; font-weight: 600; gap: .7rem; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.course-card__link:hover { color: var(--inf-gold-light); }

/* Image statement */
.image-statement { align-items: flex-end; display: flex; min-height: min(820px, 75vw); overflow: hidden; padding-block: clamp(5rem, 9vw, 9rem); position: relative; }
.image-statement > img { filter: saturate(.45) contrast(1.16) sepia(.12); height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.image-statement__shade { background: linear-gradient(90deg, rgba(7,17,31,.93), rgba(7,17,31,.28) 70%), linear-gradient(0deg, rgba(7,17,31,.8), transparent 55%); inset: 0; position: absolute; }
.image-statement__content { position: relative; z-index: 1; }
.image-statement h2 { font-size: clamp(3rem, 7vw, 7.4rem); font-weight: 500; letter-spacing: -.06em; line-height: .86; max-width: 900px; }
.image-statement p:last-child { border-left: 1px solid var(--inf-gold); margin-top: 2rem; max-width: 490px; padding-left: 1.3rem; }

/* Journey */
.journey-grid { display: grid; gap: clamp(4rem, 9vw, 10rem); grid-template-columns: .8fr 1.2fr; }
.journey-intro { align-self: start; position: sticky; top: 8rem; }
.journey-intro h2 { margin-bottom: 1.6rem; }
.journey-intro > p:not(.eyebrow) { margin-bottom: 2rem; max-width: 520px; }
.journey-list { counter-reset: none; list-style: none; margin: 2rem 0 0; padding: 0; }
.journey-step { align-items: start; border-top: 1px solid var(--inf-border); display: grid; gap: 2rem; grid-template-columns: 45px 1fr; padding: 2rem 0 3.5rem; }
.journey-step > span { color: var(--inf-gold); font-size: .65rem; letter-spacing: .12em; }
.journey-step h3 { font-family: var(--inf-serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; margin: 0 0 .5rem; }
.journey-step p { font-size: .88rem; max-width: 500px; }

/* Mentor */
.mentor-section { background: var(--inf-bg-soft); }
.mentor-grid { display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 1.05fr .95fr; }
.mentor-image { background: radial-gradient(circle at 50% 45%, rgba(55,141,72,.12), transparent 45%); min-height: 650px; overflow: hidden; position: relative; }
.mentor-image img { filter: saturate(.65) contrast(1.05); height: 100%; object-fit: cover; width: 100%; }
.mentor-image__caption { background: rgba(7,17,31,.8); border-left: 1px solid var(--inf-gold); bottom: 1.5rem; color: var(--inf-text); font-size: .62rem; left: 1.5rem; letter-spacing: .12em; padding: 1rem 1.2rem; position: absolute; text-transform: uppercase; }
.mentor-copy .section-index { margin-bottom: 2.5rem; }
.mentor-copy h2 { margin-bottom: 1.5rem; }
.mentor-copy blockquote { border-left: 1px solid var(--inf-gold); color: var(--inf-text); font-family: var(--inf-serif); font-size: clamp(1.25rem, 2.1vw, 1.8rem); line-height: 1.45; margin: 2rem 0; padding-left: 1.5rem; }

/* Target Audience */
.audience-section { position: relative; }
.audience-section::after { background: linear-gradient(90deg, transparent, rgba(55,141,72,.28), transparent); content: ""; height: 1px; left: 50%; opacity: .5; position: absolute; top: 0; transform: translateX(-50%); width: min(84%, 1100px); }
.audience-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.audience-card { border-radius: var(--radius-lg); display: flex; flex-direction: column; padding: 2.2rem 2rem; position: relative; transition: border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.audience-card__header { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1.8rem; }
.audience-card__icon { align-items: center; background: linear-gradient(135deg, rgba(104,189,89,.12), rgba(55,141,72,.03)); border: 1px solid rgba(104,189,89,.22); border-radius: 12px; color: var(--inf-gold-light); display: flex; font-size: 1.25rem; height: 52px; justify-content: center; width: 52px; transition: background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease; }
.audience-card__num { color: #97A4B7; font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.audience-card h3 { color: var(--inf-text); font-family: var(--inf-sans); font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 600; margin: 0 0 .75rem; }
.audience-card p { color: var(--inf-text-muted); font-size: .88rem; line-height: 1.65; margin: 0; }
.audience-card:hover .audience-card__icon { background: linear-gradient(135deg, rgba(104,189,89,.25), rgba(55,141,72,.15)); border-color: var(--inf-gold-light); box-shadow: 0 0 20px rgba(104,189,89,.3); color: #fff; }


/* Outcomes */
.home-testimonials { background: linear-gradient(120deg, #0B1728, #07111F); }
.testimonials-grid { display: grid; gap: clamp(3rem, 8vw, 8rem); grid-template-columns: 1fr 1fr; }
.testimonials-intro { align-self: center; }
.testimonials-intro h2 { margin-bottom: 1.5rem; }
.testimonials-intro > p:last-child { border-left: 1px solid var(--inf-border); font-size: .85rem; max-width: 520px; padding-left: 1.2rem; }
.expectation-list { display: grid; gap: 1rem; }
.expectation-card { padding: 1.8rem 2rem; }
.expectation-card > span { color: var(--inf-gold); font-size: .6rem; letter-spacing: .12em; }
.expectation-card h3 { font-family: var(--inf-serif); font-size: 1.7rem; font-weight: 500; margin: .7rem 0 .5rem; }
.expectation-card p { font-size: .82rem; }

/* Insights */
.insights-section { background: var(--inf-bg-soft); }
.insights-grid { display: grid; gap: 1.2rem; grid-template-columns: 1.25fr .875fr .875fr; }
.insight-card__image { display: block; height: 310px; overflow: hidden; }
.insight-card:first-child .insight-card__image { height: 440px; }
.insight-card img { filter: saturate(.6) contrast(1.1); height: 100%; object-fit: cover; transition: transform .6s ease; width: 100%; border-radius: 30px; }
.insight-card:hover img { transform: scale(1.035); }
.insight-card > div { padding: 1.5rem 0; }
.insight-card > div > span { color: var(--inf-gold); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.insight-card h3 { font-family: var(--inf-serif); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 500; margin: .75rem 0 1.2rem; }
.insight-card h3 a { text-decoration: none; }
.insight-card h3 a:hover { color: var(--inf-gold-light); }

/* FAQ */
.faq-grid { display: grid; gap: clamp(4rem, 10vw, 11rem); grid-template-columns: .75fr 1.25fr; }
.faq-intro { align-self: start; position: sticky; top: 8rem; }
.faq-intro h2 { margin-bottom: 1.5rem; }
.faq-intro > p:not(.eyebrow) { margin-bottom: 1.5rem; }
.faq-item { border-top: 1px solid var(--inf-border); }
.faq-item:last-child { border-bottom: 1px solid var(--inf-border); }
.faq-item h3 { margin: 0; }
.faq-item button { align-items: center; background: none; border: 0; color: var(--inf-text); display: grid; font-family: var(--inf-serif); font-size: clamp(1.1rem, 1.8vw, 1.5rem); gap: 1.2rem; grid-template-columns: 30px 1fr 22px; min-height: 78px; padding: 1rem 0; text-align: left; width: 100%; }
.faq-item button > span { color: var(--inf-gold); font-family: var(--inf-sans); font-size: .58rem; letter-spacing: .1em; }
.faq-item button i { height: 14px; position: relative; width: 14px; }
.faq-item button i::before,
.faq-item button i::after { background: var(--inf-gold-light); content: ""; left: 0; position: absolute; top: 6px; transition: transform .25s ease; width: 14px; height: 1px; }
.faq-item button i::after { transform: rotate(90deg); }
.faq-item button[aria-expanded="true"] i::after { transform: rotate(0); }
.faq-answer { padding: 0 2rem 1.8rem 3.2rem; }
.faq-answer p { font-size: .86rem; max-width: 610px; }

/* CTA */
.final-cta { padding-top: 2rem; }
.final-cta__panel { align-items: end; background: linear-gradient(125deg, rgba(55,141,72,.1), rgba(255,255,255,.015)); border: 1px solid var(--inf-border); display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: 1.25fr .75fr; overflow: hidden; padding: clamp(2rem, 6vw, 5.5rem); }
.final-cta__panel { border-radius: var(--radius-xl); }
.final-cta__panel::after { border: 1px solid rgba(55,141,72,.12); border-radius: 50%; content: ""; height: 400px; position: absolute; right: -180px; top: -230px; width: 400px; }
.final-cta h2 { max-width: 750px; }
.final-cta__panel > div:last-child { position: relative; z-index: 1; }
.final-cta__panel > div:last-child > p { margin-bottom: 1.6rem; }

/* Footer */

.progress-wrap { align-items: center; background: rgba(11,23,40,.9); border: 1px solid var(--inf-border); border-radius: 50%; bottom: 1.5rem; display: flex; height: 44px; justify-content: center; opacity: 0; padding: 5px; pointer-events: none; position: fixed; right: 1.5rem; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; width: 44px; z-index: 50; }
.progress-wrap.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.progress-circle { height: 100%; width: 100%; }
.progress-circle path { fill: none; stroke: var(--inf-gold); stroke-width: 3; }



@media (max-width: 1199px) {
    :root { --inf-shell: min(100% - 48px, 1120px); }
    .home-hero__layout { gap: 3rem; grid-template-columns: .95fr 1.05fr; }
    .home-hero h1 { font-size: clamp(3.4rem, 6.6vw, 5.3rem); }
    .market-panel { right: 1rem; }
    .course-card { grid-template-columns: 1fr; }
    .course-card--featured { grid-template-columns: 1.15fr .85fr; }
    .course-card__image { max-height: 330px; }
    .platform-window__body { grid-template-columns: 150px 1fr; }
    .risk-notes { border-left: 0; border-top: 1px solid var(--inf-border); display: grid; grid-column: 1 / -1; grid-template-columns: 140px repeat(3, 1fr); }
    .risk-notes > span { align-self: center; margin: 0; }
    .risk-notes > div { border: 0; }
}

@media (max-width: 991px) {
    :root { --inf-shell: min(100% - 40px, 900px); --inf-section: clamp(4.5rem, 10vw, 7rem); }
    .home-hero { min-height: auto; padding-top: 8rem; }
    .home-hero__layout { grid-template-columns: 1fr; }
    .home-hero__copy { padding-bottom: 0; }
    .home-hero__visual { min-height: 520px; }
    .hero-image-frame { height: 520px; }
    .metrics-wrap { bottom: auto; margin-top: -1px; position: relative; transform: none; left: auto; width: var(--inf-shell); }
    .metrics-bar { grid-template-columns: repeat(2, 1fr); }
    .metric-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--inf-border); }
    .metric-item:nth-child(4) { border-top: 1px solid var(--inf-border); }
    .home-hero--video { min-height: 820px; padding-bottom: 0; }
    .home-hero--video .metrics-wrap { bottom: 0; left: 50%; margin: 0; position: absolute; transform: translateX(-50%); }
    .video-control { bottom: 15rem; right: 1.5rem; }
    .editorial-about { padding-top: var(--inf-section); }
    .editorial-about__grid { grid-template-columns: 1fr; }
    .editorial-about__grid > .section-index,
    .editorial-about__headline,
    .editorial-about__body,
    .editorial-about__principles { grid-column: 1; }
    .editorial-about__body { border-left: 0; border-top: 1px solid var(--inf-border); margin-top: 2rem; padding: 2rem 0 0; }
    .section-heading--split { align-items: start; gap: 2rem; grid-template-columns: 1fr; }
    .section-heading--split > p { max-width: 600px; }
    .course-card--featured { grid-template-columns: 1fr; }
    .course-card--featured .course-card__image { height: 420px; max-height: none; }
    .journey-grid,
    .mentor-grid,
    .testimonials-grid,
    .faq-grid,
    .final-cta__panel { gap: 4rem; grid-template-columns: 1fr; }
    .journey-intro,
    .faq-intro { position: static; }
    .mentor-image { min-height: 550px; }
    .platform-window__body { grid-template-columns: 130px 1fr; }
    .insights-grid { grid-template-columns: 1fr 1fr; }
    .insight-card:first-child { grid-column: 1 / -1; }
    .insight-card:first-child .insight-card__image { height: 420px; }
    .footer-main { gap: 3rem; grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    :root { --inf-shell: calc(100% - 32px); --inf-section: 4.5rem; }
    html { scroll-behavior: auto; }
    .home-page .navbar-main { padding: .75rem 0; }
    .home-page .navbar-brand img { width: 145px; }
    .home-hero { padding-top: 7rem; }
    .home-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); overflow-wrap: normal; }
    .home-hero__lead { font-size: .96rem !important; }
    .home-hero__visual { min-height: 430px; }
    .hero-image-frame { height: 430px; }
    .home-hero__visual::before { height: 90px; right: 3%; top: -2%; width: 90px; }
    .home-hero__visual::after { height: 190px; right: -18%; width: 190px; }
    .market-panel { bottom: 1rem; left: 1rem; max-width: calc(100% - 2rem); right: auto; width: 330px; }
    .glass-card { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .metric-item { min-height: 100px; padding: 1.2rem; }
    .metric-item strong { font-size: 1rem; }
    .home-hero--video { height: 100vh; min-height: 100vh; min-height: 100dvh; }
    .hero-video__media { display: block; }
    .home-hero--video::after { height: 90px; opacity: .35; right: -3%; top: 24%; width: 90px; }
    .video-control { display: none; }
    .hero-video__overlay { background: linear-gradient(90deg, rgba(7,17,31,.92), rgba(7,17,31,.42)); }
    .editorial-about__principles { grid-template-columns: 1fr; }
    .principle { padding: 1.5rem 0; }
    .principle + .principle { border-left: 0; border-top: 1px solid var(--inf-border); padding-left: 0; }
    .editorial-about__headline h2,
    .section-heading h2,
    .journey-intro h2,
    .mentor-copy h2,
    .testimonials-intro h2,
    .faq-intro h2,
    .final-cta h2 { font-size: clamp(2.45rem, 12vw, 3.65rem); overflow-wrap: normal; }
    .section-heading--split > p { border-left: 0; border-top: 1px solid var(--inf-border); padding: 1.5rem 0 0; }
    .course-filters { gap: 1.5rem; }
    .course-grid { grid-template-columns: 1fr; }
    .course-card,
    .course-card--featured { min-height: 0; }
    .course-card__image,
    .course-card--featured .course-card__image { height: 250px; min-height: 0; }
    .course-meta { grid-template-columns: 1fr; }
    .course-meta div { padding: .6rem 0; }
    .course-meta div + div { border-left: 0; border-top: 1px solid rgba(104,189,89,.08); padding-left: 0; }
    .course-meta dt,
    .course-meta dd { display: inline-block; }
    .course-meta dt { min-width: 80px; }
    .image-statement { min-height: 650px; }
    .image-statement h2 { font-size: clamp(3rem, 15vw, 4.9rem); overflow-wrap: normal; }
    .journey-grid,
    .mentor-grid,
    .testimonials-grid,
    .faq-grid,
    .final-cta__panel { gap: 2.5rem; }
    .journey-step { gap: 1rem; grid-template-columns: 32px 1fr; }
    .mentor-image { min-height: 420px; }
    .platform-window { padding: .6rem; }
    .platform-window__bar > strong { margin-left: .4rem; }
    .platform-window__bar > small { display: none; }
    .platform-window__body { grid-template-columns: 1fr; min-height: 0; }
    .watchlist { border-bottom: 1px solid var(--inf-border); border-right: 0; display: grid; gap: .6rem; grid-template-columns: repeat(3, 1fr); }
    .watchlist > span { grid-column: 1 / -1; margin-bottom: .3rem; }
    .watchlist > div { display: block; padding: .5rem; }
    .watchlist small { display: block; margin-top: .2rem; }
    .chart-panel { padding: 1rem .3rem; }
    .chart-panel svg { height: 270px; }
    .risk-notes { display: none; }
    .insights-grid { grid-template-columns: 1fr; }
    .insight-card:first-child { grid-column: auto; }
    .insight-card:first-child .insight-card__image,
    .insight-card__image { height: 260px; }
    .faq-item button { font-size: 1.1rem; gap: .75rem; grid-template-columns: 24px 1fr 16px; min-height: 72px; }
    .faq-answer { padding-left: 2.3rem; }
    .final-cta__panel { padding: 2rem 1.25rem; }
    .home-actions { align-items: stretch; flex-direction: column; }
    .home-button { width: 100%; }
    .footer-nav { grid-template-columns: 1fr 1fr; }
    .footer-nav > div:last-child { grid-column: 1 / -1; }
    .bottom-footer__inner { align-items: flex-start; flex-direction: column; gap: .75rem; }
}

@media (max-width: 420px) {
    .home-hero h1 { font-size: clamp(2.9rem, 14vw, 3.55rem); }
    .market-panel { width: calc(100% - 2rem); }
    .metrics-bar { grid-template-columns: 1fr; }
    .metric-item + .metric-item { border-left: 0; border-top: 1px solid var(--inf-border); }
    .home-hero--video { flex-direction: column; justify-content: center; min-height: 940px; }
    .home-hero--video .metrics-wrap { left: auto; margin-top: auto; position: relative; transform: none; }
    .hero-video__content { padding-bottom: 2rem; }
    .footer-nav { grid-template-columns: 1fr; }
    .footer-nav > div:last-child { grid-column: auto; }
}

.home-page .footer-email { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-page *,
    .home-page *::before,
    .home-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .home-page [data-aos],
    .home-page [data-aos].aos-animate { clip-path: none !important; opacity: 1 !important; transform: none !important; }
    .home-page .hero-image-frame img,
    .home-page .image-statement > img,
    .home-page .mentor-image img,
    .home-page [data-tilt] { transform: none !important; }

}

/* ===================== Homepage production refinement ===================== */
.home-display-line { display: block; }
.home-page main h1,
.home-page main h2,
.home-page main h3,
.home-page main p,
.home-page main li { text-wrap: pretty; }
.home-page main h2 { font-family: var(--inf-serif); text-wrap: balance; }
.home-page main h3 { font-family: var(--inf-sans); line-height: 1.25; text-wrap: balance; }
.home-page main p { line-height: 1.7; }
.home-page .home-hero h1 { font-size: clamp(2.75rem, 1.7rem + 4.8vw, 5.8rem); letter-spacing: -.045em; line-height: 1.02; max-width: 14ch; text-wrap: balance; }
.home-page .home-hero__lead { font-size: var(--text-base) !important; line-height: 1.7; max-width: 62ch; }
.home-page .home-hero__note { font-size: var(--text-xs) !important; }
.home-page .editorial-about__headline h2,
.home-page .section-heading h2,
.home-page .journey-intro h2,
.home-page .mentor-copy h2,
.home-page .testimonials-intro h2,
.home-page .faq-intro h2,
.home-page .final-cta h2 { font-size: clamp(2.35rem, 2rem + 2.1vw, 4rem); line-height: 1.06; max-width: 22ch; }
.home-page .image-statement h2 { font-size: clamp(2.65rem, 2rem + 3.8vw, 5.25rem); line-height: 1.02; max-width: 15ch; }
.home-page .course-card h3,
.home-page .insight-card h3,
.home-page .journey-step h3,
.home-page .expectation-card h3 { font-family: var(--inf-sans); font-size: var(--text-xl); line-height: 1.25; }
.home-page .course-card__content > p,
.home-page .principle p,
.home-page .journey-step p,
.home-page .expectation-card p,
.home-page .faq-answer p { font-size: var(--text-sm); line-height: 1.7; }
.home-page .course-filters { flex-wrap: wrap; overflow-x: visible; row-gap: .7rem; }
.home-page .metric-count { display: inline-block; font-variant-numeric: tabular-nums; min-width: 1.25ch; }

/* AOS is retained for internal pages only. Homepage motion belongs to GSAP. */
.home-page [data-aos],
.home-page [data-aos].aos-animate { clip-path: none; opacity: 1; transform: none; }
.home-page .hero-image-frame,
.home-page .image-statement,
.home-page .mentor-image { overflow: hidden; }
.home-page .motion-ready .hero-image-frame,
.home-page .motion-ready .market-panel,
.home-page .motion-ready .platform-window { will-change: transform, opacity; }



@media (max-width: 899px) {
    .home-page .course-grid { grid-template-columns: 1fr; }
    .home-page .course-card,
    .home-page .course-card--featured { grid-template-columns: 1fr; min-height: 0; }
    .home-page .course-card__image,
    .home-page .course-card--featured .course-card__image { height: 270px; min-height: 0; }
    .home-page .insights-grid { grid-template-columns: 1fr 1fr; }
    .home-page .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    /* Android/iOS browsers may pause scroll-triggered reveals before they
       enter the viewport. Content must remain readable without JS motion. */
    .home-page main .gsap-from,
    .home-page main [data-aos],
    .home-page main [data-aos].aos-animate {
        clip-path: none !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    .home-page main p:not(.eyebrow):not(.home-hero__note):not(.section-index) { font-size: 1rem; }
    .home-page .home-hero h1 { font-size: clamp(2.7rem, 8.4vw, 3.5rem); max-width: 13ch; }
    .home-page .editorial-about__headline h2,
    .home-page .section-heading h2,
    .home-page .journey-intro h2,
    .home-page .mentor-copy h2,
    .home-page .testimonials-intro h2,
    .home-page .faq-intro h2,
    .home-page .final-cta h2 { font-size: clamp(2.15rem, 8.5vw, 3rem); max-width: 18ch; }
    .home-page .image-statement h2 { font-size: clamp(2.6rem, 10.8vw, 4rem); max-width: 12ch; }
    .home-page .home-button { white-space: nowrap; }
    .home-page .insights-grid { grid-template-columns: 1fr; }
    .home-page .audience-grid { grid-template-columns: 1fr; }
}

/* ─── Motion-reduced: guarantee every section is visible ─── */
/* Applied by JS when GSAP is skipped OR when the safety-net detects
   that GSAP failed to reveal content (e.g. Safari ScrollTrigger bug). */
html.motion-reduced .home-page main,
html.motion-reduced .home-page main * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    clip-path: none !important;
}
