/* Our Founders — full-width "Our Story" collage scene */
.lmyc-founders-origin-section {
  background:
    linear-gradient(180deg, rgb(var(--color-background)) 0%, rgba(253, 248, 243, 0.96) 42%, rgba(245, 238, 228, 0.92) 100%);
  overflow: visible;
}

.lmyc-founders-origin-padding {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  overflow: visible;
}

.lmyc-story-scene {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(0.75rem, 2vw, 1.5rem);
  min-height: clamp(34rem, 52vw, 46rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.lmyc-story-scene__polaroid {
  position: absolute;
  z-index: 3;
  width: clamp(17rem, 19vw, 27rem);
  margin: 0;
  animation: none;
  pointer-events: auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lmyc-story-scene__polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.lmyc-story-scene__polaroid--tl {
  top: clamp(1rem, 5vh, 3.5rem);
  left: max(0.5rem, 1.5vw);
  transform: rotate(-10deg);
  --lmyc-polaroid-hover-rotate: -10deg;
}

.lmyc-story-scene__polaroid--tr {
  top: clamp(0.5rem, 4vh, 2.5rem);
  right: max(0.5rem, 1.5vw);
  transform: rotate(8deg);
  --lmyc-polaroid-hover-rotate: 8deg;
}

.lmyc-story-scene__polaroid--bl {
  bottom: clamp(1rem, 5vh, 3.5rem);
  left: max(0.75rem, 2vw);
  transform: rotate(-5deg);
  --lmyc-polaroid-hover-rotate: -5deg;
}

.lmyc-story-scene__polaroid--br {
  bottom: clamp(1rem, 5vh, 3.5rem);
  right: max(0.75rem, 2vw);
  transform: rotate(6deg);
  --lmyc-polaroid-hover-rotate: 6deg;
}

.lmyc-story-scene__polaroid--br img {
  object-position: center 18%;
}

.lmyc-story-scene__polaroid:hover {
  z-index: 4;
  transform: translateY(-5px) rotate(var(--lmyc-polaroid-hover-rotate, 0deg));
  box-shadow:
    0 20px 42px rgba(20, 12, 6, 0.24),
    0 8px 16px rgba(20, 12, 6, 0.12);
}

.lmyc-founders-origin-card {
  position: relative;
  z-index: 2;
  width: min(72rem, 58vw);
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.85rem, 2.8vw, 2.6rem) clamp(2rem, 4vw, 4rem) clamp(2rem, 3vw, 2.8rem);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(66, 89, 54, 0.12);
  border-radius: 1.4rem;
  box-shadow:
    0 1.8rem 4.8rem rgba(66, 89, 54, 0.09),
    0 0.4rem 1.2rem rgba(66, 89, 54, 0.04);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.lmyc-founders-origin-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.4rem;
  background: linear-gradient(90deg, #425936 0%, #303D1C 50%, #425936 100%);
}

.lmyc-founders-origin-card__header {
  text-align: center;
}

.lmyc-founders-origin-eyebrow {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  text-align: center;
  max-width: max-content;
  width: auto;
}

.lmyc-founders-origin-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 1rem auto 1.6rem;
  max-width: 28rem;
}

.lmyc-founders-origin-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66, 89, 54, 0.28), transparent);
}

.lmyc-founders-origin-divider svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #425936;
  flex-shrink: 0;
}

.lmyc-founders-origin-card__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: none;
  margin: 0;
  text-align: left;
  font-size: clamp(1.32rem, 1.15vw, 1.52rem);
  line-height: 1.72;
}

.lmyc-founders-origin-card__body > * + * {
  margin-top: 0;
}

.lmyc-founders-origin-card__body p {
  margin: 0;
}

.lmyc-founders-origin-timeline {
  position: relative;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(66, 89, 54, 0.1);
}

.lmyc-founders-origin-timeline__track {
  display: none;
}

.lmyc-founders-origin-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  position: relative;
}

