/* Riccio’s — new version 2. Warm, crisp, unpretentious. */

@font-face {
  font-family: Cormorant;
  src: url("/assets/fonts/cormorant.woff") format("woff");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --paper: #f4efe6;
  --paper-deep: #ebe3d4;
  --cream: #fbf8f2;
  --ink: #241f1c;
  --muted: #6a6258;
  --burgundy: #691112;
  --burgundy-deep: #4c0d0e;
  --burgundy-hover: #821618;
  --line: rgba(36, 31, 28, 0.14);
  --line-strong: rgba(36, 31, 28, 0.22);
  --white: #fffcf7;
  --serif: Cormorant, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 80px;
  --pad: clamp(20px, 6vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-style: normal;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
.prose p + p { margin-top: 1em; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 16px;
}
.skip:focus { top: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--pad);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-header nav a {
  padding: 10px 0;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  border-bottom-color: var(--burgundy);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--burgundy-hover); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-right: -8px;
}
.nav-reserve { display: none; }
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 18px;
  background: var(--ink);
}

/* ---------- Views ---------- */
.view { display: none; }
html:not(.js)[data-page="home"] #view-home,
html:not(.js)[data-page="story"] #view-story,
html:not(.js)[data-page="menus"] #view-menus { display: block; }
html.js .view.is-active { display: block; }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: var(--white);
  padding: 14px 26px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--burgundy);
  transition: background 0.2s ease, color 0.2s ease;
}
.button:hover { background: var(--burgundy-hover); border-color: var(--burgundy-hover); }
.button-outline {
  background: transparent;
  color: var(--burgundy);
}
.button-outline:hover { background: var(--burgundy); color: var(--white); }
.text-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 2px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-bottom: 1px solid currentColor;
}
.text-link:hover { opacity: 0.7; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  height: calc(100svh - var(--header-h));
  max-height: 920px;
  background: #1a1412;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-current { opacity: 1; z-index: 0; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 62% 48% at 50% 46%, rgba(20, 14, 12, 0.52) 0%, rgba(20, 14, 12, 0.22) 58%, rgba(20, 14, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(20, 14, 12, 0.32) 0%, rgba(20, 14, 12, 0.26) 40%, rgba(20, 14, 12, 0.58) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 80px;
  max-width: 720px;
}
.hero-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}
.hero-wordmark {
  width: min(460px, 78vw);
  height: auto;
  display: block;
}
.hero-kicker,
.hero-since {
  margin: 0;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.hero-kicker {
  margin-top: 18px;
  font-size: clamp(12px, 1.65vw, 15px);
  letter-spacing: 0.22em;
  color: var(--white);
}
.hero-since {
  margin-top: 8px;
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: 0.18em;
  color: var(--cream);
}
.hero-copy .button { margin-top: 32px; }
.hero-dots {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 252, 247, 0.45);
  padding: 0;
}
.hero-dots button[aria-current="true"] { background: var(--white); }
.hero-dots[hidden] { display: none; }

/* ---------- Shared sections ---------- */
.section {
  padding: 88px var(--pad);
  max-width: 1280px;
  margin: 0 auto;
}
.section-narrow { max-width: 1100px; }

/* ---------- Our Story teaser ---------- */
.story-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.story-photo { overflow: hidden; background: var(--paper-deep); }
.story-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 40%;
}
.story-copy h2 { margin-bottom: 22px; }
.story-copy .lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 38em;
}

/* ---------- Home menus CTA (between Our Story and Find Us) ---------- */
.menus-cta {
  text-align: center;
  background: var(--paper-deep);
  padding: 64px var(--pad);
}

/* ---------- Find Us / Hours / Get in Touch ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  padding: 88px var(--pad);
  max-width: 1280px;
  margin: 0 auto;
}
.visit h2 { margin-bottom: 36px; }
.visit-blocks {
  display: grid;
  gap: 28px;
  margin-bottom: 36px;
}
.visit-blocks h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.visit-blocks p { font-size: 17px; }
.visit-blocks a:hover { color: var(--burgundy); }
.visit-map {
  position: relative;
  height: 420px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  gap: 8px;
}
.visit-map iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
  filter: grayscale(0.12) contrast(0.98);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px var(--pad) 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.site-footer .foot-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.site-footer a:hover { color: var(--burgundy); }
.site-footer .call-link { white-space: nowrap; }
.site-footer .foot-contact { display: inline; }
.site-footer .foot-note {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8a8278;
}

/* ---------- Inner pages ---------- */
.page-head {
  padding: 64px var(--pad) 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.page-head h1 { margin-bottom: 8px; }

.story-page { padding-bottom: 40px; }
.story-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: 28px var(--pad) 72px;
  max-width: 1280px;
  margin: 0 auto;
}
.story-full .story-photo img {
  min-height: 360px;
  max-height: 520px;
}
.story-full .prose {
  font-size: 17px;
  line-height: 1.75;
  max-width: 38em;
  padding-top: 8px;
}

.moments { padding: 20px var(--pad) 80px; max-width: 1280px; margin: 0 auto; }

