/* ===========================================================
   Doughy Cravings — styles
   Palette pulled from the logo: blush peach, teal, cocoa.
   =========================================================== */
:root {
  --cream: #fbf3ec;
  --cream-2: #f6e7dc;
  --blush: #f4c4b0;
  --blush-2: #f9dccf;
  --peach: #eaa58c;
  --teal: #2a8f93;
  --teal-dark: #1f6f72;
  --teal-ink: #185659;
  --cocoa: #4a2a1e;
  --cocoa-soft: #7a5546;
  --white: #fffdfb;
  --shadow: 0 18px 40px -18px rgba(74, 42, 30, .35);
  --shadow-sm: 0 8px 20px -12px rgba(74, 42, 30, .35);
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;

  /* section band colors */
  --c-cream: #fbf3ec;
  --c-blush: #f8d9cb;
  --c-mint: #cfe8e2;
  --c-teal: #2a8f93;
  --c-light: #fdebe3;
  --c-peach: #f3bfa8;
  --c-cocoa: #4a2a1e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.65;
  color: var(--cocoa);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw + .5rem, 3.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--cocoa); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.script { font-family: var(--script); font-weight: 700; color: var(--teal); }
.eyebrow {
  font-family: var(--script); font-weight: 700; font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
  line-height: 1.2; color: var(--teal-ink); margin-bottom: .25em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid var(--cocoa);
  background: var(--cocoa); color: var(--cream); text-decoration: none; font-weight: 700;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-3px); background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--ghost { background: transparent; color: var(--cocoa); box-shadow: none; }
.btn--ghost:hover { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.btn--small { padding: .55em 1.15em; font-size: .92rem; }
.btn--light { background: var(--blush); border-color: var(--blush); color: var(--cocoa); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--cocoa); }
.btn--ghost-light { background: rgba(14, 58, 60, .28); border-color: #fff; color: #fff; box-shadow: none; }
.btn--ghost-light:hover { background: var(--cream); border-color: var(--cream); color: var(--cocoa); }

/* ---------- color bands + dividers ---------- */
.band { position: relative; overflow-x: clip; }
.band--cream { background: var(--c-cream); }
.band--blush { background: var(--c-blush); }
.band--mint  { background: var(--c-mint); }
.band--peach { background: var(--c-peach); }
.band--light { background: var(--c-light); }
.band--teal  { background: var(--c-teal); color: #fff; }
.band--cocoa { background: var(--c-cocoa); color: var(--cream); }
.band--light .section__head p:last-child, .band--blush .about__copy p, .band--blush .section__head p:last-child { color: #6a4537; }

.divider {
  position: relative; height: clamp(44px, 6vw, 96px); background: var(--a);
  margin: -1px 0; z-index: 1; pointer-events: none;
}
.divider > svg:first-child { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + 2px); fill: var(--b); display: block; }
.divider .deco {
  position: absolute; bottom: 30%; width: 34px; height: 34px; fill: var(--c, #fff);
  animation: drift 7s ease-in-out infinite; animation-delay: var(--dl, 0s);
  filter: drop-shadow(0 4px 6px rgba(74, 42, 30, .15));
}
.divider .deco--sm { width: 22px; height: 22px; bottom: 45%; }
@keyframes drift { 50% { transform: translateY(-10px) rotate(25deg); } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; }
/* blur lives on a pseudo-element so it doesn't trap the fixed mobile menu */
.nav::before {
  content: ""; position: absolute; inset: 0 0 var(--awn-h) 0; z-index: -1;
  background: rgba(255, 251, 247, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

/* scalloped awning hanging under the navbar */
.nav { --awn: 46px; --awn-h: calc(var(--awn) / 2 + 8px); }
.awning {
  height: var(--awn-h); position: relative; pointer-events: none;
  filter: drop-shadow(0 5px 0 rgba(42, 143, 147, .22)) drop-shadow(0 8px 10px rgba(74, 42, 30, .12));
}
.awning::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--peach), var(--peach)) top / 100% 6px no-repeat,
    linear-gradient(rgba(0, 0, 0, .08), transparent 40%) top / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--teal) 0 var(--awn), #fffaf5 var(--awn) calc(var(--awn) * 2));
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% 9px no-repeat,
    radial-gradient(circle calc(var(--awn) / 2) at 50% 8px, #000 97%, transparent 100%) 0 0 / var(--awn) 100% repeat-x;
          mask:
    linear-gradient(#000 0 0) top / 100% 9px no-repeat,
    radial-gradient(circle calc(var(--awn) / 2) at 50% 8px, #000 97%, transparent 100%) 0 0 / var(--awn) 100% repeat-x;
}
@media (max-width: 600px) { .nav { --awn: 34px; } }
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: padding .4s var(--ease);
}
.nav.is-scrolled .nav__inner { padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); }
.brand img { border-radius: 50%; width: 44px; height: 44px; box-shadow: var(--shadow-sm); }
.brand span { font-family: var(--script); font-size: 1.55rem; font-weight: 700; color: var(--teal-dark); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__links a:not(.btn) {
  text-decoration: none; color: var(--cocoa); font-weight: 500; font-size: .95rem; position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--peach); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__toggle { display: none; }

.progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--peach), var(--teal)); transform: scaleX(0); transform-origin: left; }

