/* Love Boat Sushi — palette sampled directly from the real logo files (logos/Loveboat-Logo.png):
   navy #3e4e63, orange #d28d50, gray #9397a2. accent-solid/accent-solid-hover are
   theme-constant on purpose — see research-findings.md Phase 3 for why. */

:root {
  --paper: #f6f7f8;
  --paper-raised: #ffffff;
  --ink: #3e4e63;
  --ink-soft: #5c6a7a;
  --line: #e2e5e9;
  --accent: #d28d50;
  --accent-ink: #94551f;
  --brass: #9397a2;
  --accent-solid: #a35f24;
  --accent-solid-hover: #7c4419;
  --focus: #1a56db;
  --shadow: 0 1px 2px rgba(62,78,99,0.06), 0 8px 24px rgba(62,78,99,0.07);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171d25;
    --paper-raised: #1f2731;
    --ink: #eef1f4;
    --ink-soft: #9aa7b5;
    --line: #2c3644;
    --accent: #e8a874;
    --accent-ink: #e8a874;
    --brass: #a9adb8;
    --accent-solid: #a35f24;
    --accent-solid-hover: #7c4419;
    --focus: #7aa2f7;
    --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Baloo 2', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  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 / happy hour bar */
.announcement-bar {
  background: var(--accent-solid); color: #fff;
  text-align: center; font-size: 0.88rem; font-weight: 600;
  padding: 0.65rem 1rem;
}

/* 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.8rem 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: 44px; width: auto; display: block; }
.logo span {
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--ink); line-height: 1.1;
}
.logo small {
  display: block; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-top: 0.15rem;
}
nav.primary { display: flex; flex-wrap: wrap; gap: 1.3rem; 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.68rem 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: 36px; }
}

/* Main wrapper */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 780px; }

/* Split hero — real photos here are ~640px on the long edge, so this is a
   contained/framed treatment, not an edge-to-edge upscaled hero. */
.split-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 3rem 1.25rem 2.5rem;
}
.split-hero .eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 0.7rem;
}
.split-hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.split-hero .sub { font-size: 1.05rem; color: var(--ink-soft); margin-top: 0.8rem; }
.split-hero .cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.split-hero .frame {
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  max-width: 440px; margin: 0 auto;
}
@media (max-width: 820px) {
  .split-hero { grid-template-columns: 1fr; text-align: center; }
  .split-hero .cta-row { justify-content: center; }
}

/* Happy hour callout */
.happy-hour {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 1.6rem 1.8rem; margin: 0 auto 2.5rem; max-width: 1180px;
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
}
.happy-hour .hh-icon { font-size: 2.2rem; line-height: 1; }
.happy-hour h2 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.happy-hour p { margin: 0; color: var(--ink-soft); max-width: 60ch; }

/* Photo gallery grid */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
  max-width: 1180px; margin: 0 auto 3rem; padding: 0 1.25rem;
}
.gallery-grid figure { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; }

/* Info band */
.info-band {
  background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2rem 1.25rem; margin-bottom: 0;
}
.info-band .facts {
  max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem;
  justify-content: center; font-size: 0.95rem; color: var(--ink-soft);
}
.info-band .facts b { color: var(--ink); }

/* Section headers */
.section-head { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; text-align: center; }
.section-head h2 { font-size: 1.6rem; }
.section-head p { margin: 0 auto 2rem; color: var(--ink-soft); }

/* Editorial copy blocks (About, Catering) */
.editorial-copy { max-width: 68ch; margin: 0 auto; padding: 2.5rem 1.25rem; }
.editorial-hero { max-width: 780px; margin: 0 auto; padding: 3rem 1.25rem 1rem; text-align: center; }
.editorial-hero .eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 0.7rem;
}

