/* ==========================================================================
   MEDPROPOSE — Custom styles
   Tailwind CSS handles layout/utilities; this file holds component classes,
   patterns and animations that are cleaner as real CSS.
   ========================================================================== */

:root {
  --navy-900: #0a1a3c;
  --navy-950: #060f24;
  --royal-600: #2456eb;
  --royal-700: #1d45d8;
  --aqua-400: #22d3ee;
  --aqua-500: #06b6d4;
  --aqua-600: #0891b2;
  --aqua-700: #0e7490;
  --mist: #f5f9ff;
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* Scrollbar ---------------------------------------------------------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #c9d8ee; border-radius: 999px; border: 2px solid var(--mist); }
::-webkit-scrollbar-thumb:hover { background: #a7bfdf; }

:focus-visible { outline: 2px solid var(--aqua-500); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   Background patterns
   ========================================================================== */
.grid-pattern {
  background-image:
    linear-gradient(to right, rgba(10, 26, 60, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 26, 60, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

.grid-pattern-dark {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 30%, transparent 100%);
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.gradient-text {
  background: linear-gradient(100deg, var(--royal-700) 0%, var(--aqua-600) 60%, var(--aqua-500) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.gradient-text-light {
  background: linear-gradient(100deg, #7dd3fc 0%, var(--aqua-400) 55%, #a5f3fc 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  font-size: .72rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--aqua-700);
}
.eyebrow-light {
  font-size: .72rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--aqua-400);
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--navy-900);
}
.section-title-light {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary,
.btn-ghost,
.btn-accent,
.btn-white,
.btn-outline-light {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.35rem; border-radius: 999px;
  font-size: .9rem; font-weight: 700; line-height: 1;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap; cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--royal-700) 55%, var(--aqua-600) 130%);
  box-shadow: 0 8px 20px -8px rgba(29, 69, 216, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(29, 69, 216, .65); }

.btn-ghost {
  color: var(--navy-900); background: #fff;
  border: 1px solid #dbe6f6; box-shadow: 0 2px 8px -2px rgba(10, 26, 60, .07);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--aqua-400); color: var(--aqua-700); }

.btn-accent {
  color: #04252e;
  background: linear-gradient(120deg, var(--aqua-400) 0%, var(--aqua-500) 100%);
  box-shadow: 0 10px 26px -10px rgba(6, 182, 212, .75);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(6, 182, 212, .85); }

.btn-white { color: var(--navy-900); background: #fff; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }

.btn-outline-light { color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }

/* ==========================================================================
   Navbar
   ========================================================================== */
#navbar { background: transparent; }
#navbar.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 26, 60, .07);
  box-shadow: 0 4px 24px -12px rgba(10, 26, 60, .25);
}
#navbar.is-scrolled nav { padding-top: .7rem; padding-bottom: .7rem; }

.nav-link {
  position: relative; display: inline-block;
  padding: .5rem .8rem; border-radius: .6rem;
  font-size: .875rem; font-weight: 600; color: #1b366a;
  transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .18rem;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--royal-600), var(--aqua-400));
  transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.nav-link:hover { color: var(--aqua-700); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--royal-700); }

/* Hamburger --------------------------------------------------------------- */
.burger { display: block; width: 18px; }
.burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: currentColor; transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .2s;
}
.burger span + span { margin-top: 4px; }
#menu-toggle.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#menu-toggle.is-open .burger span:nth-child(2) { opacity: 0; }
#menu-toggle.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  overflow: hidden; max-height: 0;
  opacity: 0; transition: max-height .38s cubic-bezier(.4, 0, .2, 1), opacity .28s;
}
.mobile-menu.is-open { max-height: 32rem; opacity: 1; }

.mobile-link {
  display: block; padding: .75rem 1rem; border-radius: .85rem;
  font-size: .95rem; font-weight: 600; color: #132750; transition: background .2s, color .2s, padding-left .2s;
}
.mobile-link:hover, .mobile-link:focus-visible { background: var(--mist); color: var(--royal-700); padding-left: 1.35rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem; font-weight: 600; color: #1b366a;
}
.trust-item::before {
  content: ''; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #67e8f9, var(--aqua-600));
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .12);
  -webkit-mask-image: none;
}

.chart-bar {
  flex: 1; border-radius: 6px 6px 3px 3px;
  height: var(--h);
  background: linear-gradient(180deg, var(--aqua-400), rgba(36, 86, 235, .75));
  animation: barRise .9s cubic-bezier(.22, 1, .36, 1) backwards;
}
.chart-bar:nth-child(1) { animation-delay: .05s } .chart-bar:nth-child(2) { animation-delay: .12s }
.chart-bar:nth-child(3) { animation-delay: .19s } .chart-bar:nth-child(4) { animation-delay: .26s }
.chart-bar:nth-child(5) { animation-delay: .33s } .chart-bar:nth-child(6) { animation-delay: .40s }
.chart-bar:nth-child(7) { animation-delay: .47s }
@keyframes barRise { from { height: 0; opacity: 0 } to { height: var(--h); opacity: 1 } }

.float-card { animation: floaty 6s ease-in-out infinite; }
.float-card-slow { animation: floaty 7.5s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

/* ==========================================================================
   About
   ========================================================================== */
.about-check {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .93rem; font-weight: 600; color: #1b366a;
}
.about-check::before {
  content: '✓'; flex: none;
  display: grid; place-items: center; width: 1.35rem; height: 1.35rem;
  border-radius: 999px; background: #ecfeff; color: var(--aqua-700);
  font-size: .8rem; font-weight: 900; box-shadow: inset 0 0 0 1px #a5f3fc;
}

.info-card {
  border-radius: 1.25rem; padding: 1.35rem 1.5rem; background: #fff;
  box-shadow: 0 2px 8px -2px rgba(10, 26, 60, .06), 0 12px 32px -14px rgba(10, 26, 60, .18);
  --tw-ring-color: rgba(10, 26, 60, .07);
  box-shadow: 0 0 0 1px rgba(10, 26, 60, .06), 0 12px 30px -16px rgba(10, 26, 60, .3);
  transition: transform .3s, box-shadow .3s;
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(6, 182, 212, .3), 0 18px 40px -18px rgba(10, 26, 60, .38); }
.info-label { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #5c82c2; }
.info-value { margin-top: .35rem; font-size: 1rem; font-weight: 700; color: var(--navy-900); }

/* ==========================================================================
   Service cards
   ========================================================================== */
.service-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 1.6rem; border-radius: 1.5rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(10, 26, 60, .07);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px -4px rgba(10, 26, 60, .08);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s, border-color .35s;
}
.service-card::before {
  content: ''; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--royal-600), var(--aqua-400));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(6, 182, 212, .35); box-shadow: 0 24px 50px -22px rgba(10, 26, 60, .45); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem;
  background: linear-gradient(135deg, #eff5ff, #ecfeff);
  color: var(--royal-700); box-shadow: inset 0 0 0 1px rgba(36, 86, 235, .12);
  transition: transform .35s, background .35s, color .35s;
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.06);
  background: linear-gradient(135deg, var(--navy-900), var(--royal-700));
  color: #67e8f9;
}

.service-title { margin-top: 1.1rem; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy-900); }
.service-desc { margin-top: .55rem; flex: 1; font-size: .875rem; line-height: 1.65; color: #46608f; }
.service-cta {
  margin-top: 1.15rem; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .82rem; font-weight: 800; color: var(--royal-700); transition: gap .25s, color .25s;
}
.service-cta:hover { gap: .65rem; color: var(--aqua-700); }

/* ==========================================================================
   Timeline (Publication support)
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
  .timeline::before {
    content: ''; position: absolute; left: 8%; right: 8%; top: 2.1rem; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .55) 15%, rgba(34, 211, 238, .55) 85%, transparent);
  }
}

.timeline-step {
  position: relative; display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.4rem; border-radius: 1.4rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .35s, background .35s, border-color .35s;
}
.timeline-step:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .09); border-color: rgba(34, 211, 238, .4); }
@media (min-width: 1024px) { .timeline-step { flex-direction: column; gap: .9rem; text-align: left; } }

.timeline-num {
  position: relative; z-index: 1; flex: none;
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 1rem;
  font-size: .95rem; font-weight: 900; letter-spacing: -.02em; color: #04252e;
  background: linear-gradient(135deg, var(--aqua-400), var(--aqua-600));
  box-shadow: 0 8px 22px -8px rgba(6, 182, 212, .8);
}
.timeline-title { font-size: 1rem; font-weight: 800; color: #fff; }
.timeline-text { margin-top: .45rem; font-size: .85rem; line-height: 1.65; color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   Journal cards
   ========================================================================== */
.journal-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.75rem 1.25rem; border-radius: 1.35rem;
  background: linear-gradient(180deg, #fff, var(--mist));
  border: 1px solid rgba(10, 26, 60, .08);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.journal-card:hover { transform: translateY(-6px); border-color: rgba(6, 182, 212, .4); box-shadow: 0 22px 45px -22px rgba(10, 26, 60, .5); }
.journal-icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-900), var(--royal-800, #1e3aaf)); color: #67e8f9;
  transition: transform .35s;
}
.journal-icon svg { width: 1.5rem; height: 1.5rem; }
.journal-card:hover .journal-icon { transform: scale(1.08); }
.journal-title { margin-top: 1rem; font-size: 1.02rem; font-weight: 800; color: var(--navy-900); }
.journal-desc { margin-top: .35rem; font-size: .78rem; line-height: 1.55; color: #5c82c2; }

/* ==========================================================================
   Feature cards (Why choose us)
   ========================================================================== */
.feature-card {
  position: relative; overflow: hidden;
  padding: 1.75rem; border-radius: 1.5rem; background: #fff;
  border: 1px solid rgba(10, 26, 60, .07);
  box-shadow: 0 2px 10px -4px rgba(10, 26, 60, .08);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.feature-card::after {
  content: ''; position: absolute; right: -3rem; top: -3rem; width: 8rem; height: 8rem; border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(6, 182, 212, .3); box-shadow: 0 24px 50px -24px rgba(10, 26, 60, .45); }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 1rem;
  background: linear-gradient(135deg, var(--navy-900), var(--royal-700)); color: #67e8f9;
  box-shadow: 0 10px 24px -12px rgba(29, 69, 216, .8);
  transition: transform .35s;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
.feature-card:hover .feature-icon { transform: translateY(-2px) scale(1.05); }
.feature-title { position: relative; z-index: 1; margin-top: 1.15rem; font-size: 1.08rem; font-weight: 800; color: var(--navy-900); }
.feature-desc { position: relative; z-index: 1; margin-top: .55rem; font-size: .885rem; line-height: 1.7; color: #46608f; }

/* ==========================================================================
   Work process
   ========================================================================== */
.process-grid { position: relative; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .process-grid::before {
    content: ''; position: absolute; top: 2.4rem; left: 12%; right: 12%; height: 2px;
    background-image: linear-gradient(90deg, rgba(36, 86, 235, .35) 55%, transparent 0);
    background-size: 14px 2px; background-repeat: repeat-x;
  }
}

.process-step {
  position: relative; padding: 1.75rem 1.5rem; border-radius: 1.5rem; text-align: center;
  background: linear-gradient(180deg, #fff, var(--mist));
  border: 1px solid rgba(10, 26, 60, .07);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.process-step:hover { transform: translateY(-6px); border-color: rgba(6, 182, 212, .35); box-shadow: 0 22px 45px -22px rgba(10, 26, 60, .45); }

.process-icon {
  position: relative; z-index: 1; margin: 0 auto;
  display: grid; place-items: center; width: 4.1rem; height: 4.1rem; border-radius: 999px;
  background: #fff; color: var(--royal-700);
  box-shadow: 0 0 0 8px #fff, inset 0 0 0 2px rgba(36, 86, 235, .14), 0 12px 28px -14px rgba(10, 26, 60, .5);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .35s, color .35s;
}
.process-icon svg { width: 1.7rem; height: 1.7rem; }
.process-step:hover .process-icon {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(135deg, var(--navy-900), var(--royal-700)); color: #67e8f9;
}

.process-num {
  margin-top: 1.1rem; font-size: .72rem; font-weight: 900; letter-spacing: .22em; color: var(--aqua-600);
}
.process-title { margin-top: .4rem; font-size: 1.02rem; font-weight: 800; line-height: 1.3; color: var(--navy-900); }
.process-desc { margin-top: .6rem; font-size: .85rem; line-height: 1.65; color: #46608f; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-icon {
  display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: .9rem;
  background: #fff; color: var(--royal-700); box-shadow: 0 0 0 1px rgba(10, 26, 60, .07), 0 6px 16px -10px rgba(10, 26, 60, .5);
}
.contact-icon svg { width: 1.2rem; height: 1.2rem; }
.contact-label { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #5c82c2; }
.contact-value { margin-top: .2rem; font-size: .93rem; font-weight: 600; line-height: 1.55; color: #132750; }
.contact-link {
  margin-top: .2rem; display: inline-block; font-size: .93rem; font-weight: 700; color: var(--navy-900);
  transition: color .2s;
}
.contact-link:hover { color: var(--aqua-700); }

.form-label { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 800; letter-spacing: .04em; color: #1b366a; }
.form-input {
  width: 100%; padding: .75rem .95rem; border-radius: .9rem;
  border: 1px solid #dbe6f6; background: #fdfefe;
  font-size: .9rem; color: var(--navy-900);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-input::placeholder { color: #93aeda; }
.form-input:focus {
  outline: none; background: #fff; border-color: var(--aqua-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .15);
}
.form-input.has-error { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, .13); }
.form-error { margin-top: .35rem; font-size: .75rem; font-weight: 600; color: #dc2626; min-height: 0; display: none; }
.form-error.is-shown { display: block; }

.map-placeholder {
  background-color: #e8f1fb;
  background-image:
    linear-gradient(rgba(36, 86, 235, .10) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(36, 86, 235, .10) 1.5px, transparent 1.5px),
    linear-gradient(rgba(36, 86, 235, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 86, 235, .05) 1px, transparent 1px),
    linear-gradient(115deg, transparent 46%, rgba(6, 182, 212, .30) 46%, rgba(6, 182, 212, .30) 49%, transparent 49%),
    linear-gradient(20deg, transparent 62%, rgba(36, 86, 235, .22) 62%, rgba(36, 86, 235, .22) 64.5%, transparent 64.5%);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px, 100% 100%, 100% 100%;
  transition: transform .5s ease;
}
.group:hover .map-placeholder { transform: scale(1.04); }

.map-pin {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-900), var(--royal-700)); color: #fff;
  box-shadow: 0 0 0 0 rgba(6, 182, 212, .55); animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, .55) }
  70% { box-shadow: 0 0 0 22px rgba(6, 182, 212, 0) }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0) }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-heading { font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.footer-link { color: rgba(255, 255, 255, .62); transition: color .2s, padding-left .2s; }
.footer-link:hover { color: var(--aqua-400); padding-left: .25rem; }

.social-btn {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .8rem;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.social-btn:hover { background: var(--aqua-500); color: #04252e; border-color: transparent; transform: translateY(-2px); }

/* ==========================================================================
   Back to top
   ========================================================================== */
#back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Print -------------------------------------------------------------------- */
@media print {
  #navbar, #back-to-top, .mobile-menu { display: none !important; }
  body { color: #000; }
}
