/* Fish Boon — shared site styles. Ginkgo Atelier palette, locked 2026-08-18. */

:root {
  --paper: #fbf6f0;
  --paper-raised: #fffdfa;
  --ink: #174c6d;
  --ink-soft: #3f7891;
  --line: #e8f0f1;
  --gold: #d9c9a6;
  --gold-soft: #f3ecdd;
  --gold-line: #bfa372;
  --blue: #3f7891;
  --blue-soft: #e8f0f1;
  --coral: #e66e60;
  --blush: #f1b4af;
  --blush-soft: #fceae8;
  --shadow: 0 1px 2px rgba(23,76,109,0.08), 0 10px 28px rgba(23,76,109,0.08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12262f;
    --paper-raised: #17303b;
    --ink: #eaf3f5;
    --ink-soft: #9cc4d6;
    --line: #274a58;
    --gold: #e4d3ae;
    --gold-soft: #3a3221;
    --gold-line: #d8c396;
    --blue: #6fb0ce;
    --blue-soft: #1c3742;
    --coral: #f2917f;
    --blush: #f6c4be;
    --blush-soft: #3a2523;
    --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 10px 28px rgba(0,0,0,0.4);
  }
}
:root[data-theme="dark"] {
  --paper: #12262f;
  --paper-raised: #17303b;
  --ink: #eaf3f5;
  --ink-soft: #9cc4d6;
  --line: #274a58;
  --gold: #e4d3ae;
  --gold-soft: #3a3221;
  --gold-line: #d8c396;
  --blue: #6fb0ce;
  --blue-soft: #1c3742;
  --coral: #f2917f;
  --blush: #f6c4be;
  --blush-soft: #3a2523;
  --shadow: 0 1px 2px rgba(0,0,0,0.35), 0 10px 28px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; }

/* ---- Accessibility utilities ---- */
.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;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

/* ---- Header / nav, every page ---- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark { height: 42px; width: auto; display: block; }
.logo small {
  display: block;
  font-family: -apple-system, sans-serif;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
nav.primary {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 0;
}
nav.primary a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; min-width: 0; order: 3; }
/* Desktop visual order (logo, nav, actions) is restored explicitly here because the DOM
   order is logo/actions/nav to match mobile's visual layout — keyboard/screen-reader tab
   order always follows DOM order, never CSS `order`, so DOM order must match mobile's
   visual reading order (the primary breakpoint) and desktop uses `order` only to redraw
   the visual position, not the navigation sequence. */
.logo { order: 1; }
nav.primary { order: 2; }

@media (max-width: 700px) {
  .site-header { position: sticky; top: 0; }
  .site-header .bar { padding: 0.5rem 1rem 0; flex-wrap: wrap; }
  /* No `order` overrides needed here: the DOM is logo, header-actions, nav.primary
     (matching this exact visual layout), so mobile's tab order already matches what's
     on screen. Desktop restores its own visual order above via explicit CSS `order`. */
  .logo { font-size: 1.2rem; line-height: 1.1; }
  .logo small { line-height: 1.2; margin-top: 0.1rem; }
  .logo-mark { height: 30px; }
  .header-actions { margin-left: auto; gap: 1rem; }
  nav.primary {
    flex-basis: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 1.1rem;
    padding: 0.25rem 0 0.4rem;
    margin-top: 0;
    border-top: 1px solid var(--line);
    scrollbar-width: none;
  }
  nav.primary::-webkit-scrollbar { display: none; }
}
.btn {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0 3px;
  text-decoration: none;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--ink-soft);
  white-space: nowrap;
}
.btn.primary { color: var(--ink); border-bottom-color: var(--gold-line); }
.btn:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ---- Page wrapper ---- */
.wrap { max-width: 880px; margin: 0 auto; padding: 3.2rem 1.25rem 5rem; }
.wrap.wide { max-width: 1080px; }
section { margin-bottom: 3.2rem; }
h2 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0 0 0.6rem;
  color: var(--ink);
}
h3 { font-size: 1.05rem; margin: 1.6rem 0 0.6rem; color: var(--ink); }
p { margin: 0.5rem 0; }
.lede { color: var(--ink-soft); max-width: 62ch; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Menu page ---- */
.menu-nav {
  position: sticky;
  top: 61px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
  margin-bottom: 1rem;
  overflow-x: auto;
  white-space: nowrap;
}
.menu-nav a {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-right: 0.4rem;
}
.menu-nav a:hover { background: var(--blue-soft); color: var(--ink); }

.menu-section { border-top: 1px solid var(--line); padding-top: 1.6rem; scroll-margin-top: 7.5rem; }
.menu-note { font-size: 0.86rem; color: var(--ink-soft); margin: 0.3rem 0 1.1rem; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item .name { font-weight: 700; }
.menu-item .tags { font-weight: 400; color: #ac5248; font-size: 0.8rem; margin-left: 0.3rem; }
.menu-item .desc { grid-column: 1 / -1; font-size: 0.86rem; 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; }

.menu-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 0.5rem 0 1rem; }
.menu-table th, .menu-table td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px dashed var(--line); }
.menu-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.menu-table td.price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }

.policy-box {
  background: var(--blush-soft);
  border: 1px solid var(--blush);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-size: 0.86rem;
  color: var(--ink);
  margin-top: 2rem;
}

/* ---- Footer ---- */
footer.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 2.2rem 1.25rem;
  margin-top: 2rem;
}
footer.site-footer .wrap {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
footer.site-footer h3 { margin: 0 0 0.5rem; color: var(--ink); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
footer.site-footer h3.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}
footer.site-footer h3.footer-brand .logo-mark { height: 26px; }
footer.site-footer a { color: var(--ink-soft); text-decoration: none; }
footer.site-footer a:hover { color: var(--ink); }
/* Touch target size (WCAG 2.5.8 / Lighthouse target-size): padding on the anchor
   itself brings each link to ~46px tall with ~24px of clear space between the
   stacked Reserve/Order links — no visual redesign, same text links as before. */
.footer-links a { display: inline-block; padding: 0.75rem 0.25rem; margin-bottom: 0.35rem; }
footer.site-footer .copyright { grid-column: 1/-1; border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 1rem; font-size: 0.76rem; }

/* ==== Editorial layout (homepage) — full-bleed photo bands instead of boxed hero/cards ==== */

.editorial-hero {
  text-align: center;
  padding: 5.5rem 1.25rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}
.editorial-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 0 1.4rem;
}
.editorial-hero h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.12;
  margin: 0 0 1.3rem;
  color: var(--ink);
}
.editorial-hero p.sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 auto;
}

.band-photo {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.25rem;
  line-height: 0;
}
.band-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.leaf-art-block {
  text-align: center;
  padding: 0.5rem 1.25rem 2.6rem;
}
.leaf-art-block img {
  max-width: 560px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.wordmark-block {
  text-align: center;
  padding: 4.5rem 1.25rem;
}
.wordmark-block .mark {
  display: block;
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 10vw, 6.5rem);
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
}
.wordmark-block .under {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7c6a4a;
  font-weight: 700;
}

.editorial-copy {
  max-width: 56ch;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
}
.editorial-copy p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
}

/* Asymmetric gallery — mixed crops from the same portrait source photos, not a uniform grid */
.gallery-asym {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  padding: 0 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-asym a { display: block; overflow: hidden; line-height: 0; }
.gallery-asym img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-wide { grid-column: span 4; aspect-ratio: 16/10; }
.g-tall { grid-column: span 2; aspect-ratio: 3/4.4; }
.g-square { grid-column: span 3; aspect-ratio: 4/5; }
@media (max-width: 700px) {
  .gallery-asym { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .g-wide, .g-tall, .g-square { grid-column: span 1; aspect-ratio: 4/5; }
}

.quiet-actions {
  display: flex;
  gap: 1.4rem 2.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.6rem 0 0;
  padding: 0 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  min-width: 0;
}
.quiet-actions a {
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold-line);
}
.quiet-actions a:hover { color: var(--blue); border-color: var(--blue); }

.info-band {
  text-align: center;
  padding: 3.2rem 1.25rem 5.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.info-band .facts { display: flex; gap: 0.5rem 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.3rem; min-width: 0; }
