:root {
  --bg: #f8f3ec;
  --ink: #182028;
  --ink-soft: #4b5563;
  --card: #fffaf2;
  --line: #e7ddcf;
  --accent: #0f766e;
  --accent-strong: #0a4f4a;
  --danger: #b42318;
  --ok: #067647;
  --shadow: 0 20px 60px rgba(24, 32, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Manrope, Segoe UI, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, #ffe4c7 0, transparent 40%),
    radial-gradient(circle at 80% 80%, #d8f3dc 0, transparent 45%),
    var(--bg);
}

body {
  padding: 2rem 1rem;
}

body[data-page="public"] {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(247, 239, 226, 0.96)),
    linear-gradient(120deg, rgba(185, 28, 28, 0.06), transparent 34%),
    linear-gradient(300deg, rgba(53, 118, 65, 0.06), transparent 36%),
    var(--bg);
}

body[data-page="landing"] {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.97), rgba(247, 239, 226, 0.98)),
    linear-gradient(120deg, rgba(185, 28, 28, 0.08), transparent 34%),
    linear-gradient(300deg, rgba(53, 118, 65, 0.09), transparent 36%),
    var(--bg);
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.5;
}

.bg-orb-a {
  width: 240px;
  height: 240px;
  top: -50px;
  right: -60px;
  background: #f9a8d4;
}

.bg-orb-b {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: -70px;
  background: #93c5fd;
}

.shell {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

.hidden-shell {
  max-width: 680px;
}

.products-shell {
  max-width: 1100px;
}

.hero {
  text-align: center;
  animation: rise 500ms ease;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--ink-soft);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.2rem;
}

.lang-option {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.lang-option.is-active {
  background: var(--ink);
  color: #fff;
}

.lang-divider {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead {
  max-width: 56ch;
  margin: 0.8rem auto 0;
  color: var(--ink-soft);
}

.landing-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 54px;
  height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.landing-hero {
  min-height: min(660px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: 3rem;
  padding: 3.5rem 0 3rem;
}

.hero-copy {
  max-width: 660px;
}

.landing-hero h1 {
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 0.9;
}

.landing-lead {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.landing-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  margin-bottom: 0;
}

.landing-actions .btn {
  margin-top: 0;
  text-decoration: none;
}

.landing-primary {
  background: linear-gradient(120deg, #9b1c24, #2f6f3b);
}

.app-highlights {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--line) 82%, #9b1c24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(255, 255, 255, 0.86)),
    #fffaf2;
  box-shadow: 0 26px 70px rgba(65, 43, 31, 0.13);
}

.app-highlights::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 4px;
  background: linear-gradient(180deg, #9b1c24 0 33%, #e8d8bb 33% 66%, #2f6f3b 66%);
}

.app-highlights h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.96;
}

.highlight-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.highlight-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, white);
}

.highlight-mark {
  width: 12px;
  height: 12px;
  margin-top: 0.28rem;
  border-radius: 50%;
}

.highlight-mark.red {
  background: #9b1c24;
}

.highlight-mark.cream {
  background: #b08a4b;
}

.highlight-mark.green {
  background: #2f6f3b;
}

.highlight-row h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.highlight-row p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.landing-section {
  padding: 3rem 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, white);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.feature-grid,
.link-grid {
  display: grid;
  gap: 0.9rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-item,
.link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
  padding: 1rem;
}

.feature-icon {
  color: #9b1c24;
  font-weight: 800;
  font-size: 0.78rem;
}

