/* Ported from Ceep codex_project/app/globals.css. */
.flower-footer {
  --studio-black: #0c1111;
  --studio-black-field: radial-gradient(ellipse at 78% 8%, rgb(199 131 111 / 6%), transparent 32%), radial-gradient(ellipse at 14% 54%, rgb(141 157 149 / 5%), transparent 35%), linear-gradient(155deg, #111717 0%, #0b1010 54%, #121616 100%);
  --ivory: #fbeee0;
  font-variation-settings: normal;
  letter-spacing: normal;
}
.flower-footer a { color: inherit; text-decoration: none; }
/* ---------- shared flower footer ---------- */
.flower-footer {
  --footer-curtain: 0;
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100lvh;
  min-height: 100lvh;
  overflow: visible;
  isolation: isolate;
  color: var(--ivory);
  background: var(--studio-black-field);
  background-attachment: fixed;
}

.flower-footer::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  background: var(--studio-black-field);
  opacity: var(--footer-curtain);
  pointer-events: none;
  will-change: opacity;
}


.flower-footer__canvas,
.flower-footer__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flower-footer__canvas {
  position: fixed;
  z-index: 1;
  display: block;
  height: 100lvh;
  opacity: 1;
  pointer-events: none;
}

.flower-footer.is-loaded .flower-footer__canvas { opacity: 1; }

.flower-footer__wash {
  display: none;
}

.flower-footer__meta {
  position: absolute;
  z-index: 3;
  top: 47%;
  right: 3vw;
  left: 3vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.flower-footer__company {
  display: grid;
  gap: 14px;
  font-family: "yo-gothic-plusn", sans-serif;
  font-size: 9px;
  font-style: normal;
  line-height: 1.65;
  letter-spacing: 0.025em;
}

.flower-footer__company strong {
  font-size: 13px;
  font-weight: 500;
}

.flower-footer__company strong small {
  font-size: 0.78em;
}

.flower-footer__company p {
  margin: 0;
  color: rgb(251 238 224 / 68%);
}

.flower-footer__company > small {
  color: rgb(251 238 224 / 58%);
  font-size: 8px;
}

.flower-footer__company a,
.flower-footer__contacts a {
  pointer-events: auto;
}

.flower-footer__contacts {
  width: min(210px, 16vw);
  display: grid;
  font-family: "roc-grotesk", sans-serif;
  font-size: clamp(17px, 1.45vw, 25px);
  font-weight: 400;
  line-height: 1.35;
}

.flower-footer__contacts a {
  width: fit-content;
  transition: opacity 250ms ease, transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.flower-footer__contacts a:hover,
.flower-footer__contacts a:focus-visible {
  opacity: 0.6;
  transform: translateX(6px);
}

.flower-footer__talk-link {
  position: absolute;
  z-index: 4;
  top: 62%;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  overflow: hidden;
  cursor: pointer;
  outline: 1px solid transparent;
  outline-offset: 12px;
}

.flower-footer__talk-link:focus-visible {
  outline-color: rgb(251 238 224 / 34%);
}

.flower-footer__talk-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  opacity: 0.96;
  transition:
    opacity 320ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.flower-footer__talk-track {
  width: max-content;
  display: flex;
  align-items: flex-end;
  animation: footerTalkMarquee 31s linear infinite;
  will-change: transform;
}

.flower-footer__talk-unit {
  --talk-item-height: clamp(112px, 12.5vw, 220px);
  flex: none;
  display: flex;
  align-items: flex-end;
  gap: clamp(28px, 3vw, 62px);
  padding-right: clamp(46px, 5vw, 96px);
  white-space: nowrap;
}

.flower-footer__talk-lets {
  height: var(--talk-item-height);
  display: flex;
  align-items: flex-end;
  font-family: "roc-grotesk-wide", sans-serif;
  font-size: calc(var(--talk-item-height) * 1.58);
  font-weight: 200;
  line-height: 0.72;
  letter-spacing: -0.055em;
}

.flower-footer__talk-word {
  height: var(--talk-item-height);
  display: flex;
  align-items: flex-end;
  font-family: "roc-grotesk-compressed", sans-serif;
  font-size: calc(var(--talk-item-height) * 1.58);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.025em;
}

.flower-footer__talk-arrow {
  flex: none;
  width: var(--talk-item-height);
  height: var(--talk-item-height);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--studio-black);
  background: var(--ivory);
  transition:
    transform 750ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 320ms ease;
}

.flower-footer__talk-arrow svg {
  width: 52%;
  height: 52%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flower-footer.is-talk-hover .flower-footer__talk-marquee,
.flower-footer__talk-link:focus-visible .flower-footer__talk-marquee {
  opacity: 1;
  transform: translate3d(0, -10px, 0);
}

.flower-footer.is-talk-hover .flower-footer__talk-arrow,
.flower-footer__talk-link:focus-visible .flower-footer__talk-arrow {
  transform: translate3d(8px, -8px, 0) scale(1.06);
  background: #fffaf3;
}

@keyframes footerTalkMarquee {
  to { transform: translate3d(-50%, 0, 0); }
}

.flower-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .flower-footer {
    height: 100lvh;
    min-height: 100lvh;
  }

  .flower-footer__talk-link {
    top: 62%;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .flower-footer__meta {
    top: 43%;
    right: 20px;
    left: 20px;
  }

  .flower-footer__company {
    max-width: 56vw;
    gap: 10px;
    font-size: 7px;
  }

  .flower-footer__company strong {
    font-size: 10px;
  }

  .flower-footer__company > small {
    font-size: 6px;
  }

  .flower-footer__contacts {
    width: auto;
    font-size: 14px;
  }

  .flower-footer__talk-unit {
    --talk-item-height: clamp(78px, 22vw, 108px);
    gap: 20px;
    padding-right: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flower-footer__canvas { transition: none; }
  .flower-footer__talk-track { animation: none; }
}

