/* =========================================================
   CHEEZIOUS TRAINING & DEVELOPMENT — PUBLIC HOME PAGE CSS
   Cheezious brand theme · cream · gold · brown · Figtree
========================================================= */

:root {
    --h-primary:      #F6A81C;
    --h-primary-dark: #D98A0B;
    --h-primary-2:    #FBC23C;
    --h-accent:       #F0871E;
    --h-ink:          #3A2A1E;
    --h-muted:        #8A7765;
    --h-bg:           #FBF6EC;
    --h-bg-2:         #F3E9D6;
    --h-white:        #FFFFFF;
    --h-border:       rgba(58, 42, 30, 0.12);
    --h-shadow-sm:    0 6px 18px rgba(99, 67, 23, 0.10);
    --h-shadow-md:    0 14px 34px rgba(99, 67, 23, 0.14);
    --h-shadow-lg:    0 28px 64px rgba(99, 67, 23, 0.20);
    --h-radius:       22px;
    --h-copy:         clamp(1.1rem, 1.5vw, 1.25rem);
    --h-glass-bg:     rgba(255, 251, 243, 0.82);
    --h-glass-border: rgba(255, 255, 255, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; }

body.home-body {
    margin: 0;
    font-family: 'Figtree', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--h-ink);
    background:
        radial-gradient(1200px 500px at 85% -10%, #FBE8C9 0%, transparent 60%),
        radial-gradient(900px 500px at -10% 10%, #F6ECD8 0%, transparent 55%),
        var(--h-bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

.home-container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* =========================== NAVBAR =========================== */
.home-nav {
    position: sticky; top: 0; z-index: 1000;
    background: var(--h-glass-bg);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(58, 42, 30, 0.1);
}
.home-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.home-brand { display: flex; align-items: center; gap: 12px; }
.home-brand__img { display: block; height: 46px; width: auto; }
.home-brand__logo {
    width: 48px; height: 48px; border-radius: 15px;
    display: grid; place-items: center; color: #3A2A1E; font-size: 1.45rem; font-weight: 900;
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary-dark));
    box-shadow: 0 10px 22px rgba(217, 138, 11, 0.32);
}
.home-brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.home-brand__name { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.home-brand__tag  { font-size: 0.72rem; font-weight: 700; color: var(--h-primary); text-transform: uppercase; letter-spacing: 0.09em; }

.home-nav__links { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 26px); flex: 1; margin-left: clamp(16px, 2vw, 40px); }
.home-nav__links .home-btn { margin-left: auto; }
.home-nav__link { color: var(--h-ink); font-weight: 600; font-size: 1rem; position: relative; transition: color .2s ease; white-space: nowrap; }
.home-nav__link::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
    border-radius: 2px; background: linear-gradient(90deg, var(--h-primary), var(--h-accent)); transition: width .25s ease;
}
.home-nav__link:hover { color: var(--h-primary-dark); }
.home-nav__link:hover::after { width: 100%; }

/* Training at Cheezious dropdown */
.home-nav__dropdown { position: relative; }
.home-nav__dropbtn {
    background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.home-nav__dropbtn i { font-size: 0.75rem; transition: transform .2s ease; }
.home-nav__menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 250px; margin-top: 14px;
    flex-direction: column; background: #fff; border: 1px solid var(--h-border);
    border-radius: 16px; padding: 8px; box-shadow: var(--h-shadow-md); z-index: 1100;
}
.home-nav__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.home-nav__menu a {
    display: block; padding: 10px 14px; border-radius: 10px; color: var(--h-ink);
    font-weight: 600; font-size: 0.94rem; transition: background .2s ease, color .2s ease;
}
.home-nav__menu a:hover { background: var(--h-bg-2); color: var(--h-primary-dark); }
.home-nav__dropdown.is-open .home-nav__menu { display: flex; }
.home-nav__dropdown.is-open .home-nav__dropbtn i { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1241px) {
    .home-nav__dropdown:hover .home-nav__menu,
    .home-nav__dropdown:focus-within .home-nav__menu { display: flex; }
    .home-nav__dropdown:hover .home-nav__dropbtn i { transform: rotate(180deg); }
}

.home-btn {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem;
    padding: 12px 26px; border-radius: 999px; border: none; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-btn--primary {
    color: #3A2A1E; background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 10px 22px rgba(217, 138, 11, 0.36);
}
.home-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217, 138, 11, 0.48); color: #3A2A1E; }
.home-btn--ghost { color: var(--h-primary-dark); background: rgba(246, 168, 28, 0.14); }
.home-btn--ghost:hover { background: rgba(246, 168, 28, 0.24); transform: translateY(-2px); color: var(--h-primary-dark); }
.home-btn--lg { padding: 15px 34px; font-size: 1.02rem; }
.home-btn--light { color: var(--h-primary-dark); background: #fff; box-shadow: var(--h-shadow-sm); }
.home-btn--light:hover { transform: translateY(-2px); box-shadow: var(--h-shadow-md); color: var(--h-primary-dark); }

.home-nav__toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--h-ink); cursor: pointer; }

/* =========================== HERO (full-bleed carousel) =========================== */
.home-hero { position: relative; width: 100%; height: clamp(520px, 82vh, 760px); overflow: hidden; }
.home-hero__slides { position: absolute; inset: 0; }
.home-hero__slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    background-size: cover; background-position: center;
    transition: opacity 0s linear 1s, visibility 0s linear 1s;
}
.home-hero__slide.is-active {
    opacity: 1; visibility: visible; z-index: 1;
    transition: opacity 1s ease-in-out, visibility 0s;
}
.home-hero__slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(36,26,18,0.45) 0%, rgba(36,26,18,0.55) 45%, rgba(36,26,18,0.82) 100%);
}
.home-hero__inner {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    max-width: none; margin: 0; padding: 0 clamp(20px, 5vw, 64px) 0 clamp(72px, 7vw, 120px);
}
.home-hero__caption { max-width: 640px; }
.home-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.14); color: #fff; font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.08em; padding: 8px 16px; border-radius: 999px;
    margin-bottom: 22px; border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(6px);
}
.home-eyebrow i { color: var(--h-primary-2); }
.home-hero__title { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 900; line-height: 1.07; letter-spacing: -0.035em; margin: 0 0 20px; color: #fff; }
.home-hero__title span { color: var(--h-primary-2); }
.home-hero__text { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.92); margin: 0 0 32px; max-width: 560px; }

.home-hero__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; font-size: 1.3rem; color: #fff;
    background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px); transition: background .2s ease, transform .2s ease;
}
.home-hero__arrow:hover { background: var(--h-primary); color: #3A2A1E; }
.home-hero__arrow--prev { left: clamp(14px, 3vw, 34px); }
.home-hero__arrow--next { right: clamp(14px, 3vw, 34px); }
.home-hero__dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.home-hero__dot { width: 11px; height: 11px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,0.45); transition: all .25s ease; }
.home-hero__dot.is-active { background: var(--h-primary-2); width: 28px; border-radius: 999px; }

/* =========================== TAGLINE BAND =========================== */
.home-tagline { position: relative; z-index: 3; background: linear-gradient(90deg, var(--h-primary-2), var(--h-primary)); padding: 18px 0; text-align: center; }
.home-tagline__text { margin: 0; color: var(--h-ink); font-weight: 800; font-size: clamp(1.05rem, 2.2vw, 1.55rem); letter-spacing: .02em; }

/* =========================== CEO MESSAGE =========================== */
.home-section.ceo {
    padding: 112px 0; isolation: isolate; overflow: hidden; scroll-margin-top: 96px;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(251, 194, 60, .19), transparent 48%),
        linear-gradient(120deg, var(--h-bg), var(--h-white) 75%);
}
.home-section.ceo::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(217, 138, 11, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 138, 11, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%);
    mask-image: linear-gradient(90deg, #000, transparent 65%);
}
.home-section.ceo::after {
    content: ''; position: absolute; top: -280px; right: -160px; z-index: -1;
    width: 460px; height: 460px; border: 1px solid rgba(217, 138, 11, .18); border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(251, 194, 60, .05), 0 0 0 80px rgba(251, 194, 60, .04);
    pointer-events: none;
}
.ceo__card {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center; gap: clamp(56px, 6vw, 88px); max-width: 1180px; margin: 0 auto;
}
.ceo__photo { position: relative; width: calc(100% - 32px); max-width: 340px; margin: 0 auto; }
.ceo__portrait { position: relative; isolation: isolate; aspect-ratio: 1; }
.ceo__portrait::before, .ceo__portrait::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.ceo__portrait::before {
    inset: -18px; z-index: -1; border: 1px solid rgba(217, 138, 11, .45);
    background: linear-gradient(135deg, rgba(251, 194, 60, .22), rgba(255, 255, 255, .6));
}
.ceo__portrait::after {
    inset: -34px; z-index: -2; border: 1px dashed rgba(217, 138, 11, .4);
    animation: homeFloatSoft 8s ease-in-out infinite;
}
.ceo__portrait img {
    display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover;
    border: 8px solid var(--h-white); border-radius: 50%; box-shadow: var(--h-shadow-lg);
}
.ceo__body { min-width: 0; }
.ceo__title {
    margin: 0 0 24px; color: var(--h-ink); font-size: clamp(2.2rem, 4.5vw, 3.7rem);
    font-weight: 900; line-height: 1.12; letter-spacing: -.04em;
}
.ceo__title span:not(.w):not(.w__in) { position: relative; display: inline-block; isolation: isolate; }
.ceo__title span:not(.w):not(.w__in)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em; z-index: -1;
    background: linear-gradient(90deg, var(--h-primary-2), var(--h-primary)); border-radius: 50%;
}
.ceo__message { margin: 0; }
.ceo__quote { display: block; font-size: 3.4rem; line-height: 1; color: var(--h-primary); margin-bottom: 12px; }
.ceo__text { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; line-height: 1.8; color: var(--h-ink); }
.ceo__sign {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
    width: fit-content; max-width: 100%; margin: -22px auto 0; padding: 14px 32px;
    background: var(--h-white); border: 1px solid var(--h-border); border-bottom: 3px solid var(--h-primary);
    border-radius: 14px; box-shadow: var(--h-shadow-sm); text-align: center;
}
.ceo__sign strong { font-size: 1.25rem; font-weight: 800; color: var(--h-ink); }
.ceo__sign span {
    display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; padding: 5px 14px;
    font-size: .78rem; font-weight: 800; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase;
    color: var(--h-primary-2); background: var(--h-ink);
    border: 1px solid var(--h-primary-dark); border-radius: 999px;
}
@media (max-width: 992px) {
    .ceo__card { grid-template-columns: 1fr; gap: 64px; }
    .ceo__photo { width: calc(100% - 64px); max-width: 300px; }
    .ceo__body { max-width: 700px; margin: 0 auto; }
}

