/* Miss Morgan Mac Bakeshop — shared styles. White, pink polka dots, hot pink + pastel pink. Never purple. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white:  #ffffff;
  --ink:    #2f2a2b;
  --muted:  #6f6567;
  --hot:    #e0457b;
  --hot-dk: #c42c62;
  --blush:  #f9d9e3;
  --blush-lt: #fdf1f5;
  --line:   #efc6d4;
  --dot:    #fbe3ea;
  --script: 'Dancing Script', cursive;
  --head:   'Playfair Display', Georgia, serif;
  --body:   'Nunito', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
body {
  font-family: var(--body); color: var(--ink); line-height: 1.7; overflow-x: hidden;
  background-color: var(--white);
  background-image: radial-gradient(var(--dot) 3.5px, transparent 4px), radial-gradient(var(--dot) 3.5px, transparent 4px);
  background-size: 44px 44px; background-position: 0 0, 22px 22px;
}
img { max-width: 100%; display: block; }
a { color: var(--hot-dk); }
a:hover { color: var(--hot); }

/* Header */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; }
.logo { text-decoration: none; color: var(--ink); line-height: 1; white-space: nowrap; }
.logo b { display: block; font-family: var(--script); font-size: 27px; font-weight: 700; color: var(--hot-dk); }
.logo small { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 4px; color: var(--muted); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; }
.nav-links a { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--hot-dk); border-color: var(--hot); }
.nav-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-btn svg { width: 22px; height: 22px; margin: auto; }