@media (max-width: 880px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer; position: relative; z-index: 2;
  }
  .nav__toggle span { width: 20px; height: 2px; background: var(--cocoa); border-radius: 2px; transition: transform .35s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px;
    background: var(--cream); padding: 80px var(--gutter);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav__links a:not(.btn) { font-family: var(--serif); font-size: 1.7rem; }
  .nav__links .btn { margin-top: 10px; font-size: 1rem; padding: .9em 1.8em; }
  body.menu-open { overflow: hidden; }
  body.menu-open .progress, body.menu-open .awning { opacity: 0; }
}

/* ---------- layout ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--gutter); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section__head p:last-child { color: var(--cocoa-soft); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; max-width: var(--max); margin: 0 auto;
  padding: 140px var(--gutter) 80px;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 60px);
  position: relative;
}
.hero h1 { font-size: clamp(2.2rem, 3.4vw + 1rem, 3.9rem); font-weight: 600; }
.hero h1 .script { display: block; font-size: .78em; margin-bottom: .2em; letter-spacing: 0; }
.lead { font-size: 1.1em; color: var(--cocoa-soft); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

.hero__art { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 560px; justify-self: center; }
.blob {
  position: absolute; inset: 8% 4% 4% 8%;
  background: radial-gradient(circle at 30% 30%, var(--blush-2), var(--blush) 60%, var(--peach));
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  animation: morph 14s ease-in-out infinite alternate;
}
@keyframes morph {
  to { border-radius: 42% 58% 44% 56% / 58% 42% 58% 42%; transform: rotate(8deg) scale(1.03); }
}
.float {
  position: absolute; margin: 0; border-radius: 26px; overflow: hidden;
  border: 6px solid var(--white); box-shadow: var(--shadow);
  will-change: transform;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--a { width: 52%; aspect-ratio: 4/5; left: 4%; top: 6%; rotate: -5deg; z-index: 2; }
.float--b { width: 46%; aspect-ratio: 4/5; right: 0; top: 26%; rotate: 6deg; z-index: 3; }
.float--c { width: 36%; aspect-ratio: 1; left: 18%; bottom: 0; rotate: 3deg; z-index: 4; }

.sprinkle { position: absolute; width: 14px; height: 5px; border-radius: 4px; z-index: 5; animation: bob 5s ease-in-out infinite; }
.s1 { background: var(--teal); top: 4%; right: 18%; rotate: 30deg; }
.s2 { background: var(--peach); top: 18%; left: 0; rotate: -20deg; animation-delay: -1.5s; }
.s3 { background: var(--cocoa); bottom: 14%; right: 10%; rotate: 60deg; animation-delay: -3s; }
.s4 { background: var(--teal); bottom: 6%; left: 2%; rotate: 10deg; animation-delay: -2s; width: 10px; }
@keyframes bob { 50% { translate: 0 -10px; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--cocoa-soft); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cocoa-soft); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 118px; gap: 20px; min-height: auto; }
  .lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__art { max-width: 420px; order: -1; margin-top: 10px; }
  .scroll-cue { display: none; }
}

/* ---------- marquee ---------- */
.marquee-wrap { background: linear-gradient(var(--c-cream) 50%, var(--c-blush) 50%); overflow: hidden; padding: 6px 0; }
.marquee {
  background: var(--cocoa); color: var(--cream); overflow: hidden; padding: 18px 0;
  transform: rotate(-1.5deg); margin: 10px -10px; width: calc(100% + 20px);
}
.marquee__track {
  display: flex; gap: 28px; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.5rem); font-style: italic;
  animation: scroll-x 38s linear infinite;
}
.marquee__track i { color: var(--blush); font-style: normal; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about__img { position: relative; }
.about__img img { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__img .tag {
  position: absolute; right: -14px; bottom: 28px; background: var(--teal); color: #fff;
  padding: .6em 1.1em; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm);
  rotate: -4deg;
}
.about__copy p { color: var(--cocoa-soft); }
.facts { list-style: none; padding: 0; margin: 1.8em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { background: var(--white); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.facts span { font-size: .85rem; color: var(--cocoa-soft); }

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .about__img { max-width: 420px; margin: 0 auto; width: 100%; }
  .about__img .tag { right: 8px; }
}
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ---------- treats ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush-2); color: var(--teal-ink); margin-bottom: 16px;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--cocoa-soft); font-size: .95rem; flex: 1; }
.card__link { font-weight: 700; text-decoration: none; font-size: .9rem; }
.card__link:hover { text-decoration: underline; }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cards { gap: 12px; }
  .card { padding: 18px 14px 16px; border-radius: 18px; }
  .card__icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .card__icon svg { width: 24px; height: 24px; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: .84rem; line-height: 1.5; }
  .card__link { font-size: .8rem; }
}
@media (max-width: 340px) { .cards { grid-template-columns: 1fr; } }

