/* Inner pages (menu, order, catering, shop, franchising). Builds on styles.css. */
.page .hero-page { height: 600px; min-height: 0; }
.page .hero-page .hero-text { transform: translateY(58%); grid-template-columns: 1fr auto; }
.page .hero-page h1 { font-size: clamp(48px, 8vw, 128px); }
.page .hero-page .hero-note { color: var(--limestone); }

.menu-tabs { display: flex; gap: 36px; padding: 190px 5vw 0; font-family: var(--display); font-stretch: 105%; font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(233, 228, 216, .18); }
.menu-tabs a { text-decoration: none; color: var(--sage); padding-bottom: 16px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.menu-tabs a[aria-current], .menu-tabs a:hover { color: var(--limestone); border-bottom-color: var(--brass); }

.menu-block { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 80px 5vw 40px; }
.menu-head { grid-column: 1 / span 4; position: sticky; top: 40px; align-self: start; }
.menu-head h2 { font-family: var(--text); font-weight: 400; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.05; margin-bottom: 18px; }
.menu-head p { color: var(--sage); max-width: 30ch; }
.dishes { grid-column: 6 / span 7; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 48px; }
.dishes li { border-top: 1px solid rgba(233, 228, 216, .22); padding-top: 16px; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dishes h3 { font-family: var(--display); font-stretch: 108%; font-weight: 650; font-size: 21px; line-height: 1.2; }
.price { font-family: var(--display); font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }
.dishes p { color: var(--sage); font-size: 17px; margin-top: 6px; }

@media (max-width: 760px) {
  .menu-tabs { overflow-x: auto; gap: 24px; padding-top: 150px; }
  .menu-block { grid-template-columns: 1fr; }
  .menu-head, .dishes { grid-column: auto; position: static; }
  .dishes { grid-template-columns: 1fr; margin-top: 24px; }
}

/* inner pages: masthead on its own paper strip so it stays legible over the drawing */
.page .masthead { position: relative; background: #F7F3EA; padding-bottom: 22px; border-bottom: 1px solid rgba(23, 51, 40, .12); }
.page .masthead nav a[aria-current="page"] { border-bottom-color: var(--brass); }
.page .hero-page { height: 520px; }
.page .hero-page { height: 600px; }
.page .hero-page .hero-media img { object-position: 50% 80%; }

/* ---------- shared inner-page components ---------- */
.nav-pill { border: 1px solid var(--green); border-radius: 999px; padding: 4px 14px !important; }
.page-body { padding: 190px 0 40px; }
.block { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 64px 5vw; border-top: 1px solid rgba(233, 228, 216, .14); }
.block:first-child { border-top: 0; padding-top: 24px; }
.block-head { grid-column: 1 / span 4; }
.block-head h2 { font-family: var(--text); font-weight: 400; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.08; margin-bottom: 14px; }
.block-head p { color: var(--sage); max-width: 32ch; }
.block-body { grid-column: 6 / span 7; }
.rows { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 48px; }
.rows li, .steps li, .times li { border-top: 1px solid rgba(233, 228, 216, .22); padding-top: 16px; }
.rows h3, .steps h3, .times h3, .shop-grid h3 { font-family: var(--display); font-stretch: 108%; font-weight: 650; font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.rows p, .steps p, .times p, .shop-grid p, .prose p { color: var(--sage); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--brass); line-height: 1; margin-bottom: 14px; }
.times { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.times p { font-family: var(--display); font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }
.shop-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shop-grid li { background: rgba(233, 228, 216, .06); border: 1px solid rgba(233, 228, 216, .16); border-radius: 4px; padding: 22px 20px 24px; }
.soon { display: inline-block; font-size: 13px; color: var(--brass); margin-bottom: 26px; }
.prose p { max-width: 58ch; font-size: 19px; }
.prose p + p { margin-top: 16px; }
.more { margin-top: 26px; }
.link-light { color: var(--limestone); font-family: var(--display); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 3px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--sage); }
.field-wide, .consents, .form-end { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--limestone); background: transparent; border: 0; border-bottom: 1px solid rgba(233, 228, 216, .45); padding: 8px 0; border-radius: 0; }
.field select option { color: #000; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.consents { border: 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--sage); }
.consents legend { margin-bottom: 10px; color: var(--limestone); }
.consents label { display: flex; gap: 8px; align-items: center; }
.consents input { accent-color: #C9A35E; width: 18px; height: 18px; }
.form-end { display: flex; align-items: center; gap: 20px; margin-top: 6px; }
.form .cta { border: 0; cursor: pointer; }
.form-note { color: var(--brass); }

.site-footer { background: var(--green-deep); color: var(--limestone); padding: 64px 5vw 72px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-mark { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 26px; }
.foot-sub { font-style: italic; color: var(--brass); margin-bottom: 18px; }
.foot-line { color: var(--sage); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { color: var(--limestone); text-decoration: none; }
.site-footer nav a:hover { color: var(--brass); }

@media (max-width: 760px) {
  .block { grid-template-columns: 1fr; }
  .block-head, .block-body { grid-column: auto; }
  .block-body { margin-top: 24px; }
  .rows, .steps, .times, .shop-grid, .form, .foot-grid { grid-template-columns: 1fr; }
}
.page .hero-page.long h1 { font-size: clamp(44px, 5.6vw, 84px); }
.page .hero-page .hero-note { min-width: 280px; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .masthead { flex-wrap: wrap; row-gap: 12px; }
  .masthead nav { display: flex !important; width: 100%; overflow-x: auto; gap: 18px; font-size: 15px; padding-bottom: 4px; white-space: nowrap; }
  .hero h1 { white-space: normal; font-size: clamp(40px, 12vw, 64px) !important; }
  .hero .line:nth-child(n) { padding-left: 0 !important; }
  .page .hero-page { height: 440px; }
  .page .hero-page .hero-text { grid-template-columns: 1fr; transform: translateY(78%); gap: 18px; }
  .page .hero-page .hero-note { min-width: 0; }
  .page-body { padding-top: 240px; }
  .menu-tabs { padding-top: 240px; }
  .times { grid-template-columns: 1fr 1fr; }
}
.menu-note { padding: 24px 5vw 64px; color: var(--sage); font-size: 16px; }
.consents-stack { flex-direction: column; gap: 12px; }
.consents-stack label { align-items: flex-start; max-width: 62ch; line-height: 1.45; }
.consents-stack input { margin-top: 3px; flex: none; }
.fine { grid-column: 1 / -1; color: var(--sage); font-size: 14px; max-width: 70ch; }
.fine a { color: var(--brass); }
/* footer legal row + legal pages */
.foot-legal { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(233, 228, 216, .18); font-size: 14px; color: var(--sage); }
.foot-legal a { color: var(--limestone); }
.legal-doc { max-width: 820px; margin: 0 auto; padding: 64px 5vw 96px; color: var(--limestone); }
.legal-doc h1 { font-family: var(--display); font-stretch: 112%; font-size: clamp(36px, 5vw, 60px); margin-bottom: 20px; }
.legal-doc h2 { font-family: var(--text); font-weight: 400; font-size: 28px; margin: 40px 0 12px; }
.legal-doc h3 { font-family: var(--display); font-size: 19px; margin: 24px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--sage); margin-bottom: 12px; }
.legal-doc ul, .legal-doc ol { padding-left: 22px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(233, 228, 216, .2); color: var(--sage); }
.legal-doc th { color: var(--limestone); }
.legal-doc a { color: var(--brass); }
.draft-flag { display: inline-block; border: 1px solid var(--brass); color: var(--brass) !important; padding: 4px 12px; font-size: 14px; }

/* ---------- wordmark (Paolo, 17/10/2026): all caps, same size, PASTA BAR stands out ---------- */
.wordmark { align-items: baseline; gap: .45em; }
.wordmark-main, .wordmark-sub { font-family: var(--display) !important; font-style: normal !important; font-stretch: 112%; font-size: 23px !important; text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
.wordmark-main { font-weight: 500 !important; }
.wordmark-sub { font-weight: 800 !important; color: #7A5A22 !important; }
.foot-mark, .foot-sub { font-family: var(--display) !important; font-style: normal !important; font-stretch: 112%; font-size: 26px !important; text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; }
.foot-mark { font-weight: 500 !important; }
.foot-sub { font-weight: 800 !important; color: var(--brass) !important; margin-bottom: 18px; }
@media (max-width: 760px) { .wordmark-main, .wordmark-sub { font-size: 19px !important; } }

/* ---------- homepage: watercolor pasta drifting in the sky (Paolo, 17/10/2026) ---------- */
/* Only over the illustrated sky/trees/plaza; the box stops well above the green band. */
.sky-pasta { position: absolute; left: 0; right: 0; top: 76px; height: calc(64% - 76px); overflow: hidden; z-index: 1; pointer-events: none; }
.sky-pasta .fp { position: absolute; left: 0; top: var(--y); animation: pasta-fly var(--dur) linear var(--delay) infinite; will-change: transform; }
.sky-pasta .fp img { display: block; width: var(--w); height: auto; mix-blend-mode: multiply; animation: pasta-spin var(--spin) linear infinite; }
.sky-pasta .fp:nth-child(even) img { animation-direction: reverse; }
@keyframes pasta-fly { from { transform: translate(-16vw, 0); } to { transform: translate(112vw, var(--dy)); } }
@keyframes pasta-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 760px) { .sky-pasta .fp img { width: calc(var(--w) * .6); } }
@media (prefers-reduced-motion: reduce) {
  .sky-pasta .fp { animation: none; transform: translateX(var(--x)); }
  .sky-pasta .fp img { animation: none; }
}
/* home pasta: animate position (left / margin-top) — reliable everywhere, clearly visible motion (Paolo, 17/10/2026) */
@keyframes pasta-fly { from { left: -12%; margin-top: 0; } to { left: 108%; margin-top: var(--dy); } }
.sky-pasta .fp { transform: none !important; }

/* placeholder for data still missing (never published as is) */
.ph { background: #FFF1B8; color: #5A4300 !important; border: 1px dashed #B08A00; padding: 1px 6px; font-family: ui-monospace, Menlo, monospace; font-size: .85em; font-style: normal; }

/* catering request form (D-112) */
.cform { grid-template-columns: 1fr; gap: 26px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cset { border: 0; border-top: 1px solid rgba(233, 228, 216, .25); margin: 0; padding: 18px 0 0; min-width: 0; }
.cset legend { font-family: var(--display); font-stretch: 108%; font-weight: 650; font-size: 20px; color: var(--limestone); padding: 0 12px 0 0; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.checks-title { width: 100%; margin: 4px 0 2px; font-size: 15px; color: var(--brass); }
.check { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(233, 228, 216, .35); border-radius: 999px; font-size: 15px; color: var(--limestone); cursor: pointer; }
.check input { accent-color: var(--brass); width: 16px; height: 16px; margin: 0; }
.check:has(input:checked) { border-color: var(--brass); background: rgba(201, 163, 94, .14); }
.check.consent { border-radius: 4px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.check.consent a { color: var(--brass); }
.field textarea::placeholder { color: rgba(233, 228, 216, .45); }
.field input[type="date"], .field input[type="time"] { color-scheme: dark; }
@media (max-width: 760px) { .cgrid { grid-template-columns: 1fr; } }
.cform .field select { -webkit-appearance: none; appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A35E' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 22px; cursor: pointer; }

/* compact catering form (v2): two columns, everything in dropdowns */
.cform.compact .cgrid { gap: 16px 28px; margin: 0; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; font-size: 17px; color: var(--limestone); border-bottom: 1px solid rgba(233, 228, 216, .45); padding: 8px 22px 8px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A35E' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center; }
.dd summary::-webkit-details-marker { display: none; }
.dd[open] summary { border-bottom-color: var(--brass); }
.dd-val { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(233, 228, 216, .75); }
.dd-val.on { color: var(--limestone); }
.dd-menu { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: #12271e; border: 1px solid var(--brass); padding: 6px; max-height: 260px; overflow: auto; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.dd-opt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; font-size: 15px; color: var(--limestone); cursor: pointer; }
.dd-opt:hover { background: rgba(201, 163, 94, .14); }
.dd-opt input { accent-color: var(--brass); width: 16px; height: 16px; margin: 0; }
.cform.compact .consent { margin-top: 4px; }
.cform.compact .cgrid { gap: 10px 28px; }
.cform.compact .field { gap: 4px; }
.cform.compact .field input, .cform.compact .field select, .dd summary { padding-top: 6px; padding-bottom: 6px; }
.kitchen-logo { height: 30px; width: auto; display: block; margin: 0 0 4px; }
