/* GATES homepage — crest red, gold, and an editorial academic layout. */
.home-page { --ink: #252322; --paper: #f6f3ec; background: #fff; }
.home-page p { font-size: 15px; line-height: 1.8; color: #696560; }
.hero-slider { position: relative; display: grid; background: #320b0d; isolation: isolate; overflow: hidden; }
.hero-slide { grid-area: 1 / 1; position: relative; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .45s ease, visibility .45s ease; }
.hero-slide.active { visibility: visible; opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide::before { content: ''; position: absolute; inset: 0 0 0 32%; background: var(--slide-bg) center / cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%); mask-image: linear-gradient(90deg, transparent, #000 20%); z-index: -2; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #390b0e 0%, #390b0ef2 29%, #390b0e9c 52%, #180c0c12 100%); z-index: -1; }
.slide-overlay { position: absolute; right: 40px; top: 32px; bottom: 32px; width: 26%; border: 1px solid #e6c57a55; border-left: 0; pointer-events: none; }
.slide-content { position: relative; padding-top: 70px; padding-bottom: 112px; }
.hero-eyebrow, .section-eyebrow { display: block; font-size: 11px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; color: var(--primary-color) !important; }
.hero-eyebrow { color: #e8c779 !important; display: flex; align-items: center; gap: 14px; }
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.slide-content h1 { max-width: 650px; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; color: #fff; font-weight: 500; margin-bottom: 25px; }
.slide-content h1 em { color: #e8c779; font-weight: 500; }
.slide-content > p { max-width: 455px; color: #e4d7d5; font-size: 16px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-hero-primary, .btn-hero-outline { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 50px; padding: 12px 26px; font-size: 13px; font-weight: 700; line-height: 1.6; border: 1px solid transparent; transition: background .2s, color .2s, transform .2s; }
.btn-hero-primary { background: #e2bd68; color: #351114; border-color: #e2bd68; }
.btn-hero-outline { color: #fff; border-color: #ffffff66; background: transparent; }
.btn-hero-primary:hover { background: #f1d48e; transform: translateY(-2px); }
.btn-hero-outline:hover { background: #fff; color: #650d13; border-color: #fff; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.slider-arrow { display: inline-flex; justify-content: center; align-items: center; width: 42px; height: 42px; border: 1px solid #ffffff55; background: transparent; color: #fff; cursor: pointer; font-size: 12px; transition: background .2s; }
.slider-arrow:hover { background: #ffffff20; }
.slider-dots { display: flex; align-items: center; gap: 3px; margin-left: 14px; }
.dot { position: relative; width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.dot::after { content: ''; position: absolute; inset: 21px 3px auto; height: 2px; background: #ffffff66; }
.dot.active::after { background: #e8c779; height: 3px; }
.stats-ribbon { background: var(--paper); border-bottom: 1px solid var(--border-color); }
.stats-ribbon-grid { display: flex; align-items: center; justify-content: space-between; padding-block: 32px; }
.stat-item { flex: 1; display: flex; align-items: center; justify-content: center; }
.stat-num, .stat-suffix { font-family: var(--heading-font); font-size: 54px; line-height: 1.2; color: var(--primary-color); font-weight: 600; letter-spacing: -.04em; }
.stat-suffix { color: #a1803d; font-size: 34px; margin-left: 3px; }
.stat-item p { font-size: 12px; line-height: 1.5; max-width: 126px; margin-left: 22px; color: #534e48; }
.stat-divider { width: 1px; height: 52px; background: #dcd3c4; }
.home-page .section-padding { padding: 88px 0; }
.section-intro { margin-bottom: 40px; }
.section-eyebrow { margin-bottom: 12px; }
.section-heading { font-size: clamp(38px, 4.2vw, 54px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.025em; }
.heading-rule { width: 48px; height: 2px; background: var(--brand-gold); margin: 20px auto 0; }
.section-desc { max-width: 600px; margin: 20px auto 0; }
.vision-section .section-intro { text-align: left; }
.vision-section .heading-rule { margin-left: 0; }
.vmi-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.vmi-card { position: relative; padding: 30px 0 0; border-top: 1px solid #d8cfc0; display: flex; flex-direction: column; align-items: flex-start; }
.vmi-icon-wrap { display: grid; place-items: center; width: 48px; height: 48px; color: var(--primary-color); background: #f8f1e6; margin-bottom: 22px; }
.vmi-icon-wrap svg { width: 25px; height: 25px; stroke-width: 1.5; }
.vmi-card h3 { font-size: 29px; line-height: 1.15; margin-bottom: 16px; }
.vmi-card p { font-size: 15px; margin-bottom: 24px; }
.card-link { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--primary-color); display: flex; gap: 20px; align-items: center; }
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.programs-home-section { background: var(--paper); padding: 88px 0; position: relative; }
.programs-section-bg, .phc-shine { display: none; }
.programs-home-section .section-intro { text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; align-items: center; }
.programs-home-section .section-eyebrow { grid-column: 1; }
.programs-home-section .section-heading { grid-column: 1; margin-bottom: 0; }
.programs-home-section .heading-rule { display: none; }
.programs-home-section .section-desc { grid-column: 2; grid-row: 1 / 3; margin: 0; max-width: 450px; justify-self: end; padding-left: 24px; border-left: 2px solid var(--brand-gold); }
.programs-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; position: relative; }
.program-home-card { background: #fff; display: flex; flex-direction: column; border-bottom: 3px solid #d9c49c; transition: transform .25s, box-shadow .25s, border-color .25s; }
.program-home-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px #37271612; border-color: var(--primary-color); }
.phc-img { height: 220px; position: relative; overflow: hidden; }
.phc-img::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #1e0a0a66); pointer-events: none; }
.phc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.program-home-card:hover img { transform: scale(1.04); }
.phc-badge { position: absolute; bottom: 18px; left: 22px; padding: 5px 14px; color: #fff; background: var(--primary-color); font-size: 12px; font-weight: 700; letter-spacing: .12em; z-index: 1; }
.phc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.phc-body h3 { font-size: 29px; line-height: 1.1; margin-bottom: 16px; }
.phc-body p { font-size: 14px; margin-bottom: 25px; }
.phc-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 19px; margin-top: auto; font-size: 12px; font-weight: 700; color: var(--primary-color); }
.phc-link i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e5d9c4; border-radius: 50%; }
.advantage-section { background: #410d12; }
.advantage-section .section-eyebrow { color: #e2bd68 !important; }
.advantage-section .section-heading { color: #fff; }
.edge-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 42px; margin-top: 48px; }
.edge-home-card { border-top: 1px solid #e2bd6840; padding-top: 28px; }
.ehc-icon { color: #e2bd68; font-size: 24px; margin-bottom: 20px; }
.edge-home-card h4 { color: #fff; font-size: 27px; line-height: 1.2; margin-bottom: 13px; }
.edge-home-card p { font-size: 14px; color: #d6c3c1; }
.home-final-cta { position: relative; padding: 80px 0; background: #f5eee0; overflow: hidden; }
.home-final-cta .container { position: relative; z-index: 1; text-align: center; }
.home-final-cta h2 { color: #352725; font-size: clamp(36px, 4.2vw, 54px); margin-bottom: 18px; }
.home-final-cta p { max-width: 580px; margin: 0 auto 28px; }
.home-final-cta .btn-hero-outline { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.home-final-cta .btn-hero-outline:hover { background: #6f0d12; }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-ring { position: absolute; right: -180px; top: -150px; width: 480px; height: 480px; border: 1px solid #a1803d25; border-radius: 50%; }
.cta-circle-lg { position: absolute; left: -200px; bottom: -300px; width: 550px; height: 550px; border: 1px solid #a1803d25; border-radius: 50%; }
@media (max-width: 1050px) {
    .slide-content h1 { max-width: 580px; }
    .stat-num { font-size: 46px; }
    .stat-item p { margin-left: 14px; }
    .vmi-home-grid, .programs-home-grid { gap: 22px; }
    .phc-body { padding: 23px; }
    .phc-body h3 { font-size: 26px; }
    .edge-home-grid { gap: 32px; }
}
@media (max-width: 700px) {
    .slide-content { padding-top: 44px; padding-bottom: 100px; }
    .hero-slide::before { inset: 0; background-position: 60% center; -webkit-mask-image: none; mask-image: none; }
    .hero-slide::after { background: linear-gradient(90deg, #390b0eed, #390b0ebd 70%, #390b0e85); }
    .slide-overlay { display: none; }
    .hero-eyebrow { font-size: 10px !important; gap: 10px; }
    .hero-eyebrow::before { width: 22px; }
    .slide-content h1 { font-size: clamp(42px, 9vw, 62px); max-width: 520px; }
    .slide-content > p { font-size: 15px; }
    .hero-ctas { gap: 12px; }
    .btn-hero-primary, .btn-hero-outline { padding-inline: 22px; gap: 20px; }
    .slider-controls { bottom: 20px; }
    .stats-ribbon-grid { padding-block: 26px; align-items: stretch; }
    .stat-item { display: block; text-align: center; }
    .stat-num { font-size: 36px; }
    .stat-suffix { font-size: 24px; }
    .stat-item p { font-size: 10px; line-height: 1.6; max-width: 105px; margin: 8px auto 0; padding-inline: 3px; }
    .stat-divider { height: auto; }
    .home-page .section-padding, .programs-home-section { padding-block: 56px; }
    .section-intro { margin-bottom: 30px; }
    .section-heading { font-size: 40px; }
    .vmi-home-grid, .programs-home-grid, .edge-home-grid { grid-template-columns: 1fr; gap: 30px; }
    .vmi-card { padding: 25px 0 0 68px; }
    .vmi-icon-wrap { position: absolute; top: 25px; left: 0; width: 44px; height: 44px; }
    .vmi-card p { margin-bottom: 18px; }
    .programs-home-section .section-intro { display: block; }
    .programs-home-section .section-desc { margin-top: 22px; padding-left: 18px; }
    .phc-img { height: 240px; }
    .phc-body { padding: 26px; }
    .phc-body h3 { font-size: 30px; }
    .edge-home-grid { margin-top: 34px; }
    .edge-home-card { padding-left: 44px; position: relative; }
    .ehc-icon { position: absolute; left: 0; top: 26px; font-size: 22px; }
    .home-final-cta { padding-block: 58px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
