/* =========================================================
   The Cake Pop Experience — site styles
   ---------------------------------------------------------
   BRAND COLORS: change these few values to re-theme the
   whole site (e.g. once we pull colors from Instagram).
   ========================================================= */
:root {
  /* Pulled from @_thecakepopexperience: candy-stripe pink, the
     hot pink + sunshine yellow in the logo, the buttery ribbon
     on the pricing menu, and the teal accent from her posts. */
  --color-cream:   #FFFBF6;  /* page background */
  --color-blush:   #FCE6EB;  /* soft section backgrounds, light stripe */
  --color-pink:    #F5B3C5;  /* candy stripe, borders */
  --color-berry:   #D42A72;  /* logo hot pink: buttons, links */
  --color-berry-dark: #A81D58; /* button hover */
  --color-butter:  #F7E6A6;  /* ribbon yellow from the menu */
  --color-sun:     #F2C931;  /* logo yellow: small sparkles */
  --color-teal:    #1E9AA8;  /* accent */
  --color-mint:    #DDF1F2;  /* light teal background */
  --color-cocoa:   #2E2226;  /* main text, footer */
  --color-gold:    #F2C931;
  --color-white:   #FFFFFF;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 34, 38, 0.08);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-cocoa);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-berry); }
a:hover { color: var(--color-berry-dark); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--blush { background: var(--color-blush); }
.section--mint { background: var(--color-mint); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-berry);
  margin-bottom: .75rem;
}
.lead { font-size: 1.2rem; max-width: 40rem; }
.center .lead { margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--color-berry);
  background: var(--color-berry);
  color: var(--color-white);
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--color-berry-dark); border-color: var(--color-berry-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--color-berry); }
.btn--ghost:hover { background: var(--color-berry); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(239, 167, 188, 0.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-cocoa); }
.brand svg { width: 34px; height: 34px; }
.brand span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-berry); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--color-cocoa); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-berry); }
.nav-links .btn { color: #fff; padding: .6rem 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--color-cocoa); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-cream);
    border-bottom: 1px solid rgba(239, 167, 188, 0.5);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(239,167,188,.25); }
  .nav-links li:last-child a { margin-top: 14px; border: 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--color-berry); }
.hero-art {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--color-white) 0, var(--color-blush) 62%, transparent 63%);
  display: grid; place-items: center;
}
.hero-art svg { width: 82%; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .95rem; font-weight: 600; }
.hero-badges span::before { content: "✦ "; color: var(--color-gold); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row, .hero-badges { justify-content: center; }
  .hero-art { max-width: 380px; margin: 0 auto; }
}

/* Page banner (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); background: var(--color-blush); text-align: center; }
.page-hero .lead { margin-inline: auto; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; } .flavor-card .body { padding: 14px; } .flavor-card h3 { font-size: 1.05rem; } .flavor-card p { font-size: .85rem; } }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.feature .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-blush); color: var(--color-berry);
  display: grid; place-items: center; margin-bottom: 18px; font-size: 1.5rem;
}
.feature p { margin: 0; }

.flavor-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.flavor-card .swatch { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.flavor-card .swatch svg { height: 86%; width: auto; aspect-ratio: 2 / 3; }
.flavor-card .body { padding: 22px 24px 26px; }
.flavor-card h3 { margin-bottom: .3em; }
.flavor-card p { margin: 0; font-size: .97rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--color-mint); color: var(--color-cocoa); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

.section-head { margin-bottom: 48px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-berry); color: #fff;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  display: grid; place-items: center;
}

/* Testimonial */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; margin: 0 0 18px; font-style: italic; }
.quote cite { font-style: normal; font-weight: 700; color: var(--color-berry); }

/* CTA band */
.cta-band { background: var(--color-berry); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { margin-inline: auto; opacity: .92; }
.cta-band .btn { background: #fff; color: var(--color-berry); border-color: #fff; }
.cta-band .btn:hover { background: var(--color-blush); border-color: var(--color-blush); color: var(--color-berry-dark); }
.cta-band .btn--ghost { background: transparent; color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Pricing */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--color-blush); }
.price-table th { background: var(--color-cocoa); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.note { font-size: .92rem; opacity: .85; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.gallery figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery figure svg { height: 72%; width: auto; aspect-ratio: 2 / 3; }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; background: rgba(255,255,255,.9); padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Two column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--color-blush); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--color-berry); font-weight: 700; }
.portrait svg { width: 40%; margin: 0 auto 12px; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; font-size: .85rem; opacity: .75; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: inherit;
  border: 1.5px solid #E9D3D8; border-radius: 12px; background: var(--color-cream);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-berry); box-shadow: 0 0 0 4px rgba(184, 69, 108, .15); }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
@media (max-width: 480px) { .choices { grid-template-columns: 1fr; } }
.choices label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.choices input { accent-color: var(--color-berry); width: 18px; height: 18px; }
.hidden { display: none; }
.aside-card h3 { margin-top: 0; }
.aside-card ul { padding-left: 1.1em; margin: 0; }
.aside-card li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-cocoa); color: rgba(255,255,255,.85); padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--color-pink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: 1.1rem; margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand span { color: #fff; }
.site-footer .brand small { color: var(--color-pink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 44px; padding-top: 22px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 20px; height: 20px; }

/* ---------- Brand touches ---------- */
.script { font-family: var(--font-script); font-weight: 400; color: var(--color-berry); font-size: 1.25em; letter-spacing: 0; line-height: 1; }
.stripes {
  background: repeating-linear-gradient(90deg, var(--color-blush) 0 38px, var(--color-white) 38px 76px);
}
.page-hero.stripes { background: repeating-linear-gradient(90deg, var(--color-blush) 0 38px, var(--color-white) 38px 76px); }
.page-hero .frame {
  display: inline-block; background: var(--color-cream); padding: 36px clamp(24px, 5vw, 64px);
  border: 6px solid var(--color-butter); border-radius: 42px; max-width: 760px;
  box-shadow: var(--shadow);
}
.menu-card { border: 6px solid var(--color-butter); border-radius: 36px; background: var(--color-cream); padding: clamp(24px, 4vw, 44px); position: relative; }
.menu-card h3 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; font-weight: 700; margin: 0 0 .4em; }
.menu-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.menu-list li { display: flex; gap: 8px; align-items: baseline; padding: 6px 0; }
.menu-list li .dots { flex: 1; border-bottom: 2px dotted var(--color-pink); transform: translateY(-4px); }
.menu-list li strong { white-space: nowrap; }
.package { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; border-top: 6px solid var(--color-pink); }
.package.featured { border-top-color: var(--color-berry); transform: translateY(-8px); }
.package .price { font-family: var(--font-display); font-size: 2.6rem; color: var(--color-berry); line-height: 1; margin: 10px 0 6px; }
.package .count { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.sprinkle-divider { height: 14px; margin: 0 auto; max-width: 220px; background:
  radial-gradient(circle, var(--color-berry) 3px, transparent 4px) 0 0/28px 14px,
  radial-gradient(circle, var(--color-sun) 3px, transparent 4px) 9px 0/28px 14px,
  radial-gradient(circle, var(--color-teal) 3px, transparent 4px) 18px 0/28px 14px; }
.owners-photo { margin: 0; }
.owners-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 6px solid var(--color-butter); box-shadow: var(--shadow); }
.owners-photo figcaption { font-size: .92rem; margin-top: 12px; text-align: center; opacity: .85; }
