/* intro v18 â€” Emigre clay: blurred photo, ECG draw, typewriter caret */

/* Blurred background photo, sharp panel sits over it */
.intro-clay [data-photo] {
    width: 66%;
    aspect-ratio: 4 / 3;
}
.intro-clay__img {
    object-fit: cover;
    filter: blur(5px) saturate(1.05);
    transform: scale(1.06);
}

/* Heartbeat / ECG line draw (stroke colour = currentColor from Tailwind text-*) */
.intro-clay__ecg-path {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: intro-clay-ecg 4s linear infinite;
}
@keyframes intro-clay-ecg {
    0%   { stroke-dashoffset: 1400; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* Typewriter caret while typing */
.intro-clay__type .is-typing {
    border-right: 2px solid currentColor;
    animation: intro-clay-caret 800ms step-end infinite;
}
@keyframes intro-clay-caret {
    50% { border-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-clay__ecg-path { animation: none; stroke-dashoffset: 0; }
}

.services-sidebar__serif,
[data-serif] {
    font-family: Georgia, "Times New Roman", Times, serif;
}

.header-ui__box-10 {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    flex-shrink: 0;
}

/* Features v24 â€” sidebar nav state */
.features-sidebar-nav__btn {
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    border: none !important;
    outline: none;
    /* Left accent via inset box-shadow â€” reliable across all BS versions */
    box-shadow: inset 3px 0 0 transparent;
}

.features-sidebar-nav__btn.features-sidebar-nav__btn--active {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary) !important;
    box-shadow: inset 3px 0 0 var(--bs-primary);
    font-weight: 700;
}

.features-sidebar-nav__btn.features-sidebar-nav__btn--idle {
    background-color: transparent;
    color: var(--bs-body-color);
    box-shadow: inset 3px 0 0 transparent;
    font-weight: 400;
}

.features-sidebar-nav__btn.features-sidebar-nav__btn--idle:hover {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-emphasis-color);
    box-shadow: inset 3px 0 0 var(--bs-primary-bg-subtle);
}

@keyframes features-sidebar-nav-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes features-sidebar-nav-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

@keyframes features-sidebar-nav-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.features-sidebar-nav__decor--pulse {
    filter: blur(48px);
    animation: features-sidebar-nav-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-sidebar-nav__decor--bounce {
    transform: rotate(45deg);
    animation: features-sidebar-nav-bounce-kf 1s infinite;
}

.features-sidebar-nav__decor--spin {
    animation: features-sidebar-nav-spin-kf 1s linear infinite;
}

.features-sidebar-nav__decor--pulse-rotated {
    transform: rotate(45deg);
    animation: features-sidebar-nav-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* -- BS-mode decorative shapes — subtle, non-intrusive -- */
.features-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}
.content-flex-min {
    min-width: 0;
}

.content-memo-outline__grid {
    width: 6rem;
    height: 6rem;
    pointer-events: none;
}

.cta-creative-hero__strings {
  position: absolute;
  inset: 0;
  bottom: 4.5rem;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.cta-creative-hero__string {
  position: absolute;
  top: -8%;
  width: 0;
  border-left-width: 1px;
  border-left-style: solid;
  transform-origin: top center;
  animation: cta-creative-hero__string-sway 4s ease-in-out infinite;
}

.cta-creative-hero__string--0 {
  left: 4%;
  height: 88%;
  animation-duration: 3.6s;
  animation-delay: 0s;
}

.cta-creative-hero__string--1 {
  left: 14%;
  height: 96%;
  animation-duration: 4.2s;
  animation-delay: -0.4s;
}

.cta-creative-hero__string--2 {
  left: 26%;
  height: 78%;
  animation-duration: 3.8s;
  animation-delay: -1.1s;
}

.cta-creative-hero__string--3 {
  left: 38%;
  height: 92%;
  animation-duration: 4.6s;
  animation-delay: -0.8s;
}

.cta-creative-hero__string--4 {
  left: 50%;
  height: 100%;
  animation-duration: 3.4s;
  animation-delay: -1.6s;
}

.cta-creative-hero__string--5 {
  left: 62%;
  height: 82%;
  animation-duration: 4.4s;
  animation-delay: -0.2s;
}

.cta-creative-hero__string--6 {
  left: 74%;
  height: 94%;
  animation-duration: 3.9s;
  animation-delay: -1.3s;
}

.cta-creative-hero__string--7 {
  left: 86%;
  height: 76%;
  animation-duration: 4.8s;
  animation-delay: -0.6s;
}

.cta-creative-hero__string--8 {
  left: 94%;
  height: 90%;
  animation-duration: 3.5s;
  animation-delay: -1.9s;
}

@keyframes cta-creative-hero__string-sway {
  0%,
  100% {
    transform: rotate(-2deg) translateX(0);
  }
  25% {
    transform: rotate(1.5deg) translateX(3px);
  }
  50% {
    transform: rotate(-1deg) translateX(-2px);
  }
  75% {
    transform: rotate(2deg) translateX(2px);
  }
}

.cta-creative-hero__wrap {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.cta-creative-hero__subtitle-track {
  letter-spacing: 0.2em;
}

.cta-creative-hero__ring {
  inset: -0.35rem -0.5rem;
  border-radius: 9999px;
}

.cta-creative-hero__marquee-track {
  overflow: hidden;
}

.cta-creative-hero__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: cta-creative-hero__marquee 24s linear infinite;
}

@keyframes cta-creative-hero__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-creative-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-creative-hero__cta:hover,
.cta-creative-hero__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-creative-hero__cta.btn:hover,
.cta-creative-hero__cta.btn:focus-visible {
  color: var(--bs-white);
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

@media (min-width: 768px) {
  .cta-creative-hero__wrap {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767px) {
  .cta-creative-hero__strings {
    bottom: 3.5rem;
  }

  .cta-creative-hero__string--0,
  .cta-creative-hero__string--8 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-creative-hero__string {
    animation: none;
    transform: none;
  }

  .cta-creative-hero__marquee-inner {
    animation: none;
  }

  .cta-creative-hero__cta:hover,
  .cta-creative-hero__cta:focus-visible {
    transform: none;
  }
}

