:root {
  --bg: #f4efe6;
  --paper: #fbf8f2;
  --ink: #22231f;
  --muted: #6e7068;
  --line: rgba(34, 35, 31, .12);
  --olive: #59654a;
  --olive-dark: #3f4936;
  --olive-soft: #e5eadc;
  --sand: #d9c5a7;
  --white: #fff;
  --shadow: 0 20px 60px rgba(43, 38, 29, .10);
  --radius: 28px;
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 999; padding: 12px 16px; background: var(--ink); color: var(--white); border-radius: 12px; }
.skip-link:focus { top: 12px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.eyebrow { margin-bottom: 18px; color: var(--olive); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: #cbd4bd; }
.section { padding: 110px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(244, 239, 230, .88);
  backdrop-filter: blur(18px);
  transition: .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(35, 34, 29, .06); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--olive); font-family: ui-serif, serif; }
.brand-light { color: var(--white); }
.brand-light .brand-mark { color: #dce4cf; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; }
.main-nav > a:not(.button) { position: relative; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--olive); transition: right .2s ease; }
.main-nav > a:not(.button):hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--olive-dark); box-shadow: 0 12px 30px rgba(63, 73, 54, .18); }
.button-small { min-height: 42px; padding-inline: 20px; font-size: .9rem; }
.button-outline { background: transparent; color: var(--ink); border-color: rgba(34,35,31,.35); }
.button-outline:hover { color: var(--white); border-color: var(--olive); }
.button-light { background: var(--paper); color: var(--olive-dark); border-color: var(--paper); }
.button-light:hover { background: var(--white); color: var(--olive-dark); }
.button-wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero { padding: 44px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy h1 span { color: var(--olive); }
.hero-lead { max-width: 610px; color: #55574f; font-size: clamp(1.08rem, 1.6vw, 1.33rem); }
.hero-features { margin: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-features div { padding-left: 15px; border-left: 2px solid #b3bda5; }
.hero-features b, .hero-features span { display: block; }
.hero-features b { margin-bottom: 5px; font-size: .92rem; }
.hero-features span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 620px; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -15% -10% 10%; background: #e7dccb; border-radius: 50% 44% 47% 50%; filter: blur(1px); }
.hero-visual > img { position: relative; width: 100%; height: 620px; object-fit: cover; border-radius: 48% 48% 26% 38% / 28% 31% 37% 36%; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -22px; bottom: 70px; width: 110px; height: 110px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); transform: rotate(-7deg); }
.hero-badge strong { font-family: Georgia, serif; font-size: 1.7rem; color: var(--olive); }
.hero-badge span { font-size: .7rem; color: var(--muted); }
.qr-float { position: absolute; right: -18px; bottom: 35px; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(251,248,242,.94); box-shadow: var(--shadow); }
.qr-float img { width: 84px; height: 84px; border-radius: 10px; }
.qr-float span { font-size: .78rem; font-weight: 750; }

.intro { background: var(--paper); }
.split-heading { display: grid; grid-template-columns: .34fr 1fr; gap: 50px; align-items: start; margin-bottom: 70px; }
.split-heading h2 { max-width: 820px; margin-bottom: 24px; }
.split-heading p:last-child { max-width: 780px; color: var(--muted); font-size: 1.08rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); }
.benefit-card > span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 34px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); font-weight: 800; font-size: .82rem; }
.benefit-card h3 { margin-bottom: 14px; }
.benefit-card p { margin-bottom: 0; color: var(--muted); }

