/* Three Sparrows Balloons: site styles
   Palette and type follow the Craft in Color template (see site-review/wix-template-design-notes.md). */

@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sacramento"; font-weight: 400; font-display: swap; src: url("../fonts/sacramento-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bree Serif"; font-weight: 400; font-display: swap; src: url("../fonts/bree-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #FEF8F8;
  --bg-alt: #F8F1F1;
  --white: #FFFFFF;
  --ink: #111111;

  --pink-band: #F8D3E3;
  --pink-pale: #FCE9F1;
  --pink-btn: #F1A0CE;
  --pink: #EF86C0;
  --mint: #C4DFD9;
  --mint-2: #A1D0C5;
  --sage: #D7E7D4;
  --teal: #4A9E9D;
  --lilac: #D0B5EB;
  --lilac-pale: #E2D1F4;
  --purple: #A077CA;
  --purple-btn: #BB96E1;
  --yellow: #DCCD5E;
  --peach: #F4BC88;

  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-script: "Sacramento", "Brush Script MT", cursive;
  --font-slab: "Bree Serif", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--pink); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; }
.skip-link:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.script { font-family: var(--font-script); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--ink); display: block; letter-spacing: 0; }
.bubble { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; letter-spacing: 0; }
.slab { font-family: var(--font-slab); letter-spacing: 0.04em; }
.caps { text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; font-size: 0.85rem; }
.h-slab { font-family: var(--font-slab); font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--teal); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7em; }
.h-slab.pink { color: var(--pink); }
.h-slab.purple { color: var(--purple); }
.h-slab.yellow { color: var(--yellow); }
.h-slab.white { color: var(--white); }
.h-slab.title-case { text-transform: none; }

/* each letter in a different palette colour */
.rainbow span:nth-child(5n+1) { color: var(--pink-btn); }
.rainbow span:nth-child(5n+2) { color: var(--peach); }
.rainbow span:nth-child(5n+3) { color: var(--yellow); }
.rainbow span:nth-child(5n+4) { color: var(--mint-2); }
.rainbow span:nth-child(5n+5) { color: var(--lilac); }
.rainbow .gap { display: inline-block; width: 0.3em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95em 2.6em;
  border-radius: var(--radius);
  background: var(--pink-btn);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--pink); color: var(--white); transform: translateY(-2px); }
.btn.teal { background: var(--teal); }
.btn.teal:hover { background: #3d8786; }
.btn.purple { background: var(--purple-btn); }
.btn.purple:hover { background: var(--purple); }
.btn.yellow { background: var(--yellow); }
.btn.yellow:hover { background: #cbbb47; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 1.8rem; }

/* ---------- Header ---------- */
.announce { background: var(--mint); color: var(--teal); text-align: center; padding: 0.7rem var(--gutter); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.announce a { color: inherit; text-decoration: none; }

.masthead { background: var(--white); }
.masthead .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 18px; gap: 16px; }
.masthead .logo img { width: clamp(170px, 22vw, 260px); }
.masthead .side { display: flex; gap: 12px; align-items: center; }
.masthead .side.right { justify-content: flex-end; }
.icon-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--yellow); text-decoration: none; }
.icon-dot.pink { background: var(--pink-btn); }
.icon-dot svg { width: 18px; height: 18px; }
.icon-dot:hover { color: var(--white); filter: brightness(0.95); }
.side .where { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 600; line-height: 1.4; }

.mainnav { background: var(--pink-band); }
.mainnav .wrap { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 4vw, 64px); padding-block: 12px; }
.mainnav a.navlink { color: var(--pink); text-decoration: none; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; }
.mainnav a.navlink:hover, .mainnav a.navlink[aria-current="page"] { border-bottom-color: var(--pink); color: var(--pink); }
.mainnav .btn { padding: 0.8em 2.2em; }
.menu-toggle { display: none; }