.feature-item h3 {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

.feature-item p,
.section-heading p,
.link-card p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.feature-item p {
  margin: 0.45rem 0 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.2rem;
}

.section-heading p {
  margin: 0.7rem 0 0;
}

.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.link-card {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, #2f6f3b 45%, var(--line));
  box-shadow: 0 16px 34px rgba(24, 32, 40, 0.08);
}

.link-card span {
  font-weight: 800;
}

.link-card p {
  margin: 0;
}

.card {
  background: color-mix(in srgb, var(--card) 92%, white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  backdrop-filter: blur(4px);
  animation: rise 600ms ease;
}

.public-page {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.public-page-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 0;
}

.public-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.public-brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.public-page-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.public-back-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.public-back-link:hover,
.public-back-link:focus-visible {
  border-color: var(--ink-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(24, 32, 40, 0.08);
}

.public-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  display: grid;
  gap: 1.2rem;
}

.public-hero {
  text-align: left;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.88)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.public-hero .eyebrow {
  margin-bottom: 0.7rem;
}

.public-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.92;
  text-wrap: balance;
}

.public-hero .lead {
  margin: 1rem 0 0;
  max-width: 60ch;
  margin-inline: 0;
}

.public-card-grid {
  display: grid;
  gap: 1.2rem;
}

.public-card-grid.split {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.public-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 88%, white);
  color: var(--ink);
}

.public-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
}

.public-footer p {
  max-width: 40ch;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.public-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-weight: 700;
}

.public-footer-links a {
  color: inherit;
  text-decoration: none;
}

.public-footer-links a:hover,
.public-footer-links a:focus-visible {
  color: var(--accent-strong);
}

.public-footer-note {
  width: 100%;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 88%, white);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.7rem;
  font-weight: 600;
  cursor: pointer;
}

.tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.panel {
  margin-top: 1rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  background: #fff;
}

textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  background: #fff;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

legend {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, white);
  border-color: var(--accent);
}

textarea:focus,
select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, white);
  border-color: var(--accent);
}

.btn {
  margin-top: 0.4rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}

.btn.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.danger-outline {
  border-color: color-mix(in srgb, var(--danger) 35%, white);
  color: var(--danger);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.status.ok {
  color: var(--ok);
}

.status.error {
  color: var(--danger);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(13, 20, 32, 0.42);
  backdrop-filter: blur(3px);
  z-index: 9999;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-card {
  width: min(440px, 100%);
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  animation: rise 200ms ease;
}

.modal-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}

.modal-message {
  margin: 0.5rem 0 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
}

.modal-actions .btn {
  margin-top: 0;
  min-width: 86px;
}

.token-tools {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

.health-card {
  text-align: center;
}

.health-baseurl {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  word-break: break-all;
}

.health-output {
  margin: 0.6rem 0 0;
  padding: 0.8rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.87rem;
  min-height: 64px;
}

.products-actions-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-tile {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.admin-tile:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, white);
  box-shadow: 0 12px 24px rgba(24, 32, 40, 0.08);
}

.admin-tile h3 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.22rem;
}

