/* Every facilitator profile except Matt's (he has meashenu.css), 2026-10-19. Hand-written,
   not built by Tailwind, and linked from facilitator_profile.html for those profiles
   only: main.css sits at its size limit (tests/test_static_budget.py). Matt chose it
   from two rounds of renders ("not enough CSS design, could use more pop"), taking bits
   of several: the home page's cloud forest painting behind the hero with butterflies
   and an arched, gold-edged portrait; the session cards from the "Sky" render, made to
   lift off the page; the blue How to book band with its butterfly. He did not want the
   sliding band of session names, nor colours taken from each person's photo (muddy).
   The two heroes he wants kept for later skins are in docs/redesign/profile-heroes.md.

   Unlayered, so these rules win over main.css's @layer components ones. Every var() is
   one main.css defines (tests/test_facilitators_pages.py checks). Every animation stops
   under prefers-reduced-motion. */

/* ----- Hero: the cloud forest painting under a blue veil ----- */
.pdp-fp-hero { background: var(--color-peace-700); }
.pdp-fp-sky { position: absolute; inset: 0; }
.pdp-fp-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pdp-fp-hero .pdp-prof-hero-veil { background: linear-gradient(0deg, rgb(16 40 58 / .97) 30%, rgb(16 40 58 / .45) 80%); }
.pdp-fp-hero .pdp-prof-portrait { border-radius: 0 0 40px 40px; }
.pdp-fp-hero .pdp-prof-portrait::after { background: linear-gradient(180deg, rgb(16 40 58 / 0) 50%, rgb(16 40 58 / .9) 100%); }
.pdp-fp-hero .pdp-prof-tagline { color: var(--color-gold-300); }
.pdp-fp-hero .pdp-prof-back { background: rgb(255 255 255 / .12); }

