/* Grow & Flow party page: behaviour layer (motion, delight, interaction).
   Everything here is progressive: the page works without it, and
   prefers-reduced-motion switches the movement off. */

/* Hero: slow drift + sparkles + name personaliser */
.hero {
  position: relative;
  overflow: hidden;
}
.hero img {
  animation: gf-drift 22s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes gf-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}
#gf-sparkle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero .copy {
  z-index: 3;
}
#gf-hero-title {
  transition: opacity 0.35s ease;
}
.gf-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  color: var(--ink);
}
.gf-name span {
  font-weight: 600;
  font-size: 0.95rem;
}
.gf-name input {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  min-width: 150px;
  color: var(--ink);
  background: #fff;
}
.gf-name input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

/* Reveal on scroll */
.gf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.gf-reveal.gf-in {
  opacity: 1;
  transform: none;
}

/* Party cards: lift, gentle tilt, glow, sparkle burst */
.gf-party,
.gf-up {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  will-change: transform;
}
@media (hover: hover) {
  .gf-party:hover,
  .gf-up:hover {
    box-shadow: 0 14px 30px rgba(216, 108, 84, 0.18);
    border-color: var(--coral);
  }
}
.gf-party {
  position: relative;
  overflow: hidden;
}
.gf-party .price {
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .gf-party:hover .price {
    transform: scale(1.06);
  }
}
.gf-burst {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  animation: gf-pop 0.7s ease-out forwards;
}
@keyframes gf-pop {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.2);
    opacity: 0;
  }
}
.gf-book {
  margin-top: 14px;
  width: 100%;
  border: 2px solid var(--coral);
  background: #fff;
  color: #9e4433;
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.gf-book:hover,
.gf-book:focus-visible {
  background: var(--coral);
  color: #fff;
}
.gf-party.gf-match {
  border: 2px solid var(--coral);
  box-shadow: 0 0 0 6px rgba(216, 108, 84, 0.15);
}
.gf-party.gf-match::after {
  content: "Our pick for them";
  position: absolute;
  top: 12px;
  right: -34px;
  transform: rotate(35deg);
  background: var(--amber);
  color: #4a3200;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 40px;
}

/* Party chooser */
.gf-chooser {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0 6px;
}
.gf-ch-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.gf-ch-label {
  margin-bottom: 10px;
  color: var(--ink);
}
.gf-ch-q button {
  margin: 0 8px 8px 0;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.gf-ch-q button:hover,
.gf-ch-q button:focus-visible {
  border-color: var(--coral);
  transform: translateY(-1px);
}
.gf-ch-result {
  color: var(--ink);
}
.gf-ch-result b {
  color: #9e4433;
}
.gf-ch-result button {
  margin-left: 6px;
  background: none;
  border: none;
  color: #9e4433;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}

/* Upgrade ladder: pick one, it flows into the quote */
.gf-up {
  cursor: pointer;
}
.gf-up[aria-pressed="true"] {
  border: 2px solid var(--coral);
  box-shadow: 0 0 0 6px rgba(216, 108, 84, 0.15);
}
.gf-up[aria-pressed="true"] h3::after {
  content: " \2713";
  color: var(--coral);
}

/* Quote total pulse when it changes */
.gf-pulse {
  animation: gf-pulse 0.5s ease;
}
@keyframes gf-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
    color: var(--coral);
  }
  100% {
    transform: scale(1);
  }
}

/* Preview booking confirmation */
.gf-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  z-index: 60;
  padding: 14px 18px;
  border-radius: 12px;
  max-width: min(92vw, 460px);
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
#gf-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 55;
}

