/* ============================================================
   大心食艷室: shared design tokens & components
   Direction: confident, appetite-forward Japanese food branding.
   Referenced: Wanna Manna (cinematic mood) x Nagatanien (saturated,
   steam-and-scale appetite energy) x MOSSA (circular badge-on-photo).
   ============================================================ */

:root {
  --ink: #241C18;
  --ink-soft: #6B5C4F;
  --paper: #FBF3E7;
  --paper-soft: #F3E4CB;
  --white: #FFFFFF;
  --red: #B23A2E;
  --red-deep: #7C2A22;
  --gold: #D9A441;
  --gold-deep: #A97A26;
  --divider: #E4D2AE;

  --max-w: 1240px;
  --font-display: 'Noto Serif TC', serif;
  --font-body: 'Noto Sans TC', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p { margin: 0; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 24px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Top nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}

.site-nav__row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.site-nav__brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--red);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background-color 200ms ease, color 200ms ease;
  cursor: pointer;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: var(--red);
  color: var(--white);
}

.site-nav__cta {
  font-size: 14px;
  text-decoration: none;
  color: var(--white);
  background: var(--ink);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 200ms ease;
  white-space: nowrap;
}

.site-nav__cta:hover { background: var(--red-deep); }

.site-nav__burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 15px 34px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 200ms ease, transform 150ms ease;
  min-height: 48px;
}

.btn:hover { background: var(--red-deep); }
.btn:active { transform: scale(0.98); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Page hero band (interior pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding-block: 80px 56px;
}

.page-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.page-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
}

.page-hero__lede {
  margin-top: 18px;
  font-size: 17px;
  color: #D9CBB8;
  max-width: 58ch;
  line-height: 1.8;
}

/* ---------- Section shell ---------- */
section { padding-block: 96px; }

.section__head { max-width: 56ch; margin-bottom: 44px; }

.section__eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.25;
}

.section--dark { background: var(--paper); color: var(--ink); }
.section--dark .section__eyebrow { color: var(--red-deep); }
.section--surface { background: var(--white); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--paper); padding-block: 64px 40px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer__brand img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gold); }

.footer__tagline { font-size: 14px; color: #C7B79E; max-width: 32ch; line-height: 1.8; }

.footer__col-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8BE6E;
  margin-bottom: 14px;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 14.5px;
  color: #D9CBB8;
  text-decoration: none;
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer__col a:hover { color: var(--white); }

.footer__social { display: flex; gap: 16px; margin-top: 2px; }
.footer__social-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
a.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #3C332C;
  color: var(--paper);
  transition: background 200ms ease, color 200ms ease;
}
.footer__social-icon svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.footer__social-icon:hover { background: var(--red); color: var(--white); }
.footer__social-label { font-size: 11px; color: #C7B79E; letter-spacing: 0.05em; margin: 0; }

.footer__meta {
  border-top: 1px solid #3C332C;
  padding-top: 24px;
  font-size: 12.5px;
  color: #8A7C6C;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .wrap { padding-inline: 20px; }
  section { padding-block: 64px; }
  .site-nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
