:root {
  --cream: #fbfada;
  --navy: #0d1236;
  --red: #f5372a;
  --white: #ffffff;
  --grey: #6c7080;
  --display: "Anton", "Arial Narrow", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --pad: clamp(1.25rem, 6vw, 6.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfada;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* .display {
  
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.9;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
} */
.display--lg {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-align: right;
}
.display--xl {
  font-size: clamp(2.8rem, 8vw, 6rem);
}

/* .mono {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
} */

/* .eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.4rem;
} */



/* ---------------- HERO ---------------- */
.hero {
    background: var(--cream);
    padding: clamp(3rem, 9vw, 7rem) var(--pad) clamp(2rem, 5vw, 4rem);
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    width: min(1400px, 90%);
    margin: auto;
}
.hero__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__rule {
  display: block;
  width: 1px;
  height: clamp(3rem, 8vw, 7rem);
  background: var(--navy);
  margin: 1.5rem 0 0 clamp(1rem, 6vw, 6rem);
}

.callnow {
  position: relative;
  width: clamp(190px, 26vw, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-decoration: none;
  flex: none;
}
.callnow__ring,
.callnow__core {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  background: var(--red);
}
.callnow__ring--3 {
  width: 100%;
  height: 100%;
  opacity: 0.22;
  animation: pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.callnow__ring--2 {
  width: 80%;
  height: 80%;
  opacity: 0.42;
  animation: pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite 0.25s;
}
.callnow__core {
  width: 60%;
  height: 60%;
  opacity: 1;
  animation: pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite 0.5s;
}
.callnow__label {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    color: var(--white);
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .callnow__ring,
  .callnow__core {
    animation: none;
  }
}

/* travelling orb */
.orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

/* ---------------- ISSUES ---------------- */
.issues {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) clamp(5rem, 12vw, 10rem);
}
.issues__kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0 0 clamp(3rem, 8vw, 6rem);
}

.issues__list {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}

.highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--red);
  opacity: 0;
  z-index: 0;
}
.highlight__dot {
  position: absolute;
  top: 1.15rem;
  left: 1.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
}

.issue {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: clamp(5rem, 14vw, 11rem);
  color: var(--white);
}
.issue:last-child {
  margin-bottom: 0;
}
.issue h2 {
  margin: 0 0 0.9rem;
  padding-left: 2.2rem;
  color: white;
}

.issue p{
  color:white;
  padding-left: 2.2rem;
}

/* .issue p {
  max-width: 22rem;
  padding-left: 2.2rem;
  color: rgba(255, 255, 255, 0.82);
} */
.issue .btn {
  margin-top: 1.4rem;
  margin-left: auto;
  display: block;
  width: max-content;
  transform: none;
  pointer-events: auto;
  border-radius: 0;
  background: white;
  color: #0d1236;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  visibility: hidden;
}
.issue.is-active .btn {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  border-radius: 0;
  background: white;
  color: #0d1236;
  visibility: visible;
}
/* inactive markers: small red dot beside the heading */
.issue::before {
  content: "";
  position: absolute;
  top: clamp(1.9rem, 3.4vw, 2.55rem);
  left: clamp(1.5rem, 3vw, 2.2rem);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  opacity: 1;
  transition: opacity 0.2s ease;
}
.issue.is-active::before,
.issues.orb-pending .issue:first-child::before {
  opacity: 0;
}

/* ---------------- EXPERIENCE ---------------- */

.experience {
    background: transparent;
    width: min(1400px, 90%);
    margin: auto;
    padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad);
}
.experience__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.experience__head .mono {
  max-width: 24rem;
  color: var(--navy);
}
@media (min-width: 800px) {
  .experience__head {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    max-width: 100%;
}
.stat {
  /* border: 1px solid #d9d9d6; */
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem) 1.5rem;
  padding: 75px;
  text-align: center;
}
.stat__figure {
    font-size: clamp(5.2rem, 5vw, 6rem);
    margin: 0 0 0.7rem;
    color: #101236;
    font-weight: 600;
    font-family: "Mona Sans", sans-serif;
    opacity: 1;
}
.stat__figure span {
  font-size: 0.45em;
}
.stat__label {
  /* color: var(--grey);
  font-size: 0.72rem;
  max-width: 14rem; */
  margin: 0 auto;
}

/* ---------------- FOOTER ---------------- */
.footer {
  background: var(--cream);
  padding: clamp(2rem, 5vw, 3.5rem) var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat.blue {
    background: #101236;
    border: none;
}
.stat.lblue {
    background: #c6c7e3;
    border: none;
}
.stat.blue p, .stat.red p{
    color: white;
    font-weight: 500;
}
.stat.red {
    background: #f5362b;
    border: none;
}




/* KEY SVG*/
.key-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.swinging-key {
    position: absolute;
    top: -105px;
    left: 5%;

    width: 80px;
    height: auto;

    transform-origin: 50% 0%;
    transform: translateX(-50%) rotate(0deg);

    animation: keySwing 2.8s ease-in-out infinite;
    will-change: transform;
}

@keyframes keySwing {
    0% {
        transform: translateX(-50%) rotate(-12deg);
    }

    50% {
        transform: translateX(-50%) rotate(12deg);
    }

    100% {
        transform: translateX(-50%) rotate(-12deg);
    }
}