/* Sticky book button on phones */
.gf-sticky {
  display: none;
}
@media (max-width: 760px) {
  .gf-sticky {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 16px;
    bottom: 14px;
    z-index: 40;
    background: var(--coral);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(216, 108, 84, 0.35);
    transform: translateY(120px);
    transition: transform 0.35s ease;
    line-height: 1.15;
  }
  .gf-sticky small {
    font-weight: 400;
    font-size: 0.75rem;
  }
  .gf-sticky.gf-show {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero img {
    animation: none;
  }
  .gf-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gf-party,
  .gf-up,
  .gf-book {
    transition: none;
  }
  .gf-pulse {
    animation: none;
  }
}

/* Phone fixes: let the hero grow with the copy, keep the ribbon readable, keep buttons apart */
@media (max-width: 760px) {
  .hero img { position: absolute; inset: 0; height: 100%; max-height: none; }
  .hero { min-height: 420px; display: flex; align-items: flex-end; }
  .hero .copy { position: relative; padding: 90px 20px 22px; }
  .hero .veil { z-index: 1; }
  #gf-hero-title { font-size: 1.7rem; line-height: 1.2; }
  .gf-sticky { left: 12px; padding: 9px 14px; }
}
.gf-party.gf-match::after { top: 10px; right: 10px; transform: none; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 760px) {
  .hero .veil { background: linear-gradient(180deg, rgba(58,51,48,.05) 0%, rgba(58,51,48,.55) 55%, rgba(58,51,48,.72) 100%); }
}

/* Sarah's per-party "What's on offer" + intro */
.gf-intro p { max-width: 760px; color: var(--ink); line-height: 1.65; }
.gf-tagline { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--coral) !important; }
.pkg .hook { margin: 6px 0 10px; color: var(--ink); line-height: 1.5; }
.offer { border-top: 1px dashed var(--line); padding-top: 8px; }
.offer summary { cursor: pointer; font-weight: 700; color: #9e4433; list-style: none; padding: 4px 0; }
.offer summary::-webkit-details-marker { display: none; }
.offer summary::after { content: " +"; }
.offer[open] summary::after { content: " \2212"; }
.offer[open] ul { animation: gf-fade .3s ease; }
@keyframes gf-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ===== v7 calm layout (Play Maison principles: few decisions per screen, detail one tap away) ===== */
.wrap section { margin-top: 64px; }
.gf-centre { text-align: center; }
.gf-centre p { margin-left: auto; margin-right: auto; }
.gf-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
.gf-hero-actions { margin: 14px 0 4px; }
.gf-hero-actions .btn { display: inline-block; text-decoration: none; }
.gf-readmore summary { cursor: pointer; color: #9e4433; font-weight: 700; list-style: none; margin: 4px 0 10px; }
.gf-readmore summary::-webkit-details-marker { display: none; }
.gf-readmore[open] summary { display: none; }

.gf-steps { list-style: none; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0; margin: 40px 0 0; }
.gf-steps a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 8px 16px 8px 8px; border-radius: 999px; font-weight: 600; }
.gf-steps a span { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.gf-steps a:hover { border-color: var(--coral); }

.gf-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 22px; }
.gf-card { display: flex; flex-direction: column; text-align: center; padding: 24px 20px 20px !important; }
.gf-card h3 { margin: 10px 0 2px; }
.gf-card .hook { color: var(--muted); font-size: .95rem; flex: 1; margin: 8px 0 12px; }
.gf-meta { display: flex; justify-content: center; align-items: baseline; gap: 10px; color: var(--muted); font-size: .9rem; }
.gf-meta .price { font-size: 1.7rem; color: var(--coral); font-family: "Playfair Display", serif; }
.gf-card-actions { display: grid; gap: 8px; margin-top: 14px; }
.gf-card .gf-book { margin-top: 0; }
.gf-more { background: none; border: none; color: #9e4433; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 4px; }
.gf-ico { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #fbeee9; display: grid; place-items: center; }
.gf-ico svg { width: 36px; height: 36px; fill: none; stroke: var(--coral); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gf-ico svg .f { fill: var(--coral); stroke: none; }

.gf-every { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.gf-every summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.gf-every summary::-webkit-details-marker { display: none; }
.gf-every summary::after { content: "  +"; color: var(--coral); }
.gf-every[open] summary::after { content: "  \2212"; }
.gf-extras { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 22px; }
.gf-extras li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 8px 0; color: var(--ink); }
.gf-extras b { white-space: nowrap; color: #9e4433; }
.gf-ladder { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 760px) { .gf-ladder { grid-template-columns: 1fr; } }

/* Pop-up party details */
.gf-dialog { border: none; border-radius: 16px; padding: 28px 24px 24px; width: min(560px, 92vw); max-height: 86vh; overflow: auto; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.gf-dialog::backdrop { background: rgba(58,51,48,.55); }
.gf-dialog h3 { text-align: center; margin: 10px 0 2px; }
.gf-dialog .tagline { text-align: center; }
.gf-dmeta { text-align: center; color: var(--muted); }
.gf-dmeta b { color: var(--coral); font-size: 1.3rem; }
.gf-dialog ul { padding-left: 20px; line-height: 1.6; }
.gf-dialog .btn { width: 100%; margin-top: 10px; }
.gf-x { position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.gf-dialog[open] { animation: gf-fade .25s ease; }
.gf-cover-pick { margin-top: 48px !important; opacity: .85; }

/* ===== v8: split hero, text never sits on the photo ===== */
.hero.gf-split { display: grid !important; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  background: var(--cream); border-radius: 0; min-height: 0 !important; overflow: visible; padding: 48px 24px 24px; }
.hero.gf-split .copy { position: relative !important; inset: auto; padding: 0 !important; color: var(--ink); z-index: 3; }
.hero.gf-split #gf-hero-title { color: var(--ink); font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.1; margin: 6px 0 12px; }
.hero.gf-split #gf-hero-sub { color: var(--muted); font-size: 1.15rem; margin: 0 0 18px; }
.hero.gf-split .gf-eyebrow { color: var(--coral); }
.hero.gf-split .gf-name { background: #fff; border: 1px solid var(--line); }
.gf-hero-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 24px 50px rgba(58,51,48,.18); position: relative; z-index: 3; }
.gf-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: static !important; max-height: none !important; animation: gf-drift 22s ease-in-out infinite alternate; }
.hero.gf-split #gf-sparkle { z-index: 2; }
@media (max-width: 760px) {
  .hero.gf-split { grid-template-columns: 1fr; gap: 22px; padding: 28px 16px 8px; display: grid !important; }
  .hero.gf-split .copy { padding: 0 !important; }
  .gf-hero-photo { aspect-ratio: 4 / 3; order: 2; }
  .hero.gf-split #gf-hero-title { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .gf-hero-photo img { animation: none; } }
/* quieter preview banner */
.preview-banner { font-size: .7rem !important; padding: 5px 10px !important; letter-spacing: .04em; }
/* real party photos (added by add_card_photos.py) */
.gf-photo { margin: -24px -20px 12px; border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.gf-dialog .gf-photo { margin: -28px -24px 14px; border-radius: 16px 16px 0 0; }
.gf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
@media (hover: hover) { .gf-card:hover .gf-photo img { transform: scale(1.05); } }

/* ===== v10 polish ===== */
/* Roomier, alternating full-width bands */
.wrap section { margin-top: 0 !important; padding: 64px 0; }
.gf-band { background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.wrap > section:first-child { margin-top: 24px !important; }
.gf-steps { margin: 0 0 8px; padding: 28px 0 0; }
.wrap h2 { margin-bottom: 10px; }
/* Photo-ready cards: soft tinted frame per party, icon centred; real photos replace it */
.gf-card .gf-ico { width: auto; height: auto; aspect-ratio: 4 / 3; border-radius: 14px 14px 0 0; margin: -24px -20px 14px; }
.gf-card .gf-ico svg { width: 58px; height: 58px; stroke-width: 1.8; }
.gf-grid .gf-card:nth-child(8n+1) .gf-ico { background: linear-gradient(135deg,#fbe3dc,#f6c9bd); }
.gf-grid .gf-card:nth-child(8n+2) .gf-ico { background: linear-gradient(135deg,#fdf0d9,#f7d9a6); }
.gf-grid .gf-card:nth-child(8n+3) .gf-ico { background: linear-gradient(135deg,#ece9f6,#d7d0ee); }
.gf-grid .gf-card:nth-child(8n+4) .gf-ico { background: linear-gradient(135deg,#eef2e2,#d6dfb8); }
.gf-grid .gf-card:nth-child(8n+5) .gf-ico { background: linear-gradient(135deg,#fbe3dc,#f3d2c7); }
.gf-grid .gf-card:nth-child(8n+6) .gf-ico { background: linear-gradient(135deg,#e8f1ec,#c9dfd1); }
.gf-grid .gf-card:nth-child(8n+7) .gf-ico { background: linear-gradient(135deg,#f6e4f0,#e7c6dc); }
.gf-grid .gf-card:nth-child(8n+8) .gf-ico { background: linear-gradient(135deg,#fdf0d9,#eef2e2); }
.gf-card { overflow: hidden; border-radius: 14px; }
.gf-card .gf-card-actions { margin-top: auto; padding-top: 14px; }
.gf-card .hook { flex: 1; }
/* How the two hours flow */
.gf-flow { margin-top: 40px; }
.gf-flow-title { font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 18px; }
.gf-flow ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; }
.gf-flow li { text-align: center; color: var(--ink); position: relative; }
.gf-flow li b { display: block; margin-top: 8px; }
.gf-flow li small { display: block; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.gf-fi { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto; }
.gf-fi svg { width: 30px; height: 30px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gf-flow li:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: calc(50% + 36px); right: calc(-50% + 36px); border-top: 2px dotted var(--line); }
/* Mobile polish */
@media (max-width: 760px) {
  .wrap section { padding: 44px 0; }
  .wrap h2 { font-size: 1.6rem; line-height: 1.25; }
  .gf-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gf-card { padding: 18px 12px 14px !important; }
  .gf-card .gf-ico { margin: -18px -12px 10px; }
  .gf-card .gf-ico svg { width: 44px; height: 44px; }
  .gf-card h3 { font-size: 1.05rem; }
  .gf-card .tagline { font-size: .8rem; }
  .gf-card .hook { font-size: .85rem; }
  .gf-meta { flex-direction: column; gap: 0; }
  .gf-meta .price { font-size: 1.4rem; }
  .gf-card .gf-book { padding: 9px 6px; font-size: .9rem; }
  .gf-more { font-size: .85rem; }
  .gf-flow ol { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .gf-flow li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; text-align: left; align-items: center; }
  .gf-flow li .gf-fi { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .gf-flow li b { margin-top: 0; }
  .gf-flow li::after { display: none; }
  .gf-steps a { font-size: .9rem; }
  .gf-photo { margin: -18px -12px 10px; }
}
.gf-name-next { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; animation: gf-fade .35s ease; }
.gf-name-next[hidden] { display: none; }
.gf-name-next .btn { text-decoration: none; }
.gf-name-next small { color: var(--muted); }

/* ===== v12: session changes 12 Oct ===== */
:root { --gf-off: #faf5ee; }
body { background: var(--gf-off) !important; }
.gf-band { background: #fffdf9; box-shadow: 0 0 0 100vmax #fffdf9; }
/* Full-width hero, soft fade, centred words */
.hero.gf-full { display: grid !important; place-items: center; position: relative; min-height: 78vh; padding: 0 !important; border-radius: 0; overflow: hidden; background: var(--gf-off); grid-template-columns: 1fr !important; }
.hero.gf-full .gf-hero-bg { position: absolute; inset: 0; }
.hero.gf-full .gf-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; position: static !important; max-height: none !important; animation: gf-drift 24s ease-in-out infinite alternate; }
.hero.gf-full .gf-hero-fade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(250,245,238,.93) 0%, rgba(250,245,238,.82) 38%, rgba(250,245,238,.25) 75%, rgba(250,245,238,.05) 100%); }
.hero.gf-full .copy { position: relative !important; inset: auto; z-index: 3; text-align: center; max-width: 640px; padding: 40px 20px !important; color: var(--ink); }
.hero.gf-full #gf-hero-title { color: var(--ink); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin: 8px 0 12px; }
.hero.gf-full #gf-hero-sub { color: var(--muted); font-size: 1.15rem; }
.hero.gf-full .gf-eyebrow { color: var(--coral); }
.hero.gf-full .gf-name { background: #fff; border: 1px solid var(--line); }
.hero.gf-full .gf-name-next { justify-content: center; }
.hero.gf-full .gf-hero-photo { display: none; }
@media (max-width: 760px) {
  .hero.gf-full { min-height: 0; display: block !important; }
  .hero.gf-full .gf-hero-bg { position: relative; aspect-ratio: 4 / 3; }
  .hero.gf-full .gf-hero-fade { top: auto; height: 40%; bottom: auto; background: none; }
  .hero.gf-full .copy { padding: 22px 16px 10px !important; max-width: none; }
  .hero.gf-full #gf-hero-title { font-size: 2rem; }
  .hero.gf-full .gf-name { width: 100%; justify-content: space-between; }
  .hero.gf-full .gf-name input { flex: 1; min-width: 0; }
}
/* Party cards: price only inside the pop-up */
.gf-meta { font-size: .9rem; }
/* Upgrade flip cards */
.gf-flips { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; perspective: 1200px; }
.gf-flip { position: relative; min-height: 320px; }
.gf-flip-in { position: relative; width: 100%; height: 100%; min-height: 320px; transition: transform .7s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.gf-flip.flipped .gf-flip-in { transform: rotateY(180deg); }
.gf-flip-front, .gf-flip-back { position: absolute !important; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; margin: 0; }
.gf-flip-front { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font: inherit; color: var(--ink);
  background: linear-gradient(140deg, #fbe3dc, #fdf0d9 55%, #eef2e2) !important; border: 1px solid var(--line); }
.gf-flip.feature .gf-flip-front { background: linear-gradient(140deg, #f6c9bd, #f7d9a6 60%, #d6dfb8) !important; }
.gf-flip-front h3 { margin: 0; font-size: 1.35rem; }
.gf-flip-ico { font-size: 2rem; color: var(--coral); animation: gf-twinkle 2.4s ease-in-out infinite; }
@keyframes gf-twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: .8; } 50% { transform: scale(1.25) rotate(20deg); opacity: 1; } }
.gf-flip-hint { font-size: .85rem; color: #9e4433; font-weight: 600; text-decoration: underline; }
.gf-flip-back { transform: rotateY(180deg); background: #fff; overflow: auto; display: flex; flex-direction: column; padding: 20px !important; }
.gf-flip-back .price { margin: 4px 0 8px; }
.gf-flip-back ul { flex: 1; }
.gf-flip-back .gf-up { width: 100%; margin-top: 8px; }
.gf-flip-back .gf-up[aria-pressed="true"] { background: var(--ink); }
.gf-flip-back .gf-up[aria-pressed="true"]::after { content: " \2713"; }
.gf-flip-backbtn { background: none; border: none; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; margin-top: 6px; }
.gf-flip .tag { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); }
@media (max-width: 760px) { .gf-flips { grid-template-columns: 1fr; } .gf-flip, .gf-flip-in { min-height: 290px; } }
/* Plan the two hours (drag) */
.gf-flow-sub, .gf-flow-note { text-align: center; color: var(--muted); margin: 0 0 14px; }
.gf-flow-note { font-size: .85rem; margin-top: 10px; }
.gf-flow-list { list-style: none; padding: 0; margin: 0 auto; max-width: 560px; display: grid; gap: 8px; counter-reset: step; }
.gf-flow-list li { counter-increment: step; display: grid; grid-template-columns: 26px 30px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: grab; user-select: none; touch-action: none; }
.gf-flow-list li::before { content: counter(step); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.gf-grip { grid-row: span 2; color: var(--taupe); letter-spacing: -3px; font-size: 1.1rem; }
.gf-flow-list li b { color: var(--ink); }
.gf-flow-list li small { grid-column: 3; color: var(--muted); }
.gf-flow-x { grid-row: span 2; border: none; background: none; font-size: 1.3rem; color: var(--taupe); cursor: pointer; }
.gf-flow-list .sortable-ghost { opacity: .35; }
.gf-flow-list .sortable-chosen { box-shadow: 0 10px 24px rgba(216,108,84,.25); border-color: var(--coral); }
.gf-flow-add { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; align-items: center; }
.gf-flow-add span { color: var(--muted); font-size: .9rem; }
.gf-flow-add button { border: 1px dashed var(--coral); background: #fff; color: #9e4433; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .9rem; cursor: pointer; }
.gf-flow-add button:disabled { opacity: .4; cursor: default; }
.gf-flow ol:not(.gf-flow-list) { display: none; }
/* FAQ */
.gf-faq { max-width: 720px; margin: 18px auto 0; text-align: left; }
.gf-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; padding: 0 16px; }
.gf-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.gf-faq summary::-webkit-details-marker { display: none; }
.gf-faq summary::after { content: "+"; color: var(--coral); font-size: 1.2rem; }
.gf-faq details[open] summary::after { content: "\2212"; }
.gf-faq p { margin: 0 0 14px; color: var(--ink); animation: gf-fade .3s ease; }
/* Sprout buddy (Grow & Flow's own little character) */
.gf-buddy { position: fixed; right: 18px; bottom: 90px; z-index: 45; transform: translateY(160%); transition: transform .7s cubic-bezier(.3,1.5,.5,1); }
.gf-buddy.up { transform: none; }
.gf-buddy[hidden] { display: none; }
.gf-buddy-btn { display: flex; align-items: flex-end; gap: 6px; background: none; border: none; cursor: pointer; padding: 0; font: inherit; }
.gf-sprout { width: 86px; height: 86px; overflow: visible; filter: drop-shadow(0 8px 14px rgba(58,51,48,.18)); }
.gf-sprout .body { fill: #f6c9bd; } .gf-sprout .leaf { fill: #b4c090; transform-origin: 60px 58px; } .gf-sprout .l3 { fill: #9fb07a; }
.gf-sprout .eye { fill: #3a3330; animation: gf-blink 4s infinite; transform-origin: center; transform-box: fill-box; }
.gf-sprout .smile, .gf-sprout .arm { fill: none; stroke: #3a3330; stroke-width: 3; stroke-linecap: round; }
.gf-sprout .arm { stroke: #d86c54; stroke-width: 5; transform-origin: 88px 82px; animation: gf-wave 1.4s ease-in-out 3; }
.gf-sprout .cheek { fill: #d86c54; opacity: .35; }
.gf-buddy.up .gf-sprout .leaf { animation: gf-sway 3s ease-in-out infinite; }
.gf-sprout .l2 { animation-delay: .4s !important; }
@keyframes gf-wave { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-28deg); } }
@keyframes gf-sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes gf-blink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.gf-bubble { order: -1; background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; padding: 10px 12px; max-width: 190px; text-align: left;
  color: var(--ink); font-size: .85rem; line-height: 1.35; box-shadow: 0 10px 24px rgba(58,51,48,.12); margin-bottom: 40px; }
.gf-bubble b { color: #9e4433; }
.gf-buddy-x { position: absolute; top: -10px; right: -4px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; line-height: 1; z-index: 2; }
@media (max-width: 760px) { .gf-buddy { right: 10px; bottom: 76px; } .gf-sprout { width: 64px; height: 64px; } .gf-bubble { max-width: 150px; font-size: .78rem; margin-bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .gf-buddy { transition: none; } .gf-sprout * { animation: none !important; } .gf-flip-in { transition: none; } .hero.gf-full .gf-hero-bg img { animation: none; } }
.gf-chooser.gf-glow { box-shadow: 0 0 0 6px rgba(216,108,84,.25); transition: box-shadow .4s; }
.hero.gf-full { max-width: none !important; width: 100%; margin: 0 !important; }
/* flip faces must ignore the scroll-reveal transform */
.gf-flip-front.gf-reveal, .gf-flip-front.gf-reveal.gf-in { transform: none !important; opacity: 1 !important; transition: none !important; }
.gf-flip-back.gf-reveal, .gf-flip-back.gf-reveal.gf-in { transform: rotateY(180deg) !important; opacity: 1 !important; transition: none !important; }
.gf-buddy.quiet .gf-bubble { display: none; }
/* ===== v13: hero video, gallery, lightbox ===== */
.hero.gf-full .gf-hero-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero.gf-full .gf-hero-fade { background: radial-gradient(ellipse at center, rgba(250,245,238,.88) 0%, rgba(250,245,238,.7) 40%, rgba(250,245,238,.15) 80%, rgba(250,245,238,0) 100%); }
.gf-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; margin-top: 22px; }
.gf-gtile { position: relative; border: none; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #eee; }
.gf-gtile.wide { grid-column: span 2; grid-row: span 2; }
.gf-gtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gf-gtile span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,253,249,.92); color: var(--ink); font-size: .8rem; padding: 4px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: all .3s ease; }
@media (hover: hover) { .gf-gtile:hover img { transform: scale(1.06); } .gf-gtile:hover span { opacity: 1; transform: none; } }
@media (max-width: 760px) { .gf-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; } .gf-gtile span { opacity: 1; transform: none; font-size: .7rem; } }
.gf-lightbox { border: none; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.gf-lightbox::backdrop { background: rgba(30,26,24,.86); }
.gf-lightbox img { max-width: 94vw; max-height: 82vh; display: block; border-radius: 12px; }
.gf-lightbox p { color: #fff; text-align: center; margin: 10px 0 0; }
.gf-lightbox .gf-x { color: #fff; top: -40px; right: 0; }
.gf-lightbox[open] { animation: gf-fade .25s ease; }

/* ===== v14: the two-hour planner pops; flip cards grow to fit ===== */
.gf-flow { background: linear-gradient(135deg,#fdf0e8 0%,#fdf6e6 50%,#f1f4e6 100%); border-radius: 22px; padding: 30px 22px 24px; margin-top: 44px; position: relative; overflow: hidden; }
.gf-flow::before, .gf-flow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; pointer-events: none; }
.gf-flow::before { width: 160px; height: 160px; background: #f6c9bd; top: -60px; right: -40px; }
.gf-flow::after { width: 120px; height: 120px; background: #d6dfb8; bottom: -50px; left: -30px; }
.gf-flow-title { font-family: "Playfair Display", serif; font-size: 1.7rem; font-weight: 500; position: relative; z-index: 1; }
.gf-flow-sub, .gf-flow-add, .gf-flow-note { position: relative; z-index: 1; }
.gf-flow ol.gf-flow-list { display: grid !important; grid-template-columns: 1fr !important; gap: 10px; max-width: 600px; margin: 6px auto 0; padding: 0; position: relative; z-index: 1; text-align: left; }
.gf-flow ol.gf-flow-list li { text-align: left !important; display: grid !important; grid-template-columns: 44px 1fr 28px 24px; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: #fff; border: 2px solid transparent; border-radius: 16px; padding: 12px 14px; box-shadow: 0 6px 16px rgba(58,51,48,.07); transition: transform .2s, box-shadow .2s, border-color .2s; }
.gf-flow ol.gf-flow-list li::after { display: none !important; }
.gf-flow ol.gf-flow-list li::before { grid-row: span 2; grid-column: 1; width: 44px; height: 44px; font-size: 1.05rem; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.gf-flow ol.gf-flow-list li:nth-child(5n+1)::before { background: #d86c54; }
.gf-flow ol.gf-flow-list li:nth-child(5n+2)::before { background: #e8a33d; }
.gf-flow ol.gf-flow-list li:nth-child(5n+3)::before { background: #9fb07a; }
.gf-flow ol.gf-flow-list li:nth-child(5n+4)::before { background: #c58bb3; }
.gf-flow ol.gf-flow-list li:nth-child(5n+5)::before { background: #7fa7c4; }
.gf-flow ol.gf-flow-list li:nth-child(5n+1) { border-left-color: #f6c9bd; }
.gf-flow ol.gf-flow-list li:nth-child(5n+2) { border-left-color: #f7d9a6; }
.gf-flow ol.gf-flow-list li:nth-child(5n+3) { border-left-color: #d6dfb8; }
.gf-flow ol.gf-flow-list li:nth-child(5n+4) { border-left-color: #e7c6dc; }
.gf-flow ol.gf-flow-list li:nth-child(5n+5) { border-left-color: #c9dcea; }
.gf-flow ol.gf-flow-list li b { grid-column: 2; grid-row: 1; font-size: 1.05rem; margin: 0; }
.gf-flow ol.gf-flow-list li small { grid-column: 2; grid-row: 2; display: block; margin: 2px 0 0; }
.gf-flow ol.gf-flow-list .gf-grip { grid-column: 3; grid-row: 1 / span 2; justify-self: center; }
.gf-flow ol.gf-flow-list .gf-flow-x { grid-column: 4; grid-row: 1 / span 2; }
@media (hover: hover) { .gf-flow ol.gf-flow-list li:hover { transform: translateY(-2px) rotate(-.4deg); box-shadow: 0 10px 22px rgba(216,108,84,.16); } }
.gf-flow ol.gf-flow-list li.gf-new { animation: gf-pop-in .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes gf-pop-in { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.gf-flow-list .sortable-chosen { transform: rotate(1.5deg) scale(1.02); box-shadow: 0 16px 30px rgba(216,108,84,.28) !important; border-color: var(--coral) !important; }
.gf-flow-add button { background: #fff; border: 2px dashed var(--coral); font-weight: 600; transition: transform .2s, background .2s; }
.gf-flow-add button:not(:disabled):hover { transform: translateY(-2px); background: #fbe3dc; }
@media (max-width: 760px) { .gf-flow { padding: 24px 12px 18px; } .gf-flow ol.gf-flow-list li { grid-template-columns: 38px 1fr 20px 20px; column-gap: 8px; } .gf-flow ol.gf-flow-list li::before { width: 38px; height: 38px; } }
/* flip cards: grow to fit what's on the back, never scroll */
.gf-flip-back { overflow: visible !important; }
.gf-flip-in { transition: transform .7s cubic-bezier(.2,.8,.2,1), height .45s ease; }
.gf-gallery-6 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
@media (max-width: 760px) { .gf-gallery-6 { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }

/* v15: gallery swipe scroller (scroll-snap). Scales from 6 to 30+ photos. */
.gf-scroller { position: relative; margin-top: 22px; }
.gf-track { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 8px; border-radius: 14px; }
.gf-track::-webkit-scrollbar { display: none; }
.gf-track:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.gf-track .gf-gtile { flex: 0 0 clamp(240px, 30%, 330px); height: clamp(260px, 30vw, 340px); scroll-snap-align: start; scroll-margin-inline: 2px; }
.gf-track .gf-gtile:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.gf-snav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(58,51,48,.18); transition: opacity .2s ease, transform .2s ease; }
.gf-prev { left: -14px; }
.gf-next { right: -14px; }
.gf-snav:hover:not(:disabled) { transform: translateY(-50%) scale(1.07); }
.gf-snav:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.gf-snav:disabled { opacity: 0; pointer-events: none; }
.gf-scount { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 6px; }
@media (max-width: 760px) {
  .gf-track { gap: 10px; }
  .gf-track .gf-gtile { flex-basis: 78%; height: 300px; }
  .gf-snav { display: none; }
}
@media (hover: none) { .gf-snav { display: none; } }
@media (max-width: 1100px) { .gf-prev { left: 4px; } .gf-next { right: 4px; } }
@media (prefers-reduced-motion: reduce) { .gf-track { scroll-behavior: auto; } .gf-gtile img, .gf-snav { transition: none; } }
