/* =====================================================================
   CUSTOM STYLES – things that are easier to read here than as Tailwind
   classes: buttons, form fields, the hero figure, the semester track,
   the 5-step rail, the FAQ accordion, the popup and the animations.
   Colours match tailwind/tailwind.config.js.
   ===================================================================== */
:root {
  --brand: #b5142a;
  --brand-dark: #931022;
  --wine: #3f0b15;
  --ink: #1d1a1b;
  --body: #4a4446;
  --muted: #77706f;
  --soft: #f5f1ee;
  --line: #e6dfda;
  --sun: #f2b33d;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-padding-top: 84px; }
[hidden] { display: none !important; }   /* hidden always wins over display rules below */
html, body { overflow-x: clip; }
:focus-visible { outline: 2.5px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
mark { color: inherit; }

/* Page width */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
@media (max-width: 360px) { .wrap { padding: 0 12px; } }
@media (min-width: 1600px) { .wrap { max-width: 1320px; } }

/* Section spacing + headings */
.section { padding: 96px 0; }
@media (max-width: 920px) { .section { padding: 72px 0; } }
@media (max-width: 640px) { .section { padding: 56px 0; } }
.section-title {
  font-family: "Bricolage Grotesque", Figtree, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: var(--ink);
}
@media (max-width: 640px) { .section-title { font-size: clamp(26px, 7.4vw, 32px); } }


/* ---------------------------------------------------------------------
   BUTTONS  (.btn + .btn-red / .btn-line / .btn-white / .btn-ghost / .btn-link)
   --------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 8px;
  background: transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .12s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: not-allowed; }
.btn-red { background: var(--brand); color: #fff; }
.btn-red:hover { background: var(--brand-dark); }
.btn-line { color: var(--ink); border-color: #cfc5bf; }
.btn-line:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #fbeaec; }
.btn-ghost { color: #fff; border-color: #ffffff70; }
.btn-ghost:hover { border-color: #fff; }
.btn-link { min-height: 40px; padding: 8px 6px; color: var(--ink); }
.btn-link:hover { color: var(--brand); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
/* Light sweep across red/white buttons on hover */
.btn-red, .btn-white { overflow: hidden; isolation: isolate; }
.btn-red::before, .btn-white::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, #ffffff40 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-red:hover::before, .btn-white:hover::before { transform: translateX(120%); }
@media (max-width: 640px) {
  .btn { min-height: 46px; padding: 11px 18px; white-space: normal; text-align: center; line-height: 1.25; }
  .btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 360px) { .btn-sm { padding: 8px 12px; font-size: 13px; } }


/* ---------------------------------------------------------------------
   HEADER – shrinks and gets a shadow on scroll; red reading-progress line
   --------------------------------------------------------------------- */
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 24px -16px #3f0b1566; }
.nav { height: 70px; transition: height .3s var(--ease); }
.site-header.scrolled .nav { height: 60px; }
@media (max-width: 640px) { .nav, .site-header.scrolled .nav { height: 58px; } }
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--brand); transform: scaleX(var(--scroll, 0)); transform-origin: left;
}
.nav-link { position: relative; padding: 4px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }


/* ---------------------------------------------------------------------
   HERO – layout, dotted background, student figure
   Desktop: text | photo | form   ·   Tablet: text on top, form + photo   ·   Phone: text, form, photo, facts
   --------------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, #fdf3f1 0%, #fff 78%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(#b5142a26 1.2px, transparent 1.4px); background-size: 20px 20px;
  mask-image: radial-gradient(ellipse at 35% 40%, #000 0%, transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px 384px;
  grid-template-areas: "head fig form" "facts fig form";
  grid-template-rows: auto 1fr;
  column-gap: 32px;
  padding-top: 44px;
}
.hero-head  { grid-area: head; padding-bottom: 24px; }
.hero-form  { grid-area: form; align-self: center; padding: 24px 0 40px; animation: slide .8s var(--ease) .35s both; }
.hero-facts {
  grid-area: facts; align-self: end; margin-bottom: 44px;
  display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink);
  animation: up .7s var(--ease) .3s both;
}
.hero-head > * { animation: up .7s var(--ease) both; }
.hero-head > :nth-child(2) { animation-delay: .08s; }
.hero-head > :nth-child(3) { animation-delay: .16s; }
.highlight { background: linear-gradient(transparent 62%, #f2b33d88 62%); padding: 0 2px; }

.hero-figure {
  grid-area: fig; position: relative; align-self: end;
  display: flex; align-items: flex-end; justify-content: center;
  height: 560px; min-height: 440px; margin: 0;
}
.orb {
  position: absolute; left: 50%; bottom: 0; width: 100%; aspect-ratio: 1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #d01d38, var(--wine) 75%);
  animation: orb-in .8s var(--ease) both;
}
.orb-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed var(--sun); animation: spin 40s linear infinite; }
.hero-person {
  position: absolute; z-index: 1; bottom: 0; left: 54%; width: 94%; max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 18px #3f0b1540) drop-shadow(0 0 1px #3f0b1530);
  animation: person-in .9s var(--ease) .25s both, breathe 7s ease-in-out 1.4s infinite;
}
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 22px -10px #3f0b1580;
  animation: up .5s var(--ease) both, float 5s ease-in-out 2s infinite;
}
.chip svg { color: var(--brand); }
.chip-1 { left: -12%; bottom: 38%; animation-delay: .9s, 2s; }
.chip-2 { right: -12%; top: 56%; animation-delay: 1.05s, 2s; animation-duration: .5s, 6s; }
.chip-3 { left: -4%; bottom: 12%; animation-delay: 1.2s, 2s; }
.seal {
  position: absolute; z-index: 2; right: 2%; top: 8%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 86px; height: 86px; border-radius: 50%; background: var(--sun); color: var(--wine);
  box-shadow: 0 0 0 5px #fff, 0 12px 24px -10px #3f0b1580;
  transform: rotate(-8deg); animation: pop .5s var(--ease) 1.4s both;
}
.seal b { font-size: 14px; line-height: 1; }
.seal small { margin-top: 3px; font-size: 10.5px; font-weight: 600; }
.live-green { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px #1f9d5522; animation: pulse-green 2s ease-in-out infinite; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 270px 360px; column-gap: 24px; }
  .hero-figure { height: 480px; }
}
@media (max-width: 1100px) and (min-width: 641px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas: "head head" "form fig" "facts facts";
    grid-template-rows: auto; column-gap: 32px; padding-top: 36px;
  }
  .hero-head { max-width: 760px; }
  .hero-form { padding: 0 0 28px; align-self: start; max-width: 560px; }
  .hero-figure { height: 460px; }
  .hero-facts { grid-template-columns: repeat(4, 1fr); margin: 0 0 32px; align-self: auto; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 260px; column-gap: 24px; }
  .hero-figure { height: 420px; min-height: 380px; max-width: 420px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "form" "fig" "facts"; padding-top: 22px; column-gap: 0; }
  .hero-head { padding-bottom: 18px; }
  .hero-form { padding: 0 0 28px; }
  .hero-figure { width: min(300px, 82%); height: auto; min-height: 0; aspect-ratio: 300 / 420; margin: 0 auto; justify-self: center; }
  .hero-facts { margin: 0 0 28px; }
  .chip { font-size: 11px; padding: 6px 9px; }
  /* labels spaced out so they don't overlap on narrow screens */
  .chip-1 { left: 0; bottom: 30%; } .chip-2 { right: 0; top: 40%; } .chip-3 { left: 2%; bottom: 8%; }
  .seal { width: 70px; height: 70px; } .seal b { font-size: 12px; }
}
@media (min-width: 1600px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px 400px; }
  .hero-figure { height: 600px; }
}