.admin-tile p {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.grid-two {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
}

.checks-grid {
  margin-top: 0.3rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.check-row input {
  width: auto;
}

.hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.choice-fieldset {
  margin-top: 0.35rem;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.choice-pill {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.52rem 0.85rem;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease,
    transform 140ms ease;
}

.choice-pill:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, white);
  transform: translateY(-1px);
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill:has(input:checked) {
  background: color-mix(in srgb, var(--accent) 18%, white);
  border-color: var(--accent);
  color: var(--accent-strong);
}

.products-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.products-table-wrap {
  overflow-x: auto;
}

.products-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.products-table th,
.products-table td {
  text-align: left;
  padding: 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.table-btn {
  margin-top: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
}

.empty-row {
  color: var(--ink-soft);
}

.legal-shell {
  max-width: 980px;
}

.legal-top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.legal-link-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-link-btn:hover {
  border-color: var(--ink-soft);
}

.legal-card {
  padding: 1.5rem;
}

.legal-sections {
  margin-top: 1rem;
}

.legal-section {
  padding: 0.35rem 0;
}

.legal-section + .legal-section {
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, white);
  margin-top: 0.8rem;
  padding-top: 1rem;
}

.legal-section-title {
  margin: 0;
  font-size: 1.03rem;
  font-family: Manrope, Segoe UI, sans-serif;
  font-weight: 800;
  color: var(--ink);
}

.legal-section-body {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.legal-last-updated {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1rem 1.05rem;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: none;
  color: var(--accent-strong);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 1.05rem 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-item.is-open .faq-answer {
  display: block;
}

.support-form {
  display: grid;
  gap: 0.85rem;
}

.support-form small {
  color: var(--ink-soft);
  line-height: 1.5;
}

.support-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@keyframes rise {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.image-preview-container {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 5%, white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.image-preview {
  max-width: 200px;
  max-height: 200px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.table-image {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.table-image-cell {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  body {
    padding: 1.2rem 0.8rem;
  }

  body[data-page="landing"] {
    padding: 0;
  }

  .landing-shell {
    width: min(100% - 1.2rem, 1120px);
    padding-bottom: 2rem;
  }

  .landing-nav {
    align-items: flex-start;
  }

  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .landing-actions {
    justify-content: flex-start;
  }

  .landing-actions .btn {
    width: 100%;
  }

  .app-highlights h2 {
    max-width: 100%;
  }

  .feature-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: center;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .btn,
  .lang-option,
  .legal-link-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lang-switch {
    padding: 0.26rem;
    gap: 0.28rem;
  }

  .lang-option {
    min-width: 58px;
    padding: 0.42rem 0.82rem;
    font-size: 0.9rem;
  }

  .modal-card {
    width: 100%;
    padding: 1rem;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .card {
    padding: 1rem;
    border-radius: 18px;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 1rem;
  }

  .legal-top-actions {
    justify-content: center;
  }
}

/* Official restaurant landing page */
body[data-page="landing"] {
  --site-bg: #f7f6f2;
  --site-paper: #fffcf6;
  --site-paper-soft: #f0e8da;
  --site-ink: #241b16;
  --site-muted: #75695d;
  --site-line: #ded3c3;
  --site-green: #173d2d;
  --site-green-soft: #dfe8dc;
  --site-wine: #7d1f2d;
  --site-clay: #9c6a43;
  --site-shadow: 0 24px 70px rgba(39, 27, 19, 0.12);
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.7), rgba(247, 246, 242, 0.96)),
    var(--site-bg);
  color: var(--site-ink);
  font-family: Manrope, Segoe UI, sans-serif;
  overflow-x: hidden;
}

body[data-page="landing"] * {
  letter-spacing: 0;
}

body[data-page="landing"] img {
  display: block;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body[data-page="landing"] *,
  body[data-page="landing"] *::before,
  body[data-page="landing"] *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 2000;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--site-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--site-bg);
  transition: opacity 520ms ease, visibility 520ms ease;
  animation: loaderOut 320ms ease 1800ms forwards;
}

.site-loader img {
  width: min(180px, 45vw);
  opacity: 0.92;
  animation: loaderPulse 1200ms ease-in-out infinite;
}

body.is-loaded .site-loader {
  visibility: hidden;
  opacity: 0;
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.76;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes loaderOut {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  color: #fff;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease,
    color 220ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  border-bottom: 1px solid rgba(222, 211, 195, 0.72);
  background: rgba(247, 246, 242, 0.92);
  color: var(--site-ink);
  box-shadow: 0 12px 34px rgba(39, 27, 19, 0.08);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(1180px, calc(100% - 2rem));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  width: max-content;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.28rem 0.72rem;
  background: transparent;
  color: var(--site-ink);
  text-decoration: none;
  box-shadow: none;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled .site-brand,
body.menu-open .site-brand {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-logo-image {
  width: auto;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
  transition: filter 220ms ease;
}

.site-header.is-scrolled .brand-logo-image,
body.menu-open .brand-logo-image {
  filter: none;
}

.site-menu {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
}

.site-menu a,
.site-actions a,
.site-footer a,
.contact-details a {
  color: inherit;
  text-decoration: none;
}

.site-menu a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-menu .site-menu-reserve-link {
  display: none;
}

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after {
  transform: scaleX(1);
}

.site-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled .site-lang,
body.menu-open .site-lang {
  border-color: var(--site-line);
  background: rgba(255, 252, 246, 0.76);
}

.site-lang-option {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.site-lang-option.is-active {
  background: #fff;
  color: var(--site-ink);
}

.site-header.is-scrolled .site-lang-option.is-active,
body.menu-open .site-lang-option.is-active {
  background: var(--site-ink);
  color: #fff;
}

.site-reserve-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled .site-reserve-link,
body.menu-open .site-reserve-link {
  border-color: var(--site-green);
  background: var(--site-green);
  color: #fff;
}

.site-reserve-link:hover,
.site-reserve-link:focus-visible {
  transform: translateY(-1px);
}

.site-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.restaurant-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(6rem, 9vw, 8rem) 1rem clamp(1.2rem, 3vw, 2rem);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(19, 14, 11, 0.74) 0%, rgba(19, 14, 11, 0.46) 44%, rgba(19, 14, 11, 0.16) 100%),
    linear-gradient(180deg, rgba(19, 14, 11, 0.42) 0%, rgba(19, 14, 11, 0.04) 42%, rgba(19, 14, 11, 0.62) 100%);
}

@keyframes heroDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: #fff;
}

.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--site-wine);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker.light {
  color: #f2d7bf;
}

.brand-kicker {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: none;
}

.italian-text,
em[lang="it"] {
  font-style: italic;
}

.restaurant-hero h1,
.site-section h2,
.menu-card h3,
.app-section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.96;
}

.restaurant-hero h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 9vw, 7.4rem);
  text-wrap: balance;
}

.hero-lead {
  max-width: 660px;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions-restaurant {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease;
}

.site-btn:hover,
.site-btn:focus-visible {
  transform: translateY(-2px);
}

.site-btn-primary {
  background: var(--site-green);
  color: #fff;
  box-shadow: 0 16px 32px rgba(23, 61, 45, 0.18);
}

.site-btn-primary:hover,
.site-btn-primary:focus-visible {
  background: #0f2e22;
  box-shadow: 0 20px 38px rgba(23, 61, 45, 0.24);
}

.site-btn-ghost {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
}

.site-btn-ghost:hover,
.site-btn-ghost:focus-visible {
  background: #fff;
  color: var(--site-ink);
}

.reveal-on-load {
  animation: revealLoad 800ms ease both;
}

@keyframes revealLoad {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.site-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.2rem, 8vw, 7.5rem) 0;
  scroll-margin-top: 96px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.section-copy p:not(.section-kicker),
.section-heading-centered p,
.section-heading-split p,
.experience-content p,
.reservation-card p,
.app-copy p,
.site-footer p,
.contact-details p {
  color: var(--site-muted);
  line-height: 1.78;
}

.site-section h2 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5.5vw, 5.1rem);
  text-wrap: balance;
}

.section-copy > p:not(.section-kicker) {
  margin: 1.3rem 0 0;
  max-width: 64ch;
}

.section-copy blockquote {
  margin: 2rem 0 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--site-wine);
  color: var(--site-green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.2;
}

.story-media {
  position: relative;
}

.story-media::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  z-index: -1;
  border: 1px solid var(--site-line);
  border-radius: 8px;
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--site-shadow);
}

