/* Le Banc d'Essai — design tokens */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/playfair-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/inter-900.woff2') format('woff2');
}

:root {
  --terracotta: #C0352A;
  --cream: #F3EFE6;
  --charcoal: #2B2B2B;
  --ochre: #C9A227;

  --display: 'Playfair Display', 'Georgia', serif;
  --text: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --size-display: clamp(2.75rem, 9vw, 4.75rem);
  --size-h2: clamp(1.6rem, 4vw, 2.4rem);
  --size-body: 1rem;
  --size-small: 0.875rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 32px;
  --space-4: 64px;

  --radius: 2px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--size-body);
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--cream);
}

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

a { color: inherit; }

h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  margin: 0 0 var(--space-2);
  line-height: 1.05;
}

h2 { font-size: var(--size-h2); }

p { margin: 0 0 var(--space-2); }

.section-lede {
  max-width: 65ch;
  color: var(--charcoal);
}

/* focus */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-2);
  border-radius: var(--radius);
  font-family: var(--text);
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}
.btn-primary:hover { background: #a82c22; }

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.btn-call {
  background: var(--charcoal);
  color: var(--cream);
  padding: 0 var(--space-2);
}
.btn-call:hover { background: var(--terracotta); }

.btn-block { width: 100%; }

/* header */
.site-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(43,43,43,0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  text-decoration: none;
  color: var(--charcoal);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.1rem;
  margin-right: auto;
}
.nav {
  display: none;
  gap: var(--space-2);
  font-size: var(--size-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 150ms ease-out; }
.nav a:hover { border-color: currentColor; }

@media (min-width: 720px) {
  .nav { display: flex; }
}

/* hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-4) var(--space-2) var(--space-3);
  background: linear-gradient(to top, rgba(20,18,16,0.95) 0%, rgba(20,18,16,0.95) 70%, rgba(20,18,16,0.75) 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.hero-copy {
  color: var(--cream);
  max-width: 40rem;
  animation: hero-rise 450ms ease-out both;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--size-small);
  font-weight: 900;
  color: var(--ochre);
  margin: 0 0 var(--space-1);
}
.hero-copy h1 {
  font-size: var(--size-display);
  color: var(--cream);
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 32ch;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-2);
}
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; }
}
.hero-actions .btn-ghost {
  color: var(--cream);
  border-color: var(--cream);
}
.hero-actions .btn-ghost:hover {
  color: var(--ochre);
  border-color: var(--ochre);
}

.hero-snap {
  display: none;
  position: relative;
  margin: 0;
  align-self: flex-end;
  transform: rotate(-3deg);
  background: var(--cream);
  padding: 6px 6px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  width: 200px;
}
.hero-snap img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.hero-snap figcaption {
  position: absolute;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--charcoal);
  font-style: italic;
}
@media (min-width: 640px) {
  .hero-snap { display: block; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* status bar */
.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  justify-content: center;
  padding: var(--space-2);
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--text);
  font-weight: 900;
  font-size: var(--size-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* menu */
.menu-section, .story-section, .hours-section, .contact-section {
  padding: var(--space-4) var(--space-2);
  max-width: 640px;
  margin: 0 auto;
}

.menu-list {
  list-style: none;
  margin: var(--space-3) 0;
  padding: 0;
}
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  padding: var(--space-1) 0;
  border-bottom: 1px solid rgba(43,43,43,0.12);
}
.menu-list .name { font-size: 1.05rem; }
.menu-list .leader {
  flex: 1;
  border-bottom: 1px dotted rgba(43,43,43,0.4);
  margin-bottom: 5px;
}
.menu-list .price {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  color: var(--terracotta);
}
.menu-note {
  font-size: var(--size-small);
  color: rgba(43,43,43,0.75);
  font-style: italic;
}

/* story */
.story-section p { max-width: 60ch; }

/* terrace */
.terrace-section {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.terrace-section img {
  width: 100%;
  height: 46vh;
  min-height: 260px;
  object-fit: cover;
}
.terrace-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3) var(--space-2);
  background: linear-gradient(to top, rgba(10,8,8,0.88) 0%, rgba(60,20,17,0.82) 14%, rgba(120,33,27,0.68) 32%, rgba(192,53,42,0.42) 55%, rgba(192,53,42,0.12) 78%, rgba(192,53,42,0) 100%);
  color: var(--cream);
}
.terrace-copy h2 { color: var(--cream); }
.terrace-copy p { max-width: 40ch; }

/* hours */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-2) 0;
  font-variant-numeric: tabular-nums;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: var(--space-1) var(--space-1) var(--space-1) 0;
  border-bottom: 1px solid rgba(43,43,43,0.12);
  font-weight: 400;
  vertical-align: top;
}
.hours-table th { font-weight: 900; width: 55%; }
.hours-note { font-size: var(--size-small); font-style: italic; color: rgba(43,43,43,0.7); }

/* contact */
address { font-style: normal; margin: 0 0 var(--space-3); font-size: 1.05rem; }
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: stretch;
}
.contact-actions .btn-ghost { align-self: flex-start; }
@media (min-width: 480px) {
  .contact-actions .btn-ghost { align-self: auto; }
}

/* legal page */
.legal-section {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-2);
}
.legal-section h2 { font-size: 1.2rem; margin-top: var(--space-3); }

/* footer */
.site-footer {
  padding: var(--space-3) var(--space-2) var(--space-4);
  text-align: center;
  font-size: var(--size-small);
  color: rgba(43,43,43,0.7);
}
.site-footer a { text-decoration: underline; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  .btn, .nav a { transition: none; }
}

/* print */
@media print {
  .site-header, .site-footer, .hero-bg, .hero-snap, .terrace-section img { display: none; }
  .hero-scrim { background: none; padding: 0; }
  .hero-copy, .terrace-copy { color: var(--charcoal); position: static; background: none; }
  body { background: #fff; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .menu-section, .story-section, .hours-section, .contact-section { max-width: 100%; padding: var(--space-2) 0; page-break-inside: avoid; }
}
