:root {
  --ink: #1f1712;
  --ink-soft: #3a2a22;
  --ground: #f7f5ef;
  --surface: #fffcf5;
  --stone: #e5dfd3;
  --tomato: #a92d22;
  --tomato-dark: #761b17;
  --tomato-soft: #d74835;
  --leaf: #264a35;
  --brass: #b88732;
  --brass-light: #f1c76a;
  --charcoal: #15110f;
  --muted: #6b5d51;
  --line: rgba(31, 23, 18, .14);
  --soft-shadow: 0 8px 18px rgba(31, 23, 18, .12);
  --deep-shadow: 0 26px 70px rgba(31, 23, 18, .2);
  --focus-ring: 0 0 0 3px rgba(241, 199, 106, .46);
  --display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --body: Optima, Candara, "Avenir Next", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--display);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(167, 45, 34, .05), transparent 460px),
    var(--ground);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: url("assets/logo-la-trofea.png") right -90px top -120px / 360px auto no-repeat;
  opacity: .035;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #f1c76a;
  outline-offset: 4px;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 40;
  padding: 12px 14px;
  font-family: var(--body);
  font-weight: 800;
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 16px;
  right: 20px;
  left: 20px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(21, 17, 15, .7);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  backdrop-filter: blur(14px);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 239, .94);
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand span {
  font-size: 1.02rem;
  letter-spacing: .01em;
}

.nav {
  display: flex;
  gap: 18px;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 700;
}

.nav a,
.header-cta,
.button {
  text-decoration: none;
  touch-action: manipulation;
}

.nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  min-height: 44px;
  padding: 11px 15px;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  background: var(--tomato);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.header-cta:hover {
  background: var(--tomato-dark);
  transform: translateY(-1px);
}

.site-header.is-scrolled .header-cta {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 96dvh;
  display: grid;
  align-items: end;
  padding: clamp(122px, 15vw, 184px) clamp(20px, 6vw, 76px) clamp(34px, 6vw, 72px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -3;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(21, 17, 15, .9), rgba(21, 17, 15, .46) 48%, rgba(21, 17, 15, .16)),
    linear-gradient(0deg, rgba(21, 17, 15, .8), transparent 52%);
}

.hero-content {
  width: min(760px, 100%);
}

.kicker,
.eyebrow,
.price-tag {
  margin: 0 0 14px;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.kicker,
.eyebrow {
  text-transform: uppercase;
}

.kicker {
  color: var(--brass-light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7.2vw, 5.95rem);
  line-height: .92;
  letter-spacing: -.025em;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2.15rem, 4.8vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.022em;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  line-height: 1.03;
}

p {
  font-family: var(--body);
  line-height: 1.68;
  text-wrap: pretty;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, .88);
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--tomato-soft), var(--tomato));
  box-shadow: 0 10px 24px rgba(118, 27, 23, .26);
}

.button-primary:hover {
  background: var(--tomato-dark);
}

.button-light {
  color: var(--ink);
  background: linear-gradient(180deg, #fff, rgba(255, 252, 245, .92));
}

.button-light:hover {
  background: #fff;
}

.hero-note {
  position: absolute;
  right: clamp(20px, 6vw, 76px);
  bottom: clamp(26px, 5vw, 58px);
  width: min(286px, calc(100% - 40px));
  padding: 18px 18px 20px;
  font-family: var(--body);
  color: #fff;
  background: rgba(21, 17, 15, .74);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.hero-rail {
  position: absolute;
  top: 50%;
  right: clamp(20px, 6vw, 76px);
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .84);
}

.hero-rail span {
  padding: 9px 12px;
  background: rgba(21, 17, 15, .5);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-note span {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f1c76a;
}

.hero-note strong {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.08;
}

.band,
.pizza-section,
.about-section,
.place-section,
.visit-section {
  padding: clamp(66px, 9vw, 118px) clamp(20px, 6vw, 76px);
  scroll-margin-top: 88px;
}

.pizza-section {
  padding-top: clamp(42px, 6vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(184, 135, 50, .18), transparent 42%),
    linear-gradient(180deg, #2c563e, var(--leaf));
}

.intro h2 {
  max-width: 900px;
  margin-bottom: 0;
}

.intro p {
  color: rgba(255, 255, 255, .84);
}

.intro .eyebrow {
  color: var(--brass-light);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: 18px clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.menu-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(30px, 5vw, 54px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-strip article {
  min-height: 178px;
  padding: clamp(20px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .58), transparent),
    var(--surface);
}

.menu-strip span {
  display: inline-block;
  margin-bottom: 28px;
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 900;
  color: var(--tomato-dark);
}

.menu-strip h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.menu-strip p {
  max-width: 28ch;
  margin-bottom: 0;
  color: var(--muted);
}

.section-head .eyebrow,
.place-copy .eyebrow,
.visit-panel .eyebrow {
  color: var(--tomato-dark);
}

.section-head h2 {
  grid-column: 1;
  max-width: 760px;
  margin-bottom: 0;
}

.section-head p {
  grid-column: 2;
  max-width: 46ch;
  margin-bottom: 10px;
  color: var(--muted);
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.pizza-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.pizza-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.pizza-card.tall {
  margin-top: 0;
}

.image-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .42), transparent),
    var(--stone);
  border: 1px solid rgba(31, 23, 18, .08);
  border-radius: 6px;
  box-shadow: var(--deep-shadow);
}

.image-frame-wide {
  aspect-ratio: 16 / 7;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}

.pizza-card:hover .image-frame img {
  transform: translateY(-4px) scale(1.01);
  filter: saturate(1.06) contrast(1.02);
}

.pizza-card div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pizza-card .image-frame {
  padding: 0;
  border-top: 1px solid rgba(31, 23, 18, .08);
}

.price-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--leaf);
}

