/* Shared base for redesigned pages (home, menu, contact, à propos, legal).
   Tokens, fonts, header and footer live in brand.css; page-specific rules in
   home.css / menu.css. Bar: .design/bar.md */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--riz); color: var(--nori);
  font: 400 17px/1.6 var(--sp-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.h-wrap { max-width: var(--sp-max); margin: 0 auto; padding: 0 28px; }
.h-disp {
  font-family: var(--sp-display); font-weight: 900; line-height: .98;
  letter-spacing: -.01em; margin: 0; text-wrap: balance;
}
.h-sec { padding: 88px 0; }
.h-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.h-head h2 { font-size: clamp(38px, 5vw, 60px); }
.h-head p { margin: 12px 0 0; font-size: 18px; text-wrap: pretty; }
.h-eyebrow {
  display: inline-block; align-self: flex-start; margin-bottom: 18px; padding: 6px 14px; border-radius: 50px;
  background: var(--nori); color: var(--riz); font: 700 13px/1.2 var(--sp-body);
  letter-spacing: .04em; text-transform: uppercase;
}
.m-crumbs { font-size: 14px; margin-bottom: 16px; }
.m-crumbs a { font-weight: 700; text-underline-offset: 3px; }
/* hours table + button row (contact, à propos) */
.c-hours { border-collapse: collapse; width: 100%; max-width: 420px; background: #fff; border-radius: 16px; }
.c-hours caption { text-align: left; font: 700 13px var(--sp-body); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 8px; }
.c-hours th, .c-hours td { padding: 12px 18px; text-align: left; font-weight: 400; border-bottom: 1px solid rgba(18, 51, 43, .12); }
.c-hours tr:last-child th, .c-hours tr:last-child td { border-bottom: 0; }
.c-hours td { text-align: right; font-weight: 700; }
.c-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.h-more { text-align: center; margin-top: 36px; }
.h-link {
  font-weight: 700; color: var(--nori); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 5px;
  display: inline-block; padding: 8px 0;
}
.h-link:hover { text-decoration-color: var(--saumon); }

/* ---- How to order, 3 steps (DoorDash « how it works » pattern) ------------ */
.h-steps { background: var(--nori); color: var(--riz); }
.h-steps .h-head h2 { color: var(--riz); }
.h-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.h-steps li {
  counter-increment: s; background: rgba(255, 246, 233, .07); border-radius: 16px; padding: 28px 24px 26px;
}
.h-steps li::before {
  content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 50%; background: var(--p-tamago); color: var(--nori); font: 900 24px var(--sp-display);
}
.h-steps h3 { margin: 0 0 8px; font: 900 26px/1.1 var(--sp-display); }
.h-steps li p { margin: 0; color: #d9e4dc; font-size: 16px; }
.h-steps__foot { margin: 34px auto 0; text-align: center; max-width: 640px; }
.h-steps__foot p { margin: 0 0 22px; color: #d9e4dc; }
.h-steps__foot b { color: var(--riz); }
.h-steps .sp-pill { background: var(--p-tamago); color: var(--nori); }
.h-steps .sp-pill:hover { background: #ffd65c; color: var(--nori); }

.sp-pill--ghost { background: transparent; color: var(--nori); box-shadow: inset 0 0 0 2px var(--nori); }
.sp-pill--ghost:hover { background: #fff; color: var(--nori); } /* stays secondary: never looks like the primary pill */

/* ---- Scroll reveal (site.js adds .is-in) ------------------------------------ */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 520px) { .c-btns .sp-pill { width: 100%; } }
@media (max-width: 899.98px) {
  .h-wrap { padding: 0 20px; }
  .h-sec { padding: 64px 0; }
  .h-steps ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
