/* The Sandwich Spot Henderson — main stylesheet */

@font-face {
  font-family: "Alfa Slab One";
  src: url("assets/fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* REPLACEABLE IMAGES */
  /* (No CSS background images are used: every photo is an <img> in the HTML.) */

  /* Brand colours: site red #C90808, logo red #DC0A22, black, white */
  --red: #c90808;
  --red-logo: #dc0a22;
  --red-dark: #9a0606;
  --red-deep: #6e0404;
  --red-on-dark: #ff5a5a;
  --red-tint: #fdeeee;
  --black: #000;
  --ink: #141414;
  --ink-soft: #3d3d3d;
  --grey: #6b6b6b;
  --line: #e4e0dc;
  --paper: #fff;
  --warm: #f7f5f2;

  --font-display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-road: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.5rem + 3.4vw, 3.9rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  --radius: 10px;
  --wrap: 1180px;
  --header-h: 72px;
  --checker: repeating-conic-gradient(var(--red) 0 25%, var(--paper) 0 50%) 0 0 / 28px 28px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red-logo); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 var(--space-2); letter-spacing: 0.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 var(--space-2); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space-5); }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 40rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Buttons (one vocabulary site-wide) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.7rem 1.4rem;
  font-family: var(--font-road); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-deep); }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 5px 0 var(--red-deep); }
