/* MAKINCAKECo. — public site styles */
:root {
  --pink: #d089d4;
  --pink-dark: #a85cad; /* darker for text contrast on white */
  --pink-soft: #f7ecf8;
  --cocoa: #3b3331;
  --cocoa-2: #4a403d;
  --caramel: #b88661;
  --caramel-light: #d9a77f;
  --text: #4a4a4a;
  --bg: #fdfbfb;
  --line: rgba(208, 137, 212, 0.45);
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background-color: var(--bg);
  background-image: radial-gradient(rgba(208, 137, 212, 0.12) 2px, transparent 2px);
  background-size: 25px 25px;
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cocoa);
  line-height: 1.2;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--cocoa); color: #fff; padding: 0.75rem 1.25rem; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* Wordmark */
.brand { white-space: nowrap; }
.b-makin { font-weight: 800; }
.b-cake { font-weight: 800; color: var(--pink); }
.b-co { font-family: "Alex Brush", cursive; color: var(--caramel); text-transform: none; font-size: 1.3em; font-weight: 400; margin-left: -1px; letter-spacing: 0; }

/* Announcement */
.announce {
  background: var(--pink); color: #fff; text-align: center;
  font-weight: 600; font-size: 0.9rem; padding: 0.6rem 1rem; position: relative; z-index: 1001;
}
.announce .b-cake { color: var(--cocoa); }
.announce .b-co { color: #fff; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 1000; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.2) blur(8px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav-left { display: flex; align-items: center; gap: 1.25rem; }
.nav-brand { font-family: "Montserrat", sans-serif; font-size: 1.45rem; color: var(--cocoa); text-decoration: none; }
.nav-socials { display: flex; gap: 12px; border-left: 1px solid #e5dede; padding-left: 1.25rem; }
.nav-socials a { color: var(--pink-dark); display: flex; transition: transform 0.25s; }
.nav-socials a:hover { transform: scale(1.15); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: var(--cocoa); position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--pink); transition: width 0.3s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--cocoa); color: #fff !important; padding: 0.55rem 1.3rem; border-radius: 50px; }
.nav-cta:hover { background: var(--pink-dark); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; z-index: 1002; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--cocoa); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* Hero */
.hero {
  background-color: var(--cocoa);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
  min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.5rem 4rem; gap: 0.25rem;
}
.hero-art { width: min(560px, 88%); height: auto; margin-bottom: 1.75rem; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 5.5rem); text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero h1 .b-makin { color: #fff; }
.tagline { text-wrap: balance; color: #fff; font-size: clamp(0.9rem, 2.4vw, 1.2rem); font-weight: 300; letter-spacing: 4px; text-transform: uppercase; }
.hero-sub { text-wrap: balance; color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 0.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--pink); color: #fff; text-decoration: none; border: 2px solid var(--pink);
  padding: 1rem 2.4rem; border-radius: 50px; cursor: pointer;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.88rem; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(208,137,212,0.25); transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s;
}
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); transform: translateY(-3px); }
.btn.outline { background: #fff; color: var(--cocoa); border-color: var(--cocoa); box-shadow: none; }
.btn.outline:hover { background: var(--cocoa); color: #fff; }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; box-shadow: none; }
.btn.ghost:hover { background: #fff; color: var(--cocoa); border-color: #fff; }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 6.5rem 1.5rem; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--pink); margin: 18px auto 0; }
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; font-weight: 300; }
.section-title + .card, .section-title + .acc-wrap, .section-title + .review-grid { margin-top: 2.5rem; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03); padding: 3.5rem;
}

/* Gallery */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 0 auto 2rem; }
.chip {
  font: 600 0.85rem "Poppins", sans-serif; padding: 0.5rem 1.1rem; border-radius: 50px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--cocoa); transition: 0.2s;
}
.chip:hover { border-color: var(--pink); }
.chip[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.tile[hidden] { display: none; }
.tile-btn {
  display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; cursor: zoom-in; background: #f3eeee; box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.tile-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile-btn:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,0.12); }
.tile-btn:hover img { transform: scale(1.04); }
.more-wrap { text-align: center; margin-top: 2.5rem; }
.more[hidden] { display: none; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(30, 24, 23, 0.94); }
.lightbox figure { max-width: min(92vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: rgba(255,255,255,0.85); font-size: 0.9rem; text-align: center; max-width: 60ch; }
.lightbox button {
  position: fixed; background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; }
.about h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.about p + p { margin-top: 1rem; }
.diet { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.25rem; }
.diet li {
  background: var(--bg); border-left: 4px solid var(--pink); border-radius: 10px; padding: 0.9rem 1.4rem;
  font: 700 0.85rem "Montserrat", sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--cocoa);
}

/* Accordions */
.acc-wrap { max-width: 820px; margin: 0 auto; }
.acc {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; transition: box-shadow 0.3s;
}
.acc:hover { box-shadow: 0 10px 25px rgba(208,137,212,0.15); }
.acc summary {
  list-style: none; cursor: pointer; padding: 1.35rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font: 700 1.05rem "Montserrat", sans-serif; color: var(--cocoa);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.8rem; font-weight: 300; color: var(--pink); line-height: 1; transition: transform 0.3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { border-top: 1px solid rgba(208,137,212,0.2); padding: 1.4rem 1.5rem 1.6rem; font-size: 0.95rem; }
.acc-body p { margin-bottom: 1rem; font-weight: 300; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body strong { font-weight: 600; color: var(--cocoa); }
.acc-body h4 { font-size: 0.95rem; color: var(--pink-dark); margin-bottom: 0.7rem; }
.cols-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.bullets { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1rem; }
.bullets:last-child { margin-bottom: 0; }
.bullets.cols { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); column-gap: 2rem; }
.bullets li { position: relative; padding-left: 1rem; }
.bullets li::before { content: "•"; color: var(--pink); font-weight: 700; position: absolute; left: 0; }
.note {
  display: inline-block; margin-top: 1.4rem !important; background: var(--pink-soft); color: var(--pink-dark);
  padding: 0.8rem 1rem; border-radius: 10px; font-weight: 600 !important; font-size: 0.9rem;
}
.outro { text-align: center; max-width: 600px; margin: 2.5rem auto 0; font-weight: 600; color: var(--pink-dark); }

/* Reviews */
.reviews {
  background-color: var(--cocoa);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
  padding: 6.5rem 1.5rem;
}
.reviews .section-title { color: #fff; }
.review-grid { max-width: 1200px; margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 380px)); justify-content: center; gap: 2rem; }
.review { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.review p { font-style: italic; font-weight: 300; }
.review figcaption { text-align: right; font: 700 0.95rem "Montserrat", sans-serif; color: var(--pink-dark); text-transform: uppercase; letter-spacing: 1px; }
.review figcaption::before { content: "— "; }

/* Contact */
.contact { text-align: center; padding: 4.5rem 2rem; }
.contact .section-title { margin-bottom: 1.5rem; }
.contact-body { font-size: 1.08rem; color: #5f5a59; max-width: 620px; margin: 0 auto; }
.checklist { margin: 2rem auto 0; display: inline-block; text-align: left; background: var(--bg); border-radius: 14px; padding: 1.2rem 1.6rem; }
.checklist p { font-weight: 600; color: var(--cocoa); margin-bottom: 0.4rem; }
.checklist ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.checklist li::before { content: "✓ "; color: var(--pink-dark); font-weight: 700; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.contact-email { margin-top: 1.25rem; font-size: 0.9rem; color: #7a7372; }

/* Footer */
.footer {
  background-color: var(--cocoa);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px);
  color: #fff; text-align: center; padding: 4.5rem 1.5rem 2rem;
}
.footer-brand { font-family: "Montserrat", sans-serif; font-size: 1.6rem; }
.footer-meta { font-size: 0.85rem; letter-spacing: 1px; color: rgba(255,255,255,0.75); margin-top: 0.5rem; }
.footer-socials { display: flex; justify-content: center; gap: 1.25rem; margin-top: 1.5rem; }
.footer-socials a { color: var(--pink); display: flex; padding: 0.4rem; }
.footer-socials a:hover { color: #fff; }
.agency { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.07); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.agency a { color: rgba(255,255,255,0.8); font-weight: 600; text-decoration: none; }
.agency a:hover { color: #fff; }

/* Reveal animation (only when JS is running and motion is OK) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile-btn, .tile-btn img, .btn { transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .nav { padding: 0 1.1rem; }
  .nav-left { gap: 0.75rem; }
  .nav-brand { font-size: 1.2rem; }
  .nav-socials { padding-left: 0.75rem; gap: 10px; }
  .nav-socials svg { width: 18px; height: 18px; }
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(80%, 300px);
    background: #fff; flex-direction: column; justify-content: center; gap: 2.2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); transform: translateX(110%); transition: transform 0.4s var(--ease);
    visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { font-size: 1.1rem; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; padding: 3.5rem 1.25rem 4.5rem; }
  .section { padding: 4rem 1rem; }
  .reviews { padding: 4rem 1rem; }
  .card { padding: 2rem 1.35rem; }
  .contact { padding: 3rem 1.25rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .tile-btn { border-radius: 12px; }
  .tagline { letter-spacing: 2px; }
  .hero-ctas, .btn-group { flex-direction: column; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
  .btn { width: 100%; text-align: center; }
  .review { padding: 1.75rem 1.4rem; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; transform: none !important; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.4rem; margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; scrollbar-width: none; }
  .chip { flex-shrink: 0; }
}
@media (max-width: 380px) {
  .nav-socials { display: none; }
}