/* =========================== STATS STRIP =========================== */
.home-stats {
    position: relative; z-index: 2; margin-top: -40px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    background: var(--h-white); border: 1px solid var(--h-border);
    border-radius: var(--h-radius); padding: 30px 26px; box-shadow: var(--h-shadow-md);
}
.home-stat { text-align: center; position: relative; }
.home-stat + .home-stat::before { content: ''; position: absolute; left: -10px; top: 12%; height: 76%; width: 1px; background: var(--h-border); }
.home-stat__num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; color: var(--h-primary-dark); letter-spacing: -0.02em; }
.home-stat__label { color: var(--h-muted); font-weight: 600; font-size: 0.9rem; }

/* =========================== SECTION SHELL =========================== */
.home-section { padding: 88px 0; position: relative; }
.home-section--tint { background: linear-gradient(180deg, transparent, var(--h-bg-2)); }
.home-section--plain { background: var(--h-white); }
.home-section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.home-section__eyebrow { color: var(--h-primary); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; display: block; }
.home-section__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 900; letter-spacing: -0.025em; margin: 0 0 14px; }
.home-section__sub { color: var(--h-muted); font-size: var(--h-copy); margin: 0; }

/* Curved divider */
.home-divider { display: block; width: 100%; height: 60px; }
.home-divider path { fill: var(--h-bg-2); }