.highlight-strip {
  margin-top: clamp(2.6rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.highlight-strip article {
  min-height: 230px;
  padding: 1.4rem;
  border-right: 1px solid var(--site-line);
}

.highlight-strip article:last-child {
  border-right: 0;
}

.highlight-strip span,
.contact-details span {
  color: var(--site-wine);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.highlight-strip h3 {
  margin: 1.6rem 0 0;
  color: var(--site-green);
  font-size: 1rem;
}

.highlight-strip p {
  margin: 0.6rem 0 0;
  color: var(--site-muted);
  line-height: 1.68;
}

.menu-section {
  position: relative;
}

.menu-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: stretch;
}

.menu-showcase {
  position: relative;
  min-height: clamp(560px, 68vw, 760px);
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(1.3rem, 4vw, 2.5rem);
  background: var(--site-ink);
  color: #fff;
  box-shadow: var(--site-shadow);
}

.menu-showcase::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.menu-showcase-media {
  position: absolute;
  inset: 0;
}

.menu-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.03);
  transition: transform 700ms ease, opacity 700ms ease;
}

.menu-showcase:hover .menu-showcase-media img {
  opacity: 0.9;
  transform: scale(1.07);
}

.menu-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 14, 10, 0.18), rgba(20, 14, 10, 0.84)),
    linear-gradient(90deg, rgba(20, 14, 10, 0.64), rgba(20, 14, 10, 0.12));
}

