/* Art Café Boréale. Palette taken from the "L'Art de L'Illusion" brand image. */
:root {
  --cream: #f4efe8;
  --paper: #fbf8f4;
  --ink: #3f3a36;
  --muted: #655c56;
  --line: #ddd4c9;
  --rose: #94504a;
  --sage: #5f6f60;
  --gold: #a88450;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.75rem, 7vw, 5rem); letter-spacing: .02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.6rem; }

.eyebrow {
  font: 400 .78rem/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gutter);
  background: rgba(244, 239, 232, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; display: flex; align-items: baseline; gap: .6rem; }
.brand-name { font: 600 1.6rem/1 var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.brand-sub { font: 400 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: clamp(.9rem, 2.2vw, 2rem); overflow-x: auto; }
.nav a {
  text-decoration: none; white-space: nowrap;
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--rose); }

/* ---------- Layout ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.section-title { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-title::after {
  content: ""; display: block; width: 48px; height: 1px;
  background: var(--gold); margin: .9rem auto 0;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.tagline { font: 500 clamp(1.3rem, 2.6vw, 1.75rem)/1.3 var(--serif); margin: 0 0 1.5rem; }
.tagline em { color: var(--rose); }
.tagline .sep { color: var(--gold); margin: 0 .3em; }
.lead { max-width: 34rem; color: var(--muted); margin: 0 0 2rem; }
.hero-image img {
  width: 100%; max-height: 78vh; object-fit: cover;
  aspect-ratio: 3 / 4; border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(63, 58, 54, .45);
}

.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-block; text-decoration: none;
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .95rem 1.6rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--rose); border-color: var(--rose); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--paper); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--paper); padding: 2.2rem 2rem; border-top: 2px solid var(--gold); }
.card p { margin: 0; color: var(--muted); }

/* ---------- Illusion ---------- */
.illusion { max-width: none; background: var(--paper); }
.illusion-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.illusion-text h2 { color: var(--sage); }
.illusion-text p { color: var(--muted); }
.illusion-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 1.5rem; }

/* ---------- Menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.menu-item { padding: 0 2rem; text-align: center; }
.menu-item + .menu-item { border-left: 1px solid var(--line); }
.menu-item h3 { color: var(--rose); }
.menu-item p { margin: 0; color: var(--muted); }
.menu-photo { max-width: 420px; margin: clamp(2.5rem, 6vw, 4rem) auto 0; }
.menu-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-grid figcaption {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: .7rem 0 0;
}

/* ---------- Visit ---------- */
.visit { border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.storefront img { width: 100%; }
.visit-info h3 { margin-top: 1.8rem; }
.visit-info h3:first-child { margin-top: 0; }
address { font-style: normal; }
.link { color: var(--rose); text-underline-offset: 3px; }
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 300; }
.hours td { text-align: right; }
.hours .closed { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9d1c7; text-align: center; padding: 3rem var(--gutter); }
.footer p { margin: .3rem 0; font-size: .9rem; }
.footer .brand-name { color: var(--paper); font-size: 1.8rem; margin-bottom: .6rem; }
.footer a { color: #d9d1c7; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero, .illusion-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-image img { max-height: 70vh; }
  .about-grid, .menu-grid { grid-template-columns: 1fr; }
  .menu-item { padding: 1.5rem 0; }
  .menu-item + .menu-item { border-left: 0; border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .topbar { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .nav { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
