/*----------------------------------------------- GENERAL -----------------------------------------------*/
body {
  overflow-x: hidden;
  margin: 0px;
  background-color: black;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
/*----------------------------------------------- GENERAL (END) -----------------------------------------------*/









/*----------------------------------------------- BASICS -----------------------------------------------*/
/*FONTS*/
.h1-loop-hero-xl,
.h1-loop-hero,
.h1-loop,
.h2-loop,
.h3-loop,
.h4-loop, 
.h5-loop,
.h6-loop,
.p-loop {
  font-optical-sizing: auto;
  font-style: normal;
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  margin: 0px;
}

/*AMERICAN TYPEWRITER*/
.h1-loop-hero-xl,
.h1-loop-hero,
.h1-loop,
.h2-loop {
  font-family: "Lilita One", sans-serif;
}

/*NUNITO*/
.h3-loop,
.h4-loop, 
.h5-loop,
.h6-loop,
.p-loop {
  font-family: "Nunito", sans-serif;
}

/*SIZES ON MOBILE*/
@media screen and (max-width: 768px) {
  .h1-loop-hero-xl {
    font-size: 64px;
    line-height: 64px;
    letter-spacing: -1.5px;
  }
  .h1-loop-hero {
    font-size: 54px;
    line-height: 54px;
    letter-spacing: 0%;
  }

  .h1-loop {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0%;
  }

  .h2-loop {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 0%;
  }

  .h3-loop {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0%;
  }

  .h4-loop {
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 0%;
  }

  .h5-loop {
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0%;
  }

  .h6-loop {
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0%;
  }

  .p-loop {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
  }
}

/*SIZES ON DESKTOP*/
@media screen and (min-width: 769px) {
  .h1-loop-hero-xl {
    font-size: 80px;
    line-height: 80px;
    letter-spacing: -2px;
  }
  .h1-loop-hero {
    font-size: 54px;
    line-height: 54px;
    letter-spacing: 0%;
  }

  .h1-loop {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0%;
  }

  .h2-loop {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 0%;
  }

  .h3-loop {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0%;
  }

  .h4-loop {
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 0%;
  }

  .h5-loop {
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0%;
  }

  .h6-loop {
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0%;
  }

  .p-loop {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
  }
}
/*----------------------------------------------- BASICS (END) -----------------------------------------------*/



















/*----------------------------------------------- #HERO -----------------------------------------------*/
#hero {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #FFA601;
  padding-top: 256px;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}



/*LOGO GRAPHIC (IN TOP-RIGHT CORNER)*/
.loop-logo-graphic {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  animation-delay: 6s;
  z-index: 2;
}

/* SVG fills the container */
.loop-logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.25s ease;
}

.loop-logo-graphic:hover .loop-logo-svg {
  transform: scale(1.15);
}

/* Move the donut around the 40x40 square, same path as your current one */
.loop-mover {
  animation: circleLoop 3.2s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

/* Movement path: down → left → up → right */
@keyframes circleLoop {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(0, 20px); }
  50%  { transform: translate(-20px, 20px); }
  75%  { transform: translate(-20px, 0); }
  100% { transform: translate(0, 0); }
}






/*IMAGE WRAPPER*/
#hero .image-wrapper {
  position: relative;
  width: 100%;
  max-width: 512px;
  aspect-ratio: 2/1;
}



/*LOTTIE FILE*/
#hero .image-wrapper #loop-logo {
  width: 100%;
  aspect-ratio: 2/1;
  position: absolute;
  opacity: 0;
  transition: opacity 400ms ease;
}
#hero .image-wrapper #loop-logo.is-visible {
  opacity: 1;
}

/*DOODADS*/
#hero .image-wrapper .loop-logo-doodad-1,
#hero .image-wrapper .loop-logo-doodad-11,
#hero .image-wrapper .loop-logo-doodad-2,
#hero .image-wrapper .loop-logo-doodad-3 {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 2;
  opacity: 0;
}

/*DOODAD 1 (POSITION AND ANIMATING IN)*/
#hero .image-wrapper .loop-logo-doodad-1 {
  top: calc(22.5% - 20px);
  left: calc(21% - 20px);
  transform: rotate(-45deg);
  transform-origin: 50% 100%;
  animation:
    doodadDropInLeft 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.1) 7.5s forwards,
    doodadStretch    3s   ease-in-out                         8.5s infinite;
}

