/* ==========================================================================
   Dusk: page group 3 (Admissions, Fees, Contact, News)
   Reads the ground tokens from theme-c.css; nothing here sets a Hindi font.
   ========================================================================== */

/* ---------- Shared bits of this group ---------- */
.reach-label, .fee-desk h3 { overflow-wrap: anywhere; }

/* a small lamp: the bus-yellow light used by the 404 and the hero badge */
.news-lamp, .fee-lamp {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bus);
  box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.16), 0 0 22px 4px rgba(255, 199, 44, 0.45);
}

/* ==========================================================================
   ADMISSIONS
   ========================================================================== */
.adm-band .page-band-media img { object-position: 50% 80%; }

/* process: four steps on one rail, the brass rule runs from step to step */
.adm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adm-steps .process-step p { margin: 0; line-height: 1.6; }
@media (min-width: 1100px) {
  .adm-steps { gap: 0; border-top: 1px solid var(--hair); }
  .adm-steps .process-step { border-top: 0; padding: 26px 28px 0 0; }
  .adm-steps .process-step + .process-step { padding-left: 28px; border-left: 1px solid var(--hair); }
  .adm-steps .process-step + .process-step::before { left: 28px; }
}
/* below 1100 px the steps stack on one column, with a lane on the left for the bus road */
@media (max-width: 1099px) { .adm-steps { grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 36px; padding-left: 70px; } }
@media (max-width: 600px) { .adm-steps { gap: 32px; padding-left: 44px; } }

/* inquiry: heading and an arched view of the nursery beside the form */
.adm-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.adm-inquiry-head { text-align: left; margin-bottom: clamp(28px, 3.4vw, 44px); }
.adm-inquiry-head > p:not(.kicker, .section-eyebrow) { margin-inline: 0; }
.adm-inquiry-head h2 { margin: 4px 0 0; }
.adm-inquiry-photo { max-width: 360px; }
.adm-inquiry-photo img { object-position: 50% 50%; }
.adm-form-card { padding: clamp(24px, 3.4vw, 44px); }
.adm-form-card .btn-primary, .contact-form-card .btn-primary, .fee-form .btn-primary { justify-self: start; min-width: 220px; }
@media (min-width: 960px) {
  .adm-inquiry-intro { position: sticky; top: 104px; }
}
@media (max-width: 959px) {
  .adm-inquiry-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .adm-inquiry-head { margin-bottom: 0; }
  .adm-inquiry-photo { display: none; }
}

