* { box-sizing: border-box; }
:root { --accent: #f6ddb1; --surface: #182d3b; color-scheme: dark; }
body { margin: 0; background: #101c25; color: #fff8eb; font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.top { width: min(100% - 2rem, 900px); margin: auto; padding: 1.15rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.wordmark { font: 1.3rem Georgia, serif; text-decoration: none; }
.top span, .note { color: #bdcbd1; font-size: .875rem; }
main { width: min(100% - 2rem, 900px); margin: 0 auto 2rem; }
.card { background: var(--surface); border: 1px solid #ffffff25; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 1.4rem 4rem #0004; }
.hero { height: clamp(180px, 36vw, 340px); background: var(--cover-background, #3e3632); }
.hero img { width: var(--cover-width, 100%); height: 100%; margin-inline: auto; display: block; object-fit: var(--cover-fit, cover); object-position: center 54%; }
.without-cover .hero, .logo[hidden] { display: none; }
.without-cover .intro {
  padding-top: clamp(2rem, 6vw, 4.5rem);
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--accent) 19%, transparent), transparent 65%);
}
.intro, .details, .gallery, .sharing { padding-inline: clamp(1rem, 5vw, 3.4rem); }
.logo { display: block; position: relative; margin-top: -2.5rem; border: 4px solid var(--surface); border-radius: 1.45rem; }
.category { color: var(--accent); margin: .9rem 0 .25rem; font-size: .9rem; }
h1, h2 { font-family: var(--heading-font, Georgia, serif); font-weight: normal; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(2.7rem, 8vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: 1.65rem; }
.description, section p, .hours { color: #d8e2e5; }
.description { max-width: 42ch; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.45rem 0 2rem; }
.actions a, .social-buttons a, button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .6rem 1rem; border-radius: .7rem; border: 1px solid #ffffff53; background: transparent; color: inherit; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.actions a:hover, .social-buttons a:hover, button:hover { border-color: var(--accent); }
.actions .primary { color: #172630; background: var(--accent); border-color: var(--accent); }
.details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.65rem 3rem; padding-block: 1.65rem; border-block: 1px solid #ffffff2b; }
.details.single-column { grid-template-columns: minmax(0, 30rem); }
.details[hidden] { display: none; }
.hours, .specialties { list-style: none; margin: 1rem 0 0; padding: 0; }
.hours li { display: flex; gap: .5rem 1rem; flex-wrap: wrap; justify-content: space-between; }
.hours strong { white-space: nowrap; }
.specialties li { padding: .25rem 0; }
.specialties li::before { content: '•'; color: var(--accent); margin-right: .65rem; }
.gallery { padding-block: 1.75rem; }
#gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1rem; }
#gallery img { width: 100%; height: auto; aspect-ratio: var(--gallery-ratio, 3/2); object-fit: cover; border-radius: .8rem; }
.sharing { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; background: #ffffff0a; padding-block: 1.75rem; }
#qr { width: min(100%, 144px); height: auto; display: block; border-radius: .5rem; image-rendering: pixelated; }
#status { margin: .4rem 0 0; }
#status input { max-width: 100%; font: inherit; }
.social-buttons { display: flex; flex-wrap: wrap; gap: .65rem; margin: -1.25rem 0 2rem; }
.social-buttons[hidden] { display: none; }
.note { text-align: center; }
.technical .hero {
  height: clamp(160px, 34vw, 290px);
  display: grid;
  place-items: center;
  background-color: var(--cover-background);
  background-image:
    linear-gradient(#763e3014 1px, transparent 1px),
    linear-gradient(90deg, #763e3014 1px, transparent 1px);
  background-size: 24px 24px;
}
.technical .hero img { width: min(87%, 640px); height: auto; }
.technical .intro { padding-top: clamp(1.35rem, 4vw, 2.5rem); }
.technical .category { margin-top: 0; }
.technical h1, .technical h2 { font-weight: 650; }
.technical .actions .primary:hover { background: #ffb29d; }
@media (max-width: 550px) {
  .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions a { text-align: center; padding-inline: .3rem; }
  .details { grid-template-columns: 1fr; }
}
@media (max-width: 325px) { .actions, #gallery { grid-template-columns: 1fr; } }

.technical .actions, .technical .social-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 25rem);
  gap: .5rem;
  margin-inline: auto;
}
.technical .actions { margin-block: 1.15rem .5rem; }
.technical .intro:has(.social-buttons[hidden]) .actions { margin-bottom: 1.25rem; }
.technical .social-buttons { margin-block: 0 1.25rem; }
.technical .social-buttons[hidden] { display: none; }
.technical .social-buttons a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.technical .actions a, .technical .social-buttons a {
  padding-inline: .25rem;
  font-size: clamp(.875rem, 3.8vw, 1rem);
  text-align: center;
}
@media (max-width: 350px) {
  .technical .intro { padding-inline: .65rem; }
}

.textile {
  --textile-border: #ffffff24;
  border-radius: 1.15rem;
}
.textile .hero {
  background-color: var(--cover-background);
  background-image: radial-gradient(#ffffff24 1px, transparent 1px);
  background-size: 12px 12px;
  height: clamp(160px, 47vw, 300px);
}
.textile .hero img { object-fit: contain; padding: clamp(.65rem, 2vw, 1.3rem); }
.textile .intro { padding-block: clamp(1.25rem, 4vw, 2.7rem); }
.textile .logo { margin: 0; border: 0; border-radius: .8rem; width: 58px; height: 58px; }
.textile .category { font-weight: 650; }
.textile h1 { font-size: clamp(2rem, 5.6vw, 3.75rem); font-weight: 780; text-wrap: balance; }
.textile h2 { font-weight: 700; font-size: 1.25rem; }
.textile .actions { margin-block: 1.25rem .6rem; }
.textile .actions a, .textile .social-buttons a, .textile button { font-size: .9rem; }
.textile .actions .primary:hover { filter: brightness(1.1); }
.textile .social-buttons { margin: 0; }
.textile .social-buttons a { padding-inline: 0; color: var(--accent); border: 0; text-decoration: underline; text-underline-offset: .25em; }
.textile .details { grid-template-columns: 1fr 1.15fr; }
.textile .hours li + li { margin-top: .4rem; }
.textile .specialties li { border-left: 2px solid var(--accent); padding: .12rem 0 .12rem .7rem; }
.textile .specialties li + li { margin-top: .65rem; }
.textile .specialties li::before { content: none; }
.textile #gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--textile-border); border-radius: .75rem; background: var(--cover-background); }
.textile #gallery img { display: block; border-radius: 0; }
.textile #gallery figure:first-child img { object-fit: contain; }
.textile figcaption { padding: .55rem .7rem; font-size: .9rem; font-weight: 650; }
@media (min-width: 760px) {
  .textile { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .textile .hero { grid-column: 2; grid-row: 1; height: auto; min-height: 0; }
  .textile .intro { grid-column: 1; grid-row: 1; padding-right: 1.5rem; }
  .textile .details, .textile .gallery, .textile .sharing { grid-column: 1 / -1; }
}
@media (max-width: 550px) {
  .textile .actions .primary { grid-column: 1 / -1; }
  .textile .details { grid-template-columns: 1fr; }
}

#contact-status { margin: .45rem 0 0; color: #e2ccbe; font-size: .9rem; }
#contact-status:empty { display: none; }
.menu { padding: 1.8rem clamp(1rem, 5vw, 3.4rem); background: #fff7eb; color: #2d1c16; }
.menu h2 { font-size: clamp(2.2rem, 6vw, 3.3rem); }
.menu header p { color: #6b4c40; max-width: 56ch; margin: .6rem 0 1.35rem; }
.menu-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.menu-groups section { border: 1px solid #d9c0ae; border-radius: .75rem; padding: 1rem; }
.menu-groups section:first-child { grid-row: span 2; }
.menu-groups h3 { color: #803a24; font: 1.4rem Georgia, serif; margin: 0; }
.menu-groups ul { padding: 0; margin: .5rem 0 0; list-style: none; }
.menu-groups li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .7rem; padding-block: .65rem; }
.menu-groups li + li { border-top: 1px solid #e3cdbc; }
.menu-groups li p { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: #6b4c40; }
.menu-price { color: #803a24; font-weight: 700; font-variant-numeric: tabular-nums; }
.restaurant .hero { height: clamp(190px, 38vw, 315px); }
.restaurant .hero img { object-position: center 55%; }
.restaurant .intro { padding-block: 1.15rem 1.3rem; }
.restaurant .actions { margin-bottom: 0; }
.restaurant .actions .menu-link { background: var(--accent); color: #281a15; border-color: var(--accent); }
.restaurant .actions button.primary { padding-inline: .5rem; background: transparent; color: var(--accent); }
.restaurant .gallery figure { margin: 0; }
.restaurant .gallery figcaption { color: #e2ccbe; font-size: .9rem; }
.restaurant #gallery { grid-template-columns: minmax(0, 26rem); }
.restaurant .social-buttons { margin: .7rem 0 0; }
@media (max-width: 620px) { .menu-groups { grid-template-columns: 1fr; } }

.menu-stepper button, .order button, .order-send {
  border: 1px solid #a06953;
  color: #70341f;
}
.menu-stepper { grid-column: 1 / -1; display: inline-grid; grid-template-columns: 46px minmax(2.3rem, auto) 46px; align-items: center; justify-self: start; margin-top: .35rem; text-align: center; font-variant-numeric: tabular-nums; }
.menu-stepper button { padding: 0; font-size: 1.2rem; }
.menu-stepper button:disabled { opacity: .5; cursor: default; }
.menu-stepper button:not(:disabled):hover, .order button:hover { background: #f6e4d7; }
.menu :focus-visible { outline-color: #803a24; }
.order { margin-top: 1.25rem; padding: clamp(.85rem, 3vw, 1.4rem); border: 1px solid #d9c0ae; border-radius: .75rem; }
.order h3 { margin: 0 0 .45rem; font: 1.55rem Georgia, serif; }
.order #order-summary { margin: 0; color: #5b3a2f; font-weight: 650; }
.order ul { margin: .6rem 0; padding: 0; list-style: none; }
.order li:not([hidden]) { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .4rem; }
.order-send:not([hidden]) { display: inline-flex; padding: .6rem 1rem; min-height: 46px; align-items: center; border-radius: .7rem; background: #803a24; color: #fff7eb; font-weight: 650; text-decoration: none; }
.order button.order-send:hover { background: #692f1d; }
#order-preview-panel { margin-top: .9rem; }
#order-message { display: block; width: 100%; margin-top: .35rem; padding: .6rem; font: inherit; color-scheme: light; color: #2d1c16; background: #fffdf8; border: 1px solid #a06953; border-radius: .45rem; }