.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin-bottom: 8px; color: var(--muted); }
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dish-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 34px rgba(45, 40, 31, .05); transition: transform .25s ease, box-shadow .25s ease; }
.dish-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.dish-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9dfd1; }
.dish-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dish-card:hover .dish-image img { transform: scale(1.035); }
.dish-number, .dish-page-number { position: absolute; display: grid; place-items: center; border-radius: 50%; background: rgba(251,248,242,.92); font-weight: 850; }
.dish-number { top: 18px; right: 18px; width: 46px; height: 46px; }
.dish-body { padding: 28px; }
.dish-category { color: var(--olive); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dish-body h3 { min-height: 58px; margin-bottom: 16px; }
.dish-body > p:not(.dish-category) { min-height: 100px; color: var(--muted); font-size: .94rem; }
.dish-price { margin: 24px 0; padding: 18px; border-radius: 16px; background: var(--bg); text-align: center; }
.dish-price strong, .dish-price span { display: block; }
.dish-price strong { font-family: Georgia, serif; font-size: 1.7rem; }
.dish-price span { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.dish-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dish-card-footer img { width: 62px; height: 62px; border: 1px solid var(--line); border-radius: 10px; }

.prototype-section { padding: 0; }
.prototype-grid { overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; border-radius: 36px; background: var(--olive-dark); color: var(--white); box-shadow: var(--shadow); }
.prototype-image { min-height: 580px; }
.prototype-image img { width: 100%; height: 100%; object-fit: cover; }
.prototype-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px; }
.prototype-copy h2 { margin-bottom: 24px; }
.prototype-copy > p:not(.eyebrow) { color: #dce2d3; }
.check-list { margin: 22px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 13px 0; padding-left: 28px; color: #eef2e8; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #c9d4b8; }

.process-section { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-step { position: relative; padding: 40px 30px 10px 0; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: 22px; width: 38px; height: 1px; background: var(--line); }
.process-step > span { color: var(--olive); font-weight: 850; }
.process-step h3 { margin: 28px 0 15px; }
.process-step p { color: var(--muted); }

.contact-section { background: var(--paper); }
.contact-shell { display: grid; grid-template-columns: 1fr .82fr; gap: 70px; padding: 72px; border-radius: 36px; background: var(--olive-dark); color: var(--white); }
.contact-copy h2 { margin-bottom: 26px; }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: #d9e0d2; font-size: 1.04rem; }
.direct-contacts { margin-top: 38px; display: grid; gap: 10px; }
.direct-contacts a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.direct-contacts span { color: #bdc7b4; font-size: .84rem; }
.direct-contacts strong { font-size: .94rem; }
.contact-form { padding: 30px; border-radius: 24px; background: var(--paper); color: var(--ink); }
.contact-form label { display: grid; gap: 7px; margin-bottom: 16px; font-size: .78rem; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 13px 14px; outline: none; color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(89,101,74,.12); }
.honeypot { position: absolute !important; left: -9999px; }
.form-status { margin: 14px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }
.form-status.success { color: #467044; }
.form-status.error { color: #9f3f35; }

.site-footer { padding: 58px 0; background: #30372b; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .65fr .7fr; gap: 45px; }
.site-footer p { margin-top: 16px; color: #aeb8a7; font-size: .82rem; }
.footer-contacts, .footer-links, .footer-meta { display: grid; align-content: start; gap: 12px; font-size: .85rem; }
.footer-contacts a, .footer-links a { color: #e5eadf; }
.footer-meta { color: #9da895; }

/* Dish pages */
.dish-hero { padding: 54px 0 90px; }
.dish-page-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; }
.dish-page-image { position: relative; }
.dish-page-image::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 40%; background: #e4d7c4; }
.dish-page-image img { position: relative; width: 100%; aspect-ratio: 1 / .82; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.dish-page-number { top: 20px; right: 20px; width: 58px; height: 58px; font-size: 1.1rem; }
.back-link { display: inline-block; margin-bottom: 40px; color: var(--muted); font-size: .86rem; }
.dish-page-copy h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.dish-page-lead { color: var(--muted); font-size: 1.05rem; }
.dish-page-price { margin: 28px 0; padding: 24px; border-radius: 18px; background: var(--paper); }
.dish-page-price strong, .dish-page-price span { display: block; }
.dish-page-price strong { font-family: Georgia, serif; font-size: 2.25rem; }
.dish-page-price span { color: var(--muted); font-size: .75rem; }
.dish-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.dish-stats div { padding: 16px 12px; border-top: 1px solid var(--line); }
.dish-stats span, .dish-stats strong { display: block; }
.dish-stats span { color: var(--muted); font-size: .68rem; }
.dish-stats strong { margin-top: 5px; font-size: .86rem; }
.dish-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.price-disclaimer { margin-top: 20px; color: var(--muted); font-size: .72rem; }
.dish-details-section { background: var(--paper); }
.dish-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.detail-panel, .qr-panel { padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); }
.detail-panel p:last-child { color: var(--muted); }
.ingredient-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.ingredient-list li { padding: 9px 13px; border-radius: 999px; background: var(--olive-soft); color: var(--olive-dark); font-size: .85rem; }
.qr-panel { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; background: var(--olive-dark); color: var(--white); }
.qr-panel img { border-radius: 16px; }
.qr-panel p:not(.eyebrow) { color: #d3dbcc; }
.qr-panel a { font-weight: 800; color: #e6eddc; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.related-card { position: relative; display: grid; grid-template-columns: 180px 1fr auto; gap: 22px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); transition: transform .2s, box-shadow .2s; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.related-card img { width: 180px; height: 130px; object-fit: cover; border-radius: 14px; }
.related-card > span { position: absolute; top: 27px; left: 27px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(251,248,242,.92); font-size: .72rem; font-weight: 800; }
.related-card h3 { margin: 0; }
.related-card strong { white-space: nowrap; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin-bottom: 20px; }
.not-found p:not(.eyebrow) { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1040px) {
  .hero-grid, .dish-page-grid, .contact-shell { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: 540px; }
  .hero-visual > img { height: 540px; }
  .dish-grid { grid-template-columns: 1fr 1fr; }
  .dish-card:last-child { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
  .prototype-grid { grid-template-columns: 1fr; }
  .prototype-image { min-height: 440px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-card { grid-template-columns: 140px 1fr; }
  .related-card strong { grid-column: 2; }
  .related-card img { width: 140px; }
}

@media (max-width: 780px) {
  :root { --container: min(100% - 28px, 680px); --radius: 22px; }
  .section { padding: 76px 0; }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; inset: 68px 14px auto; display: none; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; gap: 18px; }
  .main-nav .button { width: 100%; }
  .hero { padding-top: 28px; }
  .hero-grid { gap: 38px; }
  .hero-features { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .hero-visual > img { height: 430px; border-radius: 30px; }
  .hero-badge { left: 8px; bottom: 18px; width: 88px; height: 88px; }
  .qr-float { right: 8px; bottom: 16px; padding: 8px; }
  .qr-float img { width: 68px; height: 68px; }
  .qr-float span { display: none; }
  .split-heading { grid-template-columns: 1fr; gap: 12px; }
  .benefit-grid, .dish-grid, .dish-details-grid, .related-grid { grid-template-columns: 1fr; }
  .dish-card:last-child { grid-column: auto; width: auto; }
  .dish-body > p:not(.dish-category), .dish-body h3 { min-height: 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .prototype-copy, .contact-shell { padding: 38px 24px; }
  .prototype-image { min-height: 340px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { padding-right: 0; }
  .process-step:not(:last-child)::after { display: none; }
  .contact-shell { gap: 38px; }
  .direct-contacts a { align-items: start; flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .dish-page-grid { gap: 44px; }
  .dish-stats { grid-template-columns: 1fr; }
  .dish-actions .button { width: 100%; }
  .qr-panel { grid-column: auto; grid-template-columns: 1fr; }
  .qr-panel img { width: 180px; }
  .related-card { grid-template-columns: 110px 1fr; }
  .related-card img { width: 110px; height: 100px; }
}

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

/* Version 2: client-focused pages and permanent QR routes */
.dish-route {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg);
}
.dish-route span,
.dish-route strong { display: block; }
.dish-route span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dish-route strong {
  color: var(--olive-dark);
  font-size: .86rem;
  line-height: 1.45;
}
.dish-description {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.dish-stats-clean { margin-top: 30px; }
.dish-stats-clean strong {
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.detail-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
}
.qr-downloads {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.qr-downloads a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(230, 237, 220, .45);
}
.project-cta-section {
  padding: 0;
  background: var(--paper);
}
.project-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  padding: 54px 60px;
  border-radius: 30px;
  background: var(--olive-dark);
  color: var(--white);
}
.project-cta h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
}
.related-card > div p {
  margin: 0 0 7px;
  color: var(--olive);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.related-card > strong {
  color: var(--olive-dark);
  font-size: .82rem;
}
.dish-page .site-header {
  background: rgba(244, 239, 230, .94);
}

@media (max-width: 760px) {
  .project-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 24px;
  }
  .project-cta .button { width: 100%; }
  .related-card > strong { display: none; }
  .qr-downloads { flex-direction: column; gap: 10px; }
}
