/* ==========================================================================
   Michael's Cafe — DESIGN SYSTEM & STYLESHEET
   --------------------------------------------------------------------------
   Aesthetic: Sharp editorial specialty cafe, architectural geometry,
   fine hairline rules, structured typography, tactile print cues.
   Fictional demonstration site.
   ========================================================================== */

/* --- 1. Design Tokens ---------------------------------------------------- */
:root {
  --espresso: #18120e;
  --mocha: #2d221b;
  --cocoa: #5a4436;
  --terracotta: #b85d38;
  --amber: #c48943;
  --cream: #f7f3eb;
  --cream-dim: #ece4d6;
  --foam: #ffffff;
  --sage: #5a6852;
  --ink: #1f1813;
  --muted: #6e6258;
  --line: #ded5c6;
  --line-dark: #32251c;

  /* Sharp geometry — no generic bubbly 24px pill radii */
  --radius-xs: 0px;
  --radius-s: 2px;
  --radius: 3px;
  --radius-l: 4px;

  /* Crisp structural shadows */
  --shadow-s: 0 1px 3px rgba(24, 18, 14, 0.05);
  --shadow: 0 4px 14px rgba(24, 18, 14, 0.08);
  --shadow-sharp: 4px 4px 0px var(--espresso);
  --shadow-sharp-light: 3px 3px 0px var(--terracotta);

  /* Editorial typography */
  --font-display: "Playfair Display", "Big Caslon", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

  --container: 1200px;
  --gutter: 28px;
  --header-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Base & Reset ----------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--espresso);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h4 { font-size: 0.92rem; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--espresso); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.15s ease; }
a:hover { color: var(--terracotta); }

img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 2px;
}

::selection { background: var(--terracotta); color: var(--foam); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--espresso);
  color: var(--cream);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* --- 3. Layout Utilities ------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section { padding: clamp(56px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.section--dark { background: var(--espresso); color: #ded4c8; border-bottom: 1px solid var(--line-dark); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--cream); }
.section--foam { background: var(--foam); border-bottom: 1px solid var(--line); }
.section--tint { background: var(--cream-dim); border-bottom: 1px solid var(--line); }

.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p { color: #a99d91; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.section--dark .eyebrow { color: var(--amber); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }

@media (max-width: 860px) {
  .grid--sidebar { grid-template-columns: 1fr; }
}

main { position: relative; }

.reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.98);
  filter: blur(10px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

.view { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.view.is-exiting { opacity: 0; transform: translateX(-90px); pointer-events: none; }
.view.is-entering { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateX(90px); }
.view.is-entering.is-visible { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--terracotta);
  z-index: 200;
  width: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --- 4. Sharp Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-s);
  border: 1px solid var(--espresso);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn--primary {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
  box-shadow: 2px 2px 0px rgba(24, 18, 14, 0.2);
}
.btn--primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--foam);
  box-shadow: 3px 3px 0px var(--espresso);
}

.btn--accent {
  background: var(--terracotta);
  color: var(--foam);
  border-color: var(--terracotta);
  box-shadow: 2px 2px 0px var(--espresso);
}
.btn--accent:hover {
  background: #a34e2c;
  border-color: #a34e2c;
  color: var(--foam);
  box-shadow: 3px 3px 0px var(--espresso);
}

.btn--ghost {
  background: transparent;
  border-color: var(--espresso);
  color: var(--espresso);
}
.btn--ghost:hover {
  background: var(--espresso);
  color: var(--cream);
}
.section--dark .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--cream);
}
.section--dark .btn--ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--espresso);
}

.btn--light {
  background: var(--foam);
  color: var(--espresso);
  border-color: var(--line);
}
.btn--light:hover {
  background: var(--cream);
  border-color: var(--espresso);
}

.btn--block { width: 100%; }
.btn--sm { padding: 8px 16px; font-size: 0.78rem; letter-spacing: 0.06em; }
.btn--lg { padding: 16px 30px; font-size: 0.95rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--espresso);
  border-bottom: 1px solid var(--espresso);
  padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--terracotta); border-color: var(--terracotta); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--cream); border-color: var(--amber); }
