/*
Theme Name: Perfect Parteas
Theme URI: https://perfectparteas.com
Author: Perfect Parteas
Author URI: https://perfectparteas.com
Description: Custom theme for Perfect Parteas — magical princess tea parties in Walkden, Manchester. Hand-built to match the approved design (scalloped dividers, animated stars, flying fairy, styled mobile menu). Static-design theme: page templates hold the markup; edit content directly in the template files.
Version: 3.28.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perfect-parteas
*/

/* =====================================================================
   Perfect Parteas — global stylesheet
   All brand tokens + shared layout live here. Page-specific styles live
   inline in each template (matching the original design build).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600;1,700&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --pp-blush:     #F7C8D8;
  --pp-lilac:     #B48CD9;
  --pp-gold:      #D4AF37;
  --pp-gold-dark: #C19E2E;
  --pp-cream:     #FFF8F0;
  --pp-plum:      #4A2C4D;
  --pp-blush-40:  #FCE9F0;
  --pp-lilac-15:  #F3ECFA;
  --pp-plum-80:   rgba(74,44,77,0.80);
  --pp-plum-50:   rgba(74,44,77,0.50);
  --pp-white:     #FFFFFF;
  --pp-pink:      #e860a0; /* logo-banner pink — main CTA buttons */
  --pp-pink-dark: #d85898;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Quicksand', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pp-cream);
  color: var(--pp-plum);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--pp-lilac); }
a:hover { color: var(--pp-plum); }

/* ---- Buttons ---- */
.pp-btn {
  display: inline-block;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.pp-btn:hover { transform: translateY(-2px); }
.pp-btn-primary { background: var(--pp-pink); color: var(--pp-cream); border-color: var(--pp-pink); box-shadow: 0 8px 20px rgba(232,96,160,0.35); }
.pp-btn-primary:hover { background: var(--pp-pink-dark); border-color: var(--pp-pink-dark); color: var(--pp-cream); }
.pp-btn-secondary { background: var(--pp-lilac); color: var(--pp-cream); border-color: var(--pp-lilac); }
.pp-btn-secondary:hover { background: #a074c9; color: var(--pp-cream); }
.pp-btn-ghost { background: transparent; color: var(--pp-lilac); border-color: var(--pp-lilac); }
.pp-btn-ghost:hover { background: var(--pp-lilac-15); color: var(--pp-lilac); }
.pp-btn-lg { padding: 16px 34px; font-size: 17px; }

/* ---- Eyebrow kicker ---- */
.pp-eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-lilac); margin: 0 0 6px; }

/* ---- Section helpers ---- */
.pp-section { padding: 90px 24px; }
.pp-container { max-width: 1140px; margin: 0 auto; }
.pp-narrow { max-width: 680px; margin: 0 auto; }

/* ---- Background patterns ---- */
.pp-bg-dots {
  background-color: var(--pp-cream);
  background-image: radial-gradient(rgba(247,200,216,0.5) 2px, transparent 2.5px), radial-gradient(rgba(180,140,217,0.22) 2px, transparent 2.5px);
  background-size: 46px 46px;
  background-position: 0 0, 23px 23px;
}

/* ---- Scallop divider ---- */
.pp-scallop { display: block; width: 100%; height: 40px; }

/* ---- Headings ---- */
h1, h2, h3 { font-family: var(--font-display); color: var(--pp-plum); line-height: 1.15; }

/* =====================================================================
   Header
   ===================================================================== */
