/* ==========================================================================
   BAKR — home page sections (hero, gallery, intro, stats, scholarships strip,
   how it works, FAQs). Loaded on the home page only.
   (Split out of the old inline <style> in home.blade.php; rule order preserved.)
   ========================================================================== */

* { box-sizing: border-box; }

.display {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

::selection { background: var(--gold-tint); color: var(--green-900); }

/* ==========================================================================
   HERO  (photo layer + deep pine wash, so any school photo stays readable)
   ========================================================================== */

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.nx-steps { padding-top: 64px; padding-bottom: 8px; }

.nx-step {
  position: relative; height: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 24px 24px;
  transition: box-shadow .22s ease, transform .22s ease;
}

.nx-step:hover { transform: translateY(-3px); box-shadow: 0 22px 42px -26px rgba(20, 58, 43, .28); }

.nx-icon-tile {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 0 16px 0 16px; background: var(--green-900); color: var(--gold-light); font-size: 1.2rem;
  margin-bottom: 18px;
}

.nx-step-n { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--vanilla-deep); }

.nx-step h3 { font-size: var(--text-md); font-weight: 700; color: var(--text-strong); margin: 0 0 8px; }

.nx-step p { font-size: var(--text-sm); line-height: 1.6; color: var(--ink-soft); margin: 0; }

.nx-local-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }

.nx-local-item { display:flex; gap:.8rem; align-items:flex-start; padding:1rem; border-left:3px solid var(--gold); background:var(--surface); border:1px solid var(--border); border-left-width:3px; border-radius:0 10px 0 10px; }

.nx-local-item i { color: var(--text-accent); font-size:1.2rem; }

.nx-faq { background: var(--page-bg); }

.nx-faq-list { display:grid; gap:12px; max-width:900px; margin:0 auto; }

.nx-faq-item { border:1px solid var(--border); border-radius:12px; background:var(--surface); overflow:hidden; }

.nx-faq-item summary { cursor:pointer; list-style:none; padding:18px 22px; color: var(--text-strong); font-family:var(--font-display); font-weight:700; display:flex; align-items:center; justify-content:space-between; gap:16px; }

.nx-faq-item summary::-webkit-details-marker { display:none; }

.nx-faq-item summary::after { content:'+'; color:var(--gold); font-size:1.4rem; line-height:1; }

.nx-faq-item[open] summary::after { content:'−'; }

.nx-faq-answer { padding:0 22px 18px; color:var(--ink-soft); font-size: var(--text-sm); line-height:1.65; }

.nx-local-item { position:relative; transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }

.nx-local-item:hover { transform:translateX(4px); border-color:var(--gold); box-shadow:0 6px 18px rgba(43, 41, 37,.10); }

.nx-local-item strong { color: var(--text-strong); font-family:var(--font-display); }

#process .nx-local-item i { flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:var(--sage-tint); color: var(--text-accent); font-size:1rem; }

@media (max-width: 767.98px) {
  .nx-local-item:hover { transform:none; }
}

.nx-scholarship-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.nx-strip-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }

.nx-strip-heading h2 { color: var(--ink); }

.nx-strip-heading p { margin: 0 auto; }

@media (max-width: 767px) {
  .nx-local-list { grid-template-columns:1fr; }
}

/* Cards: admin white-card feel (light-gray border + 0 2px 10px shadow, 6px hover lift) */
.nx-step {
  border: 1px solid #eeece8; box-shadow: 0 2px 10px rgba(43,41,37,.06);
}

.nx-step:hover {
  transform: translateY(-3px); box-shadow: 0 6px 18px rgba(43,41,37,.10);
}

/* Icon tiles: admin soft-green-tint tiles (dark tiles only stay on dark panels) */
.nx-icon-tile { background: var(--sage-tint); color: var(--text-accent); border-radius: 10px; }

.nx-step-n { color: rgba(31,77,58,.10); }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .nx-step,
  .nx-local-item { transition: none !important; }
}

/* ---------- Cards: cut-corner premium shape + one gold shine when the
   card first appears. Hover afterwards is just a lift — no repeat shine. ---------- */
.nx-step {
  position: relative; overflow: hidden;
  border-radius: 4px 22px 4px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nx-step::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(184,145,47,.22), transparent);
  transform: skewX(-18deg);
  animation: nxSweepOnceLeft 1.1s ease-out .2s 1 forwards;
  pointer-events: none;
}

.nx-step:hover {
  transform: translateY(-5px); border-color: var(--gold);
  box-shadow: 0 26px 46px -26px rgba(20, 58, 43, .32);
}