/* ---------- menu ---------- */
.tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px;
}
.tabs button {
  font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer;
  border: 2px solid var(--cocoa); background: transparent; color: var(--cocoa);
  padding: .6em 1.15em; border-radius: 999px;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.tabs button:hover { transform: translateY(-2px); }
.tabs button[aria-selected="true"] { background: var(--cocoa); color: var(--cream); }
@media (max-width: 600px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scroll-snap-type: x mandatory; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; scroll-snap-align: start; }
}

.panels { max-width: 820px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(14px, 3vw, 34px) clamp(18px, 4vw, 44px); }
.panel.is-active { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px 0; border-bottom: 1px dashed rgba(74, 42, 30, .2);
}
.price-list li:last-child { border-bottom: 0; }
.price-list h4 { font-size: 1.08rem; margin: 0; }
.price-list p { margin: .25em 0 0; font-size: .88rem; color: var(--cocoa-soft); line-height: 1.45; }
.price {
  flex: none; background: var(--blush-2); color: var(--cocoa); font-weight: 700;
  padding: .35em .85em; border-radius: 10px; font-variant-numeric: tabular-nums;
}
.menu__note { text-align: center; margin-top: 28px; color: var(--cocoa-soft); }
.linklike { display: inline; font: inherit; color: var(--teal-dark); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-weight: 700; }

/* ---------- gallery ---------- */
.grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 19vw, 260px); gap: 16px;
  grid-auto-flow: dense;
}
.shot {
  padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--cream-2);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot--tall { grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot--wide img { object-position: center 60%; }
@media (max-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 10px; }
  .shot--wide, .shot--end { grid-column: span 2; }
  .shot--end { grid-row: auto; }
  .shot--end img { object-position: center 45%; }
}

