/* =========================================================
   Murray's Sturgeon Shop
   Palette + type locked per brief. Mobile-first.
   ========================================================= */

:root {
  /* palette (from the logo) */
  --sepia:   #5b3a24;  /* deep sepia-brown — headings, wordmark */
  --walnut:  #8a5a34;  /* warm walnut — secondary, hover */
  --lox:     #c8102e;  /* restrained brick/lox-red — the one accent */
  --cream:   #f6efe4;  /* parchment page bg */
  --ink:     #1f1b16;  /* near-black body ink */
  --tan:     #e4d9c4;  /* pale tan — cards, hairlines */

  /* derived */
  --cream-deep: #efe5d3;
  --tan-line:  #d8caae;
  --ink-70:    rgba(31, 27, 22, 0.72);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 3px;
}

/* -------- reset-ish -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--walnut); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--lox); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--sepia); line-height: 1.08; margin: 0; font-weight: 900; }

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

.visually-hidden {
  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.5rem; top: -3rem; z-index: 200;
  background: var(--lox); color: #fff; padding: 0.6rem 1rem;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0.5rem; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* -------- shared utility type -------- */
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.72rem; font-weight: 700; color: var(--lox);
  margin: 0 0 0.9rem;
}
.section-title { font-size: clamp(1.85rem, 5.2vw, 3rem); letter-spacing: -0.01em; max-width: 18ch; }
.lead { font-size: 1.15rem; }
.section { padding-block: clamp(3.25rem, 8vw, 6rem); }

/* =========================================================
   BADGE (signature element)
   ========================================================= */
.badge-ring-outer { fill: none; stroke: var(--lox); stroke-width: 2; }
.badge-ring-inner { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.55; }
.badge-arc { fill: currentColor; font-family: var(--body); font-weight: 700; letter-spacing: 0.16em; }
.brand-badge .badge-arc { font-size: 12px; }
.footer-brand .brand-badge .badge-arc { font-size: 11px; }
.badge-center-fish {
  fill: var(--lox); font-family: var(--display); font-weight: 900;
  font-size: 46px; font-style: italic;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream); border-bottom: 1px solid var(--tan-line);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.55rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--sepia); }
.brand-badge { color: var(--sepia); flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.5rem; color: var(--sepia); }
.brand-sub {
  font-family: var(--body); text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.6rem; font-weight: 700; color: var(--walnut); margin-top: 2px;
}