/*DOODAD 11 (POSITION AND ANIMATING IN)*/
#hero .image-wrapper .loop-logo-doodad-11 {
  top: calc(22.5% - 20px);
  left: calc(21% - 20px);
  transform: rotate(-45deg);
  transform-origin: 50% 100%;
  animation:
    doodadDropInLeft 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.1) 7.7s forwards,
    doodadStretch    3s   ease-in-out                         9.5s   infinite;
}

/*DOODAD 2 (POSITION AND ANIMATING IN)*/
#hero .image-wrapper .loop-logo-doodad-2 {
  bottom: calc(19% - 20px);
  left: calc(43% - 20px);
  transform-origin: 50% 50%;
  animation:
    doodadDropInCenter 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) 7.6s forwards,
    doodadClick        4s   cubic-bezier(0.3, 0.8, 0.2, 1)    8.5s   infinite;
}

/*DOODAD 3 (POSITION AND ANIMATING IN)*/
#hero .image-wrapper .loop-logo-doodad-3 {
  top: calc(28% - 20px);
  right: calc(7% - 20px);
  transform: rotate(45deg);
  transform-origin: 50% 60%;
  animation:
    doodadDropInRight 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.1) 7.65s forwards,
    doodadSpin        5.5s cubic-bezier(0.15, 0.8, 0.2, 1)   8.7s  infinite;
}



/*DOODAD 1 AND DOODAD 11 - KEYFRAMES FOR ANIMATING IN*/
@keyframes doodadDropInLeft {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translateY(-20px);
  }
  70% {
    opacity: 1;
    transform: rotate(-45deg) translateY(4px);
  }
  100% {
    opacity: 1;
    transform: rotate(-45deg) translateY(0);
  }
}

/*DOODAD 2 - KEYFRAMES FOR ANIMATING IN*/
@keyframes doodadDropInCenter {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.7);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*DOODAD 3 - KEYFRAMES FOR ANIMATING IN*/
@keyframes doodadDropInRight {
  0% {
    opacity: 0;
    transform: rotate(45deg) translateY(-20px);
  }
  70% {
    opacity: 1;
    transform: rotate(45deg) translateY(6px);
  }
  100% {
    opacity: 1;
    transform: rotate(45deg) translateY(0);
  }
}



/*DOODADS 1 AND 11 - STRETCH ANIMATION*/
@keyframes doodadStretch {
  0%, 55%, 100% { transform: rotate(-45deg) scaleY(1); }
  70%          { transform: rotate(-45deg) scaleY(1.6); }
  80%          { transform: rotate(-45deg) scaleY(0.9); }
}

/*DOODAD 2 - CLICK ANIMATION*/
@keyframes doodadClick {
  0%, 60%, 100% {
    transform: translateY(0) scaleY(1);
  }
  72% {
    transform: translateY(10px) scaleY(0.7);
  }
  84% {
    transform: translateY(-4px) scaleY(1.15);
  }
  92% {
    transform: translateY(0) scaleY(1);
  }
}

/*DOODAD 3 - SPIN ANIMATION*/
@keyframes doodadSpin {
  0% {
    transform: rotate(45deg);
  }
  40% {
    transform: rotate(945deg);
  }
  100% {
    transform: rotate(1125deg);
  }
}


/*ON HOVER*/
#hero .image-wrapper .doodad-pair:hover .loop-logo-doodad-1 {
  width: 60px;
  height: 60px;
  margin-top: -10px;
  margin-bottom: -10px;
  margin-left: -10px;
  margin-right: -10px;
}

#hero .image-wrapper .doodad-pair:hover .loop-logo-doodad-11 {
  width: 60px;
  height: 60px;
  margin-top: -10px;
  margin-bottom: -10px;
  margin-left: -10px;
  margin-right: -10px;
}


#hero .image-wrapper .loop-logo-doodad-2:hover {
  width: 60px;
  height: 60px;
  margin-left: -10px;
  margin-right: -10px;
}

#hero .image-wrapper .loop-logo-doodad-3:hover {
  width: 60px;
  height: 60px;
  margin-top: -10px;
  margin-bottom: -10px;
  margin-left: -10px;
  margin-right: -10px;
}





/*TEXT WRAPPER*/
#hero .text-wrapper {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