.lmyc-founders-origin-timeline__list::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #425936 0%, #C2B08D 45%, #D18E95 75%, #425936 100%);
  z-index: 0;
}

.lmyc-founders-origin-timeline__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lmyc-founders-origin-timeline__dot {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #425936;
  border: 3px solid #fffef4;
  box-shadow: 0 0 0 2px rgba(66, 89, 54, 0.25);
}

.lmyc-founders-origin-timeline__item--now .lmyc-founders-origin-timeline__dot {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: -0.12rem;
  margin-bottom: 0.88rem;
  background: #D18E95;
  box-shadow:
    0 0 0 3px rgba(209, 142, 149, 0.28),
    0 0 0 6px rgba(209, 142, 149, 0.12);
  animation: lmyc-timeline-pulse 2.4s ease-in-out infinite;
}

@keyframes lmyc-timeline-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(209, 142, 149, 0.28), 0 0 0 6px rgba(209, 142, 149, 0.12);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(209, 142, 149, 0.35), 0 0 0 10px rgba(209, 142, 149, 0.08);
  }
}

.lmyc-founders-origin-timeline__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 6.5rem;
  padding: 1.1rem 0.85rem 1.2rem;
  border-radius: 1rem;
  background: rgba(66, 89, 54, 0.05);
  border: 1px solid rgba(66, 89, 54, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.lmyc-founders-origin-timeline__item:hover .lmyc-founders-origin-timeline__card,
.lmyc-founders-origin-timeline__item:focus-within .lmyc-founders-origin-timeline__card {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2.4rem rgba(66, 89, 54, 0.1);
  border-color: rgba(66, 89, 54, 0.18);
}

.lmyc-founders-origin-timeline__item--now .lmyc-founders-origin-timeline__card {
  background: linear-gradient(165deg, rgba(66, 89, 54, 0.12) 0%, rgba(209, 142, 149, 0.14) 100%);
  border-color: rgba(209, 142, 149, 0.35);
}

.lmyc-founders-origin-timeline__year {
  font-family: var(--font-heading-family);
  font-size: clamp(1.35rem, 1.4vw, 1.65rem);
  line-height: 1.15;
  color: #425936;
}

.lmyc-founders-origin-timeline__item--now .lmyc-founders-origin-timeline__year {
  font-size: clamp(1.75rem, 1.8vw, 2.1rem);
  color: #D18E95;
}

.lmyc-founders-origin-timeline__label {
  font-size: 1.05rem;
  line-height: 1.38;
  letter-spacing: 0.02em;
  color: rgba(44, 36, 25, 0.75);
  max-width: 16rem;
}

.lmyc-founders-origin-timeline__item--now .lmyc-founders-origin-timeline__label {
  color: #425936;
  font-weight: 500;
}

@media screen and (min-width: 1200px) {
  .lmyc-story-scene {
    min-height: clamp(36rem, 54vw, 48rem);
  }

  .lmyc-story-scene__polaroid {
    width: clamp(18rem, 16vw, 26rem);
  }

  .lmyc-story-scene__polaroid--tl {
    left: clamp(0.75rem, 2.5vw, 4%);
  }

  .lmyc-story-scene__polaroid--tr {
    right: clamp(0.75rem, 2.5vw, 4%);
  }

  .lmyc-story-scene__polaroid--bl {
    left: clamp(1rem, 3vw, 5%);
  }

  .lmyc-story-scene__polaroid--br {
    right: clamp(1rem, 3vw, 5%);
  }

  .lmyc-founders-origin-card {
    width: min(72rem, 56vw);
  }
}

@media screen and (min-width: 1600px) {
  .lmyc-story-scene__polaroid {
    width: clamp(20rem, 15vw, 28rem);
  }

  .lmyc-story-scene__polaroid--tl {
    left: 2.5%;
  }

  .lmyc-story-scene__polaroid--tr {
    right: 2.5%;
  }

  .lmyc-story-scene__polaroid--bl {
    left: 3.5%;
  }

  .lmyc-story-scene__polaroid--br {
    right: 3.5%;
  }
}

@media screen and (max-width: 1199px) {
  .lmyc-story-scene__polaroid {
    width: clamp(14.5rem, 17vw, 21rem);
  }

  .lmyc-founders-origin-card {
    width: min(72rem, 90vw);
  }
}

@media screen and (max-width: 991px) {
  .lmyc-story-scene {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    gap: 1.75rem;
  }

  .lmyc-story-scene__polaroids-mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 36rem;
    width: 100%;
    margin: 0 auto;
    order: -1;
  }

  .lmyc-story-scene__polaroid {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
  }

  .lmyc-story-scene__polaroid--tl {
    transform: rotate(-2deg);
    --lmyc-polaroid-hover-rotate: -2deg;
  }

  .lmyc-story-scene__polaroid--tr {
    transform: rotate(1.5deg);
    --lmyc-polaroid-hover-rotate: 1.5deg;
  }

  .lmyc-story-scene__polaroid--bl {
    transform: rotate(-1.5deg);
    --lmyc-polaroid-hover-rotate: -1.5deg;
  }

  .lmyc-story-scene__polaroid--br {
    transform: rotate(2deg);
    --lmyc-polaroid-hover-rotate: 2deg;
  }

  .lmyc-founders-origin-card {
    width: 100%;
    max-width: 54rem;
  }

  .lmyc-founders-origin-card__body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lmyc-founders-origin-timeline__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0.85rem;
  }

  .lmyc-founders-origin-timeline__list::before {
    display: none;
  }

  .lmyc-founders-origin-timeline__dot {
    margin-bottom: 0.85rem;
  }
}