.menu-showcase-copy,
.menu-showcase-stamps {
  position: relative;
  z-index: 1;
}

.menu-showcase-copy {
  max-width: 720px;
}

.menu-showcase h2 {
  max-width: 9.5ch;
  color: #fff;
  font-size: clamp(3.4rem, 8vw, 7.3rem);
}

.menu-showcase-copy p:not(.section-kicker) {
  max-width: 54ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.menu-showcase-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.menu-showcase-stamps span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.menu-books {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.menu-book {
  position: relative;
  min-height: 320px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 56px rgba(39, 27, 19, 0.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.menu-book:hover,
.menu-book:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(39, 27, 19, 0.2);
}

.menu-book::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 58%);
}

.menu-book::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b70f2f 0 33%, #f7f6f2 33% 66%, #3f9632 66%);
  opacity: 0.9;
}

.menu-book-food {
  background:
    linear-gradient(145deg, rgba(23, 61, 45, 0.96), rgba(52, 82, 54, 0.9)),
    var(--site-green);
}

.menu-book-drinks {
  background:
    linear-gradient(145deg, rgba(125, 31, 45, 0.96), rgba(76, 41, 29, 0.92)),
    var(--site-wine);
}

.menu-book-number {
  position: absolute;
  right: 1.1rem;
  top: 1.2rem;
  color: rgba(255, 255, 255, 0.16);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 0.8;
}

.menu-book-label {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.menu-book strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 5.7rem);
  font-weight: 600;
  line-height: 0.92;
}

.menu-book p {
  position: relative;
  z-index: 1;
  max-width: 42ch;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.68;
}

.menu-book-cta {
  position: relative;
  z-index: 1;
  justify-self: start;
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
}

.menu-journey {
  margin-top: clamp(1rem, 3vw, 1.5rem);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.72);
  overflow: hidden;
}

.menu-journey article {
  min-height: 190px;
  padding: 1.15rem;
  border-right: 1px solid var(--site-line);
}

.menu-journey article:last-child {
  border-right: 0;
}

.menu-journey span {
  display: block;
  color: var(--site-wine);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
}

.menu-journey p {
  margin: 1.6rem 0 0;
  color: var(--site-muted);
  line-height: 1.6;
}

.section-heading-centered {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading-centered h2 {
  margin-inline: auto;
}

.section-heading-centered p:not(.section-kicker) {
  margin: 1rem auto 0;
  max-width: 60ch;
}

.menu-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.menu-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 252, 246, 0.82);
  box-shadow: 0 18px 46px rgba(39, 27, 19, 0.08);
}

.menu-card-main {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.1rem;
}

.menu-symbol {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--site-line);
  border-radius: 50%;
  color: var(--site-wine);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.menu-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.menu-card p:not(.section-kicker) {
  max-width: 66ch;
  margin: 0.6rem 0 0;
  color: var(--site-muted);
  line-height: 1.7;
}

.menu-card .site-btn {
  justify-self: start;
}

