/* Positano Pizza — dark Italian theme */
:root {
  --bg: #0a0a0a;
  --bg-2: #111110;
  --ink: #f2ede3;
  --ink-dim: #b5afa3;
  --red: #e63946;
  --red-deep: #c8102e;
  --green: #4caf6d;
  --green-deep: #2f9e44;
  --line: rgba(242, 237, 227, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
section { position: relative; }

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.35);
}
.btn--red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid rgba(242, 237, 227, 0.35);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}
.nav__logo span { color: var(--red); }
.nav__links { display: flex; gap: 2rem; font-size: 0.92rem; font-weight: 500; }
.nav__links a { opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.nav__links a:hover { opacity: 1; color: var(--green); }
.nav__cta { padding: 0.6rem 1.5rem; }

/* Hero */
.hero {
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.05) 35%, rgba(10,10,10,0.25) 65%, rgba(10,10,10,0.92) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(10,10,10,0.55), transparent 55%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.2rem, 6vw, 6rem) clamp(4rem, 10vh, 7rem);
  max-width: 900px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.9;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.9s ease 0.2s both;
}
.flag { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.flag--g { background: var(--green-deep); }
.flag--w { background: var(--ink); }
.flag--r { background: var(--red); margin-right: 0.6rem; }
.hero__title {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  letter-spacing: -0.02em;
  animation: fadeUp 0.9s ease 0.35s both;
}
.hero__title em { color: var(--red); font-style: italic; }
.hero__tag {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--ink);
  opacity: 0.85;
  margin: 1.2rem 0 2rem;
  animation: fadeUp 0.9s ease 0.5s both;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.9s ease 0.65s both; }
.hero__scroll {
  position: absolute;
  right: clamp(1.2rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero__scroll span {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--ink), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(0.4); opacity: 0.3; } 50% { transform: scaleY(1); opacity: 1; } }

/* Build (pinned construction) */
.build { background: var(--bg); }
.build__pin {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 100vh;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.2rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
}
.build__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.build__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.7s ease;
}
.build__img.is-active { opacity: 1; transform: scale(1); }
.build__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1rem;
}
.build__heading { margin-bottom: 2.2rem; }
.build__steps { list-style: none; }
.build__step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  padding: 0.85rem 0 0.85rem 1.1rem;
  border-left: 2px solid var(--line);
  opacity: 0.38;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}
.build__step span {
  grid-row: 1 / 3;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 500;
  line-height: 1.3;
}
.build__step strong { font-size: 1.05rem; letter-spacing: 0.03em; }
.build__step.is-active { opacity: 1; border-left-color: var(--red); }

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
}
.story__media img {
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.story__text h2 { margin-bottom: 1.4rem; }
.story__text p { color: var(--ink-dim); margin-bottom: 1.1rem; max-width: 46ch; }
.story__text em { color: var(--ink); }
.story__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--green) !important;
  margin-top: 1.6rem;
}

/* Menu */
.menu {
  background:
    linear-gradient(rgba(10,10,10,0.88), rgba(10,10,10,0.94)),
    url("../assets/abundance.webp") center / cover no-repeat fixed;
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 5vw, 5rem);
}
.menu__head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.menu__note {
  color: var(--ink-dim);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-top: 0.9rem;
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.menu__item {
  background: rgba(20, 20, 19, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.7rem 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.menu__item:hover { transform: translateY(-5px); border-color: rgba(230, 57, 70, 0.5); }
.menu__item h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.menu__item h3 span { color: var(--red); font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.menu__item p { color: var(--ink-dim); font-size: 0.95rem; }

/* Reviews */
.reviews { padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 5vw, 5rem); background: var(--bg-2); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.reviews blockquote {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
}
.reviews cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.88rem;
  color: var(--green);
  letter-spacing: 0.04em;
}

/* Visit */
.visit { padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 5vw, 5rem); }
.visit__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.visit__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}
.visit__cols h3 {
  font-size: 1.15rem;
  color: var(--red);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}
.visit__cols p { color: var(--ink-dim); margin-bottom: 0.7rem; }
.visit__cols a.btn { margin-top: 0.4rem; }
.visit__cols a:not(.btn) { color: var(--ink); border-bottom: 1px solid var(--red); }
.visit__hint { font-style: italic; font-size: 0.9rem; }

/* Footer */
.footer {
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.92rem;
}
.footer__flag {
  display: flex;
  justify-content: center;
  gap: 0;
  width: 72px;
  margin: 0 auto 1.6rem;
  border-radius: 3px;
  overflow: hidden;
}
.footer__flag span { height: 5px; flex: 1; }
.footer__flag span:nth-child(1) { background: var(--green-deep); }
.footer__flag span:nth-child(2) { background: var(--ink); }
.footer__flag span:nth-child(3) { background: var(--red); }
.footer__logo { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 0.4rem; }
.footer__credit { margin-top: 1.4rem; font-size: 0.8rem; opacity: 0.7; }
.footer__credit a { color: var(--green); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .build__pin { grid-template-columns: 1fr; min-height: 0; gap: 2rem; }
  .story { grid-template-columns: 1fr; }
  .menu { background-attachment: scroll; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__eyebrow, .hero__title, .hero__tag, .hero__cta { animation: none; }
  html { scroll-behavior: auto; }
}