/* Exact “Riccio’s” script cropped from the original logo (custom lettering, not a stock font). */
img.wordmark {
  height: 1.42em;
  width: auto;
  max-width: 100%;
  display: inline-block;
  vertical-align: -0.22em;
  margin: 0 0.02em;
}
.moments h2 {
  margin-bottom: 28px;
  line-height: 1.25;
}
.moments h2 .wordmark {
  height: 1.48em;
  vertical-align: -0.26em;
}
.site-footer .foot-name {
  font-size: 0;
  line-height: 0;
  display: block;
  margin: 0 auto 10px;
}
.site-footer .foot-name .wordmark {
  height: 46px;
  vertical-align: middle;
  margin: 0 auto;
  display: block;
}

.moments-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 12px;
}
.moments-grid figure { margin: 0; overflow: hidden; background: var(--paper-deep); }
.moments-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.moments-grid figure:nth-child(1) img { height: 340px; object-position: center 60%; }
.moments-grid figure:nth-child(2) img { height: 340px; object-position: center 60%; }
.moments-grid figure:nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
.moments-grid figure:nth-child(3) img { height: 100%; min-height: 340px; }
.moments-grid figure:nth-child(n+4) img { height: 260px; }

.press-block {
  padding: 0 var(--pad) 88px;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}
.press-block a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.press-block a:hover { color: var(--burgundy); border-color: var(--burgundy); }
.press-source { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Menus ---------- */
.menus-page { padding: 20px var(--pad) 96px; max-width: 1100px; margin: 0 auto; }
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  border-bottom: 1px solid var(--line);
  margin: 28px 0 40px;
}
.menu-tabs button {
  padding: 12px 22px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.menu-tabs button:hover { color: var(--ink); }
.menu-tabs button[aria-selected="true"] {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}
.menu-panel[hidden] { display: none; }
.bar-intro {
  margin-bottom: 28px;
  max-width: 36em;
}
.bar-highlight {
  font-family: var(--serif);
  font-size: 28px;
  margin: 8px 0 18px;
  color: var(--burgundy-deep);
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}
.menu-category h3 {
  font-size: 26px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.menu-category-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  max-width: 32em;
  color: var(--ink);
}
#menu-bar .menu-category:nth-child(3) { grid-column: 1 / -1; }
.menu-category ul { list-style: none; padding: 0; margin: 0; }
.menu-category li {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  padding: 7px 0;
}
.menu-footnote, .bar-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
}
#menu-bar[hidden] + .bar-note { margin-top: 10px; }
.menu-panel--single .menu-grid { grid-template-columns: 1fr; max-width: 480px; }

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; max-width: 168px; }
  .nav-cta { padding: 8px 11px; font-size: 10px; letter-spacing: 0.1em; }
  .nav-toggle { display: flex; }
  .site-header { gap: 14px; }
  .site-header nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 14px var(--pad); border-bottom: 0; }
  .site-header nav a[aria-current="page"] { color: var(--burgundy); }
  .site-header nav a.nav-reserve,
  .site-header nav a.nav-reserve:hover,
  .site-header nav a.nav-reserve:focus {
    display: block;
    margin: 10px var(--pad) 6px;
    text-align: center;
    background: var(--burgundy);
    color: #fffcf7; /* crisp cream-white; beats .site-header nav a { color: var(--ink) } */
    padding: 12px 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
  }
  .site-header nav a.nav-reserve:hover,
  .site-header nav a.nav-reserve:focus {
    background: var(--burgundy-hover);
    color: #fffcf7;
  }


  .moments h2 .wordmark { height: 1.36em; vertical-align: -0.22em; }

  .site-footer .foot-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 2px;
  }
  .site-footer .foot-dot { display: none; }

  .site-footer .foot-name .wordmark { height: 40px; }

  .hero { min-height: 78svh; height: 78svh; max-height: none; }
  .hero-wordmark { width: min(340px, 82vw); }
  .hero-kicker { margin-top: 14px; letter-spacing: 0.16em; }
  .hero-since { letter-spacing: 0.14em; }
  .hero-copy { padding-bottom: 64px; }
  .hero-copy .button { margin-top: 24px; }

  .section, .visit { padding: 64px var(--pad); }
  .menus-cta { padding: 48px var(--pad); }
  .story-teaser, .story-full, .visit { grid-template-columns: 1fr; gap: 32px; }
  .story-photo img, .story-full .story-photo img {
    min-height: 260px;
    max-height: 360px;
  }
  .moments-grid { grid-template-columns: 1fr 1fr; }
  .moments-grid figure:nth-child(1) { grid-column: 1 / -1; }
  .moments-grid figure:nth-child(3) { grid-column: auto; grid-row: auto; }
  .moments-grid figure:nth-child(1) img { height: 260px; }
  .moments-grid figure:nth-child(2) img,
  .moments-grid figure:nth-child(3) img,
  .moments-grid figure:nth-child(n+4) img { height: 200px; }

  .menu-grid { grid-template-columns: 1fr; gap: 36px; }
  .menu-tabs button { padding: 12px 14px 14px; font-size: 11px; }
  .visit-map { height: 280px; }
  .nav-cta { display: none; }
  .brand img { height: 46px; max-width: 190px; }
  .page-head { padding-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-slide { opacity: 0; }
  .hero-slide.is-current { opacity: 1; }
}