/* Why KBIC: the record, set large over dusk, with the award stage below */
.adm-why {
  padding-bottom: clamp(88px, 10vw, 140px) !important;
  background:
    radial-gradient(ellipse 50% 60% at 85% 0%, rgba(255, 199, 44, 0.12), rgba(255, 199, 44, 0) 70%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(142, 151, 190, 0.16), rgba(142, 151, 190, 0) 70%),
    var(--dusk);
}
.adm-why-head { max-width: 1040px; }
.adm-why .kicker { color: var(--brass-light); }
.adm-why-title {
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.008em;
  color: var(--paper);
  text-wrap: balance;
}
.adm-why-title > span { display: block; }
.adm-why-title > span + span { margin-top: 0.08em; }
.adm-why-title > span:nth-child(2) { color: var(--brass-light); }
.adm-why-title > span:nth-child(3) { color: var(--on-dark-2); }
.adm-why-photo {
  margin: clamp(36px, 4.6vw, 64px) 0 0;
  outline: 1px solid rgba(235, 203, 138, 0.38);
  outline-offset: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1280 / 547;
  background: var(--night);
}
.adm-why-photo img { width: 100%; height: 100%; object-fit: cover; }
.adm-why-foot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}
.adm-why-lede { margin: 0; font-size: var(--t-lede); line-height: 1.55; color: var(--on-dark-2); max-width: calc(46 * 0.575em); }
.adm-why-facts { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-why-facts .fact strong {
  min-height: 0;
  font-size: clamp(2.3rem, 3.6vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--bus);
  font-variation-settings: "opsz" 8;
  -webkit-text-stroke: 0.4px currentColor;
}
.adm-why-foot .button-row { grid-column: 1; }
@media (max-width: 959px) {
  .adm-why-foot { grid-template-columns: minmax(0, 1fr); }
  .adm-why-facts { grid-column: 1; grid-row: auto; }
  .adm-why-foot .button-row { grid-row: auto; }
}
@media (max-width: 520px) {
  .adm-why-facts { grid-template-columns: minmax(0, 1fr); }
  .adm-why-facts .fact { border-left: 0; padding: 18px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; gap: 12px; }
  .adm-why-facts .fact:first-child { border-top: 0; }
  .adm-why-facts .fact span { margin-top: 0; }
  .adm-why-facts .fact strong { font-size: 2.1rem; }
  .adm-why-photo { outline-offset: 6px; }
}
:lang(hi) .adm-why-title:not(.is-latin) { line-height: 1.3; font-weight: 400; }

/* ==========================================================================
   FEES
   ========================================================================== */
.fee-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.fee-form-card { padding: clamp(24px, 3.4vw, 44px); }
.fee-form-card h2 { margin-bottom: clamp(20px, 2.4vw, 28px); }

/* amount: a fixed rupee sign inside the frame */
.fee-amount { position: relative; display: block; min-width: 0; }
.fee-amount::before {
  content: "\20B9";
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 -50%;
  z-index: 1;
  font-family: var(--f-latin);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent);
  pointer-events: none;
}
.form .fee-amount input { padding-left: 40px; font-variant-numeric: lining-nums tabular-nums; }
.fee-confirm { min-height: 48px; align-items: center; padding: 6px 0; }
.fee-confirm input { margin-top: 0; }

