:root {
  /* Color System */
  --color-background: #f7f7f8; /* pale powder-grey for airy bistro feel */
  --color-background-alt: #ffffff;
  --color-surface: #ffffff;
  --color-surface-muted: #f0f1f2;

  --color-text: #15171a; /* deep slate-graphite */
  --color-text-soft: #4b4f56;
  --color-text-muted: #767b82;

  --color-primary: #4b604f; /* muted rosemary / sage */
  --color-primary-soft: #627a65;
  --color-primary-subtle: #e3ebe5;

  --color-success: #2f7c4a;
  --color-warning: #b8811c;
  --color-danger: #b6423c;

  --color-border-subtle: #e0e2e5;
  --color-border-strong: #c5c8cc;

  /* Neutral Grays */
  --gray-50: #f7f7f8;
  --gray-100: #f0f1f2;
  --gray-200: #e0e2e5;
  --gray-300: #c5c8cc;
  --gray-400: #a4a9b0;
  --gray-500: #848b93;
  --gray-600: #656d76;
  --gray-700: #4b525a;
  --gray-800: #32363c;
  --gray-900: #17191c;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.375rem;  /* 22px */
  --font-size-2xl: 1.75rem;  /* 28px */
  --font-size-3xl: 2.25rem;  /* 36px */
  --font-size-4xl: 3rem;     /* 48px */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing Scale (px) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-11: 44px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-18: 72px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows (soft urban, concrete counter inspired) */
  --shadow-soft: 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 14px 40px rgba(0, 0, 0, 0.08);
  --shadow-hard: 0 22px 60px rgba(0, 0, 0, 0.18);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-base: 180ms ease-out;
  --transition-slow: 260ms ease-out;
}

/* =========================================
   RESET & NORMALIZE
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
li,
fieldset,
legend,
pre {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
}

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

ul,
ol {
  list-style: none;
}

/* Improve text rendering and prevent layout shift on images */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img[loading="lazy"] {
  transition: filter var(--transition-base);
}

/* =========================================
   BASE TYPOGRAPHY & BODY
   ========================================= */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  background: radial-gradient(circle at top left, #fbfbfc 0, var(--color-background) 42%, #f4f5f6 100%);
  color: var(--color-text);
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 600;
  line-height: var(--line-height-snug);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-5);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

p {
  font-size: var(--font-size-md);
  color: var(--color-text-soft);
  margin-bottom: var(--space-4);
}

strong {
  font-weight: 600;
}

small {
  font-size: var(--font-size-sm);
}

code,
pre {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

/* Links: subtle underline on hover only */
a {
  position: relative;
  transition: color var(--transition-base);
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width var(--transition-base);
}

a:hover::after,
a:focus-visible::after {
  width: 100%;
}

/* =========================================
   ACCESSIBILITY & MOTION
   ========================================= */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

:focus {
  outline: none;
}

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

/* Screen-reader only utility */
.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;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 1200px) {
  .container {
    max-width: 1180px;
  }
}

.section {
  padding-block: var(--space-16);
}

.section--tight {
  padding-block: var(--space-12);
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.section__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section__title {
  max-width: 32rem;
}

/* Flex utilities */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-xs {
  gap: var(--space-2);
}

.gap-sm {
  gap: var(--space-3);
}

.gap-md {
  gap: var(--space-4);
}

.gap-lg {
  gap: var(--space-6);
}

.gap-xl {
  gap: var(--space-10);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Alignment helpers */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-inline: auto;
}

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-2); }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-4); }
.mt-lg { margin-top: var(--space-8); }
.mt-xl { margin-top: var(--space-12); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-2); }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-4); }
.mb-lg { margin-bottom: var(--space-8); }
.mb-xl { margin-bottom: var(--space-12); }

.py-section {
  padding-block: var(--space-18);
}

/* Hero layout utility for static split editorial banner */
.hero {
  padding-block: var(--space-18);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
}

