/* ==========================================================================
   Man Fu Ly — design system
   Paper, ink, one seal red. Fraunces for display, Instrument Sans for text.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5efe4;
  --paper-2: #ece4d5;
  --card: #fbf8f2;
  --ink: #1a1410;
  --ink-2: #3a312a;
  --muted: #6b6157;
  --rule: #d8cdbb;
  --rule-ink: rgba(26, 20, 16, 0.85);
  --accent: #506c1f; /* bamboo green, 6:1 on white text */
  --accent-ink: #3f5618;
  --accent-logo: #7e9d3f; /* the logo green, decorative only */
  --accent-light: #c5d99a; /* accents on dark backgrounds */
  --red: #b3261e; /* only for "scharf", closed status and form errors */
  --on-dark: #f5efe4;
  --on-dark-muted: #b9ad9c;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --margin: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --gutter: clamp(16px, 2vw, 28px);
  --header-h: 72px;

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

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  background: var(--accent);
  color: var(--on-dark);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-dark);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--margin));
  margin: 0 auto;
  padding: 0 var(--margin);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
@media (max-width: 899px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Type ---------- */
.meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(42px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.h2 em,
.display em {
  font-style: italic;
  font-weight: 300;
}
.h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 48;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34ch;
}
.num {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- Links & buttons (text-first) ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.4s var(--ease), color 0.2s;
}
.link:hover {
  gap: 16px;
}
.link .arrow {
  display: inline-block;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.3s var(--ease);
}
.btn:hover {
  background: var(--accent-ink);
}
.btn:active {
  transform: scale(0.98);
}
.btn--ink {
  background: var(--ink);
}
.btn--ink:hover {
  background: #000;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--on-dark);
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- Status dot ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.status.is-open::before {
  background: #2f8f4e;
  box-shadow: 0 0 0 3px rgba(47, 143, 78, 0.18);
}
.status.is-closed::before {
  background: var(--red);
}

/* ---------- Top strip ---------- */
.strip {
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-2);
}
.strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
}
.strip a {
  text-decoration: none;
}
.strip a:hover {
  text-decoration: underline;
}
@media (max-width: 699px) {
  .strip__addr {
    display: none;
  }
}
@media (max-width: 399px) {
  .strip {
    font-size: 12px;
  }
  .strip__phone {
    display: none;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 228, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled {
  border-bottom-color: var(--rule);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  flex: none;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header .btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-btn span:nth-child(1) {
  top: 17px;
}
.menu-btn span:nth-child(2) {
  top: 26px;
}
.menu-open .menu-btn span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-open .menu-btn span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}
@media (max-width: 899px) {
  :root {
    --header-h: 64px;
  }
  .brand img {
    height: 38px;
  }
  .nav,
  .header__cta {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}

/* Mobile overlay menu */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 48px) var(--margin) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .overlay {
  visibility: visible;
  opacity: 1;
}
.menu-open .header {
  background: var(--ink);
  border-bottom-color: transparent;
}
.brand__inv {
  display: none;
}
.menu-open .header .brand img {
  display: none;
}
.menu-open .header .brand .brand__inv {
  display: block;
}
.menu-open .menu-btn span {
  background: var(--on-dark);
}
.overlay nav {
  display: flex;
  flex-direction: column;
}
.overlay nav a {
  font-family: var(--serif);
  font-size: clamp(32px, min(13vw, 9vh), 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid rgba(245, 239, 228, 0.14);
}
.overlay__foot {
  display: grid;
  gap: 6px;
  font-size: 15px;
  color: var(--on-dark-muted);
}
.overlay__foot a {
  color: var(--on-dark);
  text-decoration: none;
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(24px, 4vw, 64px);
}
.hero__row {
  align-items: center;
  row-gap: 32px;
}
.hero__text {
  grid-column: 1 / span 6;
}
.hero__title {
  margin: 18px 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero__text .lead {
  margin: 0 0 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.hero__media {
  grid-column: 7 / -1;
  margin: 0;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  max-height: calc(100vh - var(--header-h) - 120px);
  min-height: 420px;
  object-fit: cover;
  border-radius: 2px;
}
.caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 899px) {
  .hero__text,
  .hero__media {
    grid-column: 1 / -1;
  }
  .hero__media img {
    aspect-ratio: 5 / 4;
    max-height: none;
    min-height: 0;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding: 22px 0;
  margin-top: clamp(56px, 8vw, 120px);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 46px);
  letter-spacing: -0.01em;
  padding-right: 0.9em;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "·";
  font-style: normal;
  color: var(--accent-light);
  padding-left: 0.9em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section ---------- */
.section {
  padding-top: clamp(72px, 10vw, 160px);
}
.section__head {
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
  row-gap: 18px;
}
.section__head .meta {
  grid-column: 1 / -1;
}
.section__head .h2 {
  grid-column: 1 / span 8;
}
.section__head .section__aside {
  grid-column: 9 / -1;
  justify-self: end;
  text-align: right;
}
@media (max-width: 899px) {
  .section__head .h2,
  .section__head .section__aside {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

/* ---------- Dish index (home) ---------- */
.index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule-ink);
}
.index__row {
  border-bottom: 1px solid var(--rule);
}
.index__row a {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: clamp(14px, 1.6vw, 22px) 0;
  text-decoration: none;
}
.index__nr {
  font-size: 13px;
  color: var(--muted);
}
.index__name {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  transition: transform 0.5s var(--ease), color 0.2s;
}
.index__cat {
  font-size: 14px;
  color: var(--muted);
}
.index__price {
  min-width: 5.5em;
  text-align: right;
  font-size: 18px;
}
.index__thumb {
  display: none;
}
.index__row a:hover .index__name {
  transform: translateX(14px);
  color: var(--accent);
}
.index-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 300px;
  aspect-ratio: 5 / 4;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.92);
  transition: opacity 0.25s, transform 0.4s var(--ease);
}
.index-preview.is-on {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}
.index-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 899px), (hover: none) {
  .index__row a {
    grid-template-columns: 76px 1fr auto;
    gap: 14px;
  }
  .index__nr,
  .index__cat {
    display: none;
  }
  .index__thumb {
    display: block;
    width: 76px;
    height: 61px;
    object-fit: cover;
    border-radius: 2px;
  }
  .index__name {
    font-size: 24px;
  }
  .index__price {
    font-size: 16px;
    min-width: 0;
  }
  .index-preview {
    display: none;
  }
}
.index-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- How to order (dark block) ---------- */
.dark {
  background: var(--ink);
  color: var(--on-dark);
  margin-top: clamp(72px, 10vw, 160px);
  padding: clamp(64px, 9vw, 140px) 0;
}
.dark .meta {
  color: var(--on-dark-muted);
}
.steps {
  list-style: none;
  margin: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 64px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(245, 239, 228, 0.25);
}
.steps li {
  padding: 24px 28px 0 0;
}
.steps li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(245, 239, 228, 0.25);
}
.steps__nr {
  display: block;
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent-logo);
  margin-bottom: 18px;
}
.steps h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.015em;
}
.steps p {
  margin: 0;
  color: var(--on-dark-muted);
  max-width: 30ch;
}
@media (max-width: 899px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps li,
  .steps li + li {
    padding: 22px 0 24px;
    border-left: 0;
    border-bottom: 1px solid rgba(245, 239, 228, 0.25);
    display: grid;
    grid-template-columns: 76px 1fr;
    column-gap: 12px;
  }
  .steps__nr {
    grid-row: span 2;
    font-size: 56px;
    margin: 0;
  }
}
.dark .btn--ghost {
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1px var(--on-dark);
}
.dark .btn--ghost:hover {
  background: var(--on-dark);
  color: var(--ink);
}