/* the helpdesk desk: a dusk panel with the call number lit */
.fee-desk {
  position: relative;
  padding: clamp(26px, 3.2vw, 40px);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255, 199, 44, 0.13), rgba(255, 199, 44, 0) 70%),
    linear-gradient(180deg, var(--dusk) 0%, var(--night) 100%);
  color: var(--fg-soft);
}
.fee-desk::before {
  content: "";
  position: absolute;
  left: clamp(26px, 3.2vw, 40px);
  top: 0;
  width: 44px;
  height: 2px;
  background: var(--bus);
}
.fee-desk h3 { color: var(--fg-strong); margin-bottom: 14px; }
.fee-rules { border-top: 1px solid var(--hair); }
.fee-rules li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--hair);
  line-height: 1.5;
  color: var(--fg);
}
.fee-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.5' fill='none' stroke='black'/%3E%3Cpath d='M6 10.4l2.6 2.5L14 7.4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.5' fill='none' stroke='black'/%3E%3Cpath d='M6 10.4l2.6 2.5L14 7.4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fee-line { margin: 18px 0 0; color: var(--fg-soft); overflow-wrap: anywhere; }
.fee-line strong { color: var(--fg-strong); }
.fee-line a {
  color: var(--fg-strong);
  text-decoration: underline;
  text-decoration-color: var(--spark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.fee-line a:hover { color: var(--accent); }
.fee-line--call { margin-top: 26px; }
.fee-line--call strong { display: block; font-weight: 600; color: var(--fg-soft); }
.fee-line--call a {
  display: inline-block;
  margin-top: 2px;
  font-family: var(--f-latin);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  color: var(--brass-light);
  font-variant-numeric: lining-nums tabular-nums;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 30;
  text-decoration-color: rgba(255, 199, 44, 0.55);
  text-underline-offset: 8px;
}
.fee-line--call a:hover { color: var(--bus); }
@media (min-width: 960px) {
  .fee-desk { position: sticky; top: 104px; }
}
@media (max-width: 959px) {
  .fee-layout { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-band .page-band-media picture { display: block; width: 100%; height: 100%; }
.contact-band .page-band-media img { object-position: 50% 60%; }
@media (max-width: 720px) { .contact-band .page-band-media img { object-position: 50% 78%; } }

/* the number, set at display size; the address and email beside it */
.reach {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.reach-label {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--accent);
}
:lang(hi) .reach .reach-label:not(.is-latin) { font-style: normal; font-weight: 400; font-size: 1.3rem; line-height: 1.5; }
.reach-number { margin: 0; }
.reach-number a {
  display: inline-block;
  font-family: var(--f-latin);
  font-weight: 500;
  font-size: clamp(3.4rem, 8.4vw, 7rem);
  line-height: 1;
  letter-spacing: -0.012em;
  color: var(--fg-strong);
  text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 40;
  background: linear-gradient(90deg, var(--brass), var(--bus)) left bottom / 0 3px no-repeat;
  padding-bottom: 12px;
  transition: background-size 0.5s var(--ease), color 0.2s;
}
.reach-number a:hover, .reach-number a:focus-visible { background-size: 100% 3px; color: var(--ink); }
.reach-call { padding-bottom: 4px; }
.reach-wa { margin: clamp(22px, 2.6vw, 32px) 0 0; }
.reach-wa .btn { white-space: normal; }
.reach-side { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.reach-item { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.reach-item address, .reach-item p { margin: 0; font-style: normal; font-size: 1.12rem; line-height: 1.55; color: var(--fg); overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .reach-number a { transition: none; } }
@media (max-width: 959px) {
  .reach { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 720px) {
  .reach-wa .btn { width: 100%; }
}

/* map: a wide window with a brass hairline */
.contact-map { border-color: rgba(122, 90, 28, 0.35); }
.contact-map iframe { height: clamp(320px, 38vw, 500px); }

/* write to us: an arched view of the welcome day beside the form */
.contact-write-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.contact-write-photo { max-width: 360px; justify-self: center; width: 100%; }
.contact-write-photo img { object-position: 52% 50%; }
.contact-form-card { padding: clamp(24px, 3.4vw, 44px); }
@media (max-width: 959px) {
  .contact-write-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-write-photo { display: none; }
}

/* ==========================================================================
   NEWS
   ========================================================================== */
/* featured event: the film on a dusk stage */
.news-feature { padding-top: clamp(40px, 5vw, 72px) !important; }
.video-grid.with-side {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.video-side h2 { color: var(--fg-strong); font-size: clamp(2rem, 3.6vw, 3.1rem); }
.video-side .kicker { color: var(--accent); }
.video-lede { margin: 18px 0 0; color: var(--fg-soft); font-size: 1.08rem; line-height: 1.6; }
.video-lede sup { font-size: 0.65em; line-height: 0; }
.video-meta {
  margin: 24px 0 28px;
  padding: 10px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  line-height: 2.4;
  font-weight: 600;
  color: var(--fg-strong);
}
.video-meta strong { margin-right: 0.35em; font-weight: 400; color: var(--fg-soft); }
.video-stage { min-width: 0; justify-self: end; width: 100%; max-width: 852px; }
.video-frame {
  position: relative;
  border-radius: var(--radius);
  background: var(--night);
  aspect-ratio: 852 / 480;
  box-shadow: 0 0 0 1px rgba(235, 203, 138, 0.3), 0 40px 90px -30px rgba(8, 10, 28, 0.85), 0 0 120px -20px rgba(255, 199, 44, 0.18);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: var(--night); }
.video-caption {
  margin: 16px 0 0;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--fg-soft);
}
@media (max-width: 959px) {
  .video-grid.with-side { grid-template-columns: minmax(0, 1fr); }
  .video-stage { order: -1; justify-self: stretch; max-width: none; }
}
@media (max-width: 720px) {
  .news-feature .container { padding-inline: var(--gutter); }
  .video-stage { margin-inline: calc(-1 * var(--gutter)); width: auto; }
  .video-frame { border-radius: 0; box-shadow: 0 0 0 1px rgba(235, 203, 138, 0.22); }
  .video-caption { padding-inline: var(--gutter); }
  .video-side .btn { width: 100%; }
}

/* notices: a board with the date stamp lit on the left */
.news-board-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.news-board-stamp { display: flex; align-items: center; gap: 14px; padding-top: 18px; }
.news-board-stamp .news-last-updated {
  margin: 0;
  font-family: var(--f-latin);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--accent);
}
@media (min-width: 960px) {
  .news-board-stamp { position: sticky; top: 112px; flex-direction: column; align-items: flex-start; gap: 16px; }
}
#news-list > li.news-loading {
  display: block;
  font-weight: 400;
  color: var(--fg-soft);
  font-family: var(--f-display);
  font-style: italic;
}
:lang(hi) #news-list > li.news-loading { font-style: normal; }
#news-list > li { transition: background-color 0.25s; }
#news-list > li:hover { background: linear-gradient(90deg, rgba(210, 162, 76, 0.07), rgba(210, 162, 76, 0) 70%); }
#news-list > li:first-child:not(.news-loading) { font-size: 1.14rem; }
#news-list > li:first-child:not(.news-loading) > strong:first-child { color: var(--maroon); }
.news-board-list #news-status { margin-top: 16px; }
@media (max-width: 959px) {
  .news-board-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .news-board-stamp { padding-top: 0; }
}

/* ---------- Touch targets and focus in this group ---------- */
.fee-line a, .reach-item a { display: inline-block; padding-block: 9px; }
.fee-line--call a { padding-block: 4px 6px; }
.fee-confirm input { width: 24px; height: 24px; }
.video-frame video:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 720px) { .video-frame video:focus-visible { outline-offset: -3px; } }
/* on phones the film fills the width, so the frame also shows a ring above and below it on the dusk ground */
@media (max-width: 720px) { .video-frame:has(video:focus-visible) { outline: 4px solid var(--bus); outline-offset: 2px; } }

/* ==========================================================================
   DUSK ELEVATION (g3.js, forms.js, the engine in theme-c-fx.css)
   Resting CSS = finished state. Hidden start states live only inside
   prefers-reduced-motion: no-preference and on classes g3.js adds.
   ========================================================================== */

/* ---------- Living forms (admissions, contact, fees) ---------- */
.form :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="file"], [type="submit"], [type="button"]), select, textarea) {
  --kb-fill: 0% 2px;
  --kb-tick: none;
  padding-right: 42px;
  background-image: var(--kb-tick), linear-gradient(var(--bus), var(--bus)), var(--kb-chev, none);
  background-repeat: no-repeat;
  background-size: 18px 18px, var(--kb-fill), 20px 20px;
  background-position: var(--kb-tick-at, right 14px center), left bottom, right 14px center;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s, background-size 180ms var(--ease);
}
.form select:not([multiple]) {
  --kb-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --kb-tick-at: right 44px center;
  padding-right: 70px;
}
.form textarea { --kb-tick-at: right 14px top 15px; }
/* focus: the bottom edge fills with window light, left to right */
.form :is(input, select, textarea):focus { --kb-fill: 100% 2px; }
/* valid, once touched and filled: a small brass tick at the right edge */
.form :is(input:not([type="checkbox"]), textarea):user-valid:not(:placeholder-shown),
.form select:user-valid {
  --kb-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.6l3.4 3.3L14.5 5.3' fill='none' stroke='%239a7124' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* error, only after the visitor has touched the field: a soft ember underline */
.form :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="file"], [type="submit"], [type="button"]), select, textarea):user-invalid {
  border-color: rgba(201, 85, 61, 0.72);
  box-shadow: inset 0 -2px 0 #c9553d;
  background-color: var(--field-bg);
  --kb-tick: none;
}
/* sending: a thin ring turns at the left edge of the button; the label stays */
.form .btn.is-sending { position: relative; }
.form .btn.is-sending::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .form :is(input:not([type="checkbox"]), textarea):user-valid:not(:placeholder-shown),
  .form select:user-valid {
    --kb-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.6l3.4 3.3L14.5 5.3' fill='none' stroke='%239a7124' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' stroke-dasharray='17' stroke-dashoffset='17'%3E%3Canimate attributeName='stroke-dashoffset' from='17' to='0' dur='0.2s' fill='freeze'/%3E%3C/path%3E%3C/svg%3E");
  }
  .form .btn.is-sending::after { animation: kb-g3-spin 0.8s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .form :is(input, select, textarea) { transition: none; }
}
@keyframes kb-g3-spin { to { rotate: 1turn; } }