@media (max-width: 760px) {
  .masthead .wrap { grid-template-columns: auto 1fr auto; }
  .masthead .side.left .where { display: none; }
  .masthead .logo { justify-self: center; }
  .masthead .logo img { width: 150px; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius);
    background: var(--pink-band); color: var(--pink); cursor: pointer;
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .mainnav .wrap { flex-direction: column; gap: 4px; padding-block: 10px 18px; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav .btn { margin-top: 8px; }
}

/* ---------- Bands and decorations ---------- */
.band { padding-block: clamp(56px, 9vw, 110px); position: relative; overflow: hidden; }
.band.tight { padding-block: clamp(40px, 6vw, 70px); }
.bg-white { background: var(--white); }
.bg-alt { background: var(--bg-alt); }
.bg-pink { background: var(--pink-band); }
.bg-pink-pale { background: var(--pink-pale); }
.bg-mint { background: var(--mint); }
.bg-mint-2 { background: var(--mint-2); }
.bg-sage { background: var(--sage); }
.bg-lilac { background: var(--lilac); }
.bg-lilac-pale { background: var(--lilac-pale); }

.rainbow-strip { height: 34px; background: linear-gradient(90deg, #F5E390 0%, #F6C8C7 25%, #F4BBDB 40%, #E4CCF3 58%, #A9D3CB 80%, #6CC6C3 100%); }
.stripe-edge { height: 14px; background: repeating-linear-gradient(-55deg, var(--pink-band) 0 9px, var(--white) 9px 16px); }

.confetti { position: absolute; inset: 0 0 auto 0; height: 150px; pointer-events: none; opacity: .9; }
.deco { position: absolute; pointer-events: none; }

/* ---------- Home hero ---------- */
.hero { background: var(--bg); text-align: center; padding-top: clamp(80px, 11vw, 140px); }
.hero h1 { max-width: 14ch; margin: 0.15em auto 0; color: var(--mint-2); }
.hero .lede { max-width: 640px; margin: 1.4rem auto 0; font-size: 1.05rem; }
.hero .balloons-left { left: max(-40px, calc(50% - 720px)); top: 120px; width: clamp(90px, 14vw, 190px); }
.hero .balloons-right { right: max(-30px, calc(50% - 720px)); top: 210px; width: clamp(80px, 12vw, 160px); }
.banner-frame { margin-top: clamp(40px, 6vw, 70px); background: var(--white); padding: 12px; border-radius: 4px; box-shadow: 0 10px 30px rgba(239,134,192,.18); }
@media (max-width: 760px) { .hero .deco { opacity: .35; } }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split .media img { width: auto; max-width: 100%; margin-inline: auto; border-radius: 2px; }
.split .media.framed img { border: 14px solid var(--white); }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .media { order: -1; }
}

.panel { background: var(--mint); padding: clamp(28px, 5vw, 70px); }
.panel.pink { background: var(--pink-band); }

/* ---------- Tiles ---------- */
.band-title { display: flex; align-items: center; background: var(--mint-2); padding: 18px var(--gutter) 10px; }
.band-title .script { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.5vw, 34px); }
.tile {
  aspect-ratio: 1 / 1.05; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--white); text-decoration: none; text-align: center; padding: 20px; transition: transform .2s ease;
}
.tile:hover { transform: translateY(-4px); color: var(--white); }
.tile .bubble { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; }
.tile .star { width: 46px; height: 46px; }
.tile .go { font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; border: 2px solid rgba(255,255,255,.85); border-radius: var(--radius); padding: 6px 14px; }
.tile.pink { background: #F3B2D7; }
.tile.yellow { background: #E0D475; }
.tile.mint { background: #AED4CB; }
.tile.lilac { background: #DAC4F1; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .tile .bubble { font-size: 1.5rem; } }

/* ---------- Feature icons ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 50px; }
.feature { text-align: center; }
.feature svg { width: 110px; height: 110px; margin: 0 auto 18px; display: block; }
.feature h3 { font-family: var(--font-slab); color: var(--white); font-size: 1.45rem; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }

.flower-title { position: relative; display: inline-block; padding: 30px 40px; }
.flower-title svg { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; z-index: 0; }
.flower-title > *:not(svg) { position: relative; z-index: 1; }

/* ---------- About hero with bunting ---------- */
.about-hero { background: radial-gradient(ellipse at center, #FDF2F7 0%, var(--pink-band) 85%); text-align: center; padding-top: clamp(130px, 16vw, 200px); padding-bottom: clamp(70px, 9vw, 120px); }
.bunting { position: absolute; top: 0; width: min(46%, 640px); }
.bunting.left { left: 0; }
.bunting.right { right: 0; transform: scaleX(-1); }
.about-hero .h-slab { margin-top: 1rem; margin-bottom: 0; }
.scroll-dot { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); color: var(--white); margin-top: 2rem; }
.scroll-dot svg { width: 22px; }
.ribbon-tab { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; }
@media (max-width: 600px) { .ribbon-tab { display: none; } .bunting { width: 60%; } }

/* ---------- Badge ---------- */
.badge { width: 150px; height: 150px; display: grid; place-items: center; text-align: center; color: var(--white); font-family: var(--font-slab); font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; position: relative; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge span { position: relative; }

.quote-card { background: var(--mint-2); padding: clamp(36px, 5vw, 64px); position: relative; color: var(--ink); }
.quote-card .badge { position: absolute; top: -60px; left: -40px; }
@media (max-width: 860px) { .quote-card .badge { left: 50%; transform: translateX(-50%); top: -80px; } .quote-card { margin-top: 70px; } }

/* ---------- Form / embed card ---------- */
.card { background: var(--pink-band); border-radius: 24px; padding: clamp(18px, 4vw, 48px); }
.card.white { background: var(--white); }
.embed-wrap { background: var(--white); border-radius: 16px; overflow: hidden; }
.embed-wrap iframe { display: block; width: 100%; min-height: 1150px; border: 0; }
.response { font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .88rem; margin-top: 1.4rem; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.contact-grid .map { border-radius: 16px; overflow: hidden; min-height: 380px; background: var(--white); }
.contact-grid .map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-list .icon-dot { flex: none; }
.contact-list strong { display: block; font-family: var(--font-slab); font-weight: 400; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Page heading (contact, job form) ---------- */
.page-head { text-align: center; position: relative; padding-top: clamp(50px, 7vw, 80px); }
.page-head .stars { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Legal pages ---------- */
.legal h2 { font-family: var(--font-slab); color: var(--teal); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; margin: 2.2em 0 .6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .updated { font-size: .85rem; color: #555; }

/* ---------- CTA ---------- */
.cta .script { font-size: clamp(2.8rem, 6vw, 4.4rem); }
.cta .big { font-family: var(--font-slab); color: var(--pink); font-size: clamp(3rem, 8vw, 5.5rem); line-height: .95; letter-spacing: .03em; }
.cta .sub { font-family: var(--font-slab); color: var(--teal); text-transform: uppercase; letter-spacing: .1em; font-size: clamp(1.1rem, 2.4vw, 1.7rem); margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); padding-top: clamp(50px, 7vw, 80px); }
.site-footer .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; text-align: center; padding-bottom: 60px; }
.foot-logo { width: 260px; height: 260px; max-width: 100%; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin: 0 auto; padding: 34px; box-shadow: 0 0 0 1px rgba(0,0,0,.02); }
.site-footer h2 { font-family: var(--font-slab); color: var(--teal); font-size: 2rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 22px; }
.pill-links { display: grid; gap: 12px; max-width: 340px; margin: 0 auto; }
.pill-links a { display: block; padding: 10px; border-radius: var(--radius); color: var(--white); text-decoration: none; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: .9rem; }
.pill-links a:nth-child(1) { background: var(--pink-btn); }
.pill-links a:nth-child(2) { background: var(--yellow); }
.pill-links a:nth-child(3) { background: var(--mint-2); }
.pill-links a:nth-child(4) { background: var(--peach); }
.pill-links a:hover { filter: brightness(0.96); color: var(--white); }
.to-top { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .06em; }
.to-top::before { content: ""; border: 14px solid transparent; border-bottom: 18px solid var(--teal); border-top: 0; }
.foot-about p { max-width: 34ch; margin-inline: auto; }
.legal-bar { background: var(--mint-2); color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.legal-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-block: 22px; }
.legal-bar a { color: var(--white); text-decoration: none; }
.legal-bar a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .legal-bar .wrap { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