/* ---------- Visit: hours + address + map ---------- */
.visit {
  row-gap: 48px;
}
.visit__info {
  grid-column: 1 / span 5;
}
.visit__map {
  grid-column: 7 / -1;
}
@media (max-width: 899px) {
  .visit__info,
  .visit__map {
    grid-column: 1 / -1;
  }
}
.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 36px;
}
.hours th,
.hours td {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}
.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours tr.is-today th,
.hours tr.is-today td {
  font-weight: 600;
}
.hours tr.is-today th::after {
  content: "Heute";
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.hours .closed {
  color: var(--muted);
}
.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
}
.contact-list dt {
  margin-bottom: 2px;
}
.contact-list dd {
  margin: 0;
  font-size: 20px;
}
.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.contact-list a:hover {
  border-color: var(--ink);
}
.map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-radius: 2px;
  overflow: hidden;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(1.05) sepia(0.15);
}
.map__consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(26, 20, 16, 0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(26, 20, 16, 0.06) 39px 40px),
    var(--paper-2);
}
.map__consent p {
  margin: 0;
  max-width: 36ch;
  font-size: 14px;
  color: var(--muted);
}
.map__pin {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(80px, 11vw, 180px);
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(56px, 7vw, 96px) 0 28px;
}
.footer a {
  color: var(--on-dark);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer__top {
  row-gap: 40px;
}
.footer__seal {
  grid-column: 1 / span 3;
}
.footer__seal img {
  width: clamp(96px, 10vw, 140px);
}
.footer__col {
  grid-column: span 3;
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 15px;
  color: var(--on-dark-muted);
}
.footer__col .meta {
  color: var(--on-dark-muted);
  margin-bottom: 8px;
}
@media (max-width: 899px) {
  .footer__seal {
    grid-column: 1 / -1;
  }
  .footer__col {
    grid-column: span 2;
  }
}
@media (max-width: 499px) {
  .footer__col {
    grid-column: 1 / -1;
  }
}
.footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 16px;
  border-top: 1px solid rgba(245, 239, 228, 0.18);
  font-size: 13px;
  color: var(--on-dark-muted);
}
.footer__base a {
  color: var(--on-dark-muted);
}

