@font-face {
  font-family: 'HonestaCopperplate';
  src: url('../fonts/CopperplateCC-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  ascent-override: 80%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'HonestaCopperplate';
  src: url('../fonts/OPTICopperplate-Heavy.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  ascent-override: 80%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Red Hat Display';
  src: url('../fonts/RedHatDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Red Hat Display';
  src: url('../fonts/RedHatDisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Red Hat Display';
  src: url('../fonts/RedHatDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

/* ── Hero load animation ───────────────────────────────── */
@keyframes honesta-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: honesta-fade-up 0.8s ease forwards;
}
.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.35s; }

/* ── Scroll reveal (fade up only) ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }

/* ── Button zoom ───────────────────────────────────────── */
.btn-lift {
  transition: transform 0.2s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn-lift:hover {
  transform: scale(1.04);
}

/* ── Process steps animation ───────────────────────────── */
.process-line-fill {
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scaleX(0);
  transform-origin: left;
}
.process-visible .process-line-fill {
  transform: scaleX(1);
}

.step-circle {
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-text {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.process-visible .process-step:nth-child(1) .step-circle { transform: scale(1); transition-delay: 0.0s; }
.process-visible .process-step:nth-child(2) .step-circle { transform: scale(1); transition-delay: 0.38s; }
.process-visible .process-step:nth-child(3) .step-circle { transform: scale(1); transition-delay: 0.76s; }
.process-visible .process-step:nth-child(4) .step-circle { transform: scale(1); transition-delay: 1.14s; }

.process-visible .process-step:nth-child(1) .step-text { opacity: 1; transform: none; transition-delay: 0.18s; }
.process-visible .process-step:nth-child(2) .step-text { opacity: 1; transform: none; transition-delay: 0.56s; }
.process-visible .process-step:nth-child(3) .step-text { opacity: 1; transform: none; transition-delay: 0.94s; }
.process-visible .process-step:nth-child(4) .step-text { opacity: 1; transform: none; transition-delay: 1.32s; }

body {
  font-family: 'Red Hat Display', sans-serif;
}

.font-heading {
  font-family: 'HonestaCopperplate', serif;
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: 0.03em;
}

nav[role="navigation"] a {
  font-family: 'HonestaCopperplate', serif;
  font-weight: 700;
  font-synthesis: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-desktop a:not(.nav-cta) {
  position: relative;
}

.nav-desktop a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #001C9B;
  transition: width 0.25s ease;
}

.nav-desktop a:not(.nav-cta):hover::after,
.nav-desktop a.nav-active::after {
  width: 100%;
}

.nav-desktop a.nav-active {
  color: #001C9B;
}

#mobile-menu a.nav-active {
  color: #001C9B;
  font-weight: 700;
}
