/* =========================================================================
   THE BOOZY CUPCAKE SHOP — Page & section styles
   ========================================================================= */

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(130% 110% at 70% 10%, var(--wine) 0%, var(--ink) 52%); }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -10vw; top: -10vw; background: radial-gradient(circle, rgba(224,122,159,.32), transparent 62%); filter: blur(20px); z-index: 0; animation: floatGlow 9s ease-in-out infinite alternate; }
.hero__glow.two { left: -14vw; top: auto; bottom: -18vw; right: auto; background: radial-gradient(circle, rgba(199,162,78,.22), transparent 62%); animation-duration: 11s; }
@keyframes floatGlow { to { transform: translateY(40px) scale(1.08); } }

.hero__inner { position: relative; z-index: 3; width: min(100% - 48px, 1480px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero__copy { max-width: 640px; }
.hero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(54px, 8vw, 124px); line-height: .92; letter-spacing: -0.02em; margin: 22px 0 0; }
.hero h1 .script { display: block; font-family: var(--f-script); color: var(--rose); font-size: clamp(48px, 7.4vw, 112px); font-weight: 400; line-height: .8; margin: 6px 0 -6px; letter-spacing: 0; transform: rotate(-3deg); transform-origin: left; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero__sub { margin-top: 30px; max-width: 480px; }
.hero__actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta .n { font-family: var(--f-display); font-size: 30px; font-weight: 600; color: var(--gold-2); }
.hero__meta .l { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* hero art / parallax stack */
.hero__art { position: relative; height: 78vh; min-height: 540px; }
.hero__plate { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(247,239,226,.1); }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; }
.hero__plate.main { width: 70%; aspect-ratio: 1; right: 4%; top: 8%; z-index: 2; }
.hero__plate.small { width: 38%; aspect-ratio: 1; left: 0; bottom: 6%; z-index: 3; border-color: var(--gold-deep); }
.hero__ring { position: absolute; right: 0; top: 0; width: 78%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; z-index: 1; }
.hero__badge { position: absolute; right: -2%; bottom: 18%; z-index: 4; width: 132px; height: 132px; animation: spin 26s linear infinite; }
.hero__badge svg { width: 100%; height: 100%; }
.hero__badge .seal { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__badge .seal span { font-family: var(--f-script); font-size: 30px; color: var(--rose); animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.scrollcue__line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scrollcue__line::after { content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--gold-2); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- ABOUT ---------- */
.about { background: var(--cream); color: var(--ink-2); }
.about .eyebrow { color: var(--rose-deep); }
.about .eyebrow::before, .about .eyebrow.flank::after { background: linear-gradient(90deg, transparent, var(--rose-deep)); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__art { position: relative; }
.about__art .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/5; }
.about__art .frame img { width: 100%; height: 100%; object-fit: cover; }
.about__art .stamp { position: absolute; right: -24px; bottom: -24px; width: 150px; height: 150px; background: var(--wine); border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--cream); box-shadow: var(--shadow-soft); animation: spin 30s linear infinite; }
.about__art .stamp span { font-family: var(--f-script); font-size: 26px; color: var(--rose); }
.about h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 4.6vw, 60px); color: var(--ink); margin: 18px 0 22px; }
.about h2 .script { font-family: var(--f-script); color: var(--rose-deep); font-weight: 400; }
.about p { font-family: var(--f-serif); font-size: clamp(18px, 2.1vw, 23px); line-height: 1.55; color: #4a342f; margin-bottom: 18px; }
.about .allergy { font-family: var(--f-sans); font-size: 13px; font-style: italic; color: #8a6a5f; margin-top: 26px; padding-left: 16px; border-left: 2px solid var(--rose); }
.about__sign { font-family: var(--f-script); font-size: 40px; color: var(--wine); margin-top: 14px; }

/* ---------- COLLECTIONS / specialties ---------- */
.collections { background: var(--ink); }
.collections__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 72px; flex-wrap: wrap; }
.collections__head h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 5vw, 68px); max-width: 16ch; }
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.col-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow); }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.col-card:hover img { transform: scale(1.07); }
.col-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,12,11,.92) 6%, rgba(20,12,11,.15) 55%, transparent); }
.col-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 30px; }
.col-card .num { font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--gold-2); opacity: .8; }
.col-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 30px; margin: 6px 0 8px; }
.col-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; max-width: 30ch; }
.col-card .link-underline { opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.col-card:hover .link-underline { opacity: 1; transform: none; }

/* ---------- FEATURED FLAVORS ---------- */
.flavors { background: var(--cream); color: var(--ink); }
.flavors .eyebrow { color: var(--rose-deep); }
.flavors .eyebrow::before, .flavors .eyebrow.flank::after { background: linear-gradient(90deg, transparent, var(--rose-deep)); }
.flavors__head { text-align: center; margin-bottom: 60px; }
.flavors__head h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 5vw, 68px); margin-top: 16px; }
.flavor-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.flavor-card { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; background: var(--paper); border: 1px solid rgba(74,23,42,.08); border-radius: var(--r-md); padding: 18px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.flavor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.flavor-card__img { width: 130px; height: 130px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; }
.flavor-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.flavor-card:hover .flavor-card__img img { transform: scale(1.08); }
.flavor-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 24px; color: var(--ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flavor-card .spirit { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); background: var(--rose-soft); padding: 3px 9px; border-radius: 100px; }
.flavor-card p { font-size: 14.5px; color: #6a4d45; margin-top: 7px; line-height: 1.5; }

/* ---------- ORDER / HOW IT WORKS ---------- */
.howto { background: var(--ink-2); position: relative; }
.howto__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.howto h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 4.6vw, 60px); margin: 18px 0 14px; }
.steps { margin-top: 36px; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--f-display); font-style: italic; font-size: 34px; color: var(--gold); }
.step h4 { font-size: 19px; font-weight: 700; margin-bottom: 5px; letter-spacing: -.01em; }
.step p { font-size: 14.5px; color: var(--muted); max-width: 42ch; }
.howto__art { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.howto__art img { width: 100%; height: 100%; object-fit: cover; }
.howto__art .pin { position: absolute; top: 22px; left: 22px; background: rgba(20,12,11,.7); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }

/* ---------- GALLERY ---------- */
.gallery { background: var(--ink); }
.gallery__head { text-align: center; margin-bottom: 54px; }
.gallery__head h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 5vw, 68px); margin-top: 14px; }
.masonry { columns: 4; column-gap: 18px; }
.masonry__item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-soft); }
.masonry__item img { width: 100%; height: auto; display: block; transition: transform 1s var(--ease); }
.masonry__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,12,11,.7), transparent 50%); opacity: 0; transition: opacity .5s; }
.masonry__item:hover::after { opacity: 1; }
.masonry__item:hover img { transform: scale(1.06); }
.masonry__cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--f-display); font-style: italic; font-size: 17px; color: var(--cream); opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.masonry__item:hover .masonry__cap { opacity: 1; transform: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 4500; background: rgba(12,7,6,.94); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 4vw; opacity: 0; visibility: hidden; transition: opacity .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: var(--r-md); box-shadow: var(--shadow); }
.lightbox__cap { color: var(--cream); font-family: var(--f-display); font-style: italic; font-size: 20px; margin-top: 18px; text-align: center; }
.lightbox__close { position: absolute; top: 26px; right: 30px; font-size: 30px; color: var(--cream); width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; transition: all .3s; }
.lightbox__close:hover { background: var(--rose); color: var(--ink); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--cream); width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: all .3s; }
.lightbox__nav:hover { background: var(--rose); color: var(--ink); border-color: var(--rose); }
.lightbox__nav.prev { left: 24px; } .lightbox__nav.next { right: 24px; }