/* ---------- order ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 51px; border-top: 2px dashed rgba(42, 143, 147, .45); z-index: 0;
}
.step {
  background: var(--white); border-radius: var(--radius); padding: 24px 20px 22px; box-shadow: var(--shadow-sm); position: relative; z-index: 1;
  transition: transform .45s var(--ease);
}
.step h3 { font-size: 1.1rem; }
.step__num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px;
  box-shadow: 0 0 0 6px var(--c-blush);
}
.step p { color: var(--cocoa-soft); margin: 0; font-size: .92rem; }
.order__note { text-align: center; margin: 32px 0 0; }
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 12px; }
  .steps::before { left: 46px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed rgba(42, 143, 147, .45); }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; align-items: start; padding: 18px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { margin: 4px 0 .25em; }
}

/* ---------- top-view CTA (spinning cakes) ---------- */
.spin { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(28px, 5vw, 70px); }
.spin h2 { font-size: clamp(2.2rem, 3.8vw + .6rem, 3.6rem); color: #fff; text-shadow: 0 2px 14px rgba(15, 60, 62, .25); }
.spin h2 em { font-family: var(--script); font-style: normal; color: #ffe7a3; font-size: 1.2em; }
.spin__kicker { font-size: clamp(1.3rem, 2vw, 1.7rem); color: #ffe7a3; margin-bottom: .3em; }
.spin__copy > p:not(.spin__kicker):not(.spin__caption) { color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.55; max-width: 30em; }
.spin__rule { display: flex; align-items: center; gap: 10px; max-width: 260px; margin: 0 0 1.2em; }
.spin__rule span { flex: 1; height: 1px; background: rgba(251, 243, 236, .4); }
.spin__rule svg { width: 18px; height: 18px; fill: var(--blush); }
.spin__controls { display: flex; align-items: center; gap: 14px; margin-top: 2.2em; }
.spin__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); background: transparent;
  color: var(--cream); font-size: 1.1rem; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease);
}
.spin__arrow:hover { background: var(--cream); color: var(--c-teal); transform: scale(1.06); }
.spin__dots { display: flex; gap: 10px; }
.spin__dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer; position: relative;
  background: rgba(251, 243, 236, .4); transition: width .45s var(--ease), background .3s;
}
.spin__dots button[aria-selected="true"] { width: 30px; background: var(--blush); }
.spin__dots button::before { content: ""; position: absolute; inset: -17px -5px; }
.spin__caption { margin: .9em 0 0; font-family: var(--serif); font-style: italic; color: #fff; font-weight: 700; font-size: 1.2rem; min-height: 1.6em; }
.spin .btn--light { box-shadow: 0 10px 24px -12px rgba(15, 60, 62, .6); }

.spin__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.spin__plate {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbe5da, var(--blush) 55%, var(--peach));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.spin__ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(251, 243, 236, .35);
  animation: turn 60s linear infinite reverse;
}
.spin__turntable { position: absolute; inset: 11%; animation: turn 40s linear infinite; }
.spin:hover .spin__turntable, .spin:focus-within .spin__turntable, .spin:hover .spin__ring { animation-play-state: paused; }
.spin__cake {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(43, 24, 17, .4));
  opacity: 0; transform: rotate(-140deg) scale(.55);
  transition: opacity .8s var(--ease), transform 1.1s var(--ease);
}
.spin__cake.is-active { opacity: 1; transform: none; }
.spin__cake.is-leaving { opacity: 0; transform: rotate(140deg) scale(.55); }
@keyframes turn { to { transform: rotate(360deg); } }
.spin__stage .leaf { position: absolute; width: 38px; height: 38px; fill: var(--cream); animation: drift 8s ease-in-out infinite; z-index: 2; }
.spin__stage .l1 { top: 4%; right: 8%; }
.spin__stage .l2 { bottom: 8%; left: 2%; width: 26px; height: 26px; fill: var(--blush); animation-delay: -3s; }
.spin__stage .sprinkle { z-index: 2; }
@media (max-width: 880px) {
  .spin { grid-template-columns: 1fr; text-align: center; }
  .spin__stage { order: -1; max-width: 400px; }
  .spin__rule { margin-inline: auto; }
  .spin__copy > p { margin-inline: auto; }
  .spin .hero__cta, .spin__controls { justify-content: center; }
}

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 1.08rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
/* caret: a circle with a chevron drawn from two borders */
.faq__item summary::before {
  content: ""; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  border-radius: 50%; background: var(--blush-2); transition: background .3s;
}
.faq__item summary::after {
  content: ""; position: absolute; right: 30px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2.5px solid var(--teal-dark); border-bottom: 2.5px solid var(--teal-dark); border-radius: 1px;
  transform: rotate(45deg); transition: transform .45s var(--ease), margin .45s var(--ease);
}
.faq__item.is-open summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item.is-open summary::before { background: var(--blush); }
.faq__item summary:hover { color: var(--teal-dark); }
.faq__a { padding: 0 24px 20px; color: var(--cocoa-soft); overflow: hidden; }
.faq__a p { margin: 0; }

