/* ===== Fonts (Wix-captured subsets) ===== */
@font-face {
  font-family: "Nichrome";
  src: url("assets/fonts/nichrome.woff2") format("woff2"),
       url("assets/fonts/nichrome.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Aeonik";
  src: url("assets/fonts/aeonik-regular.woff2") format("woff2"),
       url("assets/fonts/aeonik-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

/* =====================================================================
   MOBILE FIRST — base styles target phones, scaled up at min-width: 769px
   ===================================================================== */
:root {
  --hero-bg: #ebe2db;
  --cream: #fff8f3;
  --ink: #000;
  --edge: 20px;            /* inset for fixed overlays */
  --band: 116px;          /* fixed bottom band: gif + book a table */
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: "Aeonik", Arial, Helvetica, sans-serif;
  font-weight: 400;            /* all body text regular */
  color: var(--ink);
  background: var(--cream);
  font-size: 13px;             /* phone — bumped to 15px (tablet) / 16px (web) below */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; font-weight: 400; }
a:hover { text-decoration: underline; }

/* screen-reader / crawler-only text (keeps a keyword-rich H1 while showing the logo) */
.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;
}

/* ===== Pinned logo (top-left) ===== */
.brand {
  position: fixed;
  top: var(--edge);
  left: var(--edge);
  z-index: 50;
  display: block;
  line-height: 0;
  transition: opacity 0.3s var(--ease);
}
.brand:hover { opacity: 0.6; }
.brand img { width: 30px; height: auto; display: block; }

/* ===== Pinned corners (contact + hours) — desktop only ===== */
.corner { display: none; }

/* ===== Fixed nav (top-right) ===== */
.nav {
  position: fixed;
  top: var(--edge);
  right: var(--edge);
  z-index: 50;
}
.nav ul { list-style: none; text-align: right; }
.nav li { margin-bottom: 0; }
.nav a {
  display: inline-block;
  padding: 6px 4px;          /* enlarge thumb hit area, visual unchanged */
  font-size: 1em;
  transition: opacity 0.3s var(--ease);
}
.nav a:hover { opacity: 0.55; text-decoration: none; }

/* ===== Fixed book a table + gif (bottom-center) ===== */
.book {
  position: fixed;
  bottom: var(--edge);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.book__gif { display: none; width: 66px; height: auto; }  /* hidden on phone, shown ≥768 */
.book__link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 1em;
  transition: opacity 0.3s var(--ease);
}
.book__link:hover { opacity: 0.55; text-decoration: none; }

/* ===== Display headings (sticky) ===== */
.display {
  font-family: "Nichrome", Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  font-size: 50px;          /* phone — 72px tablet / 100px web below */
  letter-spacing: -0.01em;
  position: sticky;
  top: 64px;
  z-index: 10;
  pointer-events: none;
}
.big-link, .big-link:hover { text-decoration: none; display: contents; }
.big-link .display { pointer-events: auto; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--hero-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: var(--edge) var(--edge) calc(var(--band) + var(--edge));
}
.wordmark {
  line-height: 0;
  width: clamp(220px, 62vw, 520px);
}
.wordmark img { width: 100%; height: auto; display: block; }
.hero-info {
  text-align: center;
  font-size: 1em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== Sections (each ~one screen tall) ===== */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--edge) + 52px) var(--edge) calc(var(--band) + var(--edge));
}
.section--menu { min-height: 52vh; justify-content: flex-start; }

.prose {
  max-width: 560px;
  margin: 36px auto 0;
  text-align: center;
  position: relative;
  z-index: 5;
}
.prose p { margin-bottom: 20px; }

/* ===== Food photos — staggered + parallax (all sizes) ===== */
.float-img {
  position: absolute;
  width: 42vw;
  max-width: 240px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  z-index: 6;
  will-change: transform;
}
.float-img--right { right: 0; top: 58%; }
.float-img--left { left: 0; top: 74%; }

/* ===== Contact / footer ===== */
.section--contact { justify-content: center; }
.footer-block {
  text-align: center;
  font-size: 1em;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
  margin: 0 auto;
}
.footer-block p, .footer-block a { display: block; }
.footer-block .fb-group { display: flex; flex-direction: column; gap: 2px; }

/* ===== Scroll-reveal animations ===== */
[data-reveal] { transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); will-change: opacity, transform; }
[data-reveal="up"] { opacity: 0; transform: translateY(28px); }
[data-reveal="fade"] { opacity: 0; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   DESKTOP / TABLET — min-width: 769px
   ===================================================================== */
@media (min-width: 768px) {
  :root { --edge: clamp(24px, 2vw, 32px); --band: 96px; }

  html { scroll-padding-top: 90px; }
  body { font-size: 15px; }              /* tablet */

  .nav li { margin-bottom: 6px; }
  .book__gif { display: block; width: 78px; }   /* gif back on tablet + web */
  .brand img { width: 36px; }

  /* pinned corners visible on desktop */
  .corner {
    display: flex;
    position: fixed;
    bottom: var(--edge);
    z-index: 50;
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
    line-height: 1.1;
  }
  .corner { font-size: 1em; }
  .corner--bl { left: var(--edge); }
  .corner--br { right: var(--edge); text-align: right; }

  .display { top: 84px; font-size: 72px; }   /* tablet */
  .wordmark { font-size: clamp(80px, 17vw, 230px); }

  /* desktop landing = wordmark only */
  .hero { gap: 0; }
  .hero-info { display: none; }

  .section { padding: calc(var(--edge) + 40px) var(--edge) calc(var(--band) + var(--edge)); }
  .section--menu { min-height: 50vh; }
  .prose { margin-top: 56px; }

  /* photos pulled inward from the edges */
  .float-img { width: 130px; max-width: none; }
  .float-img--right { right: 17%; top: 58%; }
  .float-img--left { left: 17%; top: 70%; }

  /* footer block pinned to the section's top-left */
  .section--contact { justify-content: flex-start; }
  .footer-block {
    position: absolute;
    top: calc(var(--edge) + 104px);   /* clear the pinned logo (60px) + gap */
    left: var(--edge);
    max-width: 420px;
    text-align: left;
    margin: 0;
  }
}

/* ===== Web (desktop) — min-width: 1025px ===== */
@media (min-width: 1025px) {
  body { font-size: 16px; }
  .display { font-size: 100px; }   /* web header size */
}