/* ---------- MENU PAGE ---------- */
.menu-section { background: var(--ink); }
.menu-section.alt { background: var(--ink-2); }
.menu-cat { display: flex; align-items: center; gap: 22px; margin-bottom: 50px; }
.menu-cat h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 5vw, 60px); white-space: nowrap; }
.menu-cat .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.menu-cat .count { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--gold-2); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dish { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dish__img { aspect-ratio: 5/4; overflow: hidden; position: relative; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.08); }
.dish__spirit { position: absolute; top: 14px; left: 14px; background: rgba(20,12,11,.78); backdrop-filter: blur(6px); color: var(--gold-2); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; white-space: nowrap; }
.dish__body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.dish__body h3 { font-family: var(--f-display); font-weight: 600; font-size: 25px; line-height: 1.05; margin-bottom: 10px; }
.dish__body p { font-size: 14.5px; color: #6a4d45; line-height: 1.55; }
.dish__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(74,23,42,.1); display: flex; align-items: center; justify-content: space-between; }
.dish__foot .proof { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); white-space: nowrap; }
.dish__foot .dot { color: var(--gold); white-space: nowrap; }

.menu-note { text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 19px; color: var(--gold-2); margin-bottom: 50px; }
.disclaimer { background: var(--wine); color: var(--cream); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 54px); text-align: center; max-width: 880px; margin-inline: auto; }
.disclaimer h3 { font-family: var(--f-display); font-weight: 600; font-size: 30px; margin-bottom: 16px; }
.disclaimer p { color: rgba(247,239,226,.8); font-size: 15px; margin-bottom: 8px; }
.disclaimer .tag-21 { margin-bottom: 22px; }