/* ---------- video ---------- */
.video { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.video__copy p:not(.eyebrow) { color: var(--cocoa-soft); max-width: 30em; }
.video__phone { position: relative; justify-self: center; width: min(320px, 78vw); }
.video__screen {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden;
  background: var(--cocoa); border: 10px solid #2e1a13;
  box-shadow: 0 30px 60px -24px rgba(74, 42, 30, .55), 0 0 0 6px rgba(255, 255, 255, .6);
}
.video__screen::before {
  content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 70px; height: 8px;
  border-radius: 6px; background: #2e1a13; z-index: 2;
}
.video__file { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video__poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; color: var(--cocoa); text-align: center; padding: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .7), transparent 45%),
    linear-gradient(160deg, #fde7dc, var(--blush) 55%, var(--peach));
}
.video__poster[hidden] { display: none; }
.video__poster img { border-radius: 50%; box-shadow: var(--shadow-sm); }
.video__poster strong { font-family: var(--serif); font-size: 1.5rem; margin-top: 6px; }
.video__poster small { color: #6a4537; font-weight: 700; }
.video__play {
  width: 74px; height: 74px; border-radius: 50%; background: var(--teal); position: relative; margin-top: 14px;
  box-shadow: 0 0 0 0 rgba(42, 143, 147, .5); animation: pulse 2.4s ease-out infinite;
  transition: transform .35s var(--ease);
}
.video__play::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -8px;
  border-left: 24px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.video__poster:hover .video__play { transform: scale(1.08); }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(42, 143, 147, 0); } 100% { box-shadow: 0 0 0 0 rgba(42, 143, 147, 0); } }
.video__phone .leaf { position: absolute; top: -14px; right: -18px; width: 40px; height: 40px; fill: var(--peach); animation: drift 8s ease-in-out infinite; z-index: 3; }
.video__phone .sprinkle { z-index: 3; }
.video__phone .s2 { top: 30%; left: -26px; }
.video__phone .s3 { bottom: 10%; right: -24px; }
@media (max-width: 820px) {
  .video { grid-template-columns: 1fr; text-align: center; }
  .video__copy p:not(.eyebrow) { margin-inline: auto; }
  .video .hero__cta { justify-content: center; }
}

/* ---------- reviews carousel ---------- */
.rv { --gap: 20px; --per: 3; max-width: var(--max); margin: 0 auto; }
.rv__track {
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 26px 14px 34px; margin: -26px -14px 0; scroll-padding-inline: 14px; scrollbar-width: none;
}
.rv__track::-webkit-scrollbar { display: none; }
.rv__track:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.rv.is-few .rv__track { justify-content: center; }
.review {
  margin: 0; background: var(--white); border-radius: var(--radius); padding: 34px 28px 24px; box-shadow: var(--shadow);
  position: relative; display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.review__mark { position: absolute; top: -10px; left: 20px; font-family: var(--serif); font-size: 5.5rem; line-height: 1; color: var(--blush); }
.review blockquote { margin: 16px 0 22px; position: relative; }
.review blockquote p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; }
.review figcaption small { color: var(--cocoa-soft); }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--peach); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
}
.review:nth-child(3n+2) .review__avatar { background: var(--teal); }
.review:nth-child(3n+3) .review__avatar { background: var(--cocoa-soft); }
.rv__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.rv__all { font-weight: 700; text-decoration: none; }
.rv__all:hover { text-decoration: underline; }
.rv__nav { display: flex; gap: 10px; }
.rv__arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--cocoa); background: transparent; color: var(--cocoa);
  font-size: 1.15rem; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease), opacity .3s;
}
.rv__arrow:hover:not(:disabled) { background: var(--cocoa); color: var(--cream); transform: scale(1.06); }
.rv__arrow:disabled { opacity: .3; cursor: default; }
.rv.is-few .rv__nav { display: none; }
.rv.is-few .rv__bar { justify-content: center; }
@media (max-width: 1020px) { .rv { --per: 2; } }
@media (max-width: 640px) {
  .rv { --per: 1; --gap: 14px; }
  .rv__track { grid-auto-columns: 86%; }
  .rv__bar { justify-content: center; flex-direction: column-reverse; }
}

