/* ==========================================================================
   Sable's Smoked Fish — Design tokens
   Palette sampled from the establishment's own logo + live site CSS.
   ========================================================================== */
:root {
  --sable-red: #C81635;
  --sable-red-deep: #7A0E20;
  --cream: #F6EFE2;
  --marble: #EAE2D2;
  --charcoal: #241E1B;
  --gold-foil: #A9822E;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(169, 130, 46, 0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--sable-red);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.site-nav a:hover {
  border-color: var(--gold-foil);
}

.nav-cta {
  background: var(--sable-red);
  color: var(--cream) !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  border: none !important;
  font-weight: 600;
  transition: background 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--sable-red-deep);
  border-color: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--sable-red);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--sable-red-deep);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: var(--cream);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero-ctas--center {
  justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 14, 10, 0.82) 0%, rgba(20, 14, 10, 0.45) 42%, rgba(20, 14, 10, 0.05) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  padding: 0 24px 72px;
  max-width: 780px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-foil);
  margin: 0 0 14px;
}
.eyebrow--light {
  color: #E4C888;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin: 0;
  position: relative;
  padding-bottom: 22px;
}
.hero-title::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 130px;
  max-width: 40%;
  height: 4px;
  background: var(--gold-foil);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--charcoal);
}

.lede {
  font-size: 1.15rem;
  max-width: 62ch;
}

.quiet {
  color: rgba(36, 30, 27, 0.72);
  font-size: 0.98rem;
}

/* Support Local */
.support-local {
  text-align: center;
}
.support-local .wrap {
  max-width: 760px;
}
.support-local .lede,
.support-local p {
  margin-left: auto;
  margin-right: auto;
}

/* Feature (bagel sandwich) */
.feature {
  background: var(--marble);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.feature-photo img {
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(36, 30, 27, 0.35);
}

/* Testimonial */
.testimonial {
  text-align: center;
  background: var(--charcoal);
  color: var(--cream);
}
.testimonial .wrap {
  max-width: 760px;
}

.quote-card {
  background: var(--sable-red);
  color: var(--cream);
  border-radius: 12px;
  padding: 48px 40px 40px;
  margin: 0;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-foil);
  display: block;
  margin-bottom: 8px;
}
.quote-card p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* Catering */
.catering {
  background: var(--marble);
  border-top: 1px solid rgba(169, 130, 46, 0.3);
  border-bottom: 1px solid rgba(169, 130, 46, 0.3);
}
.catering-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.catering-photo img {
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(36, 30, 27, 0.35);
}

.catering-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.catering-list h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 6px;
  color: var(--sable-red-deep);
}
.catering-list p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(36, 30, 27, 0.85);
}

.dessert-row {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed rgba(169, 130, 46, 0.5);
}
.dessert-row h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 8px;
  color: var(--sable-red-deep);
}
.dessert-row p {
  margin: 0 0 26px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--sable-red-deep);
  color: var(--cream);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.wordmark--footer {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--cream);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.footer-tagline {
  margin: 0 0 20px;
  color: rgba(246, 239, 226, 0.8);
  font-size: 0.95rem;
  max-width: 30ch;
}

.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(246, 239, 226, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social-links a:hover {
  background: rgba(246, 239, 226, 0.15);
  border-color: var(--gold-foil);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-foil);
  margin: 0 0 16px;
}
.footer-col p {
  margin: 0 0 12px;
}
.footer-col a {
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--gold-foil);
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  border-bottom: 1px dotted rgba(246, 239, 226, 0.25);
  padding-bottom: 8px;
}

.footer-legal {
  border-top: 1px solid rgba(246, 239, 226, 0.2);
  padding: 20px 24px;
  font-size: 0.85rem;
  color: rgba(246, 239, 226, 0.65);
  text-align: center;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .catering-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(169, 130, 46, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .site-nav.is-open {
    max-height: 320px;
  }
  .site-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(169, 130, 46, 0.15);
    border-radius: 0;
  }
  .nav-cta {
    margin: 12px 24px 16px;
    text-align: center;
  }
  .hero {
    min-height: 100vh;
  }
  .section {
    padding: 64px 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
