/* Layout: dark walnut dining-room mood. Full-bleed salon hero with the logo, then the menu card of the day beside a plate photo, an asymmetric photo grid, and a visit block. Colors come from the room itself: wood ceiling, terracotta tile, the gold of the sign, sage placemats. */
  :root {
    --espresso: #1c130e;
    --walnut: #2a1b12;
    --wood: #5a2e1a;
    --tile: #b8603a;
    --gold: #dda73b;
    --linen: #efe3cf;
    --muted: #bba88f;
    --sage: #9aaa85;
    --line: rgba(239, 227, 207, 0.14);
    --veil-strong: rgba(28, 19, 14, 0.94);
    --veil-mid: rgba(28, 19, 14, 0.74);
    --veil-soft: rgba(28, 19, 14, 0.3);
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: dark;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 72px; }
  body {
    background: var(--espresso);
    color: var(--linen);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    padding-bottom: 76px;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
  p { margin: 0; }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

  /* language switch: Spanish is default */
  html[data-lang="en"] [lang="es"] { display: none; }
  html:not([data-lang="en"]) [lang="en"] { display: none; }

  .wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
  .eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

  /* header */
  .bar {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
    background: var(--espresso); border-bottom: 1px solid var(--line);
  }
  .bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
  .brand { font-family: var(--font-display); font-size: 21px; text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
  .nav { display: none; gap: 26px; font-size: 15px; color: var(--muted); }
  .nav a { text-decoration: none; }
  .nav a:hover { color: var(--linen); }
  .bar-end { display: flex; align-items: center; gap: 10px; }
  .lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
  .lang button {
    font: 600 13px var(--font-body); letter-spacing: 0.08em; color: var(--muted);
    background: none; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer;
  }
  .lang button[aria-pressed="true"] { background: var(--linen); color: var(--espresso); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 16px var(--font-body); text-decoration: none; cursor: pointer;
    padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-gold { background: var(--gold); color: var(--espresso); }
  .btn-gold:hover { background: #ebb84c; }
  .btn-line { border-color: rgba(239, 227, 207, 0.4); color: var(--linen); }
  .btn-line:hover { background: rgba(239, 227, 207, 0.08); }
  .btn-sm { padding: 8px 16px; font-size: 14px; }

  /* hero */
  .hero { position: relative; isolation: isolate; padding-block: clamp(48px, 9vw, 112px); overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(0deg, var(--espresso) 0%, transparent 28%),
      linear-gradient(90deg, var(--veil-strong) 0%, var(--veil-mid) 52%, var(--veil-soft) 100%);
  }
  .hero-logo { width: clamp(190px, 30vw, 300px); height: auto; aspect-ratio: 574 / 524; mix-blend-mode: lighten; margin-left: -14px; }
  .hero h1 { font-size: clamp(34px, 6vw, 62px); max-width: 15ch; margin-top: 8px; }
  .hero .tag { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.6vw, 26px); color: var(--sage); margin-top: 14px; }
  .hero .intro { max-width: 46ch; color: var(--linen); opacity: 0.88; margin-top: 18px; }
  .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

  /* menu */
  .section { padding-block: clamp(56px, 8vw, 104px); }
  .menu-head { display: grid; gap: 10px; margin-bottom: 36px; }
  .menu-head h2 { font-size: clamp(30px, 4.6vw, 46px); }
  .menu-head p.sub { color: var(--muted); max-width: 52ch; }
  .menu-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; }
  .menu-card {
    position: relative; background: var(--walnut); border: 1px solid var(--line);
    border-radius: 18px; padding: clamp(24px, 4vw, 40px); min-width: 0;
  }
  .menu-card .sample {
    display: inline-block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sage); border: 1px solid rgba(154, 170, 133, 0.5); border-radius: 999px; padding: 3px 10px;
  }
  .price {
    display: flex; align-items: baseline; gap: 10px; margin-top: 18px;
    font-family: var(--font-display); font-size: clamp(40px, 6vw, 56px); color: var(--gold); line-height: 1;
  }
  .price small { font: 500 14px var(--font-body); color: var(--muted); letter-spacing: 0.04em; }
  .dishes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
  .dishes li {
    display: flex; align-items: baseline; gap: 14px; padding-block: 12px;
    border-top: 1px solid var(--line); font-size: 18px;
  }
  .dishes li:first-child { border-top: 0; }
  .leaf { flex: none; width: 10px; height: 10px; background: var(--gold); border-radius: 0 100% 0 100%; transform: translateY(1px); }
  .menu-note { color: var(--muted); font-size: 14px; margin-top: 22px; }
  .menu-photo { margin: 0; border-radius: 18px; overflow: hidden; min-height: 280px; position: relative; }
  .menu-photo img { width: 100%; height: 100%; object-fit: cover; }
  .menu-frame { border-radius: 18px; overflow: hidden; background: var(--walnut); border: 1px solid var(--line); min-width: 0; }
  .menu-frame iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; }
  .menu-frame .open { display: flex; justify-content: flex-end; padding: 10px 14px; }

  /* gallery */
  .gallery-head { display: grid; gap: 10px; margin-bottom: 32px; }
  .gallery-head h2 { font-size: clamp(28px, 4.2vw, 42px); }
  .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--walnut); }
  .gallery img { width: 100%; height: 100%; object-fit: cover; }
  .gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px;
    background: linear-gradient(0deg, var(--veil-strong), transparent); color: var(--linen);
  }
  .g1 { grid-column: span 2; aspect-ratio: 16 / 10; }
  .g2 { aspect-ratio: 3 / 4; }
  .g3 { aspect-ratio: 3 / 4; }
  .g4 { aspect-ratio: 1 / 1; }
  .g5 { aspect-ratio: 1 / 1; }

  /* visit */
  .visit { background: var(--walnut); border-block: 1px solid var(--line); }
  .visit-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
  .visit h2 { font-size: clamp(28px, 4.2vw, 42px); margin-top: 10px; }
  .facts { display: grid; gap: 22px; margin: 0; }
  .facts div { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .facts dt { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
  .facts dd { margin: 0; font-size: 19px; overflow-wrap: anywhere; }
  .facts dd a { color: var(--linen); text-underline-offset: 3px; }
  .facts dd.copyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .facts dd.copyrow .email { user-select: all; }
  .facts dd.todo { color: var(--muted); font-style: italic; }
  .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .num { font-variant-numeric: tabular-nums; }

  footer { padding-block: 34px; color: var(--muted); font-size: 14px; }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

  /* sticky reserve bar (phones) */
  .reserve {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--espresso); border-top: 1px solid var(--line);
  }
  .reserve .btn { width: 100%; }

  @media (min-width: 760px) {
    .nav { display: flex; }
    .menu-grid { grid-template-columns: 1.15fr 0.85fr; }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
    .g1 { grid-column: span 2; aspect-ratio: auto; }
    .g2 { grid-row: span 2; aspect-ratio: auto; }
    .g3 { aspect-ratio: auto; }
    .g4 { aspect-ratio: auto; }
    .g5 { grid-column: span 3; aspect-ratio: auto; }
    .visit-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
    .reserve { display: none; }
    body { padding-bottom: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
    .btn:hover { transform: none; }
  }

/* ---- shared across pages ---- */
.nav a[aria-current="page"] { color: var(--linen); }
.link-more { display: inline-flex; margin-top: 24px; color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(221, 167, 59, 0.5); padding-bottom: 2px; }
.link-more:hover { border-bottom-color: var(--gold); }

.page-head { padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 40px); display: grid; gap: 12px; }
.page-head h1 { font-size: clamp(36px, 6vw, 60px); }
.page-head p.lead { color: var(--muted); max-width: 54ch; font-size: 19px; }

/* ---- story page ---- */
.story { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: clamp(56px, 8vw, 96px); align-items: start; }
.story-text { display: grid; gap: 18px; max-width: 58ch; }
.story-text p { font-size: 18px; }
.story-text .pending { color: var(--muted); font-style: italic; border-left: 2px solid var(--line); padding-left: 16px; }
.story-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.offer { background: var(--walnut); border-block: 1px solid var(--line); padding-block: clamp(48px, 7vw, 84px); }
.offer h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 28px; }
.offer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 22px; }
.offer li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.offer li b { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--gold); }
.offer li span { color: var(--muted); }