.pizza-card p,
.about-copy p,
.place-copy p,
.visit-details p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: end;
  background:
    radial-gradient(circle at 18% 18%, rgba(184, 135, 50, .12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .5), transparent),
    var(--ground);
}

.about-copy {
  max-width: 880px;
}

.about-copy .eyebrow {
  color: var(--tomato-dark);
}

.about-copy h2 {
  margin-bottom: 26px;
}

.about-copy p {
  max-width: 68ch;
}

.about-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.about-facts article {
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), transparent),
    var(--surface);
}

.about-facts strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  line-height: 1;
}

.about-facts span {
  display: block;
  font-family: var(--body);
  color: var(--muted);
}

.place-section {
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  background: var(--surface);
}

.place-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.place-media .image-frame {
  aspect-ratio: 1 / 1;
  padding: 12px;
  box-shadow: 0 16px 42px rgba(31, 23, 18, .12);
}

.place-media img {
  border-radius: 4px;
}

.feature-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  font-family: var(--body);
}

.feature-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.route-card {
  margin-top: 28px;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(140deg, rgba(167, 45, 34, .82), rgba(38, 74, 53, .92)),
    var(--leaf);
  border-radius: 6px;
}

.route-card span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--body);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.route-card p {
  max-width: 42ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .86);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(280px, 1.12fr);
  gap: 18px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(140deg, rgba(118, 27, 23, .36), transparent 52%),
    var(--charcoal);
}

.visit-panel,
.map-card {
  overflow: hidden;
  border-radius: 6px;
}

.visit-panel {
  padding: clamp(28px, 5vw, 58px);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
}

.visit-panel h2 {
  margin-bottom: 28px;
}

.visit-panel .eyebrow {
  color: var(--brass-light);
}

.visit-details {
  display: grid;
  gap: 4px;
  margin-bottom: 28px;
}

.visit-details p {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .78);
}

.visit-details strong {
  color: #fff;
}

.visit-details a {
  color: var(--brass-light);
}

.map-card {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: var(--stone);
  border: 1px solid rgba(255, 255, 255, .12);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 11px 14px;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 252, 245, .94);
  border: 1px solid rgba(31, 23, 18, .12);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(21, 17, 15, .18);
}

.closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 76px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 17, 15, .88), rgba(21, 17, 15, .48)),
    url("assets/banco-pizze.webp") center / cover;
}

.closing-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.closing-cta .eyebrow {
  color: var(--brass-light);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 6vw, 76px);
  font-family: var(--body);
  color: #fff;
  background: #0f0d0c;
}

.footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(14px);
  transition: transform .62s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 90dvh;
  }

  .hero-note {
    position: static;
    margin-top: 34px;
  }

  .hero-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
    transform: none;
  }

  .intro,
  .section-head,
  .about-section,
  .place-section,
  .visit-section,
  .closing-cta {
    grid-template-columns: 1fr;
  }

  .menu-strip {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .section-head p,
  .section-head .eyebrow {
    grid-column: 1;
  }

  .pizza-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pizza-card:first-child {
    grid-column: auto;
  }

  .place-media {
    max-width: 680px;
  }

  .closing-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    top: 10px;
    right: auto;
    left: 10px;
    width: calc(100vw - 20px);
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    position: absolute;
    left: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 12px;
    min-width: 76px;
    font-size: 0;
  }

  .header-cta::after {
    content: "Chiama";
    font-size: .72rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.2vw, 3.1rem);
    line-height: .98;
    letter-spacing: -.015em;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.04;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 32px;
  }

  .hero-rail {
    gap: 8px;
  }

  .hero-rail span {
    padding: 8px 10px;
    font-size: .72rem;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 1rem;
  }

  .hero-actions,
  .visit-actions,
  .closing-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .menu-strip article {
    min-height: auto;
  }

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

  .pizza-card:first-child {
    grid-column: auto;
  }

  .image-frame,
  .place-media .image-frame {
    aspect-ratio: 4 / 3;
  }

  .image-frame-wide {
    aspect-ratio: 16 / 7;
  }

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

  .map-card {
    aspect-ratio: 1 / 1;
  }

  .map-link {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    text-align: center;
  }

  .footer {
    flex-direction: column;
  }
}