/* ---------- Icon tiles: gold-foil gradient instead of a flat fill ---------- */
.nx-icon-tile {
  background-image: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: var(--gold-light);
  border-radius: 4px 16px 4px 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.nx-step:hover .nx-icon-tile {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 10px 20px -10px rgba(20, 58, 43, .5);
}

/* ---------- FAQ answers ease open instead of snapping ---------- */
.nx-faq-answer { animation: nxFadeUp .3s ease; }

@media (prefers-reduced-motion: reduce) {
  .nx-faq-answer,
  .nx-step::before {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important; left: -60% !important;
  }
  .nx-step::before { display: none !important; }
}

/* Hero clarity, contrast, and mobile interaction safeguards. */

.nx-steps { padding-top: 54px; }

.bakr-intro-section { position:relative; overflow:hidden; padding:32px 24px 48px; background: var(--page-bg); }

.bakr-intro-inner { position:relative; text-align:center; }

.bakr-eyebrow i { color:var(--gold); font-size:14px; }

.bakr-intro-inner h2 { max-width:820px; margin:0 auto 12px; color:var(--ink); font-family:var(--font-display); font-size:clamp(1.8rem,3.2vw,2.65rem); font-weight:800; letter-spacing:-.045em; line-height:1.12; }

.bakr-intro-inner h2 span { color: var(--text-accent); }

.bakr-intro-inner p { max-width:760px; margin:0 auto 20px; color:var(--ink-soft); font-size: var(--text-sm); line-height:1.75; }

.nx-step { box-shadow:0 12px 28px -22px rgba(20,58,43,.38),0 2px 9px rgba(20,58,43,.04); }

.nx-step:hover { box-shadow:0 20px 36px -22px rgba(20,58,43,.38),0 8px 18px rgba(20,58,43,.08); }

@media (max-width:767.98px) {
  .bakr-intro-section { padding:28px 16px 38px; }
  .bakr-intro-inner p { font-size: var(--text-caption); }

  .nx-steps { padding-top:38px; }
}

@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* =====================================================================
   BAKR premium landing-page refinements
   ===================================================================== */

/* DNSC-only scholarship cards: image-first, outlined in gold, and linked to
   the existing details modals so no original scholarship behavior is removed. */
.nx-scholarship-strip {
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(58px, 6vw, 84px);
  background: linear-gradient(180deg, var(--vanilla) 0%, var(--surface) 100%);
}

.nx-strip-heading { margin-bottom: clamp(28px, 3vw, 42px); }

.nx-strip-heading h2 { margin-top: 15px !important; text-align: center; }

.nx-strip-heading p { max-width: 760px; text-align: center; }

.bakr-dnsc-scholarship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}

.bakr-dnsc-card {
  min-width: 0; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid rgba(184,145,47,.62);
  border-radius: 18px; box-shadow: 0 12px 30px rgba(20,58,43,.07), 0 3px 9px rgba(43,41,37,.035);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bakr-dnsc-card:hover {
  transform: translateY(-5px); border-color: var(--gold);
  box-shadow: 0 22px 42px rgba(20,58,43,.13), 0 0 0 3px rgba(184,145,47,.09);
}

.bakr-dnsc-card-image {
  position: relative; isolation: isolate; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--sage-tint); border-bottom: 2px solid var(--gold);
}

.bakr-dnsc-card-image::after {
  content: ""; position: absolute; z-index: 0; inset: 35% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20,58,43,.44) 100%); pointer-events: none;
}

.bakr-dnsc-card-image > img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}

.bakr-dnsc-card:hover .bakr-dnsc-card-image > img { transform: scale(1.045); }

.bakr-dnsc-image-tag {
  position: absolute; z-index: 1; left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 92px);
  padding: 7px 10px; border: 1px solid rgba(246,223,160,.7); border-radius: 999px;
  color: var(--text-strong); background: rgba(253,251,248,.94); backdrop-filter: blur(8px);
  font-size: var(--text-xs); font-weight: 800; letter-spacing: .02em;
}

.bakr-dnsc-image-tag i { color: var(--gold); }

.bakr-dnsc-seal {
  position: absolute; z-index: 1; right: 14px; bottom: 13px;
  display: grid; place-items: center; width: 58px; height: 58px; padding: 5px;
  border: 1px solid rgba(184,145,47,.8); border-radius: 50%;
  background: rgba(255,255,255,.96); box-shadow: 0 6px 18px rgba(0,0,0,.17);
}

.bakr-dnsc-seal img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.bakr-dnsc-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 23px 23px 22px; }