/* ---------- Admissions: the bus route ---------- */
.adm-steps .process-step-num { position: relative; isolation: isolate; width: max-content; }
/* the stop lamp: a soft round window light behind each step number, shown once
   the bus is running. ::before is the brass light a passed stop rests in,
   ::after the bus-yellow light of the stop the bus is at. The numeral keeps
   its own ink, so its contrast on the paper stays. */
.adm-steps.kb-bus .process-step-num::before,
.adm-steps.kb-bus .process-step-num::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 1.7em;
  height: 1.7em;
  margin: -0.85em 0 0 -0.85em;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.adm-steps.kb-bus .process-step-num::before { background: radial-gradient(circle, rgba(210, 162, 76, 0.34) 0%, rgba(210, 162, 76, 0.16) 38%, rgba(210, 162, 76, 0) 68%); }
.adm-steps.kb-bus .process-step-num::after { background: radial-gradient(circle, rgba(255, 199, 44, 0.62) 0%, rgba(255, 199, 44, 0.3) 36%, rgba(255, 199, 44, 0) 70%); }
.adm-steps.kb-bus .process-step-num:is(.kb-stop-past, .kb-stop-on)::before { opacity: 1; }
.adm-steps.kb-bus .process-step-num.kb-stop-on::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .adm-steps.kb-bus .process-step-num.kb-stop-on::after { animation: kb-switch-on 900ms ease-out backwards; }
  /* the road draws itself the first time it is seen, then the bus can drive */
  .adm-steps.kb-road-wait > .kbfx-br { opacity: 0; }
  .adm-steps.kb-road-in.kb-bus-across > .kbfx-br { animation: kb-g3-road-x 1.2s var(--ease) backwards; }
  .adm-steps.kb-road-in.kb-bus-side > .kbfx-br { animation: kb-g3-road-y 1.2s var(--ease) backwards; }
}
@keyframes kb-g3-road-x { from { clip-path: inset(-80px 100% -80px -80px); } to { clip-path: inset(-80px -80px -80px -80px); } }
@keyframes kb-g3-road-y { from { clip-path: inset(-80px -80px 100% -80px); } to { clip-path: inset(-80px -80px -80px -80px); } }