#hero .text-wrapper .p-loop {
  font-weight: 600;
  width: 100%;
  max-width: 550px;
  color: black;
  text-align: center;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 64px;
  padding-bottom: 128px;
  animation-delay: 6s;
}
/*----------------------------------------------- HERO (END) -----------------------------------------------*/



















/*----------------------------------------------- ILLUSTRATIONS -----------------------------------------------*/
/*ILLUSTRATIONS*/
#illustrations {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding-top: 192px;
  padding-bottom: 192px;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  background-color: #F3F3F3;
}



/* ITEM (GENERAL) */
#illustrations .item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 360px;
  position: relative;
}
@media screen and (min-width: 769px) {
  #illustrations .item {
    width: 33.33%;
  }  
}
@media screen and (max-width: 768px) {
  #illustrations .item {
    width: 100%;
    margin-bottom: 48px;
  }
}





/* CONNECTIONS */
.connections-visual {
  width: 100%;
  max-width: 360px;        
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CONNECTIONS SVG BASE */
#illustrations .connections-svg {
  width: 240px;   /* 3×60 + two 20px gaps in the start state */
  height: 240px;  /* column height including caps */
  display: block;
  margin: 0 auto;
}

/* ALL LINES START UNDRAWN */
#illustrations .connections-svg .draw-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

/* CONNECTORS START INVISIBLE */
#illustrations .connector {
  opacity: 0;
}

/* STEP 1 - DRAW COLUMNS*/
#illustrations .item.connections.animate #col1 {
  animation: draw-line 1.2s ease-out forwards;
  animation-delay: 0s;
}
#illustrations .item.connections.animate #col2 {
  animation: draw-line 1.2s ease-out forwards;
  animation-delay: 0.15s;
}
#illustrations .item.connections.animate #col3 {
  animation: draw-line 1.2s ease-out forwards;
  animation-delay: 0.30s;
}

/* STEP 2 - DRAW CONNECTORS*/
#illustrations .item.connections.animate #conn1 {
  animation: draw-line-connector 1.4s ease-out forwards;
  animation-delay: 1.0s;
}
#illustrations .item.connections.animate #conn2 {
  animation: draw-line-connector 1.4s ease-out forwards;
  animation-delay: 1.2s;
}

/* KEYFRAMES FOR DRAWING LINES AND CONNECTORS*/
@keyframes draw-line {
  0%   { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@keyframes draw-line-connector {
  0%   { stroke-dashoffset: 100; opacity: 0; }
  10%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}





/*INDIVIDUALS (VENN DIAGRAM) */
#illustrations .individuals {
  flex-direction: column;
  align-items: center;
}

#illustrations .individuals .individuals-visual {
  width: 100%;
  max-width: 360px;        /* matches .item max width */
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}



/*CIRCLE (BASE)*/
.individuals-visual .circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*CIRCLE (PINK/PURPLE)*/
.individuals-visual .circle-top {
  /* inverted stops, tuned angle */
  background: linear-gradient(30deg, #0C32F6 0%, #E5325D 100%);
  animation: individuals-top 7.2s ease-in-out infinite;
}

/*CIRCLE (YELLOW/ORANGE)*/
.individuals-visual .circle-bottom {
  /* tuned angle for correct facing */
  background: linear-gradient(-60deg, #FFBB00 0%, #FB4304 100%);
  animation: individuals-bottom 7.2s ease-in-out infinite;
  animation-delay: 0.35s; /* slight organic desync */
}



/* DIAGANOL MOVEVEMENT (ORANGE) */
@keyframes individuals-top {

  0%, 100% {
    transform:
      translate(-50%, -50%)
      translateX(-16%) translateY(-24%)
      rotate(-45deg);
  }

  20%, 35% {
    transform:
      translate(-50%, -50%)
      translateX(-8%) translateY(-14%)
      rotate(135deg);
  }

  65% {
    transform:
      translate(-50%, -50%)
      translateX(-16%) translateY(-24%)
      rotate(315deg);
  }
}


/* DIAGANOL MOVEMENT (PUPLE) */
@keyframes individuals-bottom {

  0%, 100% {
    transform:
      translate(-50%, -50%)
      translateX(16%) translateY(24%)
      rotate(45deg);
  }

  20% {
    transform:
      translate(-50%, -50%)
      translateX(12%) translateY(18%)
      rotate(-45deg);
  }

  35% {
    transform:
      translate(-50%, -50%)
      translateX(8%) translateY(14%)
      rotate(-765deg); /* two fast spins */
  }

  65% {
    transform:
      translate(-50%, -50%)
      translateX(12%) translateY(18%)
      rotate(-315deg);
  }
}





/* FLOW*/
#illustrations .flow-illustration {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
}

/* HIDE NEWLY SPAWNED MARBLES */
#illustrations .flow-illustration .marble-instance {
  opacity: 0;
}
/* WHEN ACTIVE, SHOW THEM */
#illustrations .flow-illustration .marble-instance.is-active {
  opacity: 1;
}

