/* Visual refinements after the first review */
.hero-copy {
  max-width: 900px;
  top: 48%;
}

.site-header .brand img {
  display: block;
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
}

footer .brand img {
  display: block;
  width: 220px;
  height: auto;
}

.hero-image {
  background-image: linear-gradient(90deg, rgba(12,20,14,.84) 0%, rgba(12,20,14,.46) 47%, rgba(12,20,14,.12) 100%), url('assets/hero.webp');
  background-position: center;
}

.hero h1 {
  font-size: clamp(2.65rem, 4.2vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.hero h1 em {
  display: inline-block;
  white-space: nowrap;
}

.hero-copy > p:last-of-type {
  max-width: 540px;
}

.mobile-only {
  display: none;
}

.place-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1px;
  background: rgba(23,32,25,.18);
}

.place-photo {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: #172019;
}

.place-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
}

.place-photo figcaption {
  position: absolute;
  left: 2rem;
  bottom: 1.5rem;
  padding: .55rem .8rem;
  background: #f4f1e8;
  color: #172019;
  font: 600 .68rem "DM Sans", sans-serif;
  letter-spacing: .18em;
}

.pasta {
  background-image: url('assets/pasta.webp');
}

.sweets {
  background-image: url('assets/sweets.webp');
}

.dinner {
  background-image: url('assets/dinner.webp');
}

/* Keep editorial headings balanced on wider screens. */
.about {
  grid-template-columns: minmax(70px, .2fr) minmax(560px, 1.55fr) minmax(360px, 1fr);
  gap: 4vw;
}

.about h2 {
  font-size: clamp(2.55rem, 3.8vw, 4.1rem);
  line-height: 1.28;
}

.about h2 span,
.news h2 span,
.reserve h2 span {
  white-space: nowrap;
}

.news {
  grid-template-columns: minmax(500px, .9fr) minmax(650px, 1.35fr);
  gap: 5vw;
}

.news h2 {
  font-size: clamp(2.7rem, 3.7vw, 4rem);
  line-height: 1.25;
}

.news-heading > p:last-child {
  max-width: 560px;
}

.reserve h2 {
  font-size: clamp(2.7rem, 4vw, 4.4rem);
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.access-map {
  min-height: 750px;
  background: #dc603c;
  overflow: hidden;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 750px;
  border: 0;
  filter: saturate(.82) contrast(.96);
}

@media (max-width: 1250px) and (min-width: 801px) {
  .about {
    grid-template-columns: 70px 1.2fr 1fr;
    gap: 3vw;
  }

  .about h2 {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
  }

  .about h2 span {
    white-space: normal;
  }

  .news {
    grid-template-columns: .9fr 1.1fr;
    gap: 4vw;
  }
}

@media (max-width: 800px) {
  .site-header .brand img {
    width: 145px;
  }

  footer .brand img {
    width: 190px;
  }

  .hero-copy {
    top: 46%;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9vw, 3rem);
    line-height: 1.2;
  }

  .hero h1 em {
    display: inline-block;
    white-space: nowrap;
  }

  .hero-copy > p:last-of-type {
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: 0;
  }

  .hero-copy > p:last-of-type span {
    white-space: nowrap;
  }

  .mobile-only {
    display: block;
  }

  .place-gallery {
    grid-template-columns: 1fr;
  }

  .about,
  .news {
    grid-template-columns: 1fr;
  }

  .about h2,
  .news h2 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  .reserve h2 {
    font-size: clamp(1.6rem, 7.5vw, 2.2rem);
    line-height: 1.4;
  }

  .about h2 span,
  .news h2 span {
    white-space: normal;
  }

  .reserve h2 span {
    white-space: nowrap;
  }

  .place-photo,
  .place-photo img {
    min-height: 340px;
  }

  .access-map,
  .access-map iframe {
    min-height: 450px;
  }
}

/* Optional photo-only parallax; touch devices keep the original layout. */
@media (min-width: 801px) and (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .parallax-active .hero-image { background-image: linear-gradient(90deg, rgba(12,20,14,.84) 0%, rgba(12,20,14,.46) 47%, rgba(12,20,14,.12) 100%); }
  .parallax-active .hero-image::before {
    content: "";
    position: absolute;
    inset: -38px 0;
    background: url('assets/hero.webp') center / cover;
    z-index: -1;
    transform: translate3d(0, var(--photo-y, 0px), 0);
  }
  .parallax-active .hero-image { isolation: isolate; }
  .parallax-active .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
  }
  .parallax-active .menu-card { background-image: none; isolation: isolate; }
  .parallax-active .menu-card::after {
    content: "";
    position: absolute;
    inset: -38px 0;
    background-position: center;
    background-size: cover;
    z-index: -1;
    transform: translate3d(0, var(--photo-y, 0px), 0);
  }
  .parallax-active .pasta::after { background-image: url('assets/pasta.webp'); }
  .parallax-active .sweets::after { background-image: url('assets/sweets.webp'); }
  .parallax-active .dinner::after { background-image: url('assets/dinner.webp'); }
  .parallax-active .place-photo img {
    transform: translate3d(0, var(--photo-y, 0px), 0) scale(var(--photo-scale, 1.16));
  }
}

/* A small invitation after the menu, using the existing palette and button. */
.chatgpt-corner {
  padding: 4.5rem 8vw 0;
}

.chatgpt-corner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--line);
  background: var(--cream);
}

.chatgpt-corner h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.035em;
}

.chatgpt-corner h2 span {
  display: inline-block;
}

.chatgpt-corner-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .875rem;
}

.chatgpt-corner-action {
  max-width: 17rem;
}

.chatgpt-corner-action p {
  margin: 1rem 0 0;
  font-size: .75rem;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .chatgpt-corner-questions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .chatgpt-corner {
    padding: 3rem 6vw 0;
  }

  .chatgpt-corner-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .chatgpt-corner-action {
    max-width: none;
  }
}