/* the odometer's digits inside a fact (theme-c.css styles every .fact span as a label) */
.fact strong span { margin-top: 0; font-size: inherit; line-height: inherit; color: inherit; }
.fact strong > span, .fact strong .kbfx-col { display: inline-block; }
.fact strong .kbfx-strip > span { display: block; }

/* ---------- Contact ---------- */
/* a short brass rule over each label, drawn once (data-kb-rule) */
.reach-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-bottom: 12px;
  background: var(--brass);
}
.reach-number a span { color: inherit; }
/* WhatsApp, phone and email: 48 px targets */
.reach-wa .btn { min-height: 48px; }
.reach-item a { min-height: 44px; }

/* the road to the gate */
.kb-road { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.kb-road svg { position: absolute; left: 0; top: 0; overflow: visible; }
.kb-road-bed { stroke: rgba(176, 128, 48, 0.13); stroke-width: 10; stroke-linecap: round; }
.kb-road-dots { stroke: rgba(154, 113, 36, 0.85); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 10; }
.kb-road-start { fill: var(--brass); }
.kb-road-pinbody { fill: var(--brass); stroke: var(--brass-deep); stroke-width: 1; }
.kb-road-pindot { fill: #1b1f40; }
.kb-road-shadow { fill: rgba(27, 31, 64, 0.22); }
.kb-road-ring { fill: none; stroke: var(--brass); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .kb-road.is-waiting .kb-road-reveal { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .kb-road.is-waiting :is(.kb-road-drop, .kb-road-shadow, .kb-road-start) { opacity: 0; }
  .kb-road.is-drawing .kb-road-reveal { stroke-dasharray: 1; animation: kb-g3-draw 2.5s cubic-bezier(0.45, 0.05, 0.35, 1) backwards; }
  .kb-road.is-drawing .kb-road-start { animation: kb-fade 400ms ease-out backwards; }
  .kb-road.is-drawing .kb-road-drop { animation: kb-g3-pin 640ms var(--ease-rise) 2.35s backwards; }
  .kb-road.is-drawing .kb-road-shadow { animation: kb-fade 400ms ease-out 2.45s backwards; }
  .kb-road.is-drawing .kb-road-ring { animation: kb-g3-ring 900ms ease-out 2.8s; }
}
@keyframes kb-g3-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes kb-g3-pin { from { opacity: 0; translate: 0 -24px; } 40% { opacity: 1; } }
@keyframes kb-g3-ring { from { opacity: 0.75; scale: 0.2; } to { opacity: 0; scale: 1.7; } }

/* ---------- News ---------- */
/* the cinema screen: the film's light spills onto the wall (behind the frame) */
.kb-news-glow {
  position: absolute;
  left: -4%;
  top: -6%;
  width: 108%;
  height: 112%;
  z-index: -1;
  border-radius: 24px;
  filter: blur(48px);
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.kb-news-glow.is-on { opacity: 0.55; }
@media (max-width: 720px) { .kb-news-glow { left: 0; top: 0; width: 100%; height: 100%; } }

/* the notice board: every date sits on a thin brass rail; the newest is brighter */
#news-list > li:not(.news-loading) { position: relative; padding-left: 20px; }
#news-list > li:not(.news-loading)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: -1px;
  width: 1px;
  background: rgba(210, 162, 76, 0.5);
  transform-origin: 50% 0;
  pointer-events: none;
}
#news-list > li:first-child:not(.news-loading)::before { width: 2px; background: var(--brass); }
/* a small stop on the rail at each date */
#news-list > li:not(.news-loading)::after {
  content: "";
  position: absolute;
  left: -3px;
  top: calc(18px + 0.55em);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(210, 162, 76, 0.85);
  pointer-events: none;
}
#news-list > li:first-child:not(.news-loading)::after { left: -2.5px; background: var(--brass); box-shadow: 0 0 0 3px rgba(210, 162, 76, 0.18); }
@media (prefers-reduced-motion: no-preference) {
  #news-list.kb-arm:not(.is-in) > li:not(.news-loading) { opacity: 0; }
  #news-list.kb-news-rise > li { animation: kb-g3-rise 620ms var(--ease-rise) calc(var(--i, 0) * var(--kb-step, 40ms)) backwards; }
  #news-list.kb-news-rise > li::before { animation: kb-g3-rail 560ms var(--ease-rise) calc(var(--i, 0) * var(--kb-step, 40ms)) backwards; }
  #news-list.kb-news-rise > li:first-child::before { animation-duration: 760ms; }
  #news-list.kb-news-rise > li::after { animation: kb-fade 400ms ease-out calc(180ms + var(--i, 0) * var(--kb-step, 40ms)) backwards; }
  .news-last-updated.kb-fresh { animation: kb-fade 500ms ease-out backwards; }
}
@keyframes kb-g3-rise { from { opacity: 0; translate: 0 12px; } }
@keyframes kb-g3-rail { from { scale: 1 0; } }

/* the notice-board lamp is a window light (data-kb-switch) */
.news-lamp { background: var(--kb-light, var(--bus)); box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.16), var(--kb-halo, 0 0 22px 4px rgba(255, 199, 44, 0.45)); }

/* ---------- Fees: the quiet desk lamp ---------- */
.fee-desk::after {
  content: "";
  position: absolute;
  right: clamp(26px, 3.2vw, 40px);
  top: clamp(30px, 3.6vw, 46px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass-light);
  box-shadow: 0 0 0 4px rgba(235, 203, 138, 0.14), 0 0 26px 8px rgba(235, 203, 138, 0.4);
  opacity: 0.5;
  transition: opacity 400ms ease;
  pointer-events: none;
}
/* someone is at the desk while the visitor is reading or using either card */
.fee-layout:is(:hover, :focus-within) .fee-desk::after { opacity: 1; }

/* ways to pay: two quiet blocks, each under a short brass rule (drawn once, data-kb-rule) */
.fee-ways-card { padding: clamp(24px, 3.4vw, 44px); }
.fee-ways-card h2 { margin-bottom: clamp(18px, 2.2vw, 26px); }
.fee-way { position: relative; padding: 22px 0 24px; border-top: 1px solid var(--hair); }
.fee-way::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 44px;
  height: 2px;
  background: var(--spark);
}
.fee-way h3 { margin: 0 0 8px; font-size: 1.35rem; color: var(--fg-strong); }
.fee-way p { margin: 0; color: var(--fg); line-height: 1.6; max-width: calc(52 * 0.575em); }
.fee-way .fee-way-action { margin-top: 20px; }
.fee-way-action .btn { min-height: 48px; white-space: normal; }
.fee-class-info { margin: 4px 0 0; padding-top: 20px; border-top: 1px solid var(--hair); color: var(--fg-soft); font-style: italic; font-family: var(--f-display); font-size: 1.12rem; line-height: 1.5; }
:lang(hi) .fee-class-info:not(.is-latin) { font-style: normal; font-size: 1.05rem; }
@media (max-width: 720px) { .fee-way-action .btn { width: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  /* the rules' ticks draw in, 80 ms apart, as the desk comes into view */
  .fee-rules li::before { animation: kb-g3-tick 420ms var(--ease) calc(200ms + var(--i, 0) * var(--kb-step, 80ms)) backwards; }
  .fee-rules.kb-arm:not(.is-in) li::before { animation: none; opacity: 0; }
}
@keyframes kb-g3-tick { from { clip-path: inset(0 100% 0 0); } }

/* print: decoration off */
@media print {
  .kb-road, .kb-news-glow { display: none !important; }
  #news-list > li, #news-list > li::before, #news-list > li::after, .fee-rules li::before, .news-last-updated { opacity: 1 !important; animation: none !important; clip-path: none !important; scale: none !important; }
}
/* the reach rows are open rows (rules above and below): their rim light warms those two edges only */
.reach .kb-rim-b::before, .reach .kb-rim-a::after, .reach .kb-rim-i { padding: 1px 0; }
/* the Why KBIC statement comes into focus at the foot of the screen and is sharp
   before its first line is 16% up the screen, so it is never soft where it is read.
   Only the focus moves (no dimming). view(0px): the page's scroll padding
   (kept for the dock) must not lift this timeline up the screen. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .adm-why-title.kb-sd[data-kb-lens] { animation-name: kb-g3-lens; animation-timeline: view(0px); animation-range: entry 0% entry 16vh; }
  }
}
@keyframes kb-g3-lens { from { filter: blur(6px); } to { filter: none; } }