.btn--big { min-height: 58px; padding: 0.9rem 1.9rem; font-size: 1.35rem; }
.btn--ghost-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--red); box-shadow: 0 4px 0 var(--red-deep); }
.btn--white:hover { background: var(--black); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- Wordmark (echoes the red-ring / black-band oval on the storefront sign) ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.brand__oval {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 112px; height: 60px; border-radius: 50%;
  background: #fff; border: 4px solid var(--red-logo);
  font-family: var(--font-display); line-height: 1; color: var(--black);
  overflow: hidden; flex: none;
}
.brand__the, .brand__spot { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brand__band {
  align-self: stretch; text-align: center; background: var(--black); color: #fff;
  font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 0 2px; margin: 2px 0;
}
.brand__spot { color: var(--red-logo); }
.brand__loc { font-family: var(--font-road); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.1; }
.brand__loc small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.02em; text-transform: none; color: #cfcfcf; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; border-bottom: 4px solid var(--red); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; min-height: var(--header-h); padding-block: 0.45rem; }
.site-header .brand { margin-right: auto; }
.nav { width: 100%; order: 5; }
.nav ul { list-style: none; margin: 0; padding: 0 0 0.4rem; display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; }
.nav a { color: #fff; text-decoration: none; font-family: var(--font-road); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--red-on-dark); }
.header-phone { color: #fff; text-decoration: none; font-weight: 600; display: none; align-items: center; gap: 0.4rem; white-space: nowrap; }
.header-phone:hover { color: var(--red-on-dark); }
.header-phone svg { width: 18px; height: 18px; }
.site-header .btn { min-height: 42px; padding: 0.5rem 1rem; font-size: 1rem; box-shadow: none; }
.nav-toggle { display: none; }

.js .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: transparent; border: 2px solid rgba(255,255,255,.55); border-radius: 8px; color: #fff; cursor: pointer;
}
.js .nav-toggle svg { width: 24px; height: 24px; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.js .nav.is-open ul { flex-direction: column; padding: 0.5rem 0 1rem; }
.js .nav.is-open a { font-size: 1.25rem; padding: 0.55rem 0; }

@media (max-width: 459px) {
  .site-header .btn--primary { display: none; }
  .brand__loc small { display: none; }
}

@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; }
  .nav, .js .nav { display: block; width: auto; order: 0; }
  .nav ul { padding: 0; flex-wrap: nowrap; }
  .js .nav-toggle { display: none; }
  .header-phone { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.hero__inner { display: grid; gap: var(--space-4); padding-block: clamp(2.2rem, 1.5rem + 3vw, 4.5rem) clamp(2.6rem, 2rem + 3vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.hero h1 .h1-name { display: block; font-family: var(--font-road); font-weight: 700; font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.4rem); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-on-dark); margin-bottom: 0.65rem; }
.hero h1 .h1-tag { display: block; }
.hero .lead { color: #e8e8e8; margin-bottom: var(--space-3); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin: var(--space-3) 0 0; padding: 0; list-style: none; color: #d6d6d6; font-size: 1rem; }
.hero__meta a { color: #fff; font-weight: 600; text-decoration: none; }
.hero__meta a:hover { color: var(--red-on-dark); text-decoration: underline; }
.hero__meta svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 0.35rem; color: var(--red-on-dark); }
.open-badge { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.open-badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9a9a9a; }
.open-badge.is-open::before { background: #33d17a; box-shadow: 0 0 0 3px rgba(51,209,122,.25); }
.open-badge.is-closed::before { background: var(--red-on-dark); }

.hero__photo { margin: 0 14px 0 0; order: -1; }
.hero__frame { position: relative; }
.hero__frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--red); border-radius: 8px; }
.hero__frame picture { display: block; position: relative; border: 5px solid #fff; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.hero__photo figcaption { margin-top: 1.5rem; font-size: 0.95rem; color: #bdbdbd; }
@media (max-width: 899px) {
  .hero__inner { gap: 1.75rem; padding-top: 1.5rem; }
  .hero__photo figcaption { display: none; }
  .hero h1 { margin-bottom: 1rem; }
}

@media (min-width: 900px) {
  .hero__photo { order: 0; margin-right: 14px; }
  .hero__inner { grid-template-columns: 1fr 1.08fr; gap: clamp(2.5rem, 4vw, 4.5rem); }
}

/* Checkered deli-paper strip (from their own photo of The 702) */
.checker { height: 28px; background: var(--checker); }
.checker--thin { height: 14px; background-size: 14px 14px; }

/* ---------- Story ---------- */
.story__grid { display: grid; gap: var(--space-4); align-items: center; }
.story__photo { margin: 0; }
.story__photo img { border-radius: var(--radius); }
.story blockquote { margin: var(--space-3) 0 0; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 5px solid var(--red); font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 5vw, 5rem); }
}

/* ---------- Sandwiches ---------- */
.sandwiches { background: var(--warm); }
.section-head { max-width: 46rem; margin-bottom: var(--space-4); }
.sandwich-grid { display: grid; gap: var(--space-3); counter-reset: sw; }
.sandwich {
  counter-increment: sw; background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 10px 26px rgba(0,0,0,.07); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}
.sandwich img { width: 100%; height: auto; }
.sandwich__body { padding: 1.3rem 1.4rem 1.5rem; border-top: 6px solid var(--red); position: relative; }
.sandwich__body::before {
  content: "#" counter(sw); position: absolute; top: -26px; right: 1.1rem;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: #fff; font-family: var(--font-display); font-size: 1.1rem; border: 3px solid #fff;
}
.sandwich h3 { margin-bottom: 0.4rem; }
.sandwich p { margin: 0; color: var(--ink-soft); }
.sandwiches__more { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.sandwiches__more p { margin: 0; color: var(--ink-soft); }
@media (min-width: 760px) { .sandwich-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Catering ---------- */
.catering__grid { display: grid; gap: var(--space-4); align-items: center; }
.catering__photo { margin: 0; }
.catering h2 .red { color: var(--red); }
.occasions { list-style: none; padding: 0; margin: var(--space-3) 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.occasions li { border: 2px solid var(--ink); border-radius: 999px; padding: 0.25rem 0.9rem; font-weight: 600; font-size: 0.98rem; }
.occasions li.more { border-color: var(--red); color: var(--red); }
@media (min-width: 900px) { .catering__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 5vw, 5rem); } }

/* ---------- App & rewards ---------- */
.app { background: var(--red); color: #fff; position: relative; }
.app h2 { color: #fff; }
.app .lead { color: #fff; }
.perks { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; gap: var(--space-3); }
.perks li { background: rgba(0,0,0,.22); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; }
.perks svg { width: 40px; height: 40px; margin-bottom: 0.7rem; }
.perks h3 { font-size: var(--step-1); margin-bottom: 0.35rem; color: #fff; }
.perks p { margin: 0; color: #fff; }
.app__cta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.app__cta p { margin: 0; font-weight: 600; font-size: var(--step-1); }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reviews ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin-bottom: var(--space-4); }
.rating__score { font-family: var(--font-display); font-size: clamp(3rem, 2.4rem + 2.5vw, 4.4rem); line-height: 1; color: var(--red); }
.rating__stars { color: #e8a200; font-size: 1.6rem; letter-spacing: 0.08em; line-height: 1; }
.rating__count { color: var(--ink-soft); font-weight: 600; }
.quotes { display: grid; gap: var(--space-3); margin-bottom: var(--space-4); }
.quote { margin: 0; background: var(--warm); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; position: relative; border-top: 5px solid var(--red); }
.quote blockquote { margin: 0 0 1rem; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; }
.quote figcaption { color: var(--ink-soft); font-weight: 600; font-size: 0.98rem; }
.cruisin { display: grid; gap: 1.2rem; align-items: center; background: var(--black); color: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 1rem + 2vw, 2.4rem); }
.cruisin p { margin: 0; font-size: var(--step-1); }
.cruisin strong { font-family: var(--font-display); font-weight: 400; display: block; font-size: var(--step-2); margin-bottom: 0.3rem; }
@media (min-width: 760px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .cruisin { grid-template-columns: 1fr auto; }
}

/* ---------- Visit / contact ---------- */
.visit { background: var(--warm); }
.visit__grid { display: grid; gap: var(--space-4); }
.card { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); box-shadow: 0 1px 0 var(--line), 0 10px 26px rgba(0,0,0,.06); }
.card h3 { font-size: var(--step-2); }
.address { font-style: normal; font-size: var(--step-1); line-height: 1.45; margin-bottom: var(--space-2); }
.address small { display: block; font-size: 1rem; color: var(--ink-soft); margin-top: 0.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.contact-list li { margin-bottom: 0.4rem; }
.contact-list a { font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; margin: 0.5rem 0 0; font-size: 1.05rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1fr 1.15fr; align-items: start; } }

/* ---------- Form ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field .opt { font-weight: 400; color: var(--grey); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid #c9c4bf; border-radius: 8px; padding: 0.7rem 0.85rem; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(201,8,8,.18); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; padding: 0.9rem 1rem; border-radius: 8px; font-weight: 600; }
.form__status[hidden] { display: none; }
.form__status.ok { background: #e7f6ec; color: #135b2c; }
.form__status.err { background: var(--red-tint); color: var(--red-dark); }
.form small.note { color: var(--grey); }

/* ---------- FAQ page ---------- */
.page-hero { background: var(--black); color: #fff; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero .lead { color: #e5e5e5; }
.faq-layout { display: grid; gap: var(--space-4); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); }
.faq-item[open] { border-color: var(--red); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.25rem; position: relative;
  font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--font-body); font-weight: 800; font-size: 1.3rem; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--ink-soft); }
.aside-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card figure { margin: 0 0 1.2rem; }
.aside-card img { border-radius: 8px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: var(--space-5); }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--red); margin: 0 0 0.5rem; }
.notfound .btn-row { justify-content: center; margin-top: var(--space-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #d9d9d9; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--red-on-dark); }
.footer__grid { display: grid; gap: var(--space-4); padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) var(--space-4); }
.site-footer h2 { font-family: var(--font-road); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 0.8rem; }
.site-footer address { font-style: normal; line-height: 1.55; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer__brand p { margin-top: 1rem; max-width: 22rem; }
.footer__fine { border-top: 1px solid #2c2c2c; padding-block: 1.25rem 1.5rem; font-size: 0.88rem; color: #a8a8a8; display: grid; gap: 0.35rem; }
.footer__fine p { margin: 0; }
.footer__fine a { color: #cfcfcf; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 759px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--black); border-top: 3px solid var(--red); padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom)); gap: 0.4rem;
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
    color: #fff; text-decoration: none; font-family: var(--font-road); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 8px;
  }
  .action-bar a svg { width: 20px; height: 20px; }
  .action-bar a.primary { background: var(--red); }
  body { padding-bottom: 70px; }
}
