/* ==========================================================================
   Shared hero design (home, about, curriculum and project pages)
   Markup: <section class="module-cover parallax text-center [fullscreen] hero-home [hero-compact] [hero-dark]">
             ... <div class="hero-inner">
                   <span class="hero-eyebrow">...</span>            (or <ol class="breadcrumb hero-eyebrow hero-crumbs">)
                   <h1 class="hero-title">Title <span class="hero-accent">Accent</span></h1>
                   <p class="hero-lead">...</p>
                   <p class="hero-btns [cols-3]"> <a class="btn btn-lg btn-circle btn-blue">...</a> ... </p>
   ========================================================================== */

/* Buttons */
.btn.btn-blue { background: rgba(30, 111, 217, .8); border: 2px solid #f600ff; color: #fff; width: 256px; max-width: 100%; text-align: center; }
.btn.btn-blue:hover, .btn.btn-blue:focus { background: rgba(24, 89, 176, .9); border-color: #f600ff; color: #fff; }

/* Overlay: darker behind the text, lighter toward the bottom of the photo */
.hero-home .overlay-background { background: linear-gradient(180deg, rgba(6, 10, 26, .45) 0%, rgba(6, 10, 26, .32) 60%, rgba(6, 10, 26, .08) 100%) !important; opacity: 1 !important; }
.hero-home.hero-dark .overlay-background { background: linear-gradient(180deg, rgba(6, 10, 26, .7) 0%, rgba(6, 10, 26, .55) 60%, rgba(6, 10, 26, .3) 100%) !important; }

.hero-inner { max-width: 780px; margin: 0 auto; }

/* Eyebrow chip */
.hero-eyebrow { display: inline-block; margin-bottom: 22px; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }

/* Breadcrumb shown as an eyebrow chip */
.hero-home .breadcrumb.hero-crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; margin: 0 0 22px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); line-height: 1.5; }
.hero-home .hero-crumbs .breadcrumb-item { font-size: .75rem; color: #fff; }
.hero-home .hero-crumbs .breadcrumb-item.active,
.hero-home .hero-crumbs .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .7); }
.hero-home .hero-crumbs a { color: #fff; }
.hero-home .hero-crumbs a:hover { color: #f9a8ff; }

/* Title */
.hero-home h1.hero-title { margin-bottom: 22px; font-size: clamp(2.25rem, 6.2vw, 4.75rem); font-weight: 600; line-height: 1.06; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero-home .hero-accent { display: block; padding-bottom: .14em; margin-bottom: -.14em; line-height: 1.15; background: linear-gradient(90deg, #4da3ff, #f600ff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
.hero-home .hero-accent.inline { display: inline; margin-bottom: 0; }

/* Lead paragraph */
.hero-lead { max-width: 640px; margin: 0 auto 38px; font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.7; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero-lead b { color: #fff; }
.hero-home .hero-lead a:not(.btn) { color: #8ec5ff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-home .hero-lead a:not(.btn):hover { color: #f9a8ff; }
.hero-quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.5; }
.hero-quote-by { display: block; margin-top: 10px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }

/* Button grid */
.hero-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 14px; justify-content: center; margin: 0; }
.hero-btns.cols-3 { grid-template-columns: repeat(3, minmax(0, 260px)); }
.hero-btns .btn.btn-blue { width: 100%; min-height: 60px; margin: 0; padding: .875rem 1rem; display: flex; align-items: center; justify-content: center; line-height: 1.35; white-space: normal; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.hero-btns .btn.btn-blue:hover, .hero-btns .btn.btn-blue:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(246, 0, 255, .3); }

/* Compact hero for project pages */
.hero-home.hero-compact { padding: 200px 0 150px; }
.hero-home.hero-compact h1.hero-title { margin-bottom: 0; font-size: clamp(2rem, 5vw, 3.75rem); }

@media (max-width: 991.98px) {
    .hero-home.module-cover.fullscreen { padding: 130px 0 150px; }
    .hero-home.hero-compact { padding: 140px 0 110px; }
}

@media (max-width: 767.98px) {
    .hero-btns.cols-3 { grid-template-columns: repeat(2, minmax(0, 300px)); }
    .hero-btns.cols-3 .btn:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
}

@media (max-width: 575.98px) {
    .hero-home.module-cover.fullscreen { padding: 110px 0 130px; }
    .hero-home.hero-compact { padding: 120px 0 80px; }
    .hero-home .container { padding-left: 20px; padding-right: 20px; }
    .hero-eyebrow, .hero-home .breadcrumb.hero-crumbs { margin-bottom: 18px; padding: 6px 12px; }
    .hero-eyebrow { font-size: .625rem; letter-spacing: .1em; }
    .hero-home .hero-crumbs .breadcrumb-item { font-size: .6875rem; }
    .hero-home h1.hero-title { margin-bottom: 16px; }
    .hero-lead { margin-bottom: 28px; line-height: 1.6; }
    .hero-btns, .hero-btns.cols-3 { grid-template-columns: minmax(0, 340px); gap: 12px; }
    .hero-btns.cols-3 .btn:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
    .hero-btns .btn.btn-blue { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-btns .btn.btn-blue { transition: none; }
    .hero-btns .btn.btn-blue:hover { transform: none; }
}