.menu-category-summary {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.menu-category-summary article {
  border: 1px solid var(--site-line);
  border-radius: 8px;
  padding: 1.2rem;
  background: rgba(255, 252, 246, 0.56);
}

.menu-category-summary ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-category-summary li {
  border: 1px solid color-mix(in srgb, var(--site-line) 82%, var(--site-green));
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 252, 246, 0.72);
  color: var(--site-green);
  font-size: 0.88rem;
  font-weight: 800;
}

.menu-preview-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.menu-preview-grid article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--site-ink);
}

.menu-preview-grid img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 420ms ease, opacity 420ms ease;
}

.menu-preview-grid span {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.menu-preview-grid article:hover img,
.menu-preview-grid article:focus-within img {
  transform: scale(1.06);
  opacity: 1;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading-split p:not(.section-kicker) {
  margin: 0;
}

.gallery-section {
  position: relative;
}

.gallery-editorial {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(360px, 1.1fr) minmax(260px, 0.62fr);
  grid-template-areas:
    "copy feature stack";
  align-items: stretch;
  gap: clamp(1rem, 3vw, 1.4rem);
}

.gallery-copy {
  grid-area: copy;
  align-self: end;
  padding: 0 0 1.2rem;
}

.gallery-copy h2 {
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
}

.gallery-copy p:not(.section-kicker) {
  margin: 1rem 0 0;
  color: var(--site-muted);
  line-height: 1.76;
}

.gallery-feature {
  grid-area: feature;
}

.gallery-stack {
  grid-area: stack;
  display: grid;
  gap: clamp(1rem, 3vw, 1.4rem);
}

.gallery-frame,
.gallery-ribbon figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--site-ink);
  box-shadow: 0 18px 46px rgba(39, 27, 19, 0.1);
}

.gallery-frame {
  min-height: 300px;
}

.gallery-frame-large {
  min-height: clamp(560px, 62vw, 760px);
  height: 100%;
}

.gallery-stack .gallery-frame {
  min-height: 0;
  height: 100%;
}

.gallery-frame img,
.gallery-ribbon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.01);
  transition: transform 520ms ease, opacity 520ms ease;
}

.gallery-frame::after,
.gallery-ribbon figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 14, 10, 0.74));
  pointer-events: none;
}

.gallery-frame:hover img,
.gallery-ribbon figure:hover img {
  transform: scale(1.07);
  opacity: 1;
}

.gallery-frame figcaption,
.gallery-ribbon figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
}

.gallery-frame figcaption span,
.gallery-ribbon figcaption {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.gallery-frame figcaption small {
  display: block;
  max-width: 36ch;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.gallery-ribbon {
  margin-top: clamp(1rem, 3vw, 1.4rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1rem);
}

.gallery-ribbon figure {
  aspect-ratio: 1 / 1;
}

.gallery-ribbon figcaption {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.experience-section {
  width: 100%;
  max-width: none;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, 1180px) minmax(1rem, 1fr);
  align-items: center;
  gap: 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 34, 25, 0.9), rgba(18, 34, 25, 0.5)),
    url("https://images.unsplash.com/photo-1481833761820-0509d3217039?auto=format&fit=crop&w=2200&q=84") center / cover fixed;
}

.experience-content,
.stat-grid {
  grid-column: 2;
}

.experience-content {
  max-width: 820px;
}

.experience-content h2 {
  color: #fff;
}

.experience-content p {
  max-width: 68ch;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.stat-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 620px;
}

.stat-grid article,
.stat-grid .stat-review-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.stat-grid .stat-review-card {
  color: inherit;
  text-decoration: none;
}

.stat-grid strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 0.9;
}

.stat-grid span {
  display: block;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.reservations-section {
  display: grid;
  place-items: center;
}

.reservation-card {
  width: min(820px, 100%);
  border: 1px solid var(--site-line);
  border-radius: 8px;
  padding: clamp(1.6rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(240, 232, 218, 0.72)),
    var(--site-paper);
  text-align: center;
  box-shadow: var(--site-shadow);
}

.reservation-card h2 {
  margin-inline: auto;
}

.reservation-card p {
  max-width: 58ch;
  margin: 1rem auto 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 1rem;
}

.contact-details {
  display: grid;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.78);
}

