/* Newyork Cafe & Grill — light monochrome theme (Home.dc.html) */

:root {
  --accent: #27272a;
  --ink: #18181b;
  --muted: #52525b;
  --subtle: #71717a;
  --faint: #a1a1aa;
  --band: #f4f4f5;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --white: #ffffff;
  --breakfast: #a85516;
  --breakfast-soft: #fff7ed;
  --lunch: #9f2d20;
  --lunch-soft: #fff1ee;
  --drinks: #2f6b5b;
  --drinks-soft: #eef8f4;
  --serif: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Work Sans', system-ui, sans-serif;
  --maxw: 1200px;
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: var(--ink); text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---- Typography helpers ---- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--subtle);
}
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 12px 0 0;
}
.section-title.big {
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.02;
}
.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 46ch;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: #000; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  position: relative;
  display: block;
  width: 204px;
  height: 64px;
  overflow: hidden;
  color: var(--ink);
}
.brand-logo {
  position: absolute;
  top: -33px;
  left: -44px;
  display: block;
  width: 292px;
  max-width: none;
  height: auto;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: #fff; }
.nav-order {
  min-width: 132px;
  flex-direction: column;
  gap: 2px;
  padding: 10px 24px 9px;
  background: #c62f27;
  color: #fff;
  line-height: 1.05;
}
.nav-links a.nav-order:hover { background: #a9231d; color: #fff; }
.nav-order span { font-size: 16px; font-weight: 700; }
.nav-order small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle .bar { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---- Hero image slider ---- */
.hero { border-bottom: 1px solid var(--line); }
.hero-viewport { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .7s cubic-bezier(.7,0,.2,1); }
.hero-media { flex: 0 0 100%; background: var(--band); }
.hero-media img {
  width: 100%;
  height: clamp(320px, 42vw, 720px);
  object-fit: cover;
  object-position: center;
}
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-dots { display: flex; gap: 9px; align-items: center; }
.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero-dots button.is-active { width: 34px; background: #fff; }
.round-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: background .2s ease;
}
.round-btn:hover { background: #fff; }

/* ---- Section base ---- */
.section { padding: 76px 0; }
.section-band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* ---- About ---- */
.about-intro { max-width: 720px; }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--band);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.feature p { font-size: 14.5px; line-height: 1.55; color: var(--subtle); margin: 0; }

/* ---- Menu ---- */
.menu-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 36px;
}
.menu-jump a {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.menu-jump a:hover { border-color: var(--ink); color: var(--ink); }
.menu-group {
  --group-accent: var(--accent);
  --group-soft: var(--band);
  scroll-margin-top: 96px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}
.menu-group + .menu-group { margin-top: 34px; }
.menu-group-breakfast { --group-accent: var(--breakfast); --group-soft: var(--breakfast-soft); }
.menu-group-lunch { --group-accent: var(--lunch); --group-soft: var(--lunch-soft); }
.menu-group-drinks { --group-accent: var(--drinks); --group-soft: var(--drinks-soft); }
.menu-group-head {
  position: relative;
  margin: 0;
  padding: 28px 30px 30px 36px;
  background: var(--group-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--group-accent) 18%, var(--line));
}
/* Photo sits on the right of the header; the scrim keeps the copy legible
   over the image's soft left side. Set --group-photo per group below. */
.menu-group-photo {
  display: flex;
  align-items: center;
  min-height: clamp(190px, 20vw, 250px);
  background-image:
    linear-gradient(
      to right,
      var(--group-soft) 0%,
      var(--group-soft) 30%,
      color-mix(in srgb, var(--group-soft) 72%, transparent) 48%,
      transparent 72%
    ),
    var(--group-photo);
  background-repeat: no-repeat;
  background-position: center, right center;
  background-size: cover, cover;
}
.menu-group-photo > div { max-width: 54%; }
.menu-group-breakfast .menu-group-head { --group-photo: url("images/fresh-baked-bagels-breakfast-menu-edison-nj.jpg"); }
.menu-group-lunch .menu-group-head { --group-photo: url("images/deli-lunch-subs-wraps-burgers-edison-nj.jpg"); }
.menu-group-drinks .menu-group-head { --group-photo: url("images/coffee-espresso-iced-drinks-edison-nj.jpg"); }
.menu-group-head::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--group-accent);
}
.menu-group-kicker {
  color: var(--group-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.menu-group-head h3 {
  margin: 7px 0 0;
  color: var(--group-accent);
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.05;
}
.menu-group-head p {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  /* Cards hug their contents instead of stretching to the tallest in the row,
     so short lists like Freshly Baked Bagels don't carry dead space. */
  align-items: start;
  gap: 24px;
  padding: 28px 30px 30px;
}
.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  padding: 0 0 14px;
}
.menu-card-media { height: 150px; background: var(--band); border-bottom: 1px solid var(--line); }
.menu-card-media img { width: 100%; height: 100%; object-fit: cover; }
.menu-card h4 { color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 20px 24px 12px; }
.menu-flavors {
  color: var(--subtle);
  font-size: 12.5px;
  line-height: 1.5;
  margin: -4px 24px 16px;
}
.menu-card ul { list-style: none; margin: 0; padding: 0 24px; }
/* Full-width card: spans the whole grid row, items flow into three columns */
.menu-card-full { grid-column: 1 / -1; }
.menu-list-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
}
.menu-card li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.menu-card li span { color: var(--ink); }
.menu-card li small { display: block; color: var(--subtle); font-size: 12.5px; margin-top: 2px; }
.menu-card li b { font-family: var(--serif); font-weight: 700; color: var(--ink); white-space: nowrap; }
.menu-note { font-size: 14px; color: var(--subtle); margin-top: 28px; }