/* Their price note and the place, as chips; the note in gold */
.pdp-fp-facts { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.pdp-fp-fact { display: flex; flex-direction: column; gap: 2px; max-width: 100%; padding: 9px 15px; border-radius: 16px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.pdp-fp-fact > span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.pdp-fp-fact--gold { background: var(--color-gold-300); border-color: transparent; color: var(--color-forest-900); }

/* Butterflies: one by the name on phones, two around the portrait from 700px */
@keyframes pdp-fp-drift {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(10px, -14px) rotate(6deg); }
}
.pdp-fp-fly { position: absolute; z-index: 2; pointer-events: none; animation: pdp-fp-drift 7s ease-in-out infinite; }
.pdp-fp-fly--1 { width: 58px; height: 58px; right: 6%; top: calc(76px + 125vw - 150px); }
.pdp-fp-fly--2 { display: none; animation-delay: -3s; }

@media (min-width: 700px) {
  .pdp-fp-hero .pdp-prof-hero-veil {
    background: linear-gradient(90deg, rgb(16 40 58 / .93) 0%, rgb(30 74 105 / .62) 50%, rgb(30 74 105 / .2) 100%),
      linear-gradient(0deg, rgb(16 40 58 / .7), rgb(16 40 58 / 0) 40%);
  }
  .pdp-fp-hero .pdp-prof-portrait {
    border-radius: 999px 999px 36px 36px;
    border: 3px solid var(--color-gold-300);
    box-shadow: 0 0 0 10px rgb(217 185 138 / .18), 0 50px 100px -30px rgb(0 0 0 / .7);
  }
  .pdp-fp-hero .pdp-prof-portrait::after { display: none; }
  .pdp-fp-fly--1 { width: 80px; height: 80px; right: auto; left: 50%; top: 20%; }
  .pdp-fp-fly--2 { display: block; width: 56px; height: 56px; right: 2%; bottom: 9%; }
}

/* ----- Sessions: white cards that lift off the page, a colour each (the colour goes
   round five of the site's own, so a page of one kind of session, like Cecile's five
   massages with one stone icon, still reads as five cards), the category's icon on a
   disc over the top edge ----- */
.pdp-fp-page .pdp-prof-svcs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 56px 20px; margin-top: 62px; }
.pdp-fp-page .pdp-prof-svc {
  --c1: var(--color-peace-500);
  --c2: var(--color-peace-700);
  position: relative;
  gap: 12px;
  padding: 58px 22px 24px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 9%, #fff), #fff 55%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 16%, transparent),
    0 18px 30px -22px color-mix(in srgb, var(--c2) 70%, transparent),
    0 44px 70px -40px color-mix(in srgb, var(--c1) 60%, transparent);
  transition: transform .45s var(--ease-pdp), box-shadow .45s var(--ease-pdp);
}
.pdp-fp-page .pdp-prof-svc::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; border-radius: 28px 28px 0 0; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.pdp-fp-page .pdp-prof-svc:nth-child(5n + 2) { --c1: var(--color-gold-500); --c2: var(--color-gold-700); }
.pdp-fp-page .pdp-prof-svc:nth-child(5n + 3) { --c1: var(--color-sage-500); --c2: var(--color-sage-700); }
.pdp-fp-page .pdp-prof-svc:nth-child(5n + 4) { --c1: #5a9ac4; --c2: var(--color-peace-600); }
.pdp-fp-page .pdp-prof-svc:nth-child(5n + 5) { --c1: #3d7c8f; --c2: #265864; }
.pdp-fp-page .pdp-prof-svc-head { flex-direction: column; align-items: flex-start; gap: 6px; }
.pdp-fp-page .pdp-prof-svc-head .pdp-session-text { width: 100%; padding-right: 44px; }
.pdp-fp-page .pdp-prof-svc-head .pdp-session-name { font-size: 25px; }

@keyframes pdp-fp-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.pdp-fp-page .pdp-prof-svc-icon {
  position: absolute;
  top: -42px;
  left: 20px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  border: 5px solid #fff;
  box-shadow: 0 14px 24px -10px var(--c2), 0 0 0 9px color-mix(in srgb, var(--c1) 12%, transparent);
  transition: transform .45s var(--ease-pdp);
}
.pdp-fp-page .pdp-prof-svc-icon img { width: 64px; height: 64px; animation: pdp-fp-bob 6s ease-in-out infinite; }
.pdp-fp-page .pdp-prof-svc:nth-child(2n) .pdp-prof-svc-icon img { animation-delay: -2s; }
.pdp-fp-page .pdp-prof-svc:nth-child(3n) .pdp-prof-svc-icon img { animation-delay: -4s; }
.pdp-fp-page .pdp-prof-kicker { color: var(--c2); }
.pdp-fp-page .pdp-prof-meta { align-self: flex-start; margin-top: 4px; padding: 4px 11px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--c1) 13%, #fff); color: var(--c2); font-weight: 700; }
.pdp-fp-page .pdp-prof-svc-head .pdp-session-text { display: flex; flex-direction: column; }
.pdp-fp-page .pdp-prof-svc-head .pdp-session-arrow { position: absolute; top: 18px; right: 18px; background: color-mix(in srgb, var(--c1) 12%, #fff); color: var(--c2); transition: background .3s, color .3s; }
.pdp-fp-page .pdp-prof-svc .pdp-prof-desc { padding: 0; }
@media (hover: hover) {
  .pdp-fp-page .pdp-prof-svc:hover {
    transform: translateY(-10px) rotate(-.4deg);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 24%, transparent),
      0 26px 40px -24px color-mix(in srgb, var(--c2) 75%, transparent),
      0 60px 90px -40px color-mix(in srgb, var(--c1) 70%, transparent);
  }
  .pdp-fp-page .pdp-prof-svc:hover .pdp-prof-svc-icon { transform: scale(1.08) rotate(-6deg); }
  .pdp-fp-page .pdp-prof-svc:hover .pdp-session-arrow { background: var(--c1); color: #fff; }
  .pdp-fp-page .pdp-prof-svc-head:hover .pdp-session-name { color: var(--c2); }
}

/* ----- How to book: three steps on the blue band, a butterfly at the corner ----- */
.pdp-fp-steps {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 36px;
  color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgb(90 154 196 / .55), rgb(90 154 196 / 0) 60%),
    linear-gradient(135deg, var(--color-peace-500), var(--color-peace-700) 70%);
  box-shadow: 0 40px 80px -44px rgb(30 74 105 / .9);
}
.pdp-fp-steps .pdp-eyebrow { margin: 0; }
.pdp-fp-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pdp-fp-steps li { display: flex; align-items: flex-start; gap: 14px; }
.pdp-fp-steps b { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 400; font-size: 22px; background: var(--color-gold-300); color: var(--color-forest-900); }
.pdp-fp-steps li > span { font-size: 14.5px; line-height: 1.5; color: rgb(255 255 255 / .8); }
.pdp-fp-steps strong { display: block; margin-bottom: 2px; font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.2; color: #fff; }
.pdp-fp-steps .pdp-btn { justify-self: start; gap: 10px; }
.pdp-fp-steps-fly { position: absolute; right: 4%; top: 10px; width: 72px; height: 72px; animation: pdp-fp-drift 8s ease-in-out infinite; }
@media (min-width: 820px) {
  .pdp-fp-steps ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .pdp-fp-steps-fly { width: 104px; height: 104px; right: 5%; top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-fp-fly, .pdp-fp-steps-fly, .pdp-fp-page .pdp-prof-svc-icon img { animation: none; }
  .pdp-fp-page .pdp-prof-svc, .pdp-fp-page .pdp-prof-svc-icon { transition: none; }
}