.pp-topbar { background: var(--pp-plum); color: var(--pp-cream); }
.pp-topbar-inner { max-width: 1140px; margin: 0 auto; padding: 9px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.pp-topbar a { color: var(--pp-cream); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.pp-topbar a:hover { color: var(--pp-blush); }
.pp-topbar .pp-ic { color: var(--pp-gold); font-size: 12px; }
.pp-topbar-social a { color: var(--pp-blush); font-weight: 600; }
.pp-topbar-social a:hover { color: var(--pp-cream); }

.pp-nav { background: var(--pp-cream); box-shadow: 0 4px 16px rgba(74,44,77,0.08); position: sticky; top: 0; z-index: 900; }
.pp-nav-inner { max-width: 1140px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pp-nav-logo img { height: 80px; width: auto; }
.pp-nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.pp-nav-links a { color: var(--pp-plum); text-decoration: none; font-weight: 600; font-size: 16px; }
.pp-nav-links a:hover, .pp-nav-links a.active { color: var(--pp-lilac); }
.pp-nav-book { background: var(--pp-pink); color: var(--pp-cream); border-radius: 999px; padding: 11px 24px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 16px rgba(232,96,160,0.35); }
.pp-nav-book:hover { background: var(--pp-pink-dark); color: var(--pp-cream); }

/* Mobile nav */
.pp-mobile-nav { display: none; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--pp-cream); box-shadow: 0 4px 16px rgba(74,44,77,0.08); position: sticky; top: 0; z-index: 900; }
.pp-mobile-nav .pp-logo img { height: 68px; width: auto; }
.pp-burger { border: 1.5px solid var(--pp-gold); background: var(--pp-cream); cursor: pointer; width: 48px; height: 48px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: 0 4px 12px rgba(74,44,77,0.12); transition: background .25s ease, border-color .25s ease; }
.pp-burger span { display: block; width: 24px; height: 2.5px; border-radius: 3px; background: var(--pp-plum); transition: transform .28s ease, opacity .2s ease, background .25s ease; }
.pp-burger.open { background: var(--pp-lilac); border-color: var(--pp-lilac); }
.pp-burger.open span { background: var(--pp-cream); }
.pp-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.pp-burger.open span:nth-child(2) { opacity: 0; }
.pp-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.pp-drawer { overflow: hidden; background: var(--pp-cream); max-height: 0; transition: max-height .32s ease; }
/* The open menu is ~830px of content. Two earlier attempts were wrong:
   a fixed 680px cap clipped the bottom off entirely, and making the drawer
   its own scroll container made iOS hand the swipe to the page, so it
   bounced straight back.
   The drawer sits in normal page flow (sibling of the sticky header), so the
   right answer is to let it open to its full natural height and let the PAGE
   scroll — no nested scrolling, nothing to fight over. theme.js sets the exact
   max-height so the slide animation still works; this generous value is only
   the no-JS fallback. */
.pp-drawer.open { max-height: 1600px; }
.pp-drawer-inner { border-top: 1px solid rgba(180,140,217,0.2); }
.pp-drawer .pp-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; color: var(--pp-plum); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 18px; border-bottom: 1px solid rgba(180,140,217,0.12); }
.pp-drawer .pp-link::after { content: '\203A'; color: var(--pp-lilac); font-size: 20px; opacity: 0.6; }
.pp-drawer .pp-link:hover { background: var(--pp-blush-40); color: var(--pp-lilac); }
.pp-drawer-foot { padding: 22px 24px 40px; }
.pp-lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-lilac); margin: 0 0 12px; }
.pp-contact { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
.pp-contact a, .pp-contact span { display: flex; align-items: flex-start; gap: 10px; color: var(--pp-plum); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.pp-contact .pp-ic { color: var(--pp-gold); flex-shrink: 0; margin-top: 1px; }
.pp-socialrow { display: flex; gap: 10px; }
.pp-socialrow a { flex: 1; text-align: center; background: var(--pp-lilac-15); color: var(--pp-lilac); border-radius: 12px; padding: 11px 6px; text-decoration: none; font-weight: 600; font-size: 13px; }
.pp-socialrow a:hover { background: var(--pp-blush-40); }
.pp-drawer-book { display: block; text-align: center; background: var(--pp-pink); color: var(--pp-cream); border-radius: 999px; padding: 15px 20px; font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 8px 20px rgba(232,96,160,0.35); margin-bottom: 24px; }

/* ---- Preloader ---- */
/* The old loader was a flat pink screen, a pulsing logo and a text "★" glyph
   spun with a linear rotate — the star's uneven glyph box made it visibly
   wobble off-centre. This version is a proper SVG arc on a soft gradient. */
#pp-preloader {
  position: fixed; inset: 0; z-index: 99999; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 42%, #FFF6FA 0%, var(--pp-blush) 55%, #EFB3C8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transition: opacity .55s ease, visibility .55s ease;
}
#pp-preloader.pp-hide { opacity: 0; visibility: hidden; pointer-events: none; }
/* Fail-safe. theme.js normally lifts this within a second; if it never loads
   or throws first, the loader would otherwise cover the site forever. This
   fires at 6s — long after the real hide, invisible in normal use. */
#pp-preloader { animation: ppLoadFailsafe 1ms linear 6s forwards; }
@keyframes ppLoadFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
/* Slow bloom of light behind the mark so the flat panel has some depth. */
.pp-load-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.28) 42%, rgba(255,255,255,0) 68%); animation: ppLoadGlow 3.6s ease-in-out infinite; pointer-events: none; }