.section--dark .link-arrow:hover { color: var(--amber); }

/* --- 5. Demo Notice Bar -------------------------------------------------- */
.demo-bar {
  background: #110d0a;
  color: #cbbfae;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid #281d16;
}
.demo-bar strong { color: var(--amber); }
.demo-bar button {
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
  font: inherit;
  font-size: 0.85rem;
  padding: 1px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}
.demo-bar button:hover { background: rgba(255, 255, 255, 0.2); }
.demo-bar.is-hidden { display: none; }

/* --- 6. Header & Navigation ---------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--espresso);
  transition: box-shadow 0.2s ease;
}
.header.is-stuck { box-shadow: 0 4px 12px rgba(24, 18, 14, 0.08); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-s);
  background: var(--espresso);
  border: 1px solid var(--espresso);
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand__mark svg { width: 20px; height: 20px; stroke: var(--cream); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--espresso);
  line-height: 1;
}
.brand__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.nav__indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--espresso);
  border-radius: 999px;
  transition: left 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s ease;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.nav__links a {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--espresso);
  border: 1px solid transparent;
}
.nav__links a:hover {
  border-color: var(--line);
  background: var(--foam);
}
.nav__links a[aria-current="page"] {
  background: transparent;
  border-color: transparent;
  color: var(--cream);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--espresso);
  background: var(--foam);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--espresso);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cart-btn:hover {
  background: var(--espresso);
  color: var(--cream);
}
.cart-btn__count {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-xs);
  background: var(--terracotta);
  color: var(--foam);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  display: none;
  place-items: center;
}
.cart-btn__count.is-active { display: grid; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--espresso);
  border-radius: var(--radius-s);
  background: var(--foam);
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--espresso);
  transition: transform 0.2s ease, opacity 0.15s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__indicator { display: none; }
  .nav__links a[aria-current="page"] { background: var(--espresso); color: var(--cream); }
  .nav__menu {
    position: fixed;
    inset: calc(var(--header-h) + 1px) 0 auto 0;
    background: var(--cream);
    border-bottom: 2px solid var(--espresso);
    padding: 20px var(--gutter) 28px;
    box-shadow: 0 8px 24px rgba(24, 18, 14, 0.15);
    display: none;
  }
  .nav__menu.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__links a { padding: 12px 14px; font-size: 0.95rem; }
  .nav__actions { margin-top: 16px; }
  .nav__actions .btn { flex: 1; }
  .cart-btn { flex: 1; justify-content: center; }
}
@media (min-width: 941px) {
  .nav__menu { display: flex; align-items: center; gap: 16px; }
}

/* --- 7. Sharp Editorial Hero --------------------------------------------- */
.hero {
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--espresso);
  padding: clamp(48px, 7vw, 90px) 0 clamp(54px, 8vw, 100px);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.04;
  color: var(--espresso);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}
.hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__badges li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__badges li::before {
  content: "■";
  font-size: 0.6rem;
  color: var(--terracotta);
}

/* Hero Ticket Board / Ledger */
.hero__card {
  background: var(--foam);
  border: 1px solid var(--espresso);
  border-radius: var(--radius-s);
  padding: 24px;
  box-shadow: 4px 4px 0px var(--espresso);
  position: relative;
}
.hero__card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 16px;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage);
}
.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a33b32;
}
.status-dot.is-open::before {
  background: #3e7e48;
  box-shadow: 0 0 0 2px rgba(62, 126, 72, 0.25);
}

.hero__board {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.hero__board-header {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 6px;
}
.hero__board-lot {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.2;
}
.hero__board-notes {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.hero__meta { display: grid; gap: 10px; font-size: 0.88rem; }
.hero__meta div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.hero__meta div:last-child { border-bottom: 0; }
.hero__meta strong { color: var(--espresso); font-family: var(--font-mono); font-weight: 600; font-size: 0.82rem; }
.hero__card .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
}

/* --- 8. Cards & Grids ---------------------------------------------------- */
.card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
  border-color: var(--espresso);
  box-shadow: 3px 3px 0px var(--espresso);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 0.94rem; }

