/* =========================================================
   Variables
   ========================================================= */
:root {
  /* Color Palette */
  --color-bg: #f7f7f6; /* very pale powder-grey */
  --color-surface: #ffffff;
  --color-surface-soft: #f0f1ee;
  --color-text: #171a1a; /* deep slate-graphite */
  --color-text-muted: #6b7173;
  --color-primary: #4b604f; /* sage / muted rosemary */
  --color-primary-soft: #d3ddcf;
  --color-border-subtle: #e0e3dd;
  --color-border-strong: #b4bbb0;
  --color-success: #3b7d4a;
  --color-warning: #c98a2b;
  --color-danger: #b94745;
  --color-neutral-50: #fafafa;
  --color-neutral-100: #f2f2f2;
  --color-neutral-200: #e5e5e5;
  --color-neutral-300: #d4d4d4;
  --color-neutral-400: #a3a3a3;
  --color-neutral-500: #737373;
  --color-neutral-600: #525252;
  --color-neutral-700: #404040;
  --color-neutral-800: #262626;
  --color-neutral-900: #171717;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, 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 - body slightly elevated */
  --font-size-lg: 1.25rem;   /* 20px */
  --font-size-xl: 1.5rem;    /* 24px */
  --font-size-2xl: 1.875rem; /* 30px */
  --font-size-3xl: 2.25rem;  /* 36px */
  --font-size-4xl: 3rem;     /* 48px - hero headings */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale (0–96px) */
  --space-0: 0;
  --space-1: 0.125rem; /* 2px */
  --space-2: 0.25rem;  /* 4px */
  --space-3: 0.375rem; /* 6px */
  --space-4: 0.5rem;   /* 8px */
  --space-5: 0.625rem; /* 10px */
  --space-6: 0.75rem;  /* 12px */
  --space-8: 1rem;     /* 16px */
  --space-10: 1.25rem; /* 20px */
  --space-12: 1.5rem;  /* 24px */
  --space-14: 1.75rem; /* 28px */
  --space-16: 2rem;    /* 32px */
  --space-20: 2.5rem;  /* 40px */
  --space-24: 3rem;    /* 48px */
  --space-28: 3.5rem;  /* 56px */
  --space-32: 4rem;    /* 64px */
  --space-40: 5rem;    /* 80px */
  --space-48: 6rem;    /* 96px */

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* Shadows (soft, concrete-like) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.12);

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

  /* Layout */
  --container-max: 1120px; /* sharp central column for bistro layout */
}

/* =========================================================
   Reset / Normalize
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

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

button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
}

[disabled],
[aria-disabled="true"] {
  cursor: not-allowed;
}

/* Remove default focus outline, we will recreate accessible focus states */
:focus {
  outline: none;
}

/* =========================================================
   Base Styles
   ========================================================= */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-16);
}

h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-12);
}

h3 {
  font-size: var(--font-size-2xl);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
}

h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
}

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

p {
  margin-bottom: var(--space-8);
  color: var(--color-text);
}

p + p {
  margin-top: var(--space-4);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  text-underline-offset: 0.16em;
  transition: color var(--transition-base);
}

a:hover {
  color: #39493c;
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

strong,
b {
  font-weight: 600;
}

em,
i {
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-20) 0;
}

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

pre {
  padding: var(--space-10);
  background-color: var(--color-neutral-50);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

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

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

/* =========================================================
   Layout & Utilities
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
}

@media (min-width: 960px) {
  .container {
    padding-left: var(--space-20);
    padding-right: var(--space-20);
  }
}

.section {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

.section--tight {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

.section--hero {
  padding-top: var(--space-40);
  padding-bottom: var(--space-40);
}

@media (min-width: 960px) {
  .section--hero {
    padding-top: var(--space-48);
    padding-bottom: var(--space-48);
  }
}

/* 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;
}

.justify-end {
  justify-content: flex-end;
}

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

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

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

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

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

/* Grid utilities */
.grid {
  display: grid;
}

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

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

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

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

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

.grid > * {
  min-width: 0;
}

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

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

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

.m-auto {
  margin: auto;
}

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-8); }
.mt-md { margin-top: var(--space-16); }
.mt-lg { margin-top: var(--space-24); }
.mt-xl { margin-top: var(--space-32); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-8); }
.mb-md { margin-bottom: var(--space-16); }
.mb-lg { margin-bottom: var(--space-24); }
.mb-xl { margin-bottom: var(--space-32); }

.py-section {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

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

/* =========================================================
   Components: Hero & Layout Shell
   ========================================================= */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.site-footer {
  flex-shrink: 0;
}

/* Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background-color: rgba(247, 247, 246, 0.94);
  border-bottom: 1px solid var(--color-border-subtle);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  min-width: 0;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
}

.brandmark-badge {
  width: 28px;
  height: 28px;
  border-radius: 40% 60% 45% 55%;
  background: radial-gradient(circle at 20% 20%, #7e9a7b, #4b604f);
  box-shadow: var(--shadow-sm);
}

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

.nav a {
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-block: var(--space-4);
  border-bottom: 1px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.nav a:hover {
  color: var(--color-text);
}

.nav a.is-active {
  color: var(--color-text);
  border-color: var(--color-primary);
}

.nav-toggle {
  display: none;
}

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-subtle);
    background-color: var(--color-surface);
    gap: 4px;
  }

  .nav-toggle-bar {
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background-color: var(--color-text);
  }
}

/* Hero Layout (Editorial Split, static) */
.hero {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-32);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-24);
  }
}

