:root {
  --color-bg: #f5f0e4;
  --color-text: #221f1b;
  --color-muted: #6b5f56;
  --color-dark: #221f1b;
  --color-cream: #f5efdf;
  --color-accent: #b5754a;        /* copper — decorative use (borders, icons, dark-bg text) */
  --color-accent-text: #8a5233;   /* darker copper — meets AA contrast on cream for text/links */
  --color-accent-hover: #713f27;
  --font-heading: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --container-width: 1140px;
  --focus-ring: 3px solid #2563eb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

h1, h2, h3 { font-family: var(--font-heading); margin: 0 0 0.5em; line-height: 1.2; letter-spacing: 0.01em; }

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

/* Visible focus for keyboard users on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

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

section { padding: 80px 0; }

.section-subtitle { color: var(--color-muted); margin-top: -10px; margin-bottom: 2em; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--color-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
}
.btn-primary {
  background: var(--color-accent-text);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-outline {
  border-color: var(--color-dark);
  color: var(--color-dark);
  background: transparent;
}
.btn-outline:hover { background: var(--color-dark); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 228, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 64px; width: auto; }
.logo-fallback { font-family: var(--font-heading); font-size: 1.4rem; font-weight: bold; letter-spacing: 0.08em; }
.logo-subtitle {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--color-accent-text);
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a { font-weight: 500; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--color-accent-text); }

.nav-cta {
  background: var(--color-accent-text);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--color-accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--color-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-color: #221f1b;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,31,27,0.55) 0%, rgba(34,31,27,0.8) 100%);
}
.hero-content { position: relative; z-index: 1; text-align: center; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--color-cream); letter-spacing: 0.08em; }
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 0.5em;
}
.hero-tagline { font-size: 1.25rem; margin-bottom: 2em; color: #ece3d4; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-primary { background: var(--color-accent); }
.hero-actions .btn-primary:hover { background: var(--color-accent-hover); }
.hero-actions .btn-outline { border-color: #fff; color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--color-dark); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  justify-items: center;
}
.about-text { max-width: 760px; text-align: center; }
.about-media { max-width: 760px; }
.about-media img { border-radius: 8px; }
.about-pillars-title {
  margin-top: 1.6em;
  font-size: 1.2rem;
  color: var(--color-accent-text);
}
.about-pillars { list-style: none; margin: 0; padding: 0; }
.about-pillars li {
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 3px solid var(--color-accent);
}
@media (min-width: 801px) {
  .about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .about-pillars li { margin-bottom: 0; }
}
.about-pillars strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.1rem;
}

/* Menu */
.menu-category { margin-bottom: 40px; }
.menu-category h3 {
  color: var(--color-accent-text);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { margin-bottom: 20px; }
.menu-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
}
.menu-item-head .price { color: var(--color-accent-text); white-space: nowrap; }
.menu-list p { margin: 4px 0 0; color: var(--color-muted); font-size: 0.95rem; }
.menu-download { text-align: center; margin-top: 40px; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
}
.menu-category h3 .menu-category-price { float: right; }
.menu-category-note {
  margin: -12px 0 16px;
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu-list-compact li { margin-bottom: 10px; }
.menu-item-head .allergens {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.menu-item-head .raw-fish {
  display: inline-block;
  margin-left: 4px;
  padding: 0 8px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-accent-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

.menu-signature {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 24px 28px;
  border: 1px solid var(--color-accent);
  outline: 1px solid var(--color-accent);
  outline-offset: 5px;
  text-align: center;
}
.menu-signature-label {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}
.menu-signature .menu-item-head { justify-content: center; }
.menu-signature > p:last-child { margin: 4px 0 0; color: var(--color-muted); font-size: 0.95rem; }

.menu-allergens {
  margin-top: 8px;
  padding: 20px 24px;
  background: var(--color-cream);
  border-left: 3px solid var(--color-accent);
}
.menu-allergens h3 { font-size: 1.1rem; color: var(--color-accent-text); margin-bottom: 10px; }
.menu-allergens ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 0.95rem;
}
.menu-allergens strong { color: var(--color-accent-text); margin-right: 4px; }
.menu-disclaimer {
  margin: 20px 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

@media (max-width: 800px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* Hours */
/* Reserve */
.reserve { background: var(--color-cream); text-align: center; }
.reserve-widget {
  display: flex;
  justify-content: center;
  min-height: 300px;
}
.reserve-widget iframe { max-width: 100%; }
/* OpenTable's "wide" layout on desktop, "standard" below that */
.reserve-widget-wide { display: none; min-height: 150px; }
@media (min-width: 900px) {
  .reserve-widget-wide { display: flex; }
  .reserve-widget-standard { display: none; }
}

.hours { background: var(--color-dark); color: #ece3d4; }
.hours h2 { color: #fff; }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.hours-list { margin: 0 0 32px; max-width: 380px; }
.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(236, 227, 212, 0.2);
}
.hours-list dt { font-weight: 500; }
.hours-list dd { margin: 0; color: var(--color-accent); white-space: nowrap; }
.hours-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 8px;
}

/* Footer */
.site-footer { background: #17140f; color: #d9cfc2; padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h3 { color: #fff; }
.site-footer p, .site-footer a { color: #d9cfc2; }
.site-footer a:hover { color: var(--color-accent); }
.social-links { list-style: none; padding: 0; margin: 0; }
.social-links li { margin-bottom: 8px; }
.footer-bottom { padding: 20px 0; font-size: 0.85rem; text-align: center; }
.footer-legal {
  text-align: center;
  font-size: 0.85rem;
  padding-top: 20px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-legal span { color: #6b6156; }

/* Simple page header/footer used on legal pages */
.page-hero {
  background: var(--color-dark);
  color: var(--color-cream);
  padding: 64px 0 48px;
  text-align: center;
}
.page-hero h1 { color: #fff; letter-spacing: 0.06em; }
.legal-content { padding: 60px 0; max-width: 800px; }
.legal-content h2 { margin-top: 1.6em; color: var(--color-accent-text); }
.legal-content p, .legal-content li { color: var(--color-text); }
.legal-content .updated { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 2em; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .hours-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 108px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
}

@media (max-width: 700px) {
  .logo img { height: 48px; }
  section { padding: 56px 0; }
}

/* =========================================
   Accessibility toolbar widget
   ========================================= */
.a11y-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: 2px solid var(--color-accent);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.a11y-toggle:hover { background: #35302a; }

.a11y-panel {
  position: fixed;
  bottom: 82px;
  right: 20px;
  z-index: 1200;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #fff;
  color: var(--color-text);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  padding: 20px;
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #eee;
  font-size: 0.92rem;
}
.a11y-row:first-of-type { border-top: none; }
.a11y-btn-group { display: flex; gap: 6px; }
.a11y-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}
.a11y-btn:hover { background: #f0f0f0; }
.a11y-switch {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 20px;
  background: #ccc;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.a11y-switch[aria-pressed="true"] { background: var(--color-accent-text); }
.a11y-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s ease;
}
.a11y-switch[aria-pressed="true"]::after { left: 20px; }
.a11y-reset {
  margin-top: 14px;
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--color-dark);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}
.a11y-reset:hover { background: var(--color-dark); color: #fff; }
.a11y-statement-link { display: block; text-align: center; margin-top: 12px; font-size: 0.85rem; text-decoration: underline; }

/* Text-size states, applied to <html> */
html.a11y-text-lg { font-size: 112%; }
html.a11y-text-xl { font-size: 125%; }

/* Underline links state */
html.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 2px; }

/* High contrast state */
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast .site-header { background: #000 !important; border-bottom-color: #fff; }
html.a11y-contrast .logo-fallback,
html.a11y-contrast .nav-links a,
html.a11y-contrast .nav-toggle span { color: #fff !important; }
html.a11y-contrast .hero,
html.a11y-contrast .hours,
html.a11y-contrast .site-footer,
html.a11y-contrast .page-hero { background: #000 !important; }
html.a11y-contrast .hero-overlay { background: rgba(0,0,0,0.6) !important; }
html.a11y-contrast a { color: #ffd866 !important; }
html.a11y-contrast .btn-primary { background: #ffd866 !important; color: #000 !important; }
html.a11y-contrast .btn-outline { border-color: #fff !important; color: #fff !important; }
html.a11y-contrast .about-pillars-title,
html.a11y-contrast .menu-category h3,
html.a11y-contrast .menu-item-head .price,
html.a11y-contrast .menu-signature-label,
html.a11y-contrast .menu-allergens h3,
html.a11y-contrast .menu-allergens strong,
html.a11y-contrast .menu-item-head .raw-fish { color: #ffd866 !important; }
html.a11y-contrast .menu-allergens { background: #111 !important; }
html.a11y-contrast .menu-list p,
html.a11y-contrast .menu-signature > p:last-child,
html.a11y-contrast .menu-item-head .allergens,
html.a11y-contrast .menu-category-note,
html.a11y-contrast .menu-disclaimer { color: #ddd !important; }
html.a11y-contrast .a11y-panel { background: #111; color: #fff; }
html.a11y-contrast .a11y-row { border-top-color: #333; }

/* Reduced-motion state (independent of OS setting) */
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* =========================================
   Cookie consent banner
   ========================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background: var(--color-dark);
  color: #f0e9dc;
  padding: 18px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.cookie-banner-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.92rem; max-width: 720px; }
.cookie-banner a { text-decoration: underline; color: var(--color-accent); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--color-accent);
  color: #1a1613;
  border: none;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
.cookie-accept:hover { background: #cf9165; }
.cookie-decline {
  background: transparent;
  color: #f0e9dc;
  border: 1px solid #6b6156;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-decline:hover { border-color: #f0e9dc; }