/* Menu jump nav */
.menu-jump {
  position: sticky; top: 65px; z-index: 15; background: var(--paper);
  border-bottom: 1px solid var(--line); overflow-x: auto; white-space: nowrap;
  padding: 0.8rem 1.25rem;
}
.menu-jump-inner { max-width: 1180px; margin: 0 auto; display: inline-flex; gap: 1.3rem; }
.menu-jump a {
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.menu-jump a:hover { color: var(--accent-ink); border-color: var(--accent); }

/* Menu content */
.menu-wrap { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.menu-section { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2rem; scroll-margin-top: 8rem; }
.menu-section:first-child { border-top: none; margin-top: 0; }
.menu-section h2 { font-size: 1.35rem; }
.menu-section .section-sub { color: var(--ink-soft); font-size: 0.9rem; margin-top: -0.5rem; margin-bottom: 1.2rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 0.8rem 1.2rem;
  padding: 0.85rem 0; border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item .name { font-weight: 600; font-size: 0.98rem; }
.menu-item .tags { font-weight: 400; color: var(--accent-ink); font-size: 0.8rem; margin-left: 0.35rem; }
.menu-item .desc { grid-column: 1 / -1; font-size: 0.87rem; color: var(--ink-soft); margin-top: -0.3rem; }
.menu-item .price { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; align-self: start; }
.menu-note {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem 1.2rem; margin-top: 1.2rem; font-size: 0.88rem; color: var(--ink-soft);
}
.combo-box {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow); margin: 1.5rem 0;
}
.combo-box h3 { font-size: 1.05rem; }
.legend { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.legend span { margin-right: 1rem; }

/* FAQ */
.faq-item {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.2rem 1.4rem; margin-bottom: 0.9rem; box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.contact-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.6rem 1.8rem; box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.05rem; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--paper-raised); border-top: 1px solid var(--line); padding: 3rem 1.25rem 2rem; margin-top: 2rem; }
.site-footer .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem;
  max-width: 1180px; margin: 0 auto;
}
.site-footer h3 { font-size: 0.92rem; color: var(--ink); }
.site-footer p, .site-footer a { font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.footer-brand img { height: 32px; width: auto; flex-shrink: 0; }
.footer-links a { display: block; margin-bottom: 0.3rem; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.2rem; font-size: 0.82rem; color: var(--ink-soft); }

/* 404 */
.error-page { max-width: 600px; margin: 0 auto; padding: 5rem 1.25rem; text-align: center; }
.error-page h1 { font-size: 4rem; color: var(--accent-ink); }

/* HOLIDAY-GIFTCARD:CSS:START (remove the morning of Nov 30) */
a.promo-bar { display: block; position: relative; overflow: hidden; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.45); }
a.promo-bar:hover, a.promo-bar:focus-visible { background: var(--accent-solid-hover); color: #fff; }
.promo-bar .short { display: none; }
@media (max-width: 540px) { .promo-bar .long { display: none; } .promo-bar .short { display: inline; } .promo-bar { padding: 0.6rem 0.75rem; } }
@media (max-width: 360px) { a.promo-bar { font-size: 0.8rem; padding: 0.6rem 0.4rem; } }
.gift-promo { padding: 2.5rem 1.25rem; text-align: center; border-top: 1px solid var(--line); }
.gift-promo h2 { margin: 0 0 0.75rem; }
.gift-promo p { margin: 0 auto 1rem; }
.gift-promo .fine { font-size: 0.82rem; color: var(--ink-soft); margin: 0.75rem auto 0; }
/* HOLIDAY-GIFTCARD:CSS:END */

/* Six-photo homepage gallery */
.gallery-grid.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .gallery-grid.six { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } .gallery-grid.six img { height: 150px; } }

/* Late Night Special */
/* Navy card in BOTH themes (theme-constant colors; white and #f3c9a3 on #3e4e63 are contrast-checked in the axe run) */
.late-night { width: calc(100% - 2.5rem); max-width: 1180px; margin: 0 auto 2.5rem; padding: 2rem 1.5rem; background: #3e4e63; color: #fff; border: 1px solid #5b6b80; border-radius: 14px; box-shadow: var(--shadow); text-align: center; scroll-margin-top: 8rem; }
.menu-wrap .late-night { width: 100%; margin-bottom: 2rem; }
.ln-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.ln-layout > * { min-width: 0; }   /* without this the 3-column roll list forces the text column wider than the phone */
@media (min-width: 820px) { .ln-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.ln-poster { width: 100%; max-width: 260px; height: auto; justify-self: center; border-radius: 6px; border: 4px solid #fff; }
@media (min-width: 820px) { .ln-poster { max-width: 300px; } }
.late-night h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0.3rem 0 0.4rem; }
.late-night p { margin: 0.6rem auto; max-width: 62ch; color: #fff; }
.late-night .ln-flag { display: inline-block; margin: 0; padding: 0.2rem 0.7rem; border: 1px solid #f3c9a3; border-radius: 999px; color: #f3c9a3; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.late-night .ln-when { font-size: 1.1rem; font-weight: 600; color: #f3c9a3; }
.late-night .ln-price { font-size: 1.6rem; color: #f3c9a3; margin-right: 0.3rem; }
.late-night .ln-sub { color: #fff; font-size: 1.05rem; margin: 1.4rem 0 0.6rem; }
.late-night .ln-rolls { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.4rem 1.2rem; text-align: left; }
.late-night .ln-rolls li { padding: 0.35rem 0; border-bottom: 1px solid #5b6b80; }
.late-night .ln-tag { display: inline-block; padding: 0 0.35rem; border: 1px solid #f3c9a3; border-radius: 4px; color: #f3c9a3; font-size: 0.72rem; font-weight: 700; line-height: 1.5; }
.late-night .ln-extra { color: #f3c9a3; font-size: 0.85rem; }
.late-night .ln-legend { font-size: 0.85rem; color: #fff; }
.late-night .ln-fine { font-size: 0.85rem; color: #d7dde5; }
.late-night .btn { background: #fff; color: #2d3a4b; border-color: #fff; }
.late-night .btn:hover { background: #f3c9a3; border-color: #f3c9a3; color: #2d3a4b; }

/* About page: three photos, one aspect ratio */
.gallery-grid.three { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.three img { height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .gallery-grid.three { grid-template-columns: 1fr; } }