/* ---- gallery page ---- */
.masonry { columns: 2; column-gap: 12px; padding-bottom: clamp(56px, 8vw, 96px); }
.masonry button {
  display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; cursor: zoom-in;
  background: var(--walnut); border-radius: 14px; overflow: hidden; break-inside: avoid; position: relative;
}
.masonry img { width: 100%; height: auto; transition: transform 0.35s ease; }
.masonry button:hover img { transform: scale(1.03); }
.masonry-note { color: var(--muted); font-size: 15px; padding-bottom: 56px; }

.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(20, 13, 9, 0.96);
  display: grid; grid-template-rows: 1fr auto; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
}
.lightbox[hidden] { display: none; }
.lightbox .stage { display: grid; place-items: center; min-height: 0; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox .caption { text-align: center; color: var(--muted); padding: 12px 0 4px; font-size: 15px; }
.lightbox .controls { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 12px; display: flex; gap: 8px; }
.lightbox .controls button, .lightbox .nav-btn {
  font: 600 22px var(--font-body); color: var(--linen); background: rgba(239, 227, 207, 0.12);
  border: 0; border-radius: 999px; width: 44px; height: 44px; cursor: pointer;
}
.lightbox .controls button:hover, .lightbox .nav-btn:hover { background: rgba(239, 227, 207, 0.22); }
.lightbox .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .prev { left: 10px; }
.lightbox .next { right: 10px; }

/* ---- directions (home) ---- */
.directions { display: grid; gap: 10px; margin-top: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--espresso); }
.directions h3 { font-size: 20px; color: var(--gold); }
.directions p { color: var(--muted); }

@media (min-width: 760px) {
  .story { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
  .offer ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .masonry { columns: 3; column-gap: 16px; }
  .masonry button { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .masonry img { transition: none; }
  .masonry button:hover img { transform: none; }
}

[hidden] { display: none !important; }

/* holiday / closure notice */
.notice {
  margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--gold); border-radius: 12px;
  background: rgba(221, 167, 59, 0.1); color: var(--linen); font-weight: 500;
}
.facts dd.hours-note { color: var(--muted); font-size: 16px; margin-top: 8px; }