.card--flat { background: transparent; border: 0; padding: 0; }
.card--flat:hover { transform: none; box-shadow: none; }

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; stroke: var(--espresso); }
.section--dark .card { background: #1f1813; border-color: var(--line-dark); }
.section--dark .card:hover { border-color: var(--amber); box-shadow: 3px 3px 0px var(--amber); }
.section--dark .card p { color: #a99d91; }
.section--dark .card__icon { background: #140e0b; border-color: var(--line-dark); }
.section--dark .card__icon svg { stroke: var(--amber); }

/* Featured Drinks */
.drink {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.drink:hover {
  border-color: var(--espresso);
  box-shadow: 3px 3px 0px var(--espresso);
  transform: translateY(-2px);
}
.drink__art {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.drink__art svg { width: 36%; stroke: var(--espresso); }
.drink__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}
.drink__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.drink__body h3 { margin: 0; font-size: 1.2rem; }
.drink__body p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.drink__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.price { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; color: var(--espresso); }
.price small { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; color: var(--muted); display: block; letter-spacing: 0.05em; text-transform: uppercase; }

/* --- 9. Stats & Ticker --------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: left;
  border-top: 1px solid var(--espresso);
  border-bottom: 1px solid var(--espresso);
  padding: 28px 0;
}
.stat { padding: 0 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--espresso);
  line-height: 1;
}
.stat__label { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.marquee {
  background: var(--espresso);
  color: var(--cream);
  border-bottom: 1px solid var(--espresso);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 40px; padding-left: 20px; animation: slide 28s linear infinite; }
.marquee__track span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.marquee__track span::after { content: "•"; color: var(--terracotta); font-size: 1.1rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --- 10. Steps & Editorial Story ----------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.step {
  position: relative;
  background: var(--foam);
  border: 1px solid var(--line);
  padding: 24px;
}
.step::before {
  counter-increment: step;
  content: "[" counter(step, decimal-leading-zero) "]";
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.media {
  border: 1px solid var(--line);
  background: var(--mocha);
  aspect-ratio: 5 / 4.4;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 4px 4px 0px var(--espresso);
}
.media svg { width: 38%; stroke: var(--cream); }
.media--tall { aspect-ratio: 4 / 5; }
.media__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(24, 18, 14, 0.85);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.checklist { display: grid; gap: 12px; margin: 24px 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.checklist li::before {
  content: "—";
  font-family: var(--font-mono);
  color: var(--terracotta);
  font-weight: 700;
}

.quote {
  border-left: 2px solid var(--terracotta);
  padding: 4px 0 4px 20px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.4;
  color: var(--espresso);
  margin: 28px 0;
}
.quote footer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.section--dark .quote { color: var(--cream); }

/* --- 11. Menu View ------------------------------------------------------- */
.page-head {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(48px, 7vw, 80px) 0;
  text-align: center;
  border-bottom: 1px solid var(--line-dark);
}
.page-head h1 { color: var(--cream); margin-bottom: 12px; }
.page-head p { color: #b8ac9f; max-width: 60ch; margin-inline: auto; font-size: 1.05rem; }
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--cream); text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber); text-decoration: underline; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.chip {
  padding: 8px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--foam);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--espresso); background: var(--cream); }
.chip[aria-pressed="true"] {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

.menu-group {
  margin-bottom: clamp(40px, 6vw, 64px);
  background: var(--foam);
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px);
}
.menu-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--espresso);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.menu-group__head h2 { margin: 0; font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.menu-group__head p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  transition: background 0.15s ease;
}
.menu-item:last-child { border-bottom: 0; }
.menu-item.is-hidden { display: none; }
.menu-item__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.menu-item__desc { grid-column: 1; color: var(--muted); font-size: 0.92rem; margin: 0; }
.menu-item__tags { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.menu-item__price {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
}
.menu-item__action { grid-row: 2 / span 2; grid-column: 2; }

/* Sharp Tags */
.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--espresso);
}
.tag--popular { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.tag--new { background: var(--terracotta); color: var(--foam); border-color: var(--terracotta); }
.tag--vegan { background: #e8eee4; color: #354e2a; border-color: #c7d6be; }
.tag--gf { background: #f7eedf; color: #7a501a; border-color: #e4d1b8; }
.tag--vegetarian { background: #e8eee4; color: #354e2a; border-color: #c7d6be; }
.tag--low-calorie { background: var(--cream); color: var(--muted); }
.tag--decaf,
.tag--wholesale,
.tag--vegan-option { background: var(--cream); color: var(--mocha); }

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--espresso);
  background: var(--foam);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--espresso);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.add-btn:hover { background: var(--espresso); color: var(--cream); }
.add-btn.is-added { background: var(--sage); border-color: var(--sage); color: var(--foam); }
.add-btn__icon { font-size: 1.1em; line-height: 1; }

/* --- 12. Hours & Timetable ----------------------------------------------- */
.hours-card {
  background: var(--foam);
  border: 1px solid var(--espresso);
  border-radius: var(--radius-s);
  overflow: hidden;
  box-shadow: 3px 3px 0px var(--espresso);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--line);
}
.hours-row:last-child { border-bottom: 0; }
.hours-row.is-today { background: var(--cream); font-weight: 700; color: var(--espresso); }
.hours-row span:last-child { font-family: var(--font-mono); font-size: 0.86rem; color: var(--muted); }
.hours-row.is-today span:last-child { color: var(--espresso); font-weight: 700; }
.hours-note {
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  background: var(--cream-dim);
  border-top: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.open-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  background: var(--foam);
  border: 1px solid var(--espresso);
  color: var(--espresso);
  font-size: 0.92rem;
  margin-bottom: 18px;
  box-shadow: 2px 2px 0px var(--espresso);
}
.open-banner strong { font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }

/* --- 13. Reviews --------------------------------------------------------- */
.review {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stars { color: var(--amber); letter-spacing: 0.1em; font-size: 0.95rem; }
.review p { margin: 0; font-size: 0.96rem; line-height: 1.55; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-s);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream);
  background: var(--espresso);
  flex: 0 0 auto;
}
.review__who div { line-height: 1.35; }
.review__who strong { display: block; font-size: 0.92rem; color: var(--espresso); }
.review__who span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.rating-summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.rating-summary__score { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--amber); line-height: 1; }