/* ---------- CONTACT PAGE ---------- */
.contact { background: var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 46px); }
.contact__card h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4vw, 48px); margin: 12px 0 6px; }
.contact__card .sub { color: var(--muted); margin-bottom: 30px; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.info-block { margin-bottom: 30px; }
.info-block h5 { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; }
.info-block a, .info-block p { font-family: var(--f-display); font-size: 26px; color: var(--cream); transition: color .3s; }
.info-block a:hover { color: var(--rose); }
.info-block .small { font-family: var(--f-sans); font-size: 14px; color: var(--muted); }
.contact__aside .map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/11; border: 1px solid var(--line); position: relative; background: linear-gradient(135deg, var(--ink-3), var(--wine)); display: grid; place-items: center; }
.contact__aside .map .pin-c { text-align: center; }
.contact__aside .map .pin-c .dot { width: 16px; height: 16px; background: var(--rose); border-radius: 50%; margin: 0 auto 12px; box-shadow: 0 0 0 8px rgba(224,122,159,.2), 0 0 0 18px rgba(224,122,159,.1); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(224,122,159,.4),0 0 0 0 rgba(224,122,159,.2);} 100%{ box-shadow:0 0 0 16px rgba(224,122,159,0),0 0 0 34px rgba(224,122,159,0);} }
.contact__aside .map h4 { font-family: var(--f-display); font-size: 26px; }
.contact__aside .map p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* CTA band */
.ctaband { background: linear-gradient(120deg, var(--wine), var(--ink)); text-align: center; }
.ctaband h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 7vw, 92px); line-height: .98; }
.ctaband h2 .script { font-family: var(--f-script); color: var(--rose); font-weight: 400; }
.ctaband p { color: var(--muted); max-width: 50ch; margin: 22px auto 36px; font-size: 17px; }
.ctaband__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__art { height: 52vh; min-height: 380px; order: -1; }
  .col-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 3; }
  .flavor-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .about__grid, .howto__inner, .contact__grid { grid-template-columns: 1fr; }
  .about__art { max-width: 420px; }
  .howto__art { order: -1; }
  .masonry { columns: 2; }
  .form-grid2 { grid-template-columns: 1fr; }
  .hero__meta { gap: 20px; }
}
@media (max-width: 540px) {
  .col-grid, .menu-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .flavor-card { grid-template-columns: 90px 1fr; }
  .flavor-card__img { width: 90px; height: 90px; }
  .hero__badge { display: none; }
}
