/* New York Pasta Garden — static landing
   Palette adapted from Dine Divine mockup: forest green, sage, cream */

:root {
  --forest: #1a3020;
  --forest-deep: #122018;
  --forest-mid: #243d2c;
  --sage: #d9e4dd;
  --sage-soft: #e8f0eb;
  --cream: #f7f5f0;
  --cream-deep: #efeae2;
  --ink: #1a241c;
  --muted: #5a6b5f;
  --white: #ffffff;
  --accent: #2f5a3c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(18, 32, 24, 0.12);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --container: 1120px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--white);
  color: var(--forest);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn--primary {
  background: var(--forest);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--forest-mid);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--forest);
}

.btn--light:hover {
  background: var(--sage-soft);
  color: var(--forest);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--forest);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 48, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
}

.logo:hover {
  color: var(--sage);
}

.logo__mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  /* Invert dark logo mark on forest header */
  filter: brightness(0) invert(1);
}

.logo--dark .logo__mark {
  filter: none;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.logo--dark {
  color: var(--forest);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.nav__order {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(88, 130, 100, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(40, 70, 50, 0.5), transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 8c-2 8-8 12-14 14 6 2 12 6 14 14 2-8 8-12 14-14-6-2-12-6-14-14z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero__title {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: 1.08rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.store-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.store-facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.25rem;
}

.store-facts dd {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__visual {
  position: relative;
  min-height: 420px;
}

.hero__dish {
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  animation: float 7s var(--ease) infinite;
}

.hero__dish img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__dish--primary {
  position: absolute;
  width: min(72%, 340px);
  aspect-ratio: 1;
  top: 8%;
  right: 8%;
  z-index: 2;
}

.hero__dish--secondary {
  position: absolute;
  width: min(48%, 220px);
  aspect-ratio: 1;
  bottom: 6%;
  left: 4%;
  z-index: 3;
  animation-delay: -2.5s;
}

.hero__leaf {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50% 0 50% 50%;
  background: rgba(217, 228, 221, 0.18);
  z-index: 1;
  animation: drift 9s ease-in-out infinite;
}

.hero__leaf--1 {
  top: 18%;
  left: 18%;
  transform: rotate(35deg);
}

.hero__leaf--2 {
  bottom: 28%;
  right: 4%;
  width: 36px;
  height: 36px;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(35deg); }
  50% { transform: translateY(-8px) rotate(42deg); }
}

/* Sections shared */
.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label--center,
.section-title--center {
  text-align: center;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
}

/* About */
.about {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__text {
  color: var(--muted);
  max-width: 48ch;
}

.about__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin: 1.75rem 0 2rem;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest);
}

.about__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--accent);
}

.about__collage {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: end;
}

.about__img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about__img--a {
  grid-row: 1 / 3;
  height: 100%;
  min-height: 360px;
  border-radius: 18px 18px 18px 80px;
}

.about__img--b {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  justify-self: end;
  margin-bottom: -1.5rem;
  z-index: 1;
  border: 4px solid var(--white);
}

.about__img--c {
  border-radius: 16px;
  height: 160px;
}

.about__img--d {
  grid-column: 2;
  border-radius: 16px 60px 16px 16px;
  height: 180px;
  margin-top: -2rem;
}

/* Categories */
.categories {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--cream);
  overflow: hidden;
}

.categories__inner {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 2rem;
  align-items: center;
}

.categories__orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.categories__center {
  text-align: center;
}

.categories__list {
  display: grid;
  gap: 0.65rem;
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

.categories__list li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
  color: var(--forest);
}

.categories__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 5px var(--accent);
}

/* Menu */
.menu {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--cream-deep);
}

.menu__header {
  margin-bottom: 2rem;
}

.menu__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(26, 48, 32, 0.1);
}

.menu__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 0.25rem;
  margin-bottom: -1px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.menu__tab:hover,
.menu__tab.is-active {
  color: var(--forest);
}

.menu__tab.is-active {
  border-bottom-color: var(--accent);
}

.menu__panel[hidden] {
  display: none;
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.15rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(18, 32, 24, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.menu-card__img {
  width: 130px;
  height: 130px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
}

.menu-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--forest);
}

.menu-card__desc {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  min-height: 3.9em;
}

.menu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-card__price {
  font-weight: 700;
  color: var(--forest);
  font-size: 1.05rem;
}

.menu-card__add {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}

.menu-card__add:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.06);
}

.menu-card__add[hidden],
[data-order-section][hidden],
[data-uzeats][hidden],
[data-uzeats-fallback][hidden] {
  display: none !important;
}

.menu__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn--outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn--outline-dark:hover {
  background: var(--forest);
  color: var(--white);
}

.menu.is-showing-all .menu__panel + .menu__panel {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(26, 48, 32, 0.1);
}

.menu__panel-label {
  display: none;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  text-align: center;
}

.menu.is-showing-all .menu__panel-label {
  display: block;
}

/* Experience */
.experience {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
}

.experience__media {
  position: absolute;
  inset: 0;
}

.experience__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42);
}

.experience__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 36rem;
}

.experience__content h2 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.experience__content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

/* Highlights */
.highlights {
  padding: clamp(4rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.45), transparent 40%),
    var(--sage-soft);
}

.highlights__header {
  margin-bottom: 2.5rem;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.highlight {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(18, 32, 24, 0.05);
}

.highlight h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--white);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq__intro p {
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  padding: 0 1.15rem;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: rgba(47, 90, 60, 0.2);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.75rem 1.1rem 0;
  font-weight: 600;
  color: var(--forest);
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__answer {
  margin: 0;
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--cream);
}

.contact__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.contact__inner > div p {
  color: var(--muted);
  margin: 0;
}

.contact__card {
  font-style: normal;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  min-width: min(100%, 320px);
}

.contact__card p {
  margin: 0 0 0.65rem;
}

.contact__card .btn {
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--sage);
  color: var(--forest);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}

.footer__brand p {
  color: var(--muted);
  max-width: 32ch;
  font-size: 0.92rem;
  margin-top: 0.85rem;
}

.footer__col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: var(--forest);
}

.footer__col li + li {
  margin-top: 0.55rem;
}

.footer__bar {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.footer__bar a {
  color: var(--sage);
}

.footer__bar p {
  margin: 0;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .categories__orb--left {
    order: -1;
  }

  .categories__orb {
    width: 180px;
    height: 180px;
  }

  .highlights__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .about__grid,
  .faq__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__title {
    max-width: none;
  }

  .hero__visual {
    min-height: 340px;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .about__img--a {
    min-height: 280px;
  }

  .store-facts {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .header__actions {
    display: none;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--forest-deep);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .logo__text {
    font-size: 1.05rem;
  }

  .header__actions {
    display: none;
  }

  .nav__order {
    display: block;
    margin-top: 0.5rem;
  }

  .nav__order .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .menu__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .about__collage {
    grid-template-columns: 1fr 1fr;
  }

  .about__img--b {
    width: 110px;
    height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__dish,
  .hero__leaf,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