/* --- 14. Forms & Inputs -------------------------------------------------- */
.form-card {
  background: var(--foam);
  border: 1px solid var(--espresso);
  border-radius: var(--radius-s);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 4px 4px 0px var(--espresso);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  transition: all 0.15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318120e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--espresso);
  background: var(--foam);
  box-shadow: 2px 2px 0px var(--espresso);
}
.field input::placeholder,
.field textarea::placeholder { color: #a49688; }
.field__error { display: none; color: #a32a3c; font-family: var(--font-mono); font-size: 0.72rem; margin-top: 5px; font-weight: 700; text-transform: uppercase; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #a32a3c; background: #fff5f5; }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.checkbox input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--espresso); flex: 0 0 auto; }

.form-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 14px; }

.alert {
  border-radius: var(--radius-s);
  padding: 18px 20px;
  border: 1px solid;
  display: none;
  gap: 14px;
  align-items: flex-start;
}
.alert.is-visible { display: flex; }
.alert--success { background: #eef4eb; border-color: var(--sage); color: #2d4424; }
.alert--error { background: #fdf2f3; border-color: #a32a3c; color: #8c2233; }
.alert--info { background: var(--cream); border-color: var(--espresso); color: var(--espresso); }
.alert h3 { margin: 0 0 4px; font-size: 1rem; color: inherit; font-family: var(--font-body); font-weight: 700; }
.alert p { margin: 0; font-size: 0.9rem; }
.alert__icon { flex: 0 0 auto; width: 22px; height: 22px; }

/* Contact Cards */
.contact-card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-card p { margin: 0 0 6px; font-size: 0.9rem; color: var(--muted); }
.contact-card a { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; word-break: break-word; }

.fake-map {
  border: 1px solid var(--espresso);
  background:
    linear-gradient(rgba(24, 18, 14, 0.06) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(24, 18, 14, 0.06) 1px, transparent 1px) 0 0 / 28px 100%,
    var(--cream);
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.fake-map__pin {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: var(--radius-s);
  background: var(--terracotta);
  border: 1px solid var(--espresso);
  display: grid;
  place-items: center;
  box-shadow: 2px 2px 0px var(--espresso);
}
.fake-map__pin svg { width: 18px; stroke: var(--foam); }
.fake-map p { font-size: 0.86rem; color: var(--muted); max-width: 34ch; margin-inline: auto; }

/* --- 15. FAQ Accordion --------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 800px; margin-inline: auto; }
.faq__item { background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--espresso);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { background: var(--cream); }
.faq__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--espresso);
  border-radius: var(--radius-s);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--espresso); color: var(--cream); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__a p { padding: 0 20px 20px; margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* --- 16. Careers --------------------------------------------------------- */
.job {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  align-items: center;
  transition: all 0.15s ease;
}
.job:hover { border-color: var(--espresso); box-shadow: 3px 3px 0px var(--espresso); transform: translateY(-1px); }
.job.is-hidden { display: none; }
.job h3 { margin: 0 0 4px; font-size: 1.2rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; color: var(--muted); }
.job__pay { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--espresso); }
.job__blurb { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }

/* --- 17. CTA & Newsletter ------------------------------------------------ */
.cta-band {
  background: var(--espresso);
  color: var(--cream);
  border: 1px solid var(--espresso);
  border-radius: var(--radius-s);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  position: relative;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: #b8ac9f; max-width: 56ch; margin-inline: auto; font-size: 1.02rem; }
.cta-band__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.inline-form { display: flex; gap: 8px; max-width: 480px; margin: 22px auto 0; flex-wrap: wrap; }
.inline-form input {
  flex: 1 1 240px;
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}
.inline-form input::placeholder { color: #8e8072; }
.inline-form input:focus { outline: none; border-color: var(--amber); background: rgba(255, 255, 255, 0.15); }

/* --- 18. Cart Drawer (Receipt Style) ------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 18, 14, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 80;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--cream);
  border-left: 1px solid var(--espresso);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.3s var(--ease);
  box-shadow: -6px 0 24px rgba(24, 18, 14, 0.15);
}
.drawer.is-open { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 2px solid var(--espresso);
  background: var(--foam);
}
.drawer__head h2 { margin: 0; font-size: 1.25rem; }
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-s);
  border: 1px solid var(--espresso);
  background: var(--foam);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--espresso);
  transition: all 0.15s ease;
}
.icon-btn:hover { background: var(--espresso); color: var(--cream); }

.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { border-top: 2px solid var(--espresso); background: var(--foam); padding: 20px 22px; }

.cart-empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.cart-empty svg { width: 56px; margin: 0 auto 16px; opacity: 0.4; }
.cart-empty h3 { color: var(--espresso); font-size: 1.25rem; }
.cart-empty p { font-size: 0.9rem; }

.cart-line {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line__art { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-s); display: grid; place-items: center; }
.cart-line__art svg { width: 22px; }
.cart-line__name { font-weight: 600; font-size: 0.92rem; color: var(--espresso); line-height: 1.3; }
.cart-line__unit { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--foam); margin-top: 6px; }
.qty button {
  width: 24px;
  height: 24px;
  border: 0;
  background: none;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--espresso);
}
.qty button:hover { background: var(--cream); }
.qty span { min-width: 20px; text-align: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; }
.cart-line__total { font-family: var(--font-mono); font-weight: 700; color: var(--espresso); text-align: right; }
.cart-line__remove { display: block; margin-top: 4px; margin-left: auto; background: none; border: 0; font: inherit; font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); text-transform: uppercase; text-decoration: underline; cursor: pointer; }
.cart-line__remove:hover { color: #a32a3c; }

.totals { display: grid; gap: 8px; margin-bottom: 16px; font-family: var(--font-mono); font-size: 0.85rem; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .totals__grand {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--espresso);
  border-top: 1px solid var(--espresso);
  padding-top: 10px;
  margin-top: 4px;
}

.promo { display: flex; gap: 8px; margin-bottom: 14px; }
.promo input { flex: 1; font: inherit; font-family: var(--font-mono); font-size: 0.82rem; padding: 9px 12px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--cream); text-transform: uppercase; }
.promo button { border: 1px solid var(--espresso); background: var(--cream); border-radius: var(--radius-s); padding: 0 12px; font: inherit; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--espresso); cursor: pointer; }
.promo button:hover { background: var(--espresso); color: var(--cream); }
.promo__msg { font-family: var(--font-mono); font-size: 0.75rem; margin-top: -6px; margin-bottom: 12px; font-weight: 700; text-transform: uppercase; }
.promo__msg.is-ok { color: var(--sage); }
.promo__msg.is-bad { color: #a32a3c; }

/* --- 19. Modals ---------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(24, 18, 14, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--espresso);
  border-radius: var(--radius-s);
  box-shadow: 6px 6px 0px var(--espresso);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.modal.is-open .modal__panel { transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 2px solid var(--espresso); background: var(--foam); }
.modal__head h2 { margin: 0; font-size: 1.3rem; }
.modal__body { padding: 22px; }

.receipt { text-align: center; padding: 6px 0; }
.receipt__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--espresso);
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--sage);
}
.receipt__icon svg { width: 26px; stroke: var(--sage); }
.receipt__ref {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--espresso);
  color: var(--amber);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  margin: 6px 0 16px;
  letter-spacing: 0.08em;
}

/* --- 20. Toast ----------------------------------------------------------- */
.toast-stack {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: grid;
  gap: 8px;
  width: min(380px, calc(100% - 32px));
}
.toast {
  background: var(--espresso);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
  display: flex;
  gap: 10px;
  align-items: center;
  animation: toast-in 0.25s var(--ease);
}
.toast svg { width: 16px; flex: 0 0 auto; stroke: var(--amber); }
.toast.is-leaving { animation: toast-out 0.2s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px); } }

/* --- 21. Footer ---------------------------------------------------------- */
.footer {
  background: var(--espresso);
  color: #b3a598;
  padding: clamp(48px, 7vw, 76px) 0 30px;
  font-size: 0.92rem;
  border-top: 2px solid var(--espresso);
}
.footer a { color: #d8cebf; text-decoration: none; border-bottom: 1px solid transparent; }
.footer a:hover { color: var(--amber); border-color: var(--amber); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer .brand__name { color: var(--cream); }
.footer h4 { color: var(--cream); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links { display: grid; gap: 9px; font-size: 0.9rem; }
.footer__about p { margin: 16px 0; max-width: 34ch; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; font-size: 0.88rem; }
.footer__contact svg { width: 16px; flex: 0 0 auto; margin-top: 3px; stroke: var(--amber); }

.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}
.socials a:hover { background: var(--amber); border-color: var(--amber); transform: translateY(-1px); }
.socials a:hover svg { stroke: var(--espresso); }
.socials svg { width: 16px; height: 16px; stroke: #d8cebf; }

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8f8275;
  text-transform: uppercase;
}
.footer__bottom p { margin: 0; }
.footer__disclaimer {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px dashed rgba(196, 137, 67, 0.4);
  border-radius: var(--radius-s);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #c4b09b;
  text-transform: uppercase;
  line-height: 1.5;
}