/* ---------- footer social icons ---------- */
.socials { display: flex; justify-content: center; gap: 14px; margin: 18px 0 8px; }
.social {
  --c: var(--teal); position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); box-shadow: var(--shadow-sm); isolation: isolate; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.social::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c); z-index: -1;
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.social svg { width: 22px; height: 22px; fill: var(--cocoa); transition: fill .3s, transform .45s var(--ease); }
.social--fb { --c: #1877f2; }
.social--ig { --c: radial-gradient(circle at 30% 110%, #fdcf58, #f56040 40%, #c13584 70%, #5851db); }
.social--ig::before { background: radial-gradient(circle at 30% 110%, #fdcf58, #f56040 40%, #c13584 70%, #5851db); }
.social--ms { --c: linear-gradient(135deg, #0a7cff, #a033ff 60%, #ff5c87); }
.social--ms::before { background: linear-gradient(135deg, #0a7cff, #a033ff 60%, #ff5c87); }
.social:hover, .social:focus-visible { transform: translateY(-6px); box-shadow: 0 14px 24px -12px rgba(74, 42, 30, .5); }
.social:hover::before, .social:focus-visible::before { transform: none; }
.social:hover svg, .social:focus-visible svg { fill: #fff; transform: rotate(-10deg) scale(1.12); }
.faq__more { text-align: center; margin: 30px 0 0; color: var(--cocoa-soft); }

/* ---------- contact ---------- */
.contact { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); color: var(--cocoa); }
.contact__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center;
  background: linear-gradient(135deg, var(--blush-2), var(--blush));
  border-radius: 34px; padding: clamp(28px, 6vw, 70px); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.contact__card::after {
  content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -120px;
  border-radius: 50%; background: rgba(255, 255, 255, .25); pointer-events: none;
}
.contact__copy h2 .script { display: block; font-size: 1.1em; }
.contact__copy .eyebrow { color: var(--teal-ink); }
.area { font-weight: 700; display: flex; gap: 8px; align-items: center; }
.contact__ways { display: grid; gap: 12px; position: relative; z-index: 1; }
.way {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cocoa);
  background: var(--white); padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.way:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.way strong { display: block; font-size: 1.02rem; }
.way small { color: var(--cocoa-soft); font-size: .88rem; }
.way__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa); }
.way__icon svg { width: 22px; height: 22px; fill: #fff; }
.way__icon--viber { background: #7360f2; }
.way__icon--fb { background: #1877f2; }
.way__icon--ig { background: radial-gradient(circle at 30% 110%, #fdcf58, #f56040 40%, #c13584 70%, #5851db); }
@media (max-width: 820px) { .contact__card { grid-template-columns: 1fr; text-align: center; } .area { justify-content: center; } .way { text-align: left; } }

/* ---------- terms page ---------- */
.terms-hero { text-align: center; padding-top: 160px; padding-bottom: 40px; max-width: 820px; }
.terms-hero h1 { font-size: clamp(2.4rem, 5vw + .5rem, 4rem); }
.terms-hero h1 .script { font-size: 1.1em; }
.terms-hero > p:not(.eyebrow) { color: #6a4537; }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.toc a {
  text-decoration: none; color: var(--cocoa); font-weight: 700; font-size: .88rem;
  background: var(--white); padding: .5em 1em; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), background .3s;
}
.toc a:hover { transform: translateY(-2px); background: var(--cream); }
.terms { max-width: 860px; display: grid; gap: 18px; padding-top: 40px; }
.term {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: clamp(22px, 4vw, 36px) clamp(22px, 4vw, 40px); position: relative; scroll-margin-top: 100px;
}
.term__num { font-family: var(--serif); font-weight: 700; font-size: .95rem; color: var(--peach); letter-spacing: .1em; }
.term h2 { font-size: clamp(1.4rem, 2vw + .6rem, 1.9rem); margin-top: .2em; }
.term ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.term li { position: relative; padding-left: 26px; color: var(--cocoa-soft); }
.term li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px var(--c-mint);
}
.terms__cta { text-align: center; padding: 30px 0 10px; }
.terms__cta .hero__cta { justify-content: center; margin-top: .8em; }
.terms-page .footer { border-top: 1px solid rgba(74, 42, 30, .08); }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 50px var(--gutter) 110px; color: var(--cocoa-soft); }
.footer img { margin: 0 auto 10px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.footer .script { font-size: 1.8rem; margin: 0; }
.footer__links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.footer__links a { font-weight: 700; text-decoration: none; }
@media (min-width: 881px) { .footer { padding-bottom: 50px; } }

/* ---------- floating button ---------- */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  background: var(--teal-dark); color: #fff; text-decoration: none; font-weight: 700;
  padding: .85em 1.3em; border-radius: 999px; box-shadow: var(--shadow);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.fab.is-visible { transform: none; }
@media (min-width: 881px) { .fab { display: none; } }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(43, 24, 17, .82); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .4s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 18px; }
.lightbox p { color: var(--cream); text-align: center; margin: 12px 0 0; font-family: var(--serif); font-style: italic; }
.lightbox__close {
  position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--cream); color: var(--cocoa); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); z-index: 1;
}
@media (max-width: 600px) { .lightbox__close { top: -52px; right: 0; } }

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; white-space: normal; padding: 0 16px; }
  .marquee__track > :nth-child(n+17) { display: none; }
  .float { transform: none !important; }
  .spin__turntable, .spin__ring, .divider .deco, .leaf, .sprinkle, .blob, .video__play { animation: none !important; }
  .spin__cake { transform: none !important; }
}

/* hero: the brand script already leads, so its label stays plain */
.hero .eyebrow { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: .01em; margin-bottom: .9em; }

/* ---------- 404 page ---------- */
.nf {
  min-height: calc(100svh - 120px); max-width: var(--max); margin: 0 auto;
  padding: 150px var(--gutter) 70px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 70px);
}
.nf h1 { font-size: clamp(2.3rem, 3.6vw + 1rem, 3.8rem); }
.nf__copy > p:not(.eyebrow) { color: var(--cocoa-soft); max-width: 30em; }
.nf__actions { margin-top: 1.4em; }
.nf__help { margin-top: 1.6em; font-size: .95rem; }
.nf__art {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center;
  display: grid; place-items: center;
}
.nf__art::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blush-2), var(--blush) 60%, var(--peach));
}
.nf__plate { position: relative; width: 92%; overflow: visible; }
.nf__fork { transform-box: fill-box; animation: fork-tap 3.6s var(--ease) infinite; }
@keyframes fork-tap { 0%, 70%, 100% { translate: 0 0; } 78% { translate: -6px 8px; } 86% { translate: 0 0; } }
.nf-page .footer { padding-top: 30px; border-top: 1px solid rgba(74, 42, 30, .08); }
@media (max-width: 820px) {
  .nf { grid-template-columns: 1fr; text-align: center; padding-top: 120px; min-height: auto; }
  .nf__art { max-width: 300px; }
  .nf__copy > p { margin-inline: auto; }
  .nf__actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .nf__fork { animation: none !important; } }