.contact-details article {
  padding: 1.25rem;
  border-bottom: 1px solid var(--site-line);
}

.contact-details article:last-child {
  border-bottom: 0;
}

.contact-details a,
.contact-details p {
  display: block;
  margin: 0.45rem 0 0;
  color: var(--site-ink);
  font-weight: 700;
  line-height: 1.58;
}

.contact-details a:hover,
.contact-details a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--site-wine);
}

.map-frame {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(39, 27, 19, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: saturate(0.84) contrast(0.98);
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--site-line);
}

.app-copy h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.app-copy p:not(.section-kicker) {
  max-width: 54ch;
  margin: 1rem 0 0;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.store-badge {
  min-width: 164px;
  border: 1px solid var(--site-ink);
  border-radius: 8px;
  padding: 0.72rem 0.9rem;
  background: var(--site-ink);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.store-badge span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
}

.store-badge strong {
  display: block;
  margin-top: 0.12rem;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  background: var(--site-green);
}

.app-mockup {
  justify-self: end;
}

.phone-shell {
  width: min(230px, 44vw);
  aspect-ratio: 9 / 18;
  border-radius: 34px;
  padding: 0.75rem;
  background: #16110e;
  box-shadow: 0 32px 70px rgba(39, 27, 19, 0.2);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 26px;
  background: #0e0d0c;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 20px;
  border-radius: 999px;
  background: #16110e;
  transform: translateX(-50%);
}

.phone-screen .app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(220px, auto);
  gap: 2rem;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--site-line);
  color: var(--site-ink);
}

.footer-brand {
  display: inline-block;
}

.footer-brand img {
  width: 126px;
  height: auto;
  mix-blend-mode: multiply;
}

.site-footer p {
  max-width: 34ch;
  margin: 1rem 0 0;
}

.site-footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  font-weight: 700;
}