/* PAUSE SPIN UNTIL ACTIVE */
#illustrations .flow-illustration .marble-band {
  transform-box: fill-box;
  transform-origin: center;
  animation: marbleSpin 0.6s linear infinite;
  animation-play-state: paused;
}
/* START SPINNING WHEN ACTIVE */
#illustrations .flow-illustration .marble-instance.is-active .marble-band {
  animation-play-state: running;
}
/*SPIN*/
@keyframes marbleSpin {
  to { transform: rotate(-360deg); }
}





/* H2 BASE */
#illustrations .item .h2-loop {
  position: relative;
  font-weight: 600;
  text-align: center;
  color: #F3F3F3;
  background-color: black;
  padding: 4px 4px;
}

@media screen and (min-width: 769px) {
  #illustrations .item .h2-loop {
    margin-top: 12px;
  }  
}

@media screen and (max-width: 768px) {
  #illustrations .item .h2-loop {
    margin-top: -16px;
  } 
}

#illustrations .item .h2-loop::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid transparent;
  border-radius: 4px;
}

/* DESKTOP HOVER ONLY */
@media screen and (min-width: 769px) {
  #illustrations .item .h2-loop:hover {
    background-color: #F3F3F3;
    color: black;
    cursor: help;
  }

  #illustrations .item .h2-loop:hover::after {
    inset: -8px;
    border-color: black;
    transition:
      inset 0.3s ease,
      border-color 0.3s ease;
  }

  /* SHOW TOOLTIP ON H2 HOVER (desktop) */
  #illustrations .item .h2-loop:hover + .tooltip,
  #illustrations .item .tooltip:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}



/* TOOLTIP BASE */
#illustrations .item .tooltip {
  width: 100%;
  max-width: 280px;
  border-radius: 4px;
  padding: 20px;
  background-color: black;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-48px);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

@media screen and (min-width: 769px) {
  #illustrations .item .tooltip {
    top: -48px;
  }  
}

@media screen and (max-width: 768px) {
  #illustrations .item .tooltip {
    top: -24px;
  }

  /* MOBILE "OPEN" STATE (toggled via JS) */
  #illustrations .item .h2-loop.is-open {
    background-color: white;
    color: black;
  }

  #illustrations .item .h2-loop.is-open::after {
    inset: -8px;
    border-color: black;
  }

  #illustrations .item .h2-loop.is-open + .tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

#illustrations .item .tooltip .p-loop {
  color: white;
  font-weight: 600;
}

#illustrations .item .tooltip img {
  width: 12px;
  line-height: 7px;
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}
/*----------------------------------------------- ILLUSTRATIONS (END) -----------------------------------------------*/



















/*----------------------------------------------- QUOTE -----------------------------------------------*/
/*OVERALL*/
#quote {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: black;
  padding-top: 192px;
  padding-bottom: 192px;
}

/*FONT*/
#quote .h1-loop-hero-xl {
  width: 100%;
  max-width: 720px;
  text-align: center;
  color: white;
}
@media screen and (max-width: 768px) {
  #quote .h1-loop-hero-xl {
    font-size: 64px;
    line-height: 64px;
  }
}
@media screen and (min-width: 769px) {
  #quote .h1-loop-hero-xl {
    font-size: 80px;
    line-height: 80px;
  }
}

/*GROUP LETTERS FOR WORDS*/
#quote-heading .word {
  display: inline-block;
}

/*EACH LETTER*/
#quote-heading .char {
  display: inline-block;
}

/* BASE DOODAD */
#quote-heading .quote-doodad {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.15em; 
}
@media screen and (max-width: 768px) {
  #quote-heading .quote-doodad {
  width: 64px;
  height: 64px;
  }
}
@media screen and (min-width: 769px) {
  #quote-heading .quote-doodad {
  width: 80px;
  height: 80px;
  }
}