.bakr-dnsc-kicker { margin-bottom: 8px; color: #8a6b25; font-size: var(--text-xs); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.bakr-dnsc-card-body h3 {
  margin: 0 0 11px; color: var(--text-strong); font-family: var(--font-display);
  font-size: clamp(16px, 1.35vw, 19px); font-weight: 800; line-height: 1.35; letter-spacing: -.025em;
}

.bakr-dnsc-card-body p { margin: 0 0 21px; color: var(--ink-soft); font-size: var(--text-caption); line-height: 1.75; }

.bakr-dnsc-details {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  margin-top: auto; padding: 11px 15px; border: 1px solid rgba(184,145,47,.65); border-radius: 10px;
  color: var(--text-strong); background: var(--page-bg); font: 700 12.5px var(--font-body);
  cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.bakr-dnsc-details i { color: var(--gold); font-size: 14px; }

.bakr-dnsc-details:hover {
  color: var(--vanilla); background: var(--green-900); border-color: var(--green-900); transform: translateY(-1px);
}

.bakr-dnsc-details:hover i { color: var(--gold-light); }

@media (max-width: 991.98px) {

  .bakr-dnsc-scholarship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bakr-dnsc-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 8px); width: 100%; justify-self: center; }
}

@media (max-width: 767.98px) {

  .bakr-dnsc-scholarship-grid { grid-template-columns: 1fr; gap: 20px; }
  .bakr-dnsc-card:last-child { grid-column: auto; max-width: none; }
  .bakr-dnsc-card-image { aspect-ratio: 16 / 9; }
  .bakr-dnsc-card-body { padding: 21px; }
}

@media (max-width: 390px) {

  .bakr-dnsc-card-body { padding: 18px; }
  .bakr-dnsc-seal { width: 48px; height: 48px; right: 10px; bottom: 10px; }
  .bakr-dnsc-image-tag { left: 10px; top: 10px; font-size: var(--text-xs); }
}

@media (prefers-reduced-motion: reduce) {
  .bakr-dnsc-card,
  .bakr-dnsc-card-image > img,
  .bakr-dnsc-details { transition: none !important; }
}

/* ============================================================
   BAKR FINAL VISUAL FIXES — hero alignment, overlay, and gallery
   ============================================================ */
/* Premium campus-photo atmosphere and restrained gold detailing. */
.bakr-intro-section {
  position: relative;
  isolation: isolate;
}

.bakr-intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(253,251,248,.94), rgba(253,251,248,.91)),
    url("../images/img/dnsc_campus.jpg") center / cover no-repeat;
  background-attachment: scroll;
}

.bakr-dd-icon {
  flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; font-size: 17px; color: #f6dfa0;
  background: linear-gradient(145deg, #1f4d3a, #143a2b);
  box-shadow: inset 0 0 0 1px rgba(246,223,160,.28), 0 6px 12px -6px rgba(20,58,43,.55);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.bakr-dd-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }

.bakr-dd-text strong { font: 700 13.5px 'Poppins', sans-serif; color: #143a2b; }

.bakr-dd-text small { margin-top: 2px; font: 500 11.5px 'Poppins', sans-serif; color: var(--ink-soft); }

.bakr-dd-arrow {
  margin-left: auto; font-size: var(--text-sm); color: #b8912f;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .bakr-dd-icon,
  .bakr-dd-arrow { transition: none; }
}

/* ==========================================================================
   HERO + GALLERY RHYTHM
   One authoritative block (replaces four earlier overlapping layers): a
   shorter hero, clear breathing room, and a lighter, quieter gallery.
   ========================================================================== */

.bakr-gallery-band {
  margin-top: clamp(40px, 5vw, 72px);
  padding: 0 clamp(16px, 3vw, 32px) clamp(32px, 4vw, 48px);
  background: var(--page-bg);
}

.bakr-gallery-shell { max-width: 1240px; margin: 0 auto; }

.bakr-gallery-track {
  display: grid; grid-template-columns: .85fr 1fr 1.25fr 1fr .85fr;
  align-items: center; gap: clamp(10px, 1.2vw, 18px);
}

.bakr-gallery-card {
  position: relative; min-width: 0; margin: 0; overflow: hidden;
  height: clamp(150px, 15vw, 200px);
  border: 1px solid rgba(184, 145, 47, .45); border-radius: var(--radius-card);
  background: var(--sage-tint);
  box-shadow: 0 10px 22px -16px rgba(20, 58, 43, .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bakr-gallery-mid { height: clamp(165px, 17vw, 220px); }

.bakr-gallery-featured {
  height: clamp(190px, 20vw, 260px);
  border: 2px solid var(--gold);
  box-shadow: 0 18px 34px -20px rgba(20, 58, 43, .45);
}

.bakr-gallery-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.bakr-gallery-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 58, 43, 0) 40%, rgba(20, 58, 43, .78) 100%);
  transition: opacity .25s ease;
}

.bakr-gallery-card figcaption {
  position: absolute; z-index: 1; left: 14px; right: 12px; bottom: 13px;
  display: flex; flex-direction: column; gap: 2px; color: #fff;
  transition: opacity .25s ease, transform .25s ease;
}

.bakr-gallery-card figcaption span { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }

.bakr-gallery-card figcaption strong { font-size: clamp(.8rem, 1vw, 1rem); font-weight: 700; line-height: 1.2; }

.bakr-gallery-featured figcaption { left: 20px; bottom: 18px; }

.bakr-gallery-featured figcaption strong { font-size: clamp(1rem, 1.4vw, 1.3rem); }

.bakr-gallery-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 18px 32px -18px rgba(20, 58, 43, .4); }

