/* Phoenix Bistro: home page sections (hero, strip, about, menu, gallery). */

.px-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #111; }
.px-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.px-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.75) 100%); }
.px-hero-inner { position: relative; z-index: 1; padding-bottom: clamp(3.5rem, 9vh, 6.5rem); width: 100%; }
.px-hero .eyebrow { color: var(--gold); }
.px-hero h1 { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 5.8rem); font-weight: 700; line-height: 1.02; max-width: 12ch; margin: 0; color: #fff; }
.px-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); margin: 1rem 0 2rem; max-width: 34ch; opacity: .92; }
.px-cta { display: flex; gap: .8rem; flex-wrap: wrap; }

.px-strip { background: var(--forest); color: #fff; }
.px-strip ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); }
.px-strip li { background: var(--forest); padding: 1.4rem 1rem; text-align: center; font-size: .92rem; }
.px-strip li span { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .25rem; font-weight: 600; }
.px-strip a { text-decoration: none; }
@media (max-width: 760px) { .px-strip ul { grid-template-columns: 1fr 1fr; } }

.px-about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.px-about-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.px-about-pics img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.px-about-pics img:last-child { margin-top: 2.5rem; }
.px-about h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 1.2rem; }
.px-about p { color: #3d3832; }
.px-facts { display: flex; gap: 2.2rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.px-facts b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--copper); line-height: 1; }
.px-facts span { font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) { .px-about-grid { grid-template-columns: 1fr; } }

.px-menu { background: var(--cream); }
.px-menu h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 2rem; }
.px-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 1.4rem; }
.px-tabs button { border: 0; background: none; font: inherit; font-weight: 600; padding: .65rem 1.4rem; border-radius: 999px; cursor: pointer; color: var(--muted); }
.px-tabs button[aria-selected=true] { background: var(--forest); color: #fff; }
.px-pnote { color: var(--muted); font-size: .92rem; margin: 0 0 2rem; font-style: italic; }
.px-mgrid { columns: 2 420px; column-gap: 3.5rem; }
.px-msec { break-inside: avoid; margin-bottom: 2.6rem; }
.px-msec h3 { font-family: var(--serif); font-size: 1.45rem; padding-bottom: .5rem; border-bottom: 2px solid var(--forest); margin: 0 0 .4rem; }
.px-sub { font-size: .85rem; color: var(--muted); margin: 0 0 .4rem; }
.px-msec ul { list-style: none; margin: 0; padding: 0; }
.px-msec li { padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.px-msec li:last-child { border-bottom: 0; }
.px-row { display: flex; align-items: baseline; gap: .6rem; }
.px-row h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0; }
.px-dots { flex: 1; border-bottom: 1px dotted #c9bfae; transform: translateY(-4px); min-width: 12px; }
.px-price { font-weight: 600; color: var(--copper); white-space: nowrap; }
.px-msec li p { font-size: .88rem; color: var(--muted); margin: .2rem 0 0; max-width: 46ch; }
.px-v { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #4f7a3a; color: #fff; font-size: .62rem; font-weight: 700; vertical-align: 2px; margin-left: .2rem; font-family: var(--sans); }
.px-allergens { margin-top: 1rem; padding: 1.2rem 1.4rem; background: #fff; border-radius: var(--radius); font-size: .8rem; color: var(--muted); border: 1px solid var(--line); }
.px-allergens b { color: var(--text); }

.px-gallery-wrap h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 2rem; }
.px-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 12px; grid-auto-flow: dense; }
.px-gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd; margin: 0; }
.px-gallery figure:nth-child(1) { grid-row: span 2; }
.px-gallery figure:nth-child(8), .px-gallery figure:nth-child(9) { grid-column: span 2; }
.px-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.px-gallery figure:hover img { transform: scale(1.05); }
.px-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; color: #fff; font-weight: 500; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.px-more { margin-top: 1.5rem; }
@media (max-width: 760px) { .px-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } }

.px-bookband { background: var(--forest); color: #fff; }
.px-bookband-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.px-bookband h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .6rem; color: #fff; }
.px-bookband p { margin: 0; color: #d9d2c5; max-width: 52ch; }
.px-bookband .eyebrow { color: var(--gold); }
.px-al { font-size: .68rem; font-weight: 500; color: var(--muted); margin-left: .15rem; }
