/* index.css — Lopez Grill home only: the opening platter, the catalogue shelf
   and the hand-off to 32nd Street. Everything else comes from css/site.css. */

/* Opening: the offer band's height is held from the first paint, so the call
   button never moves when the band wipes in across the foot. */
.open{grid-template-rows:minmax(0,1fr) auto;padding-bottom:calc(var(--promo-h) + clamp(1rem,2.5vh,1.75rem))}

/* The slogan runs the full measure at 12vw so the first window has no dead field
   under it; the platter takes the open ground above its right shoulder. */
.open__top{--rise:clamp(1rem,8vw,6rem);position:relative;padding-top:var(--rise);padding-right:0}
.open .open__slogan{font-size:clamp(3.2rem,12vw,10.5rem);line-height:.9;letter-spacing:-.03em;max-width:none}
.open__hero{position:absolute;top:var(--rise);right:0;width:clamp(9rem,28vw,22rem);margin:0;aspect-ratio:5 / 2;border-radius:50%;overflow:hidden}

.open__foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:clamp(1rem,3vw,2.5rem)}
.open__h1{padding:1rem 2.2rem}
.open__act{display:grid;gap:.7rem;justify-items:start;max-width:34ch}
.open__act .open__sub{max-width:30ch}

/* Ledger shelf. The chapter labels are Jost headings on the page angle, set at
   chapter size, indented to the page margin; wide platters and pairs sit in the
   right column. The rotation of each oval needs real air above and below it, so
   the gaps are wider than the foundation's default. Pictures may cross a rule;
   text never does. */
.ledger{border-top:1px solid var(--rule)}
.row{padding-block:clamp(1.1rem,2.6vh,1.9rem)}
.ledger .row > .row__label{
  margin-block:.45em .25em;padding-left:var(--pad);padding-right:1.4rem;
  font-family:'Jost','Trebuchet MS',system-ui,sans-serif;font-weight:500;
  font-size:clamp(1.875rem,.9vw + 1.5rem,2.625rem);line-height:1.04;letter-spacing:-.012em;
  color:var(--accent);transform:rotate(var(--angle));transform-origin:0 50%;
}
.dish{display:grid;gap:clamp(1rem,2.4vw,1.6rem)}
.dish--wide{padding-block:clamp(1.5rem,4vw,3rem);gap:clamp(3rem,5.5vw,5rem)}
.dish--wide .plate{width:100%}
.dish__meta{padding:.9rem 1.1rem}
.dish__line{margin:.25rem 0 0;font-size:var(--fs-body);line-height:1.45;max-width:52ch;color:var(--ink)}

.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2.4rem)}
.pair .plate{width:100%}
.pair figcaption{display:grid;gap:.2rem;margin-top:clamp(1.8rem,3vw,2.6rem)}

/* Your own plate: the thumbnail ovals are plates, not bullets — 220px wide, row
   set tight so the three read as one shelf. */
.plates{list-style:none;margin:0;padding:0;display:grid}
.plates__item{display:grid;grid-template-columns:clamp(11rem,16vw,13.75rem) minmax(0,1fr);gap:clamp(1rem,2.2vw,1.8rem);align-items:center;padding-block:clamp(.7rem,1.6vh,1.05rem);border-bottom:1px solid var(--rule)}
.plates__item:first-child{border-top:1px solid var(--rule)}
.plates__item:last-child{border-bottom:0}
.plates__item .plate{width:100%;max-width:none}
.plates__text{display:grid;gap:.2rem;min-width:0}

.note{font-size:var(--fs-small);line-height:1.5;color:var(--ink-soft);max-width:62ch;margin-top:clamp(.9rem,2vh,1.3rem)}
.note a{color:var(--ink)}

/* Visit: the entrance photograph fills its half of the row in a wide oval, crop
   set on the sign and the door, top edge level with the heading beside it. */
.see{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(1.2rem,3vw,2.6rem);align-items:start}
.see__plate{width:100%;max-width:none;margin:0}
.see__plate img{object-position:50% 15%;transform:rotate(calc(-1 * var(--angle))) scale(1.04)}
.see__text{display:grid;gap:.55rem;align-content:start;min-width:0}
.see__text p{max-width:44ch}
.see__text .btn-row{margin-top:.3rem}
.see__addr{display:grid;gap:.1rem;font-size:1.0625rem;line-height:1.4;margin:.2rem 0 0}
.see__hours{margin:0;font-size:1.0625rem;line-height:1.4;color:var(--ink-soft)}

@media (max-width:860px){
  .see{grid-template-columns:minmax(0,1fr);align-items:start}
  .see__plate{max-width:none}
}

/* Phone: the opening stacks — slogan upright at 50–64px filling the measure above
   the masthead, then the full-width platter with its traced rim on the same 2.5:1
   oval, then the h1 plate and the call action above the band. */
@media (max-width:720px){
  .open{display:block;min-height:0;padding:0 var(--pad) calc(var(--promo-h) + 4.75rem)}
  .open__top{--rise:0rem;display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;padding:0}
  .open .open__slogan{font-size:clamp(3.125rem,15vw,3.875rem);line-height:.94;letter-spacing:-.028em;max-width:none;transform:none;transform-origin:0 50%;margin:1.35rem 0 0}
  .open__hero{position:relative;top:auto;right:auto;width:100%;max-width:none;aspect-ratio:5 / 2;border-radius:50%;margin:0}
  .open__hero::after{inset:0;border-radius:50%}
  .open__hero img,.open__hero video{transform:none;border-radius:50%}
  .open__foot{display:grid;gap:.9rem;margin-top:1.2rem}
  .open__h1{padding:.9rem 1.9rem;max-width:20ch}
  .open__act{max-width:none}

  .row{display:block}
  .ledger .row > .row__label{padding-left:var(--pad);padding-right:0;padding-bottom:.55rem;margin-block:0 .4em;font-size:clamp(1.35rem,5vw,1.6rem);transform:none}
  .row__body{padding-left:var(--pad)}
  .ledger::before{display:none}

  .dish--wide{padding-block:1.2rem;gap:2.6rem}
  .pair{grid-template-columns:minmax(0,1fr);gap:2.4rem}
  .pair figcaption{margin-top:1.6rem}
  .plates__item{grid-template-columns:8rem minmax(0,1fr);gap:.9rem;padding-block:.85rem}
}

@media (max-width:360px){
  .plates__item{grid-template-columns:6.5rem minmax(0,1fr);gap:.75rem}
}