/* ---- Shooting star fly-over ----
   Third pass at this animation. The orbiting version read as a loading
   spinner — a star circling forever is a satellite, not a wish. Now the star
   sweeps over the logo in a single Disney-style arc: its wake draws in behind
   it, pixie dust ignites and settles where it has passed, everything rests a
   beat, and the pass begins again. The arc lives in header.php; the star
   follows the identical path via offset-path, pathLength="100" makes the dash
   maths percentages, and every dust delay is derived from the same 3.4s clock
   (flight occupies the 8%–72% window), so nothing can drift out of sync. */
.pp-load-scene { position: relative; width: 340px; height: 264px; }
.pp-flight { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* Explicit width on the wrapper: an abs-positioned box at left:50% shrink-fits
   to the space REMAINING (170px), and the global img{max-width:100%} then
   clamps the logo to that — silently overriding any width set on the img. */
.pp-load-logo { position: absolute; top: 66px; left: 50%; transform: translateX(-50%); width: 196px; }
.pp-load-logo img { width: 100%; height: auto; animation: ppLoadFloat 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 26px rgba(74,44,77,0.22)); }

.pp-wake { fill: none; stroke-linecap: round; opacity: 0; }
.pp-wake-soft { stroke: #FFE3A8; stroke-width: 7; filter: url(#pp-wake-soft-blur); stroke-dasharray: 34 100; animation: ppWakeSoft 3.4s linear infinite; }
.pp-wake-core { stroke: #F3C75D; stroke-width: 2.4; filter: url(#pp-wake-core-blur); stroke-dasharray: 22 100; animation: ppWakeCore 3.4s linear infinite; }

.pp-flight-dust { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ppDustPop 3.4s linear infinite; }
.pp-flight-twinkle { fill: #FFF6D8; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ppTwinklePop 3.4s linear infinite; }

.pp-shooting-star { position: absolute; top: 0; left: 0; width: 30px; height: 30px; overflow: visible; opacity: 0; offset-path: path('M 6 190 C 80 34, 260 34, 334 190'); offset-rotate: 0deg; animation: ppFly 3.4s linear infinite; filter: drop-shadow(0 0 6px rgba(255,216,115,0.95)) drop-shadow(0 0 16px rgba(212,175,55,0.6)); }
.pp-comet-star { fill: #FFFDF2; transform-box: fill-box; transform-origin: center; animation: ppCometPulse 1.15s ease-in-out infinite; }
/* No offset-path support (pre-2022 Safari): the wake still draws the arc;
   only the travelling head is dropped. */
@supports not (offset-path: path('M 0 0 L 1 1')) { .pp-shooting-star { display: none; } }
@media (max-width: 374px) { .pp-load-scene { transform: scale(.88); margin: -14px 0; } }

/* The logo's own ribbon text is illegible at this size, so the name is set
   properly underneath — otherwise the first thing a visitor sees is an
   unbranded pink screen. */
.pp-load-name { font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: .015em; margin: -6px 0 0; color: var(--pp-plum); background: linear-gradient(105deg, var(--pp-plum) 40%, #A9862F 50%, var(--pp-plum) 60%); background-size: 240% 100%; background-position: 220% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: ppNameSheen 3.4s linear infinite; }
.pp-load-sub { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(74,44,77,0.55); margin: 7px 0 0; }


#pp-preloader .pp-load-star { position: absolute; overflow: visible; fill: var(--pp-gold); filter: drop-shadow(0 1px 5px rgba(212,175,55,0.6)); animation: ppTwinkleLoad 3.4s ease-in-out infinite; }
.pp-load-words { text-align: center; }

@keyframes ppLoadGlow  { 0%,100% { transform: scale(.86); opacity: .55; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes ppLoadFloat { 0%,100% { transform: translateY(-5px) scale(1); } 50% { transform: translateY(5px) scale(1.03); } }
@keyframes ppCometPulse { 0%,100% { transform: scale(1) rotate(0deg); opacity: .95; } 50% { transform: scale(1.22) rotate(45deg); opacity: 1; } }
@keyframes ppFly {
  0%, 8%    { offset-distance: 0%; opacity: 0; }
  13%       { opacity: 1; }
  66%       { opacity: 1; }
  72%, 100% { offset-distance: 100%; opacity: 0; }
}
/* Wake follows the star: dashoffset = trail − distance, so these run start→
   (trail − 100) on the same linear clock as ppFly and stay glued to it. */
@keyframes ppWakeSoft {
  0%, 8%    { stroke-dashoffset: 35px; opacity: 0; }
  18%       { opacity: .5; }
  62%       { opacity: .5; }
  72%       { stroke-dashoffset: -66px; opacity: .25; }
  84%, 100% { stroke-dashoffset: -66px; opacity: 0; }
}
@keyframes ppWakeCore {
  0%, 8%    { stroke-dashoffset: 23px; opacity: 0; }
  18%       { opacity: .85; }
  62%       { opacity: .85; }
  72%       { stroke-dashoffset: -78px; opacity: .4; }
  84%, 100% { stroke-dashoffset: -78px; opacity: 0; }
}
@keyframes ppDustPop {
  0%   { opacity: 0;   transform: translateY(0)   scale(.3); }
  3%   { opacity: .95; transform: translateY(0)   scale(1.15); }
  9%   { opacity: .6;  transform: translateY(2px) scale(.95); }
  22%  { opacity: 0;   transform: translateY(7px) scale(.45); }
  100% { opacity: 0;   transform: translateY(7px) scale(.45); }
}
@keyframes ppTwinklePop {
  0%   { opacity: 0;   transform: scale(.2)  rotate(0deg); }
  3%   { opacity: 1;   transform: scale(1.15) rotate(25deg); }
  9%   { opacity: .75; transform: scale(.95) rotate(45deg); }
  24%  { opacity: 0;   transform: scale(.4)  rotate(80deg); }
  100% { opacity: 0; }
}
@keyframes ppNameSheen { 0%, 18% { background-position: 220% 0; } 70%, 100% { background-position: -140% 0; } }
/* Sparkles drift up and fade rather than pulsing in place, so the panel reads
   as falling glitter instead of nine blinking dots. */
@keyframes ppTwinkleLoad {
  0%   { opacity: 0;   transform: translateY(16px)  scale(.5)  rotate(0deg); }
  18%  { opacity: 1;   transform: translateY(6px)   scale(1.15) rotate(40deg); }
  70%  { opacity: .95; transform: translateY(-10px) scale(1)    rotate(130deg); }
  100% { opacity: 0;   transform: translateY(-26px) scale(.45) rotate(190deg); }
}

/* =====================================================================
   Footer
   ===================================================================== */
.pp-foot-gap { height: 40px; background: var(--pp-cream); }
.pp-footer { background: var(--pp-plum); color: var(--pp-cream); }
.pp-foot-grid { max-width: 1140px; margin: 0 auto; padding: 68px 24px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1.15fr 1.15fr; gap: 30px 40px; }
/* 130px of logo made the brand column tower over the three link columns and
   pushed the whole footer past a screen height on a phone. */
.pp-foot-logo { height: 92px; width: auto; margin-bottom: 12px; }
.pp-foot-brand { font-family: var(--font-display); font-weight: 700; font-size: 23px; color: var(--pp-cream); }
.pp-foot-blurb { color: rgba(255,248,240,0.72); font-size: 15px; line-height: 1.65; margin: 8px 0 0; max-width: 280px; }
.pp-foot-grid h4 { font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-gold); margin: 0 0 14px; font-family: var(--font-body); }
.pp-foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pp-foot-grid li { font-size: 15px; line-height: 1.55; color: rgba(255,248,240,0.85); }
.pp-foot-grid a { color: rgba(255,248,240,0.85); text-decoration: none; font-size: 15px; }
.pp-foot-grid a:hover { color: var(--pp-blush); }
.pp-foot-note { font-size: 14px; color: rgba(255,248,240,0.55); }
.pp-foot-phone { font-family: var(--font-display); font-weight: 700; font-size: 21px !important; color: var(--pp-cream) !important; }
.pp-foot-phone:hover { color: var(--pp-blush) !important; }
.pp-foot-ask { font-size: 14px; line-height: 1.6; color: rgba(255,248,240,0.7); margin: 18px 0 0; }
.pp-foot-ask a { color: var(--pp-blush); font-weight: 600; border-bottom: 1px solid rgba(247,200,216,0.45); }
.pp-foot-ask a:hover { color: var(--pp-cream) !important; border-bottom-color: var(--pp-cream); }
/* Socials live up in the brand column, which leaves the bottom bar as one
   quiet line of small print instead of a second row of links competing with it. */
.pp-foot-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pp-foot-social a { font-size: 13px !important; font-weight: 600; color: var(--pp-cream) !important; border: 1px solid rgba(255,248,240,0.25); border-radius: 999px; padding: 7px 15px; transition: background .2s ease, border-color .2s ease; }
.pp-foot-social a:hover { background: rgba(255,248,240,0.10); border-color: var(--pp-blush); }
.pp-foot-bottom { border-top: 1px solid rgba(255,248,240,0.15); }
.pp-foot-bottom-inner { max-width: 1140px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.pp-foot-bottom span { font-size: 13px; color: rgba(255,248,240,0.55); }

/* =====================================================================
   Animated stars (plum sections)
   ===================================================================== */
.pp-stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pp-stars span { position: absolute; }
@keyframes ppStarA { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: .45; } 50% { transform: translate(16px,-26px) rotate(25deg) scale(1.25); opacity: 1; } }
@keyframes ppStarB { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: .5; } 50% { transform: translate(-20px,-16px) rotate(-20deg) scale(1.2); opacity: .95; } }
@keyframes ppStarC { 0%,100% { transform: translate(0,0) rotate(0deg) scale(.9); opacity: .4; } 33% { transform: translate(12px,18px) rotate(15deg) scale(1.1); opacity: .9; } 66% { transform: translate(-14px,10px) rotate(-10deg) scale(1); opacity: .7; } }
@keyframes ppStarD { 0%,100% { transform: translate(0,0) rotate(0deg) scale(1); opacity: .55; } 50% { transform: translate(22px,14px) rotate(30deg) scale(1.3); opacity: 1; } }
@keyframes ppKenBurns { from { transform: scale(1); } to { transform: scale(1.1); } }

/* ---- Scroll reveal ---- */
/* Elements rise into place rather than sliding in from the right.
   The old translateX(48px) start position sat 48px past the right-hand
   edge, which made the whole page horizontally scrollable on phones and
   tablets until each element animated in. Moving on the Y axis gives the
   same reveal without ever widening the page. */
/* Footer "areas we cover" band — site-wide links to the area landing pages. */
.pp-foot-areas { max-width: 1140px; margin: 0 auto; padding: 26px 24px 30px; border-top: 1px solid rgba(255,248,240,0.14); }
.pp-foot-areas h4 { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-gold); margin: 0 0 14px; }
.pp-foot-areas ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; }
/* Chips rather than a bare wrapped list — ten links running together read as a
   link dump, which is exactly what this band must not look like. The anchor
   text stays descriptive ("Kids parties in Walkden") because that is the whole
   point of the band; the pill shape is what keeps it tidy. */
.pp-foot-areas a { display: inline-block; color: rgba(255,248,240,0.78); font-size: 13.5px; text-decoration: none; background: rgba(255,248,240,0.06); border: 1px solid rgba(255,248,240,0.14); border-radius: 999px; padding: 7px 14px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.pp-foot-areas a:hover { color: var(--pp-cream); background: rgba(255,248,240,0.12); border-color: var(--pp-blush); }

.pp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.pp-reveal.pp-in { opacity: 1; transform: translateY(0); }

/* ---- Card image wells ----
   The party photos are 1120x830 (the pp-card crop), so these boxes use that
   exact ratio: at any column width the photo fills the box with nothing cropped
   away. This replaced hard-coded pixel heights (200/210/190/170px), which could
   not hold a ratio — the columns are fluid `1fr`, so the crop silently changed
   with the viewport and was tightest on the narrowest screens. */
.pp-card-img { aspect-ratio: 1120 / 830; overflow: hidden; }

/* ---- Add-ons, styled as a tea-room menu ----
   Replaces an accordion layout that read as an FAQ. Everything is visible at
   once; the dotted leaders do the work of tying each item to its price. */
.pp-menu-card { position: relative; background: #fff; border-radius: 28px; padding: 52px 54px 46px; box-shadow: 0 14px 40px rgba(74,44,77,0.12); }
/* Hairline gold rule inset from the edge — the detail that makes it read as a
   printed menu rather than a plain white box. */
.pp-menu-card::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(212,175,55,0.34); border-radius: 18px; pointer-events: none; }
.pp-menu-cols { position: relative; columns: 2; column-gap: 58px; }
/* Multi-column rather than a grid so the four groups flow and balance by
   themselves; without break-inside a group would split across the column. */
.pp-menu-group { break-inside: avoid; page-break-inside: avoid; margin: 0 0 34px; }
.pp-menu-group:last-child { margin-bottom: 0; }
.pp-menu-head { display: flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pp-lilac); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1.5px solid var(--pp-blush); }
.pp-menu-head span { color: var(--pp-gold); font-size: 13px; }
.pp-menu-item { display: flex; align-items: baseline; gap: 9px; margin-top: 13px; }
.pp-menu-name { font-size: 16px; font-weight: 600; color: var(--pp-plum); }
.pp-menu-dots { flex: 1 1 auto; min-width: 18px; border-bottom: 2px dotted rgba(180,140,217,0.5); transform: translateY(-4px); }
.pp-menu-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--pp-plum); white-space: nowrap; }
.pp-menu-note { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--pp-plum-50); max-width: 92%; }

/* Add-ons menu: the final row in each card left a border hanging in space. */
.pp-extra-row:last-child { border-bottom: none !important; padding-bottom: 0 !important; }

/* =====================================================================
   Responsive
   ===================================================================== */
/* Between the phone breakpoint and a full desktop, four footer columns squeeze
   the address into five wrapped lines. Two columns holds up far better. */
@media (min-width: 721px) and (max-width: 980px) {
  .pp-foot-grid { grid-template-columns: 1fr 1fr; gap: 34px 40px; }
}
@media (max-width: 980px) {
  /* Two columns of menu at tablet width leaves each item name wrapping over
     three lines with the price stranded. One column reads far better. */
  .pp-menu-cols { columns: 1; }
  .pp-menu-card { padding: 40px 32px 34px; }
}
@media (max-width: 720px) {
  .pp-menu-card { padding: 32px 22px 26px; border-radius: 22px; }
  .pp-menu-card::before { inset: 10px; border-radius: 14px; }
  .pp-menu-name { font-size: 15.5px; }
  .pp-desktop-nav { display: none !important; }
  .pp-mobile-nav { display: flex !important; }
  .pp-topbar { display: none !important; }
  .pp-scallop { height: 13px !important; }
  .pp-section { padding: 60px 20px; }
  h1 { font-size: 32px !important; }
  h2 { font-size: 26px !important; }
  .pp-grid-3, .pp-grid-4, .pp-grid-2 { grid-template-columns: 1fr !important; }
  /* One left-aligned column. The old layout centred everything, which turns
     four stacked lists into a wobbly ragged-both-edges block that is genuinely
     hard to scan — only the brand block stays centred, where it reads as
     deliberate. */
  .pp-foot-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 22px 26px; }
  .pp-foot-brand-col { text-align: center; }
  .pp-foot-logo { height: 80px; margin-left: auto; margin-right: auto; }
  .pp-foot-blurb { margin-left: auto; margin-right: auto; }
  .pp-foot-social { justify-content: center; }
  .pp-foot-areas { padding: 24px 22px 26px; }
  /* Full-width chips gave one per row — ten rows, 580px, and it read as a
     stacked list rather than chips. A two-column grid halves that without
     shortening the anchor text, which has to stay descriptive because
     internal anchor text is the entire point of this band. */
  .pp-foot-areas ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  /* The longer names ("Irlam & Cadishead") wrap to two lines, so the pills are
     stretched to fill their grid cell — otherwise a one-line chip sits next to
     a two-line one and the row looks broken rather than deliberate. */
  .pp-foot-areas li { display: flex; }
  .pp-foot-areas a { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12.5px; line-height: 1.35; padding: 8px 10px; }
  /* Seven single-word links stacked is 260px of mostly empty row. */
  .pp-foot-explore ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .pp-foot-bottom-inner { flex-direction: column; justify-content: center; text-align: center; padding: 16px 22px; gap: 6px; }
  /* The enquiry-form card carries 46px of side padding for desktop. On a
     375px screen that's a quarter of the width gone before any field. */
  .pp-form-card { padding: 28px 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-stars span, #pp-preloader img, #pp-preloader .pp-load-star, #pp-preloader .pp-load-glow, .pp-reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  /* Static fallback: hide the travelling star, show the full arc faintly. */
  #pp-preloader .pp-shooting-star { display: none !important; }
  #pp-preloader .pp-wake { animation: none !important; stroke-dasharray: none; opacity: .3; }
  #pp-preloader .pp-flight-dust, #pp-preloader .pp-flight-twinkle, #pp-preloader .pp-comet-star, #pp-preloader .pp-load-name { animation: none !important; }
}

/* Hero princess cut-outs — shrink politely on small screens. */
@media (max-width: 700px) {
	.pp-hero-princess { opacity: 0.9; }
	#pp-princess-left { width: 150px !important; left: -10px !important; }
	#pp-princess-right { width: 84px !important; right: -8px !important; }
}

/* Pastel semi-circle backdrops behind the hero princesses. */
.pp-hero-princess::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	/* Fixed size so BOTH domes match regardless of character width. */
	width: clamp(240px, 27vw, 500px);
	aspect-ratio: 2 / 1.06;
	border-radius: 999px 999px 0 0;
	z-index: 0;
}
#pp-princess-left::before  { background: var(--pp-blush); opacity: 0.92; }
#pp-princess-right::before { background: #DCC9F2; opacity: 0.92; } /* pastel purple */