.main-nav { display: flex; align-items: center; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--tan-line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; background: var(--sepia); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-links a {
  display: block; padding: 0.85rem 0;
  font-weight: 600; color: var(--sepia); text-decoration: none;
  border-bottom: 1px solid var(--tan-line);
}
.nav-links a:hover { color: var(--lox); }
.nav-cta a { color: var(--lox); border-bottom: none; }

@media (max-width: 819px) {
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--tan-line);
    padding: 0 var(--gutter) 1rem;
    box-shadow: 0 16px 24px -18px rgba(31,27,22,0.4);
    max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  }
  .nav-links.is-open { max-height: 80vh; }
  /* JS-off fallback: hide the toggle, show links stacked inline */
  .no-js .nav-links { position: static; max-height: none; overflow: visible; padding: 0; box-shadow: none; }
  .no-js .nav-toggle { display: none; }
}

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav-links { position: static; flex-direction: row; align-items: center; gap: 1.6rem; max-height: none; }
  .nav-links a { padding: 0.4rem 0; border-bottom: 2px solid transparent; }
  .nav-links a:hover { border-bottom-color: var(--lox); }
  .nav-cta a { border: 1.5px solid var(--lox); border-radius: var(--radius); padding: 0.45rem 0.9rem; letter-spacing: 0.02em; }
  .nav-cta a:hover { background: var(--lox); color: #fff; border-bottom-color: var(--lox); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 700;
  font-size: 0.98rem; letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn-primary { background: var(--lox); color: #fff; border: 1.5px solid var(--lox); }
.btn-primary:hover { background: #a50c25; border-color: #a50c25; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(246,239,228,0.8); }
.btn-ghost:hover { background: var(--cream); color: var(--sepia); transform: translateY(-1px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: min(88vh, 760px);
  display: flex; align-items: flex-end; overflow: hidden; color: var(--cream);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: 0; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(31,27,22,0.92) 0%, rgba(31,27,22,0.5) 42%, rgba(31,27,22,0.18) 72%, rgba(31,27,22,0.35) 100%);
}
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: 2.5rem var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
}
.hero-badge { color: var(--cream); margin-bottom: 1.25rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.hero-badge-arc { fill: var(--cream); font-family: var(--body); font-weight: 700; letter-spacing: 0.14em; font-size: 15px; }
.hero-badge-word { fill: var(--cream); font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; }

.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.72rem; font-weight: 700; color: #f2c4c9; margin: 0 0 0.75rem; }
.hero-title {
  font-size: clamp(2.8rem, 9vw, 5.5rem); font-style: italic; font-weight: 900;
  color: var(--cream); letter-spacing: -0.015em; text-shadow: 0 2px 20px rgba(0,0,0,0.45); margin: 0 0 0.4rem;
}
.hero-tag { font-family: var(--display); font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 600; color: var(--cream); margin: 0 0 1rem; letter-spacing: 0.01em; }
.hero-lede { max-width: 56ch; font-size: 1.1rem; color: rgba(246,239,228,0.92); margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (min-width: 720px) {
  .hero { align-items: center; }
  .hero-lede { font-size: 1.2rem; }
}

/* =========================================================
   HERITAGE
   ========================================================= */
.heritage { background: var(--cream); }
.heritage-inner { max-width: 900px; }
.heritage .section-title { max-width: 22ch; margin-bottom: 1.5rem; }
.heritage-body { max-width: 62ch; }
.heritage-body p { margin: 0 0 1rem; }
.heritage-body .lead { color: var(--sepia); font-weight: 500; }

.heritage-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; margin: 2.5rem 0 0; padding: 0;
  background: var(--tan-line); border: 1px solid var(--tan-line);
  border-radius: var(--radius); overflow: hidden;
}
.heritage-stats .stat { background: var(--cream-deep); padding: 1.25rem 1.1rem; display: flex; flex-direction: column-reverse; gap: 0.15rem; }
.heritage-stats dt { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.68rem; font-weight: 700; color: var(--walnut); }
.heritage-stats dd { margin: 0; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 2.4rem; color: var(--sepia); line-height: 1; }
@media (min-width: 720px) { .heritage-stats { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================
   MENU / THE COUNTER
   ========================================================= */
.menu { background: var(--cream-deep); border-top: 1px solid var(--tan-line); }
.menu-head { max-width: 760px; margin-bottom: 2.25rem; }
.menu-intro { max-width: 62ch; font-size: 1.02rem; color: var(--ink-70); }
.menu-intro strong { color: var(--sepia); font-weight: 600; }

.menu-accordion { display: flex; flex-direction: column; gap: 0.9rem; }

.mcat { background: var(--cream); border: 1px solid var(--tan-line); border-radius: var(--radius); overflow: hidden; }
.mcat-head { margin: 0; }
.mcat-toggle {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem clamp(1rem, 3vw, 1.6rem);
  background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: var(--display); color: var(--sepia);
}
.mcat-name { font-size: clamp(1.3rem, 3.4vw, 1.7rem); font-weight: 900; flex: 1 1 auto; }
.mcat-meta { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.66rem; font-weight: 700; color: var(--walnut); flex: none; }
.mcat-icon { position: relative; width: 16px; height: 16px; flex: none; }
.mcat-icon::before, .mcat-icon::after { content: ""; position: absolute; background: var(--lox); border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease; }
.mcat-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.mcat-icon::after  { top: 0; left: 7px; width: 2px; height: 16px; }
.mcat-toggle[aria-expanded="true"] .mcat-icon::after { transform: scaleY(0); opacity: 0; }

.mcat-panel { padding: 0 clamp(1rem, 3vw, 1.6rem) 1.4rem; }
.js .mcat-panel[hidden] { display: none; }  /* collapse only once JS runs */

.mcat-figure { margin: 0 0 1.4rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--tan-line); }
.mcat-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mcat-figure figcaption { background: var(--sepia); color: var(--cream); font-size: 0.9rem; padding: 0.7rem 1rem; font-style: italic; }
.mcat-figure cite { font-style: normal; font-weight: 700; }

.items { list-style: none; margin: 0; padding: 0; }
.item {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "desc desc";
  align-items: baseline; column-gap: 0.5rem;
  padding: 0.85rem 0; border-bottom: 1px dotted var(--tan-line);
}
.item:last-child { border-bottom: none; }
.item-name { grid-area: name; font-weight: 600; color: var(--sepia); }
.item-unit { font-family: var(--body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.66rem; color: var(--walnut); margin-left: 0.3rem; white-space: nowrap; }
.item-dots { display: none; }
.item-price { grid-area: price; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.05rem; color: var(--lox); white-space: nowrap; }
.item-desc { grid-area: desc; font-size: 0.92rem; color: var(--ink-70); margin-top: 0.15rem; }
.item-desc:empty { display: none; }
.item-sub .item-name { color: var(--walnut); }
.items-note { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--walnut); font-weight: 700; margin: 0 0 0.6rem; }

@media (min-width: 640px) {
  .item { grid-template-columns: auto 1fr auto; grid-template-areas: "name dots price" "desc desc desc"; column-gap: 0.75rem; }
  .item-dots { grid-area: dots; display: block; align-self: center; border-bottom: 1px dotted var(--tan-line); height: 0.7em; margin: 0 0.15rem; }
}
@media (min-width: 760px) {
  .items-compact { columns: 2; column-gap: 2.5rem; }
  .items-compact .item { break-inside: avoid; }
}

/* =========================================================
   CATERING
   ========================================================= */
.catering { background: var(--sepia); color: var(--cream); }
.catering .eyebrow { color: #f2c4c9; }
.catering .section-title { color: var(--cream); }
.catering-grid { display: grid; gap: 2.5rem; }
.catering-copy p { color: rgba(246,239,228,0.9); }
.catering-copy .lead { color: var(--cream); }
.catering-call { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--cream); }
.catering-call a { color: #f2c4c9; }
.catering-copy .btn-primary { margin-top: 0.5rem; }

.catering-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.catering-fig { margin: 0; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--cream); }
.catering-fig img { display: block; width: 100%; height: auto; object-fit: cover; }
.catering-fig-lg { grid-column: 1 / -1; }
.catering-fig-lg img { aspect-ratio: 16 / 9; }
.catering-media .catering-fig:not(.catering-fig-lg) img { aspect-ratio: 4 / 5; }
@media (min-width: 860px) { .catering-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* =========================================================
   PRESS / CLIPS
   ========================================================= */
.press { background: var(--cream); }
.press-head { margin-bottom: 2.25rem; }
.clips { columns: 1; column-gap: 1.5rem; }
.clip {
  break-inside: avoid; margin: 0 0 1.5rem;
  background: var(--cream-deep); border: 1px solid var(--tan-line);
  border-left: 3px solid var(--lox); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
}
.clip p { font-family: var(--display); font-size: 1.12rem; font-weight: 400; line-height: 1.45; color: var(--sepia); margin: 0 0 1rem; }
.clip footer { display: flex; flex-direction: column; gap: 0.2rem; }
.clip cite { font-style: normal; font-family: var(--body); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--walnut); }
.clip-rating { font-size: 0.72rem; letter-spacing: 0.06em; font-weight: 600; color: var(--lox); }
.press-also { max-width: 70ch; font-size: 0.95rem; color: var(--ink-70); border-top: 1px solid var(--tan-line); padding-top: 1.5rem; margin: 0.5rem 0 0; }
@media (min-width: 680px) { .clips { columns: 2; } }
@media (min-width: 1040px) { .clips { columns: 3; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.comments { background: var(--cream-deep); border-top: 1px solid var(--tan-line); }
.testimonials { display: grid; gap: 1.5rem; }
.testimonial {
  margin: 0; background: var(--cream); border: 1px solid var(--tan-line);
  border-radius: var(--radius); padding: 1.75rem 1.6rem; position: relative;
}
.testimonial::before {
  content: "\201C"; font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: 3.5rem; color: var(--tan-line); position: absolute; top: 0.4rem; left: 1rem; line-height: 1;
}
.testimonial p { margin: 1.2rem 0 1rem; color: var(--ink); }
.testimonial footer { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--walnut); }
.testimonials-note { margin: 1.75rem 0 0; font-size: 0.95rem; color: var(--ink-70); }
@media (min-width: 780px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   VISIT / SHIPPING
   ========================================================= */
.visit { background: var(--cream); }
.visit-grid { display: grid; gap: 2.5rem; }
.visit-block { margin-bottom: 1.75rem; }
.visit-block:last-child { margin-bottom: 0; }
.visit-label { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 700; color: var(--lox); margin: 0 0 0.6rem; }
.visit-address, address { font-style: normal; font-size: 1.15rem; color: var(--sepia); line-height: 1.5; }
.link-arrow { display: inline-block; margin-top: 0.6rem; font-weight: 700; text-decoration: none; color: var(--lox); }
.link-arrow:hover { text-decoration: underline; }

.hours { list-style: none; margin: 0; padding: 0; max-width: 320px; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px dotted var(--tan-line); font-weight: 500; }
.hours li span:first-child { color: var(--sepia); font-weight: 700; }
.hours li span:last-child { color: var(--ink-70); }

.contact-list { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.contact-list li { padding: 0.2rem 0; }
.contact-list a { font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.visit-note { font-size: 0.95rem; color: var(--ink-70); max-width: 46ch; }

.ship-card { background: var(--sepia); color: var(--cream); border-radius: var(--radius); padding: 1.75rem 1.6rem; align-self: start; }
.ship-card .visit-label { color: #f2c4c9; }
.ship-card p { color: rgba(246,239,228,0.92); }
.ship-card strong { color: var(--cream); }
.ship-list { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.ship-list li { position: relative; padding-left: 1.4rem; margin-bottom: 0.85rem; font-size: 0.95rem; color: rgba(246,239,228,0.88); }
.ship-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--lox); border-radius: 50%; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: var(--cream); padding-top: 3rem; }
.footer-inner { display: grid; gap: 2rem; }
.footer-brand .brand-badge { color: var(--cream); }
.footer-brand .badge-center-fish { fill: var(--lox); }
.footer-word { margin: 0.75rem 0 0.25rem; }
.footer-word .brand-name { font-size: 1.6rem; color: var(--cream); }
.footer-word .brand-sub { color: rgba(246,239,228,0.7); }
.footer-tag { font-family: var(--display); font-style: italic; color: rgba(246,239,228,0.8); margin: 0; }
.footer-col h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--lox); margin: 0 0 0.75rem; font-weight: 700; }
.footer-col address { color: rgba(246,239,228,0.85); font-size: 1rem; }
.footer-col .hours li { border-color: rgba(246,239,228,0.15); }
.footer-col .hours li span:first-child { color: var(--cream); }
.footer-col .hours li span:last-child { color: rgba(246,239,228,0.7); }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { padding: 0.2rem 0; }
.footer-contact a { color: var(--cream); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: #f2c4c9; }

.footer-base {
  max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid rgba(246,239,228,0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  font-size: 0.85rem; color: rgba(246,239,228,0.6);
}
.footer-credit span { color: #f2c4c9; font-weight: 600; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