.bakr-gallery-card:hover img { transform: scale(1.04); }

/* On desktop only the featured photo carries a caption; the others reveal theirs on hover. */@media (min-width: 768px) and (hover: hover) {
  .bakr-gallery-card:not(.bakr-gallery-featured)::after,
  .bakr-gallery-card:not(.bakr-gallery-featured) figcaption { opacity: 0; }
  .bakr-gallery-card:not(.bakr-gallery-featured) figcaption { transform: translateY(6px); }
  .bakr-gallery-card:not(.bakr-gallery-featured):hover::after,
  .bakr-gallery-card:not(.bakr-gallery-featured):hover figcaption { opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {

  .bakr-gallery-track { gap: 8px; }
  .bakr-gallery-card figcaption { left: 10px; right: 8px; bottom: 10px; }
  .bakr-gallery-card figcaption strong { font-size: var(--text-xs); }
}

@media (max-width: 767.98px) {
  .bakr-gallery-band { margin-top: 28px; padding: 0 16px 28px; }
  .bakr-gallery-track {
      display: flex; overflow-x: auto; gap: 12px; padding: 4px 3px 14px;
      scroll-snap-type: x mandatory; scrollbar-width: thin;
    }
  .bakr-gallery-card,
  .bakr-gallery-mid,
  .bakr-gallery-featured {
      flex: 0 0 min(78vw, 340px); height: 200px; scroll-snap-align: center;
    }
  .bakr-gallery-card figcaption strong,
  .bakr-gallery-featured figcaption strong { font-size: var(--text-md); }
}

@media (prefers-reduced-motion: reduce) {
  .bakr-gallery-card,
  .bakr-gallery-card img,
  .bakr-gallery-card::after,
  .bakr-gallery-card figcaption { transition: none !important; }
  .bakr-gallery-card:hover,
  .bakr-gallery-card:hover img { transform: none; }
}

/* FAQ links inside answers */
.nx-faq-answer a { color: var(--text-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.nx-faq-answer a:hover { color: var(--text-strong); }

@keyframes nxFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HERO — full-width photo
   ========================================================================== */
.bk-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: min(100vh, 800px); padding: calc(var(--nav-offset) + 36px) 0 72px;
  color: #fff; background: var(--green-900);
}
.bk-hero-bg { position: absolute; inset: 0; z-index: -2; }
.bk-hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.bk-hero::before {                       /* keeps the text readable while the photo stays visible */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(14, 44, 32, .32), transparent 30%),
    linear-gradient(96deg, rgba(14, 44, 32, .62) 0%, rgba(14, 44, 32, .36) 42%, rgba(14, 44, 32, 0) 72%);
}
.bk-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }

.bk-hero h1 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; font-size: clamp(1.85rem, 1.1rem + 3.6vw, 3.8rem); color: #fff; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.bk-hero h1 em { display: block; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: -.02em; color: var(--gold-light); }
.bk-hero-copy > p { max-width: 52ch; margin: 0 0 28px; font-size: var(--text-md); line-height: 1.75; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.bk-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bk-hero .bk-btn-outline {
  color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 18px rgba(0, 0, 0, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bk-hero .bk-btn-outline:hover { background: rgba(255, 255, 255, .3); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .bk-hero-copy > * { animation: bk-hero-rise .7s ease backwards; }
  .bk-hero-copy > :nth-child(2) { animation-delay: .08s; } .bk-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .bk-hero-copy > :nth-child(4) { animation-delay: .24s; } .bk-hero-copy > :nth-child(5) { animation-delay: .32s; }
  .bk-hero-bg img { animation: bk-hero-zoom 30s ease-in-out infinite alternate; }
  @keyframes bk-hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@keyframes bk-hero-zoom { to { transform: scale(1.07); } }

@media (max-width: 991.98px) {
  .bk-hero { min-height: 0; padding: calc(var(--nav-offset) + 20px) 0 52px; }
  .bk-hero::before { background: linear-gradient(180deg, rgba(14, 44, 32, .62), rgba(14, 44, 32, .42) 55%, rgba(14, 44, 32, .66)); }
  .bk-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 575.98px) {
  .bk-hero-actions .nx-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   AT A GLANCE — one panel instead of a centred row of icons
   ========================================================================== */
.bk-glance { padding: 8px 0 72px; background: linear-gradient(180deg, var(--vanilla-deep), var(--vanilla)); }
.bk-ledger { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 28px 56px -34px rgba(20, 58, 43, .45); }
.bk-ledger-intro { position: relative; padding: 40px 36px; color: #fff; background: linear-gradient(160deg, var(--green-900), var(--green-700)); }
.bk-ledger-intro::after { content: ""; position: absolute; left: 36px; bottom: 0; width: 56px; height: 4px; background: var(--gold); }
.bk-ledger-kicker { font-size: var(--text-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.bk-ledger-intro h2 { margin: 14px 0 14px; font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.bk-ledger-intro p { margin: 0 0 22px; color: rgba(255, 255, 255, .8); font-size: var(--text-sm); line-height: 1.7; }
.bk-ledger-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light) !important; font-weight: 600; font-size: var(--text-sm); text-decoration: none; padding-bottom: 3px; border-bottom: 1.5px solid rgba(246, 223, 160, .5); }
.bk-ledger-link:hover { border-bottom-color: var(--gold-light); }

.bk-ledger-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.bk-ledger-cell { padding: 30px 32px; border-left: 1px solid var(--border); }
.bk-ledger-cell:nth-child(n + 3) { border-top: 1px solid var(--border); }
.bk-ledger-cell:nth-child(odd) { border-left: 0; }
.bk-ledger-cell dt { margin: 0 0 6px; font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.bk-ledger-cell dd { margin: 0; display: grid; gap: 8px; }
.bk-ledger-num { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; letter-spacing: -.02em; color: var(--text-accent); font-variant-numeric: tabular-nums; }
.bk-ledger-cell small { color: #5b564f; font-size: var(--text-caption); line-height: 1.55; }
.bk-ledger-cell small b { color: var(--text-strong); }
.bk-split { display: flex; gap: 3px; height: 8px; max-width: 220px; }
.bk-split i { display: block; border-radius: 99px; }
.bk-split .s1 { background: var(--green-700); } .bk-split .s2 { background: var(--gold); } .bk-split .s3 { background: var(--sage); }

@media (max-width: 991.98px) {
  .bk-ledger { grid-template-columns: 1fr; }
  .bk-ledger-intro { padding: 32px 28px; }
  .bk-ledger-intro::after { left: 28px; }
}
@media (max-width: 575.98px) {
  .bk-ledger-grid { grid-template-columns: 1fr; }
  .bk-ledger-cell { border-left: 0 !important; padding: 24px 24px; }
  .bk-ledger-cell:nth-child(n + 2) { border-top: 1px solid var(--border); }
}

/* Layering for the hero collage, and no sideways scroll from the gallery strip on phones. */
.bakr-gallery-band { overflow-x: clip; }

/* ---------- Legibility floor (audit 2026-11-09) ---------- */
.bakr-dnsc-image-tag { font-size: var(--text-xs); }
.bakr-dnsc-kicker { font-size: var(--text-xs); color: var(--gold-text); }
.bakr-gallery-card figcaption span { font-size: var(--text-xs); }

/* Hero right side: the scholarship providers' logos (2026-11-13) */
.bk-hero-providers { display: grid; justify-items: center; gap: 18px; align-self: end; margin-bottom: 8px; }
.bk-hero-providers-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.bk-hero-providers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 20px; max-width: 500px; }
.bk-hero-providers li { display: grid; justify-items: center; gap: 8px; width: 76px; }
.bk-provider-logo {
  width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden;
  border-radius: 50%; background: #fff; border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55);
}
.bk-provider-logo img { width: 78%; height: 78%; object-fit: contain; }
.bk-hero-providers li > span:last-child { font-size: var(--text-xs); font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
@media (max-width: 991.98px) {
  .bk-hero-providers { justify-items: start; align-self: start; margin: 0; }
  .bk-hero-providers ul { justify-content: flex-start; gap: 10px 8px; max-width: none; }
  .bk-hero-providers li { width: 52px; }
  .bk-provider-logo { width: 48px; height: 48px; border-width: 2px; }
  .bk-hero-providers li > span:last-child { font-size: var(--text-xs); }
}
