:root {
  /* =============================
     Variables
     ============================= */

  /* Color Palette - Historic Budapest Bistro */
  --color-background: #f6f1e9; /* antique ivory / light alabaster */
  --color-surface: #fbf7f1;
  --color-surface-elevated: #f2ebe0;
  --color-text: #1e1e1e; /* deep chalkboard charcoal */
  --color-text-muted: #6f6457;

  --color-primary: #a86a3d; /* warm cognac brown */
  --color-primary-soft: #d8b08c;
  --color-primary-contrast: #ffffff;

  --color-success: #3e7a4a;
  --color-warning: #b8860b;
  --color-danger: #a33a3a;

  --color-border-subtle: #e2dcd5; /* subtle framing border */
  --color-border-strong: #b9aa94;

  --color-gray-50: #fbf7f1;
  --color-gray-100: #f0e7dd;
  --color-gray-200: #e2dcd5;
  --color-gray-300: #cfc2b3;
  --color-gray-400: #b3a290;
  --color-gray-500: #98846c;
  --color-gray-600: #7a6550;
  --color-gray-700: #5d4c3a;
  --color-gray-800: #3c3024;
  --color-gray-900: #221910;

  /* Typography - Editorial Pairing */
  --font-family-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-serif-display: "Cormorant Garamond", "Playfair Display", "Georgia", serif;
  --font-family-sans-ui: "Source Sans Pro", "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-size-root: 16px;
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --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 (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows - soft, café-like */
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 18px 45px rgba(0, 0, 0, 0.08);
  --shadow-subtle-inner: inset 0 0 0 1px rgba(255, 255, 255, 0.5);

  /* Transition Durations */
  --transition-fast: 120ms;
  --transition-normal: 200ms;
  --transition-slow: 320ms;

  /* Layout */
  --layout-max-width: 1120px;
  --layout-gutter: var(--space-4);
  --layout-section-vertical: var(--space-16);
}

/* =============================
   Reset / Normalize
   ============================= */

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

html {
  font-size: var(--font-size-root);
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

:focus {
  outline: none;
}

/* Remove default link underlines while preserving accessibility */
a {
  text-decoration: none;
  color: inherit;
}

a:hover,
a:focus {
  text-decoration: none;
}

/* =============================
   Base Styles
   ============================= */

body {
  min-height: 100vh;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-sans-ui);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

/* Headings - editorial, café menu feel */

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

h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

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

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

strong {
  font-weight: 600;
}

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

/* Link Styling - subtle brass / cognac */

a {
  color: var(--color-primary);
  transition: color var(--transition-normal) ease, opacity var(--transition-fast) ease;
}

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

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

/* Lists */

ul,
ol {
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
}

li {
  margin-bottom: var(--space-1);
}

/* =============================
   Utilities
   ============================= */

/* Container */

.container {
  width: 100%;
  max-width: var(--layout-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
}

.section {
  padding-top: var(--layout-section-vertical);
  padding-bottom: var(--layout-section-vertical);
}

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

/* Flex Helpers */

.flex {
  display: flex;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

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

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

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

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

/* Grid Helpers */

.grid {
  display: grid;
}

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

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

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

/* Visually hidden for screen readers */

.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;
}

/* Elevation & framing helpers */

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

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-medium {
  box-shadow: var(--shadow-medium);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

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

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

.text-uppercase {
  text-transform: uppercase;
}

.letter-spaced {
  letter-spacing: 0.18em;
}

/* =============================
   Components
   ============================= */

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--transition-normal) ease,
    color var(--transition-normal) ease,
    border-color var(--transition-normal) ease,
    box-shadow var(--transition-normal) ease,
    transform var(--transition-fast) ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: var(--color-text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.6);
}

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

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.btn[disabled],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

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

/* Inputs & Form Controls */

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: var(--font-size-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  transition:
    border-color var(--transition-normal) ease,
    box-shadow var(--transition-normal) ease,
    background-color var(--transition-fast) ease;
}

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

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(168, 106, 61, 0.35);
  background-color: #fffdf8;
}

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

.field-help {
  margin-top: var(--space-1);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

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

/* Card Component - menu panels, lounge teasers, event tiles */

.card {
  position: relative;
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
}

.card--tight {
  padding: var(--space-4);
}

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

.card-title {
  font-family: var(--font-family-serif-display);
  font-size: var(--font-size-xl);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.card-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.card-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero Layout - static, editorial asymmetric grid */

.hero {
  padding-top: calc(var(--layout-section-vertical) * 1.2);
  padding-bottom: calc(var(--layout-section-vertical) * 1.1);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.hero-copy {
  position: relative;
  padding-right: var(--space-4);
}

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

.hero-title {
  margin-bottom: var(--space-3);
}

.hero-lede {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 32rem;
}

.hero-actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-meta {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-art {
  position: relative;
}

.hero-pane {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  background-color: var(--color-surface-elevated);
  box-shadow: var(--shadow-medium);
}

.hero-pane-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #d2c4b0;
}

.hero-pane-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pane-caption {
  position: absolute;
  left: 8%;
  bottom: 8%;
  max-width: 70%;
  padding: var(--space-4);
  background: rgba(246, 241, 233, 0.9);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 220, 213, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-pane-caption-title {
  font-family: var(--font-family-serif-display);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-1);
}

.hero-pane-caption-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-pane-badge {
  position: absolute;
  top: 8%;
  right: 10%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-pill);
  background-color: rgba(30, 30, 30, 0.88);
  color: #f8f1e4;
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-pane-figure {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-pane-caption {
    max-width: 84%;
    left: 7%;
    right: 7%;
    bottom: 7%;
  }

  .hero-pane-badge {
    top: 6%;
    right: 6%;
  }
}

/* Navigation Shell Helpers */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(246, 241, 233, 0.96), rgba(246, 241, 233, 0.92));
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-title {
  font-family: var(--font-family-serif-display);
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}

.nav-link {
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-normal) ease, border-color var(--transition-normal) ease;
}

.nav-link:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-border-subtle);
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.nav-toggle-line {
  width: 18px;
  height: 1px;
  background-color: var(--color-text);
}

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

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

/* Focus-visible global outline for non-form controls */

[tabindex]:focus-visible,
button:focus-visible,
summary:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Accessibility: Respect Reduced Motion */

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

/* Global Syntax Code Injections */

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