.footer-bottom {
  grid-column: 1 / -1;
  max-width: none !important;
  margin-top: 0 !important;
  padding-top: 1.4rem;
  border-top: 1px solid var(--site-line);
  font-size: 0.9rem;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: auto auto 1fr;
    min-height: 72px;
  }

  .site-menu-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    justify-self: start;
  }

  .site-menu-button span {
    margin: 0;
  }

  .site-menu {
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    width: auto;
    justify-self: stretch;
    display: grid;
    justify-items: start;
    gap: 0;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 0.5rem;
    background: rgba(255, 252, 246, 0.97);
    color: var(--site-ink);
    box-shadow: var(--site-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-menu a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
  }

  .site-menu a::after {
    display: none;
  }

  .site-menu a:hover,
  .site-menu a:focus-visible {
    background: var(--site-green-soft);
  }

  .site-menu .site-menu-reserve-link {
    display: flex;
    justify-content: center;
    min-height: 48px;
    margin-top: 0.45rem;
    background: var(--site-green);
    color: #fff;
  }

  .site-menu .site-menu-reserve-link:hover,
  .site-menu .site-menu-reserve-link:focus-visible {
    background: color-mix(in srgb, var(--site-green) 88%, #000);
  }

  .section-grid,
  .contact-layout,
  .app-section {
    grid-template-columns: 1fr;
  }

  .menu-editorial {
    grid-template-columns: 1fr;
  }

  .menu-showcase {
    min-height: 620px;
  }

  .menu-books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-journey article {
    border-right: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line);
  }

  .menu-journey article:nth-child(2n) {
    border-right: 0;
  }

  .menu-journey article:last-child {
    grid-column: span 2;
    border-bottom: 0;
  }

  .story-media {
    order: -1;
  }

  .highlight-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight-strip article:nth-child(2) {
    border-right: 0;
  }

  .highlight-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--site-line);
  }

  .menu-download-grid,
  .menu-category-summary,
  .menu-card,
  .section-heading-split {
    grid-template-columns: 1fr;
  }

  .public-card-grid.split,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .menu-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-editorial {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    grid-template-areas:
      "copy copy"
      "feature stack";
  }

  .gallery-copy {
    max-width: 760px;
    padding-bottom: 0;
  }

  .gallery-frame-large {
    min-height: 620px;
  }

  .gallery-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-section {
    background-attachment: scroll;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .app-mockup {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav {
    width: min(100% - 1rem, 1180px);
    min-height: 68px;
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr) minmax(72px, auto);
    gap: 0.45rem;
  }

  .site-menu-button {
    grid-column: 1;
    grid-row: 1;
    width: 42px;
    height: 42px;
  }

  .site-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-height: 48px;
    padding: 0;
  }

  .brand-logo-image {
    height: 38px;
  }

  .site-actions {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    justify-self: end;
    justify-content: flex-end;
    gap: 0.35rem;
    padding-bottom: 0;
  }

  .site-header.is-scrolled .site-actions,
  body.menu-open .site-actions {
    padding-bottom: 0;
  }

  .site-lang {
    gap: 0.12rem;
    padding: 0.12rem;
  }

  .site-lang-option {
    min-width: 32px;
    min-height: 30px;
    font-size: 0.7rem;
  }

  .site-reserve-link {
    display: none;
  }

  .site-menu {
    top: 76px;
    left: 0.5rem;
    right: 0.5rem;
  }

  .restaurant-hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    align-items: center;
    padding-top: 6.7rem;
    padding-bottom: 1.4rem;
  }

  .restaurant-hero h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .hero-actions-restaurant,
  .hero-actions-restaurant .site-btn,
  .reservation-card .site-btn {
    width: 100%;
  }

  .site-section {
    width: min(100% - 1rem, 1180px);
    padding: 4rem 0;
    scroll-margin-top: 132px;
  }

  .story-media::before {
    inset: 0.7rem -0.5rem -0.7rem 0.5rem;
  }

  .highlight-strip,
  .menu-preview-grid,
  .gallery-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .public-page-header,
  .public-footer {
    width: min(100% - 1rem, 1180px);
  }

  .public-shell {
    width: min(100% - 1rem, 980px);
    padding: 1.1rem 0 2.5rem;
  }

  .public-hero {
    border-radius: 24px;
  }

  .public-footer-inner {
    align-items: flex-start;
  }

  .gallery-editorial {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "feature"
      "stack";
  }

  .gallery-frame-large,
  .gallery-stack .gallery-frame {
    min-height: 380px;
  }

  .gallery-ribbon {
    grid-template-columns: 1fr;
  }

  .menu-showcase {
    min-height: 560px;
    padding: 1.2rem;
  }

  .menu-showcase::after {
    inset: 0.65rem;
  }

  .menu-showcase h2 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .menu-books,
  .menu-journey {
    grid-template-columns: 1fr;
  }

  .menu-book {
    min-height: 300px;
  }

  .menu-journey article,
  .menu-journey article:nth-child(2n),
  .menu-journey article:last-child {
    grid-column: auto;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--site-line);
  }

  .menu-journey article:last-child {
    border-bottom: 0;
  }

  .highlight-strip article,
  .highlight-strip article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--site-line);
  }

  .highlight-strip article:last-child {
    border-bottom: 0;
  }

  .menu-card-main {
    grid-template-columns: 1fr;
  }

  .menu-card .site-btn,
  .store-badge {
    width: 100%;
  }

  .menu-preview-grid article:last-child,
  .gallery-grid .gallery-wide {
    grid-column: auto;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .experience-section {
    min-height: auto;
    padding: 4.5rem 0;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 380px;
  }

  .phone-shell {
    width: min(220px, 72vw);
  }

  .footer-bottom {
    grid-column: auto;
  }
}