/* ---- Skip the line ---- */
.skip-band .container { display: grid; gap: 34px; }
.skip-copy { max-width: 620px; }
.skip-band .lead { font-size: 18px; }
.order-logos { display: flex; flex-wrap: wrap; gap: 24px; }
.order-logo {
  display: grid;
  place-items: center;
  width: clamp(104px, 11vw, 132px);
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
.order-logo img {
  width: 78%;
  height: 78%;
  border-radius: 99px;
  object-fit: cover;
}
.order-logo:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
  transform: translateY(-3px);
}
.order-logo:active { transform: translateY(-1px); }

/* ---- Visit ---- */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.visit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}
.visit-card-band { background: var(--band); display: flex; flex-direction: column; justify-content: center; }
.visit-addr { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 0 0 4px; }
.visit-city { font-size: 16px; color: var(--subtle); margin: 0 0 22px; }
.hours { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.hours div { display: flex; justify-content: space-between; font-size: 15px; }
.hours span { color: var(--subtle); }
.hours b { font-weight: 600; }
.link-accent { display: inline-block; margin-top: 24px; font-weight: 600; font-size: 15px; color: var(--accent); }
.visit-card-band h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; margin: 0 0 12px; }
.visit-card-band p { font-size: 15.5px; line-height: 1.55; color: var(--muted); margin: 0 0 24px; }
.visit-card-band .btn { align-self: flex-start; }

/* ---- Contact form ---- */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); }
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 39, 42, .1);
}
.field input.has-error,
.field textarea.has-error { border-color: #b91c1c; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.form-status { font-size: 14.5px; line-height: 1.5; margin: 0; min-height: 1px; color: var(--muted); }
.form-status.is-error { color: #b91c1c; }
.form-alt { font-size: 14px; color: var(--subtle); margin: 20px 0 0; }
.form-alt a { color: var(--accent); font-weight: 600; }

/* ---- Footer ---- */
.site-footer { background: var(--band); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand { width: 160px; height: 50px; margin-bottom: 16px; }
.footer-brand .brand-logo { top: -26px; left: -34px; width: 229px; }
.footer-col p { font-size: 15px; line-height: 1.6; color: var(--subtle); margin: 0; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); margin: 0 0 16px; }
.footer-col > a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.footer-col > a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; color: var(--faint); }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav-inner { height: 88px; }
  .brand { width: 160px; height: 50px; }
  .brand-logo { top: -26px; left: -34px; width: 229px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 88px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 16px; }
  .nav-links a.btn { margin-top: 8px; padding: 14px 26px; text-align: center; justify-content: center; }
  .nav-links a.nav-order { padding: 10px 26px 9px; }

  .hero-media img { height: clamp(280px, 75vw, 480px); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .menu-list-cols { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }

  /* Too narrow to sit beside the food: photo becomes a band, copy drops below it */
  .menu-group-photo {
    align-items: flex-end;
    min-height: 300px;
    padding-top: 150px;
    background-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        color-mix(in srgb, var(--group-soft) 70%, transparent) 42%,
        var(--group-soft) 62%,
        var(--group-soft) 100%
      ),
      var(--group-photo);
    background-position: center, center top;
    background-size: cover, auto 190px;
  }
  .menu-group-photo > div { max-width: 100%; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .menu-group { border-radius: 18px; }
  .menu-group-head { padding: 22px 20px 24px 26px; }
  .menu-grid { grid-template-columns: 1fr; gap: 18px; padding: 18px 14px 22px; }
  .order-logos { gap: 16px; }
  .menu-card h4 { margin-left: 18px; margin-right: 18px; }
  .menu-card ul { padding-left: 18px; padding-right: 18px; }
  .menu-flavors { margin-left: 18px; margin-right: 18px; }
  .menu-list-cols { grid-template-columns: 1fr; column-gap: 0; }
  .menu-card li { align-items: flex-start; font-size: 14px; }
  .menu-card li b { text-align: right; }
}
