/* ═══════════════════════════════════════════════════════════════════════════
   fixes.css — Agility Fellows Scholarship
   All colour values use CSS custom properties from tokens.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── PAGE BASE ────────────────────────────────────────────────────────────── */
body { background: var(--bg); color: var(--text-pri); font-family: 'Inter', sans-serif; margin: 0; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.ksb-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; border: none; font-family: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease; }
.ksb-btn--teal { background: var(--teal); color: var(--text-white); height: 50px; padding: 0 28px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.ksb-btn--teal:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,72,81,0.22); }
.ksb-btn--ghost-teal { background: transparent; color: var(--teal); border: 2px solid var(--teal); height: 50px; padding: 0 28px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.ksb-btn--ghost-teal:hover { background: var(--teal); color: var(--text-white); }
.ksb-btn--ghost-teal.ksb-btn--sm { height: 44px; padding: 0 24px; font-size: 14px; font-weight: 600; }
.ksb-btn--gold { background: var(--gold); color: var(--text-white); border: none; height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.ksb-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--gold-alpha-45); }
.ksb-btn--ghost-white { background: transparent; color: var(--text-white); border: 2px solid rgba(255,255,255,0.35); height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 500; font-size: 14px; }
.ksb-btn--ghost-white:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.65); }

/* ══════════════════════════════════════════════════════════════════════════
   1. D3 NAV
   ══════════════════════════════════════════════════════════════════════════ */
.d3-nav-wrap { position: sticky; top: 0; z-index: 200; }
.d3-nav { background: var(--white); border-bottom: 1px solid var(--border); height: 76px; }
.d3-nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.d3-nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.d3-nav__agility-logo { height: 55px; width: auto; display: block; flex-shrink: 0; }
.d3-nav__af-mark { width: 36px; height: 36px; background: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-white); font-weight: 800; font-size: 13px; flex-shrink: 0; }
.d3-nav__brand-name { color: var(--teal); font-weight: 700; font-size: 13px; line-height: 1.2; }
.d3-nav__brand-sub  { color: var(--text-sec); font-size: 10px; line-height: 1.2; }
.d3-nav__links { display: flex; align-items: center; gap: 4px; }

/* Flat nav links */
.d3-nav__link { color: var(--text-sec); font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; transition: color 0.15s; padding: 6px 10px; border-radius: 6px; }
.d3-nav__link:hover { color: var(--teal); background: var(--off-white); }

/* Dropdown group wrapper */
.d3-nav__group { position: relative; display: flex; align-items: center; }

/* Parent trigger button — styled same as flat link */
.d3-nav__link--parent { background: none; border: none; font-family: inherit; display: flex; align-items: center; gap: 4px; }
.d3-nav__link--parent[aria-expanded="true"] { color: var(--teal); background: var(--off-white); }

/* Chevron rotation on open */
.d3-nav__chevron { flex-shrink: 0; transition: transform 0.18s ease; }
.d3-nav__link--parent[aria-expanded="true"] .d3-nav__chevron { transform: rotate(180deg); }

/* Dropdown panel */
.d3-nav__sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.10); padding: 6px; z-index: 9000; }
.d3-nav__sub-menu[hidden] { display: none; }

/* Dropdown items */
.d3-nav__sub-item { display: block; padding: 9px 12px; font-size: 13px; font-weight: 500; color: var(--text-sec); text-decoration: none; border-radius: 6px; transition: background 0.1s, color 0.1s; white-space: nowrap; }
.d3-nav__sub-item:hover { background: var(--off-white); color: var(--teal); }
.d3-nav__cta-btn { background: var(--teal); color: var(--text-white); border: none; padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.d3-nav__cta-btn:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,72,81,0.22); }
.d3-nav__hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; }
.d3-nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }

/* ══════════════════════════════════════════════════════════════════════════
   2. HERO
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-hero { background: var(--white); padding: 80px 0 40px; }
.ksb-hero__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ksb-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-alpha-7); border-radius: 50px; padding: 6px 14px; margin-bottom: 28px; }
.ksb-hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.ksb-hero__badge span:last-child { color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.ksb-hero__h1 { color: var(--text-pri); font-size: 60px; font-weight: 700; line-height: 1.1; margin: 0 0 20px; }
.ksb-hero__desc { color: var(--text-sec); font-size: 17px; line-height: 1.8; max-width: 460px; margin: 0 0 24px; }
.ksb-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ksb-hero__photo-outer { position: relative; }
.ksb-hero__photo-card { border-radius: 24px; overflow: hidden; height: 480px; position: relative; box-shadow: 0 8px 40px var(--teal-alpha-12); }
.ksb-hero__photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.ksb-hero__date-card { position: absolute; bottom: -20px; left: -20px; background: var(--white); border-radius: 14px; padding: 16px 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); border: 1px solid var(--border); z-index: 1; }
.ksb-hero__date-label { font-size: 10px; color: var(--text-sec); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.ksb-hero__date-value { font-size: 16px; font-weight: 700; color: var(--text-pri); }
.ksb-hero__notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; padding: 12px 16px; background: var(--gold-alpha-7); border: 1px solid rgba(200,150,46,0.20); border-left: 3px solid var(--gold); border-radius: 8px; }
.ksb-hero__notice-icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.ksb-hero__notice-text { font-size: 13px; color: var(--text-sec); line-height: 1.65; font-weight: 500; margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   3. STATS BAR
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-stats { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0; }
.ksb-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ksb-stats__row--top { border-bottom: 1px solid var(--border); }
.ksb-stats__cell { text-align: center; padding: 24px 20px; border-right: 1px solid var(--border); }
.ksb-stats__cell:last-child { border-right: none; }
.ksb-stats__row--bottom .ksb-stats__cell { padding: 18px 20px; }
.ksb-stats__icon { display: flex; justify-content: center; margin-bottom: 10px; opacity: 0.6; }
.ksb-stats__val--teal { font-size: 28px; font-weight: 700; color: var(--teal); letter-spacing: -0.5px; margin-bottom: 6px; }
.ksb-stats__val--gold { font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.ksb-stats__lbl { font-size: 13px; color: var(--text-sec); }
.ksb-stats__row--bottom .ksb-stats__lbl { font-size: 12px; }

/* ══════════════════════════════════════════════════════════════════════════
   4. ABOUT
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-about { background: var(--white); padding: 80px 0; }
.ksb-about__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ksb-about__eyebrow { color: var(--gold); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px; }
.ksb-about__h2 { font-size: 40px; font-weight: 700; color: var(--text-pri); line-height: 1.2; margin: 0 0 18px; }
.ksb-about__h2-teal { color: var(--teal); }
.ksb-about__body { font-size: 15px; color: var(--text-sec); line-height: 1.85; margin: 0 0 14px; }
.ksb-about__body:last-of-type { margin-bottom: 24px; }
.ksb-about__coverage-head { font-size: 14px; font-weight: 700; color: var(--text-pri); margin: 0 0 16px; }
.ksb-about__coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.ksb-about__coverage-item { display: flex; align-items: center; gap: 10px; }
.ksb-about__coverage-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.ksb-about__coverage-item span { font-size: 14px; color: var(--text-pri); }
.ksb-about__photo-wrap { height: 460px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.08); transition: box-shadow 0.3s ease; }
.ksb-about__photo-wrap:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.14); }
.ksb-about__photo { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }

/* ══════════════════════════════════════════════════════════════════════════
   5. ELIGIBILITY
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-eligibility { background: var(--off-white); padding: 80px 0; }
.ksb-eligibility__head { text-align: center; margin-bottom: 36px; }
.ksb-eligibility__eyebrow { color: var(--gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.ksb-eligibility__h2 { color: var(--text-pri); font-size: 36px; font-weight: 700; margin: 0 0 12px; }
.ksb-eligibility__sub { color: var(--text-sec); font-size: 15px; margin: 0; }
.ksb-eligibility__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ksb-eligibility__card { background: var(--white); border-radius: 14px; padding: 28px; border: 1px solid var(--border); }
.ksb-eligibility__icon-wrap { width: 52px; height: 52px; border-radius: 12px; background: var(--teal-alpha-7); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ksb-eligibility__card-title { color: var(--text-pri); font-size: 17px; font-weight: 600; margin: 0 0 18px; }
.ksb-eligibility__item { display: flex; gap: 10px; margin-bottom: 10px; }
.ksb-eligibility__check { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.ksb-eligibility__item span { font-size: 14px; color: var(--text-sec); line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════════════════
   6. SELECTION PROCESS
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-selection { background: var(--white); padding: 80px 0; }
.ksb-section-head { text-align: center; margin-bottom: 36px; }
.ksb-section-head__title { font-size: 30px; font-weight: 700; color: var(--text-pri); margin: 0 0 12px; line-height: 1.25; }
.ksb-section-head__sub { font-size: 16px; color: var(--text-sec); margin: 0; line-height: 1.6; }
.ksb-selection__cards { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.ksb-selection__line { position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, var(--teal), var(--gold), var(--teal)); z-index: 0; pointer-events: none; }
.ksb-selection__card { text-align: center; padding: 0 14px 28px; position: relative; z-index: 1; }
.ksb-selection__circle { width: 72px; height: 72px; border-radius: 50%; background: var(--teal); color: var(--text-white); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); position: relative; z-index: 1; transition: all 0.22s ease; }
.ksb-selection__card:hover .ksb-selection__circle { background: var(--gold); box-shadow: 0 6px 22px var(--gold-alpha-45); transform: scale(1.1); }
.ksb-selection__label { font-size: 9px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4px; }
.ksb-selection__card-title { font-size: 14px; font-weight: 700; color: var(--teal); margin: 0 0 6px; transition: color 0.22s; }
.ksb-selection__card:hover .ksb-selection__card-title { color: var(--gold); }
.ksb-selection__pts { font-size: 22px; font-weight: 700; color: var(--text-pri); margin: 6px 0; }
.ksb-selection__dq { margin-top: 20px; padding: 13px 18px; background: var(--gold-alpha-7); border: 1px solid rgba(200,150,46,0.4); border-radius: 8px; display: flex; gap: 10px; align-items: flex-start; }
.ksb-selection__dq-icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.ksb-selection__dq p { font-size: 13px; color: var(--text-sec); margin: 0; line-height: 1.65; }
.ksb-selection__dq p strong { font-weight: 700 !important; color: var(--text-pri); }

/* ══════════════════════════════════════════════════════════════════════════
   7. IMPORTANT DATES
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-dates { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; }
.ksb-dates__title { color: var(--text-pri); font-size: 32px; font-weight: 700; text-align: center; margin: 0 0 28px; }
.ksb-dates__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ksb-dates__card { background: var(--white); border-radius: 12px; padding: 28px; text-align: center; border: 1px solid var(--border); }
.ksb-dates__icon { display: flex; justify-content: center; margin-bottom: 14px; }
.ksb-dates__label { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.ksb-dates__date { font-size: 18px; font-weight: 700; color: var(--text-pri); }

/* ══════════════════════════════════════════════════════════════════════════
   8. CTA BANNER
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-cta { background: var(--white); padding: 80px 0; }
.ksb-cta__divider { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.ksb-cta__divider-line { height: 1px; flex: 1; background: var(--border); }
.ksb-cta__divider-label { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; white-space: nowrap; }
.ksb-cta__card { border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; box-shadow: 0 20px 60px var(--teal-alpha-18); }
.ksb-cta__card--no-photo { grid-template-columns: 1fr; }
.ksb-cta__photo-panel { position: relative; overflow: hidden; }
.ksb-cta__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.ksb-cta__photo-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,72,81,0.10) 0%, rgba(0,72,81,0.45) 100%); }
.ksb-cta__stat { position: absolute; bottom: 36px; left: 32px; background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 14px; padding: 14px 22px; border: 1px solid rgba(255,255,255,0.30); }
.ksb-cta__stat-value { color: var(--gold); font-size: 26px; font-weight: 800; }
.ksb-cta__stat-label { color: var(--text-white); font-size: 12px; font-weight: 500; margin-top: 2px; }
.ksb-cta__content { background: var(--teal); padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.ksb-cta__decor-circle { position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); pointer-events: none; }
.ksb-cta__eyebrow { color: var(--gold); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px; position: relative; }
.ksb-cta__h2 { color: var(--text-white); font-size: 44px; font-weight: 800; letter-spacing: -1px; line-height: 1.08; margin: 0 0 16px; position: relative; }
.ksb-cta__body { color: var(--text-white-78); font-size: 15px; line-height: 1.8; margin: 0 0 20px; position: relative; }
.ksb-cta__check-item { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; position: relative; }
.ksb-cta__check-icon { width: 17px; height: 17px; border-radius: 50%; background: var(--gold-alpha-20); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ksb-cta__check-item span { color: var(--text-white-78); font-size: 13px; }
.ksb-cta__footnote { color: var(--text-white-78); font-size: 11px; line-height: 1.6; margin-bottom: 8px; position: relative; }
.ksb-cta__btns { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; position: relative; }
.ksb-cta__notice { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; padding: 14px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-left: 3px solid var(--gold); border-radius: 8px; position: relative; }
.ksb-cta__notice-icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.ksb-cta__notice-text { font-size: 13px; color: rgba(255,255,255,0.92); line-height: 1.65; font-weight: 500; margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   9. FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.ksb-footer { background: var(--off-white); border-top: 1px solid var(--border); padding: 52px 0 20px; }
.ksb-footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; margin-bottom: 28px; }
.ksb-footer__brand-name { font-weight: 700; font-size: 15px; color: var(--teal); margin-bottom: 10px; }
.ksb-footer__brand-tag { font-size: 13px; color: var(--text-sec); line-height: 1.75; }
.ksb-footer__col-label { font-size: 11px; font-weight: 600; color: var(--text-sec); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.ksb-footer__links { display: flex; flex-direction: column; gap: 10px; }
.ksb-footer__link { color: var(--text-pri); font-size: 12px; text-decoration: none; transition: color 0.15s; }
.ksb-footer__link:hover { color: var(--teal); }
.ksb-footer__email { display: flex; align-items: center; gap: 6px; color: var(--text-pri); font-size: 12px; text-decoration: none; transition: color 0.15s; }
.ksb-footer__email:hover { color: var(--teal); }
.ksb-footer__note { font-size: 12px; color: var(--text-sec); margin-top: 8px; }
.ksb-footer__bottom { border-top: 1px solid var(--border); padding-top: 16px; }
.ksb-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.ksb-footer__copy { font-size: 12px; color: var(--text-sec); }
.ksb-footer__legal { display: flex; gap: 16px; }
.ksb-footer__legal-link { color: var(--text-sec); font-size: 12px; text-decoration: none; }
.ksb-footer__legal-link:hover { color: var(--teal); }

/* ══════════════════════════════════════════════════════════════════════════
   10. MOBILE MENU
   ══════════════════════════════════════════════════════════════════════════ */
