/* Petal Canopy footer — Appily Twenty (pf-) */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.pf-marquee,
.pf-canopy,
.pf-scroll-top {
  --pf-wine: #2d1b2e;
  --pf-wine-deep: #1a101c;
  --pf-blush: #f5e6ea;
  --pf-blush-soft: #faf0f3;
  --pf-mint: #7eb8a4;
  --pf-mint-dark: #5a9688;
  --pf-cream: #faf8f5;
  --pf-gold: #e8a54b;
  --pf-serif: 'Instrument Serif', Georgia, serif;
  --pf-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── Partner marquee ── */
.pf-marquee {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--pf-cream);
  border-top: 1px solid #ece6e0;
  overflow: hidden;
  padding: 0.85rem 0;
}

.pf-marquee-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.pf-marquee-edge--left {
  left: 0;
  background: linear-gradient(90deg, var(--pf-cream), transparent);
}

.pf-marquee-edge--right {
  right: 0;
  background: linear-gradient(270deg, var(--pf-cream), transparent);
}

.pf-marquee-viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pf-marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: pf-marquee-scroll 32s linear infinite;
}

.pf-marquee:hover .pf-marquee-track {
  animation-play-state: paused;
}

@keyframes pf-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pf-marquee-item {
  font-family: var(--pf-serif);
  font-size: 1.05rem;
  color: #9a8a90;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pf-marquee-item::before {
  content: '✿';
  margin-right: 0.65rem;
  color: var(--pf-mint);
  font-size: 0.75rem;
}

/* ── Canopy shell ── */
.pf-canopy {
  position: relative;
  font-family: var(--pf-sans);
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(126, 184, 164, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(196, 69, 105, 0.12), transparent 50%),
    linear-gradient(168deg, var(--pf-wine-deep) 0%, var(--pf-wine) 42%, #3d2540 100%);
  padding: 0 0 0;
}

.pf-canopy-wave {
  color: var(--pf-cream);
  line-height: 0;
  margin-top: -1px;
}

.pf-canopy-wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

.pf-canopy-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(280px, 1.3fr) minmax(220px, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 2.5rem 0 2rem;
  align-items: start;
}

/* ── Brand desk ── */
.pf-desk-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 1rem;
}

.pf-desk-brand img {
  border-radius: 50%;
  border: 2px solid rgba(126, 184, 164, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.pf-desk-brand strong {
  display: block;
  font-family: var(--pf-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.15;
}

.pf-desk-brand span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.2rem;
  line-height: 1.4;
  max-width: 18rem;
}

.pf-desk-entity {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  max-width: 22rem;
}

.pf-desk-contact {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pf-desk-contact li {
  display: grid;
  gap: 0.15rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.pf-desk-key {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-mint);
}

.pf-desk-contact a {
  color: inherit;
  text-decoration: none;
}

.pf-desk-contact a:hover {
  color: var(--pf-gold);
}

.pf-desk-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pf-stamp {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.65rem;
  border: 1px dashed rgba(126, 184, 164, 0.45);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Bento navigation ── */
.pf-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pf-bento-tile {
  position: relative;
  padding: 1rem 1rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  overflow: hidden;
}

.pf-bento-tile::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 184, 164, 0.15), transparent 70%);
  pointer-events: none;
}

.pf-bento-tile:hover {
  border-color: rgba(126, 184, 164, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.pf-bento-num {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  font-family: var(--pf-serif);
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.pf-bento-tile h4 {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.pf-bento-tile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.pf-bento-tile a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.15s;
}

.pf-bento-tile a:hover {
  color: var(--pf-mint);
}

/* ── Stem post newsletter ── */
.pf-stem-post {
  padding: 1.25rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(245, 230, 234, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(245, 230, 234, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pf-stem-post-head {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 1rem;
}

.pf-stem-leaf {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 4px;
  height: calc(100% - 0.3rem);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--pf-mint), var(--pf-mint-dark));
}

.pf-stem-post-head h4 {
  margin: 0 0 0.4rem;
  font-family: var(--pf-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
}

.pf-stem-post-head p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.pf-stem-form {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.pf-stem-form input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
}

.pf-stem-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.pf-stem-form input:focus {
  outline: 2px solid rgba(126, 184, 164, 0.55);
  outline-offset: 1px;
}

.pf-stem-form button {
  padding: 0.72rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pf-mint), var(--pf-mint-dark));
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.pf-stem-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.pf-stem-note {
  margin: 0 0 1rem;
  font-size: 0.65rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

.pf-stem-note a {
  color: var(--pf-mint);
  text-decoration: underline;
}

.pf-pay-leaves {
  display: flex;
  gap: 0.5rem;
}

.pf-pay-leaf {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  color: var(--pf-wine);
  background: var(--pf-blush);
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
}

/* ── Aisle compass ── */
.pf-compass {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  background: rgba(0, 0, 0, 0.12);
}

.pf-compass-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pf-compass-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-mint);
  white-space: nowrap;
}

.pf-compass-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
}

.pf-compass-petal {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 184, 164, 0.35);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  background: rgba(126, 184, 164, 0.08);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pf-compass-petal:hover {
  background: rgba(126, 184, 164, 0.22);
  border-color: var(--pf-mint);
  color: #fff;
}

/* ── Sill bar ── */
.pf-sill {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.pf-sill-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.pf-sill-links {
  display: flex;
  gap: 1rem;
}

.pf-sill-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.pf-sill-links a:hover {
  color: var(--pf-gold);
}

/* ── Scroll to top ── */
.pf-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border: 0;
  cursor: pointer;
  z-index: 100;
  background: linear-gradient(135deg, var(--pf-mint), var(--pf-mint-dark));
  color: #fff;
  font-size: 1.15rem;
  clip-path: polygon(50% 0%, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
  box-shadow: 0 4px 18px rgba(45, 27, 46, 0.25);
  transition: transform 0.15s, filter 0.15s;
}

.pf-scroll-top:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.pf-scroll-top span {
  display: grid;
  place-items: center;
  height: 100%;
}

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

/* ── Responsive ── */
@media (max-width: 960px) {
  .pf-canopy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pf-stem-post {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .pf-canopy-grid {
    grid-template-columns: 1fr;
  }

  .pf-bento {
    grid-template-columns: 1fr;
  }

  .pf-sill-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pf-compass-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