/* =========================== WHY / FEATURES =========================== */
.home-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.home-feature {
    background: var(--h-white); border: 1px solid var(--h-border); border-radius: 18px;
    padding: 28px 24px; box-shadow: var(--h-shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.home-feature:hover { transform: translateY(-6px); box-shadow: var(--h-shadow-md); }
.home-feature__icon {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.5rem; color: var(--h-primary-dark); background: var(--h-bg-2); margin-bottom: 16px;
}
.home-feature__title { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.home-feature__text { color: var(--h-muted); font-size: var(--h-copy); margin: 0; }

/* =========================== PROGRAM CARDS =========================== */
.home-section.home-pathways {
    padding: 80px 0; isolation: isolate; overflow: hidden; scroll-margin-top: 90px;
    background: radial-gradient(ellipse at 50% 20%, var(--h-white), transparent 75%), var(--h-bg);
}
.home-pathways::before, .home-pathways::after {
    content: ''; position: absolute; z-index: -1; width: 300px; height: 260px; pointer-events: none;
    background: linear-gradient(135deg, rgba(251, 194, 60, .8), rgba(251, 194, 60, .2));
    border-radius: 40% 60% 35% 65% / 55% 35% 65% 45%;
}
.home-pathways::before { top: -150px; left: -160px; }
.home-pathways::after { top: 0; right: -170px; transform: rotate(-15deg); }
.home-pathways .home-section__head { max-width: 760px; margin-bottom: 40px; }
.home-pathways .home-section__eyebrow { color: #9A5D06; }
.home-pathways .home-section__title { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.15; }
.home-pathways .home-section__sub { max-width: 640px; margin: 0 auto; color: var(--h-ink); font-size: 1rem; }
.home-pathways__note {
    position: absolute; top: 100px; width: 150px; color: var(--h-ink);
    font-size: 1.15rem; font-weight: 800; font-style: italic; line-height: 1.3; text-align: center;
    pointer-events: none;
}
.home-pathways__note::after {
    content: ''; display: block; height: 5px; width: 75%; margin: 8px auto 0;
    border-radius: 50%; background: var(--h-primary);
}
.home-pathways__note--left { left: 24px; transform: rotate(-10deg); }
.home-pathways__note--right { right: 24px; transform: rotate(8deg); }
.home-programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-program {
    display: flex; flex-direction: column; min-width: 0; color: var(--h-ink);
    background: linear-gradient(145deg, var(--h-white) 70%, #FFFAEA); border: 1px solid rgba(217, 138, 11, .16);
    border-radius: 20px; padding: 24px; box-shadow: var(--h-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; position: relative; overflow: hidden;
}
.home-program::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 5px;
    background: linear-gradient(90deg, var(--h-primary), var(--h-accent));
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.home-pathways .home-program:hover { transform: translateY(-6px); box-shadow: var(--h-shadow-md); border-color: var(--h-primary); }
.home-program:hover::before, .home-program:focus-visible::before { transform: scaleX(1); }
.home-program:focus-visible { outline: 3px solid var(--h-ink); outline-offset: 5px; }
.home-program__body { display: flow-root; flex: 1; }
.home-program__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.home-program__num {
    font-size: 2.1rem; font-weight: 900; color: #A66508; letter-spacing: -.04em; line-height: 1;
}
.home-program__icon {
    flex: 0 0 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.55rem; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 8px 18px rgba(217, 138, 11, .2);
}
.home-program__art {
    float: right; width: 40%; height: 250px; margin: 0 0 16px 16px; overflow: hidden;
    background: linear-gradient(145deg, #FFF9E9, #FCE3A0); border-radius: 65px 12px 12px 50px;
    box-shadow: var(--h-shadow-sm);
}
.home-program__art--management { border-radius: 60px 12px 60px 25px; }
.home-program__art--leadership { border-radius: 70px 12px 35px 35px; }
.home-program__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-program__title { font-size: 1.18rem; font-weight: 900; line-height: 1.3; margin: 0 0 18px; letter-spacing: -.015em; }
.home-program__title::after { content: ''; display: block; width: 48px; height: 4px; margin-top: 12px; border-radius: 4px; background: var(--h-primary); }
.home-program__text { color: var(--h-ink); font-size: 1rem; line-height: 1.7; margin: 0; }
.home-program__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.home-chip { font-size: 0.85rem; font-weight: 700; color: var(--h-primary-dark); background: var(--h-bg-2); padding: 5px 12px; border-radius: 999px; }
.home-program__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #9A5D06; font-weight: 800; font-size: 1rem; transition: gap .2s ease; }
.home-program:hover .home-program__link { gap: 14px; }
@media (max-width: 1240px) {
    .home-pathways__note { display: none; }
    .home-programs { grid-template-columns: 1fr; }
    .home-program__art { width: 38%; max-width: 280px; }
}
@media (max-width: 600px) {
    .home-section.home-pathways { padding: 64px 0; }
    .home-pathways .home-section__head { margin-bottom: 32px; }
    .home-program__art { float: none; width: 100%; max-width: none; height: 180px; margin: 0 0 24px; }
}

/* =========================== CEO MESSAGE =========================== */
.home-ceo__grid {
    display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: center;
    background: var(--h-white); border: 1px solid var(--h-border); border-radius: 26px;
    padding: 44px; box-shadow: var(--h-shadow-md); position: relative; z-index: 2;
    margin-top: -56px;
}
.home-ceo__photo {
    position: relative; height: 440px; border-radius: 26px; overflow: hidden;
    background: linear-gradient(160deg, #EAF2FF, #BFDBFE); box-shadow: var(--h-shadow-md);
    display: grid; place-items: center; border: 1px solid #fff;
}
.home-ceo__photo > i { font-size: 8rem; color: rgba(37, 99, 235, 0.5); }
.home-ceo__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-ceo__badge {
    position: absolute; bottom: 20px; left: 20px; right: 20px; background: var(--h-glass-bg);
    backdrop-filter: blur(10px); border: 1px solid #fff; border-radius: 16px; padding: 15px 20px; box-shadow: var(--h-shadow-sm);
}
.home-ceo__badge strong { display: block; font-size: 1.05rem; }
.home-ceo__badge span { color: var(--h-primary); font-weight: 700; font-size: 0.85rem; }
.home-ceo__quote-mark { font-size: 3.6rem; color: var(--h-primary-2); line-height: 0.6; font-family: Georgia, serif; }
.home-ceo__message { font-size: 1.26rem; color: #334155; font-weight: 500; margin: 16px 0 26px; }
.home-ceo__sign strong { font-size: 1.05rem; }
.home-ceo__sign span { color: var(--h-muted); }

/* =========================== TESTIMONIALS =========================== */
.home-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-quote {
    margin: 0; display: flex; flex-direction: column; background: var(--h-white);
    border: 1px solid var(--h-border); border-radius: var(--h-radius); box-shadow: var(--h-shadow-sm);
    padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease;
}
.home-quote:hover { transform: translateY(-5px); box-shadow: var(--h-shadow-md); }
.home-quote__mark { font-size: 2.4rem; line-height: 1; color: var(--h-primary); margin-bottom: 8px; }
.home-quote__text { margin: 0 0 24px; flex: 1; font-size: var(--h-copy); line-height: 1.7; color: var(--h-ink); font-weight: 500; }
.home-quote__who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--h-border); padding-top: 18px; }
.home-quote__avatar {
    width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary)); color: var(--h-ink); font-weight: 800; font-size: 1.15rem;
}
.home-quote__meta { display: flex; flex-direction: column; line-height: 1.35; }
.home-quote__meta strong { color: var(--h-ink); font-weight: 800; }
.home-quote__meta em { font-style: normal; color: var(--h-muted); font-size: 1rem; }

/* =========================== VISION / MISSION =========================== */
.home-section.home-vision {
    padding: 96px 0; isolation: isolate; overflow: hidden;
    background: radial-gradient(ellipse at 50% 0, var(--h-white), transparent 70%), var(--h-bg);
}
.home-vision::before, .home-vision::after {
    content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; pointer-events: none;
    background: linear-gradient(135deg, rgba(251, 194, 60, .75), rgba(251, 194, 60, .18));
    border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
}
.home-vision::before { top: -150px; left: -160px; transform: rotate(-20deg); }
.home-vision::after { bottom: -160px; right: -140px; transform: rotate(25deg); }
.home-vision .home-section__head { position: relative; max-width: 1000px; margin-bottom: 48px; }
.home-vision .home-section__eyebrow {
    display: inline-flex; align-items: center; gap: 14px; color: #9A5D06;
    font-size: clamp(.78rem, 1.2vw, .95rem); line-height: 1.5;
}
.home-vision .home-section__eyebrow::before, .home-vision .home-section__eyebrow::after {
    content: ''; flex: 0 0 18px; height: 3px; border-radius: 3px; background: var(--h-primary);
    box-shadow: 0 -6px 0 rgba(246, 168, 28, .5), 0 6px 0 rgba(246, 168, 28, .5);
}
.home-vision .home-section__eyebrow::before { transform: rotate(12deg); }
.home-vision .home-section__eyebrow::after { transform: rotate(-12deg); }
.home-vision .home-section__title {
    margin-bottom: 28px; font-size: clamp(2.4rem, 5.8vw, 4.6rem);
    line-height: 1.12; letter-spacing: -.045em; color: var(--h-ink);
}
.home-vision .home-section__title::after { display: none; }
.home-vision .home-section__title span:not(.w):not(.w__in) {
    position: relative; display: inline-block; color: #A66508; font-style: italic; font-weight: 800;
}
.home-vision .home-section__title span:not(.w):not(.w__in)::after {
    content: ''; position: absolute; left: .02em; right: 0; bottom: -.08em; height: .1em;
    background: linear-gradient(90deg, var(--h-primary-2), var(--h-primary));
    border-radius: 50% 70% 50% 40%; transform: rotate(-3deg);
}
/* Italic overhang of the last glyph must fit inside the word-reveal clip box */
.home-vision .home-section__title span:not(.w):not(.w__in) .w { padding-right: .16em; margin-right: -.16em; }
.home-vm__intro {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
    margin: 0; color: var(--h-ink); font-size: 1rem; font-weight: 500;
}
.home-vm__intro span { position: relative; }
.home-vm__intro span + span::before {
    content: ''; position: absolute; left: -16px; top: .7em; width: 5px; height: 5px;
    border-radius: 50%; background: var(--h-primary);
}
.home-vm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.home-vm__card {
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: 20px;
    min-height: 400px; padding: clamp(24px, 2vw, 32px); position: relative; overflow: hidden;
    background: linear-gradient(145deg, var(--h-white) 55%, #FFFAEA); border-radius: 28px;
    border: 1px solid rgba(217, 138, 11, .15); box-shadow: var(--h-shadow-sm);
}
.home-vm__card::after {
    content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%;
    background: rgba(251, 194, 60, .12); top: -110px; right: -90px; z-index: 0;
}
.home-vm__copy { position: relative; z-index: 1; min-width: 0; }
.home-vm__icon {
    width: 66px; height: 66px; border-radius: 50%; margin-bottom: 16px;
    display: grid; place-items: center; font-size: 1.8rem; color: var(--h-ink);
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    border: 1px solid rgba(217, 138, 11, .25); box-shadow: 0 10px 20px rgba(217, 138, 11, .2);
}
.home-vm__title { font-size: clamp(1.7rem, 2.1vw, 2rem); font-weight: 900; line-height: 1.2; margin: 0 0 16px; }
.home-vm__title::after {
    content: ''; display: block; width: 52px; height: 4px; margin-top: 10px;
    border-radius: 4px; background: var(--h-primary);
}
.home-vm__text { color: var(--h-ink); margin: 0; font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.65; }
.home-vm__text strong { font-weight: 800; }
.home-vm__visual {
    position: relative; z-index: 1; isolation: isolate; min-width: 0; min-height: 220px;
    display: grid; place-items: center; padding: 18px 0;
}
.home-vm__visual::before {
    content: ''; position: absolute; z-index: -1; inset: 14% -50px 0 -14px; pointer-events: none;
    background: linear-gradient(155deg, rgba(251, 194, 60, .14), rgba(251, 194, 60, .72));
    border-radius: 48% 52% 42% 58% / 40% 35% 65% 60%; transform: rotate(-8deg);
}
.home-vm__visual--mission::before {
    border-radius: 60% 40% 55% 45% / 55% 45% 35% 65%; transform: rotate(8deg);
}
.home-vm__visual img {
    display: block; width: 100%; max-width: 260px; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: 22px; box-shadow: var(--h-shadow-sm); background: var(--h-white);
}
@media (max-width: 1240px) {
    .home-vm { grid-template-columns: 1fr; }
    .home-vm__visual { width: 100%; max-width: 300px; justify-self: end; }
}
@media (max-width: 600px) {
    .home-section.home-vision { padding: 64px 0; }
    .home-vision .home-section__head { margin-bottom: 32px; }
    .home-vm__intro { flex-direction: column; align-items: center; gap: 6px; }
    .home-vm__intro span + span::before { display: none; }
    .home-vm__card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .home-vm__visual { min-height: 0; justify-self: center; padding: 8px 12px 0; }
    .home-vm__visual img { max-width: 100%; aspect-ratio: 4 / 3; }
}

/* =========================== PHILOSOPHY =========================== */
.home-section.home-philosophy {
    padding: 88px 0; isolation: isolate; overflow: hidden;
    background: radial-gradient(ellipse at 50% 25%, var(--h-white), transparent 75%), var(--h-bg);
}
.home-philosophy::before, .home-philosophy::after {
    content: ''; position: absolute; z-index: -1; width: 280px; height: 260px; pointer-events: none;
    border-radius: 35% 65% 50% 50% / 45% 40% 60% 55%;
    background: linear-gradient(135deg, rgba(251, 194, 60, .55), rgba(251, 194, 60, .12));
}
.home-philosophy::before { top: -140px; left: -150px; transform: rotate(-15deg); }
.home-philosophy::after { bottom: -150px; right: -130px; transform: rotate(20deg); }
.home-philosophy .home-section__head { max-width: 1000px; margin-bottom: 52px; }
.home-philosophy .home-section__eyebrow { color: #9A5D06; }
.home-philosophy .home-section__title {
    font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 0;
}
.home-philosophy .home-section__title::after { display: none; }
.home-philosophy .home-section__title span:not(.w):not(.w__in) { position: relative; display: inline-block; max-width: 100%; }
.home-philosophy .home-section__title span:not(.w):not(.w__in)::after {
    content: ''; position: absolute; left: 15%; right: 15%; bottom: -.11em; height: .1em;
    border-radius: 50% 40%; transform: rotate(-2deg);
    background: linear-gradient(90deg, var(--h-primary-2), var(--h-primary));
}
.home-philosophy__story {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
    gap: clamp(24px, 3vw, 48px); align-items: center;
}
.home-philosophy__visual {
    position: relative; z-index: 1; isolation: isolate; align-self: stretch;
    display: grid; place-items: center; min-width: 0; min-height: 360px; padding: 24px 16px;
}
.home-philosophy__visual::before {
    content: ''; position: absolute; z-index: -1; inset: 10% 0 5%; pointer-events: none;
    border-radius: 42% 58% 35% 65% / 55% 35% 65% 45%;
    background: linear-gradient(145deg, rgba(251, 194, 60, .8), rgba(251, 194, 60, .2));
    animation: homeFloatSoft 8s ease-in-out infinite;
}
.home-philosophy__visual::after {
    content: ''; position: absolute; top: 9%; right: 4%; width: 24px; height: 6px;
    border-radius: 8px; background: var(--h-primary); transform: rotate(24deg); pointer-events: none;
    box-shadow: 0 -14px 0 rgba(246, 168, 28, .65), 0 14px 0 rgba(246, 168, 28, .65);
}
.home-philosophy__visual img {
    display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 5 / 4; object-fit: cover;
    border-radius: 30px 30px 60px 30px; box-shadow: var(--h-shadow-sm); background: var(--h-white);
}
.home-philosophy .tc-prose {
    position: relative; overflow: hidden; max-width: none; width: 100%; margin: 0;
    padding: clamp(28px, 3vw, 44px); text-align: left; background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(217, 138, 11, .14); border-radius: 26px; box-shadow: var(--h-shadow-sm);
}
.home-philosophy .tc-prose::before {
    content: ''; position: absolute; top: 0; left: 0; width: 80px; height: 50px;
    border-radius: 0 0 100% 0; background: linear-gradient(135deg, var(--h-primary-2), rgba(251, 194, 60, .15));
    pointer-events: none;
}
.home-philosophy .tc-prose p {
    position: relative; margin: 0 0 22px; color: var(--h-ink); font-size: var(--h-copy); line-height: 1.8;
}
.home-philosophy .tc-prose p:last-child { margin-bottom: 0; }
.home-philosophy__values {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 0;
    list-style: none; margin: 56px 0 0; padding: 0;
}
.home-philosophy__value {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    min-width: 0; padding: 0 16px; text-align: center;
}
.home-philosophy__value + .home-philosophy__value { border-left: 1px solid rgba(217, 138, 11, .2); }
.home-philosophy__value-icon {
    display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
    font-size: 2rem; color: var(--h-ink); background: linear-gradient(135deg, #FFF3D0, var(--h-primary-2));
    border: 1px solid rgba(217, 138, 11, .18); box-shadow: 0 8px 20px rgba(217, 138, 11, .12);
    transition: transform .25s ease;
}
.home-philosophy__value:hover .home-philosophy__value-icon { transform: translateY(-4px) rotate(-3deg); }
.home-philosophy__value h3 {
    position: relative; isolation: isolate; margin: 0; padding: 3px 12px;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 800; line-height: 1.4;
}
.home-philosophy__value h3::before {
    content: ''; position: absolute; z-index: -1; inset: 2px -6px; pointer-events: none;
    border-radius: 35% 10% 25% 15% / 40% 25% 30% 20%; transform: rotate(-3deg);
    background: linear-gradient(100deg, var(--h-primary-2), var(--h-primary));
}
.home-philosophy__value p { margin: 0; color: var(--h-ink); font-size: .72rem; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
@media (max-width: 992px) {
    .home-philosophy__story { grid-template-columns: 1fr; gap: 32px; }
    .home-philosophy__visual { width: 100%; max-width: 460px; min-height: 280px; justify-self: center; }
    .home-philosophy__values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-philosophy__value:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
    .home-section.home-philosophy { padding: 64px 0; }
    .home-philosophy .home-section__head { margin-bottom: 36px; }
    .home-philosophy__story { gap: 24px; }
    .home-philosophy__visual { min-height: 0; padding: 16px; }
    .home-philosophy__visual img { max-width: 100%; }
    .home-philosophy .tc-prose { padding: 26px 22px; border-radius: 22px; }
    .home-philosophy .tc-prose p { font-size: 1rem; }
    .home-philosophy__values { margin-top: 40px; }
    .home-philosophy__value { padding: 0 8px; }
    .home-philosophy__value h3 { font-size: 1.05rem; padding: 3px 8px; }
}

/* =========================== OVERVIEW =========================== */
.home-section.home-overview {
    padding: 56px 0 72px; isolation: isolate; overflow: hidden;
    background: radial-gradient(ellipse at 35% 30%, var(--h-white), transparent 75%), var(--h-bg);
}
.home-overview::before {
    content: ''; position: absolute; z-index: -1; width: 240px; height: 240px; pointer-events: none;
    background: linear-gradient(135deg, rgba(251, 194, 60, .7), rgba(251, 194, 60, .15));
    border-radius: 35% 65% 40% 60% / 60% 40% 60% 40%;
    top: -150px; left: -140px;
}
.home-overview__hero {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 32px; align-items: center;
}
.home-overview .home-section__head { min-width: 0; max-width: none; margin: 0; padding: 24px 0 64px; text-align: left; }
.home-overview .home-section__eyebrow { color: #9A5D06; }
.home-overview .home-section__title {
    position: relative; display: inline-block; margin: 0 0 32px; padding-bottom: 14px;
    font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1.1; letter-spacing: -.045em;
}
.home-overview .home-section__title::after { display: none; }
.home-overview .home-section__title::before {
    content: ''; position: absolute; left: 3%; bottom: 0; width: 65%; height: .1em;
    border-radius: 60% 35%; transform: rotate(-2deg);
    background: linear-gradient(90deg, var(--h-primary), var(--h-primary-2));
}
.home-overview__tagline { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-style: italic; font-weight: 600; line-height: 1.7; }
.home-overview__tagline span { margin: 0 .3em; color: #9A5D06; }
.home-overview__visual {
    position: relative; isolation: isolate; min-width: 0; min-height: 340px;
    display: grid; place-items: center; align-self: stretch; padding: 20px 24px 60px;
}
.home-overview__visual::before {
    content: ''; position: absolute; z-index: -1; inset: 0 -40px 10px -16px; pointer-events: none;
    border-radius: 45% 20% 35% 15% / 55% 40% 30% 45%;
    background: linear-gradient(145deg, rgba(251, 194, 60, .2), rgba(251, 194, 60, .85));
    animation: homeFloatSoft 8s ease-in-out infinite;
}
.home-overview__visual img {
    display: block; width: 100%; height: auto; max-height: 340px; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: 24px; box-shadow: var(--h-shadow-sm); background: var(--h-white);
}
.home-overview .tc-prose {
    position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none; margin: -32px 0 0; padding: 32px 0; text-align: left;
    background: var(--h-white); border: 1px solid rgba(217, 138, 11, .12);
    border-radius: 26px; box-shadow: var(--h-shadow-sm);
}
.home-overview .tc-prose p {
    min-width: 0; margin: 0; padding: 12px clamp(24px, 3.4vw, 48px);
    color: var(--h-ink); font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.7;
}
.home-overview .tc-prose p + p { border-left: 1px solid var(--h-border); }
.home-overview .tc-prose p::before {
    content: ''; display: block; width: 16px; height: 4px; margin: 0 0 22px 4px;
    border-radius: 4px; background: var(--h-primary); transform: rotate(45deg);
    box-shadow: 8px -8px 0 rgba(246, 168, 28, .8), 16px -16px 0 rgba(246, 168, 28, .55);
}
.home-overview__highlights {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 0;
    list-style: none; margin: 36px 0 0; padding: 0;
}
.home-overview__highlights li { display: flex; align-items: flex-start; gap: 18px; min-width: 0; padding: 0 clamp(16px, 2.4vw, 32px); }
.home-overview__highlights li + li { border-left: 1px solid rgba(217, 138, 11, .2); }
.home-overview__highlights li > div:last-child { min-width: 0; }
.home-overview__icon {
    flex: 0 0 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
    font-size: 1.8rem; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 8px 18px rgba(217, 138, 11, .12); transition: transform .25s ease;
}
.home-overview__highlights li:hover .home-overview__icon { transform: translateY(-4px) rotate(-3deg); }
.home-overview__highlights h3 { margin: 0 0 8px; font-size: 1.1rem; line-height: 1.3; font-weight: 800; }
.home-overview__highlights p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--h-ink); }
@media (max-width: 992px) {
    .home-overview__hero { grid-template-columns: 1fr; gap: 24px; }
    .home-overview .home-section__head { padding: 0; }
    .home-overview__visual { width: 100%; max-width: 640px; justify-self: center; min-height: 300px; padding-bottom: 24px; }
    .home-overview .tc-prose { margin-top: 24px; }
}
@media (max-width: 768px) {
    .home-overview .tc-prose { grid-template-columns: 1fr; padding: 12px 24px; }
    .home-overview .tc-prose p { padding: 28px 0; }
    .home-overview .tc-prose p + p { border-left: 0; border-top: 1px solid var(--h-border); }
    .home-overview__highlights { grid-template-columns: 1fr; gap: 0; }
    .home-overview__highlights li { padding: 24px 0; }
    .home-overview__highlights li + li { border-left: 0; border-top: 1px solid rgba(217, 138, 11, .2); }
}

/* =========================== TRAINING AT CHEEZIOUS =========================== */
#vision, #philosophy, #overview, #essentials, #principles { scroll-margin-top: 90px; }
.tc-prose { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.tc-prose p { color: var(--h-muted); font-size: var(--h-copy); margin: 0 0 16px; }
.tc-cards, .lp-grid, .lp-stack { display: grid; gap: 24px; }
.tc-cards--2, .lp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tc-cards--3, .lp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tc-card, .lp-card {
    background: var(--h-white); border: 1px solid var(--h-border); border-radius: var(--h-radius);
    padding: 32px 30px; box-shadow: var(--h-shadow-sm); position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.tc-card:hover, .lp-card:hover { transform: translateY(-4px); box-shadow: var(--h-shadow-md); }
.tc-card__icon, .lp-card__icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem;
    color: #3A2A1E; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary-dark));
}
.tc-card__num, .lp-card__num {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900;
    color: #3A2A1E; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary-dark));
}
.tc-card__title, .lp-card__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 10px; }
.lp-card__sub { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--h-primary-dark); margin: 18px 0 8px; }
.tc-card__text, .lp-card__text { color: var(--h-muted); margin: 0 0 12px; font-size: var(--h-copy); }
.tc-list, .lp-list { list-style: none; padding: 0; margin: 0 0 12px; }
.tc-list li, .lp-list li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--h-muted); font-size: var(--h-copy); }
.tc-list li::before, .lp-list li::before {
    content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-accent));
}
.tc-more { text-align: center; margin-top: 40px; }

/* =========================== ESSENTIALS =========================== */
.home-section.home-essentials {
    position: relative; isolation: isolate; overflow: hidden;
    background: radial-gradient(ellipse at 50% 0, var(--h-white), transparent 70%), var(--h-bg-2);
}
.home-essentials::before, .home-essentials::after {
    content: ''; position: absolute; z-index: -1; width: 320px; height: 300px; pointer-events: none;
    background: linear-gradient(135deg, rgba(251, 194, 60, .75), rgba(251, 194, 60, .15));
    border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%;
}
.home-essentials::before { top: -160px; right: -150px; transform: rotate(18deg); }
.home-essentials::after { bottom: -170px; left: -150px; transform: rotate(-22deg); }
.home-essentials .home-section__eyebrow { color: #9A5D06; }
.ess-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.ess-card { grid-column: span 2; }
.ess-card:nth-child(4), .ess-card:nth-child(5) { grid-column: span 3; }
.ess-card {
    position: relative; overflow: hidden; min-width: 0; padding: 32px 30px 34px;
    background: linear-gradient(150deg, var(--h-white) 60%, #FFF7E3); border: 1px solid rgba(217, 138, 11, .16);
    border-radius: 26px; box-shadow: var(--h-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ess-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; z-index: 2;
    background: linear-gradient(90deg, var(--h-primary), var(--h-accent));
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.ess-card:hover { transform: translateY(-8px); box-shadow: var(--h-shadow-md); border-color: var(--h-primary); }
.ess-card:hover::before { transform: scaleX(1); }
.ess-card__bg {
    position: absolute; right: -6px; top: -26px; z-index: 0; pointer-events: none; user-select: none;
    font-size: 8.5rem; font-weight: 900; line-height: 1; letter-spacing: -.06em;
    color: rgba(246, 168, 28, .12); transition: color .35s ease, transform .5s cubic-bezier(.2, .9, .25, 1.2);
}
.ess-card:hover .ess-card__bg { color: rgba(246, 168, 28, .26); transform: translate(-6px, 6px) rotate(-6deg); }
.ess-card__top { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ess-card__icon {
    flex: 0 0 60px; height: 60px; display: grid; place-items: center; border-radius: 18px;
    font-size: 1.7rem; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 10px 22px rgba(217, 138, 11, .25); transition: transform .35s ease;
}
.ess-card:hover .ess-card__icon { transform: rotate(-8deg) scale(1.06); }
.ess-card__num { font-size: .82rem; font-weight: 800; letter-spacing: .18em; color: #9A5D06; }
.ess-card__num::before { content: 'Essential '; }
.ess-card__title { position: relative; z-index: 1; margin: 0 0 12px; font-size: 1.35rem; font-weight: 900; line-height: 1.3; letter-spacing: -.015em; }
.ess-card__title::after { content: ''; display: block; width: 44px; height: 4px; margin-top: 12px; border-radius: 4px; background: var(--h-primary); transition: width .35s ease; }
.ess-card:hover .ess-card__title::after { width: 76px; }
.ess-card__text { position: relative; z-index: 1; margin: 0; color: var(--h-ink); font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.75; }

/* =========================== PRINCIPLES & STRATEGIES =========================== */
.home-section.home-principles { position: relative; isolation: isolate; overflow: hidden; }
.home-principles::before {
    content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(217, 138, 11, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 138, 11, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
}
.ps-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.ps-card {
    position: relative; overflow: hidden; min-width: 0; padding: clamp(28px, 3vw, 40px);
    border-radius: 28px; border: 1px solid rgba(217, 138, 11, .18); box-shadow: var(--h-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ps-card:hover { transform: translateY(-6px); box-shadow: var(--h-shadow-md); }
.ps-card--principles { background: linear-gradient(150deg, var(--h-white) 55%, #FFF4DA); }
.ps-card--strategies { color: var(--h-white); background: linear-gradient(155deg, #4A3625, var(--h-ink) 70%); }
.ps-card--strategies::after {
    content: ''; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -130px; z-index: 0; pointer-events: none;
    border-radius: 50%; background: radial-gradient(circle, rgba(251, 194, 60, .45), rgba(251, 194, 60, 0) 70%);
}
.ps-card__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.ps-card__icon {
    flex: 0 0 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
    font-size: 1.75rem; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 10px 22px rgba(217, 138, 11, .28); animation: homeGlow 4s ease-in-out infinite;
}
.ps-card:hover .ps-card__icon { animation: homeWobble .7s ease; }
.ps-card__title { margin: 0; font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 900; line-height: 1.25; letter-spacing: -.02em; }
.ps-steps__label { position: relative; z-index: 1; margin: 0 0 14px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9A5D06; }
.ps-steps {
    position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
    list-style: none; margin: 0 0 26px; padding: 0;
}
.ps-step {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0;
    padding: 18px 8px 16px; text-align: center; border-radius: 18px;
    background: var(--h-white); border: 1px solid rgba(217, 138, 11, .2); box-shadow: var(--h-shadow-sm);
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.ps-step + .ps-step::before {
    content: ''; position: absolute; left: -10px; top: 50%; width: 10px; height: 3px; border-radius: 3px;
    background: var(--h-primary); transform: translateY(-50%);
}
.ps-step:hover { transform: translateY(-5px); background: #FFF7E3; border-color: var(--h-primary); }
.ps-step__num {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    font-weight: 900; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 8px 18px rgba(217, 138, 11, .25);
}
.ps-step__name { font-size: .92rem; font-weight: 800; line-height: 1.25; color: var(--h-ink); }
.ps-points { position: relative; z-index: 1; display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ps-points li {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
    background: rgba(255, 255, 255, .7); border: 1px solid rgba(217, 138, 11, .14);
    font-size: 1.02rem; font-weight: 700; color: var(--h-ink); transition: transform .25s ease, border-color .25s ease;
}
.ps-points li:hover { transform: translateX(6px); border-color: var(--h-primary); }
.ps-points i { font-size: 1.35rem; color: #9A5D06; }
.ps-strategies { position: relative; z-index: 1; display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ps-strategies li {
    display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
    font-size: 1.05rem; font-weight: 700; color: var(--h-white);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.ps-strategies li:hover { transform: translateX(6px); background: rgba(251, 194, 60, .14); border-color: rgba(251, 194, 60, .5); }
.ps-strategies__icon {
    flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 13px;
    font-size: 1.3rem; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    transition: transform .3s ease;
}
.ps-strategies li:hover .ps-strategies__icon { transform: rotate(-8deg) scale(1.08); }
.home-principles .tc-more { margin-top: 44px; }
@media (max-width: 1240px) {
    .ess-card, .ess-card:nth-child(4), .ess-card:nth-child(5) { grid-column: span 3; }
    .ess-card:nth-child(5) { grid-column: 2 / span 4; }
}
@media (max-width: 992px) {
    .ps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .ess-grid { grid-template-columns: 1fr; gap: 18px; }
    .ess-card, .ess-card:nth-child(4), .ess-card:nth-child(5) { grid-column: auto; }
    .ess-card { padding: 26px 22px 28px; }
    .ess-card__bg { font-size: 6.5rem; }
    .ps-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ps-step + .ps-step::before { display: none; }
}

/* =========================== LEARNING PRINCIPLES PAGE =========================== */
/* Full-bleed photo hero, same treatment as the home carousel slides */
.lp-hero {
    position: relative; z-index: 3; isolation: isolate; min-height: clamp(460px, 62vh, 620px);
    display: flex; align-items: center; color: #fff;
    background-size: cover; background-position: center 30%;
}
.lp-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(36,26,18,.5) 0%, rgba(36,26,18,.6) 45%, rgba(36,26,18,.86) 100%);
}
.lp-hero__glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lp-hero__glow::before, .lp-hero__glow::after {
    content: ''; position: absolute; border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, rgba(255,232,140,.55), rgba(251,194,60,.18) 55%, rgba(251,194,60,0) 72%);
}
.lp-hero__glow::before { width: 280px; height: 280px; right: 8%; top: 10%; animation: homeFloat 7s ease-in-out infinite; }
.lp-hero__glow::after { width: 160px; height: 160px; left: 12%; bottom: 14%; animation: homeFloatSoft 5.5s ease-in-out infinite 1s; }
.lp-hero__inner { position: relative; z-index: 1; width: 100%; padding: 72px clamp(20px, 5vw, 64px) 100px; text-align: center; }
.lp-hero__inner > * { animation: homeFadeUp .8s ease both; }
.lp-hero__inner > :nth-child(2) { animation-delay: .1s; }
.lp-hero__inner > :nth-child(3) { animation-delay: .2s; }
.lp-hero__inner > :nth-child(4) { animation-delay: .3s; }
.lp-hero__inner > :nth-child(5) { animation-delay: .4s; }
.lp-back {
    display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85);
    font-weight: 700; font-size: .92rem; margin-bottom: 26px; transition: color .2s ease, gap .2s ease;
}
.lp-back:hover { color: var(--h-primary-2); gap: 12px; }
.lp-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.1; letter-spacing: -.035em; margin: 0 auto 16px; max-width: 820px; }
.lp-hero__title span { color: var(--h-primary-2); }
.lp-hero__sub { color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.6vw, 1.2rem); margin: 0 auto 32px; max-width: 620px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-chips a {
    padding: 9px 18px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .86rem;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px);
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.lp-chips a:hover { background: var(--h-primary); border-color: var(--h-primary); color: var(--h-ink); transform: translateY(-2px); }
.lp-section { scroll-margin-top: 90px; }

/* Section backdrops borrowed from the home page */
.lp-section--grid { position: relative; isolation: isolate; overflow: hidden; }
.lp-section--grid::before {
    content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(217, 138, 11, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(217, 138, 11, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 75%);
}
.lp-section--blobs { position: relative; isolation: isolate; overflow: hidden; }
.lp-section--blobs::before, .lp-section--blobs::after {
    content: ''; position: absolute; z-index: -1; width: 320px; height: 300px; pointer-events: none;
    background: linear-gradient(135deg, rgba(251, 194, 60, .55), rgba(251, 194, 60, .12));
    border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%;
}
.lp-section--blobs::before { top: -160px; right: -150px; transform: rotate(18deg); }
.lp-section--blobs::after { bottom: -170px; left: -150px; transform: rotate(-22deg); }
.lp-section .home-section__eyebrow { color: #9A5D06; }

/* Cards: accent bar, glowing icon, watermark, animated title underline */
.lp-card {
    overflow: hidden; border-radius: 26px; border-color: rgba(217, 138, 11, .16);
    background: linear-gradient(150deg, var(--h-white) 60%, #FFF7E3);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lp-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; z-index: 2;
    background: linear-gradient(90deg, var(--h-primary), var(--h-accent));
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.lp-card:hover { transform: translateY(-8px); box-shadow: var(--h-shadow-md); border-color: var(--h-primary); }
.lp-card:hover::before { transform: scaleX(1); }
.lp-card > :not(.lp-card__bg) { position: relative; z-index: 1; }
.lp-card__bg {
    position: absolute; right: -6px; top: -26px; z-index: 0; pointer-events: none; user-select: none;
    font-size: 8.5rem; font-weight: 900; line-height: 1; letter-spacing: -.06em;
    color: rgba(246, 168, 28, .12); transition: color .35s ease, transform .5s cubic-bezier(.2, .9, .25, 1.2);
}
.lp-card:hover .lp-card__bg { color: rgba(246, 168, 28, .26); transform: translate(-6px, 6px) rotate(-6deg); }
.lp-card__icon {
    width: 60px; height: 60px; border-radius: 18px; font-size: 1.7rem; color: var(--h-ink);
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 10px 22px rgba(217, 138, 11, .25); animation: homeGlow 4s ease-in-out infinite;
}
.lp-card:hover .lp-card__icon { animation: homeWobble .7s ease; }
.lp-card__num {
    width: 46px; height: 46px; font-size: 1.1rem; color: var(--h-ink);
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 8px 18px rgba(217, 138, 11, .25);
}
.lp-card__title { font-weight: 900; line-height: 1.3; letter-spacing: -.015em; }
.lp-card__title::after { content: ''; display: block; width: 44px; height: 4px; margin-top: 12px; border-radius: 4px; background: var(--h-primary); transition: width .35s ease; }
.lp-card:hover .lp-card__title::after { width: 76px; }
.lp-card__text { color: var(--h-ink); font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.75; }
.lp-list li { font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.7; }
.lp-steps strong, .tc-list strong, .lp-list strong { color: var(--h-ink); }

/* Dark strategies panel */
.lp-dark {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; border-radius: 30px;
    padding: clamp(28px, 4vw, 48px); background: linear-gradient(155deg, #4A3625, var(--h-ink) 70%);
    box-shadow: var(--h-shadow-md);
}
.lp-dark::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.lp-dark::after {
    content: ''; position: absolute; width: 320px; height: 320px; right: -130px; bottom: -160px; z-index: -1; pointer-events: none;
    border-radius: 50%; background: radial-gradient(circle, rgba(251, 194, 60, .45), rgba(251, 194, 60, 0) 70%);
}
.lp-dark__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.lp-dark__icon {
    flex: 0 0 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
    font-size: 1.75rem; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 10px 22px rgba(217, 138, 11, .28); animation: homeGlow 4s ease-in-out infinite;
}
.lp-dark:hover .lp-dark__icon { animation: homeWobble .7s ease; }
.lp-dark__head h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 900; line-height: 1.25; letter-spacing: -.02em; }
.lp-dark__head p { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 1rem; }
.lp-strategies { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.lp-strategy {
    display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.lp-strategy:hover { transform: translateY(-5px); background: rgba(251, 194, 60, .14); border-color: rgba(251, 194, 60, .5); }
.lp-strategy__icon {
    flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 15px;
    font-size: 1.4rem; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    transition: transform .3s ease;
}
.lp-strategy:hover .lp-strategy__icon { transform: rotate(-8deg) scale(1.08); }
.lp-strategy__num { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--h-primary-2); }
.lp-strategy h3 { margin: 4px 0 6px; font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.3; }
.lp-strategy p { margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.6; }

/* Four-step method: connected step cards */
.lp-steps-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lp-step-card {
    position: relative; padding: 30px 24px 28px; border-radius: 24px; min-width: 0;
    background: var(--h-white); border: 1px solid rgba(217, 138, 11, .18); box-shadow: var(--h-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.lp-step-card + .lp-step-card::before {
    content: ''; position: absolute; left: -20px; top: 56px; width: 20px; height: 3px; border-radius: 3px; background: var(--h-primary);
}
.lp-step-card:hover { transform: translateY(-8px); box-shadow: var(--h-shadow-md); border-color: var(--h-primary); background: #FFF9EC; }
.lp-step-card__num {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px;
    font-size: 1.25rem; font-weight: 900; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 10px 22px rgba(217, 138, 11, .28);
}
.lp-step-card__title { margin: 0 0 14px; font-size: 1.3rem; font-weight: 900; letter-spacing: -.015em; }
.lp-step-card .lp-list { margin: 0; }
.lp-step-card .lp-list li { font-size: 1rem; line-height: 1.6; }

/* Features & benefits cards */
.lp-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-benefit {
    position: relative; overflow: hidden; padding: 28px 26px; border-radius: 22px; min-width: 0;
    background: var(--h-white); border: 1px solid rgba(217, 138, 11, .16); box-shadow: var(--h-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lp-benefit:hover { transform: translateY(-6px); box-shadow: var(--h-shadow-md); border-color: var(--h-primary); }
.lp-benefit:last-child:nth-child(3n+1) { grid-column: 2; }
.lp-benefit__idx {
    display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 12px; margin-bottom: 14px;
    border-radius: 999px; font-size: .8rem; font-weight: 900; letter-spacing: .08em; color: var(--h-ink);
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
}
.lp-benefit__arrow { position: absolute; right: 22px; top: 26px; font-size: 1.3rem; color: rgba(217, 138, 11, .35); transition: transform .3s ease, color .3s ease; }
.lp-benefit:hover .lp-benefit__arrow { transform: translateX(4px); color: var(--h-primary-dark); }
.lp-benefit h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.lp-benefit p { margin: 0; color: var(--h-muted); font-size: 1rem; line-height: 1.65; }
.lp-callout {
    position: relative; max-width: 920px; margin: 40px auto 0; padding: 32px 36px 32px 92px; border-radius: 24px;
    background: linear-gradient(150deg, var(--h-white) 55%, #FFF4DA); border: 1px solid rgba(217, 138, 11, .2);
    box-shadow: var(--h-shadow-sm);
}
.lp-callout > i { position: absolute; left: 30px; top: 24px; font-size: 2.6rem; line-height: 1; color: var(--h-primary); }
.lp-callout p { margin: 0; color: var(--h-ink); font-size: 1.08rem; line-height: 1.75; }

/* Stages A / B / C */
.lp-stage {
    position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr);
    gap: clamp(24px, 3vw, 44px); padding: clamp(28px, 3.5vw, 44px); border-radius: 28px;
    background: var(--h-white); border: 1px solid rgba(217, 138, 11, .16); box-shadow: var(--h-shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lp-stage::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; z-index: 2;
    background: linear-gradient(90deg, var(--h-primary), var(--h-accent));
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.lp-stage:hover { transform: translateY(-6px); box-shadow: var(--h-shadow-md); border-color: var(--h-primary); }
.lp-stage:hover::before { transform: scaleX(1); }
.lp-stage__letter {
    position: absolute; right: 14px; top: -34px; z-index: 0; pointer-events: none; user-select: none;
    font-size: 12rem; font-weight: 900; line-height: 1; color: rgba(246, 168, 28, .1);
    transition: color .35s ease, transform .5s cubic-bezier(.2, .9, .25, 1.2);
}
.lp-stage:hover .lp-stage__letter { color: rgba(246, 168, 28, .22); transform: translate(-6px, 6px) rotate(-6deg); }
.lp-stage__side, .lp-stage__body { position: relative; z-index: 1; min-width: 0; }
.lp-stage__badge {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; margin-bottom: 18px;
    font-size: 1.4rem; font-weight: 900; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 10px 22px rgba(217, 138, 11, .28);
}
.lp-stage__title { margin: 0 0 20px; font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 900; line-height: 1.25; letter-spacing: -.02em; }
.lp-kit__label { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9A5D06; }
.lp-kit { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.lp-kit li {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
    background: #FFF7E3; border: 1px solid rgba(217, 138, 11, .18); font-weight: 700; font-size: .95rem; color: var(--h-ink);
    transition: transform .25s ease, border-color .25s ease;
}
.lp-kit li:hover { transform: translateX(6px); border-color: var(--h-primary); }
.lp-kit li i { color: #9A5D06; font-size: 1.1rem; }
.lp-stage__body p { margin: 0 0 14px; color: var(--h-muted); font-size: 1.05rem; line-height: 1.7; }
.lp-stage__body .lp-list { margin-bottom: 14px; }
.lp-stage__body .lp-list li { font-size: 1.02rem; }

/* GAME model tiles */
.lp-game { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.lp-game li {
    padding: 22px 20px; border-radius: 20px; min-width: 0; background: var(--h-white);
    border: 1px solid rgba(217, 138, 11, .18); box-shadow: var(--h-shadow-sm);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.lp-game li:hover { transform: translateY(-6px); border-color: var(--h-primary); background: #FFF7E3; }
.lp-game__letter {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 12px;
    font-size: 1.4rem; font-weight: 900; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 8px 18px rgba(217, 138, 11, .25);
}
.lp-game h4 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; }
.lp-game p { margin: 0; color: var(--h-muted); font-size: .96rem; line-height: 1.6; }

/* Sub-headings, tables, timeline */
.lp-subhead { text-align: center; font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 900; letter-spacing: -.02em; margin: 56px 0 28px; }
.lp-subhead::after { content: ''; display: block; width: 56px; height: 4px; border-radius: 4px; margin: 12px auto 0; background: linear-gradient(90deg, var(--h-primary-2), var(--h-primary-dark)); }
.lp-table-wrap { overflow-x: auto; background: #fff; border: 1px solid rgba(217, 138, 11, .18); border-radius: 22px; box-shadow: var(--h-shadow-sm); }
.lp-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.lp-table th {
    text-align: left; padding: 16px 20px; font-size: 0.9rem; font-weight: 800; color: #3A2A1E;
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary-dark));
}
.lp-table td { padding: 16px 20px; border-top: 1px solid var(--h-border); color: var(--h-muted); vertical-align: top; transition: background .2s ease; }
.lp-table tbody tr:hover td { background: #FFF9EC; }
.lp-table td:first-child { color: var(--h-ink); font-weight: 700; width: 32%; }
.lp-table__idx { color: var(--h-primary-dark); margin-right: 6px; }
.lp-table--center th, .lp-table--center td { text-align: center; }
.lp-table--center td { font-size: 1.3rem; font-weight: 900; color: var(--h-ink); }
.lp-table--center td:first-child { width: auto; }
.lp-table--center td:last-child { color: var(--h-primary-dark); }
.lp-timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: lpstep; }
.lp-timeline li {
    position: relative; padding: 18px 20px 18px 76px; border-radius: 18px; background: #FFF9EC;
    border: 1px solid rgba(217, 138, 11, .16); color: var(--h-muted); font-size: 1.02rem; line-height: 1.65;
    transition: transform .25s ease, border-color .25s ease;
}
.lp-timeline li::before {
    counter-increment: lpstep; content: counter(lpstep);
    position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    font-weight: 900; color: var(--h-ink); background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary));
    box-shadow: 0 8px 18px rgba(217, 138, 11, .25);
}
.lp-timeline li + li::after { content: ''; position: absolute; left: 37px; top: -18px; width: 2px; height: 18px; background: rgba(217, 138, 11, .35); }
.lp-timeline li:hover { transform: translateX(6px); border-color: var(--h-primary); }
.lp-timeline strong { color: var(--h-ink); }

/* Closing CTA band */
.lp-cta {
    position: relative; overflow: hidden; margin-top: 56px; padding: clamp(36px, 5vw, 60px); border-radius: 30px; text-align: center;
    color: var(--h-ink); background: linear-gradient(120deg, var(--h-primary-2), var(--h-primary) 60%, var(--h-accent)); box-shadow: var(--h-shadow-md);
}
.lp-cta::before, .lp-cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.18); pointer-events: none; }
.lp-cta::before { width: 260px; height: 260px; left: -90px; top: -120px; animation: homeFloatSoft 7s ease-in-out infinite; }
.lp-cta::after { width: 200px; height: 200px; right: -70px; bottom: -110px; animation: homeFloat 6s ease-in-out infinite 1s; }
.lp-cta > * { position: relative; }
.lp-cta h2 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; letter-spacing: -.025em; }
.lp-cta p { margin: 0 auto 26px; max-width: 560px; font-size: 1.05rem; color: rgba(58, 42, 30, .85); }
.lp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.home-btn--dark { color: var(--h-primary-2); background: var(--h-ink); box-shadow: 0 12px 26px rgba(58, 42, 30, .3); }
.home-btn--dark:hover { transform: translateY(-2px); background: #2A1E15; color: var(--h-primary-2); }

/* Badges spin in like the home page icons */
.lp-card__num.reveal--pop:not(.is-visible), .lp-step-card__num.reveal--pop:not(.is-visible),
.lp-stage__badge.reveal--pop:not(.is-visible), .lp-game__letter.reveal--pop:not(.is-visible),
.lp-dark__icon.reveal--pop:not(.is-visible) { transform: scale(0) rotate(-180deg); }

/* Full-width cards: shallow swing so the 3D projection stays small enough for the observer to fire */
.lp-stage.reveal--swing:not(.is-visible)   { transform: perspective(1200px) rotateY(-8deg) translateX(-40px) scale(.97); }
.lp-stage.reveal--swing-r:not(.is-visible) { transform: perspective(1200px) rotateY(8deg) translateX(40px) scale(.97); }

@media (max-width: 1100px) {
    .lp-steps-row, .lp-benefits, .lp-game { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-step-card + .lp-step-card::before { display: none; }
    .lp-benefit:last-child:nth-child(3n+1) { grid-column: auto; }
}
@media (max-width: 900px) {
    .lp-stage { grid-template-columns: 1fr; }
    .lp-stage__letter { font-size: 9rem; }
}
@media (max-width: 768px) {
    .lp-hero { min-height: 420px; }
    .lp-hero__inner { padding: 56px 20px 88px; }
    .lp-chips a { padding: 7px 13px; font-size: .8rem; }
    .lp-steps-row, .lp-benefits, .lp-game { grid-template-columns: 1fr; }
    .lp-callout { padding: 72px 24px 28px; }
    .lp-callout > i { left: 24px; top: 20px; }
    .lp-card__bg { font-size: 6.5rem; }
    .lp-timeline li { padding: 70px 20px 18px; }
    .lp-timeline li::before { left: 20px; }
    .lp-timeline li + li::after { left: 39px; }
}

/* =========================== GALLERY =========================== */
.home-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 16px; }
.home-gallery__item {
    border-radius: 18px; overflow: hidden; position: relative;
    background: linear-gradient(140deg, #F3E9D6, #E7D4B2);
    box-shadow: var(--h-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; border: 1px solid #fff;
}
.home-gallery__item:hover { transform: translateY(-4px); box-shadow: var(--h-shadow-md); z-index: 2; }
.home-gallery__item i { font-size: 2.4rem; color: rgba(217, 138, 11, 0.55); }
.home-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.home-gallery__item:hover img { transform: scale(1.07); }
.home-gallery__item:nth-child(2) img { object-position: center 20%; }
.home-gallery__item:nth-child(5) img { object-position: center 20%; }
.home-gallery__item:nth-child(6) img { object-position: center 20%; }
/* Creative mosaic pattern */
.home-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.home-gallery__item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.home-gallery__item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.home-gallery__item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.home-gallery__item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
.home-gallery__item:nth-child(6) { grid-column: span 1; grid-row: span 1; }

/* =========================== FOOTER (LIGHT) =========================== */
.home-footer { position: relative; background: var(--h-bg-2); color: var(--h-ink); padding: 96px 0 26px; }
.home-footer__grid { display: grid; grid-template-columns: 3fr 1fr 1.1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.home-footer p { color: var(--h-muted); margin: 14px 0 18px; max-width: 520px; }
.home-footer__logo { float: left; margin: 14px 18px 6px 0; }
.home-footer__logo img { display: block; width: 110px; height: auto; }
.home-footer__col h4 { font-size: 1rem; margin: 0 0 18px; font-weight: 800; }
.home-footer__col a { display: block; font-size: 1.05rem; color: var(--h-muted); margin-bottom: 11px; font-weight: 500; transition: color .2s ease; }
.home-footer__col a:hover { color: var(--h-primary-dark); }
.home-footer__contact { display: flex; align-items: center; font-size: 1.05rem; gap: 10px; color: var(--h-muted); margin-bottom: 12px; font-weight: 500; }
.home-footer__contact i { color: var(--h-primary); }
.home-social { display: flex; gap: 10px; margin-top: 16px; }
.home-social a {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin: 0;
    background: #fff; color: var(--h-primary-dark); box-shadow: var(--h-shadow-sm); transition: transform .2s ease, background .2s ease, color .2s ease;
}
.home-social a:hover { transform: translateY(-3px); background: var(--h-primary); color: #3A2A1E; }
.home-footer__bottom { border-top: 1px solid var(--h-border); padding-top: 24px; text-align: center; color: var(--h-muted); font-size: 0.95rem; }

/* Back-to-top */
.home-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 999;
    width: 48px; height: 48px; border-radius: 14px; border: none; cursor: pointer;
    display: grid; place-items: center; color: #3A2A1E; font-size: 1.2rem;
    background: linear-gradient(135deg, var(--h-primary-2), var(--h-primary-dark));
    box-shadow: var(--h-shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease;
}
.home-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.home-top:hover { transform: translateY(-3px); }

/* =========================== MELTING CHEESE DRIP =========================== */
.cheese-drip { position: absolute; left: 0; right: 0; top: calc(100% - 8px); height: 70px; pointer-events: none; z-index: 3; }
.cheese-drip::before, .cheese-drip::after {
    content: ''; position: absolute; inset: 0; transform-origin: top;
    background-repeat: no-repeat; background-position: top; background-size: 100% 100%;
    animation: cheeseMelt 4.6s ease-in-out infinite alternate;
}
.cheese-drip::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%201200%2070%27%20preserveAspectRatio=%27none%27%3E%3Cdefs%3E%3ClinearGradient%20id=%27g%27%20x1=%270%27%20x2=%271%27%3E%3Cstop%20offset=%270%27%20stop-color=%27%23FBC23C%27/%3E%3Cstop%20offset=%271%27%20stop-color=%27%23F6A81C%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill=%27url(%23g)%27%20d=%27M0%200H1200V8H1155C1137%208%201129%2010%201129%2026V30A9%209%200%200%201%201111%2030V26C1111%2010%201103%208%201085%208H1000C982%208%20974%2010%20974%2026V36A14%2014%200%200%201%20946%2036V26C946%2010%20938%208%20920%208H826C808%208%20800%2010%20800%2026V54A10%2010%200%200%201%20780%2054V26C780%2010%20772%208%20754%208H649C631%208%20623%2010%20623%2026V42A13%2013%200%200%201%20597%2042V26C597%2010%20589%208%20571%208H465C447%208%20439%2010%20439%2026V28A9%209%200%200%201%20421%2028V26C421%2010%20413%208%20395%208H290C272%208%20264%2010%20264%2026V48A14%2014%200%200%201%20236%2048V26C236%2010%20228%208%20210%208H126C108%208%20100%2010%20100%2026V34A10%2010%200%200%201%2080%2034V26C80%2010%2072%208%2054%208H0Z%27/%3E%3C/svg%3E");
}
.cheese-drip::after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%201200%2070%27%20preserveAspectRatio=%27none%27%3E%3Cdefs%3E%3ClinearGradient%20id=%27g%27%20x1=%270%27%20x2=%271%27%3E%3Cstop%20offset=%270%27%20stop-color=%27%23FBC23C%27/%3E%3Cstop%20offset=%271%27%20stop-color=%27%23F6A81C%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill=%27url(%23g)%27%20d=%27M0%200H1200V8H1203C1185%208%201177%2010%201177%2026V36A7%207%200%200%201%201163%2036V26C1163%2010%201155%208%201137%208H1077C1059%208%201051%2010%201051%2026V28A11%2011%200%200%201%201029%2028V26C1029%2010%201021%208%201003%208H915C897%208%20889%2010%20889%2026V44A9%209%200%200%201%20871%2044V26C871%2010%20863%208%20845%208H738C720%208%20712%2010%20712%2026V30A12%2012%200%200%201%20688%2030V26C688%2010%20680%208%20662%208H554C536%208%20528%2010%20528%2026V52A8%208%200%200%201%20512%2052V26C512%2010%20504%208%20486%208H377C359%208%20351%2010%20351%2026V40A11%2011%200%200%201%20329%2040V26C329%2010%20321%208%20303%208H204C186%208%20178%2010%20178%2026V26A8%208%200%200%201%20162%2026V26C162%2010%20154%208%20136%208H0Z%27/%3E%3C/svg%3E");
    animation-duration: 6.2s; animation-delay: -2.4s;
}
.cheese-drip--footer { top: 0; }
@keyframes cheeseMelt { from { transform: scaleY(.8); } to { transform: scaleY(1.15); } }

/* =========================== HERO LIFE =========================== */
.home-hero__slide.is-active .home-hero__caption > * { animation: homeFadeUp .8s ease both; }
.home-hero__slide.is-active .home-hero__caption > :nth-child(2) { animation-delay: .12s; }
.home-hero__slide.is-active .home-hero__caption > :nth-child(3) { animation-delay: .24s; }
.home-hero__slide.is-active .home-hero__caption > :nth-child(4) { animation-delay: .36s; }
.home-hero::before, .home-hero::after {
    content: ''; position: absolute; z-index: 2; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle at 32% 30%, rgba(255,232,140,.55), rgba(251,194,60,.18) 55%, rgba(251,194,60,0) 72%);
}
.home-hero::before { width: 260px; height: 260px; right: 8%; top: 12%; animation: homeFloat 7s ease-in-out infinite; }
.home-hero::after { width: 150px; height: 150px; right: 22%; bottom: 14%; animation: homeFloatSoft 5.5s ease-in-out infinite 1s; }

/* =========================== ANIMATIONS =========================== */
@keyframes homeFadeUp   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes homeFadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes homeFloat    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes homeFloatSoft{ 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes homeWobble   { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
@keyframes homeShimmer  { to { background-position: 200% center; } }
@keyframes homeGlow     { 0%,100% { box-shadow: 0 12px 24px rgba(217,138,11,.30); } 50% { box-shadow: 0 16px 36px rgba(217,138,11,.52); } }

.home-nav { animation: homeFadeDown .6s ease both; }
.home-brand:hover .home-brand__logo { animation: homeWobble .7s ease; }
.home-hero__grid > div > * { animation: homeFadeUp .7s ease both; }
.home-hero__grid > div > *:nth-child(2) { animation-delay: .08s; }
.home-hero__grid > div > *:nth-child(3) { animation-delay: .16s; }
.home-hero__visual { animation: homeFadeUp .8s ease both .12s, homeFloatSoft 7s ease-in-out infinite 1s; }
.home-hero__visual > i { animation: homeFloat 5s ease-in-out infinite; }
.home-hero__badge--1 { animation: homeFadeUp .6s ease both .4s, homeFloat 4.6s ease-in-out infinite 1s; }
.home-hero__badge--2 { animation: homeFadeUp .6s ease both .55s, homeFloat 5.4s ease-in-out infinite 1.4s; }
.home-eyebrow i { animation: homeFloatSoft 3s ease-in-out infinite; }
.home-program__icon, .home-vm__icon { animation: homeGlow 4s ease-in-out infinite; }
.home-program:hover .home-program__icon,
.home-vm__card:hover .home-vm__icon,
.home-feature:hover .home-feature__icon { animation: homeWobble .7s ease; }
.home-program__link i { transition: transform .25s ease; }
.home-program:hover .home-program__link i { transform: translateX(4px); }
.home-ceo__photo > i { animation: homeFloatSoft 6s ease-in-out infinite; }
.home-btn:active { transform: translateY(0) scale(.96); }

/* =========================== SCROLL REVEAL =========================== */
/* Reveal styles only apply until .reveal--done, so hover transforms keep working afterwards. */
.reveal:not(.reveal--done) {
    opacity: 0; will-change: opacity, transform;
    transition:
        opacity .9s ease var(--d, 0s),
        transform 1.1s cubic-bezier(.2, .9, .25, 1.12) var(--d, 0s),
        filter .9s ease var(--d, 0s),
        clip-path 1.1s cubic-bezier(.7, 0, .2, 1) var(--d, 0s),
        letter-spacing 1.1s ease var(--d, 0s);
}
.reveal.is-visible:not(.reveal--done) { opacity: 1; }
.reveal--up:not(.is-visible)     { transform: translateY(64px) scale(.96); }
.reveal--down:not(.is-visible)   { transform: translateY(-36px); }
.reveal--left:not(.is-visible)   { transform: translateX(-90px) rotate(-2deg); }
.reveal--right:not(.is-visible)  { transform: translateX(90px) rotate(2deg); }
.reveal--zoom:not(.is-visible)   { transform: scale(.7); filter: blur(10px); }
.reveal--flip:not(.is-visible)   { transform: perspective(1200px) rotateX(-32deg) translateY(56px); transform-origin: 50% 100%; }
.reveal--swing:not(.is-visible)  { transform: perspective(1200px) rotateY(-40deg) translateX(-40px); transform-origin: 0 50%; }
.reveal--swing-r:not(.is-visible){ transform: perspective(1200px) rotateY(40deg) translateX(40px); transform-origin: 100% 50%; }
.reveal--tilt-l:not(.is-visible) { transform: scale(.8) rotate(-7deg) translateY(30px); }
.reveal--tilt-r:not(.is-visible) { transform: scale(.8) rotate(7deg) translateY(30px); }
.reveal--pop:not(.is-visible)    { transform: scale(.25) rotate(-30deg); }
.reveal--blur:not(.is-visible)   { transform: translateY(22px) scale(1.03); filter: blur(14px); letter-spacing: .06em; }
.reveal--clip-l:not(.is-visible) { clip-path: inset(0 100% 0 0 round var(--clip-r, 24px)); transform: scale(1.12); }
.reveal--clip-r:not(.is-visible) { clip-path: inset(0 0 0 100% round var(--clip-r, 24px)); transform: scale(1.12); }
.reveal--clip-u:not(.is-visible) { clip-path: inset(100% 0 0 0 round var(--clip-r, 24px)); transform: scale(1.12); }
.reveal--clip-l.is-visible:not(.reveal--done),
.reveal--clip-r.is-visible:not(.reveal--done),
.reveal--clip-u.is-visible:not(.reveal--done) { clip-path: inset(0 0 0 0 round var(--clip-r, 24px)); }
.home-philosophy__visual img { --clip-r: 30px 30px 60px 30px; }
.home-program__art { --clip-r: 65px 12px 12px 50px; }
.home-program__art--management { --clip-r: 60px 12px 60px 25px; }
.home-program__art--leadership { --clip-r: 70px 12px 35px 35px; }
.home-vm__visual img { --clip-r: 22px; }

/* Images keep drifting gently once revealed */
.reveal--float.reveal--done { animation: homeFloatSoft 7s ease-in-out infinite var(--f, 0s); }

/* Headline words rise one by one */
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .16em; margin: 0 -.06em -.16em; }
.reveal-words .w__in {
    display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%;
    transition: transform .95s cubic-bezier(.2, .9, .25, 1.08);
    transition-delay: calc(var(--i, 0) * 75ms + var(--d, 0s));
}
.reveal-words.is-visible .w__in { transform: none; }

/* Light sweep across cards and tiles right after they land */
.home-program::after, .home-gallery__item::after {
    content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: 3; pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55) 50%, transparent);
    transform: skewX(-18deg) translateX(-200%); opacity: 0;
}
.home-program.is-visible::after, .home-gallery__item.is-visible::after { animation: homeShine 1.3s ease-out calc(var(--d, 0s) + .55s) 1 both; }
@keyframes homeShine { 0% { opacity: 0; transform: skewX(-18deg) translateX(-200%); } 15% { opacity: 1; } 100% { opacity: 0; transform: skewX(-18deg) translateX(480%); } }

/* Vision / mission badge spins in, values & icons bounce */
.home-vm__icon.reveal--pop:not(.is-visible), .tc-card__num.reveal--pop:not(.is-visible),
.home-program__icon.reveal--pop:not(.is-visible), .home-quote__avatar.reveal--pop:not(.is-visible) { transform: scale(0) rotate(-180deg); }
.home-overview__highlights li.is-visible .home-overview__icon,
.home-philosophy__value.is-visible .home-philosophy__value-icon { animation: homeBounceIn .9s cubic-bezier(.2, .9, .25, 1.4) calc(var(--d, 0s) + .25s) backwards; }
@keyframes homeBounceIn { 0% { transform: scale(0) rotate(-180deg); } 100% { transform: none; } }

/* Section underline draws in with a glow pulse */
.home-section__head.is-visible .home-section__title::after { width: 72px; animation: homeGlowLine 1.6s ease .9s 1; }
@keyframes homeGlowLine { 0%, 100% { box-shadow: 0 0 0 rgba(251, 194, 60, 0); } 50% { box-shadow: 0 0 18px 4px rgba(251, 194, 60, .75); } }

/* Vision tagline dots + CEO quote mark */
.home-vm__intro span { display: inline-block; }
.ceo__quote.is-visible { animation: homeWobble .9s ease 1.4s 1; }

/* Smaller travel on phones so nothing pokes outside the viewport mid-animation */
@media (max-width: 768px) {
    .reveal--left:not(.is-visible)   { transform: translateX(-28px); }
    .reveal--right:not(.is-visible)  { transform: translateX(28px); }
    .reveal--flip:not(.is-visible)   { transform: perspective(1200px) rotateX(-18deg) translateY(40px) scale(.96); }
    .reveal--swing:not(.is-visible)  { transform: perspective(1200px) rotateY(-16deg) translateX(-12px) scale(.96); }
    .reveal--swing-r:not(.is-visible){ transform: perspective(1200px) rotateY(16deg) translateX(12px) scale(.96); }
    .reveal--tilt-l:not(.is-visible) { transform: scale(.88) rotate(-3deg) translateY(24px); }
    .reveal--tilt-r:not(.is-visible) { transform: scale(.88) rotate(3deg) translateY(24px); }
    .reveal--clip-l:not(.is-visible), .reveal--clip-r:not(.is-visible), .reveal--clip-u:not(.is-visible) { transform: scale(1.04); }
}

/* Scroll progress bar */
.home-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 1200; background: linear-gradient(90deg, var(--h-primary-2), var(--h-accent)); transition: width .1s linear; }

/* Section title underline draws in when the heading reveals */
.home-section__title::after { content: ''; display: block; width: 0; height: 4px; border-radius: 4px; margin: 14px auto 0; background: linear-gradient(90deg, var(--h-primary-2), var(--h-primary-dark)); transition: width .8s ease .35s; }

/* Footer logo floats gently */
.home-footer__logo img { animation: homeFloatSoft 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .reveal-words .w__in { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
    /* Hero crossfade is opacity-only, so it stays on for reduced motion */
    .home-hero__slide { transition: opacity 0s linear 1s, visibility 0s linear 1s !important; }
    .home-hero__slide.is-active { transition: opacity 1s ease-in-out, visibility 0s !important; }
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1240px) {
    .home-nav__links {
        position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
        gap: 18px; background: #fff; padding: 24px; box-shadow: var(--h-shadow-md); display: none; margin-left: 0;
    }
    .home-nav__links .home-btn { margin-left: 0; }
    .home-nav__links.is-open { display: flex; }
    .home-nav__dropdown { width: 100%; }
    .home-nav__menu {
        position: static; margin-top: 8px; min-width: 0; border: 0; box-shadow: none;
        padding: 0 0 0 14px; background: transparent;
    }
    .home-nav__menu::before { display: none; }
    .home-nav__toggle { display: block; }
}
@media (max-width: 992px) {
    .home-hero__grid, .home-ceo__grid { grid-template-columns: 1fr; }
    .home-hero__visual { height: 320px; }
    .home-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .home-stat:nth-child(3)::before, .home-stat:nth-child(2n+1)::before { display: none; }
    .home-why { grid-template-columns: repeat(2, 1fr); }
    .home-programs { grid-template-columns: 1fr; }
    .home-vm { grid-template-columns: 1fr; }
    .tc-cards--3, .lp-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
    .home-gallery__item { grid-column: span 1 !important; grid-row: span 1 !important; }
    .home-footer__grid { grid-template-columns: 1fr 1fr; }
    .home-testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .tc-cards--2, .tc-cards--3, .lp-grid--2, .lp-grid--3 { grid-template-columns: 1fr; }
    .tc-card, .lp-card { padding: 26px 22px; }
    .home-hero__badge { display: none; }
    .home-hero::before, .home-hero::after { display: none; }
    .home-section.ceo { padding: 72px 0; }
    .home-why { grid-template-columns: 1fr; }
    .home-gallery { grid-template-columns: 1fr; }
    .home-footer__grid { grid-template-columns: 1fr; }
}