/* ---------------------------------------------------------------------
   FORM – card, fields, phone + OTP, messages
   --------------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px 20px;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -28px #3f0b1559;
}
@media (max-width: 640px) { .form-card { padding: 20px 16px 16px; border-radius: 12px; } }
@media (max-width: 360px) { .form-card { padding: 18px 12px 14px; } }

.field-input {
  width: 100%; height: 44px; padding: 0 11px;
  border: 1px solid #d6cdc7; border-radius: 7px; background: #fff;
  font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field-input::placeholder { color: #a39b97; }
.field-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px #1d1a1b14; }
.field-input:disabled { background: #f8f5f3; color: var(--muted); }
@media (max-width: 640px) { .field-input { font-size: 16px; padding: 0 9px; } }

/* +91 box with the Get OTP button inside */
.phone-box {
  display: flex; align-items: center; height: 44px;
  border: 1px solid #d6cdc7; border-radius: 7px; overflow: hidden; background: #fff;
  transition: border-color .2s, box-shadow .15s;
}
.phone-box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px #1d1a1b14; }
.phone-box.is-verified { border-color: #2f8a52; }
.phone-box input { flex: 1; min-width: 0; height: 42px; padding: 0 4px; border: 0; outline: none; font-size: 15px; background: transparent; }
@media (max-width: 640px) { .phone-box input { font-size: 16px; padding: 0 2px; } }
.otp-btn {
  flex: none; display: grid; place-items: center; min-width: 62px; height: 32px; margin-right: 5px; padding: 0 9px;
  border: 0; border-radius: 5px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  transition: background .2s;
}
.otp-btn:disabled { background: #cfc6c1; cursor: not-allowed; }
.otp-btn:not(:disabled):hover { background: var(--brand); }
@media (max-width: 640px) { .otp-btn { min-width: 52px; padding: 0 7px; font-size: 11.5px; } }
@media (max-width: 360px) { .otp-btn { min-width: 46px; padding: 0 5px; font-size: 11px; } }
.verified-tick {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-right: 9px;
  border-radius: 50%; background: #2f8a52; color: #fff; animation: pop .35s var(--ease) both;
}
.verified-tick[hidden], .spinner[hidden] { display: none; }
.otp-field input { letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.otp-field input::placeholder { letter-spacing: 0; }
.otp-field.is-live input:not(:disabled) { border-color: var(--brand); animation: nudge .5s var(--ease); }
@media (max-width: 640px) { .otp-field input { letter-spacing: .12em; text-align: center; padding: 0 4px; } }
.otp-msg { margin: -6px 0 10px; font-size: 12.5px; color: var(--muted); animation: fade .3s ease; }
.otp-msg.is-good { color: #2f8a52; font-weight: 600; }
.otp-msg b { color: var(--ink); }
.form-error { margin-bottom: 12px; padding: 8px 11px; border-radius: 6px; background: #fbecee; color: #9b1020; font-size: 13.5px; animation: fade .25s ease; }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }


/* ---------------------------------------------------------------------
   SECTIONS – small interactive touches
   --------------------------------------------------------------------- */
.accred-item b { display: inline-block; transition: transform .3s var(--ease), color .2s; }
.accred-item:hover b { transform: translateY(-2px); color: var(--brand); }
.why-card { transition: transform .25s var(--ease), box-shadow .25s; }
.why-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px #3f0b1566; }
.why-card h3 { transition: color .2s; }
.why-card:hover h3 { color: var(--brand); }
.role-title { position: relative; display: inline-block; }
.role-title::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--sun);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.role-card:hover .role-title::after { transform: scaleX(1); }

/* Semester track (tabs) */
.semester-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.track-line { position: absolute; left: 18px; right: calc(25% - 2px); top: 17px; height: 2px; background: var(--line); }
.track-line i { position: absolute; inset: 0; background: var(--brand); transform: scaleX(var(--p)); transform-origin: left; transition: transform .6s var(--ease); }
.semester-tab { position: relative; display: grid; gap: 4px; padding: 0 8px 0 0; text-align: left; color: var(--ink); }
.semester-tab:hover b { color: var(--brand); }
.node {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px;
  border-radius: 50%; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 14px;
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.semester-tab.past .node { border-color: var(--brand); color: var(--brand); }
.semester-tab.on .node { background: var(--brand); color: #fff; transform: scale(1.12); }
.semester-panel { margin-top: 32px; padding: 28px 32px; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 14px; background: #fff; }
.semester-panel li { position: relative; break-inside: avoid; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: 16px; animation: fade .4s ease both; }
.semester-panel li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--brand); font-weight: 700; }
@media (max-width: 640px) {
  .semester-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .node { width: 34px; height: 34px; margin-bottom: 6px; }
  .track-line { left: 17px; right: calc(25% - 6px); top: 16px; }
  .semester-panel { margin-top: 20px; padding: 6px 16px 16px; }
  .semester-panel li { font-size: 15px; padding: 11px 0 11px 20px; }
}
@media (max-width: 360px) { .node { width: 30px; height: 30px; font-size: 13px; } .track-line { top: 14px; left: 15px; } }

/* Five application steps with an animated rail */
.steps-wrap { position: relative; margin-bottom: 32px; }
.steps-rail { position: absolute; left: 0; right: 0; top: 34px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps-rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--sun)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.steps-wrap.in .steps-rail i { transform: scaleX(1); }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li {
  position: relative; padding: 46px 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .25s, border-color .25s;
  transition-delay: calc(var(--d) * .3s + .2s);
}
.steps li:hover { border-color: var(--brand); box-shadow: 0 14px 28px -18px #3f0b1566; }
.step-num {
  position: absolute; top: 20px; left: 16px; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; font-weight: 700;
  transform: scale(.6); transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s;
  transition-delay: calc(var(--d) * .3s + .45s);
}
.steps-wrap.in .steps li { opacity: 1; transform: none; }
.steps-wrap.in .step-num { transform: scale(1); background: var(--brand); border-color: var(--brand); color: #fff; }
.steps-wrap.in .steps li:last-child .step-num { background: var(--sun); border-color: var(--sun); color: var(--wine); animation: ping-sun 2s ease-out 2.4s infinite; }
@media (max-width: 920px) {
  .steps-rail { left: 31px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .steps-rail i { transform: scaleY(0); transform-origin: top; }
  .steps-wrap.in .steps-rail i { transform: scaleY(1); }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps li { padding: 16px 16px 16px 60px; transform: translateX(-16px); }
  .step-num { top: 16px; }
}

/* About section background photo */
.about-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
.about-section::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #2a0710e6 0%, #3f0b15b3 42%, #3f0b1500 75%), linear-gradient(0deg, #1d0a0d99, transparent 40%);
}
@media (max-width: 640px) {
  .about-section::before { background: linear-gradient(180deg, #2a0710d9, #3f0b15eb); }
  .about-bg { object-position: 70% center; }
}

/* FAQ accordion */
.faq { border-bottom: 1px solid #ddd3cd; }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s ease; }
.faq-answer > div { overflow: hidden; min-height: 0; }
.faq.open .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-icon { transition: transform .35s var(--ease); }
.faq.open .faq-icon { transform: rotate(180deg); }
.faq.open .icon-plus, .faq:not(.open) .icon-minus { display: none; }

/* Closing band with campus photo */
.closing-section { background: linear-gradient(110deg, #3f0b15f2 0%, #7a1024e0 55%, #b5142a99 100%), url(../img/campus-closing.webp) center 40% / cover no-repeat; }
.closing-section .btn-white { animation: ring 2.4s ease-out 1s infinite; }

/* Mobile bottom bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 14px;
  background: var(--wine); color: #fff; box-shadow: 0 -10px 24px -12px #1a0a0d80;
  animation: bar-in .5s var(--ease) .6s both;
}
@media (min-width: 641px) { .mobile-bar { display: none; } }
.live-dot { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); animation: ping-sun 1.8s infinite; }


/* ---------------------------------------------------------------------
   POPUP (native <dialog>)
   --------------------------------------------------------------------- */
dialog { width: calc(100% - 24px); max-width: 520px; max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; overflow: auto; }
dialog::backdrop { background: #1a0a0db3; backdrop-filter: blur(3px); }
dialog[open] { animation: modal-in .4s var(--ease); }
dialog[open]::backdrop { animation: fade .3s ease; }
.popup-close {
  position: absolute; right: 14px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--soft); transition: background .2s, transform .2s;
}
.popup-close:hover { background: #ece4e0; transform: rotate(90deg); }
@media (max-width: 640px) {
  dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .popup-close { top: 12px; right: 10px; }
}
@media (max-height: 500px) and (orientation: landscape) { .popup-top { display: none !important; } }


/* ---------------------------------------------------------------------
   SCROLL REVEAL – elements with class "reveal" fade up when they come into view
   (only when JavaScript runs; main.js adds .js-reveal to <html>)
   --------------------------------------------------------------------- */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal h2.reveal { transform: translateY(34px); filter: blur(6px); transition: transform .9s var(--ease), opacity .7s ease, filter .7s ease; }
.js-reveal h2.reveal.in { transform: none; filter: none; }
.js-reveal .why-image.reveal { opacity: 1; transform: scale(1.04); clip-path: inset(12% 12% 12% 12% round 20px); }
.js-reveal .why-image.reveal.in { transform: none; clip-path: inset(0 round 20px 20px 20px 80px); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.js-reveal .semester-track.reveal .track-line i { transform: scaleX(0); }
.js-reveal .semester-track.reveal.in .track-line i { transform: scaleX(var(--p)); transition-delay: .4s; }


/* ---------------------------------------------------------------------
   ANIMATIONS
   --------------------------------------------------------------------- */
@keyframes up        { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide     { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes fade      { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop       { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes float     { 50% { transform: translateY(-6px); } }
@keyframes orb-in    { from { opacity: 0; transform: translateX(-50%) scale(.85); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes person-in { from { opacity: 0; transform: translate(-50%, 40px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes breathe   { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
@keyframes drift     { to { transform: scale(1.12) translateX(-2%); } }
@keyframes ring      { 0% { box-shadow: 0 0 0 0 #ffffffaa; } 70%, 100% { box-shadow: 0 0 0 14px #ffffff00; } }
@keyframes ping-sun  { 0% { box-shadow: 0 0 0 0 #f2b33d99; } 70%, 100% { box-shadow: 0 0 0 12px #f2b33d00; } }
@keyframes pulse-green { 50% { box-shadow: 0 0 0 7px #1f9d5511; } }
@keyframes nudge     { 0% { box-shadow: 0 0 0 0 #b5142a55; } 100% { box-shadow: 0 0 0 8px #b5142a00; } }
@keyframes modal-in  { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bar-in    { from { transform: translateY(110%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .steps li { opacity: 1; transform: none; }
}
/* Accessible validation messages shared by the hero and popup forms. */
.field-error { display: block; margin-top: 4px; color: #b42318; font-size: 12px; font-weight: 400; }
.field-error[hidden] { display: none; }
[data-field][aria-invalid="true"] { outline: 1px solid #b42318; outline-offset: 1px; }
