/* THE 2026-10-27 REDESIGN - Sweater's approved homepage mockup, 1:1: a cream page, a rounded cream clay card holding the
   nav (pastel clay logo, clay pills, orange Order Now) and the pastel claymation market town; everything below in the same
   soft clay family. Loaded after styles.css: it re-points the old theme's variables and restyles on top. */
:root, html[data-theme="light"], html[data-theme="dark"] {
  --bg: #f6eeeb;
  --bg-tint: #f1e6e1;
  --card: #fffaf6;
  --ink: #5b4a52;
  --muted: #8a7880;
  --accent: #e38967;
  --accent-deep: #c96c4b;
  --accent-soft: #fbe3d8;
  --blue: #9cbfd8;
  --blue-deep: #7aa3c2;
  --blue-soft: #e6f0f7;
  --line: #eadcd6;
  --radius: 26px;
  --shadow: 0 10px 28px rgba(140, 100, 90, 0.16), inset 0 2px 0 rgba(255, 255, 255, 0.7);
  --shadow-lift: 0 16px 36px rgba(140, 100, 90, 0.24);
  --clay-lilac: #c3b0e2;
  --clay-pink: #f2b6c4;
  --clay-mint: #b9dccb;
  --clay-sky: #b7d4e6;
  --clay-butter: #f5dc9a;
  --clay-sage: #d3ddc6;
}
html, body { background: var(--bg); color: var(--ink); }
body { font-family: "Nunito", system-ui, sans-serif; font-style: normal; font-weight: 700; }
.section-title, h1, h2, h3 { font-family: "Fredoka", "Nunito", system-ui, sans-serif; font-style: normal; text-transform: none; letter-spacing: 0; color: #8f78b8; }
.section-sub { color: var(--muted); font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── the card ── */
.frame { max-width: 1240px; margin: 22px auto 10px; padding: 0 16px; }
.cnav, .chero { background: #f4ece9; }
.cnav {
  display: flex; align-items: center; gap: 18px; padding: 16px 26px;
  border-radius: 28px 28px 0 0; box-shadow: 0 -2px 0 rgba(255,255,255,.9) inset, 0 12px 30px rgba(140,100,90,.14);
  position: relative; z-index: 2;
}
.chero { border-radius: 0 0 28px 28px; overflow: hidden; line-height: 0; box-shadow: 0 18px 40px rgba(140, 100, 90, 0.2); }
.chero img { width: 100%; height: auto; display: block; }

/* the logo: soft pastel clay letters, each word its own colour, a little raised */
.clogo { font-family: "Fredoka", system-ui, sans-serif; font-weight: 700; font-size: clamp(20px, 2.4vw, 31px); text-decoration: none; white-space: nowrap; letter-spacing: -.01em;
  text-shadow: 0 2px 0 rgba(255,255,255,.95), 0 4px 5px rgba(120, 90, 140, .3); }
.clogo { color: #b7a0dc; -webkit-text-stroke: 1px #9a83c4; }   /* (the mock's logo: one soft lilac clay, outlined a shade darker) */
.clogo .l4 { font-size: .8em; }

/* clay pills: rounded, a top highlight and a soft drop, pressed when tapped */
.cpills { display: flex; gap: 14px; margin: 0 auto; }
.cpill {
  font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; font-size: 17px; color: #fff; text-decoration: none;
  padding: 7px 20px; border-radius: 999px; white-space: nowrap;
  box-shadow: inset 0 3px 2px rgba(255,255,255,.55), inset 0 -3px 3px rgba(0,0,0,.08), 0 4px 8px rgba(120,90,100,.22);
  text-shadow: 0 1px 1px rgba(80, 60, 80, .35); transition: transform .12s ease, box-shadow .12s ease;
}
.cpill:hover { transform: translateY(-2px); }
.cpill:active { transform: translateY(1px) scale(.97); box-shadow: inset 0 2px 3px rgba(0,0,0,.12), 0 2px 4px rgba(120,90,100,.2); }
.p-blue { background: #a9c6d8; } .p-lilac { background: #b9a4dc; } .p-sky { background: #a8c7d6; } .p-sage { background: #c4d1b6; } .p-mint { background: #b5d6c2; }
.corder {
  font-family: "Fredoka", system-ui, sans-serif; font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; white-space: nowrap;
  padding: 10px 30px; border-radius: 999px; background: linear-gradient(#f0a07e, #e38967);
  box-shadow: inset 0 3px 2px rgba(255,255,255,.45), inset 0 -4px 4px rgba(150,60,30,.18), 0 6px 12px rgba(200,110,80,.35);
  text-shadow: 0 2px 2px rgba(150, 60, 30, .35); transition: transform .12s ease;
}
.corder:hover { transform: translateY(-2px); }
.corder:active { transform: translateY(1px) scale(.97); }

/* ── everything below, in the same clay family ── */
main { max-width: 1240px; margin: 0 auto; }
.section-tint { background: transparent; }
.hcarousel > *, .reels > *, .gallery > * { border-radius: 22px; }
.legal-footer { color: var(--muted); }
.csection { padding-top: 36px; padding-bottom: 36px; }
.about-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: var(--card); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); }
.about-face { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 18px rgba(140,100,90,.25), 0 0 0 8px #f7e6dc; }
.about-card p { margin: 8px 0; line-height: 1.55; font-weight: 600; }
.about-tag { font-family: "Fredoka", sans-serif; font-size: 20px; color: #e38967; }
.about-bio { color: var(--muted); }
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.loc-card { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 20px 12px; border-radius: 24px; background: var(--card);
  box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .12s ease; }
a.loc-card:hover { transform: translateY(-3px); }
.loc-card b { font-family: "Fredoka", sans-serif; font-size: 19px; color: #8f78b8; }
.loc-card span:last-child { color: var(--muted); font-size: 15px; }
.loc-ic { font-size: 30px; }
.cpill-bottom { display: table; margin: 30px auto 0; padding: 10px 26px; border-radius: 999px; background: #f7ece6; color: #b07a86;
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 18px; box-shadow: var(--shadow); }
#contact .hero-social { justify-content: center; }

/* ── phones: logo + Order Now on top, the pills scroll in a row under them ── */
@media (max-width: 860px) {
  .cnav { flex-wrap: wrap; padding: 14px 16px; gap: 10px; }
  .clogo { order: 1; }
  .corder { order: 2; margin-left: auto; font-size: 17px; padding: 8px 18px; }
  .cpills { order: 3; width: 100%; overflow-x: auto; margin: 0; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .cpills::-webkit-scrollbar { display: none; }
  .cpill { font-size: 15px; padding: 6px 15px; }
  .frame { margin-top: 10px; padding: 0 10px; }
  .about-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .about-face { width: 170px; height: 170px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cpill, .corder, .loc-card { transition: none; } }
/* (the old site's condensed italic is everywhere in styles.css: the new body type takes over inside main and the footer) */
main *:not(svg):not(text):not(.section-title):not(.loc-card b):not(.about-tag):not(.cpill-bottom), .legal-footer, .toast { font-family: "Nunito", system-ui, sans-serif; font-style: normal; }
.about-card .section-title { text-align: left; margin: 0 0 4px; }
@media (max-width: 860px) { .about-card .section-title { text-align: center; } }

/* Luka Goodies + the Loaf Letter: placeholders until the real things exist (Sweater, 2026-10-27) */
.goodie-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.goodie { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; padding: 22px 14px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.goodie b { font-family: "Fredoka", sans-serif; font-size: 18px; color: #8f78b8; }
.goodie span:not(.g-ic) { color: var(--muted); font-size: 14px; }
.goodie em { margin-top: 6px; font-style: normal; font-family: "Fredoka", sans-serif; font-size: 14px; color: #fff; background: #c9b6e6; padding: 4px 12px; border-radius: 999px; }
.g-ic { font-size: 32px; }
.letter-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card); border-radius: 30px; padding: 28px 22px; box-shadow: var(--shadow); }
.letter-card p { margin: 8px 0; font-weight: 600; }
.letter-form { display: flex; gap: 10px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.letter-form input { flex: 1 1 220px; max-width: 340px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 600 16px "Nunito", sans-serif; color: var(--ink); opacity: .7; }
.letter-form button { padding: 12px 26px; border-radius: 999px; border: 0; background: #e8b9a6; color: #fff; font: 700 17px "Fredoka", sans-serif; opacity: .7; cursor: not-allowed; }
.letter-soon { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .goodie-grid { grid-template-columns: repeat(2, 1fr); } .goodie:last-child { grid-column: 1 / -1; } }

/* LUKA'S TOWN, ALIVE (luka-live.js): the living hero sits exactly over the still picture and fades in once it has a frame */
.chero { position: relative; }
.live { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; touch-action: pan-y; }
.live.on { opacity: 1; }
.live.gone { opacity: 0; }
.live canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live-fx { pointer-events: none; }
.live-hint { position: absolute; left: 50%; bottom: 7%; transform: translate(-50%, 10px); opacity: 0; transition: opacity .6s ease, transform .6s ease;
  background: rgba(255, 250, 246, .94); color: #8f78b8; font: 600 15px/1.2 "Fredoka", "Nunito", system-ui, sans-serif; padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(140, 100, 90, .25); pointer-events: none; white-space: nowrap; z-index: 3; }
.live-hint.on { opacity: 1; transform: translate(-50%, 0); }
