/* Gami Sushi — palette sampled directly from the actual remodel plan set
   (KBarcarse Designs, R1.18 Finish Sample Board, GAM-9026-1148):
   --accent    = Sherwin Williams SW 6332 "Coral Island" (field paint, wainscot)
   --brass     = Chemetal 310 Antique Brushed Brass (bar facade, bench frames, signage)
   --charcoal-derived ink = Adessi Sundance Night porcelain family
   Wood veneer and Lazy Gray (SW 6254) inform the neutral warmth of ink/line tones.
   This replaces the earlier placeholder red — it's the real, confirmed interior. */

:root {
  --paper: #faf7f4;
  --paper-raised: #ffffff;
  --ink: #2b2724;
  --ink-soft: #6b5f56;
  --line: #e3ded9;
  --accent: #ce9383;
  --accent-ink: #7a4a3d;
  --accent-soft: #f3e3dd;
  --brass: #8e7443;
  --brass-ink: #6b552f;
  --focus: #1a56db;
  --shadow: 0 1px 2px rgba(43,39,36,0.05), 0 6px 20px rgba(43,39,36,0.06);
  /* theme-constant: for solid white-text surfaces (buttons, skip-link, banner) —
     --accent-ink flips to a light peach in dark mode for use as link text, so it
     can't double as a solid fill or white text drops to ~1.8:1 contrast there */
  --accent-solid: #7a4a3d;
  --accent-solid-hover: #9a6353;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1815;
    --paper-raised: #241f1b;
    --ink: #f2ede8;
    --ink-soft: #b8a99b;
    --line: #3a332c;
    --accent: #e0a08d;
    --accent-ink: #eab6a3;
    --accent-soft: #3a2a24;
    --brass: #c9a768;
    --brass-ink: #d9bc84;
    --focus: #7aa2f7;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 6px 20px rgba(0,0,0,0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

p { margin: 0 0 1rem; max-width: 68ch; }

a { color: var(--accent-ink); }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 0; top: -3rem; z-index: 100;
  background: var(--accent-solid); color: #fff; padding: 0.7rem 1.2rem;
  text-decoration: none; font-weight: 600; border-radius: 0 0 6px 0;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

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

/* Announcement bar */
.announcement-bar {
  background: var(--accent-solid); color: #fff;
  text-align: center; font-size: 0.88rem; font-weight: 500;
  padding: 0.65rem 1rem;
}
.announcement-bar strong { font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: 1180px; margin: 0 auto; padding: 0.9rem 1.25rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; margin-right: auto;
}
.logo-mark { height: 40px; width: auto; display: block; }
.logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1.15;
}
.logo small {
  display: block; font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500; font-size: 0.6rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 0.15rem;
}
nav.primary {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  font-size: 0.92rem; font-weight: 500;
}
nav.primary a { color: var(--ink); text-decoration: none; padding: 0.4rem 0.1rem; }
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--accent-ink); }
.header-actions { display: flex; gap: 0.6rem; }
.btn {
  display: inline-block; padding: 0.7rem 1.1rem; border-radius: 6px;
  font-weight: 600; font-size: 0.88rem; text-decoration: none;
  border: 1px solid var(--line); color: var(--ink);
}
.btn.primary { background: var(--accent-solid); color: #fff; border-color: var(--accent-solid); }
.btn.primary:hover { background: var(--accent-solid-hover); border-color: var(--accent-solid-hover); }
.btn:not(.primary):hover { border-color: var(--accent); color: var(--accent-ink); }

@media (max-width: 760px) {
  .site-header .bar { justify-content: space-between; }
  nav.primary { flex-basis: 100%; order: 3; gap: 1rem 1.3rem; }
  .logo-mark { height: 34px; }
}

/* Main content wrapper */
main { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.hero {
  padding: 3.5rem 0 2.5rem;
  max-width: 68ch;
}
.hero .eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brass-ink); margin-bottom: 0.6rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.hero .sub { color: var(--ink-soft); font-size: 1.08rem; }

.section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: none; }

.card {
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.3rem 1.5rem; box-shadow: var(--shadow);
}

.photo-band { max-width: 520px; }
.photo-band img {
  width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow);
}

.photo-band-wide { max-width: 1000px; }
.photo-band-wide img {
  width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow);
}

.gallery-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: 900px;
}
.gallery-2col img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover;
  border-radius: 8px; box-shadow: var(--shadow); display: block;
}
@media (max-width: 560px) { .gallery-2col { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Info band (address/hours/phone) */
.info-band { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; font-size: 0.95rem; color: var(--ink-soft); }
.info-band a { color: var(--ink-soft); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 3rem;
  background: var(--paper-raised);
}
.site-footer .wrap {
  max-width: 1180px; margin: 0 auto; padding: 2.5rem 1.25rem 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
.site-footer h3 {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 0.6rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.6rem; }
.footer-brand .logo-mark { height: 28px; }
.footer-brand .logo-text { font-family: 'Fraunces', Georgia, serif; font-size: 1.05rem; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--ink); }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
.site-footer p { font-size: 0.9rem; color: var(--ink-soft); }
.footer-links a { display: block; padding: 0.75rem 0.25rem; margin-bottom: 0.35rem; }
.copyright {
  grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 1rem;
  padding-top: 1rem; font-size: 0.82rem; color: var(--ink-soft);
}

/* Menu page */
.menu-jump {
  position: sticky; top: 61px; z-index: 10; background: var(--paper);
  border-bottom: 1px solid var(--line); padding: 0.7rem 0;
  display: flex; gap: 0.5rem; overflow-x: auto;
}
.menu-jump a {
  flex: none; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--line); white-space: nowrap;
}
.menu-jump a:hover { color: var(--accent-ink); border-color: var(--accent); }
.menu-item {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item .name { font-weight: 600; }
.menu-item .detail { display: block; font-weight: 400; font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.15rem; }
.menu-item .price { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
