*{box-sizing:border-box;margin:0;padding:0}
:root{--bg:#F7F4F1;--stone:#E9E4E0;--line:#D8D1CB;--red:#A32024;--black:#111111;--charcoal:#2B2B2B;--muted:#6E655F}
html{scroll-behavior:smooth}
body{min-height:100vh;background:var(--bg);color:var(--black);font-family:'Montserrat',sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.page-bg{position:fixed;inset:0;background:radial-gradient(circle at top,rgba(163,32,36,.08),transparent 34%),radial-gradient(circle at bottom right,rgba(43,43,43,.05),transparent 28%);pointer-events:none}
.page{position:relative;max-width:1280px;margin:0 auto;padding:32px 24px 40px}
.top-logo{position:relative;display:inline-flex;align-items:center;width:fit-content;margin:0 0 32px 0;border-radius:999px;text-decoration:none;cursor:pointer;outline:none;animation:logoReveal .9s cubic-bezier(.22,1,.36,1) both;transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease}
.top-logo img{display:block;height:42px;width:auto;user-select:none;transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease}
.top-logo-glow{position:absolute;inset:-12px;z-index:-1;border-radius:999px;background:radial-gradient(circle,rgba(163,32,36,.15),transparent 70%);filter:blur(22px);opacity:0;transform:scale(.9);transition:all .4s ease}
.top-logo:hover{transform:translateY(-3px) scale(1.03);filter:drop-shadow(0 12px 18px rgba(17,17,17,.06))}
.top-logo:hover img{transform:scale(1.04);filter:brightness(1.05)}
.top-logo:hover .top-logo-glow{opacity:1;transform:scale(1.2)}
.legal-layout{display:grid;grid-template-columns:.88fr 1.12fr;gap:64px;padding:16px 0 48px}
.legal-aside{position:sticky;top:32px;align-self:start}
.eyebrow{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.2em;color:var(--muted)}
.legal-aside h1{margin-top:20px;font-family:'Cormorant Garamond',serif;font-size:clamp(48px,7vw,72px);font-weight:600;line-height:.95;letter-spacing:-.03em;color:var(--black)}
.intro{margin-top:24px;max-width:440px;font-size:17px;line-height:1.85;color:var(--charcoal)}
.applies-card{margin-top:32px;border:1px solid var(--line);border-radius:28px;background:rgba(255,255,255,.92);padding:24px;box-shadow:0 18px 50px rgba(17,17,17,.035)}
.shield-icon{margin-bottom:20px;display:inline-flex;height:40px;width:40px;align-items:center;justify-content:center;border-radius:999px;background:var(--stone);color:var(--black)}
.shield-icon svg{width:20px;height:20px}
.applies-card>p,.policy-summary p{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.18em;color:var(--muted)}
.applies-card div:last-child{margin-top:16px;display:grid;gap:8px;color:var(--charcoal);font-size:15px;line-height:1.65}
.legal-card{border:1px solid var(--line);border-radius:32px;background:rgba(255,255,255,.92);padding:40px;box-shadow:0 20px 50px rgba(17,17,17,.06);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.policy-summary{border-bottom:1px solid var(--stone);padding-bottom:32px;margin-bottom:0}
.policy-summary span{display:block;margin-top:16px;color:#4F4F4F;font-size:16px;line-height:2}
.privacy-section{border-top:1px solid var(--stone);padding:32px 0;scroll-margin-top:96px}
.privacy-section:first-child{border-top:0}
.privacy-section:last-child{padding-bottom:0}
.privacy-section h2{font-family:'Cormorant Garamond',serif;font-size:clamp(26px,3vw,32px);font-weight:600;line-height:1.08;color:var(--black)}
.privacy-body{margin-top:16px;display:grid;gap:16px;color:#4F4F4F;font-size:16px;line-height:2}
.privacy-body ul{margin-left:22px;display:grid;gap:8px}
.privacy-body li::marker{color:#9B9284}
.subsection{padding-top:12px}
.subsection h3{font-size:18px;font-weight:500;letter-spacing:-.02em;color:var(--black)}
.subsection-content{margin-top:12px;display:grid;gap:16px}
.preline{white-space:pre-line}
.site-footer{width:100%;margin:0 auto;padding-top:24px;color:var(--muted)}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px}
.footer-links a,.credits{color:var(--muted);text-decoration:none;font-size:12px;transition:opacity .25s ease}
.footer-links a:hover,.credits:hover{opacity:.7}.footer-separator{opacity:.75;line-height:1;margin:0 2px}
@keyframes logoReveal{0%{opacity:0;transform:translateY(10px) scale(.985);filter:blur(4px)}100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@media(max-width:980px){.legal-layout{grid-template-columns:1fr;gap:40px}.legal-aside{position:relative;top:0}}
@media(max-width:640px){.page{padding:24px 18px 32px}.top-logo{margin-bottom:24px}.top-logo img{height:36px}.legal-card{border-radius:24px;padding:24px}.applies-card{border-radius:24px}.privacy-body{font-size:15px;line-height:1.9}.footer-row{flex-direction:column;align-items:flex-start}}


/* STRONG FIX: remove extra spacing specifically for contact block */
.preline {
  white-space: pre-line;
  line-height: 1.35; /* tighter */
  margin: 0 !important;
}

/* remove grid spacing for last section (contact section) */
.privacy-section:last-child .privacy-body {
  gap: 4px !important;
}

/* remove paragraph spacing completely */
.privacy-body p {
  margin: 0 !important;
}

/* ensure no hidden spacing from grid */
.privacy-body {
  gap: 10px;
}

/* tighten only last section further */
.privacy-section:last-child p {
  line-height: 1.4;
}


/* FINAL FIX: Privacy content starts directly at 1. Introduction */
.policy-summary {
  display: none !important;
}

.policy-content {
  padding-top: 0 !important;
}

.policy-content .privacy-section:first-child,
#privacyContent .privacy-section:first-child {
  border-top: 0 !important;
  padding-top: 0 !important;
}


/* FINAL CONTACT FIX: keep paragraph spacing normal, compact only contact details */
.contact-details {
  display: grid !important;
  gap: 2px !important;
  margin-top: -6px !important;
  line-height: 1.45 !important;
}

.contact-details p {
  margin: 0 !important;
  line-height: 1.45 !important;
}

.privacy-section#contact .privacy-body {
  gap: 14px !important;
}


/* Shared production navigation bar */
.gateway-main-nav {
  width: min(100%, 1060px);
  margin: 18px auto 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(214, 180, 106, 0.18);
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}
.gateway-main-nav a {
  color: rgba(255, 248, 235, 0.78);
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 9px 12px;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.gateway-main-nav a:hover {
  color: #fff8eb;
  background: rgba(214, 180, 106, 0.12);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .gateway-main-nav {
    border-radius: 28px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 9px;
  }
  .gateway-main-nav a { white-space: nowrap; }
}

/* Production header/nav placement — source of truth from Communication Rules page */
.site-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin: 0 0 32px 0 !important;
  width: 100% !important;
}
.top-logo {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: fit-content !important;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}
.top-logo img {
  display: block;
  height: 42px;
  width: auto;
  user-select: none;
}
.top-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.top-nav a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: var(--charcoal, #3d3935) !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), background 0.28s ease, border-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease !important;
}
.top-nav a:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(216,209,203,0.92) !important;
  background: rgba(255,255,255,0.68) !important;
  color: var(--black, #111) !important;
  box-shadow: 0 10px 24px rgba(17,17,17,0.045) !important;
}
.top-nav a:active { transform: translateY(0) scale(0.98) !important; }
@media (max-width: 820px) {
  .site-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
  .top-nav {
    justify-content: flex-start !important;
    width: 100% !important;
  }
}
@media (max-width: 640px) {
  .site-header {
    align-items: flex-start !important;
    margin-bottom: 24px !important;
  }
  .top-nav { gap: 5px !important; }
  .top-nav a {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
}

/* FINAL PRODUCTION HEADER ALIGNMENT LOCK
   Keeps the original margins/container while forcing the navigation
   to sit vertically centered with the logo on one clean header row. */
.site-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.site-header .top-logo,
.top-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-header .top-logo img,
.top-logo img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
}
.site-header .top-nav,
.top-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}
.site-header .top-nav a,
.top-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
@media (min-width: 821px) {
  .site-header {
    flex-direction: row !important;
    align-items: center !important;
  }
  .site-header .top-nav,
  .top-nav {
    width: auto !important;
  }
}
@media (max-width: 640px) {
  .site-header .top-logo img,
  .top-logo img { height: 36px !important; }
  .site-header .top-nav,
  .top-nav { min-height: 36px !important; justify-content: flex-start !important; }
  .site-header .top-nav a,
  .top-nav a { height: 34px !important; min-height: 34px !important; padding: 0 10px !important; }
}

/* KIMPAOLO PAGE-BY-PAGE UNIFORM MOTION LOCK
   Applied inside each page stylesheet, not as one blanket global layer. */
@keyframes kpPageEntrance {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes kpHeaderEntrance {
  from { opacity: 0; transform: translateY(-10px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes kpBlockEntrance {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes kpSoftGlowIn {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}
body.kp-motion-ready {
  animation: kpPageEntrance 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: center top;
}
body.kp-motion-ready .page-bg,
body.kp-motion-ready .ambient-layer,
body.kp-motion-ready .card-overlay,
body.kp-motion-ready .welcome-glow,
body.kp-motion-ready .logo-glow,
body.kp-motion-ready .top-logo-glow {
  animation: kpSoftGlowIn 900ms ease-out both;
}
body.kp-motion-ready .site-header,
body.kp-motion-ready .header,
body.kp-motion-ready .topbar,
body.kp-motion-ready .navbar,
body.kp-motion-ready .gateway-header {
  animation: kpHeaderEntrance 560ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
body.kp-motion-ready .gateway-card,
body.kp-motion-ready .hero,
body.kp-motion-ready .message-card,
body.kp-motion-ready .board-card,
body.kp-motion-ready .portal-card,
body.kp-motion-ready .access-card,
body.kp-motion-ready .support-card,
body.kp-motion-ready .schedule-card,
body.kp-motion-ready .category-card,
body.kp-motion-ready .section-card,
body.kp-motion-ready .legal-card,
body.kp-motion-ready .terms-section,
body.kp-motion-ready .form-card,
body.kp-motion-ready .panel,
body.kp-motion-ready .card {
  animation: kpBlockEntrance 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform, filter;
}
body.kp-motion-ready .hero { animation-delay: 120ms; }
body.kp-motion-ready .board-card:nth-child(1),
body.kp-motion-ready .portal-card:nth-child(1),
body.kp-motion-ready .access-card:nth-child(1),
body.kp-motion-ready .support-card:nth-child(1),
body.kp-motion-ready .schedule-card:nth-child(1),
body.kp-motion-ready .category-card:nth-child(1),
body.kp-motion-ready .section-card:nth-of-type(1),
body.kp-motion-ready .terms-section:nth-of-type(1),
body.kp-motion-ready .card:nth-child(1) { animation-delay: 150ms; }
body.kp-motion-ready .board-card:nth-child(2),
body.kp-motion-ready .portal-card:nth-child(2),
body.kp-motion-ready .access-card:nth-child(2),
body.kp-motion-ready .support-card:nth-child(2),
body.kp-motion-ready .schedule-card:nth-child(2),
body.kp-motion-ready .category-card:nth-child(2),
body.kp-motion-ready .section-card:nth-of-type(2),
body.kp-motion-ready .terms-section:nth-of-type(2),
body.kp-motion-ready .card:nth-child(2) { animation-delay: 210ms; }
body.kp-motion-ready .board-card:nth-child(3),
body.kp-motion-ready .portal-card:nth-child(3),
body.kp-motion-ready .access-card:nth-child(3),
body.kp-motion-ready .support-card:nth-child(3),
body.kp-motion-ready .schedule-card:nth-child(3),
body.kp-motion-ready .category-card:nth-child(3),
body.kp-motion-ready .section-card:nth-of-type(3),
body.kp-motion-ready .terms-section:nth-of-type(3),
body.kp-motion-ready .card:nth-child(3) { animation-delay: 270ms; }
body.kp-motion-ready .board-card:nth-child(4),
body.kp-motion-ready .portal-card:nth-child(4),
body.kp-motion-ready .access-card:nth-child(4),
body.kp-motion-ready .support-card:nth-child(4),
body.kp-motion-ready .schedule-card:nth-child(4),
body.kp-motion-ready .category-card:nth-child(4),
body.kp-motion-ready .section-card:nth-of-type(4),
body.kp-motion-ready .terms-section:nth-of-type(4),
body.kp-motion-ready .card:nth-child(4) { animation-delay: 330ms; }
body.kp-motion-ready .top-nav a,
body.kp-motion-ready .nav-links a,
body.kp-motion-ready .footer-links a,
body.kp-motion-ready .cta-button,
body.kp-motion-ready .board-card,
body.kp-motion-ready .portal-card,
body.kp-motion-ready .access-card,
body.kp-motion-ready .support-card,
body.kp-motion-ready .schedule-card,
body.kp-motion-ready .category-card,
body.kp-motion-ready .card,
body.kp-motion-ready button {
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}
body.kp-motion-ready .cta-button:hover,
body.kp-motion-ready .board-card:hover,
body.kp-motion-ready .portal-card:hover,
body.kp-motion-ready .access-card:hover,
body.kp-motion-ready .support-card:hover,
body.kp-motion-ready .schedule-card:hover,
body.kp-motion-ready .category-card:hover,
body.kp-motion-ready .card:hover {
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  body.kp-motion-ready,
  body.kp-motion-ready *,
  body.kp-motion-ready *::before,
  body.kp-motion-ready *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
/* END KIMPAOLO PAGE-BY-PAGE UNIFORM MOTION LOCK */

/* ===== KIMPAOLO.CO WELCOME-STYLE PAGE OPEN MOTION LOCK ===== */
@keyframes kpWelcomePageEntrance{from{opacity:0;transform:translate3d(0,18px,0) scale(.992);filter:blur(10px)}to{opacity:1;transform:translate3d(0,0,0) scale(1);filter:blur(0)}}
@keyframes kpWelcomeHeaderEntrance{from{opacity:0;transform:translate3d(0,-12px,0);filter:blur(8px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes kpWelcomeBlockEntrance{from{opacity:0;transform:translate3d(0,22px,0);filter:blur(8px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes kpWelcomeSoftGlowIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
html{scroll-behavior:smooth}body.kp-motion-ready{animation:kpWelcomePageEntrance 640ms cubic-bezier(.22,1,.36,1) both;transform-origin:center top}
body.kp-motion-ready .page-bg,body.kp-motion-ready .ambient-layer,body.kp-motion-ready .bg-orb,body.kp-motion-ready .orb,body.kp-motion-ready .card-overlay,body.kp-motion-ready .welcome-glow,body.kp-motion-ready .logo-glow,body.kp-motion-ready .top-logo-glow{animation:kpWelcomeSoftGlowIn 900ms ease-out both}
body.kp-motion-ready .site-header,body.kp-motion-ready .header,body.kp-motion-ready .topbar,body.kp-motion-ready .navbar,body.kp-motion-ready .gateway-header,body.kp-motion-ready .nav-shell{animation:kpWelcomeHeaderEntrance 560ms cubic-bezier(.22,1,.36,1) 80ms both}
body.kp-motion-ready .hero,body.kp-motion-ready .hero-card,body.kp-motion-ready .gateway-card,body.kp-motion-ready .message-card,body.kp-motion-ready .board-card,body.kp-motion-ready .portal-card,body.kp-motion-ready .access-card,body.kp-motion-ready .support-card,body.kp-motion-ready .schedule-card,body.kp-motion-ready .category-card,body.kp-motion-ready .section-card,body.kp-motion-ready .legal-card,body.kp-motion-ready .terms-section,body.kp-motion-ready .form-card,body.kp-motion-ready .panel,body.kp-motion-ready .content-card,body.kp-motion-ready .doc-card,body.kp-motion-ready .card,body.kp-motion-ready form,body.kp-motion-ready main>section,body.kp-motion-ready main>article{animation:kpWelcomeBlockEntrance 680ms cubic-bezier(.22,1,.36,1) both}
body.kp-motion-ready .hero,body.kp-motion-ready .hero-card,body.kp-motion-ready .message-card{animation-delay:120ms}body.kp-motion-ready .board-card:nth-child(1),body.kp-motion-ready .portal-card:nth-child(1),body.kp-motion-ready .access-card:nth-child(1),body.kp-motion-ready .support-card:nth-child(1),body.kp-motion-ready .schedule-card:nth-child(1),body.kp-motion-ready .category-card:nth-child(1),body.kp-motion-ready .section-card:nth-of-type(1),body.kp-motion-ready .terms-section:nth-of-type(1),body.kp-motion-ready .card:nth-child(1),body.kp-motion-ready main>section:nth-of-type(1),body.kp-motion-ready main>article:nth-of-type(1){animation-delay:150ms}
body.kp-motion-ready .board-card:nth-child(2),body.kp-motion-ready .portal-card:nth-child(2),body.kp-motion-ready .access-card:nth-child(2),body.kp-motion-ready .support-card:nth-child(2),body.kp-motion-ready .schedule-card:nth-child(2),body.kp-motion-ready .category-card:nth-child(2),body.kp-motion-ready .section-card:nth-of-type(2),body.kp-motion-ready .terms-section:nth-of-type(2),body.kp-motion-ready .card:nth-child(2),body.kp-motion-ready main>section:nth-of-type(2),body.kp-motion-ready main>article:nth-of-type(2){animation-delay:210ms}
body.kp-motion-ready .board-card:nth-child(3),body.kp-motion-ready .portal-card:nth-child(3),body.kp-motion-ready .access-card:nth-child(3),body.kp-motion-ready .support-card:nth-child(3),body.kp-motion-ready .schedule-card:nth-child(3),body.kp-motion-ready .category-card:nth-child(3),body.kp-motion-ready .section-card:nth-of-type(3),body.kp-motion-ready .terms-section:nth-of-type(3),body.kp-motion-ready .card:nth-child(3),body.kp-motion-ready main>section:nth-of-type(3),body.kp-motion-ready main>article:nth-of-type(3){animation-delay:270ms}
body.kp-motion-ready .top-nav a,body.kp-motion-ready .nav-links a,body.kp-motion-ready .footer-links a,body.kp-motion-ready .cta-button,body.kp-motion-ready .button,body.kp-motion-ready .btn,body.kp-motion-ready button,body.kp-motion-ready .board-card,body.kp-motion-ready .portal-card,body.kp-motion-ready .access-card,body.kp-motion-ready .support-card,body.kp-motion-ready .schedule-card,body.kp-motion-ready .category-card,body.kp-motion-ready .section-card,body.kp-motion-ready .card{transition:transform 220ms ease,border-color 220ms ease,background 220ms ease,box-shadow 220ms ease,color 220ms ease,opacity 220ms ease}
body.kp-motion-ready .cta-button:hover,body.kp-motion-ready .button:hover,body.kp-motion-ready .btn:hover,body.kp-motion-ready button:hover,body.kp-motion-ready .board-card:hover,body.kp-motion-ready .portal-card:hover,body.kp-motion-ready .access-card:hover,body.kp-motion-ready .support-card:hover,body.kp-motion-ready .schedule-card:hover,body.kp-motion-ready .category-card:hover,body.kp-motion-ready .section-card:hover,body.kp-motion-ready .card:hover{transform:translateY(-3px)}
@media (prefers-reduced-motion:reduce){body.kp-motion-ready,body.kp-motion-ready *,body.kp-motion-ready *::before,body.kp-motion-ready *::after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important;scroll-behavior:auto!important}}

/* =========================================================
   FINAL PRODUCTION MOTION LOCK
   Clean fade-only entrance + scroll reveal.
   Removes the previous color/glow/blur page effects.
   ========================================================= */
body.kp-motion-ready,
body.kp-motion-ready .page-bg,
body.kp-motion-ready .ambient-layer,
body.kp-motion-ready .bg-orb,
body.kp-motion-ready .orb,
body.kp-motion-ready .card-overlay,
body.kp-motion-ready .welcome-glow,
body.kp-motion-ready .logo-glow,
body.kp-motion-ready .top-logo-glow,
body.kp-motion-ready .site-header,
body.kp-motion-ready .header,
body.kp-motion-ready .topbar,
body.kp-motion-ready .navbar,
body.kp-motion-ready .gateway-header,
body.kp-motion-ready .nav-shell,
body.kp-motion-ready .hero,
body.kp-motion-ready .hero-card,
body.kp-motion-ready .gateway-card,
body.kp-motion-ready .message-card,
body.kp-motion-ready .board-card,
body.kp-motion-ready .portal-card,
body.kp-motion-ready .access-card,
body.kp-motion-ready .support-card,
body.kp-motion-ready .schedule-card,
body.kp-motion-ready .category-card,
body.kp-motion-ready .section-card,
body.kp-motion-ready .legal-card,
body.kp-motion-ready .terms-section,
body.kp-motion-ready .form-card,
body.kp-motion-ready .panel,
body.kp-motion-ready .content-card,
body.kp-motion-ready .doc-card,
body.kp-motion-ready .card,
body.kp-motion-ready form,
body.kp-motion-ready main > section,
body.kp-motion-ready main > article {
  animation: none !important;
  filter: none !important;
}

body.kp-motion-ready {
  opacity: 0;
  animation: kpCleanPageFade 420ms ease-out 40ms forwards !important;
  transform: none !important;
}

@keyframes kpCleanPageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.kp-scroll-reveal {
  opacity: 0 !important;
  transform: none !important;
  filter: none !important;
  transition: opacity 560ms ease-out !important;
  will-change: opacity;
}

.kp-scroll-reveal.kp-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body.kp-motion-ready,
  .kp-scroll-reveal {
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   FINAL CLEAN PRODUCTION LOCK
   Removes unintended color/glow/highlight effects from logos and page entrances.
   ========================================================= */
.logo-glow, .welcome-glow, .top-logo-glow, .logo-shine, .logo-shine::before, .logo-shine::after {
  display: none !important; opacity: 0 !important; visibility: hidden !important; animation: none !important;
}
.logo, .logo-img, .top-logo img, .logo-link, .logo-wrap, .logo-block,
.logo:hover, .logo-img:hover, .logo-link:hover, .logo-wrap:hover, .logo-block:hover {
  filter: none !important; box-shadow: none !important; text-shadow: none !important;
}
.welcome-svg, .welcome-stroke, .welcome-fill { filter: none !important; text-shadow: none !important; }
.welcome-stroke { stroke: #111111 !important; }
.welcome-fill { fill: #111111 !important; }
body.kp-motion-ready { opacity: 0; animation: kpCleanPageFade 420ms ease-out 40ms forwards !important; transform: none !important; filter: none !important; }
@keyframes kpCleanPageFade { from { opacity: 0; } to { opacity: 1; } }
.kp-scroll-reveal { opacity: 0 !important; transform: none !important; filter: none !important; transition: opacity 560ms ease-out !important; will-change: opacity; }
.kp-scroll-reveal.kp-visible { opacity: 1 !important; transform: none !important; filter: none !important; }
/* ===== END FINAL CLEAN PRODUCTION LOCK ===== */

/* =========================================================
   SAFE ANIMATION SYSTEM LOCK
   Fail-open visibility + JS-controlled fade reveal.
   Prevents pages from staying blank if IntersectionObserver or reveal timing fails.
   ========================================================= */
body.kp-motion-ready {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
body.kp-motion-ready.kp-page-enter {
  animation: kpSafePageFade 420ms ease-out 20ms both !important;
}
@keyframes kpSafePageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.kp-scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: opacity 560ms ease-out !important;
  will-change: opacity;
}
body.kp-safe-reveal-active .kp-scroll-reveal:not(.kp-visible) {
  opacity: 0 !important;
}
body.kp-safe-reveal-active .kp-scroll-reveal.kp-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body.kp-motion-ready,
  body.kp-motion-ready.kp-page-enter,
  body.kp-safe-reveal-active .kp-scroll-reveal,
  body.kp-safe-reveal-active .kp-scroll-reveal:not(.kp-visible) {
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }
}