.hero-kicker {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.3rem);
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-10);
}

.hero-title span.hero-title-accent {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 34rem;
  margin-bottom: var(--space-16);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-10);
  margin-top: var(--space-16);
}

.hero-copy {
  min-width: 0;
}

/* Hero visual stack */
.hero-visual {
  position: relative;
  min-height: 260px;
  min-width: 0;
  overflow-x: clip;
}

.hero-plate {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at 0% 0%, #ffffff, #e1e3df);
  box-shadow: var(--shadow-md);
}

.hero-plate-media {
  position: relative;
  padding: var(--space-16);
}

.hero-plate-image-main {
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
}

.hero-plate-image-main img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.hero-plate-tag {
  position: absolute;
  top: var(--space-14);
  left: var(--space-14);
  right: var(--space-14);
  max-width: calc(100% - (var(--space-14) * 2));
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background-color: rgba(15, 23, 17, 0.86);
  color: #f9fafb;
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
}

.hero-plate-card {
  position: absolute;
  right: var(--space-16);
  bottom: -18%;
  width: 44%;
  min-width: 170px;
  border-radius: 18px;
  background: radial-gradient(circle at 0% 0%, #1f2937, #020617);
  color: #f9fafb;
  padding: var(--space-10) var(--space-12);
  box-shadow: var(--shadow-lg);
}

.hero-plate-card-label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(248, 250, 252, 0.76);
  margin-bottom: var(--space-4);
}

.hero-plate-card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.hero-plate-card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-plate-card-pips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 42px;
}

.hero-plate-card-pip {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.hero-plate-card-footer {
  margin-top: var(--space-6);
  font-size: var(--font-size-xs);
  display: flex;
  justify-content: space-between;
  color: rgba(248, 250, 252, 0.72);
}

.hero-floating-badge {
  position: absolute;
  top: -10%;
  right: 8%;
  padding: 0.6rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(209, 213, 219, 0.7);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--font-size-xs);
}

.hero-floating-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #a7c19f, #4b604f);
}

.hero-floating-text span {
  display: block;
}

.hero-floating-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.hero-floating-main {
  font-weight: 500;
  color: var(--color-text);
}

@media (max-width: 960px) {
  .hero-plate-card {
    position: absolute;
    right: var(--space-10);
    bottom: -16%;
  }

  .hero-floating-badge {
    right: var(--space-10);
  }
}

@media (max-width: 640px) {
  .hero-plate-image-main img {
    height: 220px;
  }

  .hero-plate-card {
    display: none;
  }

  .hero-plate-tag {
    top: var(--space-10);
    left: var(--space-10);
    right: var(--space-10);
    max-width: none;
    white-space: normal;
    letter-spacing: 0.1em;
  }

  .hero-floating-badge {
    position: static;
    margin-top: var(--space-10);
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   Components: Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #f9fafb;
  box-shadow: 0 12px 24px rgba(75, 96, 79, 0.34);
}

.btn-primary:hover {
  background-color: #3d4d40;
  box-shadow: 0 14px 30px rgba(75, 96, 79, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background-color: rgba(15, 23, 42, 0.02);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  box-shadow: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .btn {
    white-space: normal;
  }
}

/* =========================================================
   Components: Form Elements
   ========================================================= */
.form-field {
  margin-bottom: var(--space-14);
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.form-label span.helper {
  color: var(--color-text-muted);
  font-weight: 400;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface);
  color: var(--color-text);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary-soft);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: var(--color-danger);
}

.form-error {
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

.form-success {
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-success);
}

/* =========================================================
   Components: Card
   ========================================================= */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-xs);
  padding: var(--space-16);
}

.card--soft {
  background: linear-gradient(135deg, #ffffff, #f2f4f0);
}

.card-header {
  margin-bottom: var(--space-10);
}

.card-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

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

.card-body {
  font-size: var(--font-size-base);
}

.card-footer {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Menu-style cards for the bistro menu page */
.menu-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-10);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-border-subtle);
}

.menu-card:last-child {
  border-bottom: none;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-card-meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.menu-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.menu-card-price {
  font-weight: 500;
}

/* =========================================================
   Components: Tags, Chips & Labels
   ========================================================= */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-primary);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-soft);
  font-size: var(--font-size-xs);
}

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

/* =========================================================
   Components: Tables (Events / Calendar)
   ========================================================= */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

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

.table th,
.table td {
  padding: 0.8rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-subtle);
}

.table tbody tr:hover {
  background-color: rgba(241, 245, 249, 0.4);
}

/* =========================================================
   Utilities: Bistro & Poker Accents
   ========================================================= */
.heading-sage {
  color: var(--color-primary);
}

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

.separator-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-subtle), transparent);
  margin: var(--space-20) 0;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.badge-inline--success {
  border-color: var(--color-success);
  color: var(--color-success);
}

.badge-inline--danger {
  border-color: var(--color-danger);
  color: var(--color-danger);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  background-color: rgba(255, 255, 255, 0.94);
}

.site-footer-inner {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* =========================================================
   Global List and Nav Toggle Overrides (Per Spec)
   ========================================================= */
ul {
  list-style: none !important;
}

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

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