/* =====================================================================
   BLOG — listing cards, single-post typography, meta
   ===================================================================== */
.pp-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 32px;
	align-items: stretch;
}

.pp-post-card {
	background: var(--pp-white);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(74, 44, 77, 0.10);
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--pp-plum);
	transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.pp-post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(74, 44, 77, 0.18); color: var(--pp-plum); }
.pp-post-card__media { height: 210px; background: var(--pp-blush-40); position: relative; overflow: hidden; }
.pp-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-post-card__fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: 54px; background: linear-gradient(150deg, var(--pp-blush) 0%, var(--pp-lilac) 100%); }
.pp-post-card__cat {
	position: absolute; top: 14px; left: 14px;
	background: var(--pp-plum); color: var(--pp-cream);
	font-family: var(--font-body); font-weight: 600; font-size: 12px;
	letter-spacing: .06em; text-transform: uppercase;
	padding: 6px 14px; border-radius: 999px;
}
.pp-post-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.pp-post-card__title { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.25; margin: 0 0 10px; }
.pp-post-card__excerpt { margin: 0 0 18px; font-size: 15.5px; flex: 1; }
.pp-post-card__meta { font-size: 13px; font-weight: 600; color: var(--pp-lilac); letter-spacing: .04em; }
.pp-post-card__more { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--pp-lilac); }
.pp-post-card:hover .pp-post-card__more { color: var(--pp-plum); }

/* ---- Single post typography ---- */
.pp-article { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.8; }
.pp-article > *:first-child { margin-top: 0; }
.pp-article p { margin: 0 0 1.35em; }
.pp-article h2 {
	font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.2;
	margin: 2em 0 .6em; color: var(--pp-plum);
}
.pp-article h2::before { content: "\2726"; color: var(--pp-gold); font-size: 18px; margin-right: 12px; vertical-align: middle; }
.pp-article h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 1.7em 0 .5em; color: var(--pp-plum); }
.pp-article ul, .pp-article ol { margin: 0 0 1.35em; padding-left: 0; list-style: none; }
.pp-article ol { counter-reset: pp-ol; }
.pp-article li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.pp-article ul > li::before { content: "\2605"; position: absolute; left: 0; top: 0; color: var(--pp-gold); font-size: 14px; }
.pp-article ol > li { counter-increment: pp-ol; }
.pp-article ol > li::before {
	content: counter(pp-ol); position: absolute; left: 0; top: 2px;
	width: 21px; height: 21px; border-radius: 999px;
	background: var(--pp-lilac-15); color: var(--pp-lilac);
	font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.pp-article blockquote {
	margin: 1.8em 0; padding: 24px 30px;
	background: var(--pp-blush-40); border-left: 4px solid var(--pp-gold);
	border-radius: 0 20px 20px 0; font-size: 18px;
}
.pp-article blockquote p:last-child { margin: 0; }
.pp-article img { max-width: 100%; height: auto; border-radius: 20px; box-shadow: 0 10px 28px rgba(74,44,77,.16); margin: 1.6em 0; }
.pp-article a { color: var(--pp-lilac); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pp-article a:hover { color: var(--pp-plum); }
.pp-article table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 16px; }
.pp-article th, .pp-article td { padding: 12px 14px; text-align: left; border-bottom: 1.5px solid var(--pp-blush); }
.pp-article th { font-family: var(--font-display); font-weight: 600; color: var(--pp-plum); }
.pp-article hr { border: 0; height: 1px; background: var(--pp-blush); margin: 2.4em 0; }

/* Pull-out box for key info inside posts */
.pp-note {
	background: var(--pp-lilac-15); border-radius: 20px;
	padding: 26px 30px; margin: 1.8em 0;
}
.pp-note strong:first-child { font-family: var(--font-display); }

/* ---- Pagination ---- */
.pp-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 52px; flex-wrap: wrap; }
.pp-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--pp-white); color: var(--pp-plum);
	border-radius: 999px; font-weight: 600; text-decoration: none;
	box-shadow: 0 6px 16px rgba(74,44,77,.10);
}
.pp-pagination .page-numbers.current { background: var(--pp-lilac); color: var(--pp-cream); }
.pp-pagination a.page-numbers:hover { background: var(--pp-blush); }

@media (max-width: 720px) {
	.pp-article { font-size: 16.5px; }
	.pp-article h2 { font-size: 25px; }
}
