/* =============================================================
   Kitchen Proper — shared chrome
   Loaded by every page. Tokens, fonts, header, drawer, footer,
   marquees, buttons, typography utilities.
   ============================================================= */

:root {
  --bone:        #F1E7D1;
  --bone-deep:   #E7DBBF;
  --bone-edge:   #D9CBA8;
  --cream:       #FAF3DF;
  --ink:         #14100C;
  --ink-2:       #2A211B;
  --ink-3:       #4A3D33;
  --ember:       #B8401A;
  --ember-deep:  #8C2810;
  --ember-glow:  #E25A2A;
  --brass:       #B98941;
  --brass-deep:  #8C6128;
  --sage:        #6B7654;
  --rule:        rgba(20,16,12,0.18);

  --display: "Fraunces", "Times New Roman", serif;
  --body:    "Newsreader", "Iowan Old Style", "Palatino", serif;
  --script:  "Pinyon Script", cursive;

  --maxw: 1440px;
  --pad-x: clamp(24px, 6vw, 96px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 380;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.06  0 0 0 0 0.04  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: var(--ember); color: var(--cream); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 2;
}

/* ===== utility marks ===== */

.smallcaps {
  font-family: var(--body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label::before {
  content: "";
  width: 28px; height: 1px; background: currentColor;
  display: inline-block;
}
.label.no-rule::before { display: none; }

.plate-no {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ember);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-3);
}
.ornament hr {
  flex: 1;
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.ornament svg { flex: 0 0 auto; }

/* ===== TOP UTILITY BAR ===== */

.util {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: var(--bone);
  border-bottom: 1px solid #000;
}
.util-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.util .scroll-strip {
  overflow: hidden;
  flex: 1;
  margin: 0 24px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.util .scroll-strip-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.util .scroll-strip-track span {
  color: var(--bone-deep);
  opacity: 0.9;
  padding-right: 36px;
  display: inline-flex;
  align-items: center;
}
.util .scroll-strip-track span::after {
  content: "✦";
  margin-left: 36px;
  color: var(--ember-glow);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.open-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember-glow);
  box-shadow: 0 0 0 0 rgba(226,90,42,0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(226,90,42,0.7); }
  70%  { box-shadow: 0 0 0 14px rgba(226,90,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,90,42,0); }
}

.util-phone { color: var(--bone); }
.util-phone:hover { color: var(--ember-glow); }

@media (max-width: 760px) {
  .util .scroll-strip { display: none; }
  .util-inner { justify-content: space-between; gap: 12px; font-size: 10px; }
}

/* ===== HEADER ===== */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
}
header.site .row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
}
nav.left, nav.right {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
nav.right { justify-content: center; }
nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-2);
  transition: color .25s;
}
nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--ember);
  transition: width .25s ease, left .25s ease;
}
nav a:hover { color: var(--ember); }
nav a:hover::after { width: 100%; left: 0; }
nav a[aria-current="page"] { color: var(--ember); }
nav a[aria-current="page"]::after { width: 100%; left: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-img {
  display: block;
  height: 116px;
  width: auto;
  /* the source PNG is white-on-transparent; invert to get the dark logo for
     the bone header. */
  filter: invert(1) brightness(0.08);
  transition: opacity .25s;
}
.brand-img:hover { opacity: 0.85; }
/* dark backgrounds keep the white version — used in the footer */
.brand-img.on-dark,
footer.site .brand-img,
.gift-card-art .brand-img {
  filter: none;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.menu-toggle:hover { border-color: var(--ember); color: var(--ember); }
.menu-toggle svg { width: 18px; height: 18px; }

.reserve-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.reserve-pill .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  line-height: 1;
}
.reserve-pill .arrow svg { width: 14px; height: 10px; display: block; }
.reserve-pill:hover { background: var(--ink); color: var(--bone); }
.reserve-pill::after { display: none; }

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bone);
  z-index: 60;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.6,.05,.2,1);
  display: flex;
  flex-direction: column;
  padding: 20px var(--pad-x) 40px;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.mobile-drawer-close {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-drawer nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer nav a {
  font-family: var(--display);
  font-weight: 360;
  font-size: 36px;
  line-height: 1.15;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-variation-settings: "opsz" 72, "SOFT" 30;
}
.mobile-drawer nav a em { font-style: italic; color: var(--ember); }
.mobile-drawer nav a .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--ember);
  letter-spacing: 0.08em;
}
.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
}
.mobile-drawer-foot a { color: var(--ember); }