.mobile-menu__overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.48); z-index: 299; opacity: 0; transition: opacity 0.25s ease; }
.mobile-menu__overlay--open { display: block; opacity: 1; }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 90vw; background: var(--white); z-index: 300; transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.4,0,0.2,1); box-shadow: -4px 0 32px rgba(0,0,0,0.18); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu--open { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); min-height: 52px; }
.mobile-menu__top .d3-nav__logo { flex: 1; min-width: 0; overflow: hidden; gap: 8px; }
.mobile-menu__top .d3-nav__agility-logo { height: 24px; }
.mobile-menu__top .d3-nav__brand-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-menu__close { width: 36px; height: 36px; border-radius: 50%; background: var(--off-white); border: none; cursor: pointer; font-size: 18px; color: var(--text-sec); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: 8px; }
.mobile-menu__nav { display: flex; flex-direction: column; padding: 12px 0; }
.mobile-menu__link { display: block; padding: 13px 24px; font-size: 15px; font-weight: 500; color: var(--text-pri); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu__link:hover { background: var(--off-white); color: var(--teal); }
.mobile-menu__link--sub { padding-left: 32px; font-size: 14px; font-weight: 400; color: var(--text-sec); }
.mobile-menu__link--sub:hover { color: var(--teal); }
.mobile-menu__link--cta { background: transparent; color: var(--text-pri); border-radius: 0; text-align: left; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu__link--cta:hover { background: var(--off-white); color: var(--teal); }

/* Mobile group labels */
.mobile-menu__group-label { margin: 0; padding: 14px 24px 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); border-bottom: none; }

/* ══════════════════════════════════════════════════════════════════════════
   11. LOGIN PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.d3-login { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--bg); }
.d3-login__left { background: var(--off-white); border-right: 1px solid var(--border); padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.d3-login__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 56px; }
.d3-login__af-mark { width: 40px; height: 40px; background: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-white); font-weight: 800; font-size: 15px; flex-shrink: 0; }
.d3-login__brand-name { color: var(--teal); font-weight: 700; font-size: 14px; line-height: 1.2; }
.d3-login__brand-sub  { color: var(--text-sec); font-size: 11px; }
.d3-login__gold-bar { width: 40px; height: 3px; background: var(--gold); margin-bottom: 28px; border-radius: 2px; }
.d3-login__cycle { color: var(--teal); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 18px; }
.d3-login__h1 { color: var(--text-pri); font-size: 44px; font-weight: 700; line-height: 1.15; margin: 0 0 24px; }
.d3-login__desc { color: var(--text-sec); font-size: 15px; line-height: 1.85; max-width: 360px; margin-bottom: 40px; }
.d3-login__bullets { display: flex; flex-direction: column; gap: 16px; }
.d3-login__bullet { display: flex; align-items: center; gap: 12px; }
.d3-login__bullet-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(0,72,81,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.d3-login__bullet span { font-size: 14px; color: var(--text-pri); }
.d3-login__right { display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--white); }
.d3-login__form-wrap { width: 100%; max-width: 420px; }
.d3-login__tabs { display: flex; background: var(--off-white); border-radius: 10px; padding: 4px; margin-bottom: 28px; }
.d3-login__tab { flex: 1; padding: 9px 0; border-radius: 8px; border: none; background: transparent; color: var(--text-sec); font-weight: 400; font-size: 13px; cursor: pointer; transition: all 0.18s; font-family: inherit; }
.d3-login__tab--active { background: var(--white); color: var(--teal); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.d3-login__form-title { font-size: 22px; font-weight: 700; color: var(--text-pri); margin: 0 0 6px; }
.d3-login__form-sub   { font-size: 14px; color: var(--text-sec); margin: 0 0 28px; }
.d3-login__panel { display: block; }
.d3-login__panel[hidden] { display: none; }
.d3-field { margin-bottom: 18px; }
.d3-field__label { display: block; font-size: 13px; font-weight: 500; color: var(--text-pri); margin-bottom: 6px; }
.d3-field__input { width: 100%; height: 48px; background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 0 14px; font-size: 14px; outline: none; color: var(--text-pri); box-sizing: border-box; font-family: inherit; transition: border-color 0.15s; }
.d3-field__input:focus { border-color: var(--teal); }
.d3-field__select { appearance: none; cursor: pointer; }
.d3-field--select { position: relative; }
.d3-field__chevron { position: absolute; right: 14px; bottom: 17px; color: var(--text-sec); pointer-events: none; }
.d3-field--pw { position: relative; }
.d3-field__input--pw { padding-right: 48px; }
.d3-field__eye { position: absolute; right: 12px; bottom: 13px; background: none; border: none; cursor: pointer; color: var(--text-sec); padding: 4px; display: flex; align-items: center; }
.d3-field__remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-sec); margin-bottom: 24px; cursor: pointer; }
.d3-req { color: var(--teal); }
.d3-login__divider { height: 1px; background: var(--border); margin: 18px 0; }
.d3-login__submit-btn { width: 100%; height: 48px; background: var(--teal); color: var(--text-white); border: none; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; font-family: inherit; transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; margin-bottom: 20px; }
.d3-login__submit-btn:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,72,81,0.22); }
.d3-login__form-footer { border-top: 1px solid var(--border); padding-top: 18px; text-align: center; }
.d3-login__link { color: var(--teal); font-size: 13px; text-decoration: none; cursor: pointer; display: block; margin-bottom: 10px; }
.d3-login__switch-text { font-size: 13px; color: var(--text-sec); text-align: center; margin: 12px 0 0; }
.d3-login__switch-link { color: var(--teal); font-weight: 600; font-size: 13px; background: none; border: none; cursor: pointer; font-family: inherit; }

/* ══════════════════════════════════════════════════════════════════════════
   12. PAGE HEADER
   ══════════════════════════════════════════════════════════════════════════ */
.d3-page-header { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 44px 0; }
.d3-page-header__breadcrumb { font-size: 12px; color: var(--text-sec); margin-bottom: 12px; }
.d3-page-header__breadcrumb a { color: var(--text-sec); text-decoration: none; }
.d3-page-header__breadcrumb a:hover { color: var(--teal); }
.d3-page-header__title { font-size: 36px; font-weight: 700; color: var(--text-pri); margin: 0 0 8px; letter-spacing: -0.5px; }
.d3-page-header__sub { font-size: 15px; color: var(--text-sec); margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   13. TERMS & CONDITIONS
   ══════════════════════════════════════════════════════════════════════════ */
.tc-wrap { max-width: 1100px; margin: 0 auto; padding: 80px 32px 56px; display: grid; grid-template-columns: 240px 1fr; gap: 52px; align-items: start; }
.tc-sidebar { position: sticky; top: 84px; background: var(--white); border-radius: 12px; padding: 20px; border: 1px solid var(--border); align-self: start; }
.tc-sidebar__label { font-size: 10px; font-weight: 700; color: var(--text-sec); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.tc-sidebar__link { display: block; width: 100%; text-align: left; padding: 7px 10px; border-radius: 6px; border: none; cursor: pointer; font-size: 12px; line-height: 1.4; margin-bottom: 2px; text-decoration: none; background: transparent; color: var(--text-sec); font-weight: 400; border-left: 3px solid transparent; transition: all 0.15s; font-family: inherit; }
.tc-sidebar__link--active, .tc-sidebar__link:hover { background: var(--teal-alpha-7); color: var(--teal); font-weight: 600; border-left-color: var(--teal); }
.tc-sidebar__link--sub { font-size: 11px; padding-left: 20px; opacity: 0.85; border-left-color: transparent; }
.tc-sidebar__link--sub.tc-sidebar__link--active { opacity: 1; font-weight: 500; border-left-color: var(--teal); }
.tc-mobile-select { display: none; position: relative; padding: 12px 20px; background: var(--white); border-bottom: 1px solid var(--border); }
.tc-mobile-select select { width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 8px; padding: 0 14px; font-size: 13px; appearance: none; background: var(--white); color: var(--text-pri); font-family: inherit; }
.tc-mobile-select__chevron { position: absolute; right: 32px; top: 27px; color: var(--text-sec); pointer-events: none; }
.tc-content { max-width: 720px; }
.tc-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.tc-section:last-child { border-bottom: none; }
.tc-section__title { font-size: 22px; font-weight: 700; color: var(--teal); margin: 0 0 16px; }
.tc-section__body { font-size: 15px; line-height: 1.85; color: var(--text-sec); margin: 0 0 16px; }
.tc-clause { margin-bottom: 10px; padding: 13px 16px; background: var(--off-white); border-radius: 8px; font-size: 14px; color: var(--text-sec); line-height: 1.75; border: 1px solid var(--border); }
.tc-info-box { background: rgba(0,72,81,0.05); border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: 13px 16px; display: flex; gap: 10px; margin-bottom: 20px; margin-top: 4px; }
.tc-info-box__icon { color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.tc-info-box p { font-size: 13px; color: var(--text-sec); margin: 0; line-height: 1.6; }
.tc-sub-head { font-size: 15px; font-weight: 700; color: var(--text-pri); margin: 28px 0 12px; }
.tc-consent-block { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.tc-consent-block__item { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--teal-alpha-7); border: 1px solid var(--teal-alpha-18); border-radius: 10px; }
.tc-consent-block__item p { font-size: 13px; color: var(--text-sec); margin: 0; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════════════════
   14. FAQs
   ══════════════════════════════════════════════════════════════════════════ */
.faq-header { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 56px 0; }
.faq-header__title { color: var(--text-pri); font-size: 48px; font-weight: 700; letter-spacing: -1px; margin: 0 0 8px; line-height: 1.1; }
.faq-header__sub { color: var(--text-sec); font-size: 16px; margin: 0 0 28px; }
.faq-header__search-wrap { position: relative; max-width: 560px; }
.faq-header__search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-sec); pointer-events: none; }
.faq-header__search { width: 100%; height: 56px; border: 1.5px solid var(--border); border-radius: 10px; padding: 0 16px 0 46px; font-size: 15px; outline: none; box-sizing: border-box; background: var(--white); color: var(--text-pri); font-family: inherit; transition: border-color 0.15s; }
.faq-header__search:focus { border-color: var(--teal); }
.faq-body { padding: 44px 0; }
.faq-cats { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 36px; }
.faq-cat-btn { padding: 7px 16px; border-radius: 50px; border: 1.5px solid var(--border); background: var(--white); color: var(--text-sec); font-weight: 400; font-size: 12px; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.faq-cat-btn--active { border-color: var(--teal); background: var(--teal); color: var(--text-white); font-weight: 600; }
.faq-cat-btn:hover:not(.faq-cat-btn--active) { border-color: var(--teal); color: var(--teal); }
.faq-group { margin-bottom: 44px; }
.faq-group__label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.faq-group__label-line { height: 1px; width: 24px; background: var(--gold); flex-shrink: 0; }
.faq-group__label span { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__btn { width: 100%; text-align: left; padding: 18px 0; background: transparent; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-item__q { font-weight: 500; font-size: 15px; color: var(--text-pri); padding-right: 16px; line-height: 1.4; }
.faq-item__toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--off-white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.18s; }
.faq-item--open .faq-item__toggle { background: var(--teal); border-color: var(--teal); }
.faq-item__plus  { display: block; }
.faq-item__minus { display: none; }
.faq-item--open .faq-item__plus  { display: none; }
.faq-item--open .faq-item__minus { display: block; }
.faq-item__answer { padding: 0 0 24px; }
.faq-item__answer p { font-size: 14px; color: var(--text-sec); line-height: 1.8; margin: 0; max-width: 660px; }
.faq-no-results { text-align: center; padding: 56px 0; }
.faq-no-results p { font-size: 15px; color: var(--text-sec); margin: 0; }
.faq-cta { background: var(--teal); border-radius: 16px; padding: 40px 48px; margin-top: 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.faq-cta__text h3 { color: var(--text-white); font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.faq-cta__text p  { color: var(--text-white-75); font-size: 14px; margin: 0; }
.faq-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════════════
   15. FAQ DEADLINE BANNER
   ══════════════════════════════════════════════════════════════════════════ */
.faq-deadline-banner { background: var(--off-white); border-top: 3px solid var(--gold); border-bottom: 1px solid var(--border); width: 100%; }
.faq-deadline-banner__inner { max-width: 1100px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.faq-deadline-banner__left { display: flex; align-items: center; gap: 12px; }
.faq-deadline-banner__icon { color: var(--gold); flex-shrink: 0; }
.faq-deadline-banner__text { font-size: 13px; color: var(--text-sec); margin: 0; line-height: 1.5; }
.faq-deadline-banner__text strong { color: var(--text-pri); }
.faq-deadline-banner__date { color: var(--gold) !important; }
.faq-deadline-banner__btn { background: var(--gold); color: var(--text-white); border: none; border-radius: 7px; padding: 9px 20px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer; font-family: inherit; }
.faq-deadline-banner__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px var(--gold-alpha-45); color: var(--text-white); }
.faq-deadline-banner__btn--submitted { background: var(--teal-alpha-7); color: var(--teal); border: 1px solid var(--teal); border-radius: 7px; padding: 9px 20px; font-size: 13px; font-weight: 600; white-space: nowrap; flex-shrink: 0; cursor: default; font-family: inherit; }

/* ══════════════════════════════════════════════════════════════════════════
   16. TC WYSIWYG — ACF WYSIWYG content styles
   ══════════════════════════════════════════════════════════════════════════ */
.tc-wysiwyg p            { font-size: 15px; line-height: 1.85; color: var(--text-sec); margin: 0 0 16px; }
.tc-wysiwyg p:last-child { margin-bottom: 0; }
.tc-wysiwyg strong       { color: var(--text-pri); font-weight: 600; }
.tc-wysiwyg a            { color: var(--teal); text-decoration: underline; }
.tc-wysiwyg a:hover      { color: var(--teal-dark); }
.tc-wysiwyg h3           { font-size: 16px; font-weight: 700; color: var(--text-pri); margin: 24px 0 10px; }
.tc-wysiwyg ul,
.tc-wysiwyg ol           { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.tc-wysiwyg li           { background: var(--off-white); border: 1px solid var(--border); border-radius: 8px; padding: 13px 16px; font-size: 14px; color: var(--text-sec); line-height: 1.75; }
.tc-wysiwyg blockquote   { padding: 14px 16px; margin: 0 0 10px; background: var(--teal-alpha-7); border: 1px solid var(--teal-alpha-18); border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--text-sec); line-height: 1.65; }
.tc-wysiwyg blockquote p { font-size: inherit; color: inherit; line-height: inherit; margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   17. RESPONSIVE — 1024px
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ksb-hero__wrap { grid-template-columns: 1fr; gap: 48px; }
  .ksb-hero__h1 { font-size: 48px; }
  .ksb-about__wrap { grid-template-columns: 1fr; gap: 40px; }
  .ksb-cta__card { grid-template-columns: 1fr; }
  .ksb-selection__cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ksb-selection__line { display: none; }
  .tc-wrap { grid-template-columns: 1fr; padding: 40px 20px; }
  .tc-sidebar { display: none; }
  .tc-mobile-select { display: block; }
}

/* ══════════════════════════════════════════════════════════════════════════
   18. RESPONSIVE — 768px
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .d3-nav { height: 56px; }
  .d3-nav__brand { display: none; }
  .d3-nav__links { display: none; }
  .d3-nav__hamburger { display: flex; }
  .mobile-menu__top { padding: 12px 16px; min-height: 52px; }
  .mobile-menu__top .d3-nav__logo { flex: 1; min-width: 0; overflow: hidden; }
  .mobile-menu__top .d3-nav__agility-logo { height: 22px; }
  .mobile-menu__top .d3-nav__brand-name { font-size: 11px; }
  .ksb-hero { padding: 52px 0 36px; }
  .ksb-hero__h1 { font-size: 36px; }
  .ksb-hero__desc { font-size: 15px; }
  .ksb-hero__btns { flex-direction: column; }
  .ksb-hero__btns .ksb-btn { width: 100%; justify-content: center; }
  .ksb-hero__photo-card { height: auto; min-height: 280px; }
  .ksb-hero__date-card { display: none; }
  .ksb-stats__row { grid-template-columns: repeat(2, 1fr); }
  .ksb-stats__cell { border-right: none; border-bottom: 1px solid var(--border); padding: 18px 12px; }
  .ksb-stats__cell:nth-child(odd) { border-right: 1px solid var(--border); }
  .ksb-about { padding: 52px 0; }
  .ksb-about__coverage-grid { grid-template-columns: 1fr; }
  .ksb-about__photo-wrap { height: 280px; }
  .ksb-eligibility { padding: 52px 0; }
  .ksb-eligibility__cards { grid-template-columns: 1fr; }
  .ksb-selection { padding: 52px 0; }
  .ksb-selection__cards { grid-template-columns: 1fr; gap: 16px; }
  .ksb-dates { padding: 52px 0; }
  .ksb-dates__grid { grid-template-columns: 1fr; }
  .ksb-cta { padding: 52px 0; }
  .ksb-cta__content { padding: 36px 28px; }
  .ksb-cta__h2 { font-size: 30px; }
  .ksb-cta__btns { flex-direction: column; }
  .ksb-cta__btns .ksb-btn { width: 100%; justify-content: center; }
  .ksb-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .d3-login { grid-template-columns: 1fr; min-height: auto; }
  .d3-login__left { padding: 32px 24px; }
  .d3-login__h1 { font-size: 32px; }
  .d3-login__right { padding: 32px 24px; }
  .faq-header { padding: 28px 0; }
  .faq-header__title { font-size: 28px; letter-spacing: 0; }
  .faq-header__search { height: 50px; }
  .faq-body { padding: 28px 0; }
  .faq-cta { flex-direction: column; padding: 32px 24px; }
  .faq-cta__btns { width: 100%; flex-direction: column; }
  .faq-cta__btns .ksb-btn { width: 100%; justify-content: center; }
  .tc-content { max-width: 100%; }
  .tc-section__title { font-size: 18px; }
  .faq-deadline-banner__inner { flex-direction: column; align-items: flex-start; padding: 14px 20px; gap: 12px; }
  .faq-deadline-banner__btn,
  .faq-deadline-banner__btn--submitted { width: 100%; text-align: center; justify-content: center; display: flex; }
  .d3-page-header { padding: 28px 0; }
  .d3-page-header__title { font-size: 26px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   19. SCROLL MARGIN — sticky nav offset
   ══════════════════════════════════════════════════════════════════════════ */
section.ksb-about,
section.ksb-eligibility,
section.ksb-selection,
section.ksb-dates,
section.ksb-cta { scroll-margin-top: 76px; }
[id]            { scroll-margin-top: 82px; }
.tc-section     { scroll-margin-top: 82px !important; }