/* LETTER (INITIAL STATE) */
#quote-heading .char {
  opacity: 0;
  filter: blur(4px);
  transform-origin: 50% 100%;
  --lift: 20px;
  --rot: 0deg;
  transform: translateY(var(--lift)) rotate(var(--rot)) scale(0.9);
}

/* ODD LETTEERS LEAN LEFT */
#quote-heading .char:nth-child(odd) {
  --lift: 22px;
  --rot: -6deg;
}

/* EVEN LETTERS LETTEERS LEAN RIGHT */
#quote-heading .char:nth-child(even) {
  --lift: 18px;
  --rot: 5deg;
}

/* LETTER (FINAL STATE) */
#quote-heading.animate .char {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) rotate(0deg) scale(1);
  transition:
    opacity 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.45s ease-out;
  transition-delay: var(--delay, 0s);
}



/* DOODAD (INITIAL STATE) */
#quote-heading .quote-doodad {
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.9);
  transform-origin: center;
}

/* DOODAD (FINAL STATE) */
#quote-heading.animate .quote-doodad {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition:
    opacity 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.45s ease-out;
  transition-delay: var(--delay, 0s);
}



/* LOOPING SQUASH ANIMATION */
#quote-heading.animate .quote-doodad.doodad-feedback {
  animation: feedbackSquash 1.6s ease-in-out 2.0s infinite;
}

@keyframes feedbackSquash {
  0%, 100% {
    transform: scaleY(1) scaleX(1);
  }
  40% {
    transform: scaleY(0.7) scaleX(1.06);
  }
  60% {
    transform: scaleY(1.05) scaleX(0.98);
  }
}

/* LOOPING SPARKLE ANIMATION */
#quote-heading.animate .quote-doodad.doodad-insight {
  animation: insightTwinkle 2.1s ease-in-out 2.2s infinite;
}

@keyframes insightTwinkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  35% {
    transform: scale(1.08) rotate(6deg);
  }
  50% {
    transform: scale(1.02) rotate(-4deg);
  }
  65% {
    transform: scale(1.06) rotate(3deg);
  }
}

/* LOOPING RESULTS ANIMATION */
#quote-heading.animate .quote-doodad.doodad-results {
  animation: resultsRise 2.4s ease-in-out 2.4s infinite;
}

@keyframes resultsRise {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-10px) scale(1.04);
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
}



/*ON HOVER, SHRINK/SHIFT THE DOODAD*/
#quote-heading .quote-doodad:hover {
  padding-bottom: 20px;
}
/*----------------------------------------------- QUOTE (END) -----------------------------------------------*/




















/*----------------------------------------------- LOOPWRAP -----------------------------------------------*/
#loopwrap {
  position: relative;
  width: 100vw;
  margin: 0;
  overflow: hidden;
  background: #0D32F6;

  /* “cover” container sizing */
  height: clamp(500px, 90vh, 900px);
}

/* Make the SVG behave like a cover background */
#loopwrap .loop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Optional right-side fade overlay */
#loopwrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 20vw;
  height: 100%;
  pointer-events: none;
}



/* TEXT */
#loopwrap svg .lane text { 
  fill: #0D32F6; 
  dominant-baseline: middle; 
  transform: translateY(0px); 
} 

#loopwrap svg .lane textPath { 
  letter-spacing: 0.02em; 
}



/*PERFORMANCE*/
@media (max-width: 768px) {
  /* Slow down infinite decorative spins */
  #loopwrap #circleLoop {
    animation-duration: 18s !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #loopwrap #circleLoop,
  .qp-doodad-hero,
  .quote-doodad,
  .individuals-circle_1,
  .individuals-circle_2 {
    animation: none !important;
    transition: none !important;
  }
}
/*----------------------------------------------- LOOPWRAP (END) -----------------------------------------------*/



















/*----------------------------------------------- COLUMNS-TRACK -----------------------------------------------*/
#app {
  width: 100%;
  display: flex;
  overflow: hidden;
  justify-content: center;
  padding-top: 125px;
  background-color: #E02957;
}
@media (max-width: 768px) {
  #app {
    flex-wrap: wrap;
    padding-top: 150px;
  }
}



/* COLUMN TEXT */
@media (max-width: 768px) {
  #app .column-text {
    margin-bottom: 24px;
  }
}
@media (min-width: 769px) {
  #app .column-text {
    align-content: center;
  }
}

