/* PAPITO 4B.1: one content width for the homepage. Shared navigation stays in premium.css. */
.home-page {
  --home-max-width: 1240px;
  --home-gutter: clamp(16px, 3.125vw, 40px);
  --home-section-space: 72px;
  --home-panel-gap: clamp(16px, 2.5vw, 32px);
  --home-panel-inset: clamp(18px, 4vw, 56px);
  --home-panel-radius: var(--premium-radius-lg);
  --home-band: #f5ebdc;
  --home-rule: var(--premium-edge);
  --home-icon-shadow: rgba(128, 83, 21, .13);
  --home-hero: #171411;
  --home-amber: linear-gradient(180deg, #f8c76c, #e8aa3c);
  --home-amber-hover: linear-gradient(180deg, #ffda8f, #efb64d);
  background: var(--paper);
}
html[data-theme="dark"] .home-page {
  --home-band: #1e1a17;
  --home-icon-shadow: rgba(237, 199, 121, .16);
}
.home-page .home-width { width: min(var(--home-max-width), calc(100% - 2 * var(--home-gutter))); margin-inline: auto; }
.home-page .home-band { padding-block: var(--home-section-space); }
.home-page main { letter-spacing: 0; }
.home-page :is(h1, h2, .recipe h3) {
  font-family: var(--premium-font-display);
  font-weight: 500;
  letter-spacing: 0;
}
.home-page h2 { margin: 0; font-size: 2.65rem; line-height: 1.14; text-wrap: balance; }
.home-page h2 em { color: var(--gold-text); font-style: normal; }
.home-page .ui-icon { width: 20px; height: 20px; flex: none; stroke-width: 1.8; }
.home-page .home-eyebrow { margin: 0 0 12px; color: var(--gold-text); font-size: .75rem; font-weight: 750; text-transform: uppercase; }
.home-page .section-title { margin-bottom: 30px; }
.home-page .section-title h2::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 17px; background: var(--gold-text); }
.home-page .section-title.centered { text-align: center; }
.home-page .section-title.centered h2::after { margin-inline: auto; }
.home-page .section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.home-page .home-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--gold-text); font-size: .9rem; font-weight: 750; }
.home-page .home-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-page main .home-btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 12px 20px; font-size: .9rem; font-weight: 750; line-height: 1.4; text-align: center; text-decoration: none; }
.home-page main :is(a, button, input):focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }

/* The photograph fills the whole hero, whose outer edges share the content grid. */
.home-page .home-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(580px, calc(100svh - 210px));
  margin-block: var(--home-panel-gap);
  padding: 48px var(--home-panel-inset);
  overflow: clip;
  color: var(--on-inverse);
  background: var(--home-hero);
  border: 1px solid var(--premium-edge);
  border-radius: var(--home-panel-radius);
  box-shadow: var(--premium-shadow);
}
.home-page .cover-image, .home-page .cover-image img, .home-page .home-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-page .cover-image { z-index: -2; }
.home-page .cover-image img { object-fit: cover; object-position: 65% center; }
.home-page .home-cover::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(18,14,11,.96), rgba(18,14,11,.86) 29%, rgba(18,14,11,.48) 48%, transparent 72%), linear-gradient(0deg, rgba(18,14,11,.3), transparent 30%);
}
.home-page .cover-inner { min-width: 0; padding-block: 6px; }
.home-page .cover-place { display: flex; align-items: center; gap: 7px; margin: 0 0 20px; color: var(--inverse-gold); font-size: .9rem; text-transform: uppercase; }
.home-page .cover-place::before { content: ""; width: 26px; height: 1px; margin-right: 5px; background: currentColor; }
.home-page .cover-place strong { font-weight: 850; }
.home-page .cover-inner h1 { max-width: 650px; margin: 0; font-size: 4rem; line-height: 1.07; text-wrap: balance; text-shadow: 0 2px 12px rgba(0,0,0,.22); }
.home-page .cover-inner em { color: var(--inverse-gold); font-style: normal; }
.home-page .cover-description { max-width: 48ch; margin: 24px 0 28px; color: var(--on-inverse); font-size: 1rem; line-height: 1.65; }
.home-page .cover-actions { display: flex; flex-wrap: wrap; gap: 12px; max-width: 690px; }
.home-page .cover-actions .outline { color: var(--on-inverse); }
.home-page main .order-link { color: #2d1c0a; border: 1px solid #efbf68; background: var(--home-amber); box-shadow: inset 0 1px 0 #ffe5af, inset 0 -2px 0 rgba(120,70,8,.18), 0 4px 14px rgba(126,75,11,.18); }
.home-page main .order-link:hover { color: #2d1c0a; background: var(--home-amber-hover); }

/* Informational cards have depth, but no pointer cursor or simulated action. */
.home-page .reasons { background: var(--home-band); padding-block: 48px 56px; border-bottom: 1px solid var(--home-rule); }
.home-page .reasons h2 { font-size: 2.3rem; }
.home-page .reason-grid, .home-page .recipe-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.home-page .reason { padding: 27px 22px 25px; text-align: center; border-radius: var(--premium-radius); }
.home-page .reason-icon { display: grid; place-items: center; height: 52px; margin-bottom: 18px; color: var(--gold-text); }
.home-page .reason-icon .ui-icon { width: 40px; height: 40px; stroke-width: 1.6; filter: drop-shadow(0 3px 2px var(--home-icon-shadow)); }
.home-page .reason h3 { margin: 0 0 9px; font-size: 1rem; line-height: 1.4; }
.home-page .reason p { max-width: 26ch; margin: 0 auto; color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* Each entire product card links to the existing menu, never to a shopping cart. */
.home-page .recipes { padding-bottom: calc(var(--home-section-space) * 2 / 3); }
.home-page .recipe { overflow: hidden; border-radius: var(--premium-radius); }
.home-page .recipe-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.home-page .recipe-image { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--premium-edge); background: #2a211a; }
.home-page .recipe-photo { width: 100%; height: 100%; object-fit: cover; }
.home-page .recipe-copy { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.home-page .recipe h3 { margin: 0 0 12px; font-size: 1.7rem; line-height: 1.15; }
.home-page .recipe p { margin: 0 0 24px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.home-page .recipe-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--gold-text); }
.home-page .recipe-price span { font-size: .84rem; }
.home-page .recipe-price strong { font: 750 1.4rem/1.2 var(--premium-font-body); }
.home-page .recipe-price small { color: var(--muted); font-size: .78rem; }
.home-page .recipe-price .ui-icon { align-self: center; margin-left: auto; width: 18px; height: 18px; }
.home-page .recipe:focus-within { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.home-page .recipe-link:focus-visible { outline: none; }

/* The photographic invitation follows the outside edges of the four product cards. */
.home-page .menu-invitation { position: relative; isolation: isolate; min-height: 240px; overflow: clip; color: var(--on-inverse); background: #211810; border: 1px solid #735230; border-radius: var(--home-panel-radius); box-shadow: var(--premium-shadow); }
.home-page .menu-banner-image { position: absolute; z-index: -2; inset: 0 auto 0 0; width: 46%; overflow: hidden; }
.home-page .menu-banner-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.home-page .menu-invitation::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(33,24,16,.12), rgba(33,24,16,.3) 22%, #211810 47%); }
.home-page .menu-banner { display: flex; align-items: center; justify-content: flex-end; gap: 32px; min-height: 240px; padding: 36px var(--home-panel-inset) 36px 34%; }
.home-page .menu-banner > div { flex: 1; }
.home-page .menu-banner h2 { font-size: 2.2rem; }
.home-page .menu-banner :is(h2 em, .home-eyebrow) { color: var(--inverse-gold); }
.home-page .menu-banner p:not(.home-eyebrow) { max-width: 45ch; margin: 12px 0 0; color: var(--muted-inverse); font-size: .94rem; }
.home-page .menu-banner .home-btn { flex: none; }
.home-page .menu-invitation { --focus-ring: var(--inverse-gold); }

/* Map and address form retain their existing IDs and behavior. */
.home-page .home-zone { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); align-items: center; gap: 52px; }
.home-page .zone-copy > p:not(.home-eyebrow) { margin: 18px 0 24px; max-width: 42ch; color: var(--muted); }
.home-page .home-zone .delivery-search { padding: 0; margin-bottom: 18px; border: 0; background: none; box-shadow: none; }
.home-page .home-zone .delivery-search-row { grid-template-columns: minmax(0, 1fr); }
.home-page .address-field { position: relative; min-width: 0; }
.home-page .address-field > .ui-icon { position: absolute; left: 16px; top: 17px; color: var(--gold-text); pointer-events: none; }
.home-page .address-field input { min-height: 54px; padding-left: 46px; font-size: .88rem; font-weight: 600; border-radius: var(--premium-radius-sm); background: var(--control-bg); }
.home-page .home-zone .delivery-search button { justify-self: start; min-width: 136px; }
.home-page .home-zone .delivery-search label { font-size: .9rem; }
.home-page .home-zone .delivery-search p { font-size: .8rem; line-height: 1.5; }
.home-page .home-zone .delivery-map-shell { height: 430px; min-height: 300px; border-radius: var(--premium-radius); border: 1px solid var(--premium-edge); box-shadow: 0 1px 0 var(--premium-highlight), var(--premium-shadow-raised); }

/* Authentic reviews are linked, without a fabricated rating or quotations. */
.home-page .review-band { padding-block: 36px; background: var(--home-band); border-block: 1px solid var(--premium-edge); }
.home-page .review-layout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 34px; }
.home-page .review-source { display: flex; align-items: center; gap: 15px; padding-right: 32px; border-right: 1px solid var(--line-strong); }
.home-page .review-source > span { color: var(--gold-text); font: 500 3.5rem/1 var(--premium-font-display); }
.home-page .review-source p { margin: 0; color: var(--muted); font-size: .8rem; }
.home-page .review-source strong { color: var(--ink); font-size: 1.05rem; }
.home-page .review-copy .home-eyebrow { margin-bottom: 8px; font-size: .68rem; }
.home-page .review-copy h2 { font-size: 1.9rem; }
.home-page .review-copy > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.home-page .review-link { color: var(--ink); border: 1px solid var(--line-strong); background: var(--premium-surface); }
.home-page .review-link:hover { border-color: var(--gold-text); background: var(--surface-chip); }

/* An unframed contact layout with a static, verified schedule. */
.home-page .home-contact { padding-bottom: 50px; background: var(--cream); }
.home-page .visit-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 42px; }
.home-page .visit-grid > div { padding-top: 24px; border-top: 1px solid var(--line-strong); min-width: 0; }
.home-page .visit-grid h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .94rem; }
.home-page .visit-grid h3 .ui-icon { color: var(--gold-text); }
.home-page .visit-grid address { color: var(--muted); font-style: normal; font-size: 1rem; }
.home-page .visit-address .home-link { font-size: .82rem; margin-top: 7px; }
.home-page .contact-social { margin-top: 17px; }
.home-page .contact-social .social-link { width: 44px; height: 44px; border-radius: var(--premium-radius-sm); box-shadow: inset 0 1px 0 var(--premium-highlight), var(--premium-shadow); }
.home-page .opening-hours { margin: 0; }
.home-page .opening-hours div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.home-page .opening-hours div:first-child { padding-top: 0; }
.home-page .opening-hours dt { color: var(--muted); }
.home-page .opening-hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.home-page .visit-phone { display: inline-block; color: var(--ink); font: 600 1.8rem/1.25 var(--premium-font-display); }
.home-page .visit-email { display: flex; align-items: center; gap: 9px; width: fit-content; margin-top: 16px; color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.home-page .visit-email .ui-icon { width: 17px; height: 17px; color: var(--gold-text); }
.home-page .visit-contact p { margin: 15px 0 0; color: var(--muted); font-size: .83rem; }
.home-page :is(.visit-phone, .visit-email):hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 5px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-page .recipe { transition: transform 220ms var(--premium-ease), box-shadow 220ms, border-color 220ms; }
  .home-page .recipe-photo { transition: transform 350ms var(--premium-ease); }
  .home-page .recipe:hover { transform: translateY(-4px); border-color: var(--gold-text); box-shadow: inset 0 1px 0 var(--premium-highlight), var(--premium-shadow-raised); }
  .home-page .recipe:hover .recipe-photo { transform: scale(1.025); }
}
@media (max-width: 1150px) {
  .home-page .cover-inner h1 { max-width: 580px; font-size: 3.5rem; }
  .home-page .cover-actions { max-width: 570px; gap: 10px; }
  .home-page main .home-btn { padding-inline: 16px; }
  .home-page .reason-grid, .home-page .recipe-grid { gap: 16px; }
  .home-page .reason { padding-inline: 16px; }
  .home-page .recipe-copy { padding: 18px; }
  .home-page .recipe h3 { font-size: 1.5rem; }
  .home-page .menu-banner { gap: 24px; }
  .home-page .menu-banner h2 { font-size: 1.9rem; }
  .home-page .review-layout { gap: 24px; }
  .home-page .review-source { padding-right: 22px; }
  .home-page .review-copy h2 { font-size: 1.6rem; }
  .home-page .visit-grid { gap: 26px; }
}
@media (max-width: 960px) {
  .home-page { --home-section-space: 54px; }
  .home-page .reason-grid, .home-page .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .home-page .reason { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; column-gap: 16px; text-align: left; padding: 24px; }
  .home-page .reason-icon { grid-row: 1 / 3; height: 48px; margin: 0; }
  .home-page .reason p { max-width: none; margin: 0; }
  .home-page .recipe h3 { font-size: 1.8rem; }
  .home-page .recipe-copy { padding: 24px; }
  .home-page .menu-banner { padding-left: 30%; flex-wrap: wrap; justify-content: flex-start; }
  .home-page .menu-banner > div { flex-basis: 100%; }
  .home-page .home-zone { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; }
  .home-page .home-zone .delivery-map-shell { height: 460px; }
  .home-page .review-layout { grid-template-columns: auto minmax(0, 1fr); }
  .home-page .review-link { grid-column: 2; justify-self: start; }
  .home-page .review-source { grid-row: span 2; }
  .home-page .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .visit-contact { grid-column: 1 / -1; }
  .home-page .visit-contact h3 { margin-bottom: 14px; }
}
@media (min-width: 681px) and (max-width: 960px) {
  .home-page .home-cover::after { background: linear-gradient(90deg, rgba(18,14,11,.96), rgba(18,14,11,.82) 42%, rgba(18,14,11,.2) 80%); }
  .home-page .cover-inner h1 { max-width: 520px; font-size: 3.25rem; }
  .home-page .cover-actions { max-width: 520px; }
}
@media (max-width: 680px) {
  .home-page { --home-section-space: 42px; --home-panel-radius: var(--premium-radius); }
  .home-page h2 { font-size: 2rem; }
  .home-page .home-cover { min-height: 0; padding-block: 24px; }
  .home-page .cover-inner { padding: 0; }
  .home-page .cover-image { inset: auto 0 100px; height: 270px; }
  .home-page .cover-image img { object-position: center 62%; }
  .home-page .home-cover::after { background: linear-gradient(180deg, var(--home-hero) 0%, rgba(23,20,17,.98) 40%, rgba(23,20,17,.15) 58%, rgba(23,20,17,.05) 73%, var(--home-hero) 94%); }
  .home-page .cover-place { margin-bottom: 13px; font-size: .75rem; }
  .home-page .cover-inner h1 { max-width: 530px; font-size: 2.15rem; line-height: 1.1; text-wrap: initial; }
  .home-page .cover-description { max-width: 48ch; font-size: .91rem; line-height: 1.5; margin: 16px 0 0; }
  .home-page .cover-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "menu call" "order order"; gap: 9px; margin-top: 150px; max-width: none; }
  .home-page .cover-actions .hot { grid-area: menu; }
  .home-page .cover-actions .outline { grid-area: call; }
  .home-page .cover-actions .order-link { grid-area: order; }
  .home-page .cover-actions .home-btn { min-height: 48px; padding: 11px 10px; font-size: .85rem; }
  .home-page .section-title { margin-bottom: 26px; }
  .home-page .section-title-row { align-items: start; flex-direction: column; gap: 10px; }
  .home-page .section-title-row > .home-link { font-size: .82rem; }
  .home-page .reasons h2 { font-size: 1.95rem; }
  .home-page .reason-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-page .reason { padding: 20px; column-gap: 18px; }
  .home-page .reason-icon .ui-icon { width: 36px; height: 36px; }
  .home-page .reason h3 { margin-bottom: 5px; }
  .home-page .reason p { font-size: .86rem; }
  .home-page .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  /* Keep the separator outside the 4:3 photo area. */
  .home-page .recipe-image { box-sizing: content-box; }
  .home-page .recipe-photo { object-fit: contain; }
  .home-page .recipe:hover .recipe-photo { transform: none; }
  .home-page .recipe-copy { padding: 12px; }
  .home-page .recipe h3 { margin-bottom: 8px; font-size: 1.125rem; line-height: 1.2; }
  .home-page .recipe p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 12px; font-size: .8125rem; line-height: 1.5; }
  .home-page .recipe-price { flex-wrap: nowrap; white-space: nowrap; gap: 6px; padding-top: 10px; }
  .home-page .recipe-price span { font-size: .75rem; }
  .home-page .recipe-price strong { font-size: 1.125rem; }
  .home-page .recipe-price small { font-size: .75rem; }
  .home-page .recipe-price .ui-icon { flex: none; width: 15px; height: 15px; }
  .home-page .menu-banner-image { width: 100%; opacity: .5; }
  .home-page .menu-invitation::before { background: linear-gradient(90deg, rgba(33,24,16,.94), rgba(33,24,16,.72)); }
  .home-page .menu-banner { padding: 28px var(--home-panel-inset); gap: 22px; }
  .home-page .menu-banner h2 { font-size: 2rem; }
  .home-page .menu-banner .home-btn { width: 100%; }
  .home-page .home-zone { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-page .home-zone .delivery-map-shell { height: 350px; }
  .home-page .home-zone .delivery-search button { width: 100%; }
  .home-page .review-band { padding-block: 30px; }
  .home-page .review-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-page .review-source { grid-row: auto; padding: 0; border: 0; }
  .home-page .review-source > span { font-size: 2.5rem; }
  .home-page .review-source p br { display: none; }
  .home-page .review-source p { display: flex; gap: 5px; align-items: baseline; }
  .home-page .review-link { grid-column: 1; width: 100%; }
  .home-page .review-copy h2 { font-size: 1.95rem; }
  .home-page .visit-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .home-page .visit-contact { grid-column: auto; }
  .home-page .visit-grid h3 { margin-bottom: 18px; }
  .home-page .visit-grid > div { padding-top: 22px; }
}
@media (max-width: 380px) {
  .home-page .cover-inner h1 { font-size: 2rem; }
}
@media (max-width: 359px) {
  .home-page .cover-inner h1 { font-size: 1.75rem; }
  .home-page .cover-description { font-size: .85rem; }
  .home-page .cover-actions { margin-top: 125px; }
  .home-page .cover-image { height: 235px; }
  .home-page .reason { padding: 17px; gap: 0 12px; }
  .home-page .recipe-copy { padding: 10px; }
  .home-page .recipe-price { gap: 4px; }
  .home-page .recipe-price .ui-icon { display: none; }
}
@media (max-width: 680px) and (max-height: 740px) {
  .home-page .home-cover { padding-block: 20px; }
  .home-page .cover-actions { margin-top: 64px; }
  .home-page .cover-image { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page main *, .home-page main *::before, .home-page main *::after { transition: none; animation: none; }
  .home-page .recipe:hover, .home-page .recipe:hover .recipe-photo { transform: none; }
}
