/* Nueve Vigas Café — sample site by Cielo Web Studio */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1c1612;
  --ink-soft: #3a322b;
  --muted: #6a6158;
  --cream: #f6f0e6;
  --paper: #fffaf3;
  --sand: #e7d8c3;
  --line: #d8cbb8;
  --clay: #b85c38;
  --clay-deep: #8d3d22;
  --pine: #243528;
  --pine-deep: #162017;
  --copper: #c4844a;
  --gold: #d4a45c;
  --white: #fffcf8;
  --shadow: 0 18px 40px rgba(28, 22, 18, 0.12);
  --radius: 1.15rem;
  --header-h: 4.35rem;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-deep); }
a:hover { color: var(--clay); }
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
}

.sample-banner {
  background: var(--pine-deep);
  color: #f3eadc;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.sample-banner p { margin: 0; padding: 0.55rem 1rem; }
.sample-banner a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.sample-banner a:hover { color: var(--cream); }

.site-header {
  background: rgba(246, 240, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 22, 18, 0.06);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.logo-mark {
  width: 2.7rem;
  height: auto;
  color: var(--clay);
  flex: none;
}
.logo-type { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
  padding: 0.5rem 1rem 1.1rem;
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.site-nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: 0.55rem;
}
.site-nav a:hover { background: var(--sand); color: var(--ink); }
.nav-cta {
  background: var(--pine) !important;
  color: var(--cream) !important;
  text-align: center;
  margin-top: 0.35rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}
.btn-primary:hover { background: var(--clay-deep); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 250, 243, 0.45);
}
.btn-ghost:hover { background: rgba(255, 250, 243, 0.12); color: var(--white); }

.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 32, 23, 0.15) 0%, rgba(22, 32, 23, 0.2) 35%, rgba(22, 16, 12, 0.88) 100%),
    linear-gradient(90deg, rgba(22, 16, 12, 0.55), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 46rem);
  margin: 0 auto 0 0;
  padding: 7rem 0 3.25rem;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: 1rem;
}
.hero-content .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 600;
  max-width: 14ch;
  color: #fff8ee;
}
.hero-lead {
  margin: 1.1rem 0 1.6rem;
  max-width: 38rem;
  font-size: 1.05rem;
  color: #efe4d3;
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.highlights {
  background: var(--pine);
  color: #efe6d8;
  padding: 3rem 0;
}
.highlights-grid {
  display: grid;
  gap: 1.75rem;
}
.highlights h2 {
  font-size: 1.55rem;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.highlights p { margin: 0; color: #ddd2c2; }

.section-head { max-width: 38rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.1rem); }
.section-lead { margin: 0.7rem 0 0; color: var(--ink-soft); }

.menu-section {
  padding: 4.25rem 0 4rem;
  background: var(--paper);
}
.menu-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
.menu-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.menu-card figure { margin: 0; }
.menu-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
.menu-card:first-child img { object-position: center 28%; }
.menu-body { padding: 1.35rem 1.25rem 1.5rem; flex: 1; }
.menu-body h3 { font-size: 1.7rem; margin-bottom: 0.9rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.menu-list li:first-child { border-top: 0; padding-top: 0; }
.menu-list strong { font-weight: 600; display: block; color: var(--ink); }
.menu-list li span:first-child { color: var(--muted); }
.price {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--pine);
}

.about-section {
  padding: 4.25rem 0;
  background:
    linear-gradient(180deg, rgba(28, 22, 18, 0.16), rgba(28, 22, 18, 0.16)),
    url("images/beans.jpg") center / cover;
  color: var(--cream);
}
.about-grid {
  display: grid;
  gap: 1.75rem;
  background: var(--pine-deep);
  border-radius: calc(var(--radius) + 0.2rem);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
}
.about-copy { padding: 1.6rem 1.35rem 2rem; }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff8ee; }
.about-copy p { color: #e6d9c7; }
.sample-note {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 248, 238, 0.06);
}
.sample-note p { margin: 0; font-size: 0.95rem; color: #f0e2cd; }
.sample-quotes {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.sample-quotes figure { margin: 0; }
.sample-quotes blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.4;
  color: #fff8ee;
}
.sample-quotes figcaption {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery-section {
  padding: 4.25rem 0;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  grid-auto-rows: 10.5rem;
}
.gallery-item {
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--sand);
  border-radius: 0.85rem;
  overflow: hidden;
  cursor: zoom-in;
  height: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item.wide { grid-column: 1 / -1; }

.visit-section {
  padding: 4.25rem 0;
  background: var(--paper);
}
.visit-grid {
  display: grid;
  gap: 2rem;
}
.place {
  font-style: normal;
  margin: 1.3rem 0 0.6rem;
  font-size: 1.08rem;
}
.place-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}
.place-contact a { font-weight: 500; text-decoration: none; }
.place-contact a:hover { text-decoration: underline; }

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.4rem;
  font-size: 0.98rem;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.hours th { font-weight: 500; width: 40%; }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--clay-deep); font-weight: 600; }
