/* ============================================================
   CLIENT: Momo's Café. Overrides + page-specific pieces.
   Loaded after base.css so kit fixes can still be copied forward.
   ============================================================ */

/* Type: Fraunces wants weight + the SOFT axis to read like a diner sign */
h1, h2, h3 { font-weight: 800; font-variation-settings: "SOFT" 100; text-wrap: balance; }
.hero h1 .accent, .m-social h2, .pull { font-style: italic; font-weight: 700; }

/* ---------- Header: cream, like the logo's roundel ---------- */
.site-header { background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--text); border-bottom: 1px solid var(--line); }
.brand-name { color: var(--ink); font-weight: 800; font-variation-settings: "SOFT" 100; }
.brand-name em { color: var(--accent-2); font-style: italic; font-weight: 700; }
.brand-sub { color: var(--muted); }
.brand-logo { height: 54px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-2); border-bottom-color: var(--accent-2); }
.menu-toggle { color: var(--ink); }
.site-footer .brand-name { color: var(--on-dark); }
.site-footer .brand-name em { color: #ea4a3f; }
.foot-brand .brand-logo { width: 88px; height: 88px; padding: 8px; border-radius: 50%; background: var(--surface); }
.nav .btn { white-space: nowrap; }
@media (max-width: 1060px) and (min-width: 821px) { .nav { gap: 20px; } .site-header .brand-sub { display: none; } }
@media (max-width: 940px) and (min-width: 821px) { .nav { gap: 15px; } .nav a { letter-spacing: .1em; } .nav .btn { padding: 11px 14px; } }
@media (max-width: 820px) {
  .nav { background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav a, .nav a[aria-current="page"] { border-bottom-color: var(--line); }
}
@media (max-width: 440px) { .brand-logo { height: 44px; } .brand.has-logo { gap: 10px; } }

/* ---------- On-dark highlights: logo's light teal instead of red (contrast) ---------- */
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--hi); }
.visit-info .phone { color: var(--on-dark); }
.hours tr.today td { color: var(--hi); }
.hours tr.today td:first-child::after { background: var(--hi); color: var(--ink); }
.site-footer h4 { color: var(--hi); }
.site-footer a:hover, .hero-meta a:hover { color: var(--hi); }
.btn-ghost:hover { border-color: var(--hi); color: var(--hi); }
.btn-outline:hover { color: var(--on-dark); }
.chip.active { color: var(--on-dark); }
.page-hero::after { background: radial-gradient(circle, color-mix(in srgb, var(--teal) 40%, transparent), transparent 65%); }

/* ---------- Hero ---------- */
.m-hero {
  background:
    radial-gradient(ellipse 55% 70% at 85% 45%, color-mix(in srgb, var(--teal) 30%, transparent), transparent 70%),
    radial-gradient(ellipse 45% 55% at 0% 110%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    var(--ink);
}
.m-hero .wrap { grid-template-columns: 1.05fr .95fr; padding: 80px 0 100px; }
.hero h1 { font-size: clamp(52px, 7.6vw, 108px); line-height: .98; }
.hero h1 .accent { color: #ea4a3f; } /* logo red lifted for large text on near-black (4.6:1) */

/* Hero art: layout only. Entrance, carousel, parallax, swash and steam come from base.css (.hero-enter, [data-showcase], .depth, .steam). */
.m-hero { --swash: var(--hi); --tag-accent: var(--hi); }
.m-hero-art { position: relative; justify-self: end; width: min(100%, 470px); aspect-ratio: 4 / 4.6; margin-bottom: 36px; }
.m-layer { position: absolute; inset: 0; pointer-events: none; }
.m-layer > * { pointer-events: auto; }
.m-disc { position: absolute; left: 4%; top: 6%; width: 86%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--hi) 30%, transparent), color-mix(in srgb, var(--teal) 14%, transparent) 60%, transparent 71%);
  animation: discIn 1.4s .1s var(--ease) both; }
.m-shot { margin: 0; position: absolute; overflow: hidden; border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.m-shot img { width: 100%; height: 100%; object-fit: cover; }
.m-shot-main { right: 0; top: 0; width: 80%; aspect-ratio: 4 / 5; background: var(--ink-3); animation: plateIn 1s .3s var(--ease) both; }
.m-shot-side { left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 7px solid var(--surface); rotate: -5deg; animation: sideIn 1s .65s var(--ease) both; }
.m-steam { right: 22%; top: -58px; }
.m-dots { position: absolute; right: 0; bottom: -34px; width: 80%; margin: 0; color: var(--on-dark); }
.m-seal { position: absolute; right: -22px; bottom: 6%; width: 124px; height: 124px; border-radius: 50%; background: var(--surface); padding: 6px; rotate: 9deg;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45); transition: rotate 1s var(--ease); animation: stampIn .7s 1.1s cubic-bezier(.3, 1.6, .5, 1) both; }
.m-seal:hover { rotate: 369deg; }
@keyframes plateIn { from { opacity: 0; transform: translateY(50px) scale(.94); } }
@keyframes sideIn { from { opacity: 0; transform: translate(-30px, 60px) rotate(-12deg); } }
@keyframes discIn { from { opacity: 0; transform: scale(.6); } }
@media (max-width: 900px) {
  .m-hero .wrap { grid-template-columns: 1fr; gap: 56px; padding: 52px 0 80px; }
  .m-hero-art { justify-self: center; width: min(100% - 16px, 360px); }
  .m-seal { right: -6px; width: 104px; height: 104px; }
  .m-steam { top: -48px; }
}