/* ---------- Page head (inner pages) ---------- */
.page-head {
  padding-top: clamp(36px, 6vw, 88px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.page-head__row {
  align-items: end;
  row-gap: 18px;
}
.page-head .display {
  grid-column: 1 / span 8;
  margin: 10px 0 0;
  font-size: clamp(64px, 12vw, 184px);
}
.page-head__aside {
  grid-column: 9 / -1;
  justify-self: end;
  text-align: right;
  margin: 0 0 12px;
  color: var(--ink-2);
  max-width: 32ch;
}
@media (max-width: 899px) {
  .page-head .display,
  .page-head__aside {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px 20px;
}
.field {
  display: grid;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
@media (max-width: 599px) {
  .form {
    grid-template-columns: 1fr;
  }
}
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--card);
  font-size: 16px;
  transition: border-color 0.2s;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}
.field .hint {
  font-size: 13px;
  color: var(--muted);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.form-note {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Prose (Impressum) ---------- */
.prose {
  max-width: 68ch;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 56px 0 12px;
}
.prose h3 {
  font-size: 17px;
  margin: 28px 0 6px;
}
.prose p,
.prose li {
  color: var(--ink-2);
}

/* ---------- Reveal motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee__track {
    animation: none;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.4s var(--ease);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reservation ---------- */
.res {
  row-gap: 48px;
  padding-top: 8px;
}
.res__form {
  grid-column: 1 / span 7;
  padding-top: 24px;
  border-top: 1px solid var(--rule-ink);
}
.res__aside {
  grid-column: 9 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--rule-ink);
}
@media (max-width: 899px) {
  .res__form,
  .res__aside {
    grid-column: 1 / -1;
  }
}

/* ---------- Contact index ---------- */
.contact-index .index__row a {
  grid-template-columns: 140px 1fr auto auto;
}
.contact-index .index__nr {
  display: block;
}
@media (max-width: 899px), (hover: none) {
  .contact-index .index__row a {
    grid-template-columns: 1fr auto;
    row-gap: 2px;
  }
  .contact-index .index__nr {
    grid-column: 1 / -1;
  }
  .contact-index .index__name {
    font-size: clamp(24px, 7vw, 34px);
    overflow-wrap: anywhere;
  }
  .contact-index .index__price {
    display: block;
  }
}

/* ---------- Steam over dim sum ---------- */
.steamy {
  position: relative;
}
.steam {
  position: absolute;
  left: 30%;
  right: 6%;
  top: -4%;
  height: 62%;
  pointer-events: none;
  mix-blend-mode: screen;
}
.steam i {
  position: absolute;
  bottom: 12%;
  width: 36%;
  aspect-ratio: 1 / 1.6;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.25) 55%, rgba(255, 255, 255, 0));
  filter: blur(10px);
  opacity: 0;
  animation: steam 6s ease-out infinite;
}
.steam i:nth-child(1) {
  left: 6%;
  animation-delay: 0s;
}
.steam i:nth-child(2) {
  left: 32%;
  width: 42%;
  animation-delay: 1.5s;
}
.steam i:nth-child(3) {
  left: 58%;
  animation-delay: 3s;
}
.steam i:nth-child(4) {
  left: 22%;
  width: 30%;
  animation-delay: 4.5s;
}
.steam--late {
  left: 28%;
}
.steam--late i {
  animation-duration: 7s;
}
@keyframes steam {
  0% {
    opacity: 0;
    transform: translate3d(0, 20%, 0) scale(0.7);
  }
  15% {
    opacity: 0.95;
  }
  55% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translate3d(12%, -95%, 0) scale(1.5) rotate(8deg);
  }
}

