/* Believers IAS brand palette (from logo) */
:root {
  --brand-primary: #315878;   /* dark slate blue */
  --brand-primary-dark: #1e3a52;
  --brand-primary-light: #4a789e;
  --brand-accent: #e68d49;    /* terracotta orange */
  --brand-accent-dark: #c56e35;
  --brand-muted: #5c6570;     /* WCAG AA grey on white */
  --brand-soft: #e8f0f5;      /* soft blue tint (was mint) */
  --brand-ink: #242c34;
  --background: #ffffff;
  --foreground: #1a2b3c;
  --primary: var(--brand-primary);
  --accent: var(--brand-primary);
  --gold: var(--brand-accent);
}

/* Footer — desktop: tight; mobile sticky bar clearance is set in the max-width:767px block */
body.min-h-screen {
  padding-bottom: 20px !important;
}
@media (max-width: 767px) {
  body.min-h-screen {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Hero title + lead — slightly smaller than utility defaults */
#hero-main h1.font-display {
  font-size: 1.4rem !important;
  line-height: 1.15 !important;
}
#hero-main h1.font-display + p {
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}
@media (min-width: 360px) {
  #hero-main h1.font-display {
    font-size: 1.6rem !important;
  }
}
@media (min-width: 640px) {
  #hero-main h1.font-display {
    font-size: 1.95rem !important;
  }
  #hero-main h1.font-display + p {
    font-size: 1.05rem !important;
  }
}
@media (min-width: 768px) {
  #hero-main h1.font-display {
    font-size: 2.35rem !important;
  }
  #hero-main h1.font-display + p {
    font-size: 1.125rem !important;
  }
}
@media (min-width: 1024px) {
  #hero-main h1.font-display {
    font-size: 2.65rem !important;
  }
}

/* Believers IAS — minimal header: logo left, Enroll Now right */
header > .hidden.border-b {
  display: none !important;
}
header .sticky > .section-wrap {
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
header nav {
  display: none !important;
}
header .site-logo,
header img[alt*="Believers"] {
  display: block;
  height: 2.5rem !important;
  width: auto !important;
  max-width: min(200px, 58vw);
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 640px) {
  header .site-logo,
  header img[alt*="Believers"] {
    height: 2.75rem !important;
    max-width: 240px;
  }
}
@media (min-width: 768px) {
  header .site-logo,
  header img[alt*="Believers"] {
    height: 3rem !important;
    max-width: 260px;
  }
}
header .section-wrap > a.group {
  flex: 0 1 auto;
  min-width: 0;
  max-width: none;
}
header .section-wrap > .flex.items-center {
  flex-shrink: 0;
}
header .section-wrap .school-btn.inline-flex {
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Mobile spacing + reveal fallback                                           */
/* Scroll-reveal leaves opacity-0 content taking space when JS is slow/fails. */
/* -------------------------------------------------------------------------- */

/* Always show reveal blocks after a short delay if JS never flips them */
.transition-all.duration-700.opacity-0.translate-y-10,
.transition-all.opacity-0.translate-y-10 {
  animation: reveal-fallback 0.45s ease forwards;
  animation-delay: 0.35s;
}
@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
/* Once JS marks them visible, don't fight the animation */
.transition-all.duration-700.opacity-100,
.transition-all.opacity-100 {
  animation: none;
}

@media (max-width: 767px) {
  /* Disable scroll-reveal hide state on phones — content must be visible */
  .transition-all.duration-700.opacity-0.translate-y-10,
  .transition-all.opacity-0.translate-y-10 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Tighter section rhythm */
  .section-pad-airy {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
  }
  .section-pad-normal {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  .section-pad-tight {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
  }
  .section-gap {
    margin-top: 0.75rem !important;
  }
  .section-gap-sm {
    margin-top: 0.5rem !important;
  }

  /* Hero: less air under CTAs / between blocks */
  #hero-main {
    padding-top: 0.5rem !important;
  }
  #hero-main > .section-wrap {
    padding-bottom: 1rem !important;
  }
  #hero-main .grid.gap-6 {
    gap: 1rem !important;
  }
  #hero-main .mt-6 {
    margin-top: 0.875rem !important;
  }
  #hero-main .mb-5 {
    margin-bottom: 0.75rem !important;
  }
  #hero-main .sm\:mt-7 {
    margin-top: 0.875rem !important;
  }

  /* Enquiry form sits above content on mobile (order-1) — keep it compact */
  #enquiry-form .p-6 {
    padding: 1rem !important;
  }
  #enquiry-form .px-6.py-5 {
    padding: 0.875rem 1rem !important;
  }
  #enquiry-form .mb-5 {
    margin-bottom: 0.75rem !important;
  }
  #enquiry-form .space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem !important;
  }

  /* Why / programme carousels — less top gap before cards */
  #why-believers .section-title,
  #promise .section-title,
  #programmes .section-title,
  #safety .section-title,
  #classrooms .section-title,
  #gallery .section-title,
  #location .section-title,
  #faq .section-title {
    margin-top: 0.5rem !important;
  }

  #faq .space-y-3 > div > .border-t[hidden] {
    display: none !important;
  }
}


