/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V3 */
:root {
  --color-accent: #d97757;
  --color-accent-hover: #c86a4c;
}

 html, body {
        overflow-x: clip;
      }

 html {
        scroll-behavior: smooth;
        scroll-padding-top: 6rem;
      }

  #contact-buttons {
    scroll-margin-top: 6rem;
  }

@keyframes gradient-x {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.animate-gradient-x {
  background-size: 200% 200%;
  animation: gradient-x 4s ease infinite;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

  /* Blinking cursor effect */
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  #cursor {
    animation: blink 1s step-end infinite;
    font-weight: 300; 
  }

  /* Class to hide the cursor */
  .cursor-hidden {
    opacity: 0 !important;
  }

  /* Modest looping AI icon above the hero headline. No well, no black box. */
  #home .hero-ai {
    display: block;
    width: 7.5rem;
    height: 7.5rem;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none;
    border: 0;
    outline: 0;
    mix-blend-mode: lighten;
  }

  #follow-up .example-card {
    border: 1px solid #374151;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 1rem;
    padding: 1.35rem 1.4rem;
    min-width: 0;
  }

  #follow-up .example-kicker {
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
  }

  #follow-up .example-meta {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
  }

  #follow-up .example-sms,
  #follow-up .example-mail {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 1rem 1rem 1rem 0.25rem;
    padding: 0.9rem 1rem;
    color: #e5e7eb;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  #follow-up .example-mail {
    border-radius: 0.6rem;
  }

  #follow-up .example-cal {
    display: flex;
    gap: 0.9rem;
    align-items: center;
  }

  #follow-up .example-cal-date {
    flex: 0 0 4rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0.75rem;
    text-align: center;
    padding: 0.45rem 0.2rem 0.5rem;
  }

  #follow-up .example-cal-date span {
    display: block;
    color: var(--color-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  #follow-up .example-cal-date strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #fff;
  }

  #follow-up .example-cal-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }

  #follow-up .example-cal .example-meta {
    margin-bottom: 0;
  }

  /* Hero Connect buttons: smaller than Contact, with room between them */
  #home .hero-connect {
    gap: 1.25rem;
  }

  #home .hero-connect .js-connect {
    padding: 0.6rem 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    gap: 0.55rem;
  }

  #home .hero-connect .js-connect img {
    height: 0.75rem;
    width: 0.75rem;
  }

  @media (max-width: 767px) {
    #home .hero-block {
      margin-top: -100px;
    }

    #home .hero-connect {
      width: 100%;
      max-width: min(22rem, 100%);
      margin-inline: auto;
    }

    #home .hero-connect .js-connect {
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      min-height: 3.25rem;
      padding: 0.9rem 0.85rem;
      font-size: 1rem;
      line-height: 1.2;
      white-space: nowrap;
      gap: 0.5rem;
    }

    #home .hero-connect .js-connect img {
      height: 1.15rem;
      width: 1.15rem;
      flex-shrink: 0;
    }
  }

  @keyframes hero-mark-drift {
    0% {
      transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
    }
    25% {
      transform: translate(-50%, -50%) translate(5vw, -3vh) rotate(6deg);
    }
    50% {
      transform: translate(-50%, -50%) translate(-4vw, 4vh) rotate(-5deg);
    }
    75% {
      transform: translate(-50%, -50%) translate(3vw, 2vh) rotate(8deg);
    }
    100% {
      transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
    }
  }

  #home .hero-mark-glow {
    animation: hero-mark-drift 360s ease-in-out infinite;
    will-change: transform;
  }

  @media (prefers-reduced-motion: reduce) {
    #home .hero-mark-glow {
      animation: none;
      transform: translate(-50%, -50%);
    }
  }

  .mobile-connect-note {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
    margin: 0.85rem auto 0;
    max-width: 22rem;
  }
