* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f0f10;
  --panel: rgba(24, 24, 26, 0.8);
  --panel-hover: #1a1a1d;
  --line: #2a2a2d;
  --line-soft: #343438;
  --line-hover: #3a332c;
  --text: #e7ded3;
  --muted: #b9a998;
  --gold: #a38b6b;
  --light: #e7ded3;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(163, 139, 107, 0.10), transparent 32%),
    radial-gradient(circle at 85% 85%, rgba(163, 32, 36, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.quick-page {
  min-height: 100vh;
  padding: 40px 24px;
}

.top-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 28px 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  animation: logoReveal 0.9s cubic-bezier(0.22,1,0.36,1) both;
  transition:
    transform 0.4s cubic-bezier(0.22,1,0.36,1),
    filter 0.4s ease;
}

.top-logo img {
  display: block;
  height: 42px;
  width: auto;
  user-select: none;
  transition:
    transform 0.4s cubic-bezier(0.22,1,0.36,1),
    filter 0.4s ease;
}

.top-logo-glow {
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(163,139,107,0.20), transparent 70%);
  filter: blur(22px);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

.top-logo:hover {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.20));
}

.top-logo:hover img {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.top-logo:hover .top-logo-glow {
  opacity: 1;
  transform: scale(1.2);
}

.top-logo:active {
  transform: translateY(0) scale(0.99);
}

.quick-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 44px;
}

.quick-wrap {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

.quick-header {
  max-width: 768px;
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease both;
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.quick-header h1 {
  max-width: 760px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
}

.intro {
  margin-top: 20px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.quick-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  color: inherit;
  padding: 28px;
  text-decoration: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.75s ease forwards;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.quick-card:nth-child(1) {
  animation-delay: 0.12s;
}

.quick-card:nth-child(2) {
  animation-delay: 0.20s;
}

.quick-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 46%),
    radial-gradient(circle at top right, rgba(163,139,107,0.10), transparent 38%);
  pointer-events: none;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-hover);
  background: var(--panel-hover);
  box-shadow: 0 26px 70px rgba(0,0,0,0.34);
}

.card-label {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #1f1f22;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.card-content {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-copy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
}

.card-copy p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.card-icon {
  margin-top: 4px;
  display: flex;
  height: 44px;
  width: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #1f1f22;
  color: var(--gold);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.quick-card:hover .card-icon {
  transform: translate(2px, -2px);
  border-color: rgba(163,139,107,0.42);
  background: #232326;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  border: 1px solid var(--light);
  border-radius: 999px;
  background: var(--light);
  padding: 12px 20px;
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.quick-card:hover .card-cta {
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-footer {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding-top: 24px;
  color: #b9a998;
}

.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;
  color: #b9a998;
}

.footer-links a,
.credits {
  color: #b9a998;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.25s ease;
}

.footer-links a:hover,
.credits:hover {
  opacity: 0.7;
}

.footer-separator {
  opacity: 0.75;
  line-height: 1;
  margin: 0 2px;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 820px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-section {
    align-items: flex-start;
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .quick-page {
    padding: 28px 18px;
  }

  .top-logo {
    margin-bottom: 24px;
  }

  .top-logo img {
    height: 36px;
  }

  .quick-header {
    margin-bottom: 36px;
  }

  .intro {
    font-size: 16px;
  }

  .quick-card {
    border-radius: 24px;
    padding: 24px;
  }

  .card-content {
    gap: 14px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

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


/* FINAL ALIGNMENT FIX — logo follows the exact same left edge as Quick Access */
.quick-section {
  align-items: flex-start !important;
  justify-content: center !important;
}

.quick-wrap {
  width: 100% !important;
  max-width: 1024px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.top-logo {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 32px !important;
}

.quick-header {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.eyebrow {
  margin-left: 0 !important;
  padding-left: 0 !important;
}


/* Removed inner card chips; preserve clean spacing */
.card-content {
  margin-top: 0;
}


/* COLOR ONLY OVERRIDE — Update Information light branding, UX preserved */
:root {
  --bg: #F7F4F1;
  --panel: rgba(255,255,255,0.92);
  --panel-hover: #F7F4F1;
  --line: #D8D1CB;
  --line-soft: #E9E4E0;
  --line-hover: #CBBDB5;
  --text: #111111;
  --muted: #2B2B2B;
  --gold: #A32024;
  --light: #111111;
}

body {
  background:
    radial-gradient(circle at top, rgba(163,32,36,0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(43,43,43,0.05), transparent 28%),
    #F7F4F1 !important;
  color: #111111 !important;
}

.top-logo-glow {
  background: radial-gradient(circle, rgba(163,32,36,0.15), transparent 70%) !important;
}

.quick-card {
  border-color: #D8D1CB !important;
  background: rgba(255,255,255,0.92) !important;
  color: #111111 !important;
  box-shadow: 0 20px 50px rgba(17,17,17,0.06) !important;
}

.quick-card::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.18), rgba(163,32,36,0.02)),
    radial-gradient(circle at top right, rgba(163,32,36,0.05), transparent 38%) !important;
}

.quick-card:hover {
  border-color: #CBBDB5 !important;
  background: #F7F4F1 !important;
  box-shadow: 0 26px 58px rgba(17,17,17,0.075) !important;
}

.eyebrow {
  color: #A32024 !important;
}

.quick-header h1,
.card-copy h2 {
  color: #111111 !important;
}

.intro,
.card-copy p {
  color: #2B2B2B !important;
}

.card-icon {
  border-color: #E9E4E0 !important;
  background: #F7F4F1 !important;
  color: #A32024 !important;
}

.quick-card:hover .card-icon {
  border-color: #D8D1CB !important;
  background: #FFFFFF !important;
}

.card-cta {
  border-color: #111111 !important;
  background: #111111 !important;
  color: #FFFFFF !important;
}

.quick-card:hover .card-cta {
  opacity: 0.92 !important;
}

.site-footer {
  color: #6E655F !important;
}

.footer-links,
.footer-links a,
.credits,
.footer-separator {
  color: #6E655F !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 nav standard: matches Engagement Brief document pages */
.gateway-main-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;
}
.gateway-main-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-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-decoration: 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;
}
.gateway-main-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;
}
.gateway-main-nav a:active {
  transform: translateY(0) scale(0.98) !important;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 32px 0;
}
@media (max-width: 820px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .gateway-main-nav {
    justify-content: flex-start !important;
    width: 100% !important;
  }
}
@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .gateway-main-nav { gap: 5px !important; }
  .gateway-main-nav a {
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
}

/* 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;
  }
}