/* ---------- Full-bleed photo band with gentle parallax ---------- */
.band {
  position: relative;
  margin: clamp(72px, 10vw, 160px) 0 0;
  height: clamp(340px, 62vh, 640px);
  overflow: hidden;
  background: var(--ink);
}
.band__img {
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 20, 16, 0.75) 0%, rgba(26, 20, 16, 0) 55%);
}
.band__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(24px, 4vw, 48px);
  z-index: 1;
  margin: 0 auto;
}
.band__line {
  display: block;
  color: var(--on-dark);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.band__line em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-light);
}



@media (prefers-reduced-motion: reduce) {
  .steam {
    display: none;
  }
  .band__img {
    transform: none !important;
  }
}

/* keep the toast clear of the floating cart bar on small screens */
@media (max-width: 1099px) {
  body:has(.cart-bar:not([hidden])) .toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* ---------- Embedded hero: photo bleeds to the edge and melts into the paper ---------- */
.hero-embed {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, calc(100svh - var(--header-h) - 38px), 940px);
  overflow: hidden;
}
.hero-embed__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54vw;
  margin: 0;
}
.hero-embed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 82%; /* keep the wok in frame; the hood may crop */
}
/* soft blend into the paper on the left and at the bottom */
.hero-embed__photo::before,
.hero-embed__photo::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero-embed__photo::before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(245, 239, 228, 0.85) 25%, rgba(245, 239, 228, 0) 100%);
}
.hero-embed__photo::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(0deg, var(--paper) 0%, rgba(245, 239, 228, 0) 100%);
}
.hero-embed__inner {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.hero-embed__text {
  max-width: min(640px, 48vw);
}
.hero-embed__text .lead {
  margin: 0 0 32px;
}
@media (max-width: 899px) {
  .hero-embed {
    display: block;
    min-height: 0;
  }
  .hero-embed__photo {
    position: relative;
    width: 100%;
    height: auto;
  }
  .hero-embed__photo img {
    height: auto;
    aspect-ratio: 834 / 947;
  }
  .hero-embed__photo::before {
    display: none;
  }
  .hero-embed__photo::after {
    height: 30%;
  }
  .hero-embed__inner {
    margin-top: -40px;
    padding-top: 0;
  }
  .hero-embed__text {
    max-width: none;
  }
}

/* ---------- Dim sum: text left, photos bleed to the right edge ---------- */
.dimsum {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(72px, 10vw, 160px);
}
.dimsum__inner {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  align-items: center;
}
.dimsum__text {
  max-width: min(560px, 44vw);
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.dimsum__text blockquote {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.dimsum__text blockquote p {
  margin: 0;
}
.dimsum__text blockquote em {
  color: var(--accent);
}
.dimsum__text .lead {
  margin: 28px 0 22px;
}
.dimsum__media {
  grid-row: 1;
  grid-column: 1;
  justify-self: end;
  width: min(50vw, 760px);
  display: grid;
}
.dimsum__media figure {
  position: relative;
  margin: 0;
}
.dimsum__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.dimsum__media figure::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  z-index: 1;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(245, 239, 228, 0) 100%);
  pointer-events: none;
}
.dimsum__media figcaption {
  position: absolute;
  left: 34%;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
@media (max-width: 899px) {
  .dimsum__inner,
  .dimsum__media {
    grid-row: auto;
  }
  .dimsum__text {
    max-width: none;
    position: static;
  }
  .dimsum__media {
    width: 100%;
    margin-top: 32px;
  }
  .dimsum__media figure::before {
    display: none;
  }
  .dimsum__media figcaption {
    left: 16px;
  }
}

/* ---------- Small layout helpers (no inline styles, CSP-friendly) ---------- */
.h2--after-meta {
  margin-top: 14px;
}
.res__phone {
  margin: 12px 0 4px;
}
.res__phone a {
  text-decoration: none;
}
.address-block {
  margin: 12px 0 36px;
}
.page-head__cta {
  margin-top: 32px;
}
