/* Ember × Storefront */

:root {
  color-scheme: light dark;
  --surface: #FBF6F0;
  --surface-raised: #FFFFFF;
  --text-primary: #2A1D16;
  --text-muted: #6B5545;
  --accent: #A8341A;
  --on-accent: #FFFFFF;
  --border: #E3D5C6;
  --radius: 10px;
  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tracking-heading: -0.015em;
  --content-width: 72rem;
  --section-gap: clamp(3.5rem, 8vw, 6.5rem);
  --shadow-raised: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
  --surface: #191210;
  --surface-raised: #241A16;
  --text-primary: #F5EAE0;
  --text-muted: #BFA895;
  --accent: #F08A62;
  --on-accent: #2A1206;
  --border: #3B2A22;
    --shadow-raised: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 34px rgba(0, 0, 0, 0.45);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: var(--tracking-heading);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

/* A visible focus ring is not optional on a page sent to someone we have never met. */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  z-index: 20;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.shell { width: min(100% - 2.5rem, var(--content-width)); margin-inline: auto; }

.section { padding-block: var(--section-gap); }
.section + .section { border-top: 1px solid var(--border); }
.section__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 42rem; }
.section__eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.section__lede { color: var(--text-muted); margin-top: 0.9rem; font-size: 1.05em; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3.5rem, 9vw, 7rem); overflow: hidden; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.hero__tagline {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 34rem;
}
.hero__art {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface-raised);
}
.hero__art .hero-art__svg { display: block; width: 100%; height: 100%; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.button--primary { background: var(--accent); color: var(--on-accent); }
.button--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.button--ghost { border-color: var(--border); color: var(--text-primary); background: var(--surface-raised); }
.button--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .button, .button:hover { transition: none; transform: none; }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.94rem;
  list-style: none;
  padding-inline: 0;
}
.hero__meta li { display: flex; align-items: center; gap: 0.45rem; }
.hero__meta strong { color: var(--text-primary); font-weight: 650; }

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero { position: relative; isolation: isolate; }
.hero__inner { display: block; text-align: center; max-width: 46rem; margin-inline: auto; }
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0;
  border: 0;
  opacity: 0.34;
}
.hero__actions { justify-content: center; }
.hero__meta { justify-content: center; }

@media (max-width: 900px) {
  .hero__inner { display: block; }
  .hero__art { margin-top: 2.5rem; aspect-ratio: 16 / 10; position: static; opacity: 1; z-index: auto; border: 1px solid var(--border); border-radius: var(--radius); }
  .hero__inner { text-align: left; }
  .hero__actions, .hero__meta { justify-content: flex-start; }
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 160ms ease, transform 160ms ease;
}
.service:hover { border-color: var(--accent); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .service, .service:hover { transition: none; transform: none; } }
.service__name { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.service__price {
  font-family: var(--font-heading);
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
.service__desc { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* ---------- Hours ---------- */

.hours {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1.4rem;
  max-width: 34rem;
}
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--border);
}
.hours__row:last-child { border-bottom: 0; }
.hours__row[data-today="true"] { font-weight: 700; color: var(--accent); }
.hours__day { text-transform: capitalize; }
.hours__time { font-variant-numeric: tabular-nums; color: var(--text-muted); }
.hours__row[data-today="true"] .hours__time { color: var(--accent); }
.hours__closed { font-style: italic; }

/* ---------- Wow ---------- */

.wow__panel {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-raised);
}

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.6rem; }
.contact__block { display: flex; flex-direction: column; gap: 0.3rem; }
.contact__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__value { font-size: 1.1rem; }
.contact__value a { text-decoration: none; }
.contact__value a:hover { text-decoration: underline; }
address { font-style: normal; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem 3rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer__name { color: var(--text-primary); font-weight: 650; }
.footer__attribution { margin-top: 0.4rem; }

.motif {
  height: 3px;
  background: var(--accent);
  opacity: 0.35;
  border: 0;
  margin: 0;
}

@media print {
  .hero__art, .wow__panel { display: none; }
  body { background: #fff; color: #000; }
}

.wow-heat__label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}
.wow-heat__range {
  width: 100%;
  accent-color: var(--accent);
  height: 2rem;
  cursor: pointer;
}
.wow-heat__range:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wow-heat__ticks {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  gap: 0.25rem;
}
.wow-heat__tick {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  flex: 1;
  transition: color 150ms ease;
}
.wow-heat__tick.is-active { color: var(--accent); font-weight: 700; }
.wow-heat__readout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.wow-heat__dish { margin: 0 0 0.35rem; font-weight: 700; font-size: 1.15rem; }
.wow-heat__desc { margin: 0 0 0.5rem; color: var(--text-muted); }
.wow-heat__scoville {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) { .wow-heat__tick { transition: none; } }