.hero__kicker {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.hero__headline {
  font-size: clamp(2.6rem, 4.2vw, 3.4rem);
  line-height: var(--line-height-tight);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
}

.hero__subcopy {
  max-width: 30rem;
}

.hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.hero__badge {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero__media-stack {
  position: relative;
  isolation: isolate;
}

.hero__plate,
.hero__greens {
  border-radius: calc(var(--radius-xl) * 1.1);
  overflow: hidden;
  background-color: #dcdfe4;
  box-shadow: var(--shadow-elevated);
}

.hero__plate {
  aspect-ratio: 4 / 3;
}

.hero__greens {
  position: absolute;
  width: 54%;
  right: -4%;
  bottom: -8%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero__tag {
  position: absolute;
  left: -6%;
  top: 10%;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(248, 250, 248, 0.94);
  border: 1px solid rgba(209, 219, 212, 0.9);
  box-shadow: var(--shadow-soft);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__plate img,
.hero__greens img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .hero {
    padding-block: var(--space-14);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__media-stack {
    order: -1;
  }

  .hero__tag {
    left: 4%;
  }
}

@media (max-width: 640px) {
  .hero__media-stack {
    max-width: 420px;
    margin-inline: auto;
  }

  .hero__greens {
    display: none;
  }

  .hero__tag {
    top: 6%;
  }
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons: primary CTAs for reservations & menu */
.button,
.btn {
  --btn-bg: var(--color-primary);
  --btn-bg-hover: var(--color-primary-soft);
  --btn-border: transparent;
  --btn-color: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-border);
  background-color: var(--btn-bg);
  color: var(--btn-color);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.button:hover,
.btn:hover {
  background-color: var(--btn-bg-hover);
  box-shadow: 0 10px 26px rgba(75, 96, 79, 0.22);
  transform: translateY(-1px);
}

.button:active,
.btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(75, 96, 79, 0.18);
}

.button:disabled,
.btn:disabled,
.button[aria-disabled="true"],
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.button--ghost,
.btn--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(75, 96, 79, 0.06);
  --btn-border: var(--color-border-subtle);
  --btn-color: var(--color-text);
}

.button--light,
.btn--light {
  --btn-bg: #ffffff;
  --btn-bg-hover: #f4f6f5;
  --btn-border: var(--color-border-subtle);
  --btn-color: var(--color-text);
}

/* Inputs: reservation & contact forms */
.input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(255, 255, 255, 0.96);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.input::placeholder,
textarea::placeholder,
input::placeholder {
  color: var(--color-text-muted);
}

.input:focus-visible,
textarea:focus-visible,
select:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="number"]:focus-visible,
input[type="date"]:focus-visible,
input[type="time"]:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(75, 96, 79, 0.18), 0 16px 30px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
}

input[disabled],
textarea[disabled],
select[disabled] {
  cursor: not-allowed;
  background-color: #f1f3f4;
  color: var(--color-text-muted);
}

label {
  display: block;
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.form-row {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 720px) {
  .form-row--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Cards: for menu sections, event tiles, poker lounge info */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  border: 1px solid rgba(224, 226, 229, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  padding: var(--space-6);
}

.card--muted {
  background: linear-gradient(135deg, #f6f8f6 0, #f5f7f9 100%);
}

.card__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.card__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Bistro list items, e.g. seasonal dishes */
.dish-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 10px;
  border-bottom: 1px solid rgba(224, 226, 229, 0.9);
}

.dish-row:last-child {
  border-bottom: none;
}

.dish-row__title {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.dish-row__note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.dish-row__price {
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
}

/* Navigation shell (for multi-page FR eco-bistro) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(247, 247, 248, 0.88);
  border-bottom: 1px solid rgba(224, 226, 229, 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.brand-mark__glyph {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 0, #8ca58f 0, #4b604f 55%, #273126 100%);
}

.brand-mark__text {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--font-size-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
}

.nav__link--active {
  color: var(--color-text);
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background-color: var(--color-primary);
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }
}

/* Footer */
.site-footer {
  padding-block: var(--space-10);
  border-top: 1px solid rgba(224, 226, 229, 0.8);
  background-color: #f6f7f8;
}

.site-footer__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Status badges for calendar & card room */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge--success {
  background-color: rgba(47, 124, 74, 0.08);
  color: #245739;
}

.badge--warning {
  background-color: rgba(184, 129, 28, 0.08);
  color: #815514;
}

.badge--outline {
  border: 1px solid var(--color-border-subtle);
  background-color: transparent;
  color: var(--color-text);
}

/* Map / location block */
.location-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(224, 226, 229, 0.9);
  background-color: #e4e6e9;
}

.location-card__map {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.location-card__body {
  padding: var(--space-5);
  background-color: #ffffff;
}

/* Poker lounge highlight strip */
.poker-strip {
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  background: radial-gradient(circle at 0 0, #eff5ef 0, #e5ece6 36%, #e0e2e5 100%);
  border: 1px solid rgba(208, 215, 209, 0.9);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.poker-strip__title {
  font-size: 1.1rem;
}

.poker-strip__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Utility color classes */
.text-muted {
  color: var(--color-text-muted);
}

.text-soft {
  color: var(--color-text-soft);
}

.text-primary {
  color: var(--color-primary);
}

.bg-primary-soft {
  background-color: var(--color-primary-subtle);
}

.border-top {
  border-top: 1px solid var(--color-border-subtle);
}

.border-bottom {
  border-bottom: 1px solid var(--color-border-subtle);
}

/* =========================================
   GLOBAL SYNTAX INJECTIONS (PER SPEC)
   ========================================= */
ul {
  list-style: none !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
}
html, body {
  overflow-x: clip;
  max-width: 100%;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}