@media (max-width: 980px) {
  nav.left, nav.right { display: none; }
  header.site .row {
    grid-template-columns: auto 1fr auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 14px;
  }
  .brand {
    justify-self: start;
  }
  .brand-img { height: 84px; }
  .menu-toggle { display: inline-flex; }
  .reserve-pill { display: none; }
}
@media (max-width: 480px) {
  .brand-img { height: 72px; }
}

/* ===== buttons ===== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  background: var(--ember);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border: 1px solid var(--ember);
  border-radius: 999px;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 6px 18px -8px rgba(184,64,26,0.6);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--ember-deep);
  border-color: var(--ember-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(184,64,26,0.7);
}
.btn-primary svg { transition: transform .25s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid var(--ink);
  transition: color .25s, border-color .25s;
}
.btn-link:hover { color: var(--ember); border-color: var(--ember); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 6px 0;
  border-bottom: 1px solid var(--cream);
  transition: color .25s, border-color .25s;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--ember-glow); border-color: var(--ember-glow); }

/* ===== ingredient ticker ===== */

.ticker {
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: inline-flex;
  padding: 22px 0;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: var(--display);
  font-weight: 380;
  font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 60;
  font-size: 32px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.ticker-track span::after {
  content: "✦";
  color: var(--ember);
  font-style: normal;
  font-size: 18px;
}

/* ===== FOOTER ===== */

footer.site {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
footer.site::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% -20%, rgba(226,90,42,0.18), transparent 55%);
  pointer-events: none;
}
.footer-mega {
  padding: 84px 0 56px;
  position: relative; z-index: 2;
}
.footer-display {
  font-family: var(--display);
  font-weight: 320;
  font-size: clamp(80px, 16vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  margin: 0 0 60px;
}
.footer-display em {
  font-style: italic;
  color: var(--ember-glow);
  font-weight: 280;
  font-variation-settings: "opsz" 144, "SOFT" 90;
}
.footer-display .script {
  display: block;
  font-family: var(--script);
  font-size: 0.32em;
  color: var(--brass);
  margin-top: -0.05em;
  margin-left: 6%;
  transform: rotate(-3deg);
  letter-spacing: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid rgba(250,243,223,0.15);
  padding-top: 50px;
}
.footer-grid h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col p, .footer-col a {
  font-family: var(--display);
  font-weight: 380;
  font-size: 17px;
  color: var(--bone);
  line-height: 1.6;
  margin: 0 0 6px;
  display: block;
}
.footer-col a:hover { color: var(--ember-glow); }
.footer-col em { font-style: italic; color: var(--brass); }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.footer-brand .brand-img {
  height: 160px;
  width: auto;
  /* footer is on dark ink — keep the original white logo */
  filter: none;
}
/* legacy support if footer-brand still has separate name/tag spans */
.footer-brand .name,
.footer-brand .tag { display: none; }

.footer-bottom {
  border-top: 1px solid rgba(250,243,223,0.15);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-edge);
  opacity: 0.7;
  position: relative; z-index: 2;
}
.footer-bottom a { color: var(--bone-edge); }
.footer-bottom a:hover { color: var(--ember-glow); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===== reveal on scroll ===== */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ===== editorial helpers reused across menu pages ===== */

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(20,16,12,0.14);
  align-items: baseline;
  cursor: default;
  transition: background .25s, padding .25s;
}
.dish.dark { border-bottom-color: rgba(250,243,223,0.12); }
.dish:hover { padding-left: 8px; padding-right: 8px; }
.dish-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "opsz" 24;
}
.dish.dark .dish-name { color: var(--cream); }
.dish-name .pair {
  font-family: var(--body);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  color: var(--ember);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.dish.dark .dish-name .pair { color: var(--ember-glow); }
.dish-desc {
  grid-column: 1;
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(20,16,12,0.62);
  margin-top: 4px;
}
.dish.dark .dish-desc { color: rgba(250,243,223,0.62); }
.dish-price {
  font-family: var(--display);
  font-weight: 420;
  font-size: 24px;
  color: var(--brass);
  grid-row: 1; grid-column: 2;
  font-variation-settings: "opsz" 36, "SOFT" 30;
  letter-spacing: 0.005em;
  white-space: nowrap;
  align-self: baseline;
}
.dish-price::before {
  content: "·····";
  color: rgba(185,137,65,0.3);
  margin-right: 14px;
  letter-spacing: 4px;
  font-size: 18px;
  font-weight: 400;
}