/* Static mode: collapse unused WebGL background shell */
.pointer-events-none.fixed.inset-0.-z-10 {
  display: none !important;
}

/* Course select — matches original form dropdown design */
.course-select-trigger {
  cursor: pointer;
  appearance: none;
}
.course-select-trigger:focus {
  outline: none;
}
.course-select-trigger.border-forest {
  border-color: #315878 !important;
}
.course-select-menu--portal {
  box-shadow: 0 12px 40px rgba(49, 88, 120, 0.14);
}
.course-select-option {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.course-select-option:focus-visible {
  outline: 2px solid #315878;
  outline-offset: -2px;
}

/* Classroom YouTube video popup */
body.classroom-video-modal-open {
  overflow: hidden;
}

.classroom-video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.classroom-video-modal[hidden] {
  display: none !important;
}

.classroom-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 44, 0.72);
  backdrop-filter: blur(4px);
}

.classroom-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.classroom-video-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #242c34;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.classroom-video-modal__close:hover {
  background: #fff;
}

.classroom-video-modal__frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.classroom-video-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Enquiry CTA modal */
body.enquiry-modal-open {
  overflow: hidden;
}

.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 768px) {
  .enquiry-modal {
    align-items: center;
    padding: 1.25rem;
  }
}

.enquiry-modal[hidden] {
  display: none !important;
}

.enquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 44, 0.72);
  backdrop-filter: blur(4px);
}

.enquiry-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: min(92vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .enquiry-modal__dialog {
    width: min(36rem, calc(100vw - 2.5rem));
    max-width: 36rem;
    border-radius: 1rem;
    max-height: min(88vh, 760px);
  }
}

/* Desktop popup: stack Phone/Email so email is fully usable */
@media (min-width: 768px) {
  .enquiry-modal__root .grid.sm\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
}

.enquiry-modal__root label.block {
  min-width: 0;
}

.enquiry-modal__root .school-input,
.enquiry-modal__root input,
.enquiry-modal__root textarea,
.enquiry-modal__root .course-select-trigger {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.enquiry-modal__root input[type='email'] {
  letter-spacing: 0.01em;
}

.enquiry-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #242c34;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.enquiry-modal__close:hover {
  background: #fff;
}

.enquiry-modal__root .bg-forest {
  border-radius: 1.25rem 1.25rem 0 0;
}

@media (min-width: 768px) {
  .enquiry-modal__root .bg-forest {
    border-radius: 1rem 1rem 0 0;
  }
}

.enquiry-modal__root .border-4 {
  border-width: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.enquiry-modal__thanks[hidden] {
  display: none !important;
}

.enquiry-modal__thanks-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.75rem 2.75rem;
  min-height: 280px;
  background: #fff;
}