#app .column-text,
#app .column-image {
  width: 100%;
  max-width: 400px;
}

/* column order */
#app .column-text { order: 1; }
#app .column-image { order: 2; }

/* MOBILE MARGINS */
@media (max-width: 768px) {
  #app .column-text,
  #app .column-image {
    margin-left: 24px;
    margin-right: 24px;
  }
}

/* DESKTOP MARGINS */
@media (min-width: 769px) {
  #app .column-text {
    margin-left: 24px;
    margin-right: 48px;
  }
  #app .column-image {
    margin-left: 48px;
    margin-right: 24px;
  }
}



#app .column-text .wrapper-header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

#app .column-text .wrapper-header h1 {
  width: 100%;
  max-width: 400px;
  font-weight: 900;
  color: white;
  text-align: center;
}



#app .column-text .wrapper-description {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  #app .column-text .wrapper-description {
    margin-bottom: 8px;
  }
}

#app .column-text .wrapper-description h4 {
  width: 100%;
  max-width: 400px;
  font-weight: 600;
  color: white;
  text-align: center;
}



#app .column-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: -6px;
}

#app .column-image .carousel-container {
  max-width: 400px;
  justify-content: center;
  overflow: hidden;
}

/* key: prevent layout glitch on lazy-loaded carousel images */
#app .column-image .carousel-container img {
  aspect-ratio: 411 / 454;
}





/*PAGINATION*/
/*SEE MAIN.CSS FOR OTHE PAGINATION STYLING*/
#app .wrapper-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

#app .wrapper-pagination .carousel-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  max-width: 400px;
  pointer-events: none;
}

#app .wrapper-pagination .pagination_dot-boundary {
  pointer-events: auto;
}

#app .wrapper-pagination .pagination_dot-boundary.active .pagination_dot {
  background-color: #0D32F6;
  height: 16px;
  width: 32px;
  border-radius: 8px;
}

#app .wrapper-pagination .pagination_dot-boundary.inactive .pagination_dot {
  background-color: transparent;
  border: 5px solid #FFA601;
  height: 16px;
  width: 16px;
  border-radius: 8px;
}


/*ARROWS*/
/*WRAPPER*/
#app .wrapper-arrows {
  display: flex;
  width: 100%;
  justify-content: center;
  height: 40px;
  margin-top: -40px;
  pointer-events: none;
}

/*INNER-WRAPPER*/
#app .carousel-arrows {
  display: flex;
  width: 100%;
  max-width: 400px;
  justify-content: center;
  position: relative;
  pointer-events: none;
}

/*POSITION ARROWS*/
#app .carousel-arrows .carousel-arrow-backward {
  right: 64px;
  pointer-events: auto;
}
#app .carousel-arrows .carousel-arrow-forward {
  left: 64px;
  pointer-events: auto;
}

/*ARROW COLOR*/
#app .carousel-arrow-backward span  {
  background-color: black;
}
#app .carousel-arrow-forward span  {
  background-color: black;
}
/*----------------------------------------------- COLUMNS-TRACK (END) -----------------------------------------------*/



















/*----------------------------------------------- FOOTER (END) -----------------------------------------------*/
#footer {
  background: #000;
  color: #fff;
  width: 100%;
  padding-right: 24px;
  padding-left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 768px) {
  #footer {
    flex-direction: column;
    text-align: center;
    padding-top: 144px;
    padding-bottom: 144px;
  }
}
@media (min-width: 769px) {
  #footer {
    padding-top: 144px;
    padding-bottom: 48px;
  }
}



/*COLUMN - BUILT IN NYC*/
.footer-column-built {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .footer-column-built {
    justify-content: center;
  }
}

/*COLUMN - LOGO*/
.footer-column-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-column-logo img {
  width: 96px;
  height: 48px;
  display: block;
}

/*COLUMN - TRADEMARK*/
.footer-column-tm {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}
@media (max-width: 768px) {
  .footer-column-tm {
    align-items: center;
    gap: 2px;
  }
}


/*FONTS*/
#footer .h5-loop {
  color: #9a9a9a;
  font-weight: 700;
}
#footer .h6-loop {
  color: #9a9a9a;
  font-weight: 700;
}
/*----------------------------------------------- FOOTER (END) -----------------------------------------------*/