/* Shared blocks */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; } /* one width for the whole site: header, hero and every section line up */
.section { padding: 72px 0; }
.eyebrow { font-family: var(--script); font-size: 26px; color: var(--hot); line-height: 1.2; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(34px, 5.5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
h3 { font-size: 22px; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 6px 24px rgba(196,44,98,0.06); }

.btn { display: inline-block; font-family: var(--body); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; text-align: center;
  padding: 15px 30px; border-radius: 40px; border: 2px solid var(--hot-dk); background: var(--hot-dk); color: #fff; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--hot); border-color: var(--hot); color: #fff; }
.btn-soft { background: var(--white); color: var(--hot-dk); }
.btn-soft:hover { background: var(--blush); border-color: var(--hot-dk); color: var(--hot-dk); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .btns, .page-hero .btns { justify-content: center; }

/* Photo slots: swap for <img> once Morgan's photos are in Images/ */
.ph { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  aspect-ratio: 4 / 5; border-radius: 18px; color: var(--hot-dk); font-family: var(--script); font-size: 22px;
  background: repeating-linear-gradient(45deg, var(--blush-lt) 0 14px, var(--blush) 14px 28px); border: 1px solid var(--line); }
.ph.wide { aspect-ratio: 4 / 3; }
.ph.square { aspect-ratio: 1; }
.photo { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Page hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin: 6px 0 18px; }
.page-hero { text-align: center; padding: 64px 0 40px; }
.page-hero h1 { margin: 4px 0 16px; }
.page-hero .lead { margin: 0 auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(196,44,98,0.12); color: var(--ink); }
.card .ph, .card .photo { border-radius: 0; border: 0; aspect-ratio: 4 / 3; }
.card-body { padding: 22px 24px 26px; }
.card-body p { color: var(--muted); font-size: 15px; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hot-dk); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ribbon { background: var(--blush-lt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blush); color: var(--hot-dk); font-family: var(--head); font-weight: 700; font-size: 19px; margin-bottom: 14px; }
.steps strong { display: block; font-size: 17px; margin-bottom: 4px; }
.steps span { font-size: 14px; color: var(--muted); }

/* Price menu */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.menu-box { padding: 30px 30px 26px; }
.menu-box h3 { font-family: var(--script); font-size: 32px; color: var(--hot-dk); font-weight: 700; margin-bottom: 12px; }
.menu-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.menu-row:last-child { border: 0; }
.menu-row em { font-style: normal; color: var(--muted); font-size: 13px; display: block; }
.menu-row b { white-space: nowrap; color: var(--hot-dk); }

.note-box { background: var(--blush-lt); border: 1px dashed var(--hot); border-radius: 16px; padding: 18px 22px; font-size: 15px; color: var(--ink); }
details.terms { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
details.terms summary { cursor: pointer; font-weight: 800; padding: 14px 0; color: var(--hot-dk); }
details.terms ul { padding: 0 0 18px 20px; font-size: 14px; color: var(--muted); }
details.terms li { margin-bottom: 6px; }
details.faq { margin-top: 10px; }
details.faq p { padding: 0 0 16px; margin: 0; font-size: 15px; color: var(--muted); }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.insta-grid a { display: block; text-decoration: none; }
.insta-grid .ph { aspect-ratio: 1; font-size: 18px; }
.insta-handle { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.insta-handle svg { width: 26px; height: 26px; }

/* ---------- Forms (press & hold, after Lori Webb Designs) ---------- */
.f-wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.f-card { padding: 40px; }
.f-section { font-family: var(--script); font-size: 28px; font-weight: 700; color: var(--hot-dk); margin: 34px 0 12px; line-height: 1.2; }
.f-section:first-child { margin-top: 0; }
.f-optional { font-family: var(--body); font-size: 13px; font-weight: 400; color: var(--muted); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-full { grid-column: 1 / -1; }
.f-field { margin-bottom: 16px; }
.f-grid .f-field { margin-bottom: 0; }
.f-field > label, .f-label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.req { color: var(--hot-dk); }
.f-field input:not([type=checkbox]):not([type=radio]):not([type=file]), .f-field select, .f-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.f-field textarea { min-height: 110px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--hot); box-shadow: 0 0 0 3px rgba(224,69,123,0.15); }
.f-hint { font-size: 13px; color: var(--muted); margin: -2px 0 8px; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 9px 16px; transition: border-color 0.2s, background 0.2s; }
.chips input { accent-color: var(--hot-dk); width: 16px; height: 16px; }
.chips label:has(input:checked) { border-color: var(--hot); background: var(--blush-lt); font-weight: 700; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tiles.t3 { grid-template-columns: repeat(3, 1fr); }
.tiles.t2 { grid-template-columns: 1fr 1fr; }
.tiles label { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; cursor: pointer; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 10px 13px; font-size: 13px; line-height: 1.35; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.tiles label:hover { border-color: var(--hot); transform: translateY(-2px); }
.tiles input { position: absolute; opacity: 0; pointer-events: none; }
.tiles strong { font-family: var(--head); font-size: 16px; font-weight: 600; }
.tiles small { font-size: 12px; color: var(--muted); }
.tiles label:has(input:checked) { border: 2px solid var(--hot); background: var(--blush-lt); padding: 14px 9px 12px; }
.tiles label:has(input:focus-visible), .chips label:has(input:focus-visible) { outline: 2px solid var(--hot-dk); outline-offset: 2px; }
.tiles.left label { text-align: left; align-items: flex-start; padding: 14px 16px; }
.tiles.left label:has(input:checked) { padding: 13px 15px; }
/* big photo cards (Holiday form): picture on top, title, small description */
.tiles.pics label { justify-content: flex-start; gap: 6px; padding: 0 0 16px; overflow: hidden; }
.tiles.pics label:has(input:checked) { padding: 0 0 15px; }
.tiles.pics img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 8px; }
.tiles.pics strong { font-size: 18px; padding: 0 14px; }
.tiles.pics small { font-size: 13px; padding: 0 16px; }
.cards.c2 { grid-template-columns: 1fr 1fr; max-width: 860px; margin: 0 auto; }
/* upcoming classes (Group Lessons) */
.classes { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 14px; }
.classes li { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.class-date { flex: none; width: 62px; text-align: center; font-family: var(--head); font-size: 26px; font-weight: 700; line-height: 1; color: var(--hot-dk); }
.class-date b { display: block; font-family: var(--body, inherit); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hot); margin-bottom: 4px; }
.class-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.class-info strong { font-family: var(--head); font-size: 19px; font-weight: 600; }
.class-info small { color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .classes li { flex-wrap: wrap; } .classes .btn { width: 100%; text-align: center; } }

.cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 560px; }
.cal label { position: relative; display: flex; flex-direction: column; cursor: pointer; aspect-ratio: 1 / 1.08; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s, transform 0.15s; }
.cal input { position: absolute; opacity: 0; pointer-events: none; }
.cal-top { position: relative; height: 30%; background: var(--blush); border-radius: 11px 11px 0 0;
  background-image: radial-gradient(circle at 27% 62%, #fff 2.5px, transparent 3px), radial-gradient(circle at 73% 62%, #fff 2.5px, transparent 3px); }
.cal-top::before, .cal-top::after { content: ''; position: absolute; top: -7px; width: 4px; height: 13px; border-radius: 2px; background: var(--ink); }
.cal-top::before { left: calc(27% - 2px); }
.cal-top::after { left: calc(73% - 2px); }
.cal-day { flex: 1; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: clamp(14px, 3.6vw, 19px); letter-spacing: 0.04em; }
.cal label:hover { border-color: var(--hot); transform: translateY(-2px); }
.cal label:has(input:checked) { border: 2px solid var(--hot); background: var(--blush-lt); }
.cal label:has(input:checked) .cal-top { background-color: var(--hot); }
.cal label:has(input:focus-visible) { outline: 2px solid var(--hot-dk); outline-offset: 3px; }

.drop { display: block; text-align: center; cursor: pointer; padding: 26px 18px; border: 1.5px dashed var(--hot); border-radius: 16px; background: var(--blush-lt); transition: background 0.2s; }
.drop:hover, .drop.over { background: var(--blush); }
.drop strong { display: block; font-size: 15px; margin-bottom: 4px; }
.drop span { display: block; font-size: 13px; color: var(--muted); }
.drop input { display: none; }
.files { list-style: none; margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.files li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; font-size: 12px; }
.files img, .files .doc { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.files .doc { display: flex; align-items: center; justify-content: center; background: var(--blush-lt); color: var(--hot-dk); font-weight: 800; }
.files .fname { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; }
.files .bad { display: block; color: #b0413e; }
.files button { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }

.f-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.f-agree input { accent-color: var(--hot-dk); width: 20px; height: 20px; margin-top: 2px; flex: none; }

.hold { position: relative; overflow: hidden; display: block; width: 100%; margin-top: 30px; padding: 17px 24px; border: 0; border-radius: 40px; cursor: pointer;
  font-family: var(--body); font-size: 15px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; background: var(--hot-dk); color: #fff;
  -webkit-user-select: none; user-select: none; touch-action: none; -webkit-touch-callout: none; }
.hold-fill { position: absolute; inset: 0; background: var(--hot); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hold.holding .hold-fill { transform: scaleX(1); transition: transform 2s linear; }
.hold.sending .hold-fill { transform: scaleX(1); animation: pulse 1s ease-in-out infinite; }
.hold-text { position: relative; transition: opacity 0.2s; }
.hold-check { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.hold.sent { background: var(--hot); cursor: default; animation: pop 0.45s ease-out; }
.hold.sent .hold-fill { transform: scaleX(1); }
.hold.sent .hold-text { opacity: 0; }
.hold.sent .hold-check { animation: draw 0.5s 0.15s ease-out forwards; }
.hold-hint { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.f-error { display: none; margin-top: 14px; font-size: 14px; color: #b0413e; text-align: center; }
.f-done { display: none; text-align: center; padding: 28px 8px; }
.f-done p { color: var(--muted); max-width: 520px; margin: 10px auto 0; }
.f-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 18px; }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(47,42,43,0.45); animation: fade 0.25s ease-out; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 22px; padding: 36px 28px 28px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(47,42,43,0.3); animation: rise 0.35s ease-out; }
.modal-card h2 { margin: 16px 0 10px; }
.modal-card p { color: var(--muted); }
.modal-card .btn { margin-top: 22px; width: 100%; }
.modal-check { width: 76px; height: 76px; margin: 0 auto; fill: none; stroke: var(--hot); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.modal-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.6s ease-out forwards; }
.modal-check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 0.4s 0.5s ease-out forwards; }
.reveal:not([hidden]) { animation: rise 0.3s ease-out; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 40% { transform: scale(1.04); } }
@keyframes pulse { 50% { opacity: 0.75; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hold.holding .hold-fill { transition-duration: 0.01s; }
  .hold.sent, .modal, .modal-card, .hold.sending .hold-fill, .reveal:not([hidden]) { animation: none; }
  .hold.sent .hold-check, .modal-check circle, .modal-check path { animation: none; stroke-dashoffset: 0; }
}

/* Footer */
.foot-credit { margin-top: 6px; font-size: 11px; color: var(--muted); opacity: 0.8; }
.foot-credit a { color: inherit; }
.foot { margin-top: 80px; background: var(--blush-lt); border-top: 1px solid var(--line); padding: 44px 24px 34px; text-align: center; font-size: 14px; color: var(--muted); }
.foot .logo { display: inline-block; margin-bottom: 14px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 10px 0 18px; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 700; }
.foot-links a:hover { color: var(--hot-dk); }

@media (max-width: 1100px) {
  .nav-btn { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--blush); }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 40px; }
  .hero-grid, .split, .menu { grid-template-columns: 1fr; gap: 28px; }
  .cards, .cards.c2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .f-wrap { padding: 0 12px; }
  .f-card { padding: 26px 18px; }
  .f-grid { grid-template-columns: 1fr; }
  .tiles, .tiles.t3 { grid-template-columns: 1fr 1fr; }
  .cal { grid-template-columns: repeat(3, 1fr); }
  .menu-box { padding: 24px 20px 20px; }
}

/* ---------- Gallery ---------- */
.g-filters { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 26px; }
.g-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.g-row-label { width: 100%; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.g-chip { font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.g-chip:hover { border-color: var(--hot); }
.g-chip[aria-pressed="true"] { background: var(--hot-dk); border-color: var(--hot-dk); color: #fff; }
.g-chip:focus-visible { outline: 2px solid var(--hot-dk); outline-offset: 2px; }
.g-type .g-chip[aria-pressed="true"] { background: var(--blush); border-color: var(--hot); color: var(--hot-dk); }
.g-count { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; min-height: 1.4em; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.g-tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--blush-lt); font: inherit; text-align: left; color: var(--ink); }
button.g-tile { cursor: zoom-in; }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
button.g-tile:hover img, button.g-tile:focus-visible img { transform: scale(1.04); }
button.g-tile:focus-visible { outline: 3px solid var(--hot-dk); outline-offset: 3px; }
.g-ph { background: repeating-linear-gradient(45deg, var(--blush-lt) 0 14px, var(--blush) 14px 28px); }
.g-ph-label { position: absolute; inset: 0 0 64px; display: flex; align-items: center; justify-content: center; font-family: var(--script); font-size: 22px; color: var(--hot-dk); }
.g-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,0.94); border-radius: 12px; padding: 9px 12px; }
.g-cap strong { display: block; font-size: 15px; line-height: 1.3; }
.g-cap small { display: block; font-size: 12px; color: var(--muted); }
.g-empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px; background: rgba(47,42,43,0.88); animation: fade 0.2s ease-out; }
.lightbox[hidden] { display: none; }
.lb-fig { max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 14px; object-fit: contain; background: #fff; }
.lb-fig figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lb-title { display: block; font-family: var(--head); font-size: 20px; }
.lb-tags { display: block; font-size: 13px; opacity: 0.8; }
.lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,0.92); color: var(--ink); font-size: 26px; line-height: 1; }
.lightbox button:hover { background: #fff; color: var(--hot-dk); }
.lightbox button[hidden] { display: none; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .g-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g-cap { left: 6px; right: 6px; bottom: 6px; padding: 6px 8px; }
  .g-cap strong { font-size: 13px; }
  .g-ph-label { font-size: 17px; inset: 0 0 48px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}

/* ---------- Cookie price list (black polka dots, like Morgan's printed menu) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 22px; }
.price-card::before { content: ''; position: absolute; top: -18px; right: -18px; width: 58px; height: 58px; border-radius: 50%; background: #1d1a1b; }
.price-card h3 { font-family: var(--script); font-size: 30px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.price-card .price { font-family: var(--head); font-size: 30px; font-weight: 700; color: var(--hot-dk); margin-bottom: 12px; }
.price-card ul, .price-extras ul { list-style: none; }
.price-card li, .price-extras li { position: relative; padding: 5px 0 5px 20px; font-size: 14px; border-bottom: 1px dashed var(--line); }
.price-card li:last-child, .price-extras li:last-child { border: 0; }
.price-card li::before, .price-extras li::before { content: ''; position: absolute; left: 2px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); }
.price-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.price-extras > div { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 24px 18px; }
.price-extras > div::after { content: ''; position: absolute; bottom: -16px; left: -16px; width: 46px; height: 46px; border-radius: 50%; background: #1d1a1b; }
.price-extras h3 { font-family: var(--script); font-size: 28px; font-weight: 700; color: var(--hot-dk); margin-bottom: 8px; }
.chips small { color: var(--muted); font-size: 12px; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .price-grid, .price-extras { grid-template-columns: 1fr; } }

/* ---------- Home heading entrance (same feel as the DVC Sales splash: words rise in, a line grows, the accent fades in) ---------- */
.hero h1 .accent { color: var(--hot-dk); }
.accent-line { width: 120px; height: 3px; border-radius: 3px; background: var(--hot); margin: -4px 0 18px; }
.js .hero-anim .eyebrow, .js .hero-anim h1, .js .hero-anim .lead, .js .hero-anim .btns, .js .hero-anim .photo { opacity: 0; animation: mmmRise 0.8s ease forwards; }
.js .hero-anim .eyebrow { animation-delay: 0.15s; }
.js .hero-anim h1 { animation-delay: 0.35s; }
.js .hero-anim h1 .accent { color: rgba(196,44,98,0); animation: mmmAccent 0.8s ease 1.3s forwards; }
.js .hero-anim .accent-line { width: 0; animation: mmmLine 0.7s ease 0.95s forwards; }
.js .hero-anim .lead { animation-delay: 1.15s; }
.js .hero-anim .btns { animation-delay: 1.4s; }
.js .hero-anim .photo { animation: mmmPhoto 1s ease 0.25s forwards; }
.js [data-animate] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js [data-animate].visible { opacity: 1; transform: none; }
.js h2[data-animate] { transition-delay: 0.12s; }
@keyframes mmmRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mmmLine { from { width: 0; } to { width: 120px; } }
@keyframes mmmAccent { from { color: rgba(196,44,98,0); } to { color: var(--hot-dk); } }
@keyframes mmmPhoto { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-anim .eyebrow, .js .hero-anim h1, .js .hero-anim .lead, .js .hero-anim .btns, .js .hero-anim .photo, .js .hero-anim h1 .accent, .js .hero-anim .accent-line { animation: none; opacity: 1; }
  .js .hero-anim .accent-line { width: 120px; }
  .js .hero-anim h1 .accent { color: var(--hot-dk); }
  .js [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* Home hero: headline always on exactly two rows, sized to fit its column (Mark, Nov 5 2026) */
.hero-wide .h1-row { display: block; white-space: nowrap; }
.hero-wide h1 { font-size: clamp(22px, 7vw, 40px); }   /* phones: one column */
@media (min-width: 721px) {
  .hero-wide .hero-grid { grid-template-columns: 1.6fr 1fr; gap: 32px; }
  .hero-wide h1 { font-size: clamp(28px, 3.6vw, 52px); }
}
.page-hero .accent-line { margin: -2px auto 18px; }

/* ---------- Home: 3D kitchen people can look around (no buttons) ---------- */
.k-home { position: relative; aspect-ratio: 16 / 9; min-height: 300px; margin-top: 24px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--blush-lt); }
/* Home kitchen: small buttons over the picture (Morgan 1-4, mixer), a vote under it */
.k-bar { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; padding: 5px; border-radius: 30px; background: rgba(255,255,255,0.85); box-shadow: 0 2px 10px rgba(196,44,98,0.12); }
.k-bar button { font: inherit; font-size: 12px; font-weight: 800; line-height: 1; cursor: pointer; min-width: 28px; height: 28px; padding: 0 9px; border-radius: 30px; border: 1.5px solid var(--hot); background: #fff; color: var(--hot-dk); transition: background 0.2s, color 0.2s; }
.k-bar button:hover, .k-bar button[aria-pressed="true"] { background: var(--hot); color: #fff; }
.k-home:not(.ready) .k-bar { display: none; }
.k-home.has-bar .k-tip { bottom: auto; top: 12px; }
@media (pointer: coarse) { .k-bar button { min-width: 36px; height: 36px; font-size: 13px; } }
.k-pick { margin-top: 14px; }
.k-vote { font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; padding: 9px 18px; border-radius: 30px; border: 2px solid var(--hot); background: var(--hot); color: #fff; transition: background 0.2s; }
.k-vote:hover { background: var(--hot-dk); border-color: var(--hot-dk); }
.k-vote:disabled { cursor: default; background: #fff; color: var(--hot-dk); }
.k-pick-note { min-height: 1.4em; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.k-credit { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.k-home .k-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k-home canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: pointer; }
.k-home.active canvas { cursor: grab; }
.k-home.active canvas:active { cursor: grabbing; }
.k-tip { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; pointer-events: none; margin: 0; white-space: nowrap;
  font-size: 13px; font-weight: 800; color: var(--ink); background: rgba(255,255,255,0.92); border: 1px solid var(--line); border-radius: 30px; padding: 7px 16px; transition: opacity 0.3s; }
.k-tip-on, .k-home.active .k-tip-idle, .k-home:not(.ready) .k-tip { opacity: 0; }
.k-home.active .k-tip-on { opacity: 1; }
.k-touch { display: none; }
@media (hover: none) { .k-touch { display: inline; } .k-mouse { display: none; } }
@media (max-width: 720px) { .k-home { aspect-ratio: 4 / 3; min-height: 0; } .k-tip { font-size: 12px; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 24px); } }