.enquiry-modal__thanks-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #e8f0f5;
  color: #315878;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.enquiry-modal__thanks-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #315878;
}

.enquiry-modal__thanks-text {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5a6570;
}

.enquiry-modal__thanks-redirect {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #315878;
}

.enquiry-modal__thanks-redirect [data-redirect-count] {
  display: inline-block;
  min-width: 1ch;
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------------- */
/* Our Programs — balanced cards, full description                            */
/* -------------------------------------------------------------------------- */

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 62rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.375rem;
  }
}

.programs-grid__item {
  min-width: 0;
}

.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(49, 88, 120, 0.1);
  box-shadow: 0 4px 16px rgba(49, 88, 120, 0.06);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 88, 120, 0.2);
  box-shadow: 0 12px 28px rgba(49, 88, 120, 0.1);
}

.program-card__media {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.875rem;
  aspect-ratio: 16 / 6;
  height: auto;
  background: var(--brand-soft);
}

.program-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-card:hover .program-card__img {
  transform: scale(1.02);
}

.program-card__badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 2;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(49, 88, 120, 0.1);
}

.program-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 0.875rem 0.375rem 0.375rem;
}

.program-card__title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
}

@media (min-width: 640px) {
  .program-card__title {
    font-size: 1.0625rem;
  }
}

.program-card__desc {
  margin: 0.5rem 0 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #566676;
}

.program-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  width: fit-content;
  min-width: 8.5rem;
  padding: 0.5625rem 1.125rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(49, 88, 120, 0.22);
  background: #f4f8fb;
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    gap 0.25s ease;
}

.program-card__cta span {
  transition: transform 0.25s ease;
}

.program-card__cta:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  gap: 0.5rem;
}

.program-card__cta:hover span {
  transform: translateX(2px);
}

/* -------------------------------------------------------------------------- */
/* Classrooms — inline YouTube embeds                                         */
/* -------------------------------------------------------------------------- */

.classroom-video-grid {
  align-items: stretch;
}

.classroom-video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(49, 88, 120, 0.12);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(49, 88, 120, 0.06);
}

@media (max-width: 639px) {
  .classroom-video-card {
    min-width: 85%;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

.classroom-video-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1720;
}

.classroom-video-card__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.classroom-video-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem 1rem;
}

.classroom-video-card__emoji {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.125rem;
}

.classroom-video-card__title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-ink);
}

.classroom-video-card__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5a6b7a;
}

/* Carousel-wrapped video cards — article shell owns chrome */
[aria-label*='highlights carousel'] .classroom-video-card,
[aria-label*='highlights carousel'] .student-shorts-card {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  min-width: 0;
  width: 100%;
}

[aria-label*='highlights carousel'] .classroom-video-card__frame,
[aria-label*='highlights carousel'] .student-shorts-card__frame {
  border-radius: 0;
}

/* Testimonial author photo */
.testimonial-avatar {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-avatar[data-has-photo='true'] [data-testimonial-initial] {
  display: none;
}

.testimonial-avatar:not([data-has-photo='true']) img {
  display: none;
}

/* Campus Life batch labels */
.campus-batch-label {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  z-index: 2;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(49, 88, 120, 0.12);
  pointer-events: none;
}

.campus-batch-label--featured {
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  background: var(--brand-primary);
  color: #fff;
}

/* Student YouTube Shorts testimonials */
.student-shorts-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.student-shorts-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .student-shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    overflow: visible;
    max-width: 72rem;
    margin-inline: auto;
    padding-bottom: 0;
  }
}

.student-shorts-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(49, 88, 120, 0.12);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(49, 88, 120, 0.06);
  min-width: 0;
  width: 100%;
  scroll-snap-align: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .student-shorts-card {
    min-width: 0;
    scroll-snap-align: unset;
    flex-shrink: unset;
  }
}