/* ---------- Ticker ---------- */
.ticker { border-block: 0; }
.ticker span { font-style: italic; font-weight: 600; }
.ticker span::after { color: color-mix(in srgb, var(--on-accent) 55%, transparent); }

/* ---------- Favorites ---------- */
.m-cards .card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.m-cards .card:hover { transform: none; box-shadow: none; }
.m-cards .card > img { aspect-ratio: 4 / 5; border-radius: var(--radius); transition: transform .5s ease, box-shadow .5s ease; }
.m-cards .card:hover > img { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(0, 0, 0, .16); }
.m-cards .card-body { padding: 18px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; }
.m-cards .card h3 { font-size: 24px; margin: 0; }
.m-cards .card .price { font: 400 20px var(--display); color: var(--accent-2); grid-row: 1; grid-column: 2; }
.m-cards .card p { grid-column: 1 / -1; margin: 8px 0 0; font-size: 14.5px; }

/* ---------- Story ---------- */
.m-family { margin: 72px 0 0; aspect-ratio: 2 / 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .16); }
.m-family img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 700px) { .m-family { aspect-ratio: 4 / 3; margin-top: 48px; } }
.timeline b { font-weight: 700; font-style: italic; color: var(--accent-2); }
.timeline li { padding-bottom: 30px; }

/* ---------- Merch (home band + merch page) ---------- */
.m-merch .product-img, .merch-page .product-img { background: var(--bone); }
.m-merch-head { display: flex; justify-content: space-between; align-items: end; gap: 30px 60px; flex-wrap: wrap; margin-bottom: 44px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.m-merch-head h2 { font-size: clamp(44px, 6vw, 76px); }
.m-merch-head p { color: var(--muted); max-width: 34ch; margin: 0 0 10px; }
.m-link { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.m-link:hover { color: var(--accent-2); }

/* ---------- Social ---------- */
.m-social { background: var(--ink); }
.m-social-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.m-social h2 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; margin-bottom: 20px; }
.m-social h2 a { text-decoration: none; color: var(--on-dark); background: linear-gradient(var(--accent), var(--accent)) left 92% / 100% 4px no-repeat; }
.m-social h2 a:hover { color: var(--hi); }
.m-social p:not(.eyebrow) { color: var(--on-dark-muted); font-size: 18px; max-width: 34ch; }
.m-social .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.m-social-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.m-social-tiles > * { aspect-ratio: 4 / 5; min-height: 0; }
.m-social-tiles > :nth-child(2) { translate: 0 28px; }
.m-tile { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); box-shadow: 0 20px 44px rgba(0, 0, 0, .45); }
.m-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.m-tile:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .m-social-grid { grid-template-columns: 1fr; gap: 44px; } .m-social-tiles > :nth-child(2) { translate: none; } }
@media (max-width: 540px) { .m-social-tiles { grid-template-columns: 1fr 1fr; } .m-social-tiles > :nth-child(3) { display: none; } }

/* ---------- Catering band (red) ---------- */
.cta-band .eyebrow { color: var(--on-accent); }
.cta-band p:not(.eyebrow) { color: color-mix(in srgb, var(--on-accent) 85%, transparent); margin: 12px 0 0; font-size: 18px; }
.cta-band .btn-outline { border-color: var(--on-accent); color: var(--on-accent); }
.cta-band .btn-outline:hover { background: var(--on-accent); color: var(--accent-2); }
.cta-band h2 { max-width: none; }

/* ---------- Visit ---------- */
.m-visit-notes { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; color: var(--on-dark-muted); font-size: 15.5px; }
.m-visit-notes li::before { content: "✦"; color: var(--hi); font-size: 11px; margin-right: 10px; vertical-align: 2px; }
.m-visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.menu-note-online { font-size: 14px; color: var(--muted); }

/* Merch page */
.merch-page { padding: 72px 0 110px; }
.merch-group + .merch-group { margin-top: 90px; }
.merch-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 30px; }
.merch-group-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.merch-group-head span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.m-spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.m-spotlight .product-img { aspect-ratio: 1; }
.m-spotlight .product-meta { display: none; }
.m-spotlight h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 16px; }
.m-spotlight p { color: var(--muted); font-size: 18px; max-width: 36ch; }
.m-spotlight .price-big { font: italic 700 34px var(--display); color: var(--accent-2); margin: 10px 0 26px; display: block; }
@media (max-width: 860px) { .m-spotlight { grid-template-columns: 1fr; gap: 32px; } }

/* Catering page */
.cater-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cater-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; }
.cater-card h3 { font-size: 32px; margin-bottom: 6px; }
.cater-card > p { color: var(--muted); margin-bottom: 20px; }
.cater-card dl { margin: 0; display: grid; gap: 16px; }
.cater-card dt { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.cater-card dd { margin: 4px 0 0; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: "0" counter(s); font: italic 700 30px var(--display); color: var(--accent-2); display: block; margin-bottom: 8px; }
.steps b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.events { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.events span { border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 14.5px; background: #fff; }
@media (max-width: 900px) { .cater-grid { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .cater-card { padding: 28px 22px; } }