@media screen and (max-width: 767px) {
  .lmyc-founders-origin-card {
    padding: 1.75rem 1.4rem 2rem;
    border-radius: 1.2rem;
  }

  .lmyc-founders-origin-card__body {
    font-size: 1.38rem;
    line-height: 1.65;
  }

  .lmyc-founders-origin-divider {
    margin-bottom: 1.4rem;
  }

  .lmyc-founders-origin-timeline {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
  }

  .lmyc-founders-origin-timeline__list {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.4rem;
  }

  .lmyc-founders-origin-timeline__list::before {
    display: block;
    top: 0.6rem;
    bottom: 0.6rem;
    left: 0.62rem;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #425936 0%, #C2B08D 50%, #D18E95 85%, #425936 100%);
  }

  .lmyc-founders-origin-timeline__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.1rem;
    text-align: left;
    padding-bottom: 1.4rem;
  }

  .lmyc-founders-origin-timeline__item:last-child {
    padding-bottom: 0;
  }

  .lmyc-founders-origin-timeline__dot {
    margin: 0.3rem 0 0;
  }

  .lmyc-founders-origin-timeline__item--now .lmyc-founders-origin-timeline__dot {
    margin-top: 0.15rem;
    margin-bottom: 0;
  }

  .lmyc-founders-origin-timeline__card {
    min-height: 0;
    flex: 1;
    align-items: flex-start;
    text-align: left;
    padding: 1rem 1.1rem;
  }

  .lmyc-founders-origin-timeline__label {
    max-width: none;
  }
}

@media screen and (min-width: 992px) {
  .lmyc-story-scene__polaroids-mobile {
    display: contents;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmyc-story-scene__polaroid {
    transition: none;
  }

  .lmyc-story-scene__polaroid:hover {
    transform: rotate(var(--lmyc-polaroid-hover-rotate, 0deg));
  }

  .lmyc-founders-origin-timeline__item--now .lmyc-founders-origin-timeline__dot {
    animation: none;
  }

  .lmyc-founders-origin-timeline__item:hover .lmyc-founders-origin-timeline__card {
    transform: none;
  }
}