.student-shorts-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #0f1720;
}

.student-shorts-card__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.student-shorts-card__meta {
  padding: 0.875rem 1rem 1rem;
}

.student-shorts-card__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand-ink);
}

.student-shorts-card__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5a6b7a;
}

/* Location map — match left column height on desktop */
@media (min-width: 1024px) {
  #location .location-map-col {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #location .location-map-wrap {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
  }

  #location .location-map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}

/* Enquiry submit button success animation */
.enquiry-submit-btn {
  position: relative;
  overflow: hidden;
  min-height: 3rem;
}

.enquiry-submit-btn__label,
.enquiry-submit-btn__done,
.enquiry-submit-btn__spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.enquiry-submit-btn__done {
  opacity: 0;
  transform: translateY(-115%);
  pointer-events: none;
}

.enquiry-submit-btn__spinner {
  opacity: 0;
  pointer-events: none;
}

.enquiry-submit-btn__spinner-ring {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: enquiry-spinner-spin 0.7s linear infinite;
}

.enquiry-submit-btn.is-loading .enquiry-submit-btn__label {
  opacity: 0;
}

.enquiry-submit-btn.is-loading .enquiry-submit-btn__spinner {
  opacity: 1;
}

@keyframes enquiry-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

.enquiry-submit-btn.is-success .enquiry-submit-btn__label {
  transform: translateY(115%);
  opacity: 0;
}

.enquiry-submit-btn.is-success .enquiry-submit-btn__done {
  transform: translateY(0);
  opacity: 1;
}

.enquiry-submit-btn__icon {
  width: 2rem;
  height: 2rem;
  display: block;
}

.enquiry-submit-btn__circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
}

.enquiry-submit-btn__check {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.enquiry-submit-btn.is-success .enquiry-submit-btn__circle {
  animation: enquiry-circle-draw 0.55s ease forwards;
}

.enquiry-submit-btn.is-success .enquiry-submit-btn__check {
  animation: enquiry-check-draw 0.35s 0.42s ease forwards;
}

@keyframes enquiry-circle-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes enquiry-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.enquiry-form-error[hidden] {
  display: none !important;
}

/* Lighthouse a11y: stronger muted text + tap targets */
.text-ink-muted,
.text-brand-muted,
[class*="text-ink-muted"] {
  color: #4a5560 !important;
}
.school-btn,
.course-select-trigger,
button[type="submit"],
a.school-btn {
  min-height: 44px;
  min-width: 44px;
}
/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Contrast fixes for common failing pairs */
.text-gold,
.text-gold-light {
  color: #9a5a18 !important; /* darker gold on light surfaces */
}
.bg-forest .text-gold,
.bg-forest .text-gold-light,
.from-forest .text-gold,
[class*="bg-forest"] .text-gold {
  color: #f0c27a !important; /* readable gold on dark forest */
}
.bg-gradient-to-r.from-gold,
.bg-gradient-to-r.from-gold.to-gold-light,
.from-gold.to-gold-light {
  color: #1a2b3c;
}
.bg-gradient-to-r.from-gold p,
.from-gold.to-gold-light p {
  color: #1a2b3c !important;
}

/* A11y contrast → target 100 */
.text-ink-light { color: #4a5560 !important; }
.text-gold { color: #9a5a18 !important; }
.bg-forest .text-gold,
[class*="bg-forest"] .text-gold,
.bg-gradient-to-br.from-forest .text-gold { color: #f3d19a !important; }
/* small sticker text on gold */
.from-gold.to-gold-light p,
.bg-gradient-to-r.from-gold p { color: #1a2b3c !important; }
/* FAB tap targets */
a[href^="tel:"].fixed,
a[href*="wa.me"].fixed,
.fixed a[href^="tel:"],
.fixed a[href*="wa.me"] {
  min-width: 48px;
  min-height: 48px;
}