.open-status {
  margin: 0.9rem 0 0;
  font-weight: 500;
  color: var(--pine);
}

.map-block {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  min-height: 16rem;
  display: flex;
  flex-direction: column;
}
.map-stage { position: relative; }
.map-callout {
  position: absolute;
  top: auto;
  bottom: 0.75rem;
  left: 0.75rem;
  margin: 0;
  background: rgba(255, 248, 238, 0.95);
  color: var(--ink);
  border-radius: 0.6rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(28, 22, 18, 0.12);
  max-width: 18rem;
}
.map-image {
  width: 100%;
  height: auto;
  min-height: 16rem;
  object-fit: cover;
  flex: 1;
  background: var(--sand);
}
.map-caption {
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--cream);
}

.contact-section {
  padding: 4.25rem 0 4.5rem;
  background: var(--pine);
  color: #efe6d8;
}
.contact-section .eyebrow { color: var(--gold); }
.contact-section h2 { color: #fff8ee; font-size: clamp(2rem, 5vw, 3.1rem); }
.contact-section p { color: #ddd2c2; }
.contact-grid { display: grid; gap: 2rem; }
.contact-form {
  background: rgba(255, 248, 238, 0.05);
  border: 1px solid rgba(232, 216, 195, 0.18);
  border-radius: var(--radius);
  padding: 1.3rem;
  display: grid;
  gap: 0.95rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.88rem; font-weight: 500; color: #f0e4d4; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline-color: var(--gold);
}
.contact-form .btn-primary { justify-self: start; }
.form-status { margin: 0; min-height: 1.4em; color: var(--gold); font-weight: 500; }
.form-status.is-error { color: #ffc9b0; }

.site-footer {
  background: var(--pine-deep);
  color: #cfc3b3;
  padding: 2.5rem 0 2.8rem;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 1.5rem; }
.footer-mark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff8ee;
  margin: 0 0 0.4rem;
}
.site-footer p { margin: 0 0 0.5rem; }
.credit { color: var(--gold); }
.credit strong { color: #fff8ee; font-weight: 600; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 12, 10, 0.92);
  display: grid;
  place-items: center;
  padding: 3.5rem 1rem 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(100%, 72rem);
  max-height: calc(100vh - 5.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.4rem;
}
.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,250,243,0.35);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

@media (min-width: 720px) {
  html { scroll-padding-top: 7rem; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .site-nav a { padding: 0.45rem 0.7rem; font-size: 0.95rem; }
  .nav-cta {
    margin-top: 0;
    margin-left: 0.35rem;
    padding-inline: 0.95rem !important;
  }
  .highlights-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-card img { height: 13.5rem; }
  .about-grid { grid-template-columns: 1.05fr 1fr; }
  .about-copy { padding: 2.4rem 2rem 2.5rem 0.5rem; }
  .sample-quotes { grid-template-columns: 1fr 1fr; }
  .visit-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 12rem;
  }
  .gallery-item { min-height: 0; }
  .gallery-item img { min-height: 0; }
  .gallery-item.tall { grid-row: span 2; }
  .gallery-item.wide { grid-column: span 2; min-height: 0; }
  .gallery-item.wide img { min-height: 0; }
}

@media (min-width: 960px) {
  .hero-content { padding: 9rem 0 4.25rem; }
  .menu-card img { height: 14.5rem; }
  .about-copy { padding: 2.8rem 2.4rem 3rem 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery-item img { transition: none; }